Mercurial > hg
comparison mcabber/libjabber/configure @ 25:bf3d6e241714
[/trunk] Changeset 41 by mikael
* Add libjabber to trunk. Let the game begin! :-)
author | mikael |
---|---|
date | Sun, 27 Mar 2005 20:18:21 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
24:e88b15cbf2de | 25:bf3d6e241714 |
---|---|
1 #! /bin/sh | |
2 | |
3 # Guess values for system-dependent variables and create Makefiles. | |
4 # Generated automatically using autoconf version 2.13 | |
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. | |
6 # | |
7 # This configure script is free software; the Free Software Foundation | |
8 # gives unlimited permission to copy, distribute and modify it. | |
9 | |
10 # Defaults: | |
11 ac_help= | |
12 ac_default_prefix=/usr/local | |
13 # Any additions from configure.in: | |
14 ac_help="$ac_help | |
15 --disable-jabber Build without Jabber" | |
16 | |
17 # Initialize some variables set by options. | |
18 # The variables have the same names as the options, with | |
19 # dashes changed to underlines. | |
20 build=NONE | |
21 cache_file=./config.cache | |
22 exec_prefix=NONE | |
23 host=NONE | |
24 no_create= | |
25 nonopt=NONE | |
26 no_recursion= | |
27 prefix=NONE | |
28 program_prefix=NONE | |
29 program_suffix=NONE | |
30 program_transform_name=s,x,x, | |
31 silent= | |
32 site= | |
33 srcdir= | |
34 target=NONE | |
35 verbose= | |
36 x_includes=NONE | |
37 x_libraries=NONE | |
38 bindir='${exec_prefix}/bin' | |
39 sbindir='${exec_prefix}/sbin' | |
40 libexecdir='${exec_prefix}/libexec' | |
41 datadir='${prefix}/share' | |
42 sysconfdir='${prefix}/etc' | |
43 sharedstatedir='${prefix}/com' | |
44 localstatedir='${prefix}/var' | |
45 libdir='${exec_prefix}/lib' | |
46 includedir='${prefix}/include' | |
47 oldincludedir='/usr/include' | |
48 infodir='${prefix}/info' | |
49 mandir='${prefix}/man' | |
50 | |
51 # Initialize some other variables. | |
52 subdirs= | |
53 MFLAGS= MAKEFLAGS= | |
54 SHELL=${CONFIG_SHELL-/bin/sh} | |
55 # Maximum number of lines to put in a shell here document. | |
56 ac_max_here_lines=12 | |
57 | |
58 ac_prev= | |
59 for ac_option | |
60 do | |
61 | |
62 # If the previous option needs an argument, assign it. | |
63 if test -n "$ac_prev"; then | |
64 eval "$ac_prev=\$ac_option" | |
65 ac_prev= | |
66 continue | |
67 fi | |
68 | |
69 case "$ac_option" in | |
70 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; | |
71 *) ac_optarg= ;; | |
72 esac | |
73 | |
74 # Accept the important Cygnus configure options, so we can diagnose typos. | |
75 | |
76 case "$ac_option" in | |
77 | |
78 -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
79 ac_prev=bindir ;; | |
80 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
81 bindir="$ac_optarg" ;; | |
82 | |
83 -build | --build | --buil | --bui | --bu) | |
84 ac_prev=build ;; | |
85 -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
86 build="$ac_optarg" ;; | |
87 | |
88 -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
89 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
90 ac_prev=cache_file ;; | |
91 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
92 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
93 cache_file="$ac_optarg" ;; | |
94 | |
95 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | |
96 ac_prev=datadir ;; | |
97 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | |
98 | --da=*) | |
99 datadir="$ac_optarg" ;; | |
100 | |
101 -disable-* | --disable-*) | |
102 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` | |
103 # Reject names that are not valid shell variable names. | |
104 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then | |
105 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } | |
106 fi | |
107 ac_feature=`echo $ac_feature| sed 's/-/_/g'` | |
108 eval "enable_${ac_feature}=no" ;; | |
109 | |
110 -enable-* | --enable-*) | |
111 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` | |
112 # Reject names that are not valid shell variable names. | |
113 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then | |
114 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } | |
115 fi | |
116 ac_feature=`echo $ac_feature| sed 's/-/_/g'` | |
117 case "$ac_option" in | |
118 *=*) ;; | |
119 *) ac_optarg=yes ;; | |
120 esac | |
121 eval "enable_${ac_feature}='$ac_optarg'" ;; | |
122 | |
123 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
124 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
125 | --exec | --exe | --ex) | |
126 ac_prev=exec_prefix ;; | |
127 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
128 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
129 | --exec=* | --exe=* | --ex=*) | |
130 exec_prefix="$ac_optarg" ;; | |
131 | |
132 -gas | --gas | --ga | --g) | |
133 # Obsolete; use --with-gas. | |
134 with_gas=yes ;; | |
135 | |
136 -help | --help | --hel | --he) | |
137 # Omit some internal or obsolete options to make the list less imposing. | |
138 # This message is too long to be a string in the A/UX 3.1 sh. | |
139 cat << EOF | |
140 Usage: configure [options] [host] | |
141 Options: [defaults in brackets after descriptions] | |
142 Configuration: | |
143 --cache-file=FILE cache test results in FILE | |
144 --help print this message | |
145 --no-create do not create output files | |
146 --quiet, --silent do not print \`checking...' messages | |
147 --version print the version of autoconf that created configure | |
148 Directory and file names: | |
149 --prefix=PREFIX install architecture-independent files in PREFIX | |
150 [$ac_default_prefix] | |
151 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
152 [same as prefix] | |
153 --bindir=DIR user executables in DIR [EPREFIX/bin] | |
154 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] | |
155 --libexecdir=DIR program executables in DIR [EPREFIX/libexec] | |
156 --datadir=DIR read-only architecture-independent data in DIR | |
157 [PREFIX/share] | |
158 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] | |
159 --sharedstatedir=DIR modifiable architecture-independent data in DIR | |
160 [PREFIX/com] | |
161 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] | |
162 --libdir=DIR object code libraries in DIR [EPREFIX/lib] | |
163 --includedir=DIR C header files in DIR [PREFIX/include] | |
164 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] | |
165 --infodir=DIR info documentation in DIR [PREFIX/info] | |
166 --mandir=DIR man documentation in DIR [PREFIX/man] | |
167 --srcdir=DIR find the sources in DIR [configure dir or ..] | |
168 --program-prefix=PREFIX prepend PREFIX to installed program names | |
169 --program-suffix=SUFFIX append SUFFIX to installed program names | |
170 --program-transform-name=PROGRAM | |
171 run sed PROGRAM on installed program names | |
172 EOF | |
173 cat << EOF | |
174 Host type: | |
175 --build=BUILD configure for building on BUILD [BUILD=HOST] | |
176 --host=HOST configure for HOST [guessed] | |
177 --target=TARGET configure for TARGET [TARGET=HOST] | |
178 Features and packages: | |
179 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
180 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
181 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
182 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
183 --x-includes=DIR X include files are in DIR | |
184 --x-libraries=DIR X library files are in DIR | |
185 EOF | |
186 if test -n "$ac_help"; then | |
187 echo "--enable and --with options recognized:$ac_help" | |
188 fi | |
189 exit 0 ;; | |
190 | |
191 -host | --host | --hos | --ho) | |
192 ac_prev=host ;; | |
193 -host=* | --host=* | --hos=* | --ho=*) | |
194 host="$ac_optarg" ;; | |
195 | |
196 -includedir | --includedir | --includedi | --included | --include \ | |
197 | --includ | --inclu | --incl | --inc) | |
198 ac_prev=includedir ;; | |
199 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
200 | --includ=* | --inclu=* | --incl=* | --inc=*) | |
201 includedir="$ac_optarg" ;; | |
202 | |
203 -infodir | --infodir | --infodi | --infod | --info | --inf) | |
204 ac_prev=infodir ;; | |
205 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
206 infodir="$ac_optarg" ;; | |
207 | |
208 -libdir | --libdir | --libdi | --libd) | |
209 ac_prev=libdir ;; | |
210 -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
211 libdir="$ac_optarg" ;; | |
212 | |
213 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
214 | --libexe | --libex | --libe) | |
215 ac_prev=libexecdir ;; | |
216 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
217 | --libexe=* | --libex=* | --libe=*) | |
218 libexecdir="$ac_optarg" ;; | |
219 | |
220 -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
221 | --localstate | --localstat | --localsta | --localst \ | |
222 | --locals | --local | --loca | --loc | --lo) | |
223 ac_prev=localstatedir ;; | |
224 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
225 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | |
226 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | |
227 localstatedir="$ac_optarg" ;; | |
228 | |
229 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
230 ac_prev=mandir ;; | |
231 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
232 mandir="$ac_optarg" ;; | |
233 | |
234 -nfp | --nfp | --nf) | |
235 # Obsolete; use --without-fp. | |
236 with_fp=no ;; | |
237 | |
238 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
239 | --no-cr | --no-c) | |
240 no_create=yes ;; | |
241 | |
242 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
243 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
244 no_recursion=yes ;; | |
245 | |
246 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
247 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
248 | --oldin | --oldi | --old | --ol | --o) | |
249 ac_prev=oldincludedir ;; | |
250 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
251 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
252 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
253 oldincludedir="$ac_optarg" ;; | |
254 | |
255 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
256 ac_prev=prefix ;; | |
257 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
258 prefix="$ac_optarg" ;; | |
259 | |
260 -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
261 | --program-pre | --program-pr | --program-p) | |
262 ac_prev=program_prefix ;; | |
263 -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
264 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
265 program_prefix="$ac_optarg" ;; | |
266 | |
267 -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
268 | --program-suf | --program-su | --program-s) | |
269 ac_prev=program_suffix ;; | |
270 -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
271 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
272 program_suffix="$ac_optarg" ;; | |
273 | |
274 -program-transform-name | --program-transform-name \ | |
275 | --program-transform-nam | --program-transform-na \ | |
276 | --program-transform-n | --program-transform- \ | |
277 | --program-transform | --program-transfor \ | |
278 | --program-transfo | --program-transf \ | |
279 | --program-trans | --program-tran \ | |
280 | --progr-tra | --program-tr | --program-t) | |
281 ac_prev=program_transform_name ;; | |
282 -program-transform-name=* | --program-transform-name=* \ | |
283 | --program-transform-nam=* | --program-transform-na=* \ | |
284 | --program-transform-n=* | --program-transform-=* \ | |
285 | --program-transform=* | --program-transfor=* \ | |
286 | --program-transfo=* | --program-transf=* \ | |
287 | --program-trans=* | --program-tran=* \ | |
288 | --progr-tra=* | --program-tr=* | --program-t=*) | |
289 program_transform_name="$ac_optarg" ;; | |
290 | |
291 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
292 | -silent | --silent | --silen | --sile | --sil) | |
293 silent=yes ;; | |
294 | |
295 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
296 ac_prev=sbindir ;; | |
297 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
298 | --sbi=* | --sb=*) | |
299 sbindir="$ac_optarg" ;; | |
300 | |
301 -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
302 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
303 | --sharedst | --shareds | --shared | --share | --shar \ | |
304 | --sha | --sh) | |
305 ac_prev=sharedstatedir ;; | |
306 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
307 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
308 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
309 | --sha=* | --sh=*) | |
310 sharedstatedir="$ac_optarg" ;; | |
311 | |
312 -site | --site | --sit) | |
313 ac_prev=site ;; | |
314 -site=* | --site=* | --sit=*) | |
315 site="$ac_optarg" ;; | |
316 | |
317 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
318 ac_prev=srcdir ;; | |
319 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
320 srcdir="$ac_optarg" ;; | |
321 | |
322 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
323 | --syscon | --sysco | --sysc | --sys | --sy) | |
324 ac_prev=sysconfdir ;; | |
325 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
326 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
327 sysconfdir="$ac_optarg" ;; | |
328 | |
329 -target | --target | --targe | --targ | --tar | --ta | --t) | |
330 ac_prev=target ;; | |
331 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
332 target="$ac_optarg" ;; | |
333 | |
334 -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
335 verbose=yes ;; | |
336 | |
337 -version | --version | --versio | --versi | --vers) | |
338 echo "configure generated by autoconf version 2.13" | |
339 exit 0 ;; | |
340 | |
341 -with-* | --with-*) | |
342 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` | |
343 # Reject names that are not valid shell variable names. | |
344 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then | |
345 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } | |
346 fi | |
347 ac_package=`echo $ac_package| sed 's/-/_/g'` | |
348 case "$ac_option" in | |
349 *=*) ;; | |
350 *) ac_optarg=yes ;; | |
351 esac | |
352 eval "with_${ac_package}='$ac_optarg'" ;; | |
353 | |
354 -without-* | --without-*) | |
355 ac_package=`echo $ac_option|sed -e 's/-*without-//'` | |
356 # Reject names that are not valid shell variable names. | |
357 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then | |
358 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } | |
359 fi | |
360 ac_package=`echo $ac_package| sed 's/-/_/g'` | |
361 eval "with_${ac_package}=no" ;; | |
362 | |
363 --x) | |
364 # Obsolete; use --with-x. | |
365 with_x=yes ;; | |
366 | |
367 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
368 | --x-incl | --x-inc | --x-in | --x-i) | |
369 ac_prev=x_includes ;; | |
370 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
371 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
372 x_includes="$ac_optarg" ;; | |
373 | |
374 -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
375 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
376 ac_prev=x_libraries ;; | |
377 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
378 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
379 x_libraries="$ac_optarg" ;; | |
380 | |
381 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } | |
382 ;; | |
383 | |
384 *) | |
385 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then | |
386 echo "configure: warning: $ac_option: invalid host type" 1>&2 | |
387 fi | |
388 if test "x$nonopt" != xNONE; then | |
389 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } | |
390 fi | |
391 nonopt="$ac_option" | |
392 ;; | |
393 | |
394 esac | |
395 done | |
396 | |
397 if test -n "$ac_prev"; then | |
398 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } | |
399 fi | |
400 | |
401 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | |
402 | |
403 # File descriptor usage: | |
404 # 0 standard input | |
405 # 1 file creation | |
406 # 2 errors and warnings | |
407 # 3 some systems may open it to /dev/tty | |
408 # 4 used on the Kubota Titan | |
409 # 6 checking for... messages and results | |
410 # 5 compiler messages saved in config.log | |
411 if test "$silent" = yes; then | |
412 exec 6>/dev/null | |
413 else | |
414 exec 6>&1 | |
415 fi | |
416 exec 5>./config.log | |
417 | |
418 echo "\ | |
419 This file contains any messages produced by compilers while | |
420 running configure, to aid debugging if configure makes a mistake. | |
421 " 1>&5 | |
422 | |
423 # Strip out --no-create and --no-recursion so they do not pile up. | |
424 # Also quote any args containing shell metacharacters. | |
425 ac_configure_args= | |
426 for ac_arg | |
427 do | |
428 case "$ac_arg" in | |
429 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
430 | --no-cr | --no-c) ;; | |
431 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
432 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; | |
433 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) | |
434 ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
435 *) ac_configure_args="$ac_configure_args $ac_arg" ;; | |
436 esac | |
437 done | |
438 | |
439 # NLS nuisances. | |
440 # Only set these to C if already set. These must not be set unconditionally | |
441 # because not all systems understand e.g. LANG=C (notably SCO). | |
442 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! | |
443 # Non-C LC_CTYPE values break the ctype check. | |
444 if test "${LANG+set}" = set; then LANG=C; export LANG; fi | |
445 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi | |
446 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi | |
447 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi | |
448 | |
449 # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
450 rm -rf conftest* confdefs.h | |
451 # AIX cpp loses on an empty file, so make sure it contains at least a newline. | |
452 echo > confdefs.h | |
453 | |
454 # A filename unique to this package, relative to the directory that | |
455 # configure is in, which we can look for to find out if srcdir is correct. | |
456 ac_unique_file=aclocal.m4 | |
457 | |
458 # Find the source files, if location was not specified. | |
459 if test -z "$srcdir"; then | |
460 ac_srcdir_defaulted=yes | |
461 # Try the directory containing this script, then its parent. | |
462 ac_prog=$0 | |
463 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` | |
464 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. | |
465 srcdir=$ac_confdir | |
466 if test ! -r $srcdir/$ac_unique_file; then | |
467 srcdir=.. | |
468 fi | |
469 else | |
470 ac_srcdir_defaulted=no | |
471 fi | |
472 if test ! -r $srcdir/$ac_unique_file; then | |
473 if test "$ac_srcdir_defaulted" = yes; then | |
474 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } | |
475 else | |
476 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } | |
477 fi | |
478 fi | |
479 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` | |
480 | |
481 # Prefer explicitly selected file to automatically selected ones. | |
482 if test -z "$CONFIG_SITE"; then | |
483 if test "x$prefix" != xNONE; then | |
484 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | |
485 else | |
486 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | |
487 fi | |
488 fi | |
489 for ac_site_file in $CONFIG_SITE; do | |
490 if test -r "$ac_site_file"; then | |
491 echo "loading site script $ac_site_file" | |
492 . "$ac_site_file" | |
493 fi | |
494 done | |
495 | |
496 if test -r "$cache_file"; then | |
497 echo "loading cache $cache_file" | |
498 . $cache_file | |
499 else | |
500 echo "creating cache $cache_file" | |
501 > $cache_file | |
502 fi | |
503 | |
504 ac_ext=c | |
505 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
506 ac_cpp='$CPP $CPPFLAGS' | |
507 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
508 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
509 cross_compiling=$ac_cv_prog_cc_cross | |
510 | |
511 ac_exeext= | |
512 ac_objext=o | |
513 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then | |
514 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. | |
515 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then | |
516 ac_n= ac_c=' | |
517 ' ac_t=' ' | |
518 else | |
519 ac_n=-n ac_c= ac_t= | |
520 fi | |
521 else | |
522 ac_n= ac_c='\c' ac_t= | |
523 fi | |
524 | |
525 | |
526 ac_aux_dir= | |
527 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | |
528 if test -f $ac_dir/install-sh; then | |
529 ac_aux_dir=$ac_dir | |
530 ac_install_sh="$ac_aux_dir/install-sh -c" | |
531 break | |
532 elif test -f $ac_dir/install.sh; then | |
533 ac_aux_dir=$ac_dir | |
534 ac_install_sh="$ac_aux_dir/install.sh -c" | |
535 break | |
536 fi | |
537 done | |
538 if test -z "$ac_aux_dir"; then | |
539 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } | |
540 fi | |
541 ac_config_guess=$ac_aux_dir/config.guess | |
542 ac_config_sub=$ac_aux_dir/config.sub | |
543 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. | |
544 | |
545 am__api_version="1.4" | |
546 # Find a good install program. We prefer a C program (faster), | |
547 # so one script is as good as another. But avoid the broken or | |
548 # incompatible versions: | |
549 # SysV /etc/install, /usr/sbin/install | |
550 # SunOS /usr/etc/install | |
551 # IRIX /sbin/install | |
552 # AIX /bin/install | |
553 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
554 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
555 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
556 # ./install, which can be erroneously created by make from ./install.sh. | |
557 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | |
558 echo "configure:559: checking for a BSD compatible install" >&5 | |
559 if test -z "$INSTALL"; then | |
560 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | |
561 echo $ac_n "(cached) $ac_c" 1>&6 | |
562 else | |
563 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | |
564 for ac_dir in $PATH; do | |
565 # Account for people who put trailing slashes in PATH elements. | |
566 case "$ac_dir/" in | |
567 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; | |
568 *) | |
569 # OSF1 and SCO ODT 3.0 have their own names for install. | |
570 # Don't use installbsd from OSF since it installs stuff as root | |
571 # by default. | |
572 for ac_prog in ginstall scoinst install; do | |
573 if test -f $ac_dir/$ac_prog; then | |
574 if test $ac_prog = install && | |
575 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then | |
576 # AIX install. It has an incompatible calling convention. | |
577 : | |
578 else | |
579 ac_cv_path_install="$ac_dir/$ac_prog -c" | |
580 break 2 | |
581 fi | |
582 fi | |
583 done | |
584 ;; | |
585 esac | |
586 done | |
587 IFS="$ac_save_IFS" | |
588 | |
589 fi | |
590 if test "${ac_cv_path_install+set}" = set; then | |
591 INSTALL="$ac_cv_path_install" | |
592 else | |
593 # As a last resort, use the slow shell script. We don't cache a | |
594 # path for INSTALL within a source directory, because that will | |
595 # break other packages using the cache if that directory is | |
596 # removed, or if the path is relative. | |
597 INSTALL="$ac_install_sh" | |
598 fi | |
599 fi | |
600 echo "$ac_t""$INSTALL" 1>&6 | |
601 | |
602 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
603 # It thinks the first close brace ends the variable substitution. | |
604 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
605 | |
606 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | |
607 | |
608 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
609 | |
610 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 | |
611 echo "configure:612: checking whether build environment is sane" >&5 | |
612 # Just in case | |
613 sleep 1 | |
614 echo timestamp > conftestfile | |
615 # Do `set' in a subshell so we don't clobber the current shell's | |
616 # arguments. Must try -L first in case configure is actually a | |
617 # symlink; some systems play weird games with the mod time of symlinks | |
618 # (eg FreeBSD returns the mod time of the symlink's containing | |
619 # directory). | |
620 if ( | |
621 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` | |
622 if test "$*" = "X"; then | |
623 # -L didn't work. | |
624 set X `ls -t $srcdir/configure conftestfile` | |
625 fi | |
626 if test "$*" != "X $srcdir/configure conftestfile" \ | |
627 && test "$*" != "X conftestfile $srcdir/configure"; then | |
628 | |
629 # If neither matched, then we have a broken ls. This can happen | |
630 # if, for instance, CONFIG_SHELL is bash and it inherits a | |
631 # broken ls alias from the environment. This has actually | |
632 # happened. Such a system could not be considered "sane". | |
633 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken | |
634 alias in your environment" 1>&2; exit 1; } | |
635 fi | |
636 | |
637 test "$2" = conftestfile | |
638 ) | |
639 then | |
640 # Ok. | |
641 : | |
642 else | |
643 { echo "configure: error: newly created file is older than distributed files! | |
644 Check your system clock" 1>&2; exit 1; } | |
645 fi | |
646 rm -f conftest* | |
647 echo "$ac_t""yes" 1>&6 | |
648 if test "$program_transform_name" = s,x,x,; then | |
649 program_transform_name= | |
650 else | |
651 # Double any \ or $. echo might interpret backslashes. | |
652 cat <<\EOF_SED > conftestsed | |
653 s,\\,\\\\,g; s,\$,$$,g | |
654 EOF_SED | |
655 program_transform_name="`echo $program_transform_name|sed -f conftestsed`" | |
656 rm -f conftestsed | |
657 fi | |
658 test "$program_prefix" != NONE && | |
659 program_transform_name="s,^,${program_prefix},; $program_transform_name" | |
660 # Use a double $ so make ignores it. | |
661 test "$program_suffix" != NONE && | |
662 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" | |
663 | |
664 # sed with no file args requires a program. | |
665 test "$program_transform_name" = "" && program_transform_name="s,x,x," | |
666 | |
667 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | |
668 echo "configure:669: checking whether ${MAKE-make} sets \${MAKE}" >&5 | |
669 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | |
670 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | |
671 echo $ac_n "(cached) $ac_c" 1>&6 | |
672 else | |
673 cat > conftestmake <<\EOF | |
674 all: | |
675 @echo 'ac_maketemp="${MAKE}"' | |
676 EOF | |
677 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
678 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` | |
679 if test -n "$ac_maketemp"; then | |
680 eval ac_cv_prog_make_${ac_make}_set=yes | |
681 else | |
682 eval ac_cv_prog_make_${ac_make}_set=no | |
683 fi | |
684 rm -f conftestmake | |
685 fi | |
686 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | |
687 echo "$ac_t""yes" 1>&6 | |
688 SET_MAKE= | |
689 else | |
690 echo "$ac_t""no" 1>&6 | |
691 SET_MAKE="MAKE=${MAKE-make}" | |
692 fi | |
693 | |
694 | |
695 PACKAGE=libjabber | |
696 | |
697 VERSION=0.1 | |
698 | |
699 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | |
700 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } | |
701 fi | |
702 cat >> confdefs.h <<EOF | |
703 #define PACKAGE "$PACKAGE" | |
704 EOF | |
705 | |
706 cat >> confdefs.h <<EOF | |
707 #define VERSION "$VERSION" | |
708 EOF | |
709 | |
710 | |
711 | |
712 missing_dir=`cd $ac_aux_dir && pwd` | |
713 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6 | |
714 echo "configure:715: checking for working aclocal-${am__api_version}" >&5 | |
715 # Run test in a subshell; some versions of sh will print an error if | |
716 # an executable is not found, even if stderr is redirected. | |
717 # Redirect stdin to placate older versions of autoconf. Sigh. | |
718 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then | |
719 ACLOCAL=aclocal-${am__api_version} | |
720 echo "$ac_t""found" 1>&6 | |
721 else | |
722 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" | |
723 echo "$ac_t""missing" 1>&6 | |
724 fi | |
725 | |
726 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | |
727 echo "configure:728: checking for working autoconf" >&5 | |
728 # Run test in a subshell; some versions of sh will print an error if | |
729 # an executable is not found, even if stderr is redirected. | |
730 # Redirect stdin to placate older versions of autoconf. Sigh. | |
731 if (autoconf --version) < /dev/null > /dev/null 2>&1; then | |
732 AUTOCONF=autoconf | |
733 echo "$ac_t""found" 1>&6 | |
734 else | |
735 AUTOCONF="$missing_dir/missing autoconf" | |
736 echo "$ac_t""missing" 1>&6 | |
737 fi | |
738 | |
739 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6 | |
740 echo "configure:741: checking for working automake-${am__api_version}" >&5 | |
741 # Run test in a subshell; some versions of sh will print an error if | |
742 # an executable is not found, even if stderr is redirected. | |
743 # Redirect stdin to placate older versions of autoconf. Sigh. | |
744 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then | |
745 AUTOMAKE=automake-${am__api_version} | |
746 echo "$ac_t""found" 1>&6 | |
747 else | |
748 AUTOMAKE="$missing_dir/missing automake-${am__api_version}" | |
749 echo "$ac_t""missing" 1>&6 | |
750 fi | |
751 | |
752 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | |
753 echo "configure:754: checking for working autoheader" >&5 | |
754 # Run test in a subshell; some versions of sh will print an error if | |
755 # an executable is not found, even if stderr is redirected. | |
756 # Redirect stdin to placate older versions of autoconf. Sigh. | |
757 if (autoheader --version) < /dev/null > /dev/null 2>&1; then | |
758 AUTOHEADER=autoheader | |
759 echo "$ac_t""found" 1>&6 | |
760 else | |
761 AUTOHEADER="$missing_dir/missing autoheader" | |
762 echo "$ac_t""missing" 1>&6 | |
763 fi | |
764 | |
765 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | |
766 echo "configure:767: checking for working makeinfo" >&5 | |
767 # Run test in a subshell; some versions of sh will print an error if | |
768 # an executable is not found, even if stderr is redirected. | |
769 # Redirect stdin to placate older versions of autoconf. Sigh. | |
770 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then | |
771 MAKEINFO=makeinfo | |
772 echo "$ac_t""found" 1>&6 | |
773 else | |
774 MAKEINFO="$missing_dir/missing makeinfo" | |
775 echo "$ac_t""missing" 1>&6 | |
776 fi | |
777 | |
778 | |
779 | |
780 # Extract the first word of "ranlib", so it can be a program name with args. | |
781 set dummy ranlib; ac_word=$2 | |
782 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
783 echo "configure:784: checking for $ac_word" >&5 | |
784 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | |
785 echo $ac_n "(cached) $ac_c" 1>&6 | |
786 else | |
787 if test -n "$RANLIB"; then | |
788 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
789 else | |
790 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
791 ac_dummy="$PATH" | |
792 for ac_dir in $ac_dummy; do | |
793 test -z "$ac_dir" && ac_dir=. | |
794 if test -f $ac_dir/$ac_word; then | |
795 ac_cv_prog_RANLIB="ranlib" | |
796 break | |
797 fi | |
798 done | |
799 IFS="$ac_save_ifs" | |
800 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" | |
801 fi | |
802 fi | |
803 RANLIB="$ac_cv_prog_RANLIB" | |
804 if test -n "$RANLIB"; then | |
805 echo "$ac_t""$RANLIB" 1>&6 | |
806 else | |
807 echo "$ac_t""no" 1>&6 | |
808 fi | |
809 | |
810 # Extract the first word of "gcc", so it can be a program name with args. | |
811 set dummy gcc; ac_word=$2 | |
812 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
813 echo "configure:814: checking for $ac_word" >&5 | |
814 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | |
815 echo $ac_n "(cached) $ac_c" 1>&6 | |
816 else | |
817 if test -n "$CC"; then | |
818 ac_cv_prog_CC="$CC" # Let the user override the test. | |
819 else | |
820 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
821 ac_dummy="$PATH" | |
822 for ac_dir in $ac_dummy; do | |
823 test -z "$ac_dir" && ac_dir=. | |
824 if test -f $ac_dir/$ac_word; then | |
825 ac_cv_prog_CC="gcc" | |
826 break | |
827 fi | |
828 done | |
829 IFS="$ac_save_ifs" | |
830 fi | |
831 fi | |
832 CC="$ac_cv_prog_CC" | |
833 if test -n "$CC"; then | |
834 echo "$ac_t""$CC" 1>&6 | |
835 else | |
836 echo "$ac_t""no" 1>&6 | |
837 fi | |
838 | |
839 if test -z "$CC"; then | |
840 # Extract the first word of "cc", so it can be a program name with args. | |
841 set dummy cc; ac_word=$2 | |
842 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
843 echo "configure:844: checking for $ac_word" >&5 | |
844 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | |
845 echo $ac_n "(cached) $ac_c" 1>&6 | |
846 else | |
847 if test -n "$CC"; then | |
848 ac_cv_prog_CC="$CC" # Let the user override the test. | |
849 else | |
850 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
851 ac_prog_rejected=no | |
852 ac_dummy="$PATH" | |
853 for ac_dir in $ac_dummy; do | |
854 test -z "$ac_dir" && ac_dir=. | |
855 if test -f $ac_dir/$ac_word; then | |
856 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | |
857 ac_prog_rejected=yes | |
858 continue | |
859 fi | |
860 ac_cv_prog_CC="cc" | |
861 break | |
862 fi | |
863 done | |
864 IFS="$ac_save_ifs" | |
865 if test $ac_prog_rejected = yes; then | |
866 # We found a bogon in the path, so make sure we never use it. | |
867 set dummy $ac_cv_prog_CC | |
868 shift | |
869 if test $# -gt 0; then | |
870 # We chose a different compiler from the bogus one. | |
871 # However, it has the same basename, so the bogon will be chosen | |
872 # first if we set CC to just the basename; use the full file name. | |
873 shift | |
874 set dummy "$ac_dir/$ac_word" "$@" | |
875 shift | |
876 ac_cv_prog_CC="$@" | |
877 fi | |
878 fi | |
879 fi | |
880 fi | |
881 CC="$ac_cv_prog_CC" | |
882 if test -n "$CC"; then | |
883 echo "$ac_t""$CC" 1>&6 | |
884 else | |
885 echo "$ac_t""no" 1>&6 | |
886 fi | |
887 | |
888 if test -z "$CC"; then | |
889 case "`uname -s`" in | |
890 *win32* | *WIN32*) | |
891 # Extract the first word of "cl", so it can be a program name with args. | |
892 set dummy cl; ac_word=$2 | |
893 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
894 echo "configure:895: checking for $ac_word" >&5 | |
895 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | |
896 echo $ac_n "(cached) $ac_c" 1>&6 | |
897 else | |
898 if test -n "$CC"; then | |
899 ac_cv_prog_CC="$CC" # Let the user override the test. | |
900 else | |
901 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
902 ac_dummy="$PATH" | |
903 for ac_dir in $ac_dummy; do | |
904 test -z "$ac_dir" && ac_dir=. | |
905 if test -f $ac_dir/$ac_word; then | |
906 ac_cv_prog_CC="cl" | |
907 break | |
908 fi | |
909 done | |
910 IFS="$ac_save_ifs" | |
911 fi | |
912 fi | |
913 CC="$ac_cv_prog_CC" | |
914 if test -n "$CC"; then | |
915 echo "$ac_t""$CC" 1>&6 | |
916 else | |
917 echo "$ac_t""no" 1>&6 | |
918 fi | |
919 ;; | |
920 esac | |
921 fi | |
922 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | |
923 fi | |
924 | |
925 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | |
926 echo "configure:927: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | |
927 | |
928 ac_ext=c | |
929 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
930 ac_cpp='$CPP $CPPFLAGS' | |
931 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
932 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
933 cross_compiling=$ac_cv_prog_cc_cross | |
934 | |
935 cat > conftest.$ac_ext << EOF | |
936 | |
937 #line 938 "configure" | |
938 #include "confdefs.h" | |
939 | |
940 main(){return(0);} | |
941 EOF | |
942 if { (eval echo configure:943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
943 ac_cv_prog_cc_works=yes | |
944 # If we can't run a trivial program, we are probably using a cross compiler. | |
945 if (./conftest; exit) 2>/dev/null; then | |
946 ac_cv_prog_cc_cross=no | |
947 else | |
948 ac_cv_prog_cc_cross=yes | |
949 fi | |
950 else | |
951 echo "configure: failed program was:" >&5 | |
952 cat conftest.$ac_ext >&5 | |
953 ac_cv_prog_cc_works=no | |
954 fi | |
955 rm -fr conftest* | |
956 ac_ext=c | |
957 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
958 ac_cpp='$CPP $CPPFLAGS' | |
959 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
960 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
961 cross_compiling=$ac_cv_prog_cc_cross | |
962 | |
963 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | |
964 if test $ac_cv_prog_cc_works = no; then | |
965 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | |
966 fi | |
967 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | |
968 echo "configure:969: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | |
969 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | |
970 cross_compiling=$ac_cv_prog_cc_cross | |
971 | |
972 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | |
973 echo "configure:974: checking whether we are using GNU C" >&5 | |
974 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | |
975 echo $ac_n "(cached) $ac_c" 1>&6 | |
976 else | |
977 cat > conftest.c <<EOF | |
978 #ifdef __GNUC__ | |
979 yes; | |
980 #endif | |
981 EOF | |
982 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | |
983 ac_cv_prog_gcc=yes | |
984 else | |
985 ac_cv_prog_gcc=no | |
986 fi | |
987 fi | |
988 | |
989 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | |
990 | |
991 if test $ac_cv_prog_gcc = yes; then | |
992 GCC=yes | |
993 else | |
994 GCC= | |
995 fi | |
996 | |
997 ac_test_CFLAGS="${CFLAGS+set}" | |
998 ac_save_CFLAGS="$CFLAGS" | |
999 CFLAGS= | |
1000 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
1001 echo "configure:1002: checking whether ${CC-cc} accepts -g" >&5 | |
1002 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | |
1003 echo $ac_n "(cached) $ac_c" 1>&6 | |
1004 else | |
1005 echo 'void f(){}' > conftest.c | |
1006 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | |
1007 ac_cv_prog_cc_g=yes | |
1008 else | |
1009 ac_cv_prog_cc_g=no | |
1010 fi | |
1011 rm -f conftest* | |
1012 | |
1013 fi | |
1014 | |
1015 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | |
1016 if test "$ac_test_CFLAGS" = set; then | |
1017 CFLAGS="$ac_save_CFLAGS" | |
1018 elif test $ac_cv_prog_cc_g = yes; then | |
1019 if test "$GCC" = yes; then | |
1020 CFLAGS="-g -O2" | |
1021 else | |
1022 CFLAGS="-g" | |
1023 fi | |
1024 else | |
1025 if test "$GCC" = yes; then | |
1026 CFLAGS="-O2" | |
1027 else | |
1028 CFLAGS= | |
1029 fi | |
1030 fi | |
1031 | |
1032 | |
1033 # Check whether --enable-jabber or --disable-jabber was given. | |
1034 if test "${enable_jabber+set}" = set; then | |
1035 enableval="$enable_jabber" | |
1036 build_jabber="$enableval" | |
1037 else | |
1038 build_jabber="yes" | |
1039 fi | |
1040 | |
1041 | |
1042 | |
1043 if test "x$build_jabber" = xyes; then | |
1044 BUILD_JABBER_TRUE= | |
1045 BUILD_JABBER_FALSE='#' | |
1046 else | |
1047 BUILD_JABBER_TRUE='#' | |
1048 BUILD_JABBER_FALSE= | |
1049 fi | |
1050 | |
1051 if test "$build_jabber" = "yes"; then | |
1052 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl | |
1053 do | |
1054 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
1055 set dummy $ac_prog; ac_word=$2 | |
1056 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
1057 echo "configure:1058: checking for $ac_word" >&5 | |
1058 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then | |
1059 echo $ac_n "(cached) $ac_c" 1>&6 | |
1060 else | |
1061 if test -n "$CXX"; then | |
1062 ac_cv_prog_CXX="$CXX" # Let the user override the test. | |
1063 else | |
1064 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
1065 ac_dummy="$PATH" | |
1066 for ac_dir in $ac_dummy; do | |
1067 test -z "$ac_dir" && ac_dir=. | |
1068 if test -f $ac_dir/$ac_word; then | |
1069 ac_cv_prog_CXX="$ac_prog" | |
1070 break | |
1071 fi | |
1072 done | |
1073 IFS="$ac_save_ifs" | |
1074 fi | |
1075 fi | |
1076 CXX="$ac_cv_prog_CXX" | |
1077 if test -n "$CXX"; then | |
1078 echo "$ac_t""$CXX" 1>&6 | |
1079 else | |
1080 echo "$ac_t""no" 1>&6 | |
1081 fi | |
1082 | |
1083 test -n "$CXX" && break | |
1084 done | |
1085 test -n "$CXX" || CXX="gcc" | |
1086 | |
1087 | |
1088 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | |
1089 echo "configure:1090: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 | |
1090 | |
1091 ac_ext=C | |
1092 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
1093 ac_cpp='$CXXCPP $CPPFLAGS' | |
1094 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
1095 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
1096 cross_compiling=$ac_cv_prog_cxx_cross | |
1097 | |
1098 cat > conftest.$ac_ext << EOF | |
1099 | |
1100 #line 1101 "configure" | |
1101 #include "confdefs.h" | |
1102 | |
1103 int main(){return(0);} | |
1104 EOF | |
1105 if { (eval echo configure:1106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
1106 ac_cv_prog_cxx_works=yes | |
1107 # If we can't run a trivial program, we are probably using a cross compiler. | |
1108 if (./conftest; exit) 2>/dev/null; then | |
1109 ac_cv_prog_cxx_cross=no | |
1110 else | |
1111 ac_cv_prog_cxx_cross=yes | |
1112 fi | |
1113 else | |
1114 echo "configure: failed program was:" >&5 | |
1115 cat conftest.$ac_ext >&5 | |
1116 ac_cv_prog_cxx_works=no | |
1117 fi | |
1118 rm -fr conftest* | |
1119 ac_ext=c | |
1120 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
1121 ac_cpp='$CPP $CPPFLAGS' | |
1122 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
1123 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
1124 cross_compiling=$ac_cv_prog_cc_cross | |
1125 | |
1126 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 | |
1127 if test $ac_cv_prog_cxx_works = no; then | |
1128 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } | |
1129 fi | |
1130 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | |
1131 echo "configure:1132: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 | |
1132 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 | |
1133 cross_compiling=$ac_cv_prog_cxx_cross | |
1134 | |
1135 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 | |
1136 echo "configure:1137: checking whether we are using GNU C++" >&5 | |
1137 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then | |
1138 echo $ac_n "(cached) $ac_c" 1>&6 | |
1139 else | |
1140 cat > conftest.C <<EOF | |
1141 #ifdef __GNUC__ | |
1142 yes; | |
1143 #endif | |
1144 EOF | |
1145 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | |
1146 ac_cv_prog_gxx=yes | |
1147 else | |
1148 ac_cv_prog_gxx=no | |
1149 fi | |
1150 fi | |
1151 | |
1152 echo "$ac_t""$ac_cv_prog_gxx" 1>&6 | |
1153 | |
1154 if test $ac_cv_prog_gxx = yes; then | |
1155 GXX=yes | |
1156 else | |
1157 GXX= | |
1158 fi | |
1159 | |
1160 ac_test_CXXFLAGS="${CXXFLAGS+set}" | |
1161 ac_save_CXXFLAGS="$CXXFLAGS" | |
1162 CXXFLAGS= | |
1163 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 | |
1164 echo "configure:1165: checking whether ${CXX-g++} accepts -g" >&5 | |
1165 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then | |
1166 echo $ac_n "(cached) $ac_c" 1>&6 | |
1167 else | |
1168 echo 'void f(){}' > conftest.cc | |
1169 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then | |
1170 ac_cv_prog_cxx_g=yes | |
1171 else | |
1172 ac_cv_prog_cxx_g=no | |
1173 fi | |
1174 rm -f conftest* | |
1175 | |
1176 fi | |
1177 | |
1178 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 | |
1179 if test "$ac_test_CXXFLAGS" = set; then | |
1180 CXXFLAGS="$ac_save_CXXFLAGS" | |
1181 elif test $ac_cv_prog_cxx_g = yes; then | |
1182 if test "$GXX" = yes; then | |
1183 CXXFLAGS="-g -O2" | |
1184 else | |
1185 CXXFLAGS="-g" | |
1186 fi | |
1187 else | |
1188 if test "$GXX" = yes; then | |
1189 CXXFLAGS="-O2" | |
1190 else | |
1191 CXXFLAGS= | |
1192 fi | |
1193 fi | |
1194 | |
1195 fi | |
1196 | |
1197 trap '' 1 2 15 | |
1198 cat > confcache <<\EOF | |
1199 # This file is a shell script that caches the results of configure | |
1200 # tests run on this system so they can be shared between configure | |
1201 # scripts and configure runs. It is not useful on other systems. | |
1202 # If it contains results you don't want to keep, you may remove or edit it. | |
1203 # | |
1204 # By default, configure uses ./config.cache as the cache file, | |
1205 # creating it if it does not exist already. You can give configure | |
1206 # the --cache-file=FILE option to use a different cache file; that is | |
1207 # what configure does when it calls configure scripts in | |
1208 # subdirectories, so they share the cache. | |
1209 # Giving --cache-file=/dev/null disables caching, for debugging configure. | |
1210 # config.status only pays attention to the cache file if you give it the | |
1211 # --recheck option to rerun configure. | |
1212 # | |
1213 EOF | |
1214 # The following way of writing the cache mishandles newlines in values, | |
1215 # but we know of no workaround that is simple, portable, and efficient. | |
1216 # So, don't put newlines in cache variables' values. | |
1217 # Ultrix sh set writes to stderr and can't be redirected directly, | |
1218 # and sets the high bit in the cache file unless we assign to the vars. | |
1219 (set) 2>&1 | | |
1220 case `(ac_space=' '; set | grep ac_space) 2>&1` in | |
1221 *ac_space=\ *) | |
1222 # `set' does not quote correctly, so add quotes (double-quote substitution | |
1223 # turns \\\\ into \\, and sed turns \\ into \). | |
1224 sed -n \ | |
1225 -e "s/'/'\\\\''/g" \ | |
1226 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" | |
1227 ;; | |
1228 *) | |
1229 # `set' quotes correctly as required by POSIX, so do not add quotes. | |
1230 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' | |
1231 ;; | |
1232 esac >> confcache | |
1233 if cmp -s $cache_file confcache; then | |
1234 : | |
1235 else | |
1236 if test -w $cache_file; then | |
1237 echo "updating cache $cache_file" | |
1238 cat confcache > $cache_file | |
1239 else | |
1240 echo "not updating unwritable cache $cache_file" | |
1241 fi | |
1242 fi | |
1243 rm -f confcache | |
1244 | |
1245 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | |
1246 | |
1247 test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
1248 # Let make expand exec_prefix. | |
1249 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
1250 | |
1251 # Any assignment to VPATH causes Sun make to only execute | |
1252 # the first set of double-colon rules, so remove it if not needed. | |
1253 # If there is a colon in the path, we need to keep it. | |
1254 if test "x$srcdir" = x.; then | |
1255 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' | |
1256 fi | |
1257 | |
1258 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 | |
1259 | |
1260 # Transform confdefs.h into DEFS. | |
1261 # Protect against shell expansion while executing Makefile rules. | |
1262 # Protect against Makefile macro expansion. | |
1263 cat > conftest.defs <<\EOF | |
1264 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g | |
1265 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g | |
1266 s%\[%\\&%g | |
1267 s%\]%\\&%g | |
1268 s%\$%$$%g | |
1269 EOF | |
1270 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` | |
1271 rm -f conftest.defs | |
1272 | |
1273 | |
1274 # Without the "./", some shells look in PATH for config.status. | |
1275 : ${CONFIG_STATUS=./config.status} | |
1276 | |
1277 echo creating $CONFIG_STATUS | |
1278 rm -f $CONFIG_STATUS | |
1279 cat > $CONFIG_STATUS <<EOF | |
1280 #! /bin/sh | |
1281 # Generated automatically by configure. | |
1282 # Run this file to recreate the current configuration. | |
1283 # This directory was configured as follows, | |
1284 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | |
1285 # | |
1286 # $0 $ac_configure_args | |
1287 # | |
1288 # Compiler output produced by configure, useful for debugging | |
1289 # configure, is in ./config.log if it exists. | |
1290 | |
1291 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" | |
1292 for ac_option | |
1293 do | |
1294 case "\$ac_option" in | |
1295 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
1296 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" | |
1297 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; | |
1298 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) | |
1299 echo "$CONFIG_STATUS generated by autoconf version 2.13" | |
1300 exit 0 ;; | |
1301 -help | --help | --hel | --he | --h) | |
1302 echo "\$ac_cs_usage"; exit 0 ;; | |
1303 *) echo "\$ac_cs_usage"; exit 1 ;; | |
1304 esac | |
1305 done | |
1306 | |
1307 ac_given_srcdir=$srcdir | |
1308 ac_given_INSTALL="$INSTALL" | |
1309 | |
1310 trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 | |
1311 EOF | |
1312 cat >> $CONFIG_STATUS <<EOF | |
1313 | |
1314 # Protect against being on the right side of a sed subst in config.status. | |
1315 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; | |
1316 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF | |
1317 $ac_vpsub | |
1318 $extrasub | |
1319 s%@SHELL@%$SHELL%g | |
1320 s%@CFLAGS@%$CFLAGS%g | |
1321 s%@CPPFLAGS@%$CPPFLAGS%g | |
1322 s%@CXXFLAGS@%$CXXFLAGS%g | |
1323 s%@FFLAGS@%$FFLAGS%g | |
1324 s%@DEFS@%$DEFS%g | |
1325 s%@LDFLAGS@%$LDFLAGS%g | |
1326 s%@LIBS@%$LIBS%g | |
1327 s%@exec_prefix@%$exec_prefix%g | |
1328 s%@prefix@%$prefix%g | |
1329 s%@program_transform_name@%$program_transform_name%g | |
1330 s%@bindir@%$bindir%g | |
1331 s%@sbindir@%$sbindir%g | |
1332 s%@libexecdir@%$libexecdir%g | |
1333 s%@datadir@%$datadir%g | |
1334 s%@sysconfdir@%$sysconfdir%g | |
1335 s%@sharedstatedir@%$sharedstatedir%g | |
1336 s%@localstatedir@%$localstatedir%g | |
1337 s%@libdir@%$libdir%g | |
1338 s%@includedir@%$includedir%g | |
1339 s%@oldincludedir@%$oldincludedir%g | |
1340 s%@infodir@%$infodir%g | |
1341 s%@mandir@%$mandir%g | |
1342 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | |
1343 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | |
1344 s%@INSTALL_DATA@%$INSTALL_DATA%g | |
1345 s%@PACKAGE@%$PACKAGE%g | |
1346 s%@VERSION@%$VERSION%g | |
1347 s%@ACLOCAL@%$ACLOCAL%g | |
1348 s%@AUTOCONF@%$AUTOCONF%g | |
1349 s%@AUTOMAKE@%$AUTOMAKE%g | |
1350 s%@AUTOHEADER@%$AUTOHEADER%g | |
1351 s%@MAKEINFO@%$MAKEINFO%g | |
1352 s%@SET_MAKE@%$SET_MAKE%g | |
1353 s%@RANLIB@%$RANLIB%g | |
1354 s%@CC@%$CC%g | |
1355 s%@BUILD_JABBER_TRUE@%$BUILD_JABBER_TRUE%g | |
1356 s%@BUILD_JABBER_FALSE@%$BUILD_JABBER_FALSE%g | |
1357 s%@CXX@%$CXX%g | |
1358 | |
1359 CEOF | |
1360 EOF | |
1361 | |
1362 cat >> $CONFIG_STATUS <<\EOF | |
1363 | |
1364 # Split the substitutions into bite-sized pieces for seds with | |
1365 # small command number limits, like on Digital OSF/1 and HP-UX. | |
1366 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. | |
1367 ac_file=1 # Number of current file. | |
1368 ac_beg=1 # First line for current file. | |
1369 ac_end=$ac_max_sed_cmds # Line after last line for current file. | |
1370 ac_more_lines=: | |
1371 ac_sed_cmds="" | |
1372 while $ac_more_lines; do | |
1373 if test $ac_beg -gt 1; then | |
1374 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file | |
1375 else | |
1376 sed "${ac_end}q" conftest.subs > conftest.s$ac_file | |
1377 fi | |
1378 if test ! -s conftest.s$ac_file; then | |
1379 ac_more_lines=false | |
1380 rm -f conftest.s$ac_file | |
1381 else | |
1382 if test -z "$ac_sed_cmds"; then | |
1383 ac_sed_cmds="sed -f conftest.s$ac_file" | |
1384 else | |
1385 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" | |
1386 fi | |
1387 ac_file=`expr $ac_file + 1` | |
1388 ac_beg=$ac_end | |
1389 ac_end=`expr $ac_end + $ac_max_sed_cmds` | |
1390 fi | |
1391 done | |
1392 if test -z "$ac_sed_cmds"; then | |
1393 ac_sed_cmds=cat | |
1394 fi | |
1395 EOF | |
1396 | |
1397 cat >> $CONFIG_STATUS <<EOF | |
1398 | |
1399 CONFIG_FILES=\${CONFIG_FILES-"Makefile"} | |
1400 EOF | |
1401 cat >> $CONFIG_STATUS <<\EOF | |
1402 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then | |
1403 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
1404 case "$ac_file" in | |
1405 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` | |
1406 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; | |
1407 *) ac_file_in="${ac_file}.in" ;; | |
1408 esac | |
1409 | |
1410 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. | |
1411 | |
1412 # Remove last slash and all that follows it. Not all systems have dirname. | |
1413 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` | |
1414 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then | |
1415 # The file is in a subdirectory. | |
1416 test ! -d "$ac_dir" && mkdir "$ac_dir" | |
1417 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" | |
1418 # A "../" for each directory in $ac_dir_suffix. | |
1419 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` | |
1420 else | |
1421 ac_dir_suffix= ac_dots= | |
1422 fi | |
1423 | |
1424 case "$ac_given_srcdir" in | |
1425 .) srcdir=. | |
1426 if test -z "$ac_dots"; then top_srcdir=. | |
1427 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; | |
1428 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; | |
1429 *) # Relative path. | |
1430 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" | |
1431 top_srcdir="$ac_dots$ac_given_srcdir" ;; | |
1432 esac | |
1433 | |
1434 case "$ac_given_INSTALL" in | |
1435 [/$]*) INSTALL="$ac_given_INSTALL" ;; | |
1436 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; | |
1437 esac | |
1438 | |
1439 echo creating "$ac_file" | |
1440 rm -f "$ac_file" | |
1441 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." | |
1442 case "$ac_file" in | |
1443 *Makefile*) ac_comsub="1i\\ | |
1444 # $configure_input" ;; | |
1445 *) ac_comsub= ;; | |
1446 esac | |
1447 | |
1448 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` | |
1449 sed -e "$ac_comsub | |
1450 s%@configure_input@%$configure_input%g | |
1451 s%@srcdir@%$srcdir%g | |
1452 s%@top_srcdir@%$top_srcdir%g | |
1453 s%@INSTALL@%$INSTALL%g | |
1454 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file | |
1455 fi; done | |
1456 rm -f conftest.s* | |
1457 | |
1458 EOF | |
1459 cat >> $CONFIG_STATUS <<EOF | |
1460 | |
1461 EOF | |
1462 cat >> $CONFIG_STATUS <<\EOF | |
1463 | |
1464 exit 0 | |
1465 EOF | |
1466 chmod +x $CONFIG_STATUS | |
1467 rm -fr confdefs* $ac_clean_files | |
1468 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 | |
1469 |