/[svn]/ircd-hybrid-7.2/tools/rsa_respond/configure
ViewVC logotype

Contents of /ircd-hybrid-7.2/tools/rsa_respond/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 34 - (show annotations)
Sun Oct 2 21:05:51 2005 UTC (14 years, 11 months ago) by lusky
File size: 97112 byte(s)
create 7.2 branch, we can move/rename it as needed.


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

Properties

Name Value
svn:eol-style native
svn:keywords Id Revision

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28