ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/Search/trunk/configure
(Generate patch)

Comparing Search/trunk/configure (file contents):
Revision 386 by douglas, 2008-08-23T03:29:42-07:00 vs.
Revision 387 by douglas, 2011-12-30T16:21:06-08:00

# Line 1 | Line 1
1   #! /bin/sh
2   # Guess values for system-dependent variables and create Makefiles.
3 < # Generated by GNU Autoconf 2.59.
3 > # Generated by GNU Autoconf 2.68.
4 > #
5 > #
6 > # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 > # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 > # Foundation, Inc.
9 > #
10   #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
11   # This configure script is free software; the Free Software Foundation
12   # gives unlimited permission to copy, distribute and modify it.
13 < ## --------------------- ##
14 < ## M4sh Initialization.  ##
15 < ## --------------------- ##
13 > ## -------------------- ##
14 > ## M4sh Initialization. ##
15 > ## -------------------- ##
16  
17 < # Be Bourne compatible
18 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 > # Be more Bourne compatible
18 > DUALCASE=1; export DUALCASE # for MKS sh
19 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20    emulate sh
21    NULLCMD=:
22 <  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 >  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23    # is contrary to our usage.  Disable this feature.
24    alias -g '${1+"$@"}'='"$@"'
25 < elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 <  set -o posix
25 >  setopt NO_GLOB_SUBST
26 > else
27 >  case `(set -o) 2>/dev/null` in #(
28 >  *posix*) :
29 >    set -o posix ;; #(
30 >  *) :
31 >     ;;
32 > esac
33   fi
22 DUALCASE=1; export DUALCASE # for MKS sh
34  
35 < # Support unset when possible.
36 < if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
37 <  as_unset=unset
38 < else
39 <  as_unset=false
35 >
36 > as_nl='
37 > '
38 > export as_nl
39 > # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 > as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 > as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 > as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 > # Prefer a ksh shell builtin over an external printf program on Solaris,
44 > # but without wasting forks for bash or zsh.
45 > if test -z "$BASH_VERSION$ZSH_VERSION" \
46 >    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 >  as_echo='print -r --'
48 >  as_echo_n='print -rn --'
49 > elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 >  as_echo='printf %s\n'
51 >  as_echo_n='printf %s'
52 > else
53 >  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 >    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 >    as_echo_n='/usr/ucb/echo -n'
56 >  else
57 >    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 >    as_echo_n_body='eval
59 >      arg=$1;
60 >      case $arg in #(
61 >      *"$as_nl"*)
62 >        expr "X$arg" : "X\\(.*\\)$as_nl";
63 >        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 >      esac;
65 >      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 >    '
67 >    export as_echo_n_body
68 >    as_echo_n='sh -c $as_echo_n_body as_echo'
69 >  fi
70 >  export as_echo_body
71 >  as_echo='sh -c $as_echo_body as_echo'
72   fi
73  
74 + # The user is always right.
75 + if test "${PATH_SEPARATOR+set}" != set; then
76 +  PATH_SEPARATOR=:
77 +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 +      PATH_SEPARATOR=';'
80 +  }
81 + fi
82  
83 < # Work around bugs in pre-3.0 UWIN ksh.
84 < $as_unset ENV MAIL MAILPATH
83 >
84 > # IFS
85 > # We need space, tab and new line, in precisely that order.  Quoting is
86 > # there to prevent editors from complaining about space-tab.
87 > # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 > # splitting by setting IFS to empty value.)
89 > IFS=" ""        $as_nl"
90 >
91 > # Find who we are.  Look in the path if we contain no directory separator.
92 > as_myself=
93 > case $0 in #((
94 >  *[\\/]* ) as_myself=$0 ;;
95 >  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 > for as_dir in $PATH
97 > do
98 >  IFS=$as_save_IFS
99 >  test -z "$as_dir" && as_dir=.
100 >    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 >  done
102 > IFS=$as_save_IFS
103 >
104 >     ;;
105 > esac
106 > # We did not find ourselves, most probably we were run as `sh COMMAND'
107 > # in which case we are not to be found in the path.
108 > if test "x$as_myself" = x; then
109 >  as_myself=$0
110 > fi
111 > if test ! -f "$as_myself"; then
112 >  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 >  exit 1
114 > fi
115 >
116 > # Unset variables that we do not need and which cause bugs (e.g. in
117 > # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 > # suppresses any "Segmentation fault" message there.  '((' could
119 > # trigger a bug in pdksh 5.2.14.
120 > for as_var in BASH_ENV ENV MAIL MAILPATH
121 > do eval test x\${$as_var+set} = xset \
122 >  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 > done
124   PS1='$ '
125   PS2='> '
126   PS4='+ '
127  
128   # NLS nuisances.
129 < for as_var in \
130 <  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
131 <  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
132 <  LC_TELEPHONE LC_TIME
129 > LC_ALL=C
130 > export LC_ALL
131 > LANGUAGE=C
132 > export LANGUAGE
133 >
134 > # CDPATH.
135 > (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 >
137 > if test "x$CONFIG_SHELL" = x; then
138 >  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139 >  emulate sh
140 >  NULLCMD=:
141 >  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 >  # is contrary to our usage.  Disable this feature.
143 >  alias -g '\${1+\"\$@\"}'='\"\$@\"'
144 >  setopt NO_GLOB_SUBST
145 > else
146 >  case \`(set -o) 2>/dev/null\` in #(
147 >  *posix*) :
148 >    set -o posix ;; #(
149 >  *) :
150 >     ;;
151 > esac
152 > fi
153 > "
154 >  as_required="as_fn_return () { (exit \$1); }
155 > as_fn_success () { as_fn_return 0; }
156 > as_fn_failure () { as_fn_return 1; }
157 > as_fn_ret_success () { return 0; }
158 > as_fn_ret_failure () { return 1; }
159 >
160 > exitcode=0
161 > as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 > as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 > as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 > as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 > if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166 >
167 > else
168 >  exitcode=1; echo positional parameters were not saved.
169 > fi
170 > test x\$exitcode = x0 || exit 1"
171 >  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 >  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 >  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 >  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
175 >  if (eval "$as_required") 2>/dev/null; then :
176 >  as_have_required=yes
177 > else
178 >  as_have_required=no
179 > fi
180 >  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181 >
182 > else
183 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 > as_found=false
185 > for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186   do
187 <  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
188 <    eval $as_var=C; export $as_var
187 >  IFS=$as_save_IFS
188 >  test -z "$as_dir" && as_dir=.
189 >  as_found=:
190 >  case $as_dir in #(
191 >         /*)
192 >           for as_base in sh bash ksh sh5; do
193 >             # Try only shells that exist, to save several forks.
194 >             as_shell=$as_dir/$as_base
195 >             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 >                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 >  CONFIG_SHELL=$as_shell as_have_required=yes
198 >                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 >  break 2
200 > fi
201 > fi
202 >           done;;
203 >       esac
204 >  as_found=false
205 > done
206 > $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 >              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 >  CONFIG_SHELL=$SHELL as_have_required=yes
209 > fi; }
210 > IFS=$as_save_IFS
211 >
212 >
213 >      if test "x$CONFIG_SHELL" != x; then :
214 >  # We cannot yet assume a decent shell, so we have to provide a
215 >        # neutralization value for shells without unset; and this also
216 >        # works around shells that cannot unset nonexistent variables.
217 >        # Preserve -v and -x to the replacement shell.
218 >        BASH_ENV=/dev/null
219 >        ENV=/dev/null
220 >        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 >        export CONFIG_SHELL
222 >        case $- in # ((((
223 >          *v*x* | *x*v* ) as_opts=-vx ;;
224 >          *v* ) as_opts=-v ;;
225 >          *x* ) as_opts=-x ;;
226 >          * ) as_opts= ;;
227 >        esac
228 >        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
229 > fi
230 >
231 >    if test x$as_have_required = xno; then :
232 >  $as_echo "$0: This script requires a shell more modern than all"
233 >  $as_echo "$0: the shells that I found on your system."
234 >  if test x${ZSH_VERSION+set} = xset ; then
235 >    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
236 >    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237    else
238 <    $as_unset $as_var
238 >    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
239 > $0: including any error possibly output before this
240 > $0: message. Then install a modern shell, or manually run
241 > $0: the script under such a shell if you do have one."
242    fi
243 < done
243 >  exit 1
244 > fi
245 > fi
246 > fi
247 > SHELL=${CONFIG_SHELL-/bin/sh}
248 > export SHELL
249 > # Unset more variables known to interfere with behavior of common tools.
250 > CLICOLOR_FORCE= GREP_OPTIONS=
251 > unset CLICOLOR_FORCE GREP_OPTIONS
252 >
253 > ## --------------------- ##
254 > ## M4sh Shell Functions. ##
255 > ## --------------------- ##
256 > # as_fn_unset VAR
257 > # ---------------
258 > # Portably unset VAR.
259 > as_fn_unset ()
260 > {
261 >  { eval $1=; unset $1;}
262 > }
263 > as_unset=as_fn_unset
264 >
265 > # as_fn_set_status STATUS
266 > # -----------------------
267 > # Set $? to STATUS, without forking.
268 > as_fn_set_status ()
269 > {
270 >  return $1
271 > } # as_fn_set_status
272 >
273 > # as_fn_exit STATUS
274 > # -----------------
275 > # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 > as_fn_exit ()
277 > {
278 >  set +e
279 >  as_fn_set_status $1
280 >  exit $1
281 > } # as_fn_exit
282 >
283 > # as_fn_mkdir_p
284 > # -------------
285 > # Create "$as_dir" as a directory, including parents if necessary.
286 > as_fn_mkdir_p ()
287 > {
288 >
289 >  case $as_dir in #(
290 >  -*) as_dir=./$as_dir;;
291 >  esac
292 >  test -d "$as_dir" || eval $as_mkdir_p || {
293 >    as_dirs=
294 >    while :; do
295 >      case $as_dir in #(
296 >      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
297 >      *) as_qdir=$as_dir;;
298 >      esac
299 >      as_dirs="'$as_qdir' $as_dirs"
300 >      as_dir=`$as_dirname -- "$as_dir" ||
301 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
302 >         X"$as_dir" : 'X\(//\)[^/]' \| \
303 >         X"$as_dir" : 'X\(//\)$' \| \
304 >         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
305 > $as_echo X"$as_dir" |
306 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
307 >            s//\1/
308 >            q
309 >          }
310 >          /^X\(\/\/\)[^/].*/{
311 >            s//\1/
312 >            q
313 >          }
314 >          /^X\(\/\/\)$/{
315 >            s//\1/
316 >            q
317 >          }
318 >          /^X\(\/\).*/{
319 >            s//\1/
320 >            q
321 >          }
322 >          s/.*/./; q'`
323 >      test -d "$as_dir" && break
324 >    done
325 >    test -z "$as_dirs" || eval "mkdir $as_dirs"
326 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
327 >
328 >
329 > } # as_fn_mkdir_p
330 > # as_fn_append VAR VALUE
331 > # ----------------------
332 > # Append the text in VALUE to the end of the definition contained in VAR. Take
333 > # advantage of any shell optimizations that allow amortized linear growth over
334 > # repeated appends, instead of the typical quadratic growth present in naive
335 > # implementations.
336 > if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
337 >  eval 'as_fn_append ()
338 >  {
339 >    eval $1+=\$2
340 >  }'
341 > else
342 >  as_fn_append ()
343 >  {
344 >    eval $1=\$$1\$2
345 >  }
346 > fi # as_fn_append
347 >
348 > # as_fn_arith ARG...
349 > # ------------------
350 > # Perform arithmetic evaluation on the ARGs, and store the result in the
351 > # global $as_val. Take advantage of shells that can avoid forks. The arguments
352 > # must be portable across $(()) and expr.
353 > if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 >  eval 'as_fn_arith ()
355 >  {
356 >    as_val=$(( $* ))
357 >  }'
358 > else
359 >  as_fn_arith ()
360 >  {
361 >    as_val=`expr "$@" || test $? -eq 1`
362 >  }
363 > fi # as_fn_arith
364 >
365 >
366 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
367 > # ----------------------------------------
368 > # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
369 > # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
370 > # script with STATUS, using 1 if that was 0.
371 > as_fn_error ()
372 > {
373 >  as_status=$1; test $as_status -eq 0 && as_status=1
374 >  if test "$4"; then
375 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
376 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
377 >  fi
378 >  $as_echo "$as_me: error: $2" >&2
379 >  as_fn_exit $as_status
380 > } # as_fn_error
381  
382 < # Required to use basename.
383 < if expr a : '\(a\)' >/dev/null 2>&1; then
382 > if expr a : '\(a\)' >/dev/null 2>&1 &&
383 >   test "X`expr 00001 : '.*\(...\)'`" = X001; then
384    as_expr=expr
385   else
386    as_expr=false
387   fi
388  
389 < if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
389 > if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390    as_basename=basename
391   else
392    as_basename=false
393   fi
394  
395 + if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
396 +  as_dirname=dirname
397 + else
398 +  as_dirname=false
399 + fi
400  
401 < # Name of the executable.
66 < as_me=`$as_basename "$0" ||
401 > as_me=`$as_basename -- "$0" ||
402   $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
403           X"$0" : 'X\(//\)$' \| \
404 <         X"$0" : 'X\(/\)$' \| \
405 <         .     : '\(.\)' 2>/dev/null ||
406 < echo X/"$0" |
407 <    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
408 <          /^X\/\(\/\/\)$/{ s//\1/; q; }
409 <          /^X\/\(\/\).*/{ s//\1/; q; }
410 <          s/.*/./; q'`
411 <
404 >         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 > $as_echo X/"$0" |
406 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
407 >            s//\1/
408 >            q
409 >          }
410 >          /^X\/\(\/\/\)$/{
411 >            s//\1/
412 >            q
413 >          }
414 >          /^X\/\(\/\).*/{
415 >            s//\1/
416 >            q
417 >          }
418 >          s/.*/./; q'`
419  
78 # PATH needs CR, and LINENO needs CR and PATH.
420   # Avoid depending upon Character Ranges.
421   as_cr_letters='abcdefghijklmnopqrstuvwxyz'
422   as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
# Line 83 | Line 424 | as_cr_Letters=$as_cr_letters$as_cr_LETTE
424   as_cr_digits='0123456789'
425   as_cr_alnum=$as_cr_Letters$as_cr_digits
426  
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88  echo "#! /bin/sh" >conf$$.sh
89  echo  "exit 0"   >>conf$$.sh
90  chmod +x conf$$.sh
91  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92    PATH_SEPARATOR=';'
93  else
94    PATH_SEPARATOR=:
95  fi
96  rm -f conf$$.sh
97 fi
98
99
100  as_lineno_1=$LINENO
101  as_lineno_2=$LINENO
102  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103  test "x$as_lineno_1" != "x$as_lineno_2" &&
104  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105  # Find who we are.  Look in the path if we contain no path at all
106  # relative or not.
107  case $0 in
108    *[\\/]* ) as_myself=$0 ;;
109    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112  IFS=$as_save_IFS
113  test -z "$as_dir" && as_dir=.
114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
427  
428 <       ;;
429 <  esac
430 <  # We did not find ourselves, most probably we were run as `sh COMMAND'
431 <  # in which case we are not to be found in the path.
432 <  if test "x$as_myself" = x; then
433 <    as_myself=$0
434 <  fi
435 <  if test ! -f "$as_myself"; then
436 <    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 <   { (exit 1); exit 1; }; }
127 <  fi
128 <  case $CONFIG_SHELL in
129 <  '')
130 <    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 < for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 < do
133 <  IFS=$as_save_IFS
134 <  test -z "$as_dir" && as_dir=.
135 <  for as_base in sh bash ksh sh5; do
136 <         case $as_dir in
137 <         /*)
138 <           if ("$as_dir/$as_base" -c '
139 <  as_lineno_1=$LINENO
140 <  as_lineno_2=$LINENO
141 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
143 <  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144 <             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 <             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 <             CONFIG_SHELL=$as_dir/$as_base
147 <             export CONFIG_SHELL
148 <             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 <           fi;;
150 <         esac
151 <       done
152 < done
153 < ;;
154 <  esac
155 <
156 <  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 <  # uniformly replaced by the line number.  The first 'sed' inserts a
158 <  # line-number line before each line; the second 'sed' does the real
159 <  # work.  The second script uses 'N' to pair each line-number line
160 <  # with the numbered line, and appends trailing '-' during
161 <  # substitution so that $LINENO is not a special case at line end.
162 <  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 <  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164 <  sed '=' <$as_myself |
428 >  as_lineno_1=$LINENO as_lineno_1a=$LINENO
429 >  as_lineno_2=$LINENO as_lineno_2a=$LINENO
430 >  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
431 >  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
432 >  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
433 >  sed -n '
434 >    p
435 >    /[$]LINENO/=
436 >  ' <$as_myself |
437      sed '
438 +      s/[$]LINENO.*/&-/
439 +      t lineno
440 +      b
441 +      :lineno
442        N
443 <      s,$,-,
444 <      : loop
169 <      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
443 >      :loop
444 >      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445        t loop
446 <      s,-$,,
172 <      s,^['$as_cr_digits']*\n,,
446 >      s/-\n.*//
447      ' >$as_me.lineno &&
448 <  chmod +x $as_me.lineno ||
449 <    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 <   { (exit 1); exit 1; }; }
448 >  chmod +x "$as_me.lineno" ||
449 >    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450  
451    # Don't try to exec as it changes $[0], causing all sort of problems
452    # (the dirname of $[0] is not the place where we might find the
453 <  # original and so on.  Autoconf is especially sensible to this).
454 <  . ./$as_me.lineno
453 >  # original and so on.  Autoconf is especially sensitive to this).
454 >  . "./$as_me.lineno"
455    # Exit status is that of the last command.
456    exit
457   }
458  
459 <
460 < case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
461 <  *c*,-n*) ECHO_N= ECHO_C='
462 < ' ECHO_T='      ' ;;
463 <  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
464 <  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
459 > ECHO_C= ECHO_N= ECHO_T=
460 > case `echo -n x` in #(((((
461 > -n*)
462 >  case `echo 'xy\c'` in
463 >  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
464 >  xy)  ECHO_C='\c';;
465 >  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
466 >       ECHO_T=' ';;
467 >  esac;;
468 > *)
469 >  ECHO_N='-n';;
470   esac
471  
472 < if expr a : '\(a\)' >/dev/null 2>&1; then
473 <  as_expr=expr
472 > rm -f conf$$ conf$$.exe conf$$.file
473 > if test -d conf$$.dir; then
474 >  rm -f conf$$.dir/conf$$.file
475   else
476 <  as_expr=false
476 >  rm -f conf$$.dir
477 >  mkdir conf$$.dir 2>/dev/null
478   fi
479 <
480 < rm -f conf$$ conf$$.exe conf$$.file
201 < echo >conf$$.file
202 < if ln -s conf$$.file conf$$ 2>/dev/null; then
203 <  # We could just check for DJGPP; but this test a) works b) is more generic
204 <  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 <  if test -f conf$$.exe; then
206 <    # Don't use ln at all; we don't have any links
207 <    as_ln_s='cp -p'
208 <  else
479 > if (echo >conf$$.file) 2>/dev/null; then
480 >  if ln -s conf$$.file conf$$ 2>/dev/null; then
481      as_ln_s='ln -s'
482 +    # ... but there are two gotchas:
483 +    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
484 +    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
485 +    # In both cases, we have to default to `cp -p'.
486 +    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
487 +      as_ln_s='cp -p'
488 +  elif ln conf$$.file conf$$ 2>/dev/null; then
489 +    as_ln_s=ln
490 +  else
491 +    as_ln_s='cp -p'
492    fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212  as_ln_s=ln
493   else
494    as_ln_s='cp -p'
495   fi
496 < rm -f conf$$ conf$$.exe conf$$.file
496 > rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
497 > rmdir conf$$.dir 2>/dev/null
498  
499   if mkdir -p . 2>/dev/null; then
500 <  as_mkdir_p=:
500 >  as_mkdir_p='mkdir -p "$as_dir"'
501   else
502    test -d ./-p && rmdir ./-p
503    as_mkdir_p=false
504   fi
505  
506 < as_executable_p="test -f"
506 > if test -x / >/dev/null 2>&1; then
507 >  as_test_x='test -x'
508 > else
509 >  if ls -dL / >/dev/null 2>&1; then
510 >    as_ls_L_option=L
511 >  else
512 >    as_ls_L_option=
513 >  fi
514 >  as_test_x='
515 >    eval sh -c '\''
516 >      if test -d "$1"; then
517 >        test -d "$1/.";
518 >      else
519 >        case $1 in #(
520 >        -*)set "./$1";;
521 >        esac;
522 >        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
523 >        ???[sx]*):;;*)false;;esac;fi
524 >    '\'' sh
525 >  '
526 > fi
527 > as_executable_p=$as_test_x
528  
529   # Sed expression to map a string onto a valid CPP name.
530   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 231 | Line 533 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
533   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534  
535  
536 < # IFS
537 < # We need space, tab and new line, in precisely that order.
236 < as_nl='
237 < '
238 < IFS="   $as_nl"
239 <
240 < # CDPATH.
241 < $as_unset CDPATH
242 <
536 > test -n "$DJDIR" || exec 7<&0 </dev/null
537 > exec 6>&1
538  
539   # Name of the host.
540 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
540 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
541   # so uname gets run too.
542   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543  
249 exec 6>&1
250
544   #
545   # Initializations.
546   #
547   ac_default_prefix=/usr/local
548 + ac_clean_files=
549   ac_config_libobj_dir=.
550 + LIBOBJS=
551   cross_compiling=no
552   subdirs=
553   MFLAGS=
554   MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete.  It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
555  
556   # Identity of this package.
557   PACKAGE_NAME=
# Line 270 | Line 559 | PACKAGE_TARNAME=
559   PACKAGE_VERSION=
560   PACKAGE_STRING=
561   PACKAGE_BUGREPORT=
562 + PACKAGE_URL=
563  
564   ac_unique_file="Search.cpp"
565   ac_default_prefix=/usr/local/dtse
566 < ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA ifGNUmake CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT PERL which_perl CC CFLAGS ac_ct_CC ETR_SOCKET_LIBS OpenSSL urandomdev LIBOBJS LTLIBOBJS'
566 > ac_subst_vars='LTLIBOBJS
567 > LIBOBJS
568 > urandomdev
569 > OpenSSL
570 > OBJEXT
571 > EXEEXT
572 > ac_ct_CXX
573 > CPPFLAGS
574 > LDFLAGS
575 > CXXFLAGS
576 > CXX
577 > PERL
578 > GNUMAKE
579 > ifGNUmake
580 > INSTALL_DATA
581 > INSTALL_SCRIPT
582 > INSTALL_PROGRAM
583 > target_alias
584 > host_alias
585 > build_alias
586 > LIBS
587 > ECHO_T
588 > ECHO_N
589 > ECHO_C
590 > DEFS
591 > mandir
592 > localedir
593 > libdir
594 > psdir
595 > pdfdir
596 > dvidir
597 > htmldir
598 > infodir
599 > docdir
600 > oldincludedir
601 > includedir
602 > localstatedir
603 > sharedstatedir
604 > sysconfdir
605 > datadir
606 > datarootdir
607 > libexecdir
608 > sbindir
609 > bindir
610 > program_transform_name
611 > prefix
612 > exec_prefix
613 > PACKAGE_URL
614 > PACKAGE_BUGREPORT
615 > PACKAGE_STRING
616 > PACKAGE_VERSION
617 > PACKAGE_TARNAME
618 > PACKAGE_NAME
619 > PATH_SEPARATOR
620 > SHELL'
621   ac_subst_files=''
622 + ac_user_opts='
623 + enable_option_checking
624 + with_perl
625 + with_openssl
626 + '
627 +      ac_precious_vars='build_alias
628 + host_alias
629 + target_alias
630 + PERL
631 + CXX
632 + CXXFLAGS
633 + LDFLAGS
634 + LIBS
635 + CPPFLAGS
636 + CCC'
637 +
638  
639   # Initialize some variables set by options.
640   ac_init_help=
641   ac_init_version=false
642 + ac_unrecognized_opts=
643 + ac_unrecognized_sep=
644   # The variables have the same names as the options, with
645   # dashes changed to underlines.
646   cache_file=/dev/null
# Line 301 | Line 663 | x_libraries=NONE
663   # and all the variables that are supposed to be based on exec_prefix
664   # by default will actually change.
665   # Use braces instead of parens because sh, perl, etc. also accept them.
666 + # (The list follows the same order as the GNU Coding Standards.)
667   bindir='${exec_prefix}/bin'
668   sbindir='${exec_prefix}/sbin'
669   libexecdir='${exec_prefix}/libexec'
670 < datadir='${prefix}/share'
670 > datarootdir='${prefix}/share'
671 > datadir='${datarootdir}'
672   sysconfdir='${prefix}/etc'
673   sharedstatedir='${prefix}/com'
674   localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
675   includedir='${prefix}/include'
676   oldincludedir='/usr/include'
677 < infodir='${prefix}/info'
678 < mandir='${prefix}/man'
677 > docdir='${datarootdir}/doc/${PACKAGE}'
678 > infodir='${datarootdir}/info'
679 > htmldir='${docdir}'
680 > dvidir='${docdir}'
681 > pdfdir='${docdir}'
682 > psdir='${docdir}'
683 > libdir='${exec_prefix}/lib'
684 > localedir='${datarootdir}/locale'
685 > mandir='${datarootdir}/man'
686  
687   ac_prev=
688 + ac_dashdash=
689   for ac_option
690   do
691    # If the previous option needs an argument, assign it.
692    if test -n "$ac_prev"; then
693 <    eval "$ac_prev=\$ac_option"
693 >    eval $ac_prev=\$ac_option
694      ac_prev=
695      continue
696    fi
697  
698 <  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
698 >  case $ac_option in
699 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
700 >  *=)   ac_optarg= ;;
701 >  *)    ac_optarg=yes ;;
702 >  esac
703  
704    # Accept the important Cygnus configure options, so we can diagnose typos.
705  
706 <  case $ac_option in
706 >  case $ac_dashdash$ac_option in
707 >  --)
708 >    ac_dashdash=yes ;;
709  
710    -bindir | --bindir | --bindi | --bind | --bin | --bi)
711      ac_prev=bindir ;;
# Line 350 | Line 727 | do
727    --config-cache | -C)
728      cache_file=config.cache ;;
729  
730 <  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
730 >  -datadir | --datadir | --datadi | --datad)
731      ac_prev=datadir ;;
732 <  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 <  | --da=*)
732 >  -datadir=* | --datadir=* | --datadi=* | --datad=*)
733      datadir=$ac_optarg ;;
734  
735 +  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
736 +  | --dataroo | --dataro | --datar)
737 +    ac_prev=datarootdir ;;
738 +  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
739 +  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
740 +    datarootdir=$ac_optarg ;;
741 +
742    -disable-* | --disable-*)
743 <    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
743 >    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
744      # Reject names that are not valid shell variable names.
745 <    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
746 <      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
747 <   { (exit 1); exit 1; }; }
748 <    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
749 <    eval "enable_$ac_feature=no" ;;
745 >    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
746 >      as_fn_error $? "invalid feature name: $ac_useropt"
747 >    ac_useropt_orig=$ac_useropt
748 >    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
749 >    case $ac_user_opts in
750 >      *"
751 > "enable_$ac_useropt"
752 > "*) ;;
753 >      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
754 >         ac_unrecognized_sep=', ';;
755 >    esac
756 >    eval enable_$ac_useropt=no ;;
757 >
758 >  -docdir | --docdir | --docdi | --doc | --do)
759 >    ac_prev=docdir ;;
760 >  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
761 >    docdir=$ac_optarg ;;
762 >
763 >  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
764 >    ac_prev=dvidir ;;
765 >  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
766 >    dvidir=$ac_optarg ;;
767  
768    -enable-* | --enable-*)
769 <    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
769 >    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
770      # Reject names that are not valid shell variable names.
771 <    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
772 <      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
773 <   { (exit 1); exit 1; }; }
774 <    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
775 <    case $ac_option in
776 <      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
777 <      *) ac_optarg=yes ;;
771 >    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
772 >      as_fn_error $? "invalid feature name: $ac_useropt"
773 >    ac_useropt_orig=$ac_useropt
774 >    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
775 >    case $ac_user_opts in
776 >      *"
777 > "enable_$ac_useropt"
778 > "*) ;;
779 >      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
780 >         ac_unrecognized_sep=', ';;
781      esac
782 <    eval "enable_$ac_feature='$ac_optarg'" ;;
782 >    eval enable_$ac_useropt=\$ac_optarg ;;
783  
784    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
785    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
# Line 403 | Line 806 | do
806    -host=* | --host=* | --hos=* | --ho=*)
807      host_alias=$ac_optarg ;;
808  
809 +  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
810 +    ac_prev=htmldir ;;
811 +  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
812 +  | --ht=*)
813 +    htmldir=$ac_optarg ;;
814 +
815    -includedir | --includedir | --includedi | --included | --include \
816    | --includ | --inclu | --incl | --inc)
817      ac_prev=includedir ;;
# Line 427 | Line 836 | do
836    | --libexe=* | --libex=* | --libe=*)
837      libexecdir=$ac_optarg ;;
838  
839 +  -localedir | --localedir | --localedi | --localed | --locale)
840 +    ac_prev=localedir ;;
841 +  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
842 +    localedir=$ac_optarg ;;
843 +
844    -localstatedir | --localstatedir | --localstatedi | --localstated \
845 <  | --localstate | --localstat | --localsta | --localst \
432 <  | --locals | --local | --loca | --loc | --lo)
845 >  | --localstate | --localstat | --localsta | --localst | --locals)
846      ac_prev=localstatedir ;;
847    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
848 <  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 <  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
848 >  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
849      localstatedir=$ac_optarg ;;
850  
851    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
# Line 498 | Line 910 | do
910    | --progr-tra=* | --program-tr=* | --program-t=*)
911      program_transform_name=$ac_optarg ;;
912  
913 +  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
914 +    ac_prev=pdfdir ;;
915 +  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
916 +    pdfdir=$ac_optarg ;;
917 +
918 +  -psdir | --psdir | --psdi | --psd | --ps)
919 +    ac_prev=psdir ;;
920 +  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
921 +    psdir=$ac_optarg ;;
922 +
923    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
924    | -silent | --silent | --silen | --sile | --sil)
925      silent=yes ;;
# Line 548 | Line 970 | do
970      ac_init_version=: ;;
971  
972    -with-* | --with-*)
973 <    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
973 >    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
974      # Reject names that are not valid shell variable names.
975 <    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
976 <      { echo "$as_me: error: invalid package name: $ac_package" >&2
977 <   { (exit 1); exit 1; }; }
978 <    ac_package=`echo $ac_package| sed 's/-/_/g'`
979 <    case $ac_option in
980 <      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
981 <      *) ac_optarg=yes ;;
975 >    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
976 >      as_fn_error $? "invalid package name: $ac_useropt"
977 >    ac_useropt_orig=$ac_useropt
978 >    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979 >    case $ac_user_opts in
980 >      *"
981 > "with_$ac_useropt"
982 > "*) ;;
983 >      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
984 >         ac_unrecognized_sep=', ';;
985      esac
986 <    eval "with_$ac_package='$ac_optarg'" ;;
986 >    eval with_$ac_useropt=\$ac_optarg ;;
987  
988    -without-* | --without-*)
989 <    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
989 >    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
990      # Reject names that are not valid shell variable names.
991 <    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
992 <      { echo "$as_me: error: invalid package name: $ac_package" >&2
993 <   { (exit 1); exit 1; }; }
994 <    ac_package=`echo $ac_package | sed 's/-/_/g'`
995 <    eval "with_$ac_package=no" ;;
991 >    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
992 >      as_fn_error $? "invalid package name: $ac_useropt"
993 >    ac_useropt_orig=$ac_useropt
994 >    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 >    case $ac_user_opts in
996 >      *"
997 > "with_$ac_useropt"
998 > "*) ;;
999 >      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1000 >         ac_unrecognized_sep=', ';;
1001 >    esac
1002 >    eval with_$ac_useropt=no ;;
1003  
1004    --x)
1005      # Obsolete; use --with-x.
# Line 587 | Line 1019 | do
1019    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1020      x_libraries=$ac_optarg ;;
1021  
1022 <  -*) { echo "$as_me: error: unrecognized option: $ac_option
1023 < Try \`$0 --help' for more information." >&2
592 <   { (exit 1); exit 1; }; }
1022 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1023 > Try \`$0 --help' for more information"
1024      ;;
1025  
1026    *=*)
1027      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1028      # Reject names that are not valid shell variable names.
1029 <    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1030 <      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1031 <   { (exit 1); exit 1; }; }
1032 <    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1033 <    eval "$ac_envvar='$ac_optarg'"
1029 >    case $ac_envvar in #(
1030 >      '' | [0-9]* | *[!_$as_cr_alnum]* )
1031 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1032 >    esac
1033 >    eval $ac_envvar=\$ac_optarg
1034      export $ac_envvar ;;
1035  
1036    *)
1037      # FIXME: should be removed in autoconf 3.0.
1038 <    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1038 >    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1039      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1040 <      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1041 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1040 >      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1041 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1042      ;;
1043  
1044    esac
# Line 615 | Line 1046 | done
1046  
1047   if test -n "$ac_prev"; then
1048    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1049 <  { echo "$as_me: error: missing argument to $ac_option" >&2
619 <   { (exit 1); exit 1; }; }
1049 >  as_fn_error $? "missing argument to $ac_option"
1050   fi
1051  
1052 < # Be sure to have absolute paths.
1053 < for ac_var in exec_prefix prefix
1054 < do
1055 <  eval ac_val=$`echo $ac_var`
1056 <  case $ac_val in
627 <    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 <    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 <   { (exit 1); exit 1; }; };;
1052 > if test -n "$ac_unrecognized_opts"; then
1053 >  case $enable_option_checking in
1054 >    no) ;;
1055 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1056 >    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1057    esac
1058 < done
1058 > fi
1059  
1060 < # Be sure to have absolute paths.
1061 < for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1062 <              localstatedir libdir includedir oldincludedir infodir mandir
1060 > # Check all directory arguments for consistency.
1061 > for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1062 >                datadir sysconfdir sharedstatedir localstatedir includedir \
1063 >                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1064 >                libdir localedir mandir
1065   do
1066 <  eval ac_val=$`echo $ac_var`
1066 >  eval ac_val=\$$ac_var
1067 >  # Remove trailing slashes.
1068 >  case $ac_val in
1069 >    */ )
1070 >      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1071 >      eval $ac_var=\$ac_val;;
1072 >  esac
1073 >  # Be sure to have absolute directory names.
1074    case $ac_val in
1075 <    [\\/$]* | ?:[\\/]* ) ;;
1076 <    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 <   { (exit 1); exit 1; }; };;
1075 >    [\\/$]* | ?:[\\/]* )  continue;;
1076 >    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1077    esac
1078 +  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1079   done
1080  
1081   # There might be people who depend on the old broken behavior: `$host'
# Line 653 | Line 1089 | target=$target_alias
1089   if test "x$host_alias" != x; then
1090    if test "x$build_alias" = x; then
1091      cross_compiling=maybe
1092 <    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1093 <    If a cross compiler is detected then cross compile mode will be used." >&2
1092 >    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1093 >    If a cross compiler is detected then cross compile mode will be used" >&2
1094    elif test "x$build_alias" != "x$host_alias"; then
1095      cross_compiling=yes
1096    fi
# Line 666 | Line 1102 | test -n "$host_alias" && ac_tool_prefix=
1102   test "$silent" = yes && exec 6>/dev/null
1103  
1104  
1105 + ac_pwd=`pwd` && test -n "$ac_pwd" &&
1106 + ac_ls_di=`ls -di .` &&
1107 + ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1108 +  as_fn_error $? "working directory cannot be determined"
1109 + test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1110 +  as_fn_error $? "pwd does not report name of working directory"
1111 +
1112 +
1113   # Find the source files, if location was not specified.
1114   if test -z "$srcdir"; then
1115    ac_srcdir_defaulted=yes
1116 <  # Try the directory containing this script, then its parent.
1117 <  ac_confdir=`(dirname "$0") 2>/dev/null ||
1118 < $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1119 <         X"$0" : 'X\(//\)[^/]' \| \
1120 <         X"$0" : 'X\(//\)$' \| \
1121 <         X"$0" : 'X\(/\)' \| \
1122 <         .     : '\(.\)' 2>/dev/null ||
1123 < echo X"$0" |
1124 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1125 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1126 <          /^X\(\/\/\)$/{ s//\1/; q; }
1127 <          /^X\(\/\).*/{ s//\1/; q; }
1128 <          s/.*/./; q'`
1116 >  # Try the directory containing this script, then the parent directory.
1117 >  ac_confdir=`$as_dirname -- "$as_myself" ||
1118 > $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1119 >         X"$as_myself" : 'X\(//\)[^/]' \| \
1120 >         X"$as_myself" : 'X\(//\)$' \| \
1121 >         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1122 > $as_echo X"$as_myself" |
1123 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1124 >            s//\1/
1125 >            q
1126 >          }
1127 >          /^X\(\/\/\)[^/].*/{
1128 >            s//\1/
1129 >            q
1130 >          }
1131 >          /^X\(\/\/\)$/{
1132 >            s//\1/
1133 >            q
1134 >          }
1135 >          /^X\(\/\).*/{
1136 >            s//\1/
1137 >            q
1138 >          }
1139 >          s/.*/./; q'`
1140    srcdir=$ac_confdir
1141 <  if test ! -r $srcdir/$ac_unique_file; then
1141 >  if test ! -r "$srcdir/$ac_unique_file"; then
1142      srcdir=..
1143    fi
1144   else
1145    ac_srcdir_defaulted=no
1146   fi
1147 < if test ! -r $srcdir/$ac_unique_file; then
1148 <  if test "$ac_srcdir_defaulted" = yes; then
1149 <    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1150 <   { (exit 1); exit 1; }; }
1151 <  else
1152 <    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1153 <   { (exit 1); exit 1; }; }
1154 <  fi
1155 < fi
1156 < (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1157 <  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1158 <   { (exit 1); exit 1; }; }
1159 < srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1160 < ac_env_build_alias_set=${build_alias+set}
1161 < ac_env_build_alias_value=$build_alias
1162 < ac_cv_env_build_alias_set=${build_alias+set}
1163 < ac_cv_env_build_alias_value=$build_alias
1164 < ac_env_host_alias_set=${host_alias+set}
1165 < ac_env_host_alias_value=$host_alias
1166 < ac_cv_env_host_alias_set=${host_alias+set}
1167 < ac_cv_env_host_alias_value=$host_alias
1168 < ac_env_target_alias_set=${target_alias+set}
1169 < ac_env_target_alias_value=$target_alias
1170 < ac_cv_env_target_alias_set=${target_alias+set}
716 < ac_cv_env_target_alias_value=$target_alias
717 < ac_env_CXX_set=${CXX+set}
718 < ac_env_CXX_value=$CXX
719 < ac_cv_env_CXX_set=${CXX+set}
720 < ac_cv_env_CXX_value=$CXX
721 < ac_env_CXXFLAGS_set=${CXXFLAGS+set}
722 < ac_env_CXXFLAGS_value=$CXXFLAGS
723 < ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
724 < ac_cv_env_CXXFLAGS_value=$CXXFLAGS
725 < ac_env_LDFLAGS_set=${LDFLAGS+set}
726 < ac_env_LDFLAGS_value=$LDFLAGS
727 < ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728 < ac_cv_env_LDFLAGS_value=$LDFLAGS
729 < ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730 < ac_env_CPPFLAGS_value=$CPPFLAGS
731 < ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732 < ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733 < ac_env_CC_set=${CC+set}
734 < ac_env_CC_value=$CC
735 < ac_cv_env_CC_set=${CC+set}
736 < ac_cv_env_CC_value=$CC
737 < ac_env_CFLAGS_set=${CFLAGS+set}
738 < ac_env_CFLAGS_value=$CFLAGS
739 < ac_cv_env_CFLAGS_set=${CFLAGS+set}
740 < ac_cv_env_CFLAGS_value=$CFLAGS
1147 > if test ! -r "$srcdir/$ac_unique_file"; then
1148 >  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1149 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1150 > fi
1151 > ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1152 > ac_abs_confdir=`(
1153 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1154 >        pwd)`
1155 > # When building in place, set srcdir=.
1156 > if test "$ac_abs_confdir" = "$ac_pwd"; then
1157 >  srcdir=.
1158 > fi
1159 > # Remove unnecessary trailing slashes from srcdir.
1160 > # Double slashes in file names in object file debugging info
1161 > # mess up M-x gdb in Emacs.
1162 > case $srcdir in
1163 > */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1164 > esac
1165 > for ac_var in $ac_precious_vars; do
1166 >  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1167 >  eval ac_env_${ac_var}_value=\$${ac_var}
1168 >  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1169 >  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1170 > done
1171  
1172   #
1173   # Report the --help message.
# Line 760 | Line 1190 | Configuration:
1190        --help=short        display options specific to this package
1191        --help=recursive    display the short help of all the included packages
1192    -V, --version           display version information and exit
1193 <  -q, --quiet, --silent   do not print \`checking...' messages
1193 >  -q, --quiet, --silent   do not print \`checking ...' messages
1194        --cache-file=FILE   cache test results in FILE [disabled]
1195    -C, --config-cache      alias for \`--cache-file=config.cache'
1196    -n, --no-create         do not create output files
1197        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1198  
769 _ACEOF
770
771  cat <<_ACEOF
1199   Installation directories:
1200    --prefix=PREFIX         install architecture-independent files in PREFIX
1201 <                          [$ac_default_prefix]
1201 >                          [$ac_default_prefix]
1202    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1203 <                          [PREFIX]
1203 >                          [PREFIX]
1204  
1205   By default, \`make install' will install all the files in
1206   \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
# Line 783 | Line 1210 | for instance \`--prefix=\$HOME'.
1210   For better control, use the options below.
1211  
1212   Fine tuning of the installation directories:
1213 <  --bindir=DIR           user executables [EPREFIX/bin]
1214 <  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1215 <  --libexecdir=DIR       program executables [EPREFIX/libexec]
1216 <  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1217 <  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1218 <  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1219 <  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1220 <  --libdir=DIR           object code libraries [EPREFIX/lib]
1221 <  --includedir=DIR       C header files [PREFIX/include]
1222 <  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1223 <  --infodir=DIR          info documentation [PREFIX/info]
1224 <  --mandir=DIR           man documentation [PREFIX/man]
1213 >  --bindir=DIR            user executables [EPREFIX/bin]
1214 >  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1215 >  --libexecdir=DIR        program executables [EPREFIX/libexec]
1216 >  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1217 >  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1218 >  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1219 >  --libdir=DIR            object code libraries [EPREFIX/lib]
1220 >  --includedir=DIR        C header files [PREFIX/include]
1221 >  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1222 >  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1223 >  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1224 >  --infodir=DIR           info documentation [DATAROOTDIR/info]
1225 >  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1226 >  --mandir=DIR            man documentation [DATAROOTDIR/man]
1227 >  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1228 >  --htmldir=DIR           html documentation [DOCDIR]
1229 >  --dvidir=DIR            dvi documentation [DOCDIR]
1230 >  --pdfdir=DIR            pdf documentation [DOCDIR]
1231 >  --psdir=DIR             ps documentation [DOCDIR]
1232   _ACEOF
1233  
1234    cat <<\_ACEOF
# Line 808 | Line 1242 | if test -n "$ac_init_help"; then
1242   Optional Packages:
1243    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1244    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1245 +  --with-perl=[PATH]    absolute path to perl executable
1246    --with-openssl[=DIR]    enable OpenSSL [DIR=path]
1247  
1248  
1249   Some influential environment variables:
1250 +  PERL        Absolute path to perl executable
1251    CXX         C++ compiler command
1252    CXXFLAGS    C++ compiler flags
1253    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1254                nonstandard directory <lib dir>
1255 <  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1256 <              headers in a nonstandard directory <include dir>
1257 <  CC          C compiler command
822 <  CFLAGS      C compiler flags
1255 >  LIBS        libraries to pass to the linker, e.g. -l<library>
1256 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1257 >              you have headers in a nonstandard directory <include dir>
1258  
1259   Use these variables to override the choices made by `configure' or to help
1260   it to find libraries and programs with nonstandard names/locations.
1261  
1262 + Report bugs to the package provider.
1263   _ACEOF
1264 + ac_status=$?
1265   fi
1266  
1267   if test "$ac_init_help" = "recursive"; then
1268    # If there are subdirs, report their specific --help.
832  ac_popdir=`pwd`
1269    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1270 <    test -d $ac_dir || continue
1270 >    test -d "$ac_dir" ||
1271 >      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1272 >      continue
1273      ac_builddir=.
1274  
1275 < if test "$ac_dir" != .; then
1276 <  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1277 <  # A "../" for each directory in $ac_dir_suffix.
1278 <  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1279 < else
1280 <  ac_dir_suffix= ac_top_builddir=
1281 < fi
1275 > case "$ac_dir" in
1276 > .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1277 > *)
1278 >  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1279 >  # A ".." for each directory in $ac_dir_suffix.
1280 >  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1281 >  case $ac_top_builddir_sub in
1282 >  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1283 >  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1284 >  esac ;;
1285 > esac
1286 > ac_abs_top_builddir=$ac_pwd
1287 > ac_abs_builddir=$ac_pwd$ac_dir_suffix
1288 > # for backward compatibility:
1289 > ac_top_builddir=$ac_top_build_prefix
1290  
1291   case $srcdir in
1292 <  .)  # No --srcdir option.  We are building in place.
1292 >  .)  # We are building in place.
1293      ac_srcdir=.
1294 <    if test -z "$ac_top_builddir"; then
1295 <       ac_top_srcdir=.
1296 <    else
851 <       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
852 <    fi ;;
853 <  [\\/]* | ?:[\\/]* )  # Absolute path.
1294 >    ac_top_srcdir=$ac_top_builddir_sub
1295 >    ac_abs_top_srcdir=$ac_pwd ;;
1296 >  [\\/]* | ?:[\\/]* )  # Absolute name.
1297      ac_srcdir=$srcdir$ac_dir_suffix;
1298 <    ac_top_srcdir=$srcdir ;;
1299 <  *) # Relative path.
1300 <    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1301 <    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1298 >    ac_top_srcdir=$srcdir
1299 >    ac_abs_top_srcdir=$srcdir ;;
1300 >  *) # Relative name.
1301 >    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1302 >    ac_top_srcdir=$ac_top_build_prefix$srcdir
1303 >    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1304   esac
1305 + ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1306  
1307 < # Do not use `cd foo && pwd` to compute absolute paths, because
1308 < # the directories may not exist.
1309 < case `pwd` in
1310 < .) ac_abs_builddir="$ac_dir";;
1311 < *)
1312 <  case "$ac_dir" in
1313 <  .) ac_abs_builddir=`pwd`;;
1314 <  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
869 <  *) ac_abs_builddir=`pwd`/"$ac_dir";;
870 <  esac;;
871 < esac
872 < case $ac_abs_builddir in
873 < .) ac_abs_top_builddir=${ac_top_builddir}.;;
874 < *)
875 <  case ${ac_top_builddir}. in
876 <  .) ac_abs_top_builddir=$ac_abs_builddir;;
877 <  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
878 <  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
879 <  esac;;
880 < esac
881 < case $ac_abs_builddir in
882 < .) ac_abs_srcdir=$ac_srcdir;;
883 < *)
884 <  case $ac_srcdir in
885 <  .) ac_abs_srcdir=$ac_abs_builddir;;
886 <  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
887 <  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
888 <  esac;;
889 < esac
890 < case $ac_abs_builddir in
891 < .) ac_abs_top_srcdir=$ac_top_srcdir;;
892 < *)
893 <  case $ac_top_srcdir in
894 <  .) ac_abs_top_srcdir=$ac_abs_builddir;;
895 <  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
896 <  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
897 <  esac;;
898 < esac
899 <
900 <    cd $ac_dir
901 <    # Check for guested configure; otherwise get Cygnus style configure.
902 <    if test -f $ac_srcdir/configure.gnu; then
903 <      echo
904 <      $SHELL $ac_srcdir/configure.gnu  --help=recursive
905 <    elif test -f $ac_srcdir/configure; then
906 <      echo
907 <      $SHELL $ac_srcdir/configure  --help=recursive
908 <    elif test -f $ac_srcdir/configure.ac ||
909 <           test -f $ac_srcdir/configure.in; then
910 <      echo
911 <      $ac_configure --help
1307 >    cd "$ac_dir" || { ac_status=$?; continue; }
1308 >    # Check for guested configure.
1309 >    if test -f "$ac_srcdir/configure.gnu"; then
1310 >      echo &&
1311 >      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1312 >    elif test -f "$ac_srcdir/configure"; then
1313 >      echo &&
1314 >      $SHELL "$ac_srcdir/configure" --help=recursive
1315      else
1316 <      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1317 <    fi
1318 <    cd $ac_popdir
1316 >      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1317 >    fi || ac_status=$?
1318 >    cd "$ac_pwd" || { ac_status=$?; break; }
1319    done
1320   fi
1321  
1322 < test -n "$ac_init_help" && exit 0
1322 > test -n "$ac_init_help" && exit $ac_status
1323   if $ac_init_version; then
1324    cat <<\_ACEOF
1325 + configure
1326 + generated by GNU Autoconf 2.68
1327  
1328 < Copyright (C) 2003 Free Software Foundation, Inc.
1328 > Copyright (C) 2010 Free Software Foundation, Inc.
1329   This configure script is free software; the Free Software Foundation
1330   gives unlimited permission to copy, distribute and modify it.
1331   _ACEOF
1332 <  exit 0
1332 >  exit
1333   fi
1334 < exec 5>config.log
1335 < cat >&5 <<_ACEOF
1334 >
1335 > ## ------------------------ ##
1336 > ## Autoconf initialization. ##
1337 > ## ------------------------ ##
1338 >
1339 > # ac_fn_cxx_try_compile LINENO
1340 > # ----------------------------
1341 > # Try to compile conftest.$ac_ext, and return whether this succeeded.
1342 > ac_fn_cxx_try_compile ()
1343 > {
1344 >  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1345 >  rm -f conftest.$ac_objext
1346 >  if { { ac_try="$ac_compile"
1347 > case "(($ac_try" in
1348 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1349 >  *) ac_try_echo=$ac_try;;
1350 > esac
1351 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1352 > $as_echo "$ac_try_echo"; } >&5
1353 >  (eval "$ac_compile") 2>conftest.err
1354 >  ac_status=$?
1355 >  if test -s conftest.err; then
1356 >    grep -v '^ *+' conftest.err >conftest.er1
1357 >    cat conftest.er1 >&5
1358 >    mv -f conftest.er1 conftest.err
1359 >  fi
1360 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1361 >  test $ac_status = 0; } && {
1362 >         test -z "$ac_cxx_werror_flag" ||
1363 >         test ! -s conftest.err
1364 >       } && test -s conftest.$ac_objext; then :
1365 >  ac_retval=0
1366 > else
1367 >  $as_echo "$as_me: failed program was:" >&5
1368 > sed 's/^/| /' conftest.$ac_ext >&5
1369 >
1370 >        ac_retval=1
1371 > fi
1372 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1373 >  as_fn_set_status $ac_retval
1374 >
1375 > } # ac_fn_cxx_try_compile
1376 >
1377 > # ac_fn_cxx_try_link LINENO
1378 > # -------------------------
1379 > # Try to link conftest.$ac_ext, and return whether this succeeded.
1380 > ac_fn_cxx_try_link ()
1381 > {
1382 >  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1383 >  rm -f conftest.$ac_objext conftest$ac_exeext
1384 >  if { { ac_try="$ac_link"
1385 > case "(($ac_try" in
1386 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1387 >  *) ac_try_echo=$ac_try;;
1388 > esac
1389 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1390 > $as_echo "$ac_try_echo"; } >&5
1391 >  (eval "$ac_link") 2>conftest.err
1392 >  ac_status=$?
1393 >  if test -s conftest.err; then
1394 >    grep -v '^ *+' conftest.err >conftest.er1
1395 >    cat conftest.er1 >&5
1396 >    mv -f conftest.er1 conftest.err
1397 >  fi
1398 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1399 >  test $ac_status = 0; } && {
1400 >         test -z "$ac_cxx_werror_flag" ||
1401 >         test ! -s conftest.err
1402 >       } && test -s conftest$ac_exeext && {
1403 >         test "$cross_compiling" = yes ||
1404 >         $as_test_x conftest$ac_exeext
1405 >       }; then :
1406 >  ac_retval=0
1407 > else
1408 >  $as_echo "$as_me: failed program was:" >&5
1409 > sed 's/^/| /' conftest.$ac_ext >&5
1410 >
1411 >        ac_retval=1
1412 > fi
1413 >  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1414 >  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1415 >  # interfere with the next link command; also delete a directory that is
1416 >  # left behind by Apple's compiler.  We do this before executing the actions.
1417 >  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1418 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1419 >  as_fn_set_status $ac_retval
1420 >
1421 > } # ac_fn_cxx_try_link
1422 > cat >config.log <<_ACEOF
1423   This file contains any messages produced by compilers while
1424   running configure, to aid debugging if configure makes a mistake.
1425  
1426   It was created by $as_me, which was
1427 < generated by GNU Autoconf 2.59.  Invocation command line was
1427 > generated by GNU Autoconf 2.68.  Invocation command line was
1428  
1429    $ $0 $@
1430  
1431   _ACEOF
1432 + exec 5>>config.log
1433   {
1434   cat <<_ASUNAME
1435   ## --------- ##
# Line 955 | Line 1448 | uname -v = `(uname -v) 2>/dev/null || ec
1448   /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1449   /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1450   /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1451 < hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1451 > /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1452   /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1453   /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1454   /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
# Line 967 | Line 1460 | for as_dir in $PATH
1460   do
1461    IFS=$as_save_IFS
1462    test -z "$as_dir" && as_dir=.
1463 <  echo "PATH: $as_dir"
1464 < done
1463 >    $as_echo "PATH: $as_dir"
1464 >  done
1465 > IFS=$as_save_IFS
1466  
1467   } >&5
1468  
# Line 990 | Line 1484 | _ACEOF
1484   ac_configure_args=
1485   ac_configure_args0=
1486   ac_configure_args1=
993 ac_sep=
1487   ac_must_keep_next=false
1488   for ac_pass in 1 2
1489   do
# Line 1001 | Line 1494 | do
1494      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1495      | -silent | --silent | --silen | --sile | --sil)
1496        continue ;;
1497 <    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1498 <      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1497 >    *\'*)
1498 >      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1499      esac
1500      case $ac_pass in
1501 <    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1501 >    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1502      2)
1503 <      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1503 >      as_fn_append ac_configure_args1 " '$ac_arg'"
1504        if test $ac_must_keep_next = true; then
1505          ac_must_keep_next=false # Got value, back to normal.
1506        else
# Line 1023 | Line 1516 | do
1516            -* ) ac_must_keep_next=true ;;
1517          esac
1518        fi
1519 <      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1027 <      # Get rid of the leading space.
1028 <      ac_sep=" "
1519 >      as_fn_append ac_configure_args " '$ac_arg'"
1520        ;;
1521      esac
1522    done
1523   done
1524 < $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1525 < $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1524 > { ac_configure_args0=; unset ac_configure_args0;}
1525 > { ac_configure_args1=; unset ac_configure_args1;}
1526  
1527   # When interrupted or exit'd, cleanup temporary files, and complete
1528   # config.log.  We remove comments because anyway the quotes in there
1529   # would cause problems or look ugly.
1530 < # WARNING: Be sure not to use single quotes in there, as some shells,
1531 < # such as our DU 5.0 friend, will then `close' the trap.
1530 > # WARNING: Use '\'' to represent an apostrophe within the trap.
1531 > # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1532   trap 'exit_status=$?
1533    # Save into config.log some information that might help in debugging.
1534    {
1535      echo
1536  
1537 <    cat <<\_ASBOX
1047 < ## ---------------- ##
1537 >    $as_echo "## ---------------- ##
1538   ## Cache variables. ##
1539 < ## ---------------- ##
1050 < _ASBOX
1539 > ## ---------------- ##"
1540      echo
1541      # The following way of writing the cache mishandles newlines in values,
1542 < {
1542 > (
1543 >  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1544 >    eval ac_val=\$$ac_var
1545 >    case $ac_val in #(
1546 >    *${as_nl}*)
1547 >      case $ac_var in #(
1548 >      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1549 > $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1550 >      esac
1551 >      case $ac_var in #(
1552 >      _ | IFS | as_nl) ;; #(
1553 >      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1554 >      *) { eval $ac_var=; unset $ac_var;} ;;
1555 >      esac ;;
1556 >    esac
1557 >  done
1558    (set) 2>&1 |
1559 <    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1560 <    *ac_space=\ *)
1559 >    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1560 >    *${as_nl}ac_space=\ *)
1561        sed -n \
1562 <        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1563 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1564 <      ;;
1562 >        "s/'\''/'\''\\\\'\'''\''/g;
1563 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1564 >      ;; #(
1565      *)
1566 <      sed -n \
1063 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1566 >      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1567        ;;
1568 <    esac;
1569 < }
1568 >    esac |
1569 >    sort
1570 > )
1571      echo
1572  
1573 <    cat <<\_ASBOX
1070 < ## ----------------- ##
1573 >    $as_echo "## ----------------- ##
1574   ## Output variables. ##
1575 < ## ----------------- ##
1073 < _ASBOX
1575 > ## ----------------- ##"
1576      echo
1577      for ac_var in $ac_subst_vars
1578      do
1579 <      eval ac_val=$`echo $ac_var`
1580 <      echo "$ac_var='"'"'$ac_val'"'"'"
1579 >      eval ac_val=\$$ac_var
1580 >      case $ac_val in
1581 >      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1582 >      esac
1583 >      $as_echo "$ac_var='\''$ac_val'\''"
1584      done | sort
1585      echo
1586  
1587      if test -n "$ac_subst_files"; then
1588 <      cat <<\_ASBOX
1589 < ## ------------- ##
1590 < ## Output files. ##
1086 < ## ------------- ##
1087 < _ASBOX
1588 >      $as_echo "## ------------------- ##
1589 > ## File substitutions. ##
1590 > ## ------------------- ##"
1591        echo
1592        for ac_var in $ac_subst_files
1593        do
1594 <        eval ac_val=$`echo $ac_var`
1595 <        echo "$ac_var='"'"'$ac_val'"'"'"
1594 >        eval ac_val=\$$ac_var
1595 >        case $ac_val in
1596 >        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1597 >        esac
1598 >        $as_echo "$ac_var='\''$ac_val'\''"
1599        done | sort
1600        echo
1601      fi
1602  
1603      if test -s confdefs.h; then
1604 <      cat <<\_ASBOX
1099 < ## ----------- ##
1604 >      $as_echo "## ----------- ##
1605   ## confdefs.h. ##
1606 < ## ----------- ##
1102 < _ASBOX
1606 > ## ----------- ##"
1607        echo
1608 <      sed "/^$/d" confdefs.h | sort
1608 >      cat confdefs.h
1609        echo
1610      fi
1611      test "$ac_signal" != 0 &&
1612 <      echo "$as_me: caught signal $ac_signal"
1613 <    echo "$as_me: exit $exit_status"
1612 >      $as_echo "$as_me: caught signal $ac_signal"
1613 >    $as_echo "$as_me: exit $exit_status"
1614    } >&5
1615 <  rm -f core *.core &&
1616 <  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1615 >  rm -f core *.core core.conftest.* &&
1616 >    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1617      exit $exit_status
1618 <     ' 0
1618 > ' 0
1619   for ac_signal in 1 2 13 15; do
1620 <  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1620 >  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1621   done
1622   ac_signal=0
1623  
1624   # confdefs.h avoids OS command line length limits that DEFS can exceed.
1625 < rm -rf conftest* confdefs.h
1626 < # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1627 < echo >confdefs.h
1625 > rm -f -r conftest* confdefs.h
1626 >
1627 > $as_echo "/* confdefs.h */" > confdefs.h
1628  
1629   # Predefined preprocessor variables.
1630  
# Line 1128 | Line 1632 | cat >>confdefs.h <<_ACEOF
1632   #define PACKAGE_NAME "$PACKAGE_NAME"
1633   _ACEOF
1634  
1131
1635   cat >>confdefs.h <<_ACEOF
1636   #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1637   _ACEOF
1638  
1136
1639   cat >>confdefs.h <<_ACEOF
1640   #define PACKAGE_VERSION "$PACKAGE_VERSION"
1641   _ACEOF
1642  
1141
1643   cat >>confdefs.h <<_ACEOF
1644   #define PACKAGE_STRING "$PACKAGE_STRING"
1645   _ACEOF
1646  
1146
1647   cat >>confdefs.h <<_ACEOF
1648   #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1649   _ACEOF
1650  
1651 + cat >>confdefs.h <<_ACEOF
1652 + #define PACKAGE_URL "$PACKAGE_URL"
1653 + _ACEOF
1654 +
1655  
1656   # Let the site file select an alternate cache file if it wants to.
1657 < # Prefer explicitly selected file to automatically selected ones.
1658 < if test -z "$CONFIG_SITE"; then
1659 <  if test "x$prefix" != xNONE; then
1660 <    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1661 <  else
1662 <    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1663 <  fi
1664 < fi
1665 < for ac_site_file in $CONFIG_SITE; do
1666 <  if test -r "$ac_site_file"; then
1667 <    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1668 < echo "$as_me: loading site script $ac_site_file" >&6;}
1657 > # Prefer an explicitly selected file to automatically selected ones.
1658 > ac_site_file1=NONE
1659 > ac_site_file2=NONE
1660 > if test -n "$CONFIG_SITE"; then
1661 >  # We do not want a PATH search for config.site.
1662 >  case $CONFIG_SITE in #((
1663 >    -*)  ac_site_file1=./$CONFIG_SITE;;
1664 >    */*) ac_site_file1=$CONFIG_SITE;;
1665 >    *)   ac_site_file1=./$CONFIG_SITE;;
1666 >  esac
1667 > elif test "x$prefix" != xNONE; then
1668 >  ac_site_file1=$prefix/share/config.site
1669 >  ac_site_file2=$prefix/etc/config.site
1670 > else
1671 >  ac_site_file1=$ac_default_prefix/share/config.site
1672 >  ac_site_file2=$ac_default_prefix/etc/config.site
1673 > fi
1674 > for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1675 > do
1676 >  test "x$ac_site_file" = xNONE && continue
1677 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1678 >    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1679 > $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1680      sed 's/^/| /' "$ac_site_file" >&5
1681 <    . "$ac_site_file"
1681 >    . "$ac_site_file" \
1682 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1683 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1684 > as_fn_error $? "failed to load site script $ac_site_file
1685 > See \`config.log' for more details" "$LINENO" 5; }
1686    fi
1687   done
1688  
1689   if test -r "$cache_file"; then
1690 <  # Some versions of bash will fail to source /dev/null (special
1691 <  # files actually), so we avoid doing that.
1692 <  if test -f "$cache_file"; then
1693 <    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1694 < echo "$as_me: loading cache $cache_file" >&6;}
1690 >  # Some versions of bash will fail to source /dev/null (special files
1691 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1692 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1693 >    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1694 > $as_echo "$as_me: loading cache $cache_file" >&6;}
1695      case $cache_file in
1696 <      [\\/]* | ?:[\\/]* ) . $cache_file;;
1697 <      *)                      . ./$cache_file;;
1696 >      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1697 >      *)                      . "./$cache_file";;
1698      esac
1699    fi
1700   else
1701 <  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1702 < echo "$as_me: creating cache $cache_file" >&6;}
1701 >  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1702 > $as_echo "$as_me: creating cache $cache_file" >&6;}
1703    >$cache_file
1704   fi
1705  
1706   # Check that the precious variables saved in the cache have kept the same
1707   # value.
1708   ac_cache_corrupted=false
1709 < for ac_var in `(set) 2>&1 |
1191 <               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1709 > for ac_var in $ac_precious_vars; do
1710    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1711    eval ac_new_set=\$ac_env_${ac_var}_set
1712 <  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1713 <  eval ac_new_val="\$ac_env_${ac_var}_value"
1712 >  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1713 >  eval ac_new_val=\$ac_env_${ac_var}_value
1714    case $ac_old_set,$ac_new_set in
1715      set,)
1716 <      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1717 < echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1716 >      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1717 > $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1718        ac_cache_corrupted=: ;;
1719      ,set)
1720 <      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1721 < echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1720 >      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1721 > $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1722        ac_cache_corrupted=: ;;
1723      ,);;
1724      *)
1725        if test "x$ac_old_val" != "x$ac_new_val"; then
1726 <        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1727 < echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1728 <        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1729 < echo "$as_me:   former value:  $ac_old_val" >&2;}
1730 <        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1731 < echo "$as_me:   current value: $ac_new_val" >&2;}
1732 <        ac_cache_corrupted=:
1726 >        # differences in whitespace do not lead to failure.
1727 >        ac_old_val_w=`echo x $ac_old_val`
1728 >        ac_new_val_w=`echo x $ac_new_val`
1729 >        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1730 >          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1731 > $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1732 >          ac_cache_corrupted=:
1733 >        else
1734 >          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1735 > $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1736 >          eval $ac_var=\$ac_old_val
1737 >        fi
1738 >        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1739 > $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1740 >        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1741 > $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1742        fi;;
1743    esac
1744    # Pass precious variables to config.status.
1745    if test "$ac_new_set" = set; then
1746      case $ac_new_val in
1747 <    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1221 <      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1747 >    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1748      *) ac_arg=$ac_var=$ac_new_val ;;
1749      esac
1750      case " $ac_configure_args " in
1751        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1752 <      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1752 >      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1753      esac
1754    fi
1755   done
1756   if $ac_cache_corrupted; then
1757 <  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1758 < echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1759 <  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1760 < echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1761 <   { (exit 1); exit 1; }; }
1762 < fi
1757 >  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1758 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1759 >  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1760 > $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1761 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1762 > fi
1763 > ## -------------------- ##
1764 > ## Main body of script. ##
1765 > ## -------------------- ##
1766  
1767   ac_ext=c
1768   ac_cpp='$CPP $CPPFLAGS'
# Line 1244 | Line 1773 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
1773  
1774  
1775  
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1776   ac_aux_dir=
1777 < for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1778 <  if test -f $ac_dir/install-sh; then
1777 > for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1778 >  if test -f "$ac_dir/install-sh"; then
1779      ac_aux_dir=$ac_dir
1780      ac_install_sh="$ac_aux_dir/install-sh -c"
1781      break
1782 <  elif test -f $ac_dir/install.sh; then
1782 >  elif test -f "$ac_dir/install.sh"; then
1783      ac_aux_dir=$ac_dir
1784      ac_install_sh="$ac_aux_dir/install.sh -c"
1785      break
1786 <  elif test -f $ac_dir/shtool; then
1786 >  elif test -f "$ac_dir/shtool"; then
1787      ac_aux_dir=$ac_dir
1788      ac_install_sh="$ac_aux_dir/shtool install -c"
1789      break
1790    fi
1791   done
1792   if test -z "$ac_aux_dir"; then
1793 <  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1794 < echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1795 <   { (exit 1); exit 1; }; }
1796 < fi
1797 < ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1798 < ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1799 < ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1793 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1794 > fi
1795 >
1796 > # These three variables are undocumented and unsupported,
1797 > # and are intended to be withdrawn in a future Autoconf release.
1798 > # They can cause serious problems if a builder's source tree is in a directory
1799 > # whose full name contains unusual characters.
1800 > ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1801 > ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1802 > ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1803 >
1804  
1805   # Find a good install program.  We prefer a C program (faster),
1806   # so one script is as good as another.  But avoid the broken or
# Line 1299 | Line 1815 | ac_configure="$SHELL $ac_aux_dir/configu
1815   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1816   # OS/2's system install, which has a completely different semantic
1817   # ./install, which can be erroneously created by make from ./install.sh.
1818 < echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1819 < echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1818 > # Reject install programs that cannot install multiple files.
1819 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1820 > $as_echo_n "checking for a BSD-compatible install... " >&6; }
1821   if test -z "$INSTALL"; then
1822 < if test "${ac_cv_path_install+set}" = set; then
1823 <  echo $ECHO_N "(cached) $ECHO_C" >&6
1822 > if ${ac_cv_path_install+:} false; then :
1823 >  $as_echo_n "(cached) " >&6
1824   else
1825    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1826   for as_dir in $PATH
1827   do
1828    IFS=$as_save_IFS
1829    test -z "$as_dir" && as_dir=.
1830 <  # Account for people who put trailing slashes in PATH elements.
1831 < case $as_dir/ in
1832 <  ./ | .// | /cC/* | \
1830 >    # Account for people who put trailing slashes in PATH elements.
1831 > case $as_dir/ in #((
1832 >  ./ | .// | /[cC]/* | \
1833    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1834 <  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1834 >  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1835    /usr/ucb/* ) ;;
1836    *)
1837      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 1322 | Line 1839 | case $as_dir/ in
1839      # by default.
1840      for ac_prog in ginstall scoinst install; do
1841        for ac_exec_ext in '' $ac_executable_extensions; do
1842 <        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1842 >        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1843            if test $ac_prog = install &&
1844              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1845              # AIX install.  It has an incompatible calling convention.
# Line 1332 | Line 1849 | case $as_dir/ in
1849              # program-specific install script used by HP pwplus--don't use.
1850              :
1851            else
1852 <            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1853 <            break 3
1852 >            rm -rf conftest.one conftest.two conftest.dir
1853 >            echo one > conftest.one
1854 >            echo two > conftest.two
1855 >            mkdir conftest.dir
1856 >            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1857 >              test -s conftest.one && test -s conftest.two &&
1858 >              test -s conftest.dir/conftest.one &&
1859 >              test -s conftest.dir/conftest.two
1860 >            then
1861 >              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1862 >              break 3
1863 >            fi
1864            fi
1865          fi
1866        done
1867      done
1868      ;;
1869   esac
1343 done
1870  
1871 +  done
1872 + IFS=$as_save_IFS
1873 +
1874 + rm -rf conftest.one conftest.two conftest.dir
1875  
1876   fi
1877    if test "${ac_cv_path_install+set}" = set; then
1878      INSTALL=$ac_cv_path_install
1879    else
1880 <    # As a last resort, use the slow shell script.  We don't cache a
1881 <    # path for INSTALL within a source directory, because that will
1880 >    # As a last resort, use the slow shell script.  Don't cache a
1881 >    # value for INSTALL within a source directory, because that will
1882      # break other packages using the cache if that directory is
1883 <    # removed, or if the path is relative.
1883 >    # removed, or if the value is a relative name.
1884      INSTALL=$ac_install_sh
1885    fi
1886   fi
1887 < echo "$as_me:$LINENO: result: $INSTALL" >&5
1888 < echo "${ECHO_T}$INSTALL" >&6
1887 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1888 > $as_echo "$INSTALL" >&6; }
1889  
1890   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1891   # It thinks the first close brace ends the variable substitution.
# Line 1366 | Line 1896 | test -z "$INSTALL_SCRIPT" && INSTALL_SCR
1896   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1897  
1898  
1899 < echo "$as_me:$LINENO: checking for GNU make" >&5
1900 < echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
1901 < if test "${_cv_gnu_make_command+set}" = set; then
1902 <  echo $ECHO_N "(cached) $ECHO_C" >&6
1899 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
1900 > $as_echo_n "checking for GNU make... " >&6; }
1901 > if ${_cv_gnu_make_command+:} false; then :
1902 >  $as_echo_n "(cached) " >&6
1903   else
1904    _cv_gnu_make_command='' ;
1905                  for a in "$MAKE" make gmake gnumake ; do
# Line 1381 | Line 1911 | else
1911                  done ;
1912  
1913   fi
1914 < echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
1915 < echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
1914 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
1915 > $as_echo "$_cv_gnu_make_command" >&6; } ;
1916          if test  "x$_cv_gnu_make_command" != "x"  ; then
1917                  ifGNUmake='' ;
1918          else
1919                  ifGNUmake='#' ;
1920 <                echo "$as_me:$LINENO: result: \"Not found\"" >&5
1921 < echo "${ECHO_T}\"Not found\"" >&6;
1920 >                { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
1921 > $as_echo "\"Not found\"" >&6; };
1922          fi
1923  
1924  
1925 < if test x$_cv_gnu_make_command = x; then
1396 <    { { echo "$as_me:$LINENO: error: You need GNU Make." >&5
1397 < echo "$as_me: error: You need GNU Make." >&2;}
1398 <   { (exit 1); exit 1; }; }
1399 < fi
1400 < ac_ext=cc
1401 < ac_cpp='$CXXCPP $CPPFLAGS'
1402 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1403 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1404 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1405 < if test -n "$ac_tool_prefix"; then
1406 <  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1407 <  do
1408 <    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1409 < set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1410 < echo "$as_me:$LINENO: checking for $ac_word" >&5
1411 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1412 < if test "${ac_cv_prog_CXX+set}" = set; then
1413 <  echo $ECHO_N "(cached) $ECHO_C" >&6
1414 < else
1415 <  if test -n "$CXX"; then
1416 <  ac_cv_prog_CXX="$CXX" # Let the user override the test.
1417 < else
1418 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1419 < for as_dir in $PATH
1420 < do
1421 <  IFS=$as_save_IFS
1422 <  test -z "$as_dir" && as_dir=.
1423 <  for ac_exec_ext in '' $ac_executable_extensions; do
1424 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1425 <    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1426 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1427 <    break 2
1428 <  fi
1429 < done
1430 < done
1925 > GNUMAKE=$_cv_gnu_make_command
1926  
1927 < fi
1928 < fi
1434 < CXX=$ac_cv_prog_CXX
1435 < if test -n "$CXX"; then
1436 <  echo "$as_me:$LINENO: result: $CXX" >&5
1437 < echo "${ECHO_T}$CXX" >&6
1438 < else
1439 <  echo "$as_me:$LINENO: result: no" >&5
1440 < echo "${ECHO_T}no" >&6
1927 > if test "x$GNUMAKE" = x; then :
1928 >  as_fn_error $? "You need GNU make" "$LINENO" 5
1929   fi
1930  
1443    test -n "$CXX" && break
1444  done
1445 fi
1446 if test -z "$CXX"; then
1447  ac_ct_CXX=$CXX
1448  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1449 do
1450  # Extract the first word of "$ac_prog", so it can be a program name with args.
1451 set dummy $ac_prog; ac_word=$2
1452 echo "$as_me:$LINENO: checking for $ac_word" >&5
1453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1454 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1455  echo $ECHO_N "(cached) $ECHO_C" >&6
1456 else
1457  if test -n "$ac_ct_CXX"; then
1458  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1459 else
1460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1461 for as_dir in $PATH
1462 do
1463  IFS=$as_save_IFS
1464  test -z "$as_dir" && as_dir=.
1465  for ac_exec_ext in '' $ac_executable_extensions; do
1466  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1467    ac_cv_prog_ac_ct_CXX="$ac_prog"
1468    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1469    break 2
1470  fi
1471 done
1472 done
1931  
1474 fi
1475 fi
1476 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1477 if test -n "$ac_ct_CXX"; then
1478  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1479 echo "${ECHO_T}$ac_ct_CXX" >&6
1480 else
1481  echo "$as_me:$LINENO: result: no" >&5
1482 echo "${ECHO_T}no" >&6
1483 fi
1932  
1485  test -n "$ac_ct_CXX" && break
1486 done
1487 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1933  
1489  CXX=$ac_ct_CXX
1490 fi
1934  
1935  
1493 # Provide some information about the compiler.
1494 echo "$as_me:$LINENO:" \
1495     "checking for C++ compiler version" >&5
1496 ac_compiler=`set X $ac_compile; echo $2`
1497 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1498  (eval $ac_compiler --version </dev/null >&5) 2>&5
1499  ac_status=$?
1500  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1501  (exit $ac_status); }
1502 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1503  (eval $ac_compiler -v </dev/null >&5) 2>&5
1504  ac_status=$?
1505  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1506  (exit $ac_status); }
1507 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1508  (eval $ac_compiler -V </dev/null >&5) 2>&5
1509  ac_status=$?
1510  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1511  (exit $ac_status); }
1936  
1513 cat >conftest.$ac_ext <<_ACEOF
1514 /* confdefs.h.  */
1515 _ACEOF
1516 cat confdefs.h >>conftest.$ac_ext
1517 cat >>conftest.$ac_ext <<_ACEOF
1518 /* end confdefs.h.  */
1937  
1520 int
1521 main ()
1522 {
1938  
1524  ;
1525  return 0;
1526 }
1527 _ACEOF
1528 ac_clean_files_save=$ac_clean_files
1529 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1530 # Try to create an executable without -o first, disregard a.out.
1531 # It will help us diagnose broken compilers, and finding out an intuition
1532 # of exeext.
1533 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1534 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1535 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1536 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1537  (eval $ac_link_default) 2>&5
1538  ac_status=$?
1539  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1540  (exit $ac_status); }; then
1541  # Find the output, starting from the most likely.  This scheme is
1542 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1543 # resort.
1544
1545 # Be careful to initialize this variable, since it used to be cached.
1546 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1547 ac_cv_exeext=
1548 # b.out is created by i960 compilers.
1549 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1550 do
1551  test -f "$ac_file" || continue
1552  case $ac_file in
1553    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1554        ;;
1555    conftest.$ac_ext )
1556        # This is the source file.
1557        ;;
1558    [ab].out )
1559        # We found the default executable, but exeext='' is most
1560        # certainly right.
1561        break;;
1562    *.* )
1563        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1564        # FIXME: I believe we export ac_cv_exeext for Libtool,
1565        # but it would be cool to find out if it's true.  Does anybody
1566        # maintain Libtool? --akim.
1567        export ac_cv_exeext
1568        break;;
1569    * )
1570        break;;
1571  esac
1572 done
1573 else
1574  echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.$ac_ext >&5
1939  
1577 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1578 See \`config.log' for more details." >&5
1579 echo "$as_me: error: C++ compiler cannot create executables
1580 See \`config.log' for more details." >&2;}
1581   { (exit 77); exit 77; }; }
1582 fi
1940  
1941 < ac_exeext=$ac_cv_exeext
1585 < echo "$as_me:$LINENO: result: $ac_file" >&5
1586 < echo "${ECHO_T}$ac_file" >&6
1941 >    if test -z "$PERL"; then :
1942  
1943 < # Check the compiler produces executables we can run.  If not, either
1944 < # the compiler is broken, or we cross compile.
1590 < echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1591 < echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1592 < # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1593 < # If not cross compiling, check that we can run a simple program.
1594 < if test "$cross_compiling" != yes; then
1595 <  if { ac_try='./$ac_file'
1596 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1597 <  (eval $ac_try) 2>&5
1598 <  ac_status=$?
1599 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1600 <  (exit $ac_status); }; }; then
1601 <    cross_compiling=no
1602 <  else
1603 <    if test "$cross_compiling" = maybe; then
1604 <        cross_compiling=yes
1605 <    else
1606 <        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1607 < If you meant to cross compile, use \`--host'.
1608 < See \`config.log' for more details." >&5
1609 < echo "$as_me: error: cannot run C++ compiled programs.
1610 < If you meant to cross compile, use \`--host'.
1611 < See \`config.log' for more details." >&2;}
1612 <   { (exit 1); exit 1; }; }
1613 <    fi
1614 <  fi
1615 < fi
1616 < echo "$as_me:$LINENO: result: yes" >&5
1617 < echo "${ECHO_T}yes" >&6
1943 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether perl executable path has been provided" >&5
1944 > $as_echo_n "checking whether perl executable path has been provided... " >&6; }
1945  
1946 < rm -f a.out a.exe conftest$ac_cv_exeext b.out
1947 < ac_clean_files=$ac_clean_files_save
1948 < # Check the compiler produces executables we can run.  If not, either
1949 < # the compiler is broken, or we cross compile.
1623 < echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1624 < echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1625 < echo "$as_me:$LINENO: result: $cross_compiling" >&5
1626 < echo "${ECHO_T}$cross_compiling" >&6
1627 <
1628 < echo "$as_me:$LINENO: checking for suffix of executables" >&5
1629 < echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1630 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1631 <  (eval $ac_link) 2>&5
1632 <  ac_status=$?
1633 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1634 <  (exit $ac_status); }; then
1635 <  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1636 < # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1637 < # work properly (i.e., refer to `conftest.exe'), while it won't with
1638 < # `rm'.
1639 < for ac_file in conftest.exe conftest conftest.*; do
1640 <  test -f "$ac_file" || continue
1641 <  case $ac_file in
1642 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1643 <    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1644 <          export ac_cv_exeext
1645 <          break;;
1646 <    * ) break;;
1647 <  esac
1648 < done
1649 < else
1650 <  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1651 < See \`config.log' for more details." >&5
1652 < echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1653 < See \`config.log' for more details." >&2;}
1654 <   { (exit 1); exit 1; }; }
1655 < fi
1946 > # Check whether --with-perl was given.
1947 > if test "${with_perl+set}" = set; then :
1948 >  withval=$with_perl;
1949 >            if test "$withval" != yes -a "$withval" != no; then :
1950  
1951 < rm -f conftest$ac_cv_exeext
1952 < echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1953 < echo "${ECHO_T}$ac_cv_exeext" >&6
1951 >                PERL="$withval"
1952 >                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
1953 > $as_echo "$PERL" >&6; }
1954  
1661 rm -f conftest.$ac_ext
1662 EXEEXT=$ac_cv_exeext
1663 ac_exeext=$EXEEXT
1664 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1665 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1666 if test "${ac_cv_objext+set}" = set; then
1667  echo $ECHO_N "(cached) $ECHO_C" >&6
1955   else
1669  cat >conftest.$ac_ext <<_ACEOF
1670 /* confdefs.h.  */
1671 _ACEOF
1672 cat confdefs.h >>conftest.$ac_ext
1673 cat >>conftest.$ac_ext <<_ACEOF
1674 /* end confdefs.h.  */
1956  
1957 < int
1958 < main ()
1959 < {
1957 >                PERL=""
1958 >                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1959 > $as_echo "no" >&6; }
1960 >                if test "$withval" != no; then :
1961  
1962 <  ;
1963 <  return 0;
1964 < }
1965 < _ACEOF
1966 < rm -f conftest.o conftest.obj
1967 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1968 <  (eval $ac_compile) 2>&5
1969 <  ac_status=$?
1970 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1971 <  (exit $ac_status); }; then
1972 <  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1973 <  case $ac_file in
1974 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1975 <    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1976 <       break;;
1977 <  esac
1962 >                  # Extract the first word of "perl", so it can be a program name with args.
1963 > set dummy perl; ac_word=$2
1964 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1965 > $as_echo_n "checking for $ac_word... " >&6; }
1966 > if ${ac_cv_path_PERL+:} false; then :
1967 >  $as_echo_n "(cached) " >&6
1968 > else
1969 >  case $PERL in
1970 >  [\\/]* | ?:[\\/]*)
1971 >  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1972 >  ;;
1973 >  *)
1974 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975 > for as_dir in $PATH
1976 > do
1977 >  IFS=$as_save_IFS
1978 >  test -z "$as_dir" && as_dir=.
1979 >    for ac_exec_ext in '' $ac_executable_extensions; do
1980 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1981 >    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1982 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1983 >    break 2
1984 >  fi
1985   done
1986 < else
1987 <  echo "$as_me: failed program was:" >&5
1699 < sed 's/^/| /' conftest.$ac_ext >&5
1700 <
1701 < { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1702 < See \`config.log' for more details." >&5
1703 < echo "$as_me: error: cannot compute suffix of object files: cannot compile
1704 < See \`config.log' for more details." >&2;}
1705 <   { (exit 1); exit 1; }; }
1706 < fi
1986 >  done
1987 > IFS=$as_save_IFS
1988  
1989 < rm -f conftest.$ac_cv_objext conftest.$ac_ext
1989 >  ;;
1990 > esac
1991   fi
1992 < echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1993 < echo "${ECHO_T}$ac_cv_objext" >&6
1994 < OBJEXT=$ac_cv_objext
1995 < ac_objext=$OBJEXT
1714 < echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1715 < echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1716 < if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1717 <  echo $ECHO_N "(cached) $ECHO_C" >&6
1718 < else
1719 <  cat >conftest.$ac_ext <<_ACEOF
1720 < /* confdefs.h.  */
1721 < _ACEOF
1722 < cat confdefs.h >>conftest.$ac_ext
1723 < cat >>conftest.$ac_ext <<_ACEOF
1724 < /* end confdefs.h.  */
1725 <
1726 < int
1727 < main ()
1728 < {
1729 < #ifndef __GNUC__
1730 <       choke me
1731 < #endif
1732 <
1733 <  ;
1734 <  return 0;
1735 < }
1736 < _ACEOF
1737 < rm -f conftest.$ac_objext
1738 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1739 <  (eval $ac_compile) 2>conftest.er1
1740 <  ac_status=$?
1741 <  grep -v '^ *+' conftest.er1 >conftest.err
1742 <  rm -f conftest.er1
1743 <  cat conftest.err >&5
1744 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1745 <  (exit $ac_status); } &&
1746 <         { ac_try='test -z "$ac_cxx_werror_flag"
1747 <                         || test ! -s conftest.err'
1748 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1749 <  (eval $ac_try) 2>&5
1750 <  ac_status=$?
1751 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1752 <  (exit $ac_status); }; } &&
1753 <         { ac_try='test -s conftest.$ac_objext'
1754 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1755 <  (eval $ac_try) 2>&5
1756 <  ac_status=$?
1757 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 <  (exit $ac_status); }; }; then
1759 <  ac_compiler_gnu=yes
1992 > PERL=$ac_cv_path_PERL
1993 > if test -n "$PERL"; then
1994 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
1995 > $as_echo "$PERL" >&6; }
1996   else
1997 <  echo "$as_me: failed program was:" >&5
1998 < sed 's/^/| /' conftest.$ac_ext >&5
1763 <
1764 < ac_compiler_gnu=no
1997 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1998 > $as_echo "no" >&6; }
1999   fi
1766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1767 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2000  
1769 fi
1770 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1771 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1772 GXX=`test $ac_compiler_gnu = yes && echo yes`
1773 ac_test_CXXFLAGS=${CXXFLAGS+set}
1774 ac_save_CXXFLAGS=$CXXFLAGS
1775 CXXFLAGS="-g"
1776 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1777 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1778 if test "${ac_cv_prog_cxx_g+set}" = set; then
1779  echo $ECHO_N "(cached) $ECHO_C" >&6
1780 else
1781  cat >conftest.$ac_ext <<_ACEOF
1782 /* confdefs.h.  */
1783 _ACEOF
1784 cat confdefs.h >>conftest.$ac_ext
1785 cat >>conftest.$ac_ext <<_ACEOF
1786 /* end confdefs.h.  */
2001  
1788 int
1789 main ()
1790 {
2002  
1792  ;
1793  return 0;
1794 }
1795 _ACEOF
1796 rm -f conftest.$ac_objext
1797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1798  (eval $ac_compile) 2>conftest.er1
1799  ac_status=$?
1800  grep -v '^ *+' conftest.er1 >conftest.err
1801  rm -f conftest.er1
1802  cat conftest.err >&5
1803  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1804  (exit $ac_status); } &&
1805         { ac_try='test -z "$ac_cxx_werror_flag"
1806                         || test ! -s conftest.err'
1807  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1808  (eval $ac_try) 2>&5
1809  ac_status=$?
1810  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1811  (exit $ac_status); }; } &&
1812         { ac_try='test -s conftest.$ac_objext'
1813  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1814  (eval $ac_try) 2>&5
1815  ac_status=$?
1816  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1817  (exit $ac_status); }; }; then
1818  ac_cv_prog_cxx_g=yes
1819 else
1820  echo "$as_me: failed program was:" >&5
1821 sed 's/^/| /' conftest.$ac_ext >&5
1822
1823 ac_cv_prog_cxx_g=no
2003   fi
1825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1826 fi
1827 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1828 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1829 if test "$ac_test_CXXFLAGS" = set; then
1830  CXXFLAGS=$ac_save_CXXFLAGS
1831 elif test $ac_cv_prog_cxx_g = yes; then
1832  if test "$GXX" = yes; then
1833    CXXFLAGS="-g -O2"
1834  else
1835    CXXFLAGS="-g"
1836  fi
1837 else
1838  if test "$GXX" = yes; then
1839    CXXFLAGS="-O2"
1840  else
1841    CXXFLAGS=
1842  fi
1843 fi
1844 for ac_declaration in \
1845   '' \
1846   'extern "C" void std::exit (int) throw (); using std::exit;' \
1847   'extern "C" void std::exit (int); using std::exit;' \
1848   'extern "C" void exit (int) throw ();' \
1849   'extern "C" void exit (int);' \
1850   'void exit (int);'
1851 do
1852  cat >conftest.$ac_ext <<_ACEOF
1853 /* confdefs.h.  */
1854 _ACEOF
1855 cat confdefs.h >>conftest.$ac_ext
1856 cat >>conftest.$ac_ext <<_ACEOF
1857 /* end confdefs.h.  */
1858 $ac_declaration
1859 #include <stdlib.h>
1860 int
1861 main ()
1862 {
1863 exit (42);
1864  ;
1865  return 0;
1866 }
1867 _ACEOF
1868 rm -f conftest.$ac_objext
1869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1870  (eval $ac_compile) 2>conftest.er1
1871  ac_status=$?
1872  grep -v '^ *+' conftest.er1 >conftest.err
1873  rm -f conftest.er1
1874  cat conftest.err >&5
1875  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1876  (exit $ac_status); } &&
1877         { ac_try='test -z "$ac_cxx_werror_flag"
1878                         || test ! -s conftest.err'
1879  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1880  (eval $ac_try) 2>&5
1881  ac_status=$?
1882  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1883  (exit $ac_status); }; } &&
1884         { ac_try='test -s conftest.$ac_objext'
1885  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1886  (eval $ac_try) 2>&5
1887  ac_status=$?
1888  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1889  (exit $ac_status); }; }; then
1890  :
1891 else
1892  echo "$as_me: failed program was:" >&5
1893 sed 's/^/| /' conftest.$ac_ext >&5
2004  
1895 continue
2005   fi
1897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1898  cat >conftest.$ac_ext <<_ACEOF
1899 /* confdefs.h.  */
1900 _ACEOF
1901 cat confdefs.h >>conftest.$ac_ext
1902 cat >>conftest.$ac_ext <<_ACEOF
1903 /* end confdefs.h.  */
1904 $ac_declaration
1905 int
1906 main ()
1907 {
1908 exit (42);
1909  ;
1910  return 0;
1911 }
1912 _ACEOF
1913 rm -f conftest.$ac_objext
1914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1915  (eval $ac_compile) 2>conftest.er1
1916  ac_status=$?
1917  grep -v '^ *+' conftest.er1 >conftest.err
1918  rm -f conftest.er1
1919  cat conftest.err >&5
1920  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1921  (exit $ac_status); } &&
1922         { ac_try='test -z "$ac_cxx_werror_flag"
1923                         || test ! -s conftest.err'
1924  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1925  (eval $ac_try) 2>&5
1926  ac_status=$?
1927  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1928  (exit $ac_status); }; } &&
1929         { ac_try='test -s conftest.$ac_objext'
1930  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1931  (eval $ac_try) 2>&5
1932  ac_status=$?
1933  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1934  (exit $ac_status); }; }; then
1935  break
1936 else
1937  echo "$as_me: failed program was:" >&5
1938 sed 's/^/| /' conftest.$ac_ext >&5
2006  
2007 < fi
1941 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1942 < done
1943 < rm -f conftest*
1944 < if test -n "$ac_declaration"; then
1945 <  echo '#ifdef __cplusplus' >>confdefs.h
1946 <  echo $ac_declaration      >>confdefs.h
1947 <  echo '#endif'             >>confdefs.h
1948 < fi
1949 <
1950 < ac_ext=c
1951 < ac_cpp='$CPP $CPPFLAGS'
1952 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1953 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1954 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
2007 > else
2008  
2009 < if ! test x$GXX = x; then
2010 <        echo "$as_me:$LINENO: checking if g++ is version 3.1 or higher" >&5
2011 < echo $ECHO_N "checking if g++ is version 3.1 or higher... $ECHO_C" >&6
1959 <        dt_gxx_3_x=`$CXX --version 2>&1 | grep ^$CXX`
1960 <        if test "x$dt_gxx_3_x" = "x"; then
1961 <                echo "$as_me:$LINENO: result: no" >&5
1962 < echo "${ECHO_T}no" >&6
1963 <                { { echo "$as_me:$LINENO: error: You need g++ 3.1 or higher." >&5
1964 < echo "$as_me: error: You need g++ 3.1 or higher." >&2;}
1965 <   { (exit 1); exit 1; }; }
1966 <        else
1967 <                echo "$as_me:$LINENO: result: yes" >&5
1968 < echo "${ECHO_T}yes" >&6
1969 <        fi
1970 < fi
1971 < # Make sure we have perl
1972 < if test -z "$PERL"; then
1973 < # Extract the first word of "perl", so it can be a program name with args.
2009 >            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2010 > $as_echo "no" >&6; }
2011 >            # Extract the first word of "perl", so it can be a program name with args.
2012   set dummy perl; ac_word=$2
2013 < echo "$as_me:$LINENO: checking for $ac_word" >&5
2014 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2015 < if test "${ac_cv_prog_PERL+set}" = set; then
2016 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2017 < else
2018 <  if test -n "$PERL"; then
2019 <  ac_cv_prog_PERL="$PERL" # Let the user override the test.
2020 < else
2021 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2013 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2014 > $as_echo_n "checking for $ac_word... " >&6; }
2015 > if ${ac_cv_path_PERL+:} false; then :
2016 >  $as_echo_n "(cached) " >&6
2017 > else
2018 >  case $PERL in
2019 >  [\\/]* | ?:[\\/]*)
2020 >  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2021 >  ;;
2022 >  *)
2023 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2024   for as_dir in $PATH
2025   do
2026    IFS=$as_save_IFS
2027    test -z "$as_dir" && as_dir=.
2028 <  for ac_exec_ext in '' $ac_executable_extensions; do
2029 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2030 <    ac_cv_prog_PERL="perl"
2031 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2028 >    for ac_exec_ext in '' $ac_executable_extensions; do
2029 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2030 >    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2031 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2032      break 2
2033    fi
2034   done
2035 < done
2035 >  done
2036 > IFS=$as_save_IFS
2037  
2038 +  ;;
2039 + esac
2040   fi
2041 < fi
1999 < PERL=$ac_cv_prog_PERL
2041 > PERL=$ac_cv_path_PERL
2042   if test -n "$PERL"; then
2043 <  echo "$as_me:$LINENO: result: $PERL" >&5
2044 < echo "${ECHO_T}$PERL" >&6
2043 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
2044 > $as_echo "$PERL" >&6; }
2045   else
2046 <  echo "$as_me:$LINENO: result: no" >&5
2047 < echo "${ECHO_T}no" >&6
2046 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2047 > $as_echo "no" >&6; }
2048   fi
2049  
2050 +
2051 +
2052   fi
2053  
2010 # Check if version of Perl is sufficient
2011 ac_perl_version="5.00503"
2012
2013 if test "x$PERL" != "x"; then
2014  echo "$as_me:$LINENO: checking for perl version greater than or equal to $ac_perl_version" >&5
2015 echo $ECHO_N "checking for perl version greater than or equal to $ac_perl_version... $ECHO_C" >&6
2016  # NB: It would be nice to log the error if there is one, but we cannot rely
2017  # on autoconf internals
2018  $PERL -e "use $ac_perl_version;" > /dev/null 2>&1
2019  if test $? -ne 0; then
2020    echo "$as_me:$LINENO: result: no" >&5
2021 echo "${ECHO_T}no" >&6;
2022    { { echo "$as_me:$LINENO: error: You need a Perl 5.6 or higher." >&5
2023 echo "$as_me: error: You need a Perl 5.6 or higher." >&2;}
2024   { (exit 1); exit 1; }; }
2025  else
2026    echo "$as_me:$LINENO: result: ok" >&5
2027 echo "${ECHO_T}ok" >&6;
2054  
2029  fi
2030 else
2031  { echo "$as_me:$LINENO: WARNING: could not find perl" >&5
2032 echo "$as_me: WARNING: could not find perl" >&2;}
2055   fi
2056  
2035 echo "$as_me:$LINENO: checking perl path" >&5
2036 echo $ECHO_N "checking perl path... $ECHO_C" >&6
2037 which_perl=`which $PERL`
2057  
2039 echo "$as_me:$LINENO: result: $which_perl" >&5
2040 echo "${ECHO_T}$which_perl" >&6
2058  
2059 < ac_perl_modules="File::Temp"
2059 >
2060 >
2061 >
2062 >
2063 >
2064 >
2065 >
2066 >
2067 >
2068 >
2069   # Make sure we have perl
2070   if test -z "$PERL"; then
2071   # Extract the first word of "perl", so it can be a program name with args.
2072   set dummy perl; ac_word=$2
2073 < echo "$as_me:$LINENO: checking for $ac_word" >&5
2074 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2075 < if test "${ac_cv_prog_PERL+set}" = set; then
2076 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2073 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2074 > $as_echo_n "checking for $ac_word... " >&6; }
2075 > if ${ac_cv_prog_PERL+:} false; then :
2076 >  $as_echo_n "(cached) " >&6
2077   else
2078    if test -n "$PERL"; then
2079    ac_cv_prog_PERL="$PERL" # Let the user override the test.
# Line 2057 | Line 2083 | for as_dir in $PATH
2083   do
2084    IFS=$as_save_IFS
2085    test -z "$as_dir" && as_dir=.
2086 <  for ac_exec_ext in '' $ac_executable_extensions; do
2087 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2086 >    for ac_exec_ext in '' $ac_executable_extensions; do
2087 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2088      ac_cv_prog_PERL="perl"
2089 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2089 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2090      break 2
2091    fi
2092   done
2093 < done
2093 >  done
2094 > IFS=$as_save_IFS
2095  
2096   fi
2097   fi
2098   PERL=$ac_cv_prog_PERL
2099   if test -n "$PERL"; then
2100 <  echo "$as_me:$LINENO: result: $PERL" >&5
2101 < echo "${ECHO_T}$PERL" >&6
2100 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
2101 > $as_echo "$PERL" >&6; }
2102   else
2103 <  echo "$as_me:$LINENO: result: no" >&5
2104 < echo "${ECHO_T}no" >&6
2103 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2104 > $as_echo "no" >&6; }
2105   fi
2106  
2107 +
2108   fi
2109  
2110   if test "x$PERL" != x; then
2111 <  ac_perl_modules_failed=0
2112 <  for ac_perl_module in $ac_perl_modules; do
2113 <    echo "$as_me:$LINENO: checking for perl module $ac_perl_module" >&5
2114 < echo $ECHO_N "checking for perl module $ac_perl_module... $ECHO_C" >&6
2111 >  ax_perl_modules_failed=0
2112 >  for ax_perl_module in 'File::Temp' ; do
2113 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl module $ax_perl_module" >&5
2114 > $as_echo_n "checking for perl module $ax_perl_module... " >&6; }
2115  
2116      # Would be nice to log result here, but can't rely on autoconf internals
2117 <    $PERL "-M$ac_perl_module" -e exit > /dev/null 2>&1
2117 >    $PERL -e "use $ax_perl_module; exit" > /dev/null 2>&1
2118      if test $? -ne 0; then
2119 <      echo "$as_me:$LINENO: result: no" >&5
2120 < echo "${ECHO_T}no" >&6;
2121 <      ac_perl_modules_failed=1
2119 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2120 > $as_echo "no" >&6; };
2121 >      ax_perl_modules_failed=1
2122     else
2123 <      echo "$as_me:$LINENO: result: ok" >&5
2124 < echo "${ECHO_T}ok" >&6;
2123 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2124 > $as_echo "ok" >&6; };
2125      fi
2126    done
2127  
2128    # Run optional shell commands
2129 <  if test "$ac_perl_modules_failed" = 0; then
2129 >  if test "$ax_perl_modules_failed" = 0; then
2130      :
2131  
2132    else
2133      :
2134 <    { { echo "$as_me:$LINENO: error: You need File::Temp." >&5
2107 < echo "$as_me: error: You need File::Temp." >&2;}
2108 <   { (exit 1); exit 1; }; }
2134 >    as_fn_error $? "You need File::Temp." "$LINENO" 5
2135    fi
2136   else
2137 <  { echo "$as_me:$LINENO: WARNING: could not find perl" >&5
2138 < echo "$as_me: WARNING: could not find perl" >&2;}
2137 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find perl" >&5
2138 > $as_echo "$as_me: WARNING: could not find perl" >&2;}
2139   fi
2140 < mingw=`$CXX --version 2>&1 | grep mingw\ special`
2141 < if test "x$mingw" = "x"; then
2142 <        ac_ext=c
2143 < ac_cpp='$CPP $CPPFLAGS'
2144 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2145 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2146 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
2147 < if test -n "$ac_tool_prefix"; then
2148 <  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2149 < set dummy ${ac_tool_prefix}gcc; ac_word=$2
2150 < echo "$as_me:$LINENO: checking for $ac_word" >&5
2151 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2152 < if test "${ac_cv_prog_CC+set}" = set; then
2153 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2140 > ac_ext=cpp
2141 > ac_cpp='$CXXCPP $CPPFLAGS'
2142 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2143 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2144 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2145 >
2146 > ac_ext=cpp
2147 > ac_cpp='$CXXCPP $CPPFLAGS'
2148 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2149 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2150 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2151 > if test -z "$CXX"; then
2152 >  if test -n "$CCC"; then
2153 >    CXX=$CCC
2154 >  else
2155 >    if test -n "$ac_tool_prefix"; then
2156 >  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2157 >  do
2158 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2159 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2160 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2161 > $as_echo_n "checking for $ac_word... " >&6; }
2162 > if ${ac_cv_prog_CXX+:} false; then :
2163 >  $as_echo_n "(cached) " >&6
2164   else
2165 <  if test -n "$CC"; then
2166 <  ac_cv_prog_CC="$CC" # Let the user override the test.
2165 >  if test -n "$CXX"; then
2166 >  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2167   else
2168   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2169   for as_dir in $PATH
2170   do
2171    IFS=$as_save_IFS
2172    test -z "$as_dir" && as_dir=.
2173 <  for ac_exec_ext in '' $ac_executable_extensions; do
2174 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2175 <    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2176 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 >    for ac_exec_ext in '' $ac_executable_extensions; do
2174 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2175 >    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2176 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2177      break 2
2178    fi
2179   done
2180 < done
2180 >  done
2181 > IFS=$as_save_IFS
2182  
2183   fi
2184   fi
2185 < CC=$ac_cv_prog_CC
2186 < if test -n "$CC"; then
2187 <  echo "$as_me:$LINENO: result: $CC" >&5
2188 < echo "${ECHO_T}$CC" >&6
2189 < else
2190 <  echo "$as_me:$LINENO: result: no" >&5
2191 < echo "${ECHO_T}no" >&6
2185 > CXX=$ac_cv_prog_CXX
2186 > if test -n "$CXX"; then
2187 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2188 > $as_echo "$CXX" >&6; }
2189 > else
2190 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2191 > $as_echo "no" >&6; }
2192   fi
2193  
2194 +
2195 +    test -n "$CXX" && break
2196 +  done
2197   fi
2198 < if test -z "$ac_cv_prog_CC"; then
2199 <  ac_ct_CC=$CC
2200 <  # Extract the first word of "gcc", so it can be a program name with args.
2201 < set dummy gcc; ac_word=$2
2202 < echo "$as_me:$LINENO: checking for $ac_word" >&5
2203 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2204 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2205 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2198 > if test -z "$CXX"; then
2199 >  ac_ct_CXX=$CXX
2200 >  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2201 > do
2202 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
2203 > set dummy $ac_prog; ac_word=$2
2204 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2205 > $as_echo_n "checking for $ac_word... " >&6; }
2206 > if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2207 >  $as_echo_n "(cached) " >&6
2208   else
2209 <  if test -n "$ac_ct_CC"; then
2210 <  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2209 >  if test -n "$ac_ct_CXX"; then
2210 >  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2211   else
2212   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2213   for as_dir in $PATH
2214   do
2215    IFS=$as_save_IFS
2216    test -z "$as_dir" && as_dir=.
2217 <  for ac_exec_ext in '' $ac_executable_extensions; do
2218 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2219 <    ac_cv_prog_ac_ct_CC="gcc"
2220 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2217 >    for ac_exec_ext in '' $ac_executable_extensions; do
2218 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2219 >    ac_cv_prog_ac_ct_CXX="$ac_prog"
2220 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2221      break 2
2222    fi
2223   done
2224 < done
2224 >  done
2225 > IFS=$as_save_IFS
2226  
2227   fi
2228   fi
2229 < ac_ct_CC=$ac_cv_prog_ac_ct_CC
2230 < if test -n "$ac_ct_CC"; then
2231 <  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2232 < echo "${ECHO_T}$ac_ct_CC" >&6
2229 > ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2230 > if test -n "$ac_ct_CXX"; then
2231 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2232 > $as_echo "$ac_ct_CXX" >&6; }
2233   else
2234 <  echo "$as_me:$LINENO: result: no" >&5
2235 < echo "${ECHO_T}no" >&6
2234 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2235 > $as_echo "no" >&6; }
2236   fi
2237  
2195  CC=$ac_ct_CC
2196 else
2197  CC="$ac_cv_prog_CC"
2198 fi
2238  
2239 < if test -z "$CC"; then
2201 <  if test -n "$ac_tool_prefix"; then
2202 <  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2203 < set dummy ${ac_tool_prefix}cc; ac_word=$2
2204 < echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2206 < if test "${ac_cv_prog_CC+set}" = set; then
2207 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2208 < else
2209 <  if test -n "$CC"; then
2210 <  ac_cv_prog_CC="$CC" # Let the user override the test.
2211 < else
2212 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2213 < for as_dir in $PATH
2214 < do
2215 <  IFS=$as_save_IFS
2216 <  test -z "$as_dir" && as_dir=.
2217 <  for ac_exec_ext in '' $ac_executable_extensions; do
2218 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2219 <    ac_cv_prog_CC="${ac_tool_prefix}cc"
2220 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2221 <    break 2
2222 <  fi
2223 < done
2239 >  test -n "$ac_ct_CXX" && break
2240   done
2241  
2242 < fi
2243 < fi
2244 < CC=$ac_cv_prog_CC
2245 < if test -n "$CC"; then
2246 <  echo "$as_me:$LINENO: result: $CC" >&5
2247 < echo "${ECHO_T}$CC" >&6
2248 < else
2249 <  echo "$as_me:$LINENO: result: no" >&5
2250 < echo "${ECHO_T}no" >&6
2242 >  if test "x$ac_ct_CXX" = x; then
2243 >    CXX="g++"
2244 >  else
2245 >    case $cross_compiling:$ac_tool_warned in
2246 > yes:)
2247 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2248 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2249 > ac_tool_warned=yes ;;
2250 > esac
2251 >    CXX=$ac_ct_CXX
2252 >  fi
2253   fi
2254  
2237 fi
2238 if test -z "$ac_cv_prog_CC"; then
2239  ac_ct_CC=$CC
2240  # Extract the first word of "cc", so it can be a program name with args.
2241 set dummy cc; ac_word=$2
2242 echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2244 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2245  echo $ECHO_N "(cached) $ECHO_C" >&6
2246 else
2247  if test -n "$ac_ct_CC"; then
2248  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2249 else
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 for as_dir in $PATH
2252 do
2253  IFS=$as_save_IFS
2254  test -z "$as_dir" && as_dir=.
2255  for ac_exec_ext in '' $ac_executable_extensions; do
2256  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2257    ac_cv_prog_ac_ct_CC="cc"
2258    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259    break 2
2255    fi
2256 < done
2256 > fi
2257 > # Provide some information about the compiler.
2258 > $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2259 > set X $ac_compile
2260 > ac_compiler=$2
2261 > for ac_option in --version -v -V -qversion; do
2262 >  { { ac_try="$ac_compiler $ac_option >&5"
2263 > case "(($ac_try" in
2264 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2265 >  *) ac_try_echo=$ac_try;;
2266 > esac
2267 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2268 > $as_echo "$ac_try_echo"; } >&5
2269 >  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2270 >  ac_status=$?
2271 >  if test -s conftest.err; then
2272 >    sed '10a\
2273 > ... rest of stderr output deleted ...
2274 >         10q' conftest.err >conftest.er1
2275 >    cat conftest.er1 >&5
2276 >  fi
2277 >  rm -f conftest.er1 conftest.err
2278 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2279 >  test $ac_status = 0; }
2280   done
2281  
2282 < fi
2283 < fi
2266 < ac_ct_CC=$ac_cv_prog_ac_ct_CC
2267 < if test -n "$ac_ct_CC"; then
2268 <  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2269 < echo "${ECHO_T}$ac_ct_CC" >&6
2270 < else
2271 <  echo "$as_me:$LINENO: result: no" >&5
2272 < echo "${ECHO_T}no" >&6
2273 < fi
2282 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2283 > /* end confdefs.h.  */
2284  
2285 <  CC=$ac_ct_CC
2286 < else
2287 <  CC="$ac_cv_prog_CC"
2278 < fi
2285 > int
2286 > main ()
2287 > {
2288  
2289 < fi
2290 < if test -z "$CC"; then
2291 <  # Extract the first word of "cc", so it can be a program name with args.
2292 < set dummy cc; ac_word=$2
2293 < echo "$as_me:$LINENO: checking for $ac_word" >&5
2294 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2295 < if test "${ac_cv_prog_CC+set}" = set; then
2296 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2297 < else
2298 <  if test -n "$CC"; then
2299 <  ac_cv_prog_CC="$CC" # Let the user override the test.
2300 < else
2292 <  ac_prog_rejected=no
2293 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 < for as_dir in $PATH
2295 < do
2296 <  IFS=$as_save_IFS
2297 <  test -z "$as_dir" && as_dir=.
2298 <  for ac_exec_ext in '' $ac_executable_extensions; do
2299 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2300 <    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2301 <       ac_prog_rejected=yes
2302 <       continue
2303 <     fi
2304 <    ac_cv_prog_CC="cc"
2305 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 <    break 2
2307 <  fi
2308 < done
2309 < done
2289 >  ;
2290 >  return 0;
2291 > }
2292 > _ACEOF
2293 > ac_clean_files_save=$ac_clean_files
2294 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2295 > # Try to create an executable without -o first, disregard a.out.
2296 > # It will help us diagnose broken compilers, and finding out an intuition
2297 > # of exeext.
2298 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2299 > $as_echo_n "checking whether the C++ compiler works... " >&6; }
2300 > ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2301  
2302 < if test $ac_prog_rejected = yes; then
2303 <  # We found a bogon in the path, so make sure we never use it.
2313 <  set dummy $ac_cv_prog_CC
2314 <  shift
2315 <  if test $# != 0; then
2316 <    # We chose a different compiler from the bogus one.
2317 <    # However, it has the same basename, so the bogon will be chosen
2318 <    # first if we set CC to just the basename; use the full file name.
2319 <    shift
2320 <    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2321 <  fi
2322 < fi
2323 < fi
2324 < fi
2325 < CC=$ac_cv_prog_CC
2326 < if test -n "$CC"; then
2327 <  echo "$as_me:$LINENO: result: $CC" >&5
2328 < echo "${ECHO_T}$CC" >&6
2329 < else
2330 <  echo "$as_me:$LINENO: result: no" >&5
2331 < echo "${ECHO_T}no" >&6
2332 < fi
2302 > # The possible output files:
2303 > ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2304  
2305 < fi
2306 < if test -z "$CC"; then
2336 <  if test -n "$ac_tool_prefix"; then
2337 <  for ac_prog in cl
2338 <  do
2339 <    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2340 < set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2341 < echo "$as_me:$LINENO: checking for $ac_word" >&5
2342 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2343 < if test "${ac_cv_prog_CC+set}" = set; then
2344 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2345 < else
2346 <  if test -n "$CC"; then
2347 <  ac_cv_prog_CC="$CC" # Let the user override the test.
2348 < else
2349 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350 < for as_dir in $PATH
2305 > ac_rmfiles=
2306 > for ac_file in $ac_files
2307   do
2308 <  IFS=$as_save_IFS
2309 <  test -z "$as_dir" && as_dir=.
2310 <  for ac_exec_ext in '' $ac_executable_extensions; do
2311 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2356 <    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2357 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 <    break 2
2359 <  fi
2360 < done
2308 >  case $ac_file in
2309 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2310 >    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2311 >  esac
2312   done
2313 + rm -f $ac_rmfiles
2314  
2315 < fi
2316 < fi
2317 < CC=$ac_cv_prog_CC
2318 < if test -n "$CC"; then
2319 <  echo "$as_me:$LINENO: result: $CC" >&5
2320 < echo "${ECHO_T}$CC" >&6
2321 < else
2322 <  echo "$as_me:$LINENO: result: no" >&5
2323 < echo "${ECHO_T}no" >&6
2324 < fi
2325 <
2326 <    test -n "$CC" && break
2327 <  done
2328 < fi
2329 < if test -z "$CC"; then
2330 <  ac_ct_CC=$CC
2331 <  for ac_prog in cl
2380 < do
2381 <  # Extract the first word of "$ac_prog", so it can be a program name with args.
2382 < set dummy $ac_prog; ac_word=$2
2383 < echo "$as_me:$LINENO: checking for $ac_word" >&5
2384 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2385 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2386 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2387 < else
2388 <  if test -n "$ac_ct_CC"; then
2389 <  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2390 < else
2391 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 < for as_dir in $PATH
2315 > if { { ac_try="$ac_link_default"
2316 > case "(($ac_try" in
2317 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2318 >  *) ac_try_echo=$ac_try;;
2319 > esac
2320 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2321 > $as_echo "$ac_try_echo"; } >&5
2322 >  (eval "$ac_link_default") 2>&5
2323 >  ac_status=$?
2324 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2325 >  test $ac_status = 0; }; then :
2326 >  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2327 > # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2328 > # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2329 > # so that the user can short-circuit this test for compilers unknown to
2330 > # Autoconf.
2331 > for ac_file in $ac_files ''
2332   do
2333 <  IFS=$as_save_IFS
2334 <  test -z "$as_dir" && as_dir=.
2335 <  for ac_exec_ext in '' $ac_executable_extensions; do
2336 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2337 <    ac_cv_prog_ac_ct_CC="$ac_prog"
2338 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339 <    break 2
2340 <  fi
2341 < done
2333 >  test -f "$ac_file" || continue
2334 >  case $ac_file in
2335 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2336 >        ;;
2337 >    [ab].out )
2338 >        # We found the default executable, but exeext='' is most
2339 >        # certainly right.
2340 >        break;;
2341 >    *.* )
2342 >        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2343 >        then :; else
2344 >           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2345 >        fi
2346 >        # We set ac_cv_exeext here because the later test for it is not
2347 >        # safe: cross compilers may not add the suffix if given an `-o'
2348 >        # argument, so we may need to know it at that point already.
2349 >        # Even if this section looks crufty: it has the advantage of
2350 >        # actually working.
2351 >        break;;
2352 >    * )
2353 >        break;;
2354 >  esac
2355   done
2356 + test "$ac_cv_exeext" = no && ac_cv_exeext=
2357  
2405 fi
2406 fi
2407 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2408 if test -n "$ac_ct_CC"; then
2409  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2410 echo "${ECHO_T}$ac_ct_CC" >&6
2358   else
2359 <  echo "$as_me:$LINENO: result: no" >&5
2413 < echo "${ECHO_T}no" >&6
2359 >  ac_file=''
2360   fi
2361 + if test -z "$ac_file"; then :
2362 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2363 + $as_echo "no" >&6; }
2364 + $as_echo "$as_me: failed program was:" >&5
2365 + sed 's/^/| /' conftest.$ac_ext >&5
2366  
2367 <  test -n "$ac_ct_CC" && break
2368 < done
2369 <
2370 <  CC=$ac_ct_CC
2371 < fi
2372 <
2373 < fi
2374 <
2375 <
2376 < test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2377 < See \`config.log' for more details." >&5
2378 < echo "$as_me: error: no acceptable C compiler found in \$PATH
2379 < See \`config.log' for more details." >&2;}
2429 <   { (exit 1); exit 1; }; }
2367 > { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2368 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2369 > as_fn_error 77 "C++ compiler cannot create executables
2370 > See \`config.log' for more details" "$LINENO" 5; }
2371 > else
2372 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2373 > $as_echo "yes" >&6; }
2374 > fi
2375 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2376 > $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2377 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2378 > $as_echo "$ac_file" >&6; }
2379 > ac_exeext=$ac_cv_exeext
2380  
2381 < # Provide some information about the compiler.
2382 < echo "$as_me:$LINENO:" \
2383 <     "checking for C compiler version" >&5
2384 < ac_compiler=`set X $ac_compile; echo $2`
2385 < { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2386 <  (eval $ac_compiler --version </dev/null >&5) 2>&5
2387 <  ac_status=$?
2388 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 <  (exit $ac_status); }
2390 < { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2391 <  (eval $ac_compiler -v </dev/null >&5) 2>&5
2392 <  ac_status=$?
2443 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 <  (exit $ac_status); }
2445 < { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2446 <  (eval $ac_compiler -V </dev/null >&5) 2>&5
2381 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2382 > ac_clean_files=$ac_clean_files_save
2383 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2384 > $as_echo_n "checking for suffix of executables... " >&6; }
2385 > if { { ac_try="$ac_link"
2386 > case "(($ac_try" in
2387 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2388 >  *) ac_try_echo=$ac_try;;
2389 > esac
2390 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2391 > $as_echo "$ac_try_echo"; } >&5
2392 >  (eval "$ac_link") 2>&5
2393    ac_status=$?
2394 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 <  (exit $ac_status); }
2396 <
2397 < echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2398 < echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2399 < if test "${ac_cv_c_compiler_gnu+set}" = set; then
2400 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2394 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2395 >  test $ac_status = 0; }; then :
2396 >  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2397 > # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2398 > # work properly (i.e., refer to `conftest.exe'), while it won't with
2399 > # `rm'.
2400 > for ac_file in conftest.exe conftest conftest.*; do
2401 >  test -f "$ac_file" || continue
2402 >  case $ac_file in
2403 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2404 >    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2405 >          break;;
2406 >    * ) break;;
2407 >  esac
2408 > done
2409   else
2410 <  cat >conftest.$ac_ext <<_ACEOF
2411 < /* confdefs.h.  */
2412 < _ACEOF
2413 < cat confdefs.h >>conftest.$ac_ext
2414 < cat >>conftest.$ac_ext <<_ACEOF
2415 < /* end confdefs.h.  */
2410 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2411 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2412 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2413 > See \`config.log' for more details" "$LINENO" 5; }
2414 > fi
2415 > rm -f conftest conftest$ac_cv_exeext
2416 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2417 > $as_echo "$ac_cv_exeext" >&6; }
2418  
2419 + rm -f conftest.$ac_ext
2420 + EXEEXT=$ac_cv_exeext
2421 + ac_exeext=$EXEEXT
2422 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2423 + /* end confdefs.h.  */
2424 + #include <stdio.h>
2425   int
2426   main ()
2427   {
2428 < #ifndef __GNUC__
2429 <       choke me
2468 < #endif
2428 > FILE *f = fopen ("conftest.out", "w");
2429 > return ferror (f) || fclose (f) != 0;
2430  
2431    ;
2432    return 0;
2433   }
2434   _ACEOF
2435 < rm -f conftest.$ac_objext
2436 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2437 <  (eval $ac_compile) 2>conftest.er1
2438 <  ac_status=$?
2439 <  grep -v '^ *+' conftest.er1 >conftest.err
2440 <  rm -f conftest.er1
2441 <  cat conftest.err >&5
2442 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 <  (exit $ac_status); } &&
2444 <         { ac_try='test -z "$ac_c_werror_flag"
2445 <                         || test ! -s conftest.err'
2446 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2447 <  (eval $ac_try) 2>&5
2448 <  ac_status=$?
2449 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 <  (exit $ac_status); }; } &&
2451 <         { ac_try='test -s conftest.$ac_objext'
2452 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2453 <  (eval $ac_try) 2>&5
2435 > ac_clean_files="$ac_clean_files conftest.out"
2436 > # Check that the compiler produces executables we can run.  If not, either
2437 > # the compiler is broken, or we cross compile.
2438 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2439 > $as_echo_n "checking whether we are cross compiling... " >&6; }
2440 > if test "$cross_compiling" != yes; then
2441 >  { { ac_try="$ac_link"
2442 > case "(($ac_try" in
2443 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2444 >  *) ac_try_echo=$ac_try;;
2445 > esac
2446 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2447 > $as_echo "$ac_try_echo"; } >&5
2448 >  (eval "$ac_link") 2>&5
2449 >  ac_status=$?
2450 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2451 >  test $ac_status = 0; }
2452 >  if { ac_try='./conftest$ac_cv_exeext'
2453 >  { { case "(($ac_try" in
2454 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2455 >  *) ac_try_echo=$ac_try;;
2456 > esac
2457 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2458 > $as_echo "$ac_try_echo"; } >&5
2459 >  (eval "$ac_try") 2>&5
2460    ac_status=$?
2461 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 <  (exit $ac_status); }; }; then
2463 <  ac_compiler_gnu=yes
2464 < else
2465 <  echo "$as_me: failed program was:" >&5
2466 < sed 's/^/| /' conftest.$ac_ext >&5
2467 <
2468 < ac_compiler_gnu=no
2461 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2462 >  test $ac_status = 0; }; }; then
2463 >    cross_compiling=no
2464 >  else
2465 >    if test "$cross_compiling" = maybe; then
2466 >        cross_compiling=yes
2467 >    else
2468 >        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2469 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2470 > as_fn_error $? "cannot run C++ compiled programs.
2471 > If you meant to cross compile, use \`--host'.
2472 > See \`config.log' for more details" "$LINENO" 5; }
2473 >    fi
2474 >  fi
2475   fi
2476 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2477 < ac_cv_c_compiler_gnu=$ac_compiler_gnu
2476 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2477 > $as_echo "$cross_compiling" >&6; }
2478  
2479 < fi
2480 < echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2481 < echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2482 < GCC=`test $ac_compiler_gnu = yes && echo yes`
2483 < ac_test_CFLAGS=${CFLAGS+set}
2484 < ac_save_CFLAGS=$CFLAGS
2512 < CFLAGS="-g"
2513 < echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2514 < echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2515 < if test "${ac_cv_prog_cc_g+set}" = set; then
2516 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2479 > rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2480 > ac_clean_files=$ac_clean_files_save
2481 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2482 > $as_echo_n "checking for suffix of object files... " >&6; }
2483 > if ${ac_cv_objext+:} false; then :
2484 >  $as_echo_n "(cached) " >&6
2485   else
2486 <  cat >conftest.$ac_ext <<_ACEOF
2519 < /* confdefs.h.  */
2520 < _ACEOF
2521 < cat confdefs.h >>conftest.$ac_ext
2522 < cat >>conftest.$ac_ext <<_ACEOF
2486 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2487   /* end confdefs.h.  */
2488  
2489   int
# Line 2530 | Line 2494 | main ()
2494    return 0;
2495   }
2496   _ACEOF
2497 < rm -f conftest.$ac_objext
2498 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2499 <  (eval $ac_compile) 2>conftest.er1
2500 <  ac_status=$?
2501 <  grep -v '^ *+' conftest.er1 >conftest.err
2502 <  rm -f conftest.er1
2503 <  cat conftest.err >&5
2504 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 <  (exit $ac_status); } &&
2506 <         { ac_try='test -z "$ac_c_werror_flag"
2507 <                         || test ! -s conftest.err'
2508 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2509 <  (eval $ac_try) 2>&5
2510 <  ac_status=$?
2511 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 <  (exit $ac_status); }; } &&
2513 <         { ac_try='test -s conftest.$ac_objext'
2514 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2515 <  (eval $ac_try) 2>&5
2516 <  ac_status=$?
2553 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 <  (exit $ac_status); }; }; then
2555 <  ac_cv_prog_cc_g=yes
2497 > rm -f conftest.o conftest.obj
2498 > if { { ac_try="$ac_compile"
2499 > case "(($ac_try" in
2500 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2501 >  *) ac_try_echo=$ac_try;;
2502 > esac
2503 > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2504 > $as_echo "$ac_try_echo"; } >&5
2505 >  (eval "$ac_compile") 2>&5
2506 >  ac_status=$?
2507 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2508 >  test $ac_status = 0; }; then :
2509 >  for ac_file in conftest.o conftest.obj conftest.*; do
2510 >  test -f "$ac_file" || continue;
2511 >  case $ac_file in
2512 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2513 >    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2514 >       break;;
2515 >  esac
2516 > done
2517   else
2518 <  echo "$as_me: failed program was:" >&5
2518 >  $as_echo "$as_me: failed program was:" >&5
2519   sed 's/^/| /' conftest.$ac_ext >&5
2520  
2521 < ac_cv_prog_cc_g=no
2521 > { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2522 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2523 > as_fn_error $? "cannot compute suffix of object files: cannot compile
2524 > See \`config.log' for more details" "$LINENO" 5; }
2525   fi
2526 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2563 < fi
2564 < echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2565 < echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2566 < if test "$ac_test_CFLAGS" = set; then
2567 <  CFLAGS=$ac_save_CFLAGS
2568 < elif test $ac_cv_prog_cc_g = yes; then
2569 <  if test "$GCC" = yes; then
2570 <    CFLAGS="-g -O2"
2571 <  else