[cvs] / slony1-engine / configure Repository:

Annotation of /slony1-engine/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.20 - (view) (download)

1 : wieck 1.1 #! /bin/sh
2 :     # Guess values for system-dependent variables and create Makefiles.
3 : wieck 1.20 # Generated by GNU Autoconf 2.53 for slony1-engine 1.0RC1.
4 : wieck 1.1 #
5 :     # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 :     # Free Software Foundation, Inc.
7 :     # This configure script is free software; the Free Software Foundation
8 :     # gives unlimited permission to copy, distribute and modify it.
9 : wieck 1.20
10 :     if expr a : '\(a\)' >/dev/null 2>&1; then
11 :     as_expr=expr
12 :     else
13 :     as_expr=false
14 :     fi
15 :    
16 :    
17 : wieck 1.1 ## --------------------- ##
18 :     ## M4sh Initialization. ##
19 :     ## --------------------- ##
20 :    
21 :     # Be Bourne compatible
22 :     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23 :     emulate sh
24 :     NULLCMD=:
25 :     elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 :     set -o posix
27 :     fi
28 :    
29 : wieck 1.20 # NLS nuisances.
30 : wieck 1.1 # Support unset when possible.
31 :     if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 :     as_unset=unset
33 :     else
34 :     as_unset=false
35 :     fi
36 :    
37 : wieck 1.20 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 :     { $as_unset LANG || test "${LANG+set}" != set; } ||
39 :     { LANG=C; export LANG; }
40 :     (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 :     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42 :     { LC_ALL=C; export LC_ALL; }
43 :     (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 :     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45 :     { LC_TIME=C; export LC_TIME; }
46 :     (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 :     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48 :     { LC_CTYPE=C; export LC_CTYPE; }
49 :     (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 :     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51 :     { LANGUAGE=C; export LANGUAGE; }
52 :     (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 :     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54 :     { LC_COLLATE=C; export LC_COLLATE; }
55 :     (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 :     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57 :     { LC_NUMERIC=C; export LC_NUMERIC; }
58 :     (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 :     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60 :     { LC_MESSAGES=C; export LC_MESSAGES; }
61 : wieck 1.1
62 :    
63 :     # Name of the executable.
64 : wieck 1.20 as_me=`(basename "$0") 2>/dev/null ||
65 : wieck 1.1 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 :     X"$0" : 'X\(//\)$' \| \
67 :     X"$0" : 'X\(/\)$' \| \
68 :     . : '\(.\)' 2>/dev/null ||
69 :     echo X/"$0" |
70 :     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 :     /^X\/\(\/\/\)$/{ s//\1/; q; }
72 :     /^X\/\(\/\).*/{ s//\1/; q; }
73 :     s/.*/./; q'`
74 :    
75 :     # PATH needs CR, and LINENO needs CR and PATH.
76 :     # Avoid depending upon Character Ranges.
77 :     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78 :     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 :     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80 :     as_cr_digits='0123456789'
81 :     as_cr_alnum=$as_cr_Letters$as_cr_digits
82 :    
83 :     # The user is always right.
84 :     if test "${PATH_SEPARATOR+set}" != set; then
85 : wieck 1.20 echo "#! /bin/sh" >conftest.sh
86 :     echo "exit 0" >>conftest.sh
87 :     chmod +x conftest.sh
88 :     if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
89 : wieck 1.1 PATH_SEPARATOR=';'
90 :     else
91 :     PATH_SEPARATOR=:
92 :     fi
93 : wieck 1.20 rm -f conftest.sh
94 : wieck 1.1 fi
95 :    
96 :    
97 :     as_lineno_1=$LINENO
98 :     as_lineno_2=$LINENO
99 :     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 :     test "x$as_lineno_1" != "x$as_lineno_2" &&
101 :     test "x$as_lineno_3" = "x$as_lineno_2" || {
102 :     # Find who we are. Look in the path if we contain no path at all
103 :     # relative or not.
104 :     case $0 in
105 :     *[\\/]* ) as_myself=$0 ;;
106 :     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
107 :     for as_dir in $PATH
108 :     do
109 :     IFS=$as_save_IFS
110 :     test -z "$as_dir" && as_dir=.
111 :     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 :     done
113 :    
114 :     ;;
115 :     esac
116 :     # We did not find ourselves, most probably we were run as `sh COMMAND'
117 :     # in which case we are not to be found in the path.
118 :     if test "x$as_myself" = x; then
119 :     as_myself=$0
120 :     fi
121 :     if test ! -f "$as_myself"; then
122 :     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 :     { (exit 1); exit 1; }; }
124 :     fi
125 :     case $CONFIG_SHELL in
126 :     '')
127 :     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128 :     for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
129 :     do
130 :     IFS=$as_save_IFS
131 :     test -z "$as_dir" && as_dir=.
132 :     for as_base in sh bash ksh sh5; do
133 :     case $as_dir in
134 :     /*)
135 :     if ("$as_dir/$as_base" -c '
136 :     as_lineno_1=$LINENO
137 :     as_lineno_2=$LINENO
138 :     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 :     test "x$as_lineno_1" != "x$as_lineno_2" &&
140 :     test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 :     CONFIG_SHELL=$as_dir/$as_base
142 :     export CONFIG_SHELL
143 :     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
144 :     fi;;
145 :     esac
146 :     done
147 :     done
148 :     ;;
149 :     esac
150 :    
151 :     # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 :     # uniformly replaced by the line number. The first 'sed' inserts a
153 :     # line-number line before each line; the second 'sed' does the real
154 :     # work. The second script uses 'N' to pair each line-number line
155 :     # with the numbered line, and appends trailing '-' during
156 :     # substitution so that $LINENO is not a special case at line end.
157 :     # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 :     # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 :     sed '=' <$as_myself |
160 :     sed '
161 :     N
162 :     s,$,-,
163 :     : loop
164 :     s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
165 :     t loop
166 :     s,-$,,
167 :     s,^['$as_cr_digits']*\n,,
168 :     ' >$as_me.lineno &&
169 :     chmod +x $as_me.lineno ||
170 :     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 :     { (exit 1); exit 1; }; }
172 :    
173 :     # Don't try to exec as it changes $[0], causing all sort of problems
174 :     # (the dirname of $[0] is not the place where we might find the
175 :     # original and so on. Autoconf is especially sensible to this).
176 :     . ./$as_me.lineno
177 :     # Exit status is that of the last command.
178 :     exit
179 :     }
180 :    
181 :    
182 :     case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 :     *c*,-n*) ECHO_N= ECHO_C='
184 :     ' ECHO_T=' ' ;;
185 :     *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186 :     *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
187 :     esac
188 :    
189 :     if expr a : '\(a\)' >/dev/null 2>&1; then
190 :     as_expr=expr
191 :     else
192 :     as_expr=false
193 :     fi
194 :    
195 :     rm -f conf$$ conf$$.exe conf$$.file
196 :     echo >conf$$.file
197 :     if ln -s conf$$.file conf$$ 2>/dev/null; then
198 :     # We could just check for DJGPP; but this test a) works b) is more generic
199 :     # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 :     if test -f conf$$.exe; then
201 :     # Don't use ln at all; we don't have any links
202 :     as_ln_s='cp -p'
203 :     else
204 :     as_ln_s='ln -s'
205 :     fi
206 :     elif ln conf$$.file conf$$ 2>/dev/null; then
207 :     as_ln_s=ln
208 :     else
209 :     as_ln_s='cp -p'
210 :     fi
211 :     rm -f conf$$ conf$$.exe conf$$.file
212 :    
213 :     as_executable_p="test -f"
214 :    
215 :     # Sed expression to map a string onto a valid CPP name.
216 :     as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
217 :    
218 :     # Sed expression to map a string onto a valid variable name.
219 :     as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
220 :    
221 :    
222 :     # IFS
223 :     # We need space, tab and new line, in precisely that order.
224 :     as_nl='
225 :     '
226 :     IFS=" $as_nl"
227 :    
228 :     # CDPATH.
229 : wieck 1.20 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
230 : wieck 1.1
231 :    
232 :     # Name of the host.
233 :     # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 :     # so uname gets run too.
235 :     ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
236 :    
237 :     exec 6>&1
238 :    
239 :     #
240 :     # Initializations.
241 :     #
242 :     ac_default_prefix=/usr/local
243 :     cross_compiling=no
244 :     subdirs=
245 :     MFLAGS=
246 :     MAKEFLAGS=
247 :     SHELL=${CONFIG_SHELL-/bin/sh}
248 :    
249 :     # Maximum number of lines to put in a shell here document.
250 :     # This variable seems obsolete. It should probably be removed, and
251 :     # only ac_max_sed_lines should be used.
252 :     : ${ac_max_here_lines=38}
253 :    
254 :     # Identity of this package.
255 : wieck 1.12 PACKAGE_NAME='slony1-engine'
256 :     PACKAGE_TARNAME='slony1-engine'
257 : wieck 1.20 PACKAGE_VERSION='1.0RC1'
258 :     PACKAGE_STRING='slony1-engine 1.0RC1'
259 : wieck 1.12 PACKAGE_BUGREPORT=''
260 : wieck 1.1
261 :     ac_unique_file="src"
262 :    
263 :     # Initialize some variables set by options.
264 :     ac_init_help=
265 :     ac_init_version=false
266 :     # The variables have the same names as the options, with
267 :     # dashes changed to underlines.
268 :     cache_file=/dev/null
269 :     exec_prefix=NONE
270 :     no_create=
271 :     no_recursion=
272 :     prefix=NONE
273 :     program_prefix=NONE
274 :     program_suffix=NONE
275 :     program_transform_name=s,x,x,
276 :     silent=
277 :     site=
278 :     srcdir=
279 :     verbose=
280 :     x_includes=NONE
281 :     x_libraries=NONE
282 :    
283 :     # Installation directory options.
284 :     # These are left unexpanded so users can "make install exec_prefix=/foo"
285 :     # and all the variables that are supposed to be based on exec_prefix
286 :     # by default will actually change.
287 :     # Use braces instead of parens because sh, perl, etc. also accept them.
288 :     bindir='${exec_prefix}/bin'
289 :     sbindir='${exec_prefix}/sbin'
290 :     libexecdir='${exec_prefix}/libexec'
291 :     datadir='${prefix}/share'
292 :     sysconfdir='${prefix}/etc'
293 :     sharedstatedir='${prefix}/com'
294 :     localstatedir='${prefix}/var'
295 :     libdir='${exec_prefix}/lib'
296 :     includedir='${prefix}/include'
297 :     oldincludedir='/usr/include'
298 :     infodir='${prefix}/info'
299 :     mandir='${prefix}/man'
300 :    
301 :     ac_prev=
302 :     for ac_option
303 :     do
304 :     # If the previous option needs an argument, assign it.
305 :     if test -n "$ac_prev"; then
306 :     eval "$ac_prev=\$ac_option"
307 :     ac_prev=
308 :     continue
309 :     fi
310 :    
311 :     ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
312 :    
313 :     # Accept the important Cygnus configure options, so we can diagnose typos.
314 :    
315 :     case $ac_option in
316 :    
317 :     -bindir | --bindir | --bindi | --bind | --bin | --bi)
318 :     ac_prev=bindir ;;
319 :     -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
320 :     bindir=$ac_optarg ;;
321 :    
322 :     -build | --build | --buil | --bui | --bu)
323 :     ac_prev=build_alias ;;
324 :     -build=* | --build=* | --buil=* | --bui=* | --bu=*)
325 :     build_alias=$ac_optarg ;;
326 :    
327 :     -cache-file | --cache-file | --cache-fil | --cache-fi \
328 :     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
329 :     ac_prev=cache_file ;;
330 :     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
331 :     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
332 :     cache_file=$ac_optarg ;;
333 :    
334 :     --config-cache | -C)
335 :     cache_file=config.cache ;;
336 :    
337 :     -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
338 :     ac_prev=datadir ;;
339 :     -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
340 :     | --da=*)
341 :     datadir=$ac_optarg ;;
342 :    
343 :     -disable-* | --disable-*)
344 :     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
345 :     # Reject names that are not valid shell variable names.
346 :     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
347 :     { echo "$as_me: error: invalid feature name: $ac_feature" >&2
348 :     { (exit 1); exit 1; }; }
349 :     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
350 :     eval "enable_$ac_feature=no" ;;
351 :    
352 :     -enable-* | --enable-*)
353 :     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
354 :     # Reject names that are not valid shell variable names.
355 :     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
356 :     { echo "$as_me: error: invalid feature name: $ac_feature" >&2
357 :     { (exit 1); exit 1; }; }
358 :     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
359 :     case $ac_option in
360 :     *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
361 :     *) ac_optarg=yes ;;
362 :     esac
363 :     eval "enable_$ac_feature='$ac_optarg'" ;;
364 :    
365 :     -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
366 :     | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
367 :     | --exec | --exe | --ex)
368 :     ac_prev=exec_prefix ;;
369 :     -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
370 :     | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
371 :     | --exec=* | --exe=* | --ex=*)
372 :     exec_prefix=$ac_optarg ;;
373 :    
374 :     -gas | --gas | --ga | --g)
375 :     # Obsolete; use --with-gas.
376 :     with_gas=yes ;;
377 :    
378 :     -help | --help | --hel | --he | -h)
379 :     ac_init_help=long ;;
380 :     -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
381 :     ac_init_help=recursive ;;
382 :     -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
383 :     ac_init_help=short ;;
384 :    
385 :     -host | --host | --hos | --ho)
386 :     ac_prev=host_alias ;;
387 :     -host=* | --host=* | --hos=* | --ho=*)
388 :     host_alias=$ac_optarg ;;
389 :    
390 :     -includedir | --includedir | --includedi | --included | --include \
391 :     | --includ | --inclu | --incl | --inc)
392 :     ac_prev=includedir ;;
393 :     -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
394 :     | --includ=* | --inclu=* | --incl=* | --inc=*)
395 :     includedir=$ac_optarg ;;
396 :    
397 :     -infodir | --infodir | --infodi | --infod | --info | --inf)
398 :     ac_prev=infodir ;;
399 :     -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
400 :     infodir=$ac_optarg ;;
401 :    
402 :     -libdir | --libdir | --libdi | --libd)
403 :     ac_prev=libdir ;;
404 :     -libdir=* | --libdir=* | --libdi=* | --libd=*)
405 :     libdir=$ac_optarg ;;
406 :    
407 :     -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
408 :     | --libexe | --libex | --libe)
409 :     ac_prev=libexecdir ;;
410 :     -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
411 :     | --libexe=* | --libex=* | --libe=*)
412 :     libexecdir=$ac_optarg ;;
413 :    
414 :     -localstatedir | --localstatedir | --localstatedi | --localstated \
415 :     | --localstate | --localstat | --localsta | --localst \
416 :     | --locals | --local | --loca | --loc | --lo)
417 :     ac_prev=localstatedir ;;
418 :     -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
419 :     | --localstate=* | --localstat=* | --localsta=* | --localst=* \
420 :     | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
421 :     localstatedir=$ac_optarg ;;
422 :    
423 :     -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
424 :     ac_prev=mandir ;;
425 :     -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
426 :     mandir=$ac_optarg ;;
427 :    
428 :     -nfp | --nfp | --nf)
429 :     # Obsolete; use --without-fp.
430 :     with_fp=no ;;
431 :    
432 :     -no-create | --no-create | --no-creat | --no-crea | --no-cre \
433 :     | --no-cr | --no-c | -n)
434 :     no_create=yes ;;
435 :    
436 :     -no-recursion | --no-recursion | --no-recursio | --no-recursi \
437 :     | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
438 :     no_recursion=yes ;;
439 :    
440 :     -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
441 :     | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
442 :     | --oldin | --oldi | --old | --ol | --o)
443 :     ac_prev=oldincludedir ;;
444 :     -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
445 :     | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
446 :     | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
447 :     oldincludedir=$ac_optarg ;;
448 :    
449 :     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
450 :     ac_prev=prefix ;;
451 :     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
452 :     prefix=$ac_optarg ;;
453 :    
454 :     -program-prefix | --program-prefix | --program-prefi | --program-pref \
455 :     | --program-pre | --program-pr | --program-p)
456 :     ac_prev=program_prefix ;;
457 :     -program-prefix=* | --program-prefix=* | --program-prefi=* \
458 :     | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
459 :     program_prefix=$ac_optarg ;;
460 :    
461 :     -program-suffix | --program-suffix | --program-suffi | --program-suff \
462 :     | --program-suf | --program-su | --program-s)
463 :     ac_prev=program_suffix ;;
464 :     -program-suffix=* | --program-suffix=* | --program-suffi=* \
465 :     | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
466 :     program_suffix=$ac_optarg ;;
467 :    
468 :     -program-transform-name | --program-transform-name \
469 :     | --program-transform-nam | --program-transform-na \
470 :     | --program-transform-n | --program-transform- \
471 :     | --program-transform | --program-transfor \
472 :     | --program-transfo | --program-transf \
473 :     | --program-trans | --program-tran \
474 :     | --progr-tra | --program-tr | --program-t)
475 :     ac_prev=program_transform_name ;;
476 :     -program-transform-name=* | --program-transform-name=* \
477 :     | --program-transform-nam=* | --program-transform-na=* \
478 :     | --program-transform-n=* | --program-transform-=* \
479 :     | --program-transform=* | --program-transfor=* \
480 :     | --program-transfo=* | --program-transf=* \
481 :     | --program-trans=* | --program-tran=* \
482 :     | --progr-tra=* | --program-tr=* | --program-t=*)
483 :     program_transform_name=$ac_optarg ;;
484 :    
485 :     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
486 :     | -silent | --silent | --silen | --sile | --sil)
487 :     silent=yes ;;
488 :    
489 :     -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
490 :     ac_prev=sbindir ;;
491 :     -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
492 :     | --sbi=* | --sb=*)
493 :     sbindir=$ac_optarg ;;
494 :    
495 :     -sharedstatedir | --sharedstatedir | --sharedstatedi \
496 :     | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
497 :     | --sharedst | --shareds | --shared | --share | --shar \
498 :     | --sha | --sh)
499 :     ac_prev=sharedstatedir ;;
500 :     -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
501 :     | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
502 :     | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
503 :     | --sha=* | --sh=*)
504 :     sharedstatedir=$ac_optarg ;;
505 :    
506 :     -site | --site | --sit)
507 :     ac_prev=site ;;
508 :     -site=* | --site=* | --sit=*)
509 :     site=$ac_optarg ;;
510 :    
511 :     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
512 :     ac_prev=srcdir ;;
513 :     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
514 :     srcdir=$ac_optarg ;;
515 :    
516 :     -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
517 :     | --syscon | --sysco | --sysc | --sys | --sy)
518 :     ac_prev=sysconfdir ;;
519 :     -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
520 :     | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
521 :     sysconfdir=$ac_optarg ;;
522 :    
523 :     -target | --target | --targe | --targ | --tar | --ta | --t)
524 :     ac_prev=target_alias ;;
525 :     -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
526 :     target_alias=$ac_optarg ;;
527 :    
528 :     -v | -verbose | --verbose | --verbos | --verbo | --verb)
529 :     verbose=yes ;;
530 :    
531 :     -version | --version | --versio | --versi | --vers | -V)
532 :     ac_init_version=: ;;
533 :    
534 :     -with-* | --with-*)
535 :     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
536 :     # Reject names that are not valid shell variable names.
537 :     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
538 :     { echo "$as_me: error: invalid package name: $ac_package" >&2
539 :     { (exit 1); exit 1; }; }
540 :     ac_package=`echo $ac_package| sed 's/-/_/g'`
541 :     case $ac_option in
542 :     *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
543 :     *) ac_optarg=yes ;;
544 :     esac
545 :     eval "with_$ac_package='$ac_optarg'" ;;
546 :    
547 :     -without-* | --without-*)
548 :     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
549 :     # Reject names that are not valid shell variable names.
550 :     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
551 :     { echo "$as_me: error: invalid package name: $ac_package" >&2
552 :     { (exit 1); exit 1; }; }
553 :     ac_package=`echo $ac_package | sed 's/-/_/g'`
554 :     eval "with_$ac_package=no" ;;
555 :    
556 :     --x)
557 :     # Obsolete; use --with-x.
558 :     with_x=yes ;;
559 :    
560 :     -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
561 :     | --x-incl | --x-inc | --x-in | --x-i)
562 :     ac_prev=x_includes ;;
563 :     -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
564 :     | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
565 :     x_includes=$ac_optarg ;;
566 :    
567 :     -x-libraries | --x-libraries | --x-librarie | --x-librari \
568 :     | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
569 :     ac_prev=x_libraries ;;
570 :     -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
571 :     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
572 :     x_libraries=$ac_optarg ;;
573 :    
574 :     -*) { echo "$as_me: error: unrecognized option: $ac_option
575 :     Try \`$0 --help' for more information." >&2
576 :     { (exit 1); exit 1; }; }
577 :     ;;
578 :    
579 :     *=*)
580 :     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
581 :     # Reject names that are not valid shell variable names.
582 :     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
583 :     { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
584 :     { (exit 1); exit 1; }; }
585 :     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
586 :     eval "$ac_envvar='$ac_optarg'"
587 :     export $ac_envvar ;;
588 :    
589 :     *)
590 :     # FIXME: should be removed in autoconf 3.0.
591 :     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
592 :     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
593 :     echo "$as_me: WARNING: invalid host type: $ac_option" >&2
594 :     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
595 :     ;;
596 :    
597 :     esac
598 :     done
599 :    
600 :     if test -n "$ac_prev"; then
601 :     ac_option=--`echo $ac_prev | sed 's/_/-/g'`
602 :     { echo "$as_me: error: missing argument to $ac_option" >&2
603 :     { (exit 1); exit 1; }; }
604 :     fi
605 :    
606 :     # Be sure to have absolute paths.
607 :     for ac_var in exec_prefix prefix
608 :     do
609 :     eval ac_val=$`echo $ac_var`
610 :     case $ac_val in
611 :     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
612 :     *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
613 :     { (exit 1); exit 1; }; };;
614 :     esac
615 :     done
616 :    
617 :     # Be sure to have absolute paths.
618 :     for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
619 :     localstatedir libdir includedir oldincludedir infodir mandir
620 :     do
621 :     eval ac_val=$`echo $ac_var`
622 :     case $ac_val in
623 :     [\\/$]* | ?:[\\/]* ) ;;
624 :     *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
625 :     { (exit 1); exit 1; }; };;
626 :     esac
627 :     done
628 :    
629 :     # There might be people who depend on the old broken behavior: `$host'
630 :     # used to hold the argument of --host etc.
631 :     # FIXME: To remove some day.
632 :     build=$build_alias
633 :     host=$host_alias
634 :     target=$target_alias
635 :    
636 :     # FIXME: To remove some day.
637 :     if test "x$host_alias" != x; then
638 :     if test "x$build_alias" = x; then
639 :     cross_compiling=maybe
640 :     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
641 :     If a cross compiler is detected then cross compile mode will be used." >&2
642 :     elif test "x$build_alias" != "x$host_alias"; then
643 :     cross_compiling=yes
644 :     fi
645 :     fi
646 :    
647 :     ac_tool_prefix=
648 :     test -n "$host_alias" && ac_tool_prefix=$host_alias-
649 :    
650 :     test "$silent" = yes && exec 6>/dev/null
651 :    
652 :    
653 :     # Find the source files, if location was not specified.
654 :     if test -z "$srcdir"; then
655 :     ac_srcdir_defaulted=yes
656 :     # Try the directory containing this script, then its parent.
657 :     ac_confdir=`(dirname "$0") 2>/dev/null ||
658 :     $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
659 :     X"$0" : 'X\(//\)[^/]' \| \
660 :     X"$0" : 'X\(//\)$' \| \
661 :     X"$0" : 'X\(/\)' \| \
662 :     . : '\(.\)' 2>/dev/null ||
663 :     echo X"$0" |
664 :     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
665 :     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
666 :     /^X\(\/\/\)$/{ s//\1/; q; }
667 :     /^X\(\/\).*/{ s//\1/; q; }
668 :     s/.*/./; q'`
669 :     srcdir=$ac_confdir
670 :     if test ! -r $srcdir/$ac_unique_file; then
671 :     srcdir=..
672 :     fi
673 :     else
674 :     ac_srcdir_defaulted=no
675 :     fi
676 :     if test ! -r $srcdir/$ac_unique_file; then
677 :     if test "$ac_srcdir_defaulted" = yes; then
678 :     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
679 :     { (exit 1); exit 1; }; }
680 :     else
681 :     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
682 :     { (exit 1); exit 1; }; }
683 :     fi
684 :     fi
685 :     srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
686 :     ac_env_build_alias_set=${build_alias+set}
687 :     ac_env_build_alias_value=$build_alias
688 :     ac_cv_env_build_alias_set=${build_alias+set}
689 :     ac_cv_env_build_alias_value=$build_alias
690 :     ac_env_host_alias_set=${host_alias+set}
691 :     ac_env_host_alias_value=$host_alias
692 :     ac_cv_env_host_alias_set=${host_alias+set}
693 :     ac_cv_env_host_alias_value=$host_alias
694 :     ac_env_target_alias_set=${target_alias+set}
695 :     ac_env_target_alias_value=$target_alias
696 :     ac_cv_env_target_alias_set=${target_alias+set}
697 :     ac_cv_env_target_alias_value=$target_alias
698 :     ac_env_CC_set=${CC+set}
699 :     ac_env_CC_value=$CC
700 :     ac_cv_env_CC_set=${CC+set}
701 :     ac_cv_env_CC_value=$CC
702 :     ac_env_CFLAGS_set=${CFLAGS+set}
703 :     ac_env_CFLAGS_value=$CFLAGS
704 :     ac_cv_env_CFLAGS_set=${CFLAGS+set}
705 :     ac_cv_env_CFLAGS_value=$CFLAGS
706 :     ac_env_LDFLAGS_set=${LDFLAGS+set}
707 :     ac_env_LDFLAGS_value=$LDFLAGS
708 :     ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
709 :     ac_cv_env_LDFLAGS_value=$LDFLAGS
710 :     ac_env_CPPFLAGS_set=${CPPFLAGS+set}
711 :     ac_env_CPPFLAGS_value=$CPPFLAGS
712 :     ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
713 :     ac_cv_env_CPPFLAGS_value=$CPPFLAGS
714 :    
715 :     #
716 :     # Report the --help message.
717 :     #
718 :     if test "$ac_init_help" = "long"; then
719 :     # Omit some internal or obsolete options to make the list less imposing.
720 :     # This message is too long to be a string in the A/UX 3.1 sh.
721 :     cat <<_ACEOF
722 : wieck 1.20 \`configure' configures slony1-engine 1.0RC1 to adapt to many kinds of systems.
723 : wieck 1.1
724 :     Usage: $0 [OPTION]... [VAR=VALUE]...
725 :    
726 :     To assign environment variables (e.g., CC, CFLAGS...), specify them as
727 :     VAR=VALUE. See below for descriptions of some of the useful variables.
728 :    
729 :     Defaults for the options are specified in brackets.
730 :    
731 :     Configuration:
732 :     -h, --help display this help and exit
733 :     --help=short display options specific to this package
734 :     --help=recursive display the short help of all the included packages
735 :     -V, --version display version information and exit
736 :     -q, --quiet, --silent do not print \`checking...' messages
737 :     --cache-file=FILE cache test results in FILE [disabled]
738 :     -C, --config-cache alias for \`--cache-file=config.cache'
739 :     -n, --no-create do not create output files
740 :     --srcdir=DIR find the sources in DIR [configure dir or \`..']
741 :    
742 :     _ACEOF
743 :    
744 :     cat <<_ACEOF
745 :     Installation directories:
746 :     --prefix=PREFIX install architecture-independent files in PREFIX
747 :     [$ac_default_prefix]
748 :     --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
749 :     [PREFIX]
750 :    
751 :     By default, \`make install' will install all the files in
752 :     \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
753 :     an installation prefix other than \`$ac_default_prefix' using \`--prefix',
754 :     for instance \`--prefix=\$HOME'.
755 :    
756 :     For better control, use the options below.
757 :    
758 :     Fine tuning of the installation directories:
759 :     --bindir=DIR user executables [EPREFIX/bin]
760 :     --sbindir=DIR system admin executables [EPREFIX/sbin]
761 :     --libexecdir=DIR program executables [EPREFIX/libexec]
762 :     --datadir=DIR read-only architecture-independent data [PREFIX/share]
763 :     --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
764 :     --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
765 :     --localstatedir=DIR modifiable single-machine data [PREFIX/var]
766 :     --libdir=DIR object code libraries [EPREFIX/lib]
767 :     --includedir=DIR C header files [PREFIX/include]
768 :     --oldincludedir=DIR C header files for non-gcc [/usr/include]
769 :     --infodir=DIR info documentation [PREFIX/info]
770 :     --mandir=DIR man documentation [PREFIX/man]
771 :     _ACEOF
772 :    
773 :     cat <<\_ACEOF
774 :    
775 :     System types:
776 :     --build=BUILD configure for building on BUILD [guessed]
777 :     --host=HOST cross-compile to build programs to run on HOST [BUILD]
778 :     _ACEOF
779 :     fi
780 :    
781 :     if test -n "$ac_init_help"; then
782 :     case $ac_init_help in
783 : wieck 1.20 short | recursive ) echo "Configuration of slony1-engine 1.0RC1:";;
784 : wieck 1.1 esac
785 :     cat <<\_ACEOF
786 :    
787 :     Optional Packages:
788 :     --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
789 :     --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
790 :     --with-gnu-ld assume the C compiler uses GNU ld default=no
791 : wieck 1.14 --with-pgsourcetree=<dir> Location of PostgreSQL source tree
792 : wieck 1.1
793 :     Some influential environment variables:
794 :     CC C compiler command
795 :     CFLAGS C compiler flags
796 :     LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
797 :     nonstandard directory <lib dir>
798 :     CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
799 :     headers in a nonstandard directory <include dir>
800 :    
801 :     Use these variables to override the choices made by `configure' or to help
802 :     it to find libraries and programs with nonstandard names/locations.
803 :    
804 :     _ACEOF
805 :     fi
806 :    
807 :     if test "$ac_init_help" = "recursive"; then
808 :     # If there are subdirs, report their specific --help.
809 :     ac_popdir=`pwd`
810 :     for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
811 :     test -d $ac_dir || continue
812 :     ac_builddir=.
813 :    
814 :     if test "$ac_dir" != .; then
815 :     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
816 :     # A "../" for each directory in $ac_dir_suffix.
817 :     ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
818 :     else
819 :     ac_dir_suffix= ac_top_builddir=
820 :     fi
821 :    
822 :     case $srcdir in
823 :     .) # No --srcdir option. We are building in place.
824 :     ac_srcdir=.
825 :     if test -z "$ac_top_builddir"; then
826 :     ac_top_srcdir=.
827 :     else
828 :     ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
829 :     fi ;;
830 :     [\\/]* | ?:[\\/]* ) # Absolute path.
831 :     ac_srcdir=$srcdir$ac_dir_suffix;
832 :     ac_top_srcdir=$srcdir ;;
833 :     *) # Relative path.
834 :     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
835 :     ac_top_srcdir=$ac_top_builddir$srcdir ;;
836 :     esac
837 :     # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
838 :     # absolute.
839 :     ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
840 :     ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
841 :     ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
842 :     ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
843 :    
844 :     cd $ac_dir
845 :     # Check for guested configure; otherwise get Cygnus style configure.
846 :     if test -f $ac_srcdir/configure.gnu; then
847 :     echo
848 :     $SHELL $ac_srcdir/configure.gnu --help=recursive
849 :     elif test -f $ac_srcdir/configure; then
850 :     echo
851 :     $SHELL $ac_srcdir/configure --help=recursive
852 :     elif test -f $ac_srcdir/configure.ac ||
853 :     test -f $ac_srcdir/configure.in; then
854 :     echo
855 :     $ac_configure --help
856 :     else
857 :     echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
858 :     fi
859 :     cd $ac_popdir
860 :     done
861 :     fi
862 :    
863 :     test -n "$ac_init_help" && exit 0
864 :     if $ac_init_version; then
865 :     cat <<\_ACEOF
866 : wieck 1.20 slony1-engine configure 1.0RC1
867 :     generated by GNU Autoconf 2.53
868 : wieck 1.1
869 :     Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
870 :     Free Software Foundation, Inc.
871 :     This configure script is free software; the Free Software Foundation
872 :     gives unlimited permission to copy, distribute and modify it.
873 :     _ACEOF
874 :     exit 0
875 :     fi
876 :     exec 5>config.log
877 :     cat >&5 <<_ACEOF
878 :     This file contains any messages produced by compilers while
879 :     running configure, to aid debugging if configure makes a mistake.
880 :    
881 : wieck 1.20 It was created by slony1-engine $as_me 1.0RC1, which was
882 :     generated by GNU Autoconf 2.53. Invocation command line was
883 : wieck 1.1
884 :     $ $0 $@
885 :    
886 :     _ACEOF
887 :     {
888 :     cat <<_ASUNAME
889 :     ## --------- ##
890 :     ## Platform. ##
891 :     ## --------- ##
892 :    
893 :     hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
894 :     uname -m = `(uname -m) 2>/dev/null || echo unknown`
895 :     uname -r = `(uname -r) 2>/dev/null || echo unknown`
896 :     uname -s = `(uname -s) 2>/dev/null || echo unknown`
897 :     uname -v = `(uname -v) 2>/dev/null || echo unknown`
898 :    
899 :     /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
900 :     /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
901 :    
902 :     /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
903 :     /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
904 :     /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
905 :     hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
906 :     /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
907 :     /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
908 :     /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
909 :    
910 :     _ASUNAME
911 :    
912 :     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
913 :     for as_dir in $PATH
914 :     do
915 :     IFS=$as_save_IFS
916 :     test -z "$as_dir" && as_dir=.
917 :     echo "PATH: $as_dir"
918 :     done
919 :    
920 :     } >&5
921 :    
922 :     cat >&5 <<_ACEOF
923 :    
924 :    
925 :     ## ----------- ##
926 :     ## Core tests. ##
927 :     ## ----------- ##
928 :    
929 :     _ACEOF
930 :    
931 :    
932 :     # Keep a trace of the command line.
933 :     # Strip out --no-create and --no-recursion so they do not pile up.
934 :     # Also quote any args containing shell meta-characters.
935 :     ac_configure_args=
936 :     ac_sep=
937 : wieck 1.20 for ac_arg
938 : wieck 1.1 do
939 : wieck 1.20 case $ac_arg in
940 :     -no-create | --no-create | --no-creat | --no-crea | --no-cre \
941 :     | --no-cr | --no-c | -n ) continue ;;
942 :     -no-recursion | --no-recursion | --no-recursio | --no-recursi \
943 :     | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
944 :     continue ;;
945 :     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
946 :     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
947 :     esac
948 :     case " $ac_configure_args " in
949 :     *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
950 :     *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
951 :     ac_sep=" " ;;
952 :     esac
953 :     # Get rid of the leading space.
954 : wieck 1.1 done
955 :    
956 :     # When interrupted or exit'd, cleanup temporary files, and complete
957 :     # config.log. We remove comments because anyway the quotes in there
958 :     # would cause problems or look ugly.
959 :     # WARNING: Be sure not to use single quotes in there, as some shells,
960 :     # such as our DU 5.0 friend, will then `close' the trap.
961 :     trap 'exit_status=$?
962 :     # Save into config.log some information that might help in debugging.
963 :     {
964 :     echo
965 :     cat <<\_ASBOX
966 :     ## ---------------- ##
967 :     ## Cache variables. ##
968 :     ## ---------------- ##
969 :     _ASBOX
970 :     echo
971 :     # The following way of writing the cache mishandles newlines in values,
972 :     {
973 :     (set) 2>&1 |
974 :     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
975 :     *ac_space=\ *)
976 :     sed -n \
977 :     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
978 :     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
979 :     ;;
980 :     *)
981 :     sed -n \
982 :     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
983 :     ;;
984 :     esac;
985 :     }
986 :     echo
987 :     if test -s confdefs.h; then
988 :     cat <<\_ASBOX
989 :     ## ----------- ##
990 :     ## confdefs.h. ##
991 :     ## ----------- ##
992 :     _ASBOX
993 :     echo
994 : wieck 1.20 sed "/^$/d" confdefs.h
995 : wieck 1.1 echo
996 :     fi
997 :     test "$ac_signal" != 0 &&
998 :     echo "$as_me: caught signal $ac_signal"
999 :     echo "$as_me: exit $exit_status"
1000 :     } >&5
1001 :     rm -f core core.* *.core &&
1002 :     rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1003 :     exit $exit_status
1004 :     ' 0
1005 :     for ac_signal in 1 2 13 15; do
1006 :     trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1007 :     done
1008 :     ac_signal=0
1009 :    
1010 :     # confdefs.h avoids OS command line length limits that DEFS can exceed.
1011 :     rm -rf conftest* confdefs.h
1012 :     # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1013 :     echo >confdefs.h
1014 :    
1015 :     # Predefined preprocessor variables.
1016 :    
1017 :     cat >>confdefs.h <<_ACEOF
1018 :     #define PACKAGE_NAME "$PACKAGE_NAME"
1019 :     _ACEOF
1020 :    
1021 :    
1022 :     cat >>confdefs.h <<_ACEOF
1023 :     #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1024 :     _ACEOF
1025 :    
1026 :    
1027 :     cat >>confdefs.h <<_ACEOF
1028 :     #define PACKAGE_VERSION "$PACKAGE_VERSION"
1029 :     _ACEOF
1030 :    
1031 :    
1032 :     cat >>confdefs.h <<_ACEOF
1033 :     #define PACKAGE_STRING "$PACKAGE_STRING"
1034 :     _ACEOF
1035 :    
1036 :    
1037 :     cat >>confdefs.h <<_ACEOF
1038 :     #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1039 :     _ACEOF
1040 :    
1041 :    
1042 :     # Let the site file select an alternate cache file if it wants to.
1043 :     # Prefer explicitly selected file to automatically selected ones.
1044 :     if test -z "$CONFIG_SITE"; then
1045 :     if test "x$prefix" != xNONE; then
1046 :     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1047 :     else
1048 :     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1049 :     fi
1050 :     fi
1051 :     for ac_site_file in $CONFIG_SITE; do
1052 :     if test -r "$ac_site_file"; then
1053 :     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1054 :     echo "$as_me: loading site script $ac_site_file" >&6;}
1055 :     sed 's/^/| /' "$ac_site_file" >&5
1056 :     . "$ac_site_file"
1057 :     fi
1058 :     done
1059 :    
1060 :     if test -r "$cache_file"; then
1061 :     # Some versions of bash will fail to source /dev/null (special
1062 :     # files actually), so we avoid doing that.
1063 :     if test -f "$cache_file"; then
1064 :     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1065 :     echo "$as_me: loading cache $cache_file" >&6;}
1066 :     case $cache_file in
1067 :     [\\/]* | ?:[\\/]* ) . $cache_file;;
1068 :     *) . ./$cache_file;;
1069 :     esac
1070 :     fi
1071 :     else
1072 :     { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1073 :     echo "$as_me: creating cache $cache_file" >&6;}
1074 :     >$cache_file
1075 :     fi
1076 :    
1077 :     # Check that the precious variables saved in the cache have kept the same
1078 :     # value.
1079 :     ac_cache_corrupted=false
1080 :     for ac_var in `(set) 2>&1 |
1081 :     sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1082 :     eval ac_old_set=\$ac_cv_env_${ac_var}_set
1083 :     eval ac_new_set=\$ac_env_${ac_var}_set
1084 :     eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1085 :     eval ac_new_val="\$ac_env_${ac_var}_value"
1086 :     case $ac_old_set,$ac_new_set in
1087 :     set,)
1088 :     { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1089 :     echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1090 :     ac_cache_corrupted=: ;;
1091 :     ,set)
1092 :     { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1093 :     echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1094 :     ac_cache_corrupted=: ;;
1095 :     ,);;
1096 :     *)
1097 :     if test "x$ac_old_val" != "x$ac_new_val"; then
1098 :     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1099 :     echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1100 :     { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1101 :     echo "$as_me: former value: $ac_old_val" >&2;}
1102 :     { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1103 :     echo "$as_me: current value: $ac_new_val" >&2;}
1104 :     ac_cache_corrupted=:
1105 :     fi;;
1106 :     esac
1107 :     # Pass precious variables to config.status.
1108 :     if test "$ac_new_set" = set; then
1109 :     case $ac_new_val in
1110 :     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1111 :     ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1112 :     *) ac_arg=$ac_var=$ac_new_val ;;
1113 :     esac
1114 :     case " $ac_configure_args " in
1115 :     *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1116 :     *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1117 :     esac
1118 :     fi
1119 :     done
1120 :     if $ac_cache_corrupted; then
1121 :     { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1122 :     echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1123 :     { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1124 :     echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1125 :     { (exit 1); exit 1; }; }
1126 :     fi
1127 :    
1128 :     ac_ext=c
1129 :     ac_cpp='$CPP $CPPFLAGS'
1130 :     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1131 :     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1132 :     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1133 :    
1134 :    
1135 :    
1136 :    
1137 :    
1138 :    
1139 :    
1140 :    
1141 :    
1142 :    
1143 :    
1144 :    
1145 :    
1146 :    
1147 :    
1148 :    
1149 :    
1150 :    
1151 :    
1152 :    
1153 :    
1154 :    
1155 :    
1156 :    
1157 :    
1158 :    
1159 : wieck 1.20 ac_config_headers="$ac_config_headers config.h"
1160 : wieck 1.5
1161 : wieck 1.1 ac_aux_dir=
1162 :     for ac_dir in config $srcdir/config; do
1163 :     if test -f $ac_dir/install-sh; then
1164 :     ac_aux_dir=$ac_dir
1165 :     ac_install_sh="$ac_aux_dir/install-sh -c"
1166 :     break
1167 :     elif test -f $ac_dir/install.sh; then
1168 :     ac_aux_dir=$ac_dir
1169 :     ac_install_sh="$ac_aux_dir/install.sh -c"
1170 :     break
1171 :     elif test -f $ac_dir/shtool; then
1172 :     ac_aux_dir=$ac_dir
1173 :     ac_install_sh="$ac_aux_dir/shtool install -c"
1174 :     break
1175 :     fi
1176 :     done
1177 :     if test -z "$ac_aux_dir"; then
1178 :     { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1179 :     echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1180 :     { (exit 1); exit 1; }; }
1181 :     fi
1182 :     ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1183 :     ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1184 :     ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1185 :    
1186 :    
1187 :    
1188 :     # Make sure we can run config.sub.
1189 :     $ac_config_sub sun4 >/dev/null 2>&1 ||
1190 :     { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1191 :     echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1192 :     { (exit 1); exit 1; }; }
1193 :    
1194 :     echo "$as_me:$LINENO: checking build system type" >&5
1195 :     echo $ECHO_N "checking build system type... $ECHO_C" >&6
1196 :     if test "${ac_cv_build+set}" = set; then
1197 :     echo $ECHO_N "(cached) $ECHO_C" >&6
1198 :     else
1199 :     ac_cv_build_alias=$build_alias
1200 :     test -z "$ac_cv_build_alias" &&
1201 :     ac_cv_build_alias=`$ac_config_guess`
1202 :     test -z "$ac_cv_build_alias" &&
1203 :     { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1204 :     echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1205 :     { (exit 1); exit 1; }; }
1206 :     ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1207 :     { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1208 :     echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1209 :     { (exit 1); exit 1; }; }
1210 :    
1211 :     fi
1212 :     echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1213 :     echo "${ECHO_T}$ac_cv_build" >&6
1214 :     build=$ac_cv_build
1215 :     build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1216 :     build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1217 :     build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1218 :    
1219 : wieck 1.20 test -z "$build_alias" &&
1220 :     build_alias=$ac_cv_build
1221 : wieck 1.1
1222 :     echo "$as_me:$LINENO: checking host system type" >&5
1223 :     echo $ECHO_N "checking host system type... $ECHO_C" >&6
1224 :     if test "${ac_cv_host+set}" = set; then
1225 :     echo $ECHO_N "(cached) $ECHO_C" >&6
1226 :     else
1227 :     ac_cv_host_alias=$host_alias
1228 :     test -z "$ac_cv_host_alias" &&
1229 :     ac_cv_host_alias=$ac_cv_build_alias
1230 :     ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1231 :     { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1232 :     echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1233 :     { (exit 1); exit 1; }; }
1234 :    
1235 :     fi
1236 :     echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1237 :     echo "${ECHO_T}$ac_cv_host" >&6
1238 :     host=$ac_cv_host
1239 :     host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1240 :     host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1241 :     host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1242 :    
1243 : wieck 1.20 test -z "$host_alias" &&
1244 :     host_alias=$ac_cv_host
1245 : wieck 1.1
1246 :    
1247 :     template=
1248 :     echo "$as_me:$LINENO: checking which template to use" >&5
1249 :     echo $ECHO_N "checking which template to use... $ECHO_C" >&6
1250 :    
1251 :     case $host_os in
1252 :     aix*) template=aix ;;
1253 :     beos*) template=beos ;;
1254 :     bsdi*) template=bsdi ;;
1255 :     cygwin*) template=win ;;
1256 :     darwin*) template=darwin ;;
1257 :     dgux*) template=dgux ;;
1258 :     freebsd*) template=freebsd ;;
1259 :     hpux*) template=hpux ;;
1260 :     irix*) template=irix5 ;;
1261 :     linux*) template=linux ;;
1262 :     netbsd*) template=netbsd ;;
1263 :     nextstep*) template=nextstep ;;
1264 :     openbsd*) template=openbsd ;;
1265 :     osf*) template=osf ;;
1266 :     qnx*) template=qnx4 ;;
1267 :     sco*) template=sco ;;
1268 :     solaris*) template=solaris ;;
1269 :     sunos*) template=sunos4 ;;
1270 :     sysv4.2*)
1271 :     case $host_vendor in
1272 :     univel) template=univel ;;
1273 :     esac ;;
1274 :     sysv4*) template=svr4 ;;
1275 :     sysv5*) template=unixware ;;
1276 :     ultrix*) template=ultrix4 ;;
1277 :     esac
1278 :    
1279 :     echo "$as_me:$LINENO: result: $template" >&5
1280 :     echo "${ECHO_T}$template" >&6
1281 :    
1282 :     # Checks for programs.
1283 :     ac_ext=c
1284 :     ac_cpp='$CPP $CPPFLAGS'
1285 :     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1286 :     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1287 :     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1288 :     if test -n "$ac_tool_prefix"; then
1289 :     # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1290 :     set dummy ${ac_tool_prefix}gcc; ac_word=$2
1291 :     echo "$as_me:$LINENO: checking for $ac_word" >&5
1292 :     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1293 :     if test "${ac_cv_prog_CC+set}" = set; then
1294 :     echo $ECHO_N "(cached) $ECHO_C" >&6
1295 :     else
1296 :     if test -n "$CC"; then
1297 :     ac_cv_prog_CC="$CC" # Let the user override the test.
1298 :     else
1299 :     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1300 :     for as_dir in $PATH
1301 :     do
1302 :     IFS=$as_save_IFS
1303 :     test -z "$as_dir" && as_dir=.
1304 :     for ac_exec_ext in '' $ac_executable_extensions; do
1305 :     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1306 :     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1307 :     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1308 :     break 2
1309 :     fi
1310 :     done
1311 :     done
1312 :    
1313 :     fi
1314 :     fi
1315 :     CC=$ac_cv_prog_CC
1316 :     if test -n "$CC"; then
1317 :     echo "$as_me:$LINENO: result: $CC" >&5
1318 :     echo "${ECHO_T}$CC" >&6
1319 :     else
1320 :     echo "$as_me:$LINENO: result: no" >&5
1321 :     echo "${ECHO_T}no" >&6
1322 :     fi
1323 :    
1324 :     fi
1325 :     if test -z "$ac_cv_prog_CC"; then
1326 :     ac_ct_CC=$CC
1327 :     # Extract the first word of "gcc", so it can be a program name with args.
1328 :     set dummy gcc; ac_word=$2
1329 :     echo "$as_me:$LINENO: checking for $ac_word" >&5
1330 :     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1331 :     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1332 :     echo $ECHO_N "(cached) $ECHO_C" >&6
1333 :     else
1334 :     if test -n "$ac_ct_CC"; then
1335 :     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1336 :     else
1337 :     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1338 :     for as_dir in $PATH
1339 :     do
1340 :     IFS=$as_save_IFS
1341 :     test -z "$as_dir" && as_dir=.
1342 :     for ac_exec_ext in '' $ac_executable_extensions; do
1343 :     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1344 :     ac_cv_prog_ac_ct_CC="gcc"
1345 :     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1346 :     break 2
1347 :     fi
1348 :     done
1349 :     done
1350 :    
1351 :     fi
1352 :     fi
1353 :     ac_ct_CC=$ac_cv_prog_ac_ct_CC
1354 :     if test -n "$ac_ct_CC"; then
1355 :     echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1356 :     echo "${ECHO_T}$ac_ct_CC" >&6
1357 :     else
1358 :     echo "$as_me:$LINENO: result: no" >&5
1359 :     echo "${ECHO_T}no" >&6
1360 :     fi
1361 :    
1362 :     CC=$ac_ct_CC
1363 :     else
1364 :     CC="$ac_cv_prog_CC"
1365 :     fi
1366 :    
1367 :     if test -z "$CC"; then
1368 :     if test -n "$ac_tool_prefix"; then
1369 :     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1370 :     set dummy ${ac_tool_prefix}cc; ac_word=$2
1371 :     echo "$as_me:$LINENO: checking for $ac_word" >&5
1372 :     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1373 :     if test "${ac_cv_prog_CC+set}" = set; then
1374 :     echo $ECHO_N "(cached) $ECHO_C" >&6
1375 :     else
1376 :     if test -n "$CC"; then
1377 :     ac_cv_prog_CC="$CC" # Let the user override the test.
1378 :     else
1379 :     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1380 :     for as_dir in $PATH
1381 :     do
1382 :     IFS=$as_save_IFS
1383 :     test -z "$as_dir" && as_dir=.
1384 :     for ac_exec_ext in '' $ac_executable_extensions; do
1385 :     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1386 :     ac_cv_prog_CC="${ac_tool_prefix}cc"
1387 :     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1388 :     break 2
1389 :     fi
1390 :     done
1391 :     done
1392 :    
1393 :     fi
1394 :     fi
1395 :     CC=$ac_cv_prog_CC
1396 :     if test -n "$CC"; then
1397 :     echo "$as_me:$LINENO: result: $CC" >&5
1398 :     echo "${ECHO_T}$CC" >&6
1399 :     else
1400 :     echo "$as_me:$LINENO: result: no" >&5
1401 :     echo "${ECHO_T}no" >&6
1402 :     fi
1403 :    
1404 :     fi
1405 :     if test -z "$ac_cv_prog_CC"; then
1406 :     ac_ct_CC=$CC
1407 :     # Extract the first word of "cc", so it can be a program name with args.
1408 :     set dummy cc; ac_word=$2
1409 :     echo "$as_me:$LINENO: checking for $ac_word" >&5
1410 :     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1411 :     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1412 :     echo $ECHO_N "(cached) $ECHO_C" >&6
1413 :     else
1414 :     if test -n "$ac_ct_CC"; then
1415 :     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1416 :     else
1417 :     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1418 :     for as_dir in $PATH
1419 :     do
1420 :     IFS=$as_save_IFS
1421 :     test -z "$as_dir" && as_dir=.
1422 :     for ac_exec_ext in '' $ac_executable_extensions; do
1423 :     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1424 :     ac_cv_prog_ac_ct_CC="cc"
1425 :     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1426 :     break 2
1427 :     fi
1428 :     done
1429 :     done
1430 :    
1431 :     fi
1432 :     fi
1433 :     ac_ct_CC=$ac_cv_prog_ac_ct_CC
1434 :     if test -n "$ac_ct_CC"; then
1435 :     echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1436 :     echo "${ECHO_T}$ac_ct_CC" >&6
1437 :     else
1438 :     echo "$as_me:$LINENO: result: no" >&5
1439 :     echo "${ECHO_T}no" >&6
1440 :     fi
1441 :    
1442 :     CC=$ac_ct_CC
1443 :     else
1444 :     CC="$ac_cv_prog_CC"
1445 :     fi
1446 :    
1447 :     fi
1448 :     if test -z "$CC"; then
1449 :     # Extract the first word of "cc", so it can be a program name with args.
1450 :     set dummy cc; ac_word=$2
1451 :     echo "$as_me:$LINENO: checking for $ac_word" >&5
1452 :     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1453 :     if test "${ac_cv_prog_CC+set}" = set; then
1454 :     echo $ECHO_N "(cached) $ECHO_C" >&6
1455 :     else
1456 :     if test -n "$CC"; then
1457 :     ac_cv_prog_CC="$CC" # Let the user override the test.
1458 :     else
1459 :     ac_prog_rejected=no
1460 :     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1461 :     for as_dir in $PATH
1462 :     do
1463 :     IFS=$as_save_IFS
1464 :     test -z "$as_dir" && as_dir=.
1465 :     for ac_exec_ext in '' $ac_executable_extensions; do
1466 :     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1467 :     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1468 :     ac_prog_rejected=yes
1469 :     continue
1470 :     fi
1471 :     ac_cv_prog_CC="cc"
1472 :     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1473 :     break 2
1474 :     fi
1475 :     done
1476 :     done
1477 :    
1478 :     if test $ac_prog_rejected = yes; then
1479 :     # We found a bogon in the path, so make sure we never use it.
1480 :     set dummy $ac_cv_prog_CC
1481 :     shift
1482 :     if test $# != 0; then
1483 :     # We chose a different compiler from the bogus one.
1484 :     # However, it has the same basename, so the bogon will be chosen
1485 :     # first if we set CC to just the basename; use the full file name.
1486 :     shift
1487 : wieck 1.20 set dummy "$as_dir/$ac_word" ${1+"$@"}
1488 :     shift
1489 :     ac_cv_prog_CC="$@"
1490 : wieck 1.1 fi
1491 :     fi
1492 :     fi
1493 :     fi
1494 :     CC=$ac_cv_prog_CC
1495 :     if test -n "$CC"; then
1496 :     echo "$as_me:$LINENO: result: $CC" >&5
1497 :     echo "${ECHO_T}$CC" >&6
1498 :     else
1499 :     echo "$as_me:$LINENO: result: no" >&5
1500 :     echo "${ECHO_T}no" >&6
1501 :     fi
1502 :    
1503 :     fi
1504 :     if test -z "$CC"; then
1505 :     if test -n "$ac_tool_prefix"; then
1506 :     for ac_prog in cl
1507 :     do
1508 :     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1509 :     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1510 :     echo "$as_me:$LINENO: checking for $ac_word" >&5
1511 :     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1512 :     if test "${ac_cv_prog_CC+set}" = set; then
1513 :     echo $ECHO_N "(cached) $ECHO_C" >&6
1514 :     else
1515 :     if test -n "$CC"; then
1516 :     ac_cv_prog_CC="$CC" # Let the user override the test.
1517 :     else
1518 :     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1519 :     for as_dir in $PATH
1520 :     do
1521 :     IFS=$as_save_IFS
1522 :     test -z "$as_dir" && as_dir=.
1523 :     for ac_exec_ext in '' $ac_executable_extensions; do
1524 :     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1525 :     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1526 :     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1527 :     break 2
1528 :     fi
1529 :     done
1530 :     done
1531 :    
1532 :     fi
1533 :     fi
1534 :     CC=$ac_cv_prog_CC
1535 :     if test -n "$CC"; then
1536 :     echo "$as_me:$LINENO: result: $CC" >&5
1537 :     echo "${ECHO_T}$CC" >&6
1538 :     else
1539 :     echo "$as_me:$LINENO: result: no" >&5
1540 :     echo "${ECHO_T}no" >&6
1541 :     fi
1542 :    
1543 :     test -n "$CC" && break
1544 :     done
1545 :     fi
1546 :     if test -z "$CC"; then
1547 :     ac_ct_CC=$CC
1548 :     for ac_prog in cl
1549 :     do
1550 :     # Extract the first word of "$ac_prog", so it can be a program name with args.
1551 :     set dummy $ac_prog; ac_word=$2
1552 :     echo "$as_me:$LINENO: checking for $ac_word" >&5
1553 :     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1554 :     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1555 :     echo $ECHO_N "(cached) $ECHO_C" >&6
1556 :     else
1557 :     if test -n "$ac_ct_CC"; then
1558 :     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1559 :     else
1560 :     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1561 :     for as_dir in $PATH
1562 :     do
1563 :     IFS=$as_save_IFS
1564 :     test -z "$as_dir" && as_dir=.
1565 :     for ac_exec_ext in '' $ac_executable_extensions; do
1566 :     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1567 :     ac_cv_prog_ac_ct_CC="$ac_prog"
1568 :     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1569 :     break 2
1570 :     fi
1571 :     done
1572 :     done
1573 :    
1574 :     fi
1575 :     fi
1576 :     ac_ct_CC=$ac_cv_prog_ac_ct_CC
1577 :     if test -n "$ac_ct_CC"; then
1578 :     echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1579 :     echo "${ECHO_T}$ac_ct_CC" >&6
1580 :     else
1581 :     echo "$as_me:$LINENO: result: no" >&5
1582 :     echo "${ECHO_T}no" >&6
1583 :     fi
1584 :    
1585 :     test -n "$ac_ct_CC" && break
1586 :     done
1587 :    
1588 :     CC=$ac_ct_CC
1589 :     fi
1590 :    
1591 :     fi
1592 :    
1593 :    
1594 : wieck 1.20 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1595 :     echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1596 : wieck 1.1 { (exit 1); exit 1; }; }
1597 :    
1598 :     # Provide some information about the compiler.
1599 :     echo "$as_me:$LINENO:" \
1600 :     "checking for C compiler version" >&5
1601 :     ac_compiler=`set X $ac_compile; echo $2`
1602 :     { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1603 :     (eval $ac_compiler --version </dev/null >&5) 2>&5
1604 :     ac_status=$?
1605 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1606 :     (exit $ac_status); }
1607 :     { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1608 :     (eval $ac_compiler -v </dev/null >&5) 2>&5
1609 :     ac_status=$?
1610 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1611 :     (exit $ac_status); }
1612 :     { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1613 :     (eval $ac_compiler -V </dev/null >&5) 2>&5
1614 :     ac_status=$?
1615 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1616 :     (exit $ac_status); }
1617 :    
1618 :     cat >conftest.$ac_ext <<_ACEOF
1619 :     #line $LINENO "configure"
1620 : wieck 1.20 #include "confdefs.h"
1621 : wieck 1.1
1622 : wieck 1.20 #ifdef F77_DUMMY_MAIN
1623 :     # ifdef __cplusplus
1624 :     extern "C"
1625 :     # endif
1626 :     int F77_DUMMY_MAIN() { return 1; }
1627 :     #endif
1628 : wieck 1.1 int
1629 :     main ()
1630 :     {
1631 :    
1632 :     ;
1633 :     return 0;
1634 :     }
1635 :     _ACEOF
1636 :     ac_clean_files_save=$ac_clean_files
1637 : wieck 1.20 ac_clean_files="$ac_clean_files a.out a.exe"
1638 : wieck 1.1 # Try to create an executable without -o first, disregard a.out.
1639 :     # It will help us diagnose broken compilers, and finding out an intuition
1640 :     # of exeext.
1641 :     echo "$as_me:$LINENO: checking for C compiler default output" >&5
1642 :     echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1643 :     ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1644 :     if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1645 :     (eval $ac_link_default) 2>&5
1646 :     ac_status=$?
1647 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1648 :     (exit $ac_status); }; then
1649 :     # Find the output, starting from the most likely. This scheme is
1650 :     # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1651 :     # resort.
1652 :    
1653 :     # Be careful to initialize this variable, since it used to be cached.
1654 :     # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1655 :     ac_cv_exeext=
1656 : wieck 1.20 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1657 :     ls a.out conftest 2>/dev/null;
1658 :     ls a.* conftest.* 2>/dev/null`; do
1659 : wieck 1.1 case $ac_file in
1660 : wieck 1.20 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1661 :     a.out ) # We found the default executable, but exeext='' is most
1662 :     # certainly right.
1663 :     break;;
1664 :     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1665 :     # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1666 :     export ac_cv_exeext
1667 :     break;;
1668 :     * ) break;;
1669 : wieck 1.1 esac
1670 :     done
1671 :     else
1672 :     echo "$as_me: failed program was:" >&5
1673 : wieck 1.20 cat conftest.$ac_ext >&5
1674 :     { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1675 :     echo "$as_me: error: C compiler cannot create executables" >&2;}
1676 : wieck 1.1 { (exit 77); exit 77; }; }
1677 :     fi
1678 :    
1679 :     ac_exeext=$ac_cv_exeext
1680 :     echo "$as_me:$LINENO: result: $ac_file" >&5
1681 :     echo "${ECHO_T}$ac_file" >&6
1682 :    
1683 :     # Check the compiler produces executables we can run. If not, either
1684 :     # the compiler is broken, or we cross compile.
1685 :     echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1686 :     echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1687 :     # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1688 :     # If not cross compiling, check that we can run a simple program.
1689 :     if test "$cross_compiling" != yes; then
1690 :     if { ac_try='./$ac_file'
1691 :     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1692 :     (eval $ac_try) 2>&5
1693 :     ac_status=$?
1694 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1695 :     (exit $ac_status); }; }; then
1696 :     cross_compiling=no
1697 :     else
1698 :     if test "$cross_compiling" = maybe; then
1699 :     cross_compiling=yes
1700 :     else
1701 :     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1702 : wieck 1.20 If you meant to cross compile, use \`--host'." >&5
1703 : wieck 1.1 echo "$as_me: error: cannot run C compiled programs.
1704 : wieck 1.20 If you meant to cross compile, use \`--host'." >&2;}
1705 : wieck 1.1 { (exit 1); exit 1; }; }
1706 :     fi
1707 :     fi
1708 :     fi
1709 :     echo "$as_me:$LINENO: result: yes" >&5
1710 :     echo "${ECHO_T}yes" >&6
1711 :    
1712 : wieck 1.20 rm -f a.out a.exe conftest$ac_cv_exeext
1713 : wieck 1.1 ac_clean_files=$ac_clean_files_save
1714 :     # Check the compiler produces executables we can run. If not, either
1715 :     # the compiler is broken, or we cross compile.
1716 :     echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1717 :     echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1718 :     echo "$as_me:$LINENO: result: $cross_compiling" >&5
1719 :     echo "${ECHO_T}$cross_compiling" >&6
1720 :    
1721 :     echo "$as_me:$LINENO: checking for suffix of executables" >&5
1722 :     echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1723 :     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1724 :     (eval $ac_link) 2>&5
1725 :     ac_status=$?
1726 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1727 :     (exit $ac_status); }; then
1728 :     # If both `conftest.exe' and `conftest' are `present' (well, observable)
1729 :     # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1730 :     # work properly (i.e., refer to `conftest.exe'), while it won't with
1731 :     # `rm'.
1732 : wieck 1.20 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1733 : wieck 1.1 case $ac_file in
1734 : wieck 1.20 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1735 : wieck 1.1 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1736 :     export ac_cv_exeext
1737 :     break;;
1738 :     * ) break;;
1739 :     esac
1740 :     done
1741 :     else
1742 : wieck 1.20 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1743 :     echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1744 : wieck 1.1 { (exit 1); exit 1; }; }
1745 :     fi
1746 :    
1747 :     rm -f conftest$ac_cv_exeext
1748 :     echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1749 :     echo "${ECHO_T}$ac_cv_exeext" >&6
1750 :    
1751 :     rm -f conftest.$ac_ext
1752 :     EXEEXT=$ac_cv_exeext
1753 :     ac_exeext=$EXEEXT
1754 :     echo "$as_me:$LINENO: checking for suffix of object files" >&5
1755 :     echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1756 :     if test "${ac_cv_objext+set}" = set; then
1757 :     echo $ECHO_N "(cached) $ECHO_C" >&6
1758 :     else
1759 :     cat >conftest.$ac_ext <<_ACEOF
1760 :     #line $LINENO "configure"
1761 : wieck 1.20 #include "confdefs.h"
1762 : wieck 1.1
1763 : wieck 1.20 #ifdef F77_DUMMY_MAIN
1764 :     # ifdef __cplusplus
1765 :     extern "C"
1766 :     # endif
1767 :     int F77_DUMMY_MAIN() { return 1; }
1768 :     #endif
1769 : wieck 1.1 int
1770 :     main ()
1771 :     {
1772 :    
1773 :     ;
1774 :     return 0;
1775 :     }
1776 :     _ACEOF
1777 :     rm -f conftest.o conftest.obj
1778 :     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1779 :     (eval $ac_compile) 2>&5
1780 :     ac_status=$?
1781 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1782 :     (exit $ac_status); }; then
1783 :     for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1784 :     case $ac_file in
1785 : wieck 1.20 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1786 : wieck 1.1 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1787 :     break;;
1788 :     esac
1789 :     done
1790 :     else
1791 :     echo "$as_me: failed program was:" >&5
1792 : wieck 1.20 cat conftest.$ac_ext >&5
1793 :     { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1794 :     echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1795 : wieck 1.1 { (exit 1); exit 1; }; }
1796 :     fi
1797 :    
1798 :     rm -f conftest.$ac_cv_objext conftest.$ac_ext
1799 :     fi
1800 :     echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1801 :     echo "${ECHO_T}$ac_cv_objext" >&6
1802 :     OBJEXT=$ac_cv_objext
1803 :     ac_objext=$OBJEXT
1804 :     echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1805 :     echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1806 :     if test "${ac_cv_c_compiler_gnu+set}" = set; then
1807 :     echo $ECHO_N "(cached) $ECHO_C" >&6
1808 :     else
1809 :     cat >conftest.$ac_ext <<_ACEOF
1810 :     #line $LINENO "configure"
1811 : wieck 1.20 #include "confdefs.h"
1812 : wieck 1.1
1813 : wieck 1.20 #ifdef F77_DUMMY_MAIN
1814 :     # ifdef __cplusplus
1815 :     extern "C"
1816 :     # endif
1817 :     int F77_DUMMY_MAIN() { return 1; }
1818 :     #endif
1819 : wieck 1.1 int
1820 :     main ()
1821 :     {
1822 :     #ifndef __GNUC__
1823 :     choke me
1824 :     #endif
1825 :    
1826 :     ;
1827 :     return 0;
1828 :     }
1829 :     _ACEOF
1830 :     rm -f conftest.$ac_objext
1831 :     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1832 :     (eval $ac_compile) 2>&5
1833 :     ac_status=$?
1834 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1835 :     (exit $ac_status); } &&
1836 :     { ac_try='test -s conftest.$ac_objext'
1837 :     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1838 :     (eval $ac_try) 2>&5
1839 :     ac_status=$?
1840 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1841 :     (exit $ac_status); }; }; then
1842 :     ac_compiler_gnu=yes
1843 :     else
1844 :     echo "$as_me: failed program was:" >&5
1845 : wieck 1.20 cat conftest.$ac_ext >&5
1846 : wieck 1.1 ac_compiler_gnu=no
1847 :     fi
1848 :     rm -f conftest.$ac_objext conftest.$ac_ext
1849 :     ac_cv_c_compiler_gnu=$ac_compiler_gnu
1850 :    
1851 :     fi
1852 :     echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1853 :     echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1854 :     GCC=`test $ac_compiler_gnu = yes && echo yes`
1855 :     ac_test_CFLAGS=${CFLAGS+set}
1856 :     ac_save_CFLAGS=$CFLAGS
1857 :     CFLAGS="-g"
1858 :     echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1859 :     echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1860 :     if test "${ac_cv_prog_cc_g+set}" = set; then
1861 :     echo $ECHO_N "(cached) $ECHO_C" >&6
1862 :     else
1863 :     cat >conftest.$ac_ext <<_ACEOF
1864 :     #line $LINENO "configure"
1865 : wieck 1.20 #include "confdefs.h"
1866 : wieck 1.1
1867 : wieck 1.20 #ifdef F77_DUMMY_MAIN
1868 :     # ifdef __cplusplus
1869 :     extern "C"
1870 :     # endif
1871 :     int F77_DUMMY_MAIN() { return 1; }
1872 :     #endif
1873 : wieck 1.1 int
1874 :     main ()
1875 :     {
1876 :    
1877 :     ;
1878 :     return 0;
1879 :     }
1880 :     _ACEOF
1881 :     rm -f conftest.$ac_objext
1882 :     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1883 :     (eval $ac_compile) 2>&5
1884 :     ac_status=$?
1885 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1886 :     (exit $ac_status); } &&
1887 :     { ac_try='test -s conftest.$ac_objext'
1888 :     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1889 :     (eval $ac_try) 2>&5
1890 :     ac_status=$?
1891 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1892 :     (exit $ac_status); }; }; then
1893 :     ac_cv_prog_cc_g=yes
1894 :     else
1895 :     echo "$as_me: failed program was:" >&5
1896 : wieck 1.20 cat conftest.$ac_ext >&5
1897 : wieck 1.1 ac_cv_prog_cc_g=no
1898 :     fi
1899 :     rm -f conftest.$ac_objext conftest.$ac_ext
1900 :     fi
1901 :     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1902 :     echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1903 :     if test "$ac_test_CFLAGS" = set; then
1904 :     CFLAGS=$ac_save_CFLAGS
1905 :     elif test $ac_cv_prog_cc_g = yes; then
1906 :     if test "$GCC" = yes; then
1907 :     CFLAGS="-g -O2"
1908 :     else
1909 :     CFLAGS="-g"
1910 :     fi
1911 :     else
1912 :     if test "$GCC" = yes; then
1913 :     CFLAGS="-O2"
1914 :     else
1915 :     CFLAGS=
1916 :     fi
1917 :     fi
1918 :     # Some people use a C++ compiler to compile C. Since we use `exit',
1919 :     # in C++ we need to declare it. In case someone uses the same compiler
1920 :     # for both compiling C and C++ we need to have the C++ compiler decide
1921 :     # the declaration of exit, since it's the most demanding environment.
1922 :     cat >conftest.$ac_ext <<_ACEOF
1923 :     #ifndef __cplusplus
1924 :     choke me
1925 :     #endif
1926 :     _ACEOF
1927 :     rm -f conftest.$ac_objext
1928 :     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1929 :     (eval $ac_compile) 2>&5
1930 :     ac_status=$?
1931 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1932 :     (exit $ac_status); } &&
1933 :     { ac_try='test -s conftest.$ac_objext'
1934 :     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1935 :     (eval $ac_try) 2>&5
1936 :     ac_status=$?
1937 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 :     (exit $ac_status); }; }; then
1939 :     for ac_declaration in \
1940 :     ''\
1941 :     '#include <stdlib.h>' \
1942 :     'extern "C" void std::exit (int) throw (); using std::exit;' \
1943 :     'extern "C" void std::exit (int); using std::exit;' \
1944 :     'extern "C" void exit (int) throw ();' \
1945 :     'extern "C" void exit (int);' \
1946 :     'void exit (int);'
1947 :     do
1948 :     cat >conftest.$ac_ext <<_ACEOF
1949 :     #line $LINENO "configure"
1950 : wieck 1.20 #include "confdefs.h"
1951 : wieck 1.1 #include <stdlib.h>
1952 :     $ac_declaration
1953 : wieck 1.20 #ifdef F77_DUMMY_MAIN
1954 :     # ifdef __cplusplus
1955 :     extern "C"
1956 :     # endif
1957 :     int F77_DUMMY_MAIN() { return 1; }
1958 :     #endif
1959 : wieck 1.1 int
1960 :     main ()
1961 :     {
1962 :     exit (42);
1963 :     ;
1964 :     return 0;
1965 :     }
1966 :     _ACEOF
1967 :     rm -f conftest.$ac_objext
1968 :     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1969 :     (eval $ac_compile) 2>&5
1970 :     ac_status=$?
1971 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1972 :     (exit $ac_status); } &&
1973 :     { ac_try='test -s conftest.$ac_objext'
1974 :     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1975 :     (eval $ac_try) 2>&5
1976 :     ac_status=$?
1977 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1978 :     (exit $ac_status); }; }; then
1979 :     :
1980 :     else
1981 :     echo "$as_me: failed program was:" >&5
1982 : wieck 1.20 cat conftest.$ac_ext >&5
1983 : wieck 1.1 continue
1984 :     fi
1985 :     rm -f conftest.$ac_objext conftest.$ac_ext
1986 :     cat >conftest.$ac_ext <<_ACEOF
1987 :     #line $LINENO "configure"
1988 : wieck 1.20 #include "confdefs.h"
1989 : wieck 1.1 $ac_declaration
1990 : wieck 1.20 #ifdef F77_DUMMY_MAIN
1991 :     # ifdef __cplusplus
1992 :     extern "C"
1993 :     # endif
1994 :     int F77_DUMMY_MAIN() { return 1; }
1995 :     #endif
1996 : wieck 1.1 int
1997 :     main ()
1998 :     {
1999 :     exit (42);
2000 :     ;
2001 :     return 0;
2002 :     }
2003 :     _ACEOF
2004 :     rm -f conftest.$ac_objext
2005 :     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2006 :     (eval $ac_compile) 2>&5
2007 :     ac_status=$?
2008 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009 :     (exit $ac_status); } &&
2010 :     { ac_try='test -s conftest.$ac_objext'
2011 :     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2012 :     (eval $ac_try) 2>&5
2013 :     ac_status=$?
2014 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2015 :     (exit $ac_status); }; }; then
2016 :     break
2017 :     else
2018 :     echo "$as_me: failed program was:" >&5
2019 : wieck 1.20 cat conftest.$ac_ext >&5
2020 : wieck 1.1 fi
2021 :     rm -f conftest.$ac_objext conftest.$ac_ext
2022 :     done
2023 :     rm -f conftest*
2024 :     if test -n "$ac_declaration"; then
2025 :     echo '#ifdef __cplusplus' >>confdefs.h
2026 :     echo $ac_declaration >>confdefs.h
2027 :     echo '#endif' >>confdefs.h
2028 :     fi
2029 :    
2030 :     else
2031 :     echo "$as_me: failed program was:" >&5
2032 : wieck 1.20 cat conftest.$ac_ext >&5
2033 : wieck 1.1 fi
2034 :     rm -f conftest.$ac_objext conftest.$ac_ext
2035 :     ac_ext=c
2036 :     ac_cpp='$CPP $CPPFLAGS'
2037 :     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2038 :     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2039 :     ac_compiler_gnu=$ac_cv_c_compiler_gnu
2040 :    
2041 :    
2042 :     # Check whether --with-gnu-ld or --without-gnu-ld was given.
2043 :     if test "${with_gnu_ld+set}" = set; then
2044 :     withval="$with_gnu_ld"
2045 :     test "$withval" = no || with_gnu_ld=yes
2046 :     else
2047 :     with_gnu_ld=no
2048 :     fi;
2049 :     ac_prog=ld
2050 :     if test "$GCC" = yes; then
2051 :     # Check if gcc -print-prog-name=ld gives a path.
2052 :     echo "$as_me:$LINENO: checking for ld used by GCC" >&5
2053 :     echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
2054 :     case $host in
2055 :     *-*-mingw*)
2056 :     # gcc leaves a trailing carriage return which upsets mingw
2057 :     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2058 :     *)
2059 :     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2060 :     esac
2061 :     case "$ac_prog" in
2062 :     # Accept absolute paths.
2063 :     [\\/]* | [A-Za-z]:[\\/]*)
2064 :     re_direlt='/[^/][^/]*/\.\./'
2065 :     # Canonicalize the path of ld
2066 :     ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
2067 :     while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2068 :     ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
2069 :     done
2070 :     test -z "$LD" && LD="$ac_prog"
2071 :     ;;
2072 :     "")
2073 :     # If it fails, then pretend we aren't using GCC.
2074 :     ac_prog=ld
2075 :     ;;
2076 :     *)
2077 :     # If it is relative, then search for the first ld in PATH.
2078 :     with_gnu_ld=unknown
2079 :     ;;
2080 :     esac
2081 :     elif test "$with_gnu_ld" = yes; then
2082 :     echo "$as_me:$LINENO: checking for GNU ld" >&5
2083 :     echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
2084 :     else
2085 :     echo "$as_me:$LINENO: checking for non-GNU ld" >&5
2086 :     echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
2087 :     fi
2088 :     if test "${ac_cv_path_LD+set}" = set; then
2089 :     echo $ECHO_N "(cached) $ECHO_C" >&6
2090 :     else
2091 :     if test -z "$LD"; then
2092 :     IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2093 :     for ac_dir in $PATH; do
2094 :     test -z "$ac_dir" && ac_dir=.
2095 :     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2096 :     ac_cv_path_LD="$ac_dir/$ac_prog"
2097 :     # Check to see if the program is GNU ld. I'd rather use --version,
2098 :     # but apparently some GNU ld's only accept -v.
2099 :     # Break only if it was the GNU/non-GNU ld that we prefer.
2100 :     if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
2101 :     test "$with_gnu_ld" != no && break
2102 :     else
2103 :     test "$with_gnu_ld" != yes && break
2104 :     fi
2105 :     fi
2106 :     done
2107 :     IFS="$ac_save_ifs"
2108 :     else
2109 :     ac_cv_path_LD="$LD" # Let the user override the test with a path.
2110 :     fi
2111 :     fi
2112 :    
2113 :     LD="$ac_cv_path_LD"
2114 :     if test -n "$LD"; then
2115 :     echo "$as_me:$LINENO: result: $LD" >&5
2116 :     echo "${ECHO_T}$LD" >&6
2117 :     else
2118 :     echo "$as_me:$LINENO: result: no" >&5
2119 :     echo "${ECHO_T}no" >&6
2120 :     fi
2121 :     test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
2122 :     echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
2123 :     { (exit 1); exit 1; }; }
2124 :     echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
2125 :     echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
2126 :     if test "${ac_cv_prog_gnu_ld+set}" = set; then
2127 :     echo $ECHO_N "(cached) $ECHO_C" >&6
2128 :     else
2129 :     # I'd rather use --version here, but apparently some GNU ld's only accept -v.
2130 :     if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
2131 :     ac_cv_prog_gnu_ld=yes
2132 :     else
2133 :     ac_cv_prog_gnu_ld=no
2134 :     fi
2135 :     fi
2136 :     echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_ld" >&5
2137 :     echo "${ECHO_T}$ac_cv_prog_gnu_ld" >&6
2138 :     with_gnu_ld=$ac_cv_prog_gnu_ld
2139 :    
2140 :    
2141 :    
2142 :    
2143 :    
2144 :    
2145 :    
2146 : wieck 1.9
2147 : wieck 1.4
2148 : wieck 1.14 ac_ext=c
2149 :     ac_cpp='$CPP $CPPFLAGS'
2150 :     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2151 :     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2152 :     ac_compiler_gnu=$ac_cv_c_compiler_gnu
2153 : wieck 1.4
2154 : wieck 1.14 acx_pthread_ok=no
2155 : wieck 1.6
2156 : wieck 1.14 # We used to check for pthread.h first, but this fails if pthread.h
2157 :     # requires special compiler flags (e.g. on True64 or Sequent).
2158 :     # It gets checked for in the link test anyway.
2159 : wieck 1.9
2160 : wieck 1.14 # First of all, check if the user has set any of the PTHREAD_LIBS,
2161 :     # etcetera environment variables, and if threads linking works using
2162 :     # them:
2163 :     if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
2164 :     save_CFLAGS="$CFLAGS"
2165 :     CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
2166 :     save_LIBS="$LIBS"
2167 :     LIBS="$PTHREAD_LIBS $LIBS"
2168 :     echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
2169 :     echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6
2170 :     cat >conftest.$ac_ext <<_ACEOF
2171 : wieck 1.5 #line $LINENO "configure"
2172 : wieck 1.20 #include "confdefs.h"
2173 : wieck 1.5
2174 : wieck 1.14 /* Override any gcc2 internal prototype to avoid an error. */
2175 :     #ifdef __cplusplus
2176 :     extern "C"
2177 : wieck 1.10 #endif
2178 : wieck 1.14 /* We use char because int might match the return type of a gcc2
2179 :     builtin and then its argument prototype would still apply. */
2180 :     char pthread_join ();
2181 : wieck 1.20 #ifdef F77_DUMMY_MAIN
2182 :     # ifdef __cplusplus
2183 :     extern "C"
2184 :     # endif
2185 :     int F77_DUMMY_MAIN() { return 1; }
2186 :     #endif
2187 : wieck 1.5 int
2188 :     main ()
2189 :     {
2190 : wieck 1.14 pthread_join ();
2191 : wieck 1.5 ;
2192 :     return 0;
2193 :     }
2194 :     _ACEOF
2195 :     rm -f conftest.$ac_objext conftest$ac_exeext
2196 :     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2197 :     (eval $ac_link) 2>&5
2198 :     ac_status=$?
2199 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2200 :     (exit $ac_status); } &&
2201 :     { ac_try='test -s conftest$ac_exeext'
2202 :     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2203 :     (eval $ac_try) 2>&5
2204 :     ac_status=$?
2205 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 :     (exit $ac_status); }; }; then
2207 : wieck 1.14 acx_pthread_ok=yes
2208 : wieck 1.5 else
2209 :     echo "$as_me: failed program was:" >&5
2210 : wieck 1.20 cat conftest.$ac_ext >&5
2211 : wieck 1.5 fi
2212 :     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2213 : wieck 1.14 echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
2214 :     echo "${ECHO_T}$acx_pthread_ok" >&6
2215 :     if test x"$acx_pthread_ok" = xno; then
2216 :     PTHREAD_LIBS=""
2217 :     PTHREAD_CFLAGS=""
2218 :     fi
2219 :     LIBS="$save_LIBS"
2220 :     CFLAGS="$save_CFLAGS"
2221 : wieck 1.5 fi
2222 :    
2223 : wieck 1.14 # We must check for the threads library under a number of different
2224 :     # names; the ordering is very important because some systems
2225 :     # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
2226 :     # libraries is broken (non-POSIX).
2227 : wieck 1.2
2228 :     # Create a list of thread flags to try. Items starting with a "-" are
2229 :     # C compiler flags, and other items are library names, except for "none"
2230 :     # which indicates that we try without any flags at all, and "pthread-config"
2231 :     # which is a program returning the flags for the Pth emulation library.
2232 :    
2233 :     acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
2234 :    
2235 :     # The ordering *is* (sometimes) important. Some notes on the
2236 :     # individual items follow:
2237 :    
2238 :     # pthreads: AIX (must check this before -lpthread)
2239 :     # none: in case threads are in libc; should be tried before -Kthread and
2240 :     # other compiler flags to prevent continual compiler warnings
2241 :     # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
2242 :     # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
2243 :     # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
2244 :     # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
2245 :     # -pthreads: Solaris/gcc
2246 :     # -mthreads: Mingw32/gcc, Lynx/gcc
2247 :     # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
2248 :     # doesn't hurt to check since this sometimes defines pthreads too;
2249 :     # also defines -D_REENTRANT)
2250 :     # pthread: Linux, etcetera
2251 :     # --thread-safe: KAI C++
2252 :     # pthread-config: use pthread-config program (for GNU Pth library)
2253 :    
2254 :     case "${host_cpu}-${host_os}" in
2255 :     *solaris*)
2256 :    
2257 :     # On Solaris (at least, for some versions), libc contains stubbed
2258 :     # (non-functional) versions of the pthreads routines, so link-based
2259 :     # tests will erroneously succeed. (We need to link with -pthread or
2260 :     # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
2261 :     # a function called by this macro, so we could check for that, but
2262 :     # who knows whether they'll stub that too in a future libc.) So,
2263 :     # we'll just look for -pthreads and -lpthread first:
2264 :    
2265 :     acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags"
2266 :     ;;
2267 :     esac
2268 :    
2269 :     if test x"$acx_pthread_ok" = xno; then
2270 :     for flag in $acx_pthread_flags; do
2271 :    
2272 :     case $flag in
2273 :     none)
2274 :     echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
2275 :     echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
2276 :     ;;
2277 :    
2278 :     -*)
2279 :     echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
2280 :     echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
2281 :     PTHREAD_CFLAGS="$flag"
2282 :     ;;
2283 :    
2284 :     pthread-config)
2285 :     # Extract the first word of "pthread-config", so it can be a program name with args.
2286 :     set dummy pthread-config; ac_word=$2
2287 :     echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 :     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2289 :     if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
2290 :     echo $ECHO_N "(cached) $ECHO_C" >&6
2291 :     else
2292 :     if test -n "$acx_pthread_config"; then
2293 :     ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
2294 :     else
2295 :     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 :     for as_dir in $PATH
2297 :     do
2298 :     IFS=$as_save_IFS
2299 :     test -z "$as_dir" && as_dir=.
2300 :     for ac_exec_ext in '' $ac_executable_extensions; do
2301 :     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2302 :     ac_cv_prog_acx_pthread_config="yes"
2303 :     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 :     break 2
2305 :     fi
2306 :     done
2307 :     done
2308 :    
2309 :     test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
2310 :     fi
2311 :     fi
2312 :     acx_pthread_config=$ac_cv_prog_acx_pthread_config
2313 :     if test -n "$acx_pthread_config"; then
2314 :     echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
2315 :     echo "${ECHO_T}$acx_pthread_config" >&6
2316 :     else
2317 :     echo "$as_me:$LINENO: result: no" >&5
2318 :     echo "${ECHO_T}no" >&6
2319 :     fi
2320 :    
2321 :     if test x"$acx_pthread_config" = xno; then continue; fi
2322 :     PTHREAD_CFLAGS="`pthread-config --cflags`"
2323 :     PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
2324 :     ;;
2325 :    
2326 :     *)
2327 :     echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
2328 :     echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
2329 :     PTHREAD_LIBS="-l$flag"
2330 :     ;;
2331 :     esac
2332 :    
2333 :     save_LIBS="$LIBS"
2334 :     save_CFLAGS="$CFLAGS"
2335 :     LIBS="$PTHREAD_LIBS $LIBS"
2336 :     CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
2337 :    
2338 :     # Check for various functions. We must include pthread.h,
2339 :     # since some functions may be macros. (On the Sequent, we
2340 :     # need a special flag -Kthread to make this header compile.)
2341 :     # We check for pthread_join because it is in -lpthread on IRIX
2342 :     # while pthread_create is in libc. We check for pthread_attr_init
2343 :     # due to DEC craziness with -lpthreads. We check for
2344 :     # pthread_cleanup_push because it is one of the few pthread
2345 :     # functions on Solaris that doesn't have a non-functional libc stub.
2346 :     # We try pthread_create on general principles.
2347 :     cat >conftest.$ac_ext <<_ACEOF
2348 :     #line $LINENO "configure"
2349 : wieck 1.20 #include "confdefs.h"
2350 : wieck 1.2 #include <pthread.h>
2351 : wieck 1.20 #ifdef F77_DUMMY_MAIN
2352 :     # ifdef __cplusplus
2353 :     extern "C"
2354 :     # endif
2355 :     int F77_DUMMY_MAIN() { return 1; }
2356 :     #endif
2357 : wieck 1.2 int
2358 :     main ()
2359 :     {
2360 :     pthread_t th; pthread_join(th, 0);
2361 :     pthread_attr_init(0); pthread_cleanup_push(0, 0);
2362 :     pthread_create(0,0,0,0); pthread_cleanup_pop(0);
2363 :     ;
2364 :     return 0;
2365 :     }
2366 :     _ACEOF
2367 :     rm -f conftest.$ac_objext conftest$ac_exeext
2368 :     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2369 :     (eval $ac_link) 2>&5
2370 :     ac_status=$?
2371 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 :     (exit $ac_status); } &&
2373 :     { ac_try='test -s conftest$ac_exeext'
2374 :     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2375 :     (eval $ac_try) 2>&5
2376 :     ac_status=$?
2377 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 :     (exit $ac_status); }; }; then
2379 :     acx_pthread_ok=yes
2380 :     else
2381 :     echo "$as_me: failed program was:" >&5
2382 : wieck 1.20 cat conftest.$ac_ext >&5
2383 : wieck 1.2 fi
2384 :     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2385 :    
2386 :     LIBS="$save_LIBS"
2387 :     CFLAGS="$save_CFLAGS"
2388 :    
2389 :     echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
2390 :     echo "${ECHO_T}$acx_pthread_ok" >&6
2391 :     if test "x$acx_pthread_ok" = xyes; then
2392 :     break;
2393 :     fi
2394 :    
2395 :     PTHREAD_LIBS=""
2396 :     PTHREAD_CFLAGS=""
2397 :     done
2398 :     fi
2399 :    
2400 :     # Various other checks:
2401 :     if test "x$acx_pthread_ok" = xyes; then
2402 :     save_LIBS="$LIBS"
2403 :     LIBS="$PTHREAD_LIBS $LIBS"
2404 :     save_CFLAGS="$CFLAGS"
2405 :     CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
2406 :    
2407 :     # Detect AIX lossage: threads are created detached by default
2408 :     # and the JOINABLE attribute has a nonstandard name (UNDETACHED).
2409 :     echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
2410 :     echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6
2411 :     cat >conftest.$ac_ext <<_ACEOF
2412 :     #line $LINENO "configure"
2413 : wieck 1.20 #include "confdefs.h"
2414 : wieck 1.2 #include <pthread.h>
2415 : wieck 1.20 #ifdef F77_DUMMY_MAIN
2416 :     # ifdef __cplusplus
2417 :     extern "C"
2418 :     # endif
2419 :     int F77_DUMMY_MAIN() { return 1; }
2420 :     #endif
2421 : wieck 1.2 int
2422 :     main ()
2423 :     {
2424 :     int attr=PTHREAD_CREATE_JOINABLE;
2425 :     ;
2426 :     return 0;
2427 :     }
2428 :     _ACEOF
2429 :     rm -f conftest.$ac_objext conftest$ac_exeext
2430 :     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2431 :     (eval $ac_link) 2>&5
2432 :     ac_status=$?
2433 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 :     (exit $ac_status); } &&
2435 :     { ac_try='test -s conftest$ac_exeext'
2436 :     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2437 :     (eval $ac_try) 2>&5
2438 :     ac_status=$?
2439 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 :     (exit $ac_status); }; }; then
2441 :     ok=PTHREAD_CREATE_JOINABLE
2442 :     else
2443 :     echo "$as_me: failed program was:" >&5
2444 : wieck 1.20 cat conftest.$ac_ext >&5
2445 : wieck 1.2 ok=unknown
2446 :     fi
2447 :     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2448 :     if test x"$ok" = xunknown; then
2449 :     cat >conftest.$ac_ext <<_ACEOF
2450 :     #line $LINENO "configure"
2451 : wieck 1.20 #include "confdefs.h"
2452 : wieck 1.2 #include <pthread.h>
2453 : wieck 1.20 #ifdef F77_DUMMY_MAIN
2454 :     # ifdef __cplusplus
2455 :     extern "C"
2456 :     # endif
2457 :     int F77_DUMMY_MAIN() { return 1; }
2458 :     #endif
2459 : wieck 1.2 int
2460 :     main ()
2461 :     {
2462 :     int attr=PTHREAD_CREATE_UNDETACHED;
2463 :     ;
2464 :     return 0;
2465 :     }
2466 :     _ACEOF
2467 :     rm -f conftest.$ac_objext conftest$ac_exeext
2468 :     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2469 :     (eval $ac_link) 2>&5
2470 :     ac_status=$?
2471 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 :     (exit $ac_status); } &&
2473 :     { ac_try='test -s conftest$ac_exeext'
2474 :     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2475 :     (eval $ac_try) 2>&5
2476 :     ac_status=$?
2477 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 :     (exit $ac_status); }; }; then
2479 :     ok=PTHREAD_CREATE_UNDETACHED
2480 :     else
2481 :     echo "$as_me: failed program was:" >&5
2482 : wieck 1.20 cat conftest.$ac_ext >&5
2483 : wieck 1.2 ok=unknown
2484 :     fi
2485 :     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2486 :     fi
2487 :     if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then
2488 :    
2489 :     cat >>confdefs.h <<\_ACEOF
2490 :     #define PTHREAD_CREATE_JOINABLE $ok
2491 :     _ACEOF
2492 :    
2493 :     fi
2494 :     echo "$as_me:$LINENO: result: ${ok}" >&5
2495 :     echo "${ECHO_T}${ok}" >&6
2496 :     if test x"$ok" = xunknown; then
2497 :     { echo "$as_me:$LINENO: WARNING: we do not know how to create joinable pthreads" >&5
2498 :     echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;}
2499 :     fi
2500 :    
2501 :     echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
2502 :     echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
2503 :     flag=no
2504 :     case "${host_cpu}-${host_os}" in
2505 :     *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
2506 :     *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
2507 :     esac
2508 :     echo "$as_me:$LINENO: result: ${flag}" >&5
2509 :     echo "${ECHO_T}${flag}" >&6
2510 :     if test "x$flag" != xno; then
2511 :     PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
2512 :     fi
2513 :    
2514 :     LIBS="$save_LIBS"
2515 :     CFLAGS="$save_CFLAGS"
2516 :    
2517 :     # More AIX lossage: must compile with cc_r
2518 :     # Extract the first word of "cc_r", so it can be a program name with args.
2519 :     set dummy cc_r; ac_word=$2
2520 :     echo "$as_me:$LINENO: checking for $ac_word" >&5
2521 :     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2522 :     if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
2523 :     echo $ECHO_N "(cached) $ECHO_C" >&6
2524 :     else
2525 :     if test -n "$PTHREAD_CC"; then
2526 :     ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
2527 :     else
2528 :     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529 : wieck 1.14 for as_dir in $PATH
2530 :     do
2531 :     IFS=$as_save_IFS
2532 :     test -z "$as_dir" && as_dir=.
2533 :     for ac_exec_ext in '' $ac_executable_extensions; do
2534 :     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2535 :     ac_cv_prog_PTHREAD_CC="cc_r"
2536 :     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2537 :     break 2
2538 :     fi
2539 :     done
2540 :     done
2541 :    
2542 :     test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}"
2543 :     fi
2544 :     fi
2545 :     PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
2546 :     if test -n "$PTHREAD_CC"; then
2547 :     echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
2548 :     echo "${ECHO_T}$PTHREAD_CC" >&6
2549 :     else
2550 :     echo "$as_me:$LINENO: result: no" >&5
2551 :     echo "${ECHO_T}no" >&6
2552 :     fi
2553 :    
2554 :     else
2555 :     PTHREAD_CC="$CC"
2556 :     fi
2557 :    
2558 :    
2559 :    
2560 :    
2561 :    
2562 :     # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
2563 :     if test x"$acx_pthread_ok" = xyes; then
2564 :    
2565 :     cat >>confdefs.h <<\_ACEOF
2566 :     #define HAVE_PTHREAD 1
2567 :     _ACEOF
2568 :    
2569 :     :
2570 :     else
2571 :     acx_pthread_ok=no
2572 :    
2573 :     fi
2574 :     ac_ext=c
2575 :     ac_cpp='$CPP $CPPFLAGS'
2576 :     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2577 :     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2578 :     ac_compiler_gnu=$ac_cv_c_compiler_gnu
2579 :    
2580 :    
2581 :    
2582 : wieck 1.16 # ----
2583 : wieck 1.14 # Locate the PostgreSQL source tree
2584 : wieck 1.16 # ----
2585 : wieck 1.14
2586 :     # Check whether --with-pgsourcetree or --without-pgsourcetree was given.
2587 :     if test "${with_pgsourcetree+set}" = set; then
2588 :     withval="$with_pgsourcetree"
2589 :    
2590 :     fi;
2591 :     if test "x$with_pgsourcetree" = "x" ; then
2592 :     { { echo "$as_me:$LINENO: error:
2593 : wieck 1.15 ********************
2594 :     * Compiling Slony-I currently requires a source installation
2595 :     * of PostgreSQL. Please specify the location of the tree you
2596 :     * built as --with-pgsourcetree=<dir>
2597 :     ********************
2598 : wieck 1.14 " >&5
2599 :     echo "$as_me: error:
2600 : wieck 1.15 ********************
2601 :     * Compiling Slony-I currently requires a source installation
2602 :     * of PostgreSQL. Please specify the location of the tree you
2603 :     * built as --with-pgsourcetree=<dir>
2604 :     ********************
2605 : wieck 1.14 " >&2;}
2606 :     { (exit 1); exit 1; }; }
2607 :     fi
2608 : wieck 1.16 # ----
2609 :     # Locate the PostgreSQL source tree
2610 :     # ----
2611 :     if test ! -f ${with_pgsourcetree}/src/interfaces/libpq/libpq.a ; then
2612 :     { { echo "$as_me:$LINENO: error:
2613 :     ********************
2614 :     * The sourcetree in ${with_pgsourcetree}
2615 :     * does not appear to be built. Please make sure to build
2616 :     * and install PostgreSQL from sources first.
2617 :     ********************
2618 :     " >&5
2619 :     echo "$as_me: error:
2620 :     ********************
2621 :     * The sourcetree in ${with_pgsourcetree}
2622 :     * does not appear to be built. Please make sure to build
2623 :     * and install PostgreSQL from sources first.
2624 :     ********************
2625 :     " >&2;}
2626 :     { (exit 1); exit 1; }; }
2627 :     fi
2628 : wieck 1.17
2629 :     # ----
2630 :     # Make an eventual relative path absolute
2631 :     # ----
2632 :     _pwd=`pwd`
2633 :     cd ${with_pgsourcetree}
2634 :     with_pgsourcetree=`pwd`
2635 :     echo "pgsources in ${with_pgsourcetree}"
2636 :     cd ${_pwd}
2637 :    
2638 :     PGSOURCETREE=$with_pgsourcetree
2639 : wieck 1.16
2640 : wieck 1.14
2641 :     # ----
2642 :     # Check if our libpq contains several functions
2643 :     # ----
2644 :     save_CFLAGS="$CFLAGS"
2645 :     save_LIBS="$LIBS"
2646 :     CFLAGS="-I${with_pgsourcetree}/src/interfaces/libpq -I${with_pgsourcetree}/src/include $CFLAGS"
2647 :     LIBS="-L${with_pgsourcetree}/src/interfaces/libpq -lpq $LIBS"
2648 :    
2649 :     # PQfreemem()
2650 :     echo "$as_me:$LINENO: checking for PQfreemem() in libpq" >&5
2651 :     echo $ECHO_N "checking for PQfreemem() in libpq... $ECHO_C" >&6
2652 :     have_pqfreemem=no
2653 :     cat >conftest.$ac_ext <<_ACEOF
2654 :     #line $LINENO "configure"
2655 : wieck 1.20 #include "confdefs.h"
2656 : wieck 1.14 #include <libpq-fe.h>
2657 : wieck 1.20 #ifdef F77_DUMMY_MAIN
2658 :     # ifdef __cplusplus
2659 :     extern "C"
2660 :     # endif
2661 :     int F77_DUMMY_MAIN() { return 1; }
2662 :     #endif
2663 : wieck 1.14 int
2664 :     main ()
2665 :     {
2666 :     PQfreemem(NULL);
2667 :     ;
2668 :     return 0;
2669 :     }
2670 :     _ACEOF
2671 :     rm -f conftest.$ac_objext conftest$ac_exeext
2672 :     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2673 :     (eval $ac_link) 2>&5
2674 :     ac_status=$?
2675 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 :     (exit $ac_status); } &&
2677 :     { ac_try='test -s conftest$ac_exeext'
2678 :     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2679 :     (eval $ac_try) 2>&5
2680 :     ac_status=$?
2681 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 :     (exit $ac_status); }; }; then
2683 :     have_pqfreemem=yes
2684 :     else
2685 :     echo "$as_me: failed program was:" >&5
2686 : wieck 1.20 cat conftest.$ac_ext >&5
2687 : wieck 1.2 fi
2688 : wieck 1.14 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2689 :     echo "$as_me:$LINENO: result: $have_pqfreemem" >&5
2690 :     echo "${ECHO_T}$have_pqfreemem" >&6
2691 :     if test $have_pqfreemem = yes ; then
2692 :     cat >>confdefs.h <<\_ACEOF
2693 :     #define HAVE_PQFREEMEM 1
2694 :     _ACEOF
2695 : wieck 1.2
2696 :     fi
2697 :    
2698 : wieck 1.14 # PQputCopyData()
2699 :     echo "$as_me:$LINENO: checking for PQputCopyData() in libpq" >&5
2700 :     echo $ECHO_N "checking for PQputCopyData() in libpq... $ECHO_C" >&6
2701 :     have_pqputcopydata=no
2702 :     cat >conftest.$ac_ext <<_ACEOF
2703 :     #line $LINENO "configure"
2704 : wieck 1.20 #include "confdefs.h"
2705 : wieck 1.14 #include <libpq-fe.h>
2706 : wieck 1.20 #ifdef F77_DUMMY_MAIN
2707 :     # ifdef __cplusplus
2708 :     extern "C"
2709 :     # endif
2710 :     int F77_DUMMY_MAIN() { return 1; }
2711 :     #endif
2712 : wieck 1.14 int
2713 :     main ()
2714 :     {
2715 :     PQputCopyData(NULL,NULL,0);
2716 :     ;
2717 :     return 0;
2718 :     }
2719 : wieck 1.2 _ACEOF
2720 : wieck 1.14 rm -f conftest.$ac_objext conftest$ac_exeext
2721 :     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2722 :     (eval $ac_link) 2>&5
2723 :     ac_status=$?
2724 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 :     (exit $ac_status); } &&
2726 :     { ac_try='test -s conftest$ac_exeext'
2727 :     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2728 :     (eval $ac_try) 2>&5
2729 :     ac_status=$?
2730 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731 :     (exit $ac_status); }; }; then
2732 :     have_pqputcopydata=yes
2733 : wieck 1.2 else
2734 : wieck 1.14 echo "$as_me: failed program was:" >&5
2735 : wieck 1.20 cat conftest.$ac_ext >&5
2736 : wieck 1.2 fi
2737 : wieck 1.14 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2738 :     echo "$as_me:$LINENO: result: $have_pqputcopydata" >&5
2739 :     echo "${ECHO_T}$have_pqputcopydata" >&6
2740 :     if test $have_pqputcopydata = yes ; then
2741 :     cat >>confdefs.h <<\_ACEOF
2742 :     #define HAVE_PQPUTCOPYDATA 1
2743 :     _ACEOF
2744 : wieck 1.2
2745 : wieck 1.14 fi
2746 : wieck 1.2
2747 : wieck 1.14 # PQsetNoticeReceiver()
2748 :     echo "$as_me:$LINENO: checking for PQsetNoticeReceiver() in libpq" >&5
2749 :     echo $ECHO_N "checking for PQsetNoticeReceiver() in libpq... $ECHO_C" >&6
2750 :     have_pqsetnoticereceiver=no
2751 :     cat >conftest.$ac_ext <<_ACEOF
2752 : wieck 1.1 #line $LINENO "configure"
2753 : wieck 1.20 #include "confdefs.h"
2754 : wieck 1.14 #include <libpq-fe.h>
2755 : wieck 1.20 #ifdef F77_DUMMY_MAIN
2756 :     # ifdef __cplusplus
2757 :     extern "C"
2758 :     # endif
2759 :     int F77_DUMMY_MAIN() { return 1; }
2760 :     #endif
2761 : wieck 1.10 int
2762 :     main ()
2763 :     {
2764 : wieck 1.14 PQsetNoticeReceiver(NULL,NULL,NULL);
2765 : wieck 1.1 ;
2766 :     return 0;
2767 :     }
2768 :     _ACEOF
2769 :     rm -f conftest.$ac_objext conftest$ac_exeext
2770 :     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2771 :     (eval $ac_link) 2>&5
2772 :     ac_status=$?
2773 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 :     (exit $ac_status); } &&
2775 :     { ac_try='test -s conftest$ac_exeext'
2776 :     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2777 :     (eval $ac_try) 2>&5
2778 :     ac_status=$?
2779 :     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 :     (exit $ac_status); }; }; then
2781 : wieck 1.14 have_pqsetnoticereceiver=yes
2782 : wieck 1.1 else
2783 :     echo "$as_me: failed program was:" >&5
2784 : wieck 1.20 cat conftest.$ac_ext >&5
2785 : wieck 1.1 fi
2786 :     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2787 : wieck 1.14 echo "$as_me:$LINENO: result: $have_pqsetnoticereceiver" >&5
2788 :     echo "${ECHO_T}$have_pqsetnoticereceiver" >&6
2789 :     if test $have_pqsetnoticereceiver = yes ; then
2790 :     cat >>confdefs.h <<\_ACEOF
2791 :     #define HAVE_PQSETNOTICERECEIVER 1
2792 : wieck 1.1 _ACEOF
2793 :    
2794 :     fi
2795 :    
2796 : wieck 1.14 echo "$as_me:$LINENO: checking for typcache.h" >&5
2797 :     echo $ECHO_N "checking for typcache.h... $ECHO_C" >&6
2798 :     if test -f "${with_pgsourcetree}/src/include/utils/typcache.h"; then
2799 :     have_typcache=yes
2800 :     cat >>confdefs.h <<\_ACEOF
2801 :     #define HAVE_TYPCACHE 1
2802 :     _ACEOF
2803 : wieck 1.1
2804 : wieck 1.14 else
2805 :     have_typcache=no
2806 :     fi
2807 :     echo "$as_me:$LINENO: result: $have_typcache" >&5
2808 :     echo "${ECHO_T}$have_typcache" >&6
2809 : wieck 1.1
2810 : wieck 1.14 CFLAGS="$save_CFLAGS"
2811 :     LIBS="$save_LIBS"
2812 : wieck 1.1
2813 : wieck 1.20 ac_config_files="$ac_config_files Makefile.global GNUmakefile"
2814 : wieck 1.1
2815 :    
2816 : wieck 1.20 ac_config_files="$ac_config_files postgresql-slony1-engine.spec"
2817 : wieck 1.1 cat >confcache <<\_ACEOF
2818 :     # This file is a shell script that caches the results of configure
2819 :     # tests run on this system so they can be shared between configure
2820 :     # scripts and configure runs, see configure's option --config-cache.
2821 :     # It is not useful on other systems. If it contains results you don't
2822 :     # want to keep, you may remove or edit it.
2823 :     #
2824 :     # config.status only pays attention to the cache file if you give it
2825 :     # the --recheck option to rerun configure.
2826 :     #
2827 : wieck 1.20 # `ac_cv_env_foo' variables (set or unset) will be overriden when
2828 : wieck 1.1 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2829 :     # following values.
2830 :    
2831 :     _ACEOF
2832 :    
2833 :     # The following way of writing the cache mishandles newlines in values,
2834 :     # but we know of no workaround that is simple, portable, and efficient.
2835 :     # So, don't put newlines in cache variables' values.
2836 :     # Ultrix sh set writes to stderr and can't be redirected directly,
2837 :     # and sets the high bit in the cache file unless we assign to the vars.
2838 :     {
2839 :     (set) 2>&1 |
2840 :     case `(ac_space=' '; set | grep ac_space) 2>&1` in
2841 :     *ac_space=\ *)
2842 :     # `set' does not quote correctly, so add quotes (double-quote
2843 :     # substitution turns \\\\ into \\, and sed turns \\ into \).
2844 :     sed -n \
2845 :     "s/'/'\\\\''/g;
2846 :     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2847 :     ;;
2848 :     *)
2849 :     # `set' quotes correctly as required by POSIX, so do not add quotes.
2850 :     sed -n \
2851 :     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2852 :     ;;
2853 :     esac;
2854 :     } |
2855 :     sed '
2856 :     t clear
2857 :     : clear
2858 :     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2859 :     t end
2860 :     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2861 :     : end' >>confcache
2862 : wieck 1.20 if cmp -s $cache_file confcache; then :; else
2863 : wieck 1.1 if test -w $cache_file; then
2864 :     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2865 :     cat confcache >$cache_file
2866 :     else
2867 :     echo "not updating unwritable cache $cache_file"
2868 :     fi
2869 :     fi
2870 :     rm -f confcache
2871 :    
2872 :     test "x$prefix" = xNONE && prefix=$ac_default_prefix
2873 :     # Let make expand exec_prefix.
2874 :     test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2875 :    
2876 :     # VPATH may cause trouble with some makes, so we remove $(srcdir),
2877 :     # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2878 :     # trailing colons and then remove the whole line if VPATH becomes empty
2879 :     # (actually we leave an empty line to preserve line numbers).
2880 :     if test "x$srcdir" = x.; then
2881 :     ac_vpsub='/^[ ]*VPATH[ ]*=/{
2882 :     s/:*\$(srcdir):*/:/;
2883 :     s/:*\${srcdir}:*/:/;
2884 :     s/:*@srcdir@:*/:/;
2885 :     s/^\([^=]*=[ ]*\):*/\1/;
2886 :     s/:*$//;
2887 :     s/^[^=]*=[ ]*$//;
2888 :     }'
2889 :     fi
2890 :    
2891 :     DEFS=-DHAVE_CONFIG_H
2892 :    
2893 :    
2894 :     : ${CONFIG_STATUS=./config.status}
2895 :     ac_clean_files_save=$ac_clean_files
2896 :     ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2897 :     { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2898 :     echo "$as_me: creating $CONFIG_STATUS" >&6;}
2899 :     cat >$CONFIG_STATUS <<_ACEOF
2900 :     #! $SHELL
2901 :     # Generated by $as_me.
2902 :     # Run this file to recreate the current configuration.
2903 :     # Compiler output produced by configure, useful for debugging
2904 :     # configure, is in config.log if it exists.
2905 :    
2906 :     debug=false
2907 :     SHELL=\${CONFIG_SHELL-$SHELL}
2908 :     _ACEOF
2909 :    
2910 :     cat >>$CONFIG_STATUS <<\_ACEOF
2911 : wieck 1.20
2912 : wieck 1.1 ## --------------------- ##
2913 :     ## M4sh Initialization. ##
2914 :     ## --------------------- ##
2915 :    
2916 :     # Be Bourne compatible
2917 :     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2918 :     emulate sh
2919 :     NULLCMD=:
2920 :     elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2921 :     set -o posix
2922 :     fi
2923 :    
2924 : wieck 1.20 # NLS nuisances.
2925 : wieck 1.1 # Support unset when possible.
2926 :     if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2927 :     as_unset=unset
2928 :     else
2929 :     as_unset=false
2930 :     fi
2931 :    
2932 : wieck 1.20 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
2933 :     { $as_unset LANG || test "${LANG+set}" != set; } ||
2934 :     { LANG=C; export LANG; }
2935 :     (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
2936 :     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
2937 :     { LC_ALL=C; export LC_ALL; }
2938 :     (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
2939 :     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
2940 :     { LC_TIME=C; export LC_TIME; }
2941 :     (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
2942 :     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
2943 :     { LC_CTYPE=C; export LC_CTYPE; }
2944 :     (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
2945 :     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
2946 :     { LANGUAGE=C; export LANGUAGE; }
2947 :     (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
2948 :     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
2949 :     { LC_COLLATE=C; export LC_COLLATE; }
2950 :     (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
2951 :     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
2952 :     { LC_NUMERIC=C; export LC_NUMERIC; }
2953 :     (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
2954 :     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
2955 :     { LC_MESSAGES=C; export LC_MESSAGES; }
2956 : wieck 1.1
2957 :    
2958 :     # Name of the executable.
2959 : wieck 1.20 as_me=`(basename "$0") 2>/dev/null ||
2960 : wieck 1.1 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2961 :     X"$0" : 'X\(//\)$' \| \
2962 :     X"$0" : 'X\(/\)$' \| \
2963 :     . : '\(.\)' 2>/dev/null ||
2964 :     echo X/"$0" |
2965 :     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2966 :     /^X\/\(\/\/\)$/{ s//\1/; q; }
2967 :     /^X\/\(\/\).*/{ s//\1/; q; }
2968 :     s/.*/./; q'`
2969 :    
2970 :     # PATH needs CR, and LINENO needs CR and PATH.
2971 :     # Avoid depending upon Character Ranges.
2972 :     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2973 :     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2974 :     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2975 :     as_cr_digits='0123456789'
2976 :     as_cr_alnum=$as_cr_Letters$as_cr_digits
2977 :    
2978 :     # The user is always right.
2979 :     if test "${PATH_SEPARATOR+set}" != set; then
2980 : wieck 1.20 echo "#! /bin/sh" >conftest.sh
2981 :     echo "exit 0" >>conftest.sh
2982 :     chmod +x conftest.sh
2983 :     if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
2984 : wieck 1.1 PATH_SEPARATOR=';'
2985 :     else
2986 :     PATH_SEPARATOR=:
2987 :     fi
2988 : wieck 1.20 rm -f conftest.sh
2989 : wieck 1.1 fi
2990 :    
2991 :    
2992 :     as_lineno_1=$LINENO
2993 :     as_lineno_2=$LINENO
2994 :     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2995 :     test "x$as_lineno_1" != "x$as_lineno_2" &&
2996 :     test "x$as_lineno_3" = "x$as_lineno_2" || {
2997 :     # Find who we are. Look in the path if we contain no path at all
2998 :     # relative or not.
2999 :     case $0 in
3000 :     *[\\/]* ) as_myself=$0 ;;
3001 :     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002 :     for as_dir in $PATH
3003 :     do
3004 :     IFS=$as_save_IFS
3005 :     test -z "$as_dir" && as_dir=.
3006 :     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3007 :     done
3008 :    
3009 :     ;;
3010 :     esac
3011 :     # We did not find ourselves, most probably we were run as `sh COMMAND'
3012 :     # in which case we are not to be found in the path.
3013 :     if test "x$as_myself" = x; then
3014 :     as_myself=$0
3015 :     fi
3016 :     if test ! -f "$as_myself"; then
3017 :     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3018 :     echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3019 :     { (exit 1); exit 1; }; }
3020 :     fi
3021 :     case $CONFIG_SHELL in
3022 :     '')
3023 :     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024 :     for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3025 :     do
3026 :     IFS=$as_save_IFS
3027 :     test -z "$as_dir" && as_dir=.
3028 :     for as_base in sh bash ksh sh5; do
3029 :     case $as_dir in
3030 :     /*)
3031 :     if ("$as_dir/$as_base" -c '
3032 :     as_lineno_1=$LINENO
3033 :     as_lineno_2=$LINENO
3034 :     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3035 :     test "x$as_lineno_1" != "x$as_lineno_2" &&
3036 :     test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3037 :     CONFIG_SHELL=$as_dir/$as_base
3038 :     export CONFIG_SHELL
3039 :     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3040 :     fi;;
3041 :     esac
3042 :     done
3043 :     done
3044 :     ;;
3045 :     esac
3046 :    
3047 :     # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3048 :     # uniformly replaced by the line number. The first 'sed' inserts a
3049 :     # line-number line before each line; the second 'sed' does the real
3050 :     # work. The second script uses 'N' to pair each line-number line
3051 :     # with the numbered line, and appends trailing '-' during
3052 :     # substitution so that $LINENO is not a special case at line end.
3053 :     # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3054 :     # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3055 :     sed '=' <$as_myself |
3056 :     sed '
3057 :     N
3058 :     s,$,-,
3059 :     : loop
3060 :     s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3061 :     t loop
3062 :     s,-$,,
3063 :     s,^['$as_cr_digits']*\n,,
3064 :     ' >$as_me.lineno &&
3065 :     chmod +x $as_me.lineno ||
3066 :     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3067 :     echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3068 :     { (exit 1); exit 1; }; }
3069 :    
3070 :     # Don't try to exec as it changes $[0], causing all sort of problems
3071 :     # (the dirname of $[0] is not the place where we might find the
3072 :     # original and so on. Autoconf is especially sensible to this).
3073 :     . ./$as_me.lineno
3074 :     # Exit status is that of the last command.
3075 :     exit
3076 :     }
3077 :    
3078 :    
3079 :     case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3080 :     *c*,-n*) ECHO_N= ECHO_C='
3081 :     ' ECHO_T=' ' ;;
3082 :     *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3083 :     *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3084 :     esac
3085 :    
3086 :     if expr a : '\(a\)' >/dev/null 2>&1; then
3087 :     as_expr=expr
3088 :     else
3089 :     as_expr=false
3090 :     fi
3091 :    
3092 :     rm -f conf$$ conf$$.exe conf$$.file
3093 :     echo >conf$$.file
3094 :     if ln -s conf$$.file conf$$ 2>/dev/null; then
3095 :     # We could just check for DJGPP; but this test a) works b) is more generic
3096 :     # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3097 :     if test -f conf$$.exe; then
3098 :     # Don't use ln at all; we don't have any links
3099 :     as_ln_s='cp -p'
3100 :     else
3101 :     as_ln_s='ln -s'
3102 :     fi
3103 :     elif ln conf$$.file conf$$ 2>/dev/null; then
3104 :     as_ln_s=ln
3105 :     else
3106 :     as_ln_s='cp -p'
3107 :     fi
3108 :     rm -f conf$$ conf$$.exe conf$$.file
3109 :    
3110 :     as_executable_p="test -f"
3111 :    
3112 :     # Sed expression to map a string onto a valid CPP name.
3113 :     as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3114 :    
3115 :     # Sed expression to map a string onto a valid variable name.
3116 :     as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3117 :    
3118 :    
3119 :     # IFS
3120 :     # We need space, tab and new line, in precisely that order.
3121 :     as_nl='
3122 :     '
3123 :     IFS=" $as_nl"
3124 :    
3125 :     # CDPATH.
3126 : wieck 1.20 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
3127 : wieck 1.1
3128 :     exec 6>&1
3129 :    
3130 :     # Open the log real soon, to keep \$[0] and so on meaningful, and to
3131 :     # report actual input values of CONFIG_FILES etc. instead of their
3132 :     # values after options handling. Logging --version etc. is OK.
3133 :     exec 5>>config.log
3134 :     {
3135 :     echo
3136 :     sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3137 :     ## Running $as_me. ##
3138 :     _ASBOX
3139 :     } >&5
3140 :     cat >&5 <<_CSEOF
3141 :    
3142 : wieck 1.20 This file was extended by slony1-engine $as_me 1.0RC1, which was
3143 :     generated by GNU Autoconf 2.53. Invocation command line was
3144 : wieck 1.1
3145 :     CONFIG_FILES = $CONFIG_FILES
3146 :     CONFIG_HEADERS = $CONFIG_HEADERS
3147 :     CONFIG_LINKS = $CONFIG_LINKS
3148 :     CONFIG_COMMANDS = $CONFIG_COMMANDS
3149 :     $ $0 $@
3150 :    
3151 :     _CSEOF
3152 :     echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3153 :     echo >&5
3154 :     _ACEOF
3155 :    
3156 :     # Files that config.status was made for.
3157 :     if test -n "$ac_config_files"; then
3158 :     echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3159 :     fi
3160 :    
3161 :     if test -n "$ac_config_headers"; then
3162 :     echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3163 :     fi
3164 :    
3165 :     if test -n "$ac_config_links"; then
3166 :     echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3167 :     fi
3168 :    
3169 :     if test -n "$ac_config_commands"; then
3170 :     echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3171 :     fi
3172 :    
3173 :     cat >>$CONFIG_STATUS <<\_ACEOF
3174 :    
3175 :     ac_cs_usage="\
3176 :     \`$as_me' instantiates files from templates according to the
3177 :     current configuration.
3178 :    
3179 :     Usage: $0 [OPTIONS] [FILE]...
3180 :    
3181 :     -h, --help print this help, then exit
3182 :     -V, --version print version number, then exit
3183 :     -d, --debug don't remove temporary files
3184 :     --recheck update $as_me by reconfiguring in the same conditions
3185 :     --file=FILE[:TEMPLATE]
3186 :     instantiate the configuration file FILE
3187 :     --header=FILE[:TEMPLATE]
3188 :     instantiate the configuration header FILE
3189 :    
3190 :     Configuration files:
3191 :     $config_files
3192 :    
3193 :     Configuration headers:
3194 :     $config_headers
3195 :    
3196 :     Report bugs to <bug-autoconf@gnu.org>."
3197 :     _ACEOF
3198 :    
3199 :     cat >>$CONFIG_STATUS <<_ACEOF
3200 :     ac_cs_version="\\
3201 : wieck 1.20 slony1-engine config.status 1.0RC1
3202 :     configured by $0, generated by GNU Autoconf 2.53,
3203 : wieck 1.1 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3204 :    
3205 :     Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3206 :     Free Software Foundation, Inc.
3207 :     This config.status script is free software; the Free Software Foundation
3208 :     gives unlimited permission to copy, distribute and modify it."
3209 :     srcdir=$srcdir
3210 :     _ACEOF
3211 :    
3212 :     cat >>$CONFIG_STATUS <<\_ACEOF
3213 :     # If no file are specified by the user, then we need to provide default
3214 :     # value. By we need to know if files were specified by the user.
3215 :     ac_need_defaults=:
3216 :     while test $# != 0
3217 :     do
3218 :     case $1 in
3219 :     --*=*)
3220 :     ac_option=`expr "x$1" : 'x\([^=]*\)='`
3221 :     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3222 : wieck 1.20 shift
3223 :     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
3224 :     shift
3225 : wieck 1.1 ;;
3226 : wieck 1.20 -*);;
3227 : wieck 1.1 *) # This is not an option, so the user has probably given explicit
3228 :     # arguments.
3229 :     ac_need_defaults=false;;
3230 :     esac
3231 :    
3232 : wieck 1.20 case $1 in
3233 : wieck 1.1 # Handling of the options.
3234 :     _ACEOF
3235 : wieck 1.20 cat >>$CONFIG_STATUS <<_ACEOF
3236 :     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3237 :     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3238 :     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3239 :     _ACEOF
3240 : wieck 1.14 cat >>$CONFIG_STATUS <<\_ACEOF
3241 : wieck 1.1 --version | --vers* | -V )
3242 :     echo "$ac_cs_version"; exit 0 ;;
3243 :     --he | --h)
3244 :     # Conflict between --help and --header
3245 :     { { echo "$as_me:$LINENO: error: ambiguous option: $1
3246 :     Try \`$0 --help' for more information." >&5
3247 :     echo "$as_me: error: ambiguous option: $1
3248 :     Try \`$0 --help' for more information." >&2;}
3249 :     { (exit 1); exit 1; }; };;
3250 :     --help | --hel | -h )
3251 :     echo "$ac_cs_usage"; exit 0 ;;
3252 :     --debug | --d* | -d )
3253 :     debug=: ;;
3254 :     --file | --fil | --fi | --f )
3255 : wieck 1.20 shift
3256 :     CONFIG_FILES="$CONFIG_FILES $1"
3257 : wieck 1.1 ac_need_defaults=false;;
3258 :     --header | --heade | --head | --hea )
3259 : wieck 1.20 shift
3260 :     CONFIG_HEADERS="$CONFIG_HEADERS $1"
3261 : wieck 1.1 ac_need_defaults=false;;
3262 :    
3263 :     # This is an error.
3264 :     -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3265 :     Try \`$0 --help' for more information." >&5
3266 :     echo "$as_me: error: unrecognized option: $1
3267 :     Try \`$0 --help' for more information." >&2;}
3268 :     { (exit 1); exit 1; }; } ;;
3269 :    
3270 :     *) ac_config_targets="$ac_config_targets $1" ;;
3271 :    
3272 :     esac
3273 :     shift
3274 :     done
3275 :    
3276 :     _ACEOF
3277 :    
3278 :    
3279 :    
3280 :    
3281 :    
3282 :     cat >>$CONFIG_STATUS <<\_ACEOF
3283 :     for ac_config_target in $ac_config_targets
3284 :     do
3285 :     case "$ac_config_target" in
3286 :     # Handling of arguments.
3287 :     "Makefile.global" ) CONFIG_FILES="$CONFIG_FILES Makefile.global" ;;
3288 : wieck 1.19 "GNUmakefile" ) CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
3289 : wieck 1.12 "postgresql-slony1-engine.spec" ) CONFIG_FILES="$CONFIG_FILES postgresql-slony1-engine.spec" ;;
3290 : wieck 1.1 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3291 :     *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3292 :     echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3293 :     { (exit 1); exit 1; }; };;
3294 :     esac
3295 :     done
3296 :    
3297 :     # If the user did not use the arguments to specify the items to instantiate,
3298 :     # then the envvar interface is used. Set only those that are not.
3299 :     # We use the long form for the default assignment because of an extremely
3300 :     # bizarre bug on SunOS 4.1.3.
3301 :     if $ac_need_defaults; then
3302 :     test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3303 :     test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3304 :     fi
3305 :    
3306 :     # Create a temporary directory, and hook for its removal unless debugging.
3307 :     $debug ||
3308 :     {
3309 :     trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3310 :     trap '{ (exit 1); exit 1; }' 1 2 13 15
3311 :     }
3312 :    
3313 :     # Create a (secure) tmp directory for tmp files.
3314 : wieck 1.20 : ${TMPDIR=/tmp}
3315 : wieck 1.1 {
3316 : wieck 1.20 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3317 : wieck 1.1 test -n "$tmp" && test -d "$tmp"
3318 :     } ||
3319 :     {
3320 : wieck 1.20 tmp=$TMPDIR/cs$$-$RANDOM
3321 : wieck 1.1 (umask 077 && mkdir $tmp)
3322 :     } ||
3323 :     {
3324 : wieck 1.20 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3325 : wieck 1.1 { (exit 1); exit 1; }
3326 :     }
3327 :    
3328 :     _ACEOF
3329 :    
3330 :     cat >>$CONFIG_STATUS <<_ACEOF
3331 :    
3332 :     #
3333 :     # CONFIG_FILES section.
3334 :     #
3335 :    
3336 :     # No need to generate the scripts if there are no CONFIG_FILES.
3337 :     # This happens for instance when ./config.status config.h
3338 :     if test -n "\$CONFIG_FILES"; then
3339 :     # Protect against being on the right side of a sed subst in config.status.
3340 :     sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3341 :     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3342 :     s,@SHELL@,$SHELL,;t t
3343 :     s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3344 :     s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3345 :     s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3346 :     s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3347 :     s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3348 :     s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3349 :     s,@exec_prefix@,$exec_prefix,;t t
3350 :     s,@prefix@,$prefix,;t t
3351 :     s,@program_transform_name@,$program_transform_name,;t t
3352 :     s,@bindir@,$bindir,;t t
3353 :     s,@sbindir@,$sbindir,;t t
3354 :     s,@libexecdir@,$libexecdir,;t t
3355 :     s,@datadir@,$datadir,;t t
3356 :     s,@sysconfdir@,$sysconfdir,;t t
3357 :     s,@sharedstatedir@,$sharedstatedir,;t t
3358 :     s,@localstatedir@,$localstatedir,;t t
3359 :     s,@libdir@,$libdir,;t t
3360 :     s,@includedir@,$includedir,;t t
3361 :     s,@oldincludedir@,$oldincludedir,;t t
3362 :     s,@infodir@,$infodir,;t t
3363 :     s,@mandir@,$mandir,;t t
3364 :     s,@build_alias@,$build_alias,;t t
3365 :     s,@host_alias@,$host_alias,;t t
3366 :     s,@target_alias@,$target_alias,;t t
3367 :     s,@DEFS@,$DEFS,;t t
3368 :     s,@ECHO_C@,$ECHO_C,;t t
3369 :     s,@ECHO_N@,$ECHO_N,;t t
3370 :     s,@ECHO_T@,$ECHO_T,;t t
3371 :     s,@LIBS@,$LIBS,;t t
3372 :     s,@build@,$build,;t t
3373 :     s,@build_cpu@,$build_cpu,;t t
3374 :     s,@build_vendor@,$build_vendor,;t t
3375 :     s,@build_os@,$build_os,;t t
3376 :     s,@host@,$host,;t t
3377 :     s,@host_cpu@,$host_cpu,;t t
3378 :     s,@host_vendor@,$host_vendor,;t t
3379 :     s,@host_os@,$host_os,;t t
3380 :     s,@CC@,$CC,;t t
3381 :     s,@CFLAGS@,$CFLAGS,;t t
3382 :     s,@LDFLAGS@,$LDFLAGS,;t t
3383 :     s,@CPPFLAGS@,$CPPFLAGS,;t t
3384 :     s,@ac_ct_CC@,$ac_ct_CC,;t t
3385 :     s,@EXEEXT@,$EXEEXT,;t t
3386 :     s,@OBJEXT@,$OBJEXT,;t t
3387 :     s,@LD@,$LD,;t t
3388 :     s,@with_gnu_ld@,$with_gnu_ld,;t t
3389 : wieck 1.2 s,@acx_pthread_config@,$acx_pthread_config,;t t
3390 :     s,@PTHREAD_CC@,$PTHREAD_CC,;t t
3391 :     s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t
3392 :     s,@PTHREAD_CFLAGS@,$PTHREAD_CFLAGS,;t t
3393 : wieck 1.14 s,@PGSOURCETREE@,$PGSOURCETREE,;t t
3394 : wieck 1.1 CEOF
3395 :    
3396 :     _ACEOF
3397 :    
3398 :     cat >>$CONFIG_STATUS <<\_ACEOF
3399 :     # Split the substitutions into bite-sized pieces for seds with
3400 :     # small command number limits, like on Digital OSF/1 and HP-UX.
3401 :     ac_max_sed_lines=48
3402 :     ac_sed_frag=1 # Number of current file.
3403 :     ac_beg=1 # First line for current file.
3404 :     ac_end=$ac_max_sed_lines # Line after last line for current file.
3405 :     ac_more_lines=:
3406 :     ac_sed_cmds=
3407 :     while $ac_more_lines; do
3408 :     if test $ac_beg -gt 1; then
3409 :     sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3410 :     else
3411 :     sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3412 :     fi
3413 :     if test ! -s $tmp/subs.frag; then
3414 :     ac_more_lines=false
3415 :     else
3416 :     # The purpose of the label and of the branching condition is to
3417 :     # speed up the sed processing (if there are no `@' at all, there
3418 :     # is no need to browse any of the substitutions).
3419 :     # These are the two extra sed commands mentioned above.
3420 :     (echo ':t
3421 :     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3422 :     if test -z "$ac_sed_cmds"; then
3423 :     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3424 :     else
3425 :     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3426 :     fi
3427 :     ac_sed_frag=`expr $ac_sed_frag + 1`
3428 :     ac_beg=$ac_end
3429 :     ac_end=`expr $ac_end + $ac_max_sed_lines`
3430 :     fi
3431 :     done
3432 :     if test -z "$ac_sed_cmds"; then
3433 :     ac_sed_cmds=cat
3434 :     fi
3435 :     fi # test -n "$CONFIG_FILES"
3436 :    
3437 :     _ACEOF
3438 :     cat >>$CONFIG_STATUS <<\_ACEOF
3439 :     for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3440 :     # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3441 :     case $ac_file in
3442 :     - | *:- | *:-:* ) # input from stdin
3443 :     cat >$tmp/stdin
3444 :     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3445 :     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3446 :     *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3447 :     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3448 :     * ) ac_file_in=$ac_file.in ;;
3449 :     esac
3450 :    
3451 :     # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3452 :     ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3453 :     $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3454 :     X"$ac_file" : 'X\(//\)[^/]' \| \
3455 :     X"$ac_file" : 'X\(//\)$' \| \
3456 :     X"$ac_file" : 'X\(/\)' \| \
3457 :     . : '\(.\)' 2>/dev/null ||
3458 :     echo X"$ac_file" |
3459 :     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3460 :     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3461 :     /^X\(\/\/\)$/{ s//\1/; q; }
3462 :     /^X\(\/\).*/{ s//\1/; q; }
3463 :     s/.*/./; q'`
3464 : wieck 1.20 { case "$ac_dir" in
3465 :     [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3466 :     *) as_incr_dir=.;;
3467 :     esac
3468 :     as_dummy="$ac_dir"
3469 :     for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3470 :     case $as_mkdir_dir in
3471 :     # Skip DOS drivespec
3472 :     ?:) as_incr_dir=$as_mkdir_dir ;;
3473 :     *)
3474 :     as_incr_dir=$as_incr_dir/$as_mkdir_dir
3475 :     test -d "$as_incr_dir" ||
3476 :     mkdir "$as_incr_dir" ||
3477 :     { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
3478 :     echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
3479 :     { (exit 1); exit 1; }; }
3480 :     ;;
3481 :     esac
3482 :     done; }
3483 : wieck 1.1
3484 :     ac_builddir=.
3485 :    
3486 :     if test "$ac_dir" != .; then
3487 :     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3488 :     # A "../" for each directory in $ac_dir_suffix.
3489 :     ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3490 :     else
3491 :     ac_dir_suffix= ac_top_builddir=
3492 :     fi
3493 :    
3494 :     case $srcdir in
3495 :     .) # No --srcdir option. We are building in place.
3496 :     ac_srcdir=.
3497 :     if test -z "$ac_top_builddir"; then
3498 :     ac_top_srcdir=.
3499 :     else
3500 :     ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3501 :     fi ;;
3502 :     [\\/]* | ?:[\\/]* ) # Absolute path.
3503 :     ac_srcdir=$srcdir$ac_dir_suffix;
3504 :     ac_top_srcdir=$srcdir ;;
3505 :     *) # Relative path.
3506 :     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3507 :     ac_top_srcdir=$ac_top_builddir$srcdir ;;
3508 :     esac
3509 :     # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3510 :     # absolute.
3511 :     ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
3512 :     ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
3513 :     ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3514 :     ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
3515 :    
3516 :    
3517 :    
3518 :     if test x"$ac_file" != x-; then
3519 :     { echo "$as_me:$LINENO: creating $ac_file" >&5
3520 :     echo "$as_me: creating $ac_file" >&6;}
3521 :     rm -f "$ac_file"
3522 :     fi
3523 :     # Let's still pretend it is `configure' which instantiates (i.e., don't
3524 :     # use $as_me), people would be surprised to read:
3525 :     # /* config.h. Generated by config.status. */
3526 :     if test x"$ac_file" = x-; then
3527 :     configure_input=
3528 :     else
3529 :     configure_input="$ac_file. "
3530 :     fi
3531 :     configure_input=$configure_input"Generated from `echo $ac_file_in |
3532 :     sed 's,.*/,,'` by configure."
3533 :    
3534 :     # First look for the input files in the build tree, otherwise in the
3535 :     # src tree.
3536 :     ac_file_inputs=`IFS=:
3537 :     for f in $ac_file_in; do
3538 :     case $f in
3539 :     -) echo $tmp/stdin ;;
3540 :     [\\/$]*)
3541 :     # Absolute (can't be DOS-style, as IFS=:)
3542 :     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3543 :     echo "$as_me: error: cannot find input file: $f" >&2;}
3544 :     { (exit 1); exit 1; }; }
3545 :     echo $f;;
3546 :     *) # Relative
3547 :     if test -f "$f"; then
3548 :     # Build tree
3549 :     echo $f
3550 :     elif test -f "$srcdir/$f"; then
3551 :     # Source tree
3552 :     echo $srcdir/$f
3553 :     else
3554 :     # /dev/null tree
3555 :     { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3556 :     echo "$as_me: error: cannot find input file: $f" >&2;}
3557 :     { (exit 1); exit 1; }; }
3558 :     fi;;
3559 :     esac
3560 :     done` || { (exit 1); exit 1; }
3561 :     _ACEOF
3562 :     cat >>$CONFIG_STATUS <<_ACEOF
3563 :     sed "$ac_vpsub
3564 :     $extrasub
3565 :     _ACEOF
3566 :     cat >>$CONFIG_STATUS <<\_ACEOF
3567 :     :t
3568 :     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3569 :     s,@configure_input@,$configure_input,;t t
3570 :     s,@srcdir@,$ac_srcdir,;t t
3571 :     s,@abs_srcdir@,$ac_abs_srcdir,;t t
3572 :     s,@top_srcdir@,$ac_top_srcdir,;t t
3573 :     s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3574 :     s,@builddir@,$ac_builddir,;t t
3575 :     s,@abs_builddir@,$ac_abs_builddir,;t t
3576 :     s,@top_builddir@,$ac_top_builddir,;t t
3577 :     s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3578 :     " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3579 :     rm -f $tmp/stdin
3580 :     if test x"$ac_file" != x-; then
3581 :     mv $tmp/out $ac_file
3582 :     else
3583 :     cat $tmp/out
3584 :     rm -f $tmp/out
3585 :     fi
3586 :    
3587 :     done
3588 :     _ACEOF
3589 :     cat >>$CONFIG_STATUS <<\_ACEOF
3590 :    
3591 :     #
3592 :     # CONFIG_HEADER section.
3593 :     #
3594 :    
3595 :     # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3596 :     # NAME is the cpp macro being defined and VALUE is the value it is being given.
3597 :     #
3598 :     # ac_d sets the value in "#define NAME VALUE" lines.
3599 :     ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3600 :     ac_dB='[ ].*$,\1#\2'
3601 :     ac_dC=' '
3602 :     ac_dD=',;t'
3603 :     # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3604 :     ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3605 :     ac_uB='$,\1#\2define\3'
3606 :     ac_uC=' '
3607 :     ac_uD=',;t'
3608 :    
3609 :     for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3610 :     # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3611 :     case $ac_file in
3612 :     - | *:- | *:-:* ) # input from stdin
3613 :     cat >$tmp/stdin
3614 :     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3615 :     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3616 :     *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3617 :     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3618 :     * ) ac_file_in=$ac_file.in ;;
3619 :     esac
3620 :    
3621 :     test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3622 :     echo "$as_me: creating $ac_file" >&6;}
3623 :    
3624 :     # First look for the input files in the build tree, otherwise in the
3625 :     # src tree.
3626 :     ac_file_inputs=`IFS=:
3627 :     for f in $ac_file_in; do
3628 :     case $f in
3629 :     -) echo $tmp/stdin ;;
3630 :     [\\/$]*)
3631 :     # Absolute (can't be DOS-style, as IFS=:)
3632 :     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3633 :     echo "$as_me: error: cannot find input file: $f" >&2;}
3634 :     { (exit 1); exit 1; }; }
3635 :     echo $f;;
3636 :     *) # Relative
3637 :     if test -f "$f"; then
3638 :     # Build tree
3639 :     echo $f
3640 :     elif test -f "$srcdir/$f"; then
3641 :     # Source tree
3642 :     echo $srcdir/$f
3643 :     else
3644 :     # /dev/null tree
3645 :     { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3646 :     echo "$as_me: error: cannot find input file: $f" >&2;}
3647 :     { (exit 1); exit 1; }; }
3648 :     fi;;
3649 :     esac
3650 :     done` || { (exit 1); exit 1; }
3651 :     # Remove the trailing spaces.
3652 :     sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3653 :    
3654 :     _ACEOF
3655 :    
3656 :     # Transform confdefs.h into two sed scripts, `conftest.defines' and
3657 :     # `conftest.undefs', that substitutes the proper values into
3658 :     # config.h.in to produce config.h. The first handles `#define'
3659 :     # templates, and the second `#undef' templates.
3660 :     # And first: Protect against being on the right side of a sed subst in
3661 :     # config.status. Protect against being in an unquoted here document
3662 :     # in config.status.
3663 :     rm -f conftest.defines conftest.undefs
3664 :     # Using a here document instead of a string reduces the quoting nightmare.
3665 :     # Putting comments in sed scripts is not portable.
3666 :     #
3667 :     # `end' is used to avoid that the second main sed command (meant for
3668 :     # 0-ary CPP macros) applies to n-ary macro definitions.
3669 :     # See the Autoconf documentation for `clear'.
3670 :     cat >confdef2sed.sed <<\_ACEOF
3671 :     s/[\\&,]/\\&/g
3672 :     s,[\\$`],\\&,g
3673 :     t clear
3674 :     : clear
3675 :     s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3676 :     t end
3677 :     s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3678 :     : end
3679 :     _ACEOF
3680 :     # If some macros were called several times there might be several times
3681 :     # the same #defines, which is useless. Nevertheless, we may not want to
3682 :     # sort them, since we want the *last* AC-DEFINE to be honored.
3683 :     uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3684 :     sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3685 :     rm -f confdef2sed.sed
3686 :    
3687 :     # This sed command replaces #undef with comments. This is necessary, for
3688 :     # example, in the case of _POSIX_SOURCE, which is predefined and required
3689 :     # on some systems where configure will not decide to define it.
3690 :     cat >>conftest.undefs <<\_ACEOF
3691 :     s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3692 :     _ACEOF
3693 :    
3694 :     # Break up conftest.defines because some shells have a limit on the size
3695 :     # of here documents, and old seds have small limits too (100 cmds).
3696 :     echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3697 : wieck 1.20 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3698 : wieck 1.1 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3699 :     echo ' :' >>$CONFIG_STATUS
3700 :     rm -f conftest.tail
3701 :     while grep . conftest.defines >/dev/null
3702 :     do
3703 :     # Write a limited-size here document to $tmp/defines.sed.
3704 :     echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3705 :     # Speed up: don't consider the non `#define' lines.
3706 :     echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
3707 :     # Work around the forget-to-reset-the-flag bug.
3708 :     echo 't clr' >>$CONFIG_STATUS
3709 :     echo ': clr' >>$CONFIG_STATUS
3710 :     sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3711 :     echo 'CEOF
3712 :     sed -f $tmp/defines.sed $tmp/in >$tmp/out
3713 :     rm -f $tmp/in
3714 :     mv $tmp/out $tmp/in
3715 :     ' >>$CONFIG_STATUS
3716 :     sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3717 :     rm -f conftest.defines
3718 :     mv conftest.tail conftest.defines
3719 :     done
3720 :     rm -f conftest.defines
3721 : wieck 1.20 echo ' fi # egrep' >>$CONFIG_STATUS
3722 : wieck 1.1 echo >>$CONFIG_STATUS
3723 :    
3724 :     # Break up conftest.undefs because some shells have a limit on the size
3725 :     # of here documents, and old seds have small limits too (100 cmds).
3726 :     echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
3727 :     rm -f conftest.tail
3728 :     while grep . conftest.undefs >/dev/null
3729 :     do
3730 :     # Write a limited-size here document to $tmp/undefs.sed.
3731 :     echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3732 :     # Speed up: don't consider the non `#undef'
3733 :     echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
3734 :     # Work around the forget-to-reset-the-flag bug.
3735 :     echo 't clr' >>$CONFIG_STATUS
3736 :     echo ': clr' >>$CONFIG_STATUS
3737 :     sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3738 :     echo 'CEOF
3739 :     sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3740 :     rm -f $tmp/in
3741 :     mv $tmp/out $tmp/in
3742 :     ' >>$CONFIG_STATUS
3743 :     sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3744 :     rm -f conftest.undefs
3745 :     mv conftest.tail conftest.undefs
3746 :     done
3747 :     rm -f conftest.undefs
3748 :    
3749 :     cat >>$CONFIG_STATUS <<\_ACEOF
3750 :     # Let's still pretend it is `configure' which instantiates (i.e., don't
3751 :     # use $as_me), people would be surprised to read:
3752 :     # /* config.h. Generated by config.status. */
3753 :     if test x"$ac_file" = x-; then
3754 :     echo "/* Generated by configure. */" >$tmp/config.h
3755 :     else
3756 :     echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
3757 :     fi
3758 :     cat $tmp/in >>$tmp/config.h
3759 :     rm -f $tmp/in
3760 :     if test x"$ac_file" != x-; then
3761 : wieck 1.20 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
3762 : wieck 1.1 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3763 :     echo "$as_me: $ac_file is unchanged" >&6;}
3764 :     else
3765 :     ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3766 :     $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3767 :     X"$ac_file" : 'X\(//\)[^/]' \| \
3768 :     X"$ac_file" : 'X\(//\)$' \| \
3769 :     X"$ac_file" : 'X\(/\)' \| \
3770 :     . : '\(.\)' 2>/dev/null ||
3771 :     echo X"$ac_file" |
3772 :     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3773 :     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3774 :     /^X\(\/\/\)$/{ s//\1/; q; }
3775 :     /^X\(\/\).*/{ s//\1/; q; }
3776 :     s/.*/./; q'`
3777 : wieck 1.20 { case "$ac_dir" in
3778 :     [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3779 :     *) as_incr_dir=.;;
3780 :     esac
3781 :     as_dummy="$ac_dir"
3782 :     for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3783 :     case $as_mkdir_dir in
3784 :     # Skip DOS drivespec
3785 :     ?:) as_incr_dir=$as_mkdir_dir ;;
3786 :     *)
3787 :     as_incr_dir=$as_incr_dir/$as_mkdir_dir
3788 :     test -d "$as_incr_dir" ||
3789 :     mkdir "$as_incr_dir" ||
3790 :     { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
3791 :     echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
3792 :     { (exit 1); exit 1; }; }
3793 :     ;;
3794 :     esac
3795 :     done; }
3796 : wieck 1.1
3797 :     rm -f $ac_file
3798 :     mv $tmp/config.h $ac_file
3799 :     fi
3800 :     else
3801 :     cat $tmp/config.h
3802 :     rm -f $tmp/config.h
3803 :     fi
3804 :     done
3805 :     _ACEOF
3806 :    
3807 :     cat >>$CONFIG_STATUS <<\_ACEOF
3808 :    
3809 :     { (exit 0); exit 0; }
3810 :     _ACEOF
3811 :     chmod +x $CONFIG_STATUS
3812 :     ac_clean_files=$ac_clean_files_save
3813 :    
3814 :    
3815 :     # configure is writing to config.log, and then calls config.status.
3816 :     # config.status does its own redirection, appending to config.log.
3817 :     # Unfortunately, on DOS this fails, as config.log is still kept open
3818 :     # by configure, so config.status won't be able to write to it; its
3819 :     # output is simply discarded. So we exec the FD to /dev/null,
3820 :     # effectively closing config.log, so it can be properly (re)opened and
3821 :     # appended to by config.status. When coming back to configure, we
3822 :     # need to make the FD available again.
3823 :     if test "$no_create" != yes; then
3824 :     ac_cs_success=:
3825 :     exec 5>/dev/null
3826 : wieck 1.20 $SHELL $CONFIG_STATUS || ac_cs_success=false
3827 : wieck 1.1 exec 5>>config.log
3828 :     # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3829 :     # would make configure fail if this is the last instruction.
3830 :     $ac_cs_success || { (exit 1); exit 1; }
3831 :     fi
3832 :    

ViewVC Help
Powered by ViewVC 1.0.3