source: libfaim/configure @ 7f19876

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