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
2572 <    CFLAGS="-g"
2573 <  fi
2574 < else
2575 <  if test "$GCC" = yes; then
2576 <    CFLAGS="-O2"
2577 <  else
2578 <    CFLAGS=
2579 <  fi
2526 > rm -f conftest.$ac_cv_objext conftest.$ac_ext
2527   fi
2528 < echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2529 < echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2530 < if test "${ac_cv_prog_cc_stdc+set}" = set; then
2531 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2528 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2529 > $as_echo "$ac_cv_objext" >&6; }
2530 > OBJEXT=$ac_cv_objext
2531 > ac_objext=$OBJEXT
2532 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2533 > $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2534 > if ${ac_cv_cxx_compiler_gnu+:} false; then :
2535 >  $as_echo_n "(cached) " >&6
2536   else
2537 <  ac_cv_prog_cc_stdc=no
2587 < ac_save_CC=$CC
2588 < cat >conftest.$ac_ext <<_ACEOF
2589 < /* confdefs.h.  */
2590 < _ACEOF
2591 < cat confdefs.h >>conftest.$ac_ext
2592 < cat >>conftest.$ac_ext <<_ACEOF
2537 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2538   /* end confdefs.h.  */
2594 #include <stdarg.h>
2595 #include <stdio.h>
2596 #include <sys/types.h>
2597 #include <sys/stat.h>
2598 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2599 struct buf { int x; };
2600 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2601 static char *e (p, i)
2602     char **p;
2603     int i;
2604 {
2605  return p[i];
2606 }
2607 static char *f (char * (*g) (char **, int), char **p, ...)
2608 {
2609  char *s;
2610  va_list v;
2611  va_start (v,p);
2612  s = g (p, va_arg (v,int));
2613  va_end (v);
2614  return s;
2615 }
2539  
2617 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2618   function prototypes and stuff, but not '\xHH' hex character constants.
2619   These don't provoke an error unfortunately, instead are silently treated
2620   as 'x'.  The following induces an error, until -std1 is added to get
2621   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2622   array size at least.  It's necessary to write '\x00'==0 to get something
2623   that's true only with -std1.  */
2624 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2625
2626 int test (int i, double x);
2627 struct s1 {int (*f) (int a);};
2628 struct s2 {int (*f) (double a);};
2629 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2630 int argc;
2631 char **argv;
2540   int
2541   main ()
2542   {
2543 < return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2543 > #ifndef __GNUC__
2544 >       choke me
2545 > #endif
2546 >
2547    ;
2548    return 0;
2549   }
2550   _ACEOF
2551 < # Don't try gcc -ansi; that turns off useful extensions and
2552 < # breaks some systems' header files.
2642 < # AIX                   -qlanglvl=ansi
2643 < # Ultrix and OSF/1      -std1
2644 < # HP-UX 10.20 and later -Ae
2645 < # HP-UX older versions  -Aa -D_HPUX_SOURCE
2646 < # SVR4                  -Xc -D__EXTENSIONS__
2647 < for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2648 < do
2649 <  CC="$ac_save_CC $ac_arg"
2650 <  rm -f conftest.$ac_objext
2651 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2652 <  (eval $ac_compile) 2>conftest.er1
2653 <  ac_status=$?
2654 <  grep -v '^ *+' conftest.er1 >conftest.err
2655 <  rm -f conftest.er1
2656 <  cat conftest.err >&5
2657 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 <  (exit $ac_status); } &&
2659 <         { ac_try='test -z "$ac_c_werror_flag"
2660 <                         || test ! -s conftest.err'
2661 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2662 <  (eval $ac_try) 2>&5
2663 <  ac_status=$?
2664 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 <  (exit $ac_status); }; } &&
2666 <         { ac_try='test -s conftest.$ac_objext'
2667 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2668 <  (eval $ac_try) 2>&5
2669 <  ac_status=$?
2670 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 <  (exit $ac_status); }; }; then
2672 <  ac_cv_prog_cc_stdc=$ac_arg
2673 < break
2551 > if ac_fn_cxx_try_compile "$LINENO"; then :
2552 >  ac_compiler_gnu=yes
2553   else
2554 <  echo "$as_me: failed program was:" >&5
2676 < sed 's/^/| /' conftest.$ac_ext >&5
2677 <
2554 >  ac_compiler_gnu=no
2555   fi
2556 < rm -f conftest.err conftest.$ac_objext
2557 < done
2681 < rm -f conftest.$ac_ext conftest.$ac_objext
2682 < CC=$ac_save_CC
2556 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2557 > ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2558  
2559   fi
2560 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2561 + $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2562 + if test $ac_compiler_gnu = yes; then
2563 +  GXX=yes
2564 + else
2565 +  GXX=
2566 + fi
2567 + ac_test_CXXFLAGS=${CXXFLAGS+set}
2568 + ac_save_CXXFLAGS=$CXXFLAGS
2569 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2570 + $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2571 + if ${ac_cv_prog_cxx_g+:} false; then :
2572 +  $as_echo_n "(cached) " >&6
2573 + else
2574 +  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2575 +   ac_cxx_werror_flag=yes
2576 +   ac_cv_prog_cxx_g=no
2577 +   CXXFLAGS="-g"
2578 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2579 + /* end confdefs.h.  */
2580  
2581 < case "x$ac_cv_prog_cc_stdc" in
2582 <  x|xno)
2583 <    echo "$as_me:$LINENO: result: none needed" >&5
2689 < echo "${ECHO_T}none needed" >&6 ;;
2690 <  *)
2691 <    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2692 < echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2693 <    CC="$CC $ac_cv_prog_cc_stdc" ;;
2694 < esac
2581 > int
2582 > main ()
2583 > {
2584  
2585 < # Some people use a C++ compiler to compile C.  Since we use `exit',
2586 < # in C++ we need to declare it.  In case someone uses the same compiler
2587 < # for both compiling C and C++ we need to have the C++ compiler decide
2699 < # the declaration of exit, since it's the most demanding environment.
2700 < cat >conftest.$ac_ext <<_ACEOF
2701 < #ifndef __cplusplus
2702 <  choke me
2703 < #endif
2704 < _ACEOF
2705 < rm -f conftest.$ac_objext
2706 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2707 <  (eval $ac_compile) 2>conftest.er1
2708 <  ac_status=$?
2709 <  grep -v '^ *+' conftest.er1 >conftest.err
2710 <  rm -f conftest.er1
2711 <  cat conftest.err >&5
2712 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 <  (exit $ac_status); } &&
2714 <         { ac_try='test -z "$ac_c_werror_flag"
2715 <                         || test ! -s conftest.err'
2716 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2717 <  (eval $ac_try) 2>&5
2718 <  ac_status=$?
2719 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 <  (exit $ac_status); }; } &&
2721 <         { ac_try='test -s conftest.$ac_objext'
2722 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2723 <  (eval $ac_try) 2>&5
2724 <  ac_status=$?
2725 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 <  (exit $ac_status); }; }; then
2727 <  for ac_declaration in \
2728 <   '' \
2729 <   'extern "C" void std::exit (int) throw (); using std::exit;' \
2730 <   'extern "C" void std::exit (int); using std::exit;' \
2731 <   'extern "C" void exit (int) throw ();' \
2732 <   'extern "C" void exit (int);' \
2733 <   'void exit (int);'
2734 < do
2735 <  cat >conftest.$ac_ext <<_ACEOF
2736 < /* confdefs.h.  */
2585 >  ;
2586 >  return 0;
2587 > }
2588   _ACEOF
2589 < cat confdefs.h >>conftest.$ac_ext
2590 < cat >>conftest.$ac_ext <<_ACEOF
2589 > if ac_fn_cxx_try_compile "$LINENO"; then :
2590 >  ac_cv_prog_cxx_g=yes
2591 > else
2592 >  CXXFLAGS=""
2593 >      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2594   /* end confdefs.h.  */
2595 < $ac_declaration
2742 < #include <stdlib.h>
2595 >
2596   int
2597   main ()
2598   {
2599 < exit (42);
2599 >
2600    ;
2601    return 0;
2602   }
2603   _ACEOF
2604 < rm -f conftest.$ac_objext
2752 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2753 <  (eval $ac_compile) 2>conftest.er1
2754 <  ac_status=$?
2755 <  grep -v '^ *+' conftest.er1 >conftest.err
2756 <  rm -f conftest.er1
2757 <  cat conftest.err >&5
2758 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 <  (exit $ac_status); } &&
2760 <         { ac_try='test -z "$ac_c_werror_flag"
2761 <                         || test ! -s conftest.err'
2762 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2763 <  (eval $ac_try) 2>&5
2764 <  ac_status=$?
2765 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 <  (exit $ac_status); }; } &&
2767 <         { ac_try='test -s conftest.$ac_objext'
2768 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2769 <  (eval $ac_try) 2>&5
2770 <  ac_status=$?
2771 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 <  (exit $ac_status); }; }; then
2773 <  :
2774 < else
2775 <  echo "$as_me: failed program was:" >&5
2776 < sed 's/^/| /' conftest.$ac_ext >&5
2604 > if ac_fn_cxx_try_compile "$LINENO"; then :
2605  
2606 < continue
2607 < fi
2608 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2609 <  cat >conftest.$ac_ext <<_ACEOF
2782 < /* confdefs.h.  */
2783 < _ACEOF
2784 < cat confdefs.h >>conftest.$ac_ext
2785 < cat >>conftest.$ac_ext <<_ACEOF
2606 > else
2607 >  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2608 >         CXXFLAGS="-g"
2609 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2610   /* end confdefs.h.  */
2611 < $ac_declaration
2611 >
2612   int
2613   main ()
2614   {
2615 < exit (42);
2615 >
2616    ;
2617    return 0;
2618   }
2619   _ACEOF
2620 < rm -f conftest.$ac_objext
2621 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2798 <  (eval $ac_compile) 2>conftest.er1
2799 <  ac_status=$?
2800 <  grep -v '^ *+' conftest.er1 >conftest.err
2801 <  rm -f conftest.er1
2802 <  cat conftest.err >&5
2803 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 <  (exit $ac_status); } &&
2805 <         { ac_try='test -z "$ac_c_werror_flag"
2806 <                         || test ! -s conftest.err'
2807 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2808 <  (eval $ac_try) 2>&5
2809 <  ac_status=$?
2810 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 <  (exit $ac_status); }; } &&
2812 <         { ac_try='test -s conftest.$ac_objext'
2813 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2814 <  (eval $ac_try) 2>&5
2815 <  ac_status=$?
2816 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 <  (exit $ac_status); }; }; then
2818 <  break
2819 < else
2820 <  echo "$as_me: failed program was:" >&5
2821 < sed 's/^/| /' conftest.$ac_ext >&5
2822 <
2620 > if ac_fn_cxx_try_compile "$LINENO"; then :
2621 >  ac_cv_prog_cxx_g=yes
2622   fi
2623 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2825 < done
2826 < rm -f conftest*
2827 < if test -n "$ac_declaration"; then
2828 <  echo '#ifdef __cplusplus' >>confdefs.h
2829 <  echo $ac_declaration      >>confdefs.h
2830 <  echo '#endif'             >>confdefs.h
2623 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2624   fi
2625 <
2625 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2626 > fi
2627 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2628 >   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2629 > fi
2630 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2631 > $as_echo "$ac_cv_prog_cxx_g" >&6; }
2632 > if test "$ac_test_CXXFLAGS" = set; then
2633 >  CXXFLAGS=$ac_save_CXXFLAGS
2634 > elif test $ac_cv_prog_cxx_g = yes; then
2635 >  if test "$GXX" = yes; then
2636 >    CXXFLAGS="-g -O2"
2637 >  else
2638 >    CXXFLAGS="-g"
2639 >  fi
2640   else
2641 <  echo "$as_me: failed program was:" >&5
2642 < sed 's/^/| /' conftest.$ac_ext >&5
2643 <
2641 >  if test "$GXX" = yes; then
2642 >    CXXFLAGS="-O2"
2643 >  else
2644 >    CXXFLAGS=
2645 >  fi
2646   fi
2647 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2648 < ac_ext=c
2649 < ac_cpp='$CPP $CPPFLAGS'
2650 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2651 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2843 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
2647 > ac_ext=cpp
2648 > ac_cpp='$CXXCPP $CPPFLAGS'
2649 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2650 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2651 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2652  
2653 + mingw=`$CXX --version 2>&1 | grep mingw\ special`
2654 + if test "x$mingw" = "x"; then
2655  
2656  
2657 < echo "$as_me:$LINENO: checking for libraries containing socket functions" >&5
2658 < echo $ECHO_N "checking for libraries containing socket functions... $ECHO_C" >&6
2659 < if test "${ac_cv_socket_libs+set}" = set; then
2660 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2657 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
2658 > $as_echo_n "checking for library containing gethostbyname... " >&6; }
2659 > if ${ac_cv_search_gethostbyname+:} false; then :
2660 >  $as_echo_n "(cached) " >&6
2661   else
2662 <
2663 <        oCFLAGS=$CFLAGS
2854 <
2855 <        cat >conftest.$ac_ext <<_ACEOF
2856 < /* confdefs.h.  */
2857 < _ACEOF
2858 < cat confdefs.h >>conftest.$ac_ext
2859 < cat >>conftest.$ac_ext <<_ACEOF
2662 >  ac_func_search_save_LIBS=$LIBS
2663 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2664   /* end confdefs.h.  */
2665  
2666 <                        #include <sys/types.h>
2667 <                        #include <sys/socket.h>
2668 <                        #include <netinet/in.h>
2669 <                        #include <arpa/inet.h>
2670 <
2666 > /* Override any GCC internal prototype to avoid an error.
2667 >   Use char because int might match the return type of a GCC
2668 >   builtin and then its argument prototype would still apply.  */
2669 > #ifdef __cplusplus
2670 > extern "C"
2671 > #endif
2672 > char gethostbyname ();
2673   int
2674   main ()
2675   {
2676 <
2871 <                        struct in_addr add;
2872 <                        int sd = socket(AF_INET, SOCK_STREAM, 0);
2873 <                        inet_ntoa(add);
2874 <
2676 > return gethostbyname ();
2677    ;
2678    return 0;
2679   }
2680   _ACEOF
2681 < rm -f conftest.$ac_objext conftest$ac_exeext
2682 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2683 <  (eval $ac_link) 2>conftest.er1
2684 <  ac_status=$?
2685 <  grep -v '^ *+' conftest.er1 >conftest.err
2686 <  rm -f conftest.er1
2687 <  cat conftest.err >&5
2688 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 <  (exit $ac_status); } &&
2690 <         { ac_try='test -z "$ac_c_werror_flag"
2691 <                         || test ! -s conftest.err'
2692 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2693 <  (eval $ac_try) 2>&5
2694 <  ac_status=$?
2695 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 <  (exit $ac_status); }; } &&
2697 <         { ac_try='test -s conftest$ac_exeext'
2698 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897 <  (eval $ac_try) 2>&5
2898 <  ac_status=$?
2899 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 <  (exit $ac_status); }; }; then
2901 <  ac_cv_socket_libs=-lc
2681 > for ac_lib in '' nsl; do
2682 >  if test -z "$ac_lib"; then
2683 >    ac_res="none required"
2684 >  else
2685 >    ac_res=-l$ac_lib
2686 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
2687 >  fi
2688 >  if ac_fn_cxx_try_link "$LINENO"; then :
2689 >  ac_cv_search_gethostbyname=$ac_res
2690 > fi
2691 > rm -f core conftest.err conftest.$ac_objext \
2692 >    conftest$ac_exeext
2693 >  if ${ac_cv_search_gethostbyname+:} false; then :
2694 >  break
2695 > fi
2696 > done
2697 > if ${ac_cv_search_gethostbyname+:} false; then :
2698 >
2699   else
2700 <  echo "$as_me: failed program was:" >&5
2701 < sed 's/^/| /' conftest.$ac_ext >&5
2700 >  ac_cv_search_gethostbyname=no
2701 > fi
2702 > rm conftest.$ac_ext
2703 > LIBS=$ac_func_search_save_LIBS
2704 > fi
2705 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
2706 > $as_echo "$ac_cv_search_gethostbyname" >&6; }
2707 > ac_res=$ac_cv_search_gethostbyname
2708 > if test "$ac_res" != no; then :
2709 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2710  
2906 ac_cv_socket_libs=no
2711   fi
2908 rm -f conftest.err conftest.$ac_objext \
2909      conftest$ac_exeext conftest.$ac_ext
2712  
2713 <        if test x"$ac_cv_socket_libs" = "xno"
2714 <        then
2715 <                CFLAGS="$oCFLAGS -lsocket"
2716 <                cat >conftest.$ac_ext <<_ACEOF
2717 < /* confdefs.h.  */
2718 < _ACEOF
2719 < cat confdefs.h >>conftest.$ac_ext
2918 < cat >>conftest.$ac_ext <<_ACEOF
2713 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
2714 > $as_echo_n "checking for library containing socket... " >&6; }
2715 > if ${ac_cv_search_socket+:} false; then :
2716 >  $as_echo_n "(cached) " >&6
2717 > else
2718 >  ac_func_search_save_LIBS=$LIBS
2719 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2720   /* end confdefs.h.  */
2721  
2722 <                                #include <sys/types.h>
2723 <                                #include <sys/socket.h>
2724 <                                #include <netinet/in.h>
2725 <                                #include <arpa/inet.h>
2726 <
2722 > /* Override any GCC internal prototype to avoid an error.
2723 >   Use char because int might match the return type of a GCC
2724 >   builtin and then its argument prototype would still apply.  */
2725 > #ifdef __cplusplus
2726 > extern "C"
2727 > #endif
2728 > char socket ();
2729   int
2730   main ()
2731   {
2732 <
2930 <                                struct in_addr add;
2931 <                                int sd = socket(AF_INET, SOCK_STREAM, 0);
2932 <                                inet_ntoa(add);
2933 <
2732 > return socket ();
2733    ;
2734    return 0;
2735   }
2736   _ACEOF
2737 < rm -f conftest.$ac_objext conftest$ac_exeext
2738 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2739 <  (eval $ac_link) 2>conftest.er1
2740 <  ac_status=$?
2741 <  grep -v '^ *+' conftest.er1 >conftest.err
2742 <  rm -f conftest.er1
2743 <  cat conftest.err >&5
2744 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 <  (exit $ac_status); } &&
2746 <         { ac_try='test -z "$ac_c_werror_flag"
2747 <                         || test ! -s conftest.err'
2748 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2749 <  (eval $ac_try) 2>&5
2750 <  ac_status=$?
2751 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 <  (exit $ac_status); }; } &&
2753 <         { ac_try='test -s conftest$ac_exeext'
2955 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2956 <  (eval $ac_try) 2>&5
2957 <  ac_status=$?
2958 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 <  (exit $ac_status); }; }; then
2960 <  ac_cv_socket_libs=-lsocket
2961 < else
2962 <  echo "$as_me: failed program was:" >&5
2963 < sed 's/^/| /' conftest.$ac_ext >&5
2737 > for ac_lib in '' socket; do
2738 >  if test -z "$ac_lib"; then
2739 >    ac_res="none required"
2740 >  else
2741 >    ac_res=-l$ac_lib
2742 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
2743 >  fi
2744 >  if ac_fn_cxx_try_link "$LINENO"; then :
2745 >  ac_cv_search_socket=$ac_res
2746 > fi
2747 > rm -f core conftest.err conftest.$ac_objext \
2748 >    conftest$ac_exeext
2749 >  if ${ac_cv_search_socket+:} false; then :
2750 >  break
2751 > fi
2752 > done
2753 > if ${ac_cv_search_socket+:} false; then :
2754  
2755 < ac_cv_socket_libs=no
2755 > else
2756 >  ac_cv_search_socket=no
2757   fi
2758 < rm -f conftest.err conftest.$ac_objext \
2759 <      conftest$ac_exeext conftest.$ac_ext
2760 <        fi
2758 > rm conftest.$ac_ext
2759 > LIBS=$ac_func_search_save_LIBS
2760 > fi
2761 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
2762 > $as_echo "$ac_cv_search_socket" >&6; }
2763 > ac_res=$ac_cv_search_socket
2764 > if test "$ac_res" != no; then :
2765 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2766  
2767 <        if test x"$ac_cv_socket_libs" = "xno"
2972 <        then
2973 <                CFLAGS="$oCFLAGS -lsocket -lnsl"
2974 <                cat >conftest.$ac_ext <<_ACEOF
2975 < /* confdefs.h.  */
2976 < _ACEOF
2977 < cat confdefs.h >>conftest.$ac_ext
2978 < cat >>conftest.$ac_ext <<_ACEOF
2979 < /* end confdefs.h.  */
2767 > else
2768  
2769 <                                #include <sys/types.h>
2770 <                                #include <sys/socket.h>
2771 <                                #include <netinet/in.h>
2772 <                                #include <arpa/inet.h>
2769 >                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
2770 > $as_echo_n "checking for socket in -lsocket... " >&6; }
2771 > if ${ac_cv_lib_socket_socket+:} false; then :
2772 >  $as_echo_n "(cached) " >&6
2773 > else
2774 >  ac_check_lib_save_LIBS=$LIBS
2775 > LIBS="-lsocket -lnsl $LIBS"
2776 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 > /* end confdefs.h.  */
2778  
2779 + /* Override any GCC internal prototype to avoid an error.
2780 +   Use char because int might match the return type of a GCC
2781 +   builtin and then its argument prototype would still apply.  */
2782 + #ifdef __cplusplus
2783 + extern "C"
2784 + #endif
2785 + char socket ();
2786   int
2787   main ()
2788   {
2789 <
2990 <                                struct in_addr add;
2991 <                                int sd = socket(AF_INET, SOCK_STREAM, 0);
2992 <                                inet_ntoa(add);
2993 <
2789 > return socket ();
2790    ;
2791    return 0;
2792   }
2793   _ACEOF
2794 < rm -f conftest.$ac_objext conftest$ac_exeext
2795 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3000 <  (eval $ac_link) 2>conftest.er1
3001 <  ac_status=$?
3002 <  grep -v '^ *+' conftest.er1 >conftest.err
3003 <  rm -f conftest.er1
3004 <  cat conftest.err >&5
3005 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 <  (exit $ac_status); } &&
3007 <         { ac_try='test -z "$ac_c_werror_flag"
3008 <                         || test ! -s conftest.err'
3009 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3010 <  (eval $ac_try) 2>&5
3011 <  ac_status=$?
3012 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 <  (exit $ac_status); }; } &&
3014 <         { ac_try='test -s conftest$ac_exeext'
3015 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3016 <  (eval $ac_try) 2>&5
3017 <  ac_status=$?
3018 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 <  (exit $ac_status); }; }; then
3020 <  ac_cv_socket_libs="-lsocket -lnsl"
2794 > if ac_fn_cxx_try_link "$LINENO"; then :
2795 >  ac_cv_lib_socket_socket=yes
2796   else
2797 <  echo "$as_me: failed program was:" >&5
3023 < sed 's/^/| /' conftest.$ac_ext >&5
3024 <
3025 < ac_cv_socket_libs=no
2797 >  ac_cv_lib_socket_socket=no
2798   fi
2799 < rm -f conftest.err conftest.$ac_objext \
2800 <      conftest$ac_exeext conftest.$ac_ext
2801 <        fi
2802 <
2803 <        CFLAGS=$oCFLAGS
2804 <
2799 > rm -f core conftest.err conftest.$ac_objext \
2800 >    conftest$ac_exeext conftest.$ac_ext
2801 > LIBS=$ac_check_lib_save_LIBS
2802 > fi
2803 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
2804 > $as_echo "$ac_cv_lib_socket_socket" >&6; }
2805 > if test "x$ac_cv_lib_socket_socket" = xyes; then :
2806 >  LIBS="-lsocket -lnsl $LIBS"
2807   fi
3034 echo "$as_me:$LINENO: result: $ac_cv_socket_libs" >&5
3035 echo "${ECHO_T}$ac_cv_socket_libs" >&6
3036
3037        if test x"$ac_cv_socket_libs" = "xno"
3038        then
3039                { { echo "$as_me:$LINENO: error: Cannot find socket libraries" >&5
3040 echo "$as_me: error: Cannot find socket libraries" >&2;}
3041   { (exit 1); exit 1; }; }
3042        elif test x"$ac_cv_socket_libs" = "x-lc"
3043        then
3044                ETR_SOCKET_LIBS=""
3045        else
3046                ETR_SOCKET_LIBS="$ac_cv_socket_libs"
3047        fi
2808  
2809 + fi
2810  
2811  
2812          LIBS="$LIBS $ETR_SOCKET_LIBS"
2813   else
2814          LIBS="$LIBS -lws2_32"
2815   fi
2816 < echo "$as_me:$LINENO: checking if OpenSSL is wanted" >&5
2817 < echo $ECHO_N "checking if OpenSSL is wanted... $ECHO_C" >&6
2816 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL is wanted" >&5
2817 > $as_echo_n "checking if OpenSSL is wanted... " >&6; }
2818  
2819 < # Check whether --with-openssl or --without-openssl was given.
2820 < if test "${with_openssl+set}" = set; then
2821 <  withval="$with_openssl"
2822 <
2823 <        echo "$as_me:$LINENO: result: yes" >&5
2824 < echo "${ECHO_T}yes" >&6
2825 <        echo "$as_me:$LINENO: checking for OpenSSL" >&5
3065 < echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6
2819 > # Check whether --with-openssl was given.
2820 > if test "${with_openssl+set}" = set; then :
2821 >  withval=$with_openssl;
2822 >        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2823 > $as_echo "yes" >&6; }
2824 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
2825 > $as_echo_n "checking for OpenSSL... " >&6; }
2826          for dir in $withval /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg \
2827                  /usr/local /usr; do
2828                  openssl_dir="$dir"
# Line 3072 | Line 2832 | echo $ECHO_N "checking for OpenSSL... $E
2832                  fi
2833          done
2834          if ! test x$openssl = x; then
2835 <                echo "$as_me:$LINENO: result: $openssl_dir" >&5
2836 < echo "${ECHO_T}$openssl_dir" >&6;
2835 >                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $openssl_dir" >&5
2836 > $as_echo "$openssl_dir" >&6; };
2837                  CPPFLAGS="$CPPFLAGS -I$openssl_dir/include";
2838                  LDFLAGS="$LDFLAGS -L$openssl_dir/lib -Wl,--rpath -Wl,$openssl_dir/lib";
2839                  if test "x$mingw" = "x"; then
# Line 3084 | Line 2844 | echo "${ECHO_T}$openssl_dir" >&6;
2844                  OpenSSL=-D_OpenSSL_
2845  
2846          else
2847 <                echo "$as_me:$LINENO: result: not found" >&5
2848 < echo "${ECHO_T}not found" >&6;
2849 <                { { echo "$as_me:$LINENO: error: couldn't find OpenSSL" >&5
3090 < echo "$as_me: error: couldn't find OpenSSL" >&2;}
3091 <   { (exit 1); exit 1; }; }
2847 >                { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2848 > $as_echo "not found" >&6; };
2849 >                as_fn_error $? "could not find OpenSSL" "$LINENO" 5
2850          fi
2851  
2852   else
2853 <   echo "$as_me:$LINENO: result: no" >&5
2854 < echo "${ECHO_T}no" >&6
2855 < fi;
2853 >   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 > $as_echo "no" >&6; }
2855 > fi
2856 >
2857   if ! test x$openssl = x; then
2858          if test "x$mingw" = "x"; then
2859 <                echo "$as_me:$LINENO: checking for /dev/urandom" >&5
2860 < echo $ECHO_N "checking for /dev/urandom... $ECHO_C" >&6
2861 < if test "${ac_cv_file__dev_urandom+set}" = set; then
2862 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2859 >                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/urandom" >&5
2860 > $as_echo_n "checking for /dev/urandom... " >&6; }
2861 > if ${ac_cv_file__dev_urandom+:} false; then :
2862 >  $as_echo_n "(cached) " >&6
2863   else
2864    test "$cross_compiling" = yes &&
2865 <  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3107 < echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3108 <   { (exit 1); exit 1; }; }
2865 >  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2866   if test -r "/dev/urandom"; then
2867    ac_cv_file__dev_urandom=yes
2868   else
2869    ac_cv_file__dev_urandom=no
2870   fi
2871   fi
2872 < echo "$as_me:$LINENO: result: $ac_cv_file__dev_urandom" >&5
2873 < echo "${ECHO_T}$ac_cv_file__dev_urandom" >&6
2874 < if test $ac_cv_file__dev_urandom = yes; then
2872 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_urandom" >&5
2873 > $as_echo "$ac_cv_file__dev_urandom" >&6; }
2874 > if test "x$ac_cv_file__dev_urandom" = xyes; then :
2875    urandomdev=-D_urandomdev_
2876  
2877   fi
# Line 3122 | Line 2879 | fi
2879          fi
2880   fi
2881  
2882 <                    ac_config_files="$ac_config_files GNUmakefile search.cgi"
2882 > ac_config_files="$ac_config_files GNUmakefile search.cgi"
2883  
2884   cat >confcache <<\_ACEOF
2885   # This file is a shell script that caches the results of configure
# Line 3142 | Line 2899 | _ACEOF
2899  
2900   # The following way of writing the cache mishandles newlines in values,
2901   # but we know of no workaround that is simple, portable, and efficient.
2902 < # So, don't put newlines in cache variables' values.
2902 > # So, we kill variables containing newlines.
2903   # Ultrix sh set writes to stderr and can't be redirected directly,
2904   # and sets the high bit in the cache file unless we assign to the vars.
2905 < {
2905 > (
2906 >  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2907 >    eval ac_val=\$$ac_var
2908 >    case $ac_val in #(
2909 >    *${as_nl}*)
2910 >      case $ac_var in #(
2911 >      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2912 > $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2913 >      esac
2914 >      case $ac_var in #(
2915 >      _ | IFS | as_nl) ;; #(
2916 >      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2917 >      *) { eval $ac_var=; unset $ac_var;} ;;
2918 >      esac ;;
2919 >    esac
2920 >  done
2921 >
2922    (set) 2>&1 |
2923 <    case `(ac_space=' '; set | grep ac_space) 2>&1` in
2924 <    *ac_space=\ *)
2925 <      # `set' does not quote correctly, so add quotes (double-quote
2926 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
2923 >    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2924 >    *${as_nl}ac_space=\ *)
2925 >      # `set' does not quote correctly, so add quotes: double-quote
2926 >      # substitution turns \\\\ into \\, and sed turns \\ into \.
2927        sed -n \
2928          "s/'/'\\\\''/g;
2929            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2930 <      ;;
2930 >      ;; #(
2931      *)
2932        # `set' quotes correctly as required by POSIX, so do not add quotes.
2933 <      sed -n \
3161 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2933 >      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2934        ;;
2935 <    esac;
2936 < } |
2935 >    esac |
2936 >    sort
2937 > ) |
2938    sed '
2939 +     /^ac_cv_env_/b end
2940       t clear
2941 <     : clear
2941 >     :clear
2942       s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2943       t end
2944 <     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2945 <     : end' >>confcache
2946 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
2947 <  if test -w $cache_file; then
2948 <    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2949 <    cat confcache >$cache_file
2944 >     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2945 >     :end' >>confcache
2946 > if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2947 >  if test -w "$cache_file"; then
2948 >    if test "x$cache_file" != "x/dev/null"; then
2949 >      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2950 > $as_echo "$as_me: updating cache $cache_file" >&6;}
2951 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
2952 >        cat confcache >"$cache_file"
2953 >      else
2954 >        case $cache_file in #(
2955 >        */* | ?:*)
2956 >          mv -f confcache "$cache_file"$$ &&
2957 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
2958 >        *)
2959 >          mv -f confcache "$cache_file" ;;
2960 >        esac
2961 >      fi
2962 >    fi
2963    else
2964 <    echo "not updating unwritable cache $cache_file"
2964 >    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2965 > $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2966    fi
2967   fi
2968   rm -f confcache
# Line 3183 | Line 2971 | test "x$prefix" = xNONE && prefix=$ac_de
2971   # Let make expand exec_prefix.
2972   test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2973  
3186 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3187 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3188 # trailing colons and then remove the whole line if VPATH becomes empty
3189 # (actually we leave an empty line to preserve line numbers).
3190 if test "x$srcdir" = x.; then
3191  ac_vpsub='/^[  ]*VPATH[        ]*=/{
3192 s/:*\$(srcdir):*/:/;
3193 s/:*\${srcdir}:*/:/;
3194 s/:*@srcdir@:*/:/;
3195 s/^\([^=]*=[     ]*\):*/\1/;
3196 s/:*$//;
3197 s/^[^=]*=[       ]*$//;
3198 }'
3199 fi
3200
2974   # Transform confdefs.h into DEFS.
2975   # Protect against shell expansion while executing Makefile rules.
2976   # Protect against Makefile macro expansion.
2977   #
2978   # If the first sed substitution is executed (which looks for macros that
2979 < # take arguments), then we branch to the quote section.  Otherwise,
2979 > # take arguments), then branch to the quote section.  Otherwise,
2980   # look for a macro that doesn't take arguments.
2981 < cat >confdef2opt.sed <<\_ACEOF
2981 > ac_script='
2982 > :mline
2983 > /\\$/{
2984 > N
2985 > s,\\\n,,
2986 > b mline
2987 > }
2988   t clear
2989 < : clear
2990 < s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2989 > :clear
2990 > s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2991   t quote
2992 < s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2992 > s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2993   t quote
2994 < d
2995 < : quote
2996 < s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2997 < s,\[,\\&,g
2998 < s,\],\\&,g
2999 < s,\$,$$,g
3000 < p
3001 < _ACEOF
3002 < # We use echo to avoid assuming a particular line-breaking character.
3003 < # The extra dot is to prevent the shell from consuming trailing
3004 < # line-breaks from the sub-command output.  A line-break within
3005 < # single-quotes doesn't work because, if this script is created in a
3006 < # platform that uses two characters for line-breaks (e.g., DOS), tr
3007 < # would break.
3008 < ac_LF_and_DOT=`echo; echo .`
3009 < DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3231 < rm -f confdef2opt.sed
2994 > b any
2995 > :quote
2996 > s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2997 > s/\[/\\&/g
2998 > s/\]/\\&/g
2999 > s/\$/$$/g
3000 > H
3001 > :any
3002 > ${
3003 >        g
3004 >        s/^\n//
3005 >        s/\n/ /g
3006 >        p
3007 > }
3008 > '
3009 > DEFS=`sed -n "$ac_script" confdefs.h`
3010  
3011  
3012   ac_libobjs=
3013   ac_ltlibobjs=
3014 + U=
3015   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3016    # 1. Remove the extension, and $U if already installed.
3017 <  ac_i=`echo "$ac_i" |
3018 <         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3019 <  # 2. Add them.
3020 <  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3021 <  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3017 >  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3018 >  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3019 >  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3020 >  #    will be set to the directory where LIBOBJS objects are built.
3021 >  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3022 >  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3023   done
3024   LIBOBJS=$ac_libobjs
3025  
# Line 3247 | Line 3027 | LTLIBOBJS=$ac_ltlibobjs
3027  
3028  
3029  
3030 < : ${CONFIG_STATUS=./config.status}
3030 > : "${CONFIG_STATUS=./config.status}"
3031 > ac_write_fail=0
3032   ac_clean_files_save=$ac_clean_files
3033   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3034 < { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3035 < echo "$as_me: creating $CONFIG_STATUS" >&6;}
3036 < cat >$CONFIG_STATUS <<_ACEOF
3034 > { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3035 > $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3036 > as_write_fail=0
3037 > cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3038   #! $SHELL
3039   # Generated by $as_me.
3040   # Run this file to recreate the current configuration.
# Line 3262 | Line 3044 | cat >$CONFIG_STATUS <<_ACEOF
3044   debug=false
3045   ac_cs_recheck=false
3046   ac_cs_silent=false
3265 SHELL=\${CONFIG_SHELL-$SHELL}
3266 _ACEOF
3047  
3048 < cat >>$CONFIG_STATUS <<\_ACEOF
3049 < ## --------------------- ##
3050 < ## M4sh Initialization.  ##
3051 < ## --------------------- ##
3048 > SHELL=\${CONFIG_SHELL-$SHELL}
3049 > export SHELL
3050 > _ASEOF
3051 > cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3052 > ## -------------------- ##
3053 > ## M4sh Initialization. ##
3054 > ## -------------------- ##
3055  
3056 < # Be Bourne compatible
3057 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3056 > # Be more Bourne compatible
3057 > DUALCASE=1; export DUALCASE # for MKS sh
3058 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3059    emulate sh
3060    NULLCMD=:
3061 <  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3061 >  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3062    # is contrary to our usage.  Disable this feature.
3063    alias -g '${1+"$@"}'='"$@"'
3064 < elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3065 <  set -o posix
3064 >  setopt NO_GLOB_SUBST
3065 > else
3066 >  case `(set -o) 2>/dev/null` in #(
3067 >  *posix*) :
3068 >    set -o posix ;; #(
3069 >  *) :
3070 >     ;;
3071 > esac
3072   fi
3283 DUALCASE=1; export DUALCASE # for MKS sh
3073  
3074 < # Support unset when possible.
3075 < if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3076 <  as_unset=unset
3077 < else
3078 <  as_unset=false
3074 >
3075 > as_nl='
3076 > '
3077 > export as_nl
3078 > # Printing a long string crashes Solaris 7 /usr/bin/printf.
3079 > as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3080 > as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3081 > as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3082 > # Prefer a ksh shell builtin over an external printf program on Solaris,
3083 > # but without wasting forks for bash or zsh.
3084 > if test -z "$BASH_VERSION$ZSH_VERSION" \
3085 >    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3086 >  as_echo='print -r --'
3087 >  as_echo_n='print -rn --'
3088 > elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3089 >  as_echo='printf %s\n'
3090 >  as_echo_n='printf %s'
3091 > else
3092 >  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3093 >    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3094 >    as_echo_n='/usr/ucb/echo -n'
3095 >  else
3096 >    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3097 >    as_echo_n_body='eval
3098 >      arg=$1;
3099 >      case $arg in #(
3100 >      *"$as_nl"*)
3101 >        expr "X$arg" : "X\\(.*\\)$as_nl";
3102 >        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3103 >      esac;
3104 >      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3105 >    '
3106 >    export as_echo_n_body
3107 >    as_echo_n='sh -c $as_echo_n_body as_echo'
3108 >  fi
3109 >  export as_echo_body
3110 >  as_echo='sh -c $as_echo_body as_echo'
3111   fi
3112  
3113 + # The user is always right.
3114 + if test "${PATH_SEPARATOR+set}" != set; then
3115 +  PATH_SEPARATOR=:
3116 +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3117 +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3118 +      PATH_SEPARATOR=';'
3119 +  }
3120 + fi
3121 +
3122 +
3123 + # IFS
3124 + # We need space, tab and new line, in precisely that order.  Quoting is
3125 + # there to prevent editors from complaining about space-tab.
3126 + # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3127 + # splitting by setting IFS to empty value.)
3128 + IFS=" ""        $as_nl"
3129 +
3130 + # Find who we are.  Look in the path if we contain no directory separator.
3131 + as_myself=
3132 + case $0 in #((
3133 +  *[\\/]* ) as_myself=$0 ;;
3134 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3135 + for as_dir in $PATH
3136 + do
3137 +  IFS=$as_save_IFS
3138 +  test -z "$as_dir" && as_dir=.
3139 +    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3140 +  done
3141 + IFS=$as_save_IFS
3142  
3143 < # Work around bugs in pre-3.0 UWIN ksh.
3144 < $as_unset ENV MAIL MAILPATH
3143 >     ;;
3144 > esac
3145 > # We did not find ourselves, most probably we were run as `sh COMMAND'
3146 > # in which case we are not to be found in the path.
3147 > if test "x$as_myself" = x; then
3148 >  as_myself=$0
3149 > fi
3150 > if test ! -f "$as_myself"; then
3151 >  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3152 >  exit 1
3153 > fi
3154 >
3155 > # Unset variables that we do not need and which cause bugs (e.g. in
3156 > # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3157 > # suppresses any "Segmentation fault" message there.  '((' could
3158 > # trigger a bug in pdksh 5.2.14.
3159 > for as_var in BASH_ENV ENV MAIL MAILPATH
3160 > do eval test x\${$as_var+set} = xset \
3161 >  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3162 > done
3163   PS1='$ '
3164   PS2='> '
3165   PS4='+ '
3166  
3167   # NLS nuisances.
3168 < for as_var in \
3169 <  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3170 <  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3171 <  LC_TELEPHONE LC_TIME
3172 < do
3173 <  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3174 <    eval $as_var=C; export $as_var
3175 <  else
3176 <    $as_unset $as_var
3177 <  fi
3178 < done
3168 > LC_ALL=C
3169 > export LC_ALL
3170 > LANGUAGE=C
3171 > export LANGUAGE
3172 >
3173 > # CDPATH.
3174 > (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3175 >
3176 >
3177 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
3178 > # ----------------------------------------
3179 > # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3180 > # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3181 > # script with STATUS, using 1 if that was 0.
3182 > as_fn_error ()
3183 > {
3184 >  as_status=$1; test $as_status -eq 0 && as_status=1
3185 >  if test "$4"; then
3186 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3187 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3188 >  fi
3189 >  $as_echo "$as_me: error: $2" >&2
3190 >  as_fn_exit $as_status
3191 > } # as_fn_error
3192 >
3193 >
3194 > # as_fn_set_status STATUS
3195 > # -----------------------
3196 > # Set $? to STATUS, without forking.
3197 > as_fn_set_status ()
3198 > {
3199 >  return $1
3200 > } # as_fn_set_status
3201 >
3202 > # as_fn_exit STATUS
3203 > # -----------------
3204 > # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3205 > as_fn_exit ()
3206 > {
3207 >  set +e
3208 >  as_fn_set_status $1
3209 >  exit $1
3210 > } # as_fn_exit
3211 >
3212 > # as_fn_unset VAR
3213 > # ---------------
3214 > # Portably unset VAR.
3215 > as_fn_unset ()
3216 > {
3217 >  { eval $1=; unset $1;}
3218 > }
3219 > as_unset=as_fn_unset
3220 > # as_fn_append VAR VALUE
3221 > # ----------------------
3222 > # Append the text in VALUE to the end of the definition contained in VAR. Take
3223 > # advantage of any shell optimizations that allow amortized linear growth over
3224 > # repeated appends, instead of the typical quadratic growth present in naive
3225 > # implementations.
3226 > if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3227 >  eval 'as_fn_append ()
3228 >  {
3229 >    eval $1+=\$2
3230 >  }'
3231 > else
3232 >  as_fn_append ()
3233 >  {
3234 >    eval $1=\$$1\$2
3235 >  }
3236 > fi # as_fn_append
3237 >
3238 > # as_fn_arith ARG...
3239 > # ------------------
3240 > # Perform arithmetic evaluation on the ARGs, and store the result in the
3241 > # global $as_val. Take advantage of shells that can avoid forks. The arguments
3242 > # must be portable across $(()) and expr.
3243 > if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3244 >  eval 'as_fn_arith ()
3245 >  {
3246 >    as_val=$(( $* ))
3247 >  }'
3248 > else
3249 >  as_fn_arith ()
3250 >  {
3251 >    as_val=`expr "$@" || test $? -eq 1`
3252 >  }
3253 > fi # as_fn_arith
3254 >
3255  
3256 < # Required to use basename.
3257 < if expr a : '\(a\)' >/dev/null 2>&1; then
3256 > if expr a : '\(a\)' >/dev/null 2>&1 &&
3257 >   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3258    as_expr=expr
3259   else
3260    as_expr=false
3261   fi
3262  
3263 < if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3263 > if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3264    as_basename=basename
3265   else
3266    as_basename=false
3267   fi
3268  
3269 + if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3270 +  as_dirname=dirname
3271 + else
3272 +  as_dirname=false
3273 + fi
3274  
3275 < # Name of the executable.
3327 < as_me=`$as_basename "$0" ||
3275 > as_me=`$as_basename -- "$0" ||
3276   $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3277           X"$0" : 'X\(//\)$' \| \
3278 <         X"$0" : 'X\(/\)$' \| \
3279 <         .     : '\(.\)' 2>/dev/null ||
3280 < echo X/"$0" |
3281 <    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3282 <          /^X\/\(\/\/\)$/{ s//\1/; q; }
3283 <          /^X\/\(\/\).*/{ s//\1/; q; }
3284 <          s/.*/./; q'`
3285 <
3278 >         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3279 > $as_echo X/"$0" |
3280 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
3281 >            s//\1/
3282 >            q
3283 >          }
3284 >          /^X\/\(\/\/\)$/{
3285 >            s//\1/
3286 >            q
3287 >          }
3288 >          /^X\/\(\/\).*/{
3289 >            s//\1/
3290 >            q
3291 >          }
3292 >          s/.*/./; q'`
3293  
3339 # PATH needs CR, and LINENO needs CR and PATH.
3294   # Avoid depending upon Character Ranges.
3295   as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3296   as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
# Line 3344 | Line 3298 | as_cr_Letters=$as_cr_letters$as_cr_LETTE
3298   as_cr_digits='0123456789'
3299   as_cr_alnum=$as_cr_Letters$as_cr_digits
3300  
3301 < # The user is always right.
3302 < if test "${PATH_SEPARATOR+set}" != set; then
3303 <  echo "#! /bin/sh" >conf$$.sh
3304 <  echo  "exit 0"   >>conf$$.sh
3305 <  chmod +x conf$$.sh
3306 <  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3307 <    PATH_SEPARATOR=';'
3308 <  else
3309 <    PATH_SEPARATOR=:
3310 <  fi
3311 <  rm -f conf$$.sh
3358 < fi
3359 <
3360 <
3361 <  as_lineno_1=$LINENO
3362 <  as_lineno_2=$LINENO
3363 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3364 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
3365 <  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
3366 <  # Find who we are.  Look in the path if we contain no path at all
3367 <  # relative or not.
3368 <  case $0 in
3369 <    *[\\/]* ) as_myself=$0 ;;
3370 <    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3371 < for as_dir in $PATH
3372 < do
3373 <  IFS=$as_save_IFS
3374 <  test -z "$as_dir" && as_dir=.
3375 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3376 < done
3377 <
3378 <       ;;
3379 <  esac
3380 <  # We did not find ourselves, most probably we were run as `sh COMMAND'
3381 <  # in which case we are not to be found in the path.
3382 <  if test "x$as_myself" = x; then
3383 <    as_myself=$0
3384 <  fi
3385 <  if test ! -f "$as_myself"; then
3386 <    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3387 < echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3388 <   { (exit 1); exit 1; }; }
3389 <  fi
3390 <  case $CONFIG_SHELL in
3391 <  '')
3392 <    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3393 < for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3394 < do
3395 <  IFS=$as_save_IFS
3396 <  test -z "$as_dir" && as_dir=.
3397 <  for as_base in sh bash ksh sh5; do
3398 <         case $as_dir in
3399 <         /*)
3400 <           if ("$as_dir/$as_base" -c '
3401 <  as_lineno_1=$LINENO
3402 <  as_lineno_2=$LINENO
3403 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3404 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
3405 <  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3406 <             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3407 <             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3408 <             CONFIG_SHELL=$as_dir/$as_base
3409 <             export CONFIG_SHELL
3410 <             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3411 <           fi;;
3412 <         esac
3413 <       done
3414 < done
3415 < ;;
3416 <  esac
3417 <
3418 <  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3419 <  # uniformly replaced by the line number.  The first 'sed' inserts a
3420 <  # line-number line before each line; the second 'sed' does the real
3421 <  # work.  The second script uses 'N' to pair each line-number line
3422 <  # with the numbered line, and appends trailing '-' during
3423 <  # substitution so that $LINENO is not a special case at line end.
3424 <  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3425 <  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
3426 <  sed '=' <$as_myself |
3427 <    sed '
3428 <      N
3429 <      s,$,-,
3430 <      : loop
3431 <      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3432 <      t loop
3433 <      s,-$,,
3434 <      s,^['$as_cr_digits']*\n,,
3435 <    ' >$as_me.lineno &&
3436 <  chmod +x $as_me.lineno ||
3437 <    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3438 < echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3439 <   { (exit 1); exit 1; }; }
3440 <
3441 <  # Don't try to exec as it changes $[0], causing all sort of problems
3442 <  # (the dirname of $[0] is not the place where we might find the
3443 <  # original and so on.  Autoconf is especially sensible to this).
3444 <  . ./$as_me.lineno
3445 <  # Exit status is that of the last command.
3446 <  exit
3447 < }
3448 <
3449 <
3450 < case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3451 <  *c*,-n*) ECHO_N= ECHO_C='
3452 < ' ECHO_T='      ' ;;
3453 <  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3454 <  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
3301 > ECHO_C= ECHO_N= ECHO_T=
3302 > case `echo -n x` in #(((((
3303 > -n*)
3304 >  case `echo 'xy\c'` in
3305 >  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
3306 >  xy)  ECHO_C='\c';;
3307 >  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3308 >       ECHO_T=' ';;
3309 >  esac;;
3310 > *)
3311 >  ECHO_N='-n';;
3312   esac
3313  
3314 < if expr a : '\(a\)' >/dev/null 2>&1; then
3315 <  as_expr=expr
3314 > rm -f conf$$ conf$$.exe conf$$.file
3315 > if test -d conf$$.dir; then
3316 >  rm -f conf$$.dir/conf$$.file
3317   else
3318 <  as_expr=false
3318 >  rm -f conf$$.dir
3319 >  mkdir conf$$.dir 2>/dev/null
3320   fi
3321 <
3322 < rm -f conf$$ conf$$.exe conf$$.file
3464 < echo >conf$$.file
3465 < if ln -s conf$$.file conf$$ 2>/dev/null; then
3466 <  # We could just check for DJGPP; but this test a) works b) is more generic
3467 <  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3468 <  if test -f conf$$.exe; then
3469 <    # Don't use ln at all; we don't have any links
3470 <    as_ln_s='cp -p'
3471 <  else
3321 > if (echo >conf$$.file) 2>/dev/null; then
3322 >  if ln -s conf$$.file conf$$ 2>/dev/null; then
3323      as_ln_s='ln -s'
3324 +    # ... but there are two gotchas:
3325 +    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3326 +    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3327 +    # In both cases, we have to default to `cp -p'.
3328 +    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3329 +      as_ln_s='cp -p'
3330 +  elif ln conf$$.file conf$$ 2>/dev/null; then
3331 +    as_ln_s=ln
3332 +  else
3333 +    as_ln_s='cp -p'
3334    fi
3474 elif ln conf$$.file conf$$ 2>/dev/null; then
3475  as_ln_s=ln
3335   else
3336    as_ln_s='cp -p'
3337   fi
3338 < rm -f conf$$ conf$$.exe conf$$.file
3338 > rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3339 > rmdir conf$$.dir 2>/dev/null
3340 >
3341 >
3342 > # as_fn_mkdir_p
3343 > # -------------
3344 > # Create "$as_dir" as a directory, including parents if necessary.
3345 > as_fn_mkdir_p ()
3346 > {
3347 >
3348 >  case $as_dir in #(
3349 >  -*) as_dir=./$as_dir;;
3350 >  esac
3351 >  test -d "$as_dir" || eval $as_mkdir_p || {
3352 >    as_dirs=
3353 >    while :; do
3354 >      case $as_dir in #(
3355 >      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3356 >      *) as_qdir=$as_dir;;
3357 >      esac
3358 >      as_dirs="'$as_qdir' $as_dirs"
3359 >      as_dir=`$as_dirname -- "$as_dir" ||
3360 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3361 >         X"$as_dir" : 'X\(//\)[^/]' \| \
3362 >         X"$as_dir" : 'X\(//\)$' \| \
3363 >         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3364 > $as_echo X"$as_dir" |
3365 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3366 >            s//\1/
3367 >            q
3368 >          }
3369 >          /^X\(\/\/\)[^/].*/{
3370 >            s//\1/
3371 >            q
3372 >          }
3373 >          /^X\(\/\/\)$/{
3374 >            s//\1/
3375 >            q
3376 >          }
3377 >          /^X\(\/\).*/{
3378 >            s//\1/
3379 >            q
3380 >          }
3381 >          s/.*/./; q'`
3382 >      test -d "$as_dir" && break
3383 >    done
3384 >    test -z "$as_dirs" || eval "mkdir $as_dirs"
3385 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3386 >
3387  
3388 + } # as_fn_mkdir_p
3389   if mkdir -p . 2>/dev/null; then
3390 <  as_mkdir_p=:
3390 >  as_mkdir_p='mkdir -p "$as_dir"'
3391   else
3392    test -d ./-p && rmdir ./-p
3393    as_mkdir_p=false
3394   fi
3395  
3396 < as_executable_p="test -f"
3396 > if test -x / >/dev/null 2>&1; then
3397 >  as_test_x='test -x'
3398 > else
3399 >  if ls -dL / >/dev/null 2>&1; then
3400 >    as_ls_L_option=L
3401 >  else
3402 >    as_ls_L_option=
3403 >  fi
3404 >  as_test_x='
3405 >    eval sh -c '\''
3406 >      if test -d "$1"; then
3407 >        test -d "$1/.";
3408 >      else
3409 >        case $1 in #(
3410 >        -*)set "./$1";;
3411 >        esac;
3412 >        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3413 >        ???[sx]*):;;*)false;;esac;fi
3414 >    '\'' sh
3415 >  '
3416 > fi
3417 > as_executable_p=$as_test_x
3418  
3419   # Sed expression to map a string onto a valid CPP name.
3420   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 3494 | Line 3423 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
3423   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3424  
3425  
3497 # IFS
3498 # We need space, tab and new line, in precisely that order.
3499 as_nl='
3500 '
3501 IFS="   $as_nl"
3502
3503 # CDPATH.
3504 $as_unset CDPATH
3505
3426   exec 6>&1
3427 + ## ----------------------------------- ##
3428 + ## Main body of $CONFIG_STATUS script. ##
3429 + ## ----------------------------------- ##
3430 + _ASEOF
3431 + test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3432  
3433 < # Open the log real soon, to keep \$[0] and so on meaningful, and to
3433 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3434 > # Save the log message, to keep $0 and so on meaningful, and to
3435   # report actual input values of CONFIG_FILES etc. instead of their
3436 < # values after options handling.  Logging --version etc. is OK.
3437 < exec 5>>config.log
3512 < {
3513 <  echo
3514 <  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3515 < ## Running $as_me. ##
3516 < _ASBOX
3517 < } >&5
3518 < cat >&5 <<_CSEOF
3519 <
3436 > # values after options handling.
3437 > ac_log="
3438   This file was extended by $as_me, which was
3439 < generated by GNU Autoconf 2.59.  Invocation command line was
3439 > generated by GNU Autoconf 2.68.  Invocation command line was
3440  
3441    CONFIG_FILES    = $CONFIG_FILES
3442    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 3526 | Line 3444 | generated by GNU Autoconf 2.59.  Invocat
3444    CONFIG_COMMANDS = $CONFIG_COMMANDS
3445    $ $0 $@
3446  
3447 < _CSEOF
3448 < echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3449 < echo >&5
3447 > on `(hostname || uname -n) 2>/dev/null | sed 1q`
3448 > "
3449 >
3450   _ACEOF
3451  
3452 < # Files that config.status was made for.
3453 < if test -n "$ac_config_files"; then
3454 <  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3537 < fi
3452 > case $ac_config_files in *"
3453 > "*) set x $ac_config_files; shift; ac_config_files=$*;;
3454 > esac
3455  
3539 if test -n "$ac_config_headers"; then
3540  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3541 fi
3456  
3543 if test -n "$ac_config_links"; then
3544  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3545 fi
3457  
3458 < if test -n "$ac_config_commands"; then
3459 <  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3460 < fi
3458 > cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3459 > # Files that config.status was made for.
3460 > config_files="$ac_config_files"
3461  
3462 < cat >>$CONFIG_STATUS <<\_ACEOF
3462 > _ACEOF
3463  
3464 + cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3465   ac_cs_usage="\
3466 < \`$as_me' instantiates files from templates according to the
3467 < current configuration.
3466 > \`$as_me' instantiates files and other configuration actions
3467 > from templates according to the current configuration.  Unless the files
3468 > and actions are specified as TAGs, all are instantiated by default.
3469  
3470 < Usage: $0 [OPTIONS] [FILE]...
3470 > Usage: $0 [OPTION]... [TAG]...
3471  
3472    -h, --help       print this help, then exit
3473 <  -V, --version    print version number, then exit
3474 <  -q, --quiet      do not print progress messages
3473 >  -V, --version    print version number and configuration settings, then exit
3474 >      --config     print configuration, then exit
3475 >  -q, --quiet, --silent
3476 >                   do not print progress messages
3477    -d, --debug      don't remove temporary files
3478        --recheck    update $as_me by reconfiguring in the same conditions
3479 <  --file=FILE[:TEMPLATE]
3480 <                   instantiate the configuration file FILE
3479 >      --file=FILE[:TEMPLATE]
3480 >                   instantiate the configuration file FILE
3481  
3482   Configuration files:
3483   $config_files
3484  
3485 < Report bugs to <bug-autoconf@gnu.org>."
3571 < _ACEOF
3485 > Report bugs to the package provider."
3486  
3487 < cat >>$CONFIG_STATUS <<_ACEOF
3487 > _ACEOF
3488 > cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3489 > ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3490   ac_cs_version="\\
3491   config.status
3492 < configured by $0, generated by GNU Autoconf 2.59,
3493 <  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3492 > configured by $0, generated by GNU Autoconf 2.68,
3493 >  with options \\"\$ac_cs_config\\"
3494  
3495 < Copyright (C) 2003 Free Software Foundation, Inc.
3495 > Copyright (C) 2010 Free Software Foundation, Inc.
3496   This config.status script is free software; the Free Software Foundation
3497   gives unlimited permission to copy, distribute and modify it."
3498 < srcdir=$srcdir
3499 < INSTALL="$INSTALL"
3498 >
3499 > ac_pwd='$ac_pwd'
3500 > srcdir='$srcdir'
3501 > INSTALL='$INSTALL'
3502 > test -n "\$AWK" || AWK=awk
3503   _ACEOF
3504  
3505 < cat >>$CONFIG_STATUS <<\_ACEOF
3506 < # If no file are specified by the user, then we need to provide default
3588 < # value.  By we need to know if files were specified by the user.
3505 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3506 > # The default lists apply if the user does not specify any file.
3507   ac_need_defaults=:
3508   while test $# != 0
3509   do
3510    case $1 in
3511 <  --*=*)
3512 <    ac_option=`expr "x$1" : 'x\([^=]*\)='`
3513 <    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3511 >  --*=?*)
3512 >    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3513 >    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3514 >    ac_shift=:
3515 >    ;;
3516 >  --*=)
3517 >    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3518 >    ac_optarg=
3519      ac_shift=:
3520      ;;
3521 <  -*)
3521 >  *)
3522      ac_option=$1
3523      ac_optarg=$2
3524      ac_shift=shift
3525      ;;
3603  *) # This is not an option, so the user has probably given explicit
3604     # arguments.
3605     ac_option=$1
3606     ac_need_defaults=false;;
3526    esac
3527  
3528    case $ac_option in
3529    # Handling of the options.
3611 _ACEOF
3612 cat >>$CONFIG_STATUS <<\_ACEOF
3530    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3531      ac_cs_recheck=: ;;
3532 <  --version | --vers* | -V )
3533 <    echo "$ac_cs_version"; exit 0 ;;
3534 <  --he | --h)
3535 <    # Conflict between --help and --header
3536 <    { { echo "$as_me:$LINENO: error: ambiguous option: $1
3620 < Try \`$0 --help' for more information." >&5
3621 < echo "$as_me: error: ambiguous option: $1
3622 < Try \`$0 --help' for more information." >&2;}
3623 <   { (exit 1); exit 1; }; };;
3624 <  --help | --hel | -h )
3625 <    echo "$ac_cs_usage"; exit 0 ;;
3626 <  --debug | --d* | -d )
3532 >  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3533 >    $as_echo "$ac_cs_version"; exit ;;
3534 >  --config | --confi | --conf | --con | --co | --c )
3535 >    $as_echo "$ac_cs_config"; exit ;;
3536 >  --debug | --debu | --deb | --de | --d | -d )
3537      debug=: ;;
3538    --file | --fil | --fi | --f )
3539      $ac_shift
3540 <    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3541 <    ac_need_defaults=false;;
3542 <  --header | --heade | --head | --hea )
3543 <    $ac_shift
3544 <    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3540 >    case $ac_optarg in
3541 >    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3542 >    '') as_fn_error $? "missing file argument" ;;
3543 >    esac
3544 >    as_fn_append CONFIG_FILES " '$ac_optarg'"
3545      ac_need_defaults=false;;
3546 +  --he | --h |  --help | --hel | -h )
3547 +    $as_echo "$ac_cs_usage"; exit ;;
3548    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3549    | -silent | --silent | --silen | --sile | --sil | --si | --s)
3550      ac_cs_silent=: ;;
3551  
3552    # This is an error.
3553 <  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3554 < Try \`$0 --help' for more information." >&5
3643 < echo "$as_me: error: unrecognized option: $1
3644 < Try \`$0 --help' for more information." >&2;}
3645 <   { (exit 1); exit 1; }; } ;;
3553 >  -*) as_fn_error $? "unrecognized option: \`$1'
3554 > Try \`$0 --help' for more information." ;;
3555  
3556 <  *) ac_config_targets="$ac_config_targets $1" ;;
3556 >  *) as_fn_append ac_config_targets " $1"
3557 >     ac_need_defaults=false ;;
3558  
3559    esac
3560    shift
# Line 3658 | Line 3568 | if $ac_cs_silent; then
3568   fi
3569  
3570   _ACEOF
3571 < cat >>$CONFIG_STATUS <<_ACEOF
3571 > cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3572   if \$ac_cs_recheck; then
3573 <  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3574 <  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3573 >  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3574 >  shift
3575 >  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3576 >  CONFIG_SHELL='$SHELL'
3577 >  export CONFIG_SHELL
3578 >  exec "\$@"
3579   fi
3580  
3581   _ACEOF
3582 + cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3583 + exec 5>>config.log
3584 + {
3585 +  echo
3586 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3587 + ## Running $as_me. ##
3588 + _ASBOX
3589 +  $as_echo "$ac_log"
3590 + } >&5
3591  
3592 + _ACEOF
3593 + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3594 + _ACEOF
3595  
3596 + cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3597  
3598 <
3672 <
3673 < cat >>$CONFIG_STATUS <<\_ACEOF
3598 > # Handling of arguments.
3599   for ac_config_target in $ac_config_targets
3600   do
3601 <  case "$ac_config_target" in
3602 <  # Handling of arguments.
3603 <  "GNUmakefile" ) CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
3604 <  "search.cgi" ) CONFIG_FILES="$CONFIG_FILES search.cgi" ;;
3605 <  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3681 < echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3682 <   { (exit 1); exit 1; }; };;
3601 >  case $ac_config_target in
3602 >    "GNUmakefile") CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
3603 >    "search.cgi") CONFIG_FILES="$CONFIG_FILES search.cgi" ;;
3604 >
3605 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3606    esac
3607   done
3608  
3609 +
3610   # If the user did not use the arguments to specify the items to instantiate,
3611   # then the envvar interface is used.  Set only those that are not.
3612   # We use the long form for the default assignment because of an extremely
# Line 3692 | Line 3616 | if $ac_need_defaults; then
3616   fi
3617  
3618   # Have a temporary directory for convenience.  Make it in the build tree
3619 < # simply because there is no reason to put it here, and in addition,
3619 > # simply because there is no reason against having it here, and in addition,
3620   # creating and moving files from /tmp can sometimes cause problems.
3621 < # Create a temporary directory, and hook for its removal unless debugging.
3621 > # Hook for its removal unless debugging.
3622 > # Note that there is a small window in which the directory will not be cleaned:
3623 > # after its creation but before its name has been assigned to `$tmp'.
3624   $debug ||
3625   {
3626 <  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3627 <  trap '{ (exit 1); exit 1; }' 1 2 13 15
3626 >  tmp= ac_tmp=
3627 >  trap 'exit_status=$?
3628 >  : "${ac_tmp:=$tmp}"
3629 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3630 > ' 0
3631 >  trap 'as_fn_exit 1' 1 2 13 15
3632   }
3703
3633   # Create a (secure) tmp directory for tmp files.
3634  
3635   {
3636 <  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3637 <  test -n "$tmp" && test -d "$tmp"
3636 >  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3637 >  test -d "$tmp"
3638   }  ||
3639   {
3640 <  tmp=./confstat$$-$RANDOM
3641 <  (umask 077 && mkdir $tmp)
3642 < } ||
3643 < {
3644 <   echo "$me: cannot create a temporary directory in ." >&2
3645 <   { (exit 1); exit 1; }
3646 < }
3640 >  tmp=./conf$$-$RANDOM
3641 >  (umask 077 && mkdir "$tmp")
3642 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3643 > ac_tmp=$tmp
3644 >
3645 > # Set up the scripts for CONFIG_FILES section.
3646 > # No need to generate them if there are no CONFIG_FILES.
3647 > # This happens for instance with `./config.status config.h'.
3648 > if test -n "$CONFIG_FILES"; then
3649 >
3650 >
3651 > ac_cr=`echo X | tr X '\015'`
3652 > # On cygwin, bash can eat \r inside `` if the user requested igncr.
3653 > # But we know of no other shell where ac_cr would be empty at this
3654 > # point, so we can use a bashism as a fallback.
3655 > if test "x$ac_cr" = x; then
3656 >  eval ac_cr=\$\'\\r\'
3657 > fi
3658 > ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3659 > if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3660 >  ac_cs_awk_cr='\\r'
3661 > else
3662 >  ac_cs_awk_cr=$ac_cr
3663 > fi
3664  
3665 + echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3666   _ACEOF
3667  
3721 cat >>$CONFIG_STATUS <<_ACEOF
3668  
3669 < #
3670 < # CONFIG_FILES section.
3671 < #
3669 > {
3670 >  echo "cat >conf$$subs.awk <<_ACEOF" &&
3671 >  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3672 >  echo "_ACEOF"
3673 > } >conf$$subs.sh ||
3674 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3675 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3676 > ac_delim='%!_!# '
3677 > for ac_last_try in false false false false false :; do
3678 >  . ./conf$$subs.sh ||
3679 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3680  
3681 < # No need to generate the scripts if there are no CONFIG_FILES.
3682 < # This happens for instance when ./config.status config.h
3683 < if test -n "\$CONFIG_FILES"; then
3684 <  # Protect against being on the right side of a sed subst in config.status.
3685 <  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3686 <   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3687 < s,@SHELL@,$SHELL,;t t
3734 < s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3735 < s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3736 < s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3737 < s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3738 < s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3739 < s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3740 < s,@exec_prefix@,$exec_prefix,;t t
3741 < s,@prefix@,$prefix,;t t
3742 < s,@program_transform_name@,$program_transform_name,;t t
3743 < s,@bindir@,$bindir,;t t
3744 < s,@sbindir@,$sbindir,;t t
3745 < s,@libexecdir@,$libexecdir,;t t
3746 < s,@datadir@,$datadir,;t t
3747 < s,@sysconfdir@,$sysconfdir,;t t
3748 < s,@sharedstatedir@,$sharedstatedir,;t t
3749 < s,@localstatedir@,$localstatedir,;t t
3750 < s,@libdir@,$libdir,;t t
3751 < s,@includedir@,$includedir,;t t
3752 < s,@oldincludedir@,$oldincludedir,;t t
3753 < s,@infodir@,$infodir,;t t
3754 < s,@mandir@,$mandir,;t t
3755 < s,@build_alias@,$build_alias,;t t
3756 < s,@host_alias@,$host_alias,;t t
3757 < s,@target_alias@,$target_alias,;t t
3758 < s,@DEFS@,$DEFS,;t t
3759 < s,@ECHO_C@,$ECHO_C,;t t
3760 < s,@ECHO_N@,$ECHO_N,;t t
3761 < s,@ECHO_T@,$ECHO_T,;t t
3762 < s,@LIBS@,$LIBS,;t t
3763 < s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3764 < s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3765 < s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3766 < s,@ifGNUmake@,$ifGNUmake,;t t
3767 < s,@CXX@,$CXX,;t t
3768 < s,@CXXFLAGS@,$CXXFLAGS,;t t
3769 < s,@LDFLAGS@,$LDFLAGS,;t t
3770 < s,@CPPFLAGS@,$CPPFLAGS,;t t
3771 < s,@ac_ct_CXX@,$ac_ct_CXX,;t t
3772 < s,@EXEEXT@,$EXEEXT,;t t
3773 < s,@OBJEXT@,$OBJEXT,;t t
3774 < s,@PERL@,$PERL,;t t
3775 < s,@which_perl@,$which_perl,;t t
3776 < s,@CC@,$CC,;t t
3777 < s,@CFLAGS@,$CFLAGS,;t t
3778 < s,@ac_ct_CC@,$ac_ct_CC,;t t
3779 < s,@ETR_SOCKET_LIBS@,$ETR_SOCKET_LIBS,;t t
3780 < s,@OpenSSL@,$OpenSSL,;t t
3781 < s,@urandomdev@,$urandomdev,;t t
3782 < s,@LIBOBJS@,$LIBOBJS,;t t
3783 < s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3784 < CEOF
3785 <
3786 < _ACEOF
3787 <
3788 <  cat >>$CONFIG_STATUS <<\_ACEOF
3789 <  # Split the substitutions into bite-sized pieces for seds with
3790 <  # small command number limits, like on Digital OSF/1 and HP-UX.
3791 <  ac_max_sed_lines=48
3792 <  ac_sed_frag=1 # Number of current file.
3793 <  ac_beg=1 # First line for current file.
3794 <  ac_end=$ac_max_sed_lines # Line after last line for current file.
3795 <  ac_more_lines=:
3796 <  ac_sed_cmds=
3797 <  while $ac_more_lines; do
3798 <    if test $ac_beg -gt 1; then
3799 <      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3800 <    else
3801 <      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3802 <    fi
3803 <    if test ! -s $tmp/subs.frag; then
3804 <      ac_more_lines=false
3805 <    else
3806 <      # The purpose of the label and of the branching condition is to
3807 <      # speed up the sed processing (if there are no `@' at all, there
3808 <      # is no need to browse any of the substitutions).
3809 <      # These are the two extra sed commands mentioned above.
3810 <      (echo ':t
3811 <  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3812 <      if test -z "$ac_sed_cmds"; then
3813 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3814 <      else
3815 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3816 <      fi
3817 <      ac_sed_frag=`expr $ac_sed_frag + 1`
3818 <      ac_beg=$ac_end
3819 <      ac_end=`expr $ac_end + $ac_max_sed_lines`
3820 <    fi
3821 <  done
3822 <  if test -z "$ac_sed_cmds"; then
3823 <    ac_sed_cmds=cat
3681 >  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3682 >  if test $ac_delim_n = $ac_delim_num; then
3683 >    break
3684 >  elif $ac_last_try; then
3685 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3686 >  else
3687 >    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3688    fi
3689 < fi # test -n "$CONFIG_FILES"
3689 > done
3690 > rm -f conf$$subs.sh
3691  
3692 + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3693 + cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3694   _ACEOF
3695 < cat >>$CONFIG_STATUS <<\_ACEOF
3696 < for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3697 <  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3698 <  case $ac_file in
3699 <  - | *:- | *:-:* ) # input from stdin
3700 <        cat >$tmp/stdin
3701 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3702 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3703 <  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3704 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3705 <  * )   ac_file_in=$ac_file.in ;;
3695 > sed -n '
3696 > h
3697 > s/^/S["/; s/!.*/"]=/
3698 > p
3699 > g
3700 > s/^[^!]*!//
3701 > :repl
3702 > t repl
3703 > s/'"$ac_delim"'$//
3704 > t delim
3705 > :nl
3706 > h
3707 > s/\(.\{148\}\)..*/\1/
3708 > t more1
3709 > s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3710 > p
3711 > n
3712 > b repl
3713 > :more1
3714 > s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3715 > p
3716 > g
3717 > s/.\{148\}//
3718 > t nl
3719 > :delim
3720 > h
3721 > s/\(.\{148\}\)..*/\1/
3722 > t more2
3723 > s/["\\]/\\&/g; s/^/"/; s/$/"/
3724 > p
3725 > b
3726 > :more2
3727 > s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3728 > p
3729 > g
3730 > s/.\{148\}//
3731 > t delim
3732 > ' <conf$$subs.awk | sed '
3733 > /^[^""]/{
3734 >  N
3735 >  s/\n//
3736 > }
3737 > ' >>$CONFIG_STATUS || ac_write_fail=1
3738 > rm -f conf$$subs.awk
3739 > cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3740 > _ACAWK
3741 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3742 >  for (key in S) S_is_set[key] = 1
3743 >  FS = ""
3744 >
3745 > }
3746 > {
3747 >  line = $ 0
3748 >  nfields = split(line, field, "@")
3749 >  substed = 0
3750 >  len = length(field[1])
3751 >  for (i = 2; i < nfields; i++) {
3752 >    key = field[i]
3753 >    keylen = length(key)
3754 >    if (S_is_set[key]) {
3755 >      value = S[key]
3756 >      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3757 >      len += length(value) + length(field[++i])
3758 >      substed = 1
3759 >    } else
3760 >      len += 1 + keylen
3761 >  }
3762 >
3763 >  print line
3764 > }
3765 >
3766 > _ACAWK
3767 > _ACEOF
3768 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3769 > if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3770 >  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3771 > else
3772 >  cat
3773 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3774 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3775 > _ACEOF
3776 >
3777 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3778 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3779 > # trailing colons and then remove the whole line if VPATH becomes empty
3780 > # (actually we leave an empty line to preserve line numbers).
3781 > if test "x$srcdir" = x.; then
3782 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
3783 > h
3784 > s///
3785 > s/^/:/
3786 > s/[      ]*$/:/
3787 > s/:\$(srcdir):/:/g
3788 > s/:\${srcdir}:/:/g
3789 > s/:@srcdir@:/:/g
3790 > s/^:*//
3791 > s/:*$//
3792 > x
3793 > s/\(=[   ]*\).*/\1/
3794 > G
3795 > s/\n//
3796 > s/^[^=]*=[       ]*$//
3797 > }'
3798 > fi
3799 >
3800 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3801 > fi # test -n "$CONFIG_FILES"
3802 >
3803 >
3804 > eval set X "  :F $CONFIG_FILES      "
3805 > shift
3806 > for ac_tag
3807 > do
3808 >  case $ac_tag in
3809 >  :[FHLC]) ac_mode=$ac_tag; continue;;
3810    esac
3811 +  case $ac_mode$ac_tag in
3812 +  :[FHL]*:*);;
3813 +  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3814 +  :[FH]-) ac_tag=-:-;;
3815 +  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3816 +  esac
3817 +  ac_save_IFS=$IFS
3818 +  IFS=:
3819 +  set x $ac_tag
3820 +  IFS=$ac_save_IFS
3821 +  shift
3822 +  ac_file=$1
3823 +  shift
3824 +
3825 +  case $ac_mode in
3826 +  :L) ac_source=$1;;
3827 +  :[FH])
3828 +    ac_file_inputs=
3829 +    for ac_f
3830 +    do
3831 +      case $ac_f in
3832 +      -) ac_f="$ac_tmp/stdin";;
3833 +      *) # Look for the file first in the build tree, then in the source tree
3834 +         # (if the path is not absolute).  The absolute path cannot be DOS-style,
3835 +         # because $ac_f cannot contain `:'.
3836 +         test -f "$ac_f" ||
3837 +           case $ac_f in
3838 +           [\\/$]*) false;;
3839 +           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3840 +           esac ||
3841 +           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3842 +      esac
3843 +      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3844 +      as_fn_append ac_file_inputs " '$ac_f'"
3845 +    done
3846 +
3847 +    # Let's still pretend it is `configure' which instantiates (i.e., don't
3848 +    # use $as_me), people would be surprised to read:
3849 +    #    /* config.h.  Generated by config.status.  */
3850 +    configure_input='Generated from '`
3851 +          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3852 +        `' by configure.'
3853 +    if test x"$ac_file" != x-; then
3854 +      configure_input="$ac_file.  $configure_input"
3855 +      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3856 + $as_echo "$as_me: creating $ac_file" >&6;}
3857 +    fi
3858 +    # Neutralize special characters interpreted by sed in replacement strings.
3859 +    case $configure_input in #(
3860 +    *\&* | *\|* | *\\* )
3861 +       ac_sed_conf_input=`$as_echo "$configure_input" |
3862 +       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3863 +    *) ac_sed_conf_input=$configure_input;;
3864 +    esac
3865  
3866 <  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3867 <  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3866 >    case $ac_tag in
3867 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
3868 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3869 >    esac
3870 >    ;;
3871 >  esac
3872 >
3873 >  ac_dir=`$as_dirname -- "$ac_file" ||
3874   $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3875           X"$ac_file" : 'X\(//\)[^/]' \| \
3876           X"$ac_file" : 'X\(//\)$' \| \
3877 <         X"$ac_file" : 'X\(/\)' \| \
3878 <         .     : '\(.\)' 2>/dev/null ||
3879 < echo X"$ac_file" |
3880 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3881 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3882 <          /^X\(\/\/\)$/{ s//\1/; q; }
3883 <          /^X\(\/\).*/{ s//\1/; q; }
3884 <          s/.*/./; q'`
3885 <  { if $as_mkdir_p; then
3886 <    mkdir -p "$ac_dir"
3887 <  else
3888 <    as_dir="$ac_dir"
3889 <    as_dirs=
3890 <    while test ! -d "$as_dir"; do
3891 <      as_dirs="$as_dir $as_dirs"
3892 <      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3893 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3894 <         X"$as_dir" : 'X\(//\)[^/]' \| \
3895 <         X"$as_dir" : 'X\(//\)$' \| \
3896 <         X"$as_dir" : 'X\(/\)' \| \
3866 <         .     : '\(.\)' 2>/dev/null ||
3867 < echo X"$as_dir" |
3868 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3869 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3870 <          /^X\(\/\/\)$/{ s//\1/; q; }
3871 <          /^X\(\/\).*/{ s//\1/; q; }
3872 <          s/.*/./; q'`
3873 <    done
3874 <    test ! -n "$as_dirs" || mkdir $as_dirs
3875 <  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3876 < echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3877 <   { (exit 1); exit 1; }; }; }
3878 <
3877 >         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3878 > $as_echo X"$ac_file" |
3879 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3880 >            s//\1/
3881 >            q
3882 >          }
3883 >          /^X\(\/\/\)[^/].*/{
3884 >            s//\1/
3885 >            q
3886 >          }
3887 >          /^X\(\/\/\)$/{
3888 >            s//\1/
3889 >            q
3890 >          }
3891 >          /^X\(\/\).*/{
3892 >            s//\1/
3893 >            q
3894 >          }
3895 >          s/.*/./; q'`
3896 >  as_dir="$ac_dir"; as_fn_mkdir_p
3897    ac_builddir=.
3898  
3899 < if test "$ac_dir" != .; then
3900 <  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3901 <  # A "../" for each directory in $ac_dir_suffix.
3902 <  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3903 < else
3904 <  ac_dir_suffix= ac_top_builddir=
3905 < fi
3899 > case "$ac_dir" in
3900 > .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3901 > *)
3902 >  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3903 >  # A ".." for each directory in $ac_dir_suffix.
3904 >  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3905 >  case $ac_top_builddir_sub in
3906 >  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3907 >  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3908 >  esac ;;
3909 > esac
3910 > ac_abs_top_builddir=$ac_pwd
3911 > ac_abs_builddir=$ac_pwd$ac_dir_suffix
3912 > # for backward compatibility:
3913 > ac_top_builddir=$ac_top_build_prefix
3914  
3915   case $srcdir in
3916 <  .)  # No --srcdir option.  We are building in place.
3916 >  .)  # We are building in place.
3917      ac_srcdir=.
3918 <    if test -z "$ac_top_builddir"; then
3919 <       ac_top_srcdir=.
3920 <    else
3895 <       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3896 <    fi ;;
3897 <  [\\/]* | ?:[\\/]* )  # Absolute path.
3918 >    ac_top_srcdir=$ac_top_builddir_sub
3919 >    ac_abs_top_srcdir=$ac_pwd ;;
3920 >  [\\/]* | ?:[\\/]* )  # Absolute name.
3921      ac_srcdir=$srcdir$ac_dir_suffix;
3922 <    ac_top_srcdir=$srcdir ;;
3923 <  *) # Relative path.
3924 <    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3925 <    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3922 >    ac_top_srcdir=$srcdir
3923 >    ac_abs_top_srcdir=$srcdir ;;
3924 >  *) # Relative name.
3925 >    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3926 >    ac_top_srcdir=$ac_top_build_prefix$srcdir
3927 >    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3928   esac
3929 + ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3930  
3905 # Do not use `cd foo && pwd` to compute absolute paths, because
3906 # the directories may not exist.
3907 case `pwd` in
3908 .) ac_abs_builddir="$ac_dir";;
3909 *)
3910  case "$ac_dir" in
3911  .) ac_abs_builddir=`pwd`;;
3912  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3913  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3914  esac;;
3915 esac
3916 case $ac_abs_builddir in
3917 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3918 *)
3919  case ${ac_top_builddir}. in
3920  .) ac_abs_top_builddir=$ac_abs_builddir;;
3921  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3922  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3923  esac;;
3924 esac
3925 case $ac_abs_builddir in
3926 .) ac_abs_srcdir=$ac_srcdir;;
3927 *)
3928  case $ac_srcdir in
3929  .) ac_abs_srcdir=$ac_abs_builddir;;
3930  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3931  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3932  esac;;
3933 esac
3934 case $ac_abs_builddir in
3935 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3936 *)
3937  case $ac_top_srcdir in
3938  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3939  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3940  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3941  esac;;
3942 esac
3931  
3932 +  case $ac_mode in
3933 +  :F)
3934 +  #
3935 +  # CONFIG_FILE
3936 +  #
3937  
3938    case $INSTALL in
3939    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3940 <  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3940 >  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3941    esac
3942 + _ACEOF
3943  
3944 <  if test x"$ac_file" != x-; then
3945 <    { echo "$as_me:$LINENO: creating $ac_file" >&5
3946 < echo "$as_me: creating $ac_file" >&6;}
3947 <    rm -f "$ac_file"
3948 <  fi
3949 <  # Let's still pretend it is `configure' which instantiates (i.e., don't
3950 <  # use $as_me), people would be surprised to read:
3951 <  #    /* config.h.  Generated by config.status.  */
3952 <  if test x"$ac_file" = x-; then
3953 <    configure_input=
3954 <  else
3955 <    configure_input="$ac_file.  "
3956 <  fi
3957 <  configure_input=$configure_input"Generated from `echo $ac_file_in |
3958 <                                     sed 's,.*/,,'` by configure."
3959 <
3960 <  # First look for the input files in the build tree, otherwise in the
3961 <  # src tree.
3962 <  ac_file_inputs=`IFS=:
3963 <    for f in $ac_file_in; do
3964 <      case $f in
3965 <      -) echo $tmp/stdin ;;
3966 <      [\\/$]*)
3967 <         # Absolute (can't be DOS-style, as IFS=:)
3968 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3969 < echo "$as_me: error: cannot find input file: $f" >&2;}
3970 <   { (exit 1); exit 1; }; }
3971 <         echo "$f";;
3972 <      *) # Relative
3979 <         if test -f "$f"; then
3980 <           # Build tree
3981 <           echo "$f"
3982 <         elif test -f "$srcdir/$f"; then
3983 <           # Source tree
3984 <           echo "$srcdir/$f"
3985 <         else
3986 <           # /dev/null tree
3987 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3988 < echo "$as_me: error: cannot find input file: $f" >&2;}
3989 <   { (exit 1); exit 1; }; }
3990 <         fi;;
3991 <      esac
3992 <    done` || { (exit 1); exit 1; }
3944 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3945 > # If the template does not know about datarootdir, expand it.
3946 > # FIXME: This hack should be removed a few years after 2.60.
3947 > ac_datarootdir_hack=; ac_datarootdir_seen=
3948 > ac_sed_dataroot='
3949 > /datarootdir/ {
3950 >  p
3951 >  q
3952 > }
3953 > /@datadir@/p
3954 > /@docdir@/p
3955 > /@infodir@/p
3956 > /@localedir@/p
3957 > /@mandir@/p'
3958 > case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3959 > *datarootdir*) ac_datarootdir_seen=yes;;
3960 > *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3961 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3962 > $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3963 > _ACEOF
3964 > cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3965 >  ac_datarootdir_hack='
3966 >  s&@datadir@&$datadir&g
3967 >  s&@docdir@&$docdir&g
3968 >  s&@infodir@&$infodir&g
3969 >  s&@localedir@&$localedir&g
3970 >  s&@mandir@&$mandir&g
3971 >  s&\\\${datarootdir}&$datarootdir&g' ;;
3972 > esac
3973   _ACEOF
3974 < cat >>$CONFIG_STATUS <<_ACEOF
3975 <  sed "$ac_vpsub
3974 >
3975 > # Neutralize VPATH when `$srcdir' = `.'.
3976 > # Shell code in configure.ac might set extrasub.
3977 > # FIXME: do we really want to maintain this feature?
3978 > cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3979 > ac_sed_extra="$ac_vpsub
3980   $extrasub
3981   _ACEOF
3982 < cat >>$CONFIG_STATUS <<\_ACEOF
3982 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3983   :t
3984   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3985 < s,@configure_input@,$configure_input,;t t
3986 < s,@srcdir@,$ac_srcdir,;t t
3987 < s,@abs_srcdir@,$ac_abs_srcdir,;t t
3988 < s,@top_srcdir@,$ac_top_srcdir,;t t
3989 < s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3990 < s,@builddir@,$ac_builddir,;t t
3991 < s,@abs_builddir@,$ac_abs_builddir,;t t
3992 < s,@top_builddir@,$ac_top_builddir,;t t
3993 < s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3994 < s,@INSTALL@,$ac_INSTALL,;t t
3995 < " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3996 <  rm -f $tmp/stdin
3997 <  if test x"$ac_file" != x-; then
3998 <    mv $tmp/out $ac_file
3999 <  else
4000 <    cat $tmp/out
4001 <    rm -f $tmp/out
4002 <  fi
3985 > s|@configure_input@|$ac_sed_conf_input|;t t
3986 > s&@top_builddir@&$ac_top_builddir_sub&;t t
3987 > s&@top_build_prefix@&$ac_top_build_prefix&;t t
3988 > s&@srcdir@&$ac_srcdir&;t t
3989 > s&@abs_srcdir@&$ac_abs_srcdir&;t t
3990 > s&@top_srcdir@&$ac_top_srcdir&;t t
3991 > s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3992 > s&@builddir@&$ac_builddir&;t t
3993 > s&@abs_builddir@&$ac_abs_builddir&;t t
3994 > s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3995 > s&@INSTALL@&$ac_INSTALL&;t t
3996 > $ac_datarootdir_hack
3997 > "
3998 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3999 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4000 >
4001 > test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4002 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4003 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
4004 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
4005 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4006 > which seems to be undefined.  Please make sure it is defined" >&5
4007 > $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4008 > which seems to be undefined.  Please make sure it is defined" >&2;}
4009 >
4010 >  rm -f "$ac_tmp/stdin"
4011 >  case $ac_file in
4012 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4013 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4014 >  esac \
4015 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4016 > ;;
4017  
4020 done
4021 _ACEOF
4018  
4023 cat >>$CONFIG_STATUS <<\_ACEOF
4019  
4020 < { (exit 0); exit 0; }
4020 >  esac
4021 >
4022 > done # for ac_tag
4023 >
4024 >
4025 > as_fn_exit 0
4026   _ACEOF
4027 chmod +x $CONFIG_STATUS
4027   ac_clean_files=$ac_clean_files_save
4028  
4029 + test $ac_write_fail = 0 ||
4030 +  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4031 +
4032  
4033   # configure is writing to config.log, and then calls config.status.
4034   # config.status does its own redirection, appending to config.log.
# Line 4046 | Line 4048 | if test "$no_create" != yes; then
4048    exec 5>>config.log
4049    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4050    # would make configure fail if this is the last instruction.
4051 <  $ac_cs_success || { (exit 1); exit 1; }
4051 >  $ac_cs_success || as_fn_exit 1
4052 > fi
4053 > if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4054 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4055 > $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4056   fi
4057  

Comparing Search/trunk/configure (property svn:mime-type):
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 < application/x-sh
1 > text/x-sh

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines