ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/lsys/configure
(Generate patch)

Comparing lsys/configure (file contents):
Revision 1.2 by root, Thu Apr 29 12:42:13 2010 UTC vs.
Revision 1.3 by root, Wed Nov 7 12:50:17 2018 UTC

1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61. 3# Generated by GNU Autoconf 2.69.
4# 4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 5#
6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
7# This configure script is free software; the Free Software Foundation 9# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it. 10# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ## 11## -------------------- ##
10## M4sh Initialization. ## 12## M4sh Initialization. ##
11## --------------------- ## 13## -------------------- ##
12 14
13# Be more Bourne compatible 15# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh 16DUALCASE=1; export DUALCASE # for MKS sh
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16 emulate sh 18 emulate sh
17 NULLCMD=: 19 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature. 21 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"' 22 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST 23 setopt NO_GLOB_SUBST
22else 24else
23 case `(set -o) 2>/dev/null` in 25 case `(set -o) 2>/dev/null` in #(
24 *posix*) set -o posix ;; 26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
25esac 30esac
26
27fi 31fi
28 32
29 33
30 34as_nl='
31 35'
32# PATH needs CR 36export as_nl
33# Avoid depending upon Character Ranges. 37# Printing a long string crashes Solaris 7 /usr/bin/printf.
34as_cr_letters='abcdefghijklmnopqrstuvwxyz' 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
36as_cr_Letters=$as_cr_letters$as_cr_LETTERS 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
37as_cr_digits='0123456789' 41# Prefer a ksh shell builtin over an external printf program on Solaris,
38as_cr_alnum=$as_cr_Letters$as_cr_digits 42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70fi
39 71
40# The user is always right. 72# The user is always right.
41if test "${PATH_SEPARATOR+set}" != set; then 73if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh 74 PATH_SEPARATOR=:
43 echo "exit 0" >>conf$$.sh 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
44 chmod +x conf$$.sh 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';' 77 PATH_SEPARATOR=';'
47 else 78 }
48 PATH_SEPARATOR=:
49 fi
50 rm -f conf$$.sh
51fi
52
53# Support unset when possible.
54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56else
57 as_unset=false
58fi 79fi
59 80
60 81
61# IFS 82# IFS
62# We need space, tab and new line, in precisely that order. Quoting is 83# We need space, tab and new line, in precisely that order. Quoting is
63# there to prevent editors from complaining about space-tab. 84# there to prevent editors from complaining about space-tab.
64# (If _AS_PATH_WALK were called with IFS unset, it would disable word 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65# splitting by setting IFS to empty value.) 86# splitting by setting IFS to empty value.)
66as_nl='
67'
68IFS=" "" $as_nl" 87IFS=" "" $as_nl"
69 88
70# Find who we are. Look in the path if we contain no directory separator. 89# Find who we are. Look in the path if we contain no directory separator.
90as_myself=
71case $0 in 91case $0 in #((
72 *[\\/]* ) as_myself=$0 ;; 92 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74for as_dir in $PATH 94for as_dir in $PATH
75do 95do
76 IFS=$as_save_IFS 96 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=. 97 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79done 99 done
80IFS=$as_save_IFS 100IFS=$as_save_IFS
81 101
82 ;; 102 ;;
83esac 103esac
84# We did not find ourselves, most probably we were run as `sh COMMAND' 104# We did not find ourselves, most probably we were run as `sh COMMAND'
85# in which case we are not to be found in the path. 105# in which case we are not to be found in the path.
86if test "x$as_myself" = x; then 106if test "x$as_myself" = x; then
87 as_myself=$0 107 as_myself=$0
88fi 108fi
89if test ! -f "$as_myself"; then 109if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; } 111 exit 1
92fi 112fi
93 113
94# Work around bugs in pre-3.0 UWIN ksh. 114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there. '((' could
117# trigger a bug in pdksh 5.2.14.
95for as_var in ENV MAIL MAILPATH 118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
97done 121done
98PS1='$ ' 122PS1='$ '
99PS2='> ' 123PS2='> '
100PS4='+ ' 124PS4='+ '
101 125
102# NLS nuisances. 126# NLS nuisances.
103for as_var in \ 127LC_ALL=C
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 128export LC_ALL
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 129LANGUAGE=C
106 LC_TELEPHONE LC_TIME 130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174esac
175fi
176"
177 as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191 exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
201 as_have_required=yes
202else
203 as_have_required=no
204fi
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209as_found=false
210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
107do 211do
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 212 IFS=$as_save_IFS
109 eval $as_var=C; export $as_var 213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in #(
216 /*)
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 break 2
225fi
226fi
227 done;;
228 esac
229 as_found=false
230done
231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234fi; }
235IFS=$as_save_IFS
236
237
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241# neutralization value for shells without unset; and this also
242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
244BASH_ENV=/dev/null
245ENV=/dev/null
246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252esac
253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
258fi
259
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
110 else 266 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268$0: including any error possibly output before this
269$0: message. Then install a modern shell, or manually run
270$0: the script under such a shell if you do have one."
112 fi 271 fi
113done 272 exit 1
273fi
274fi
275fi
276SHELL=${CONFIG_SHELL-/bin/sh}
277export SHELL
278# Unset more variables known to interfere with behavior of common tools.
279CLICOLOR_FORCE= GREP_OPTIONS=
280unset CLICOLOR_FORCE GREP_OPTIONS
114 281
115# Required to use basename. 282## --------------------- ##
283## M4sh Shell Functions. ##
284## --------------------- ##
285# as_fn_unset VAR
286# ---------------
287# Portably unset VAR.
288as_fn_unset ()
289{
290 { eval $1=; unset $1;}
291}
292as_unset=as_fn_unset
293
294# as_fn_set_status STATUS
295# -----------------------
296# Set $? to STATUS, without forking.
297as_fn_set_status ()
298{
299 return $1
300} # as_fn_set_status
301
302# as_fn_exit STATUS
303# -----------------
304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305as_fn_exit ()
306{
307 set +e
308 as_fn_set_status $1
309 exit $1
310} # as_fn_exit
311
312# as_fn_mkdir_p
313# -------------
314# Create "$as_dir" as a directory, including parents if necessary.
315as_fn_mkdir_p ()
316{
317
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334$as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
337 q
338 }
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
341 q
342 }
343 /^X\(\/\/\)$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\).*/{
348 s//\1/
349 q
350 }
351 s/.*/./; q'`
352 test -d "$as_dir" && break
353 done
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358} # as_fn_mkdir_p
359
360# as_fn_executable_p FILE
361# -----------------------
362# Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365 test -f "$1" && test -x "$1"
366} # as_fn_executable_p
367# as_fn_append VAR VALUE
368# ----------------------
369# Append the text in VALUE to the end of the definition contained in VAR. Take
370# advantage of any shell optimizations that allow amortized linear growth over
371# repeated appends, instead of the typical quadratic growth present in naive
372# implementations.
373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
375 {
376 eval $1+=\$2
377 }'
378else
379 as_fn_append ()
380 {
381 eval $1=\$$1\$2
382 }
383fi # as_fn_append
384
385# as_fn_arith ARG...
386# ------------------
387# Perform arithmetic evaluation on the ARGs, and store the result in the
388# global $as_val. Take advantage of shells that can avoid forks. The arguments
389# must be portable across $(()) and expr.
390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391 eval 'as_fn_arith ()
392 {
393 as_val=$(( $* ))
394 }'
395else
396 as_fn_arith ()
397 {
398 as_val=`expr "$@" || test $? -eq 1`
399 }
400fi # as_fn_arith
401
402
403# as_fn_error STATUS ERROR [LINENO LOG_FD]
404# ----------------------------------------
405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407# script with STATUS, using 1 if that was 0.
408as_fn_error ()
409{
410 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 fi
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
417} # as_fn_error
418
116if expr a : '\(a\)' >/dev/null 2>&1 && 419if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr 421 as_expr=expr
119else 422else
120 as_expr=false 423 as_expr=false
124 as_basename=basename 427 as_basename=basename
125else 428else
126 as_basename=false 429 as_basename=false
127fi 430fi
128 431
432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433 as_dirname=dirname
434else
435 as_dirname=false
436fi
129 437
130# Name of the executable.
131as_me=`$as_basename -- "$0" || 438as_me=`$as_basename -- "$0" ||
132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \ 440 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135echo X/"$0" | 442$as_echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 443 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/ 444 s//\1/
138 q 445 q
139 } 446 }
140 /^X\/\(\/\/\)$/{ 447 /^X\/\(\/\/\)$/{
145 s//\1/ 452 s//\1/
146 q 453 q
147 } 454 }
148 s/.*/./; q'` 455 s/.*/./; q'`
149 456
150# CDPATH. 457# Avoid depending upon Character Ranges.
151$as_unset CDPATH 458as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461as_cr_digits='0123456789'
462as_cr_alnum=$as_cr_Letters$as_cr_digits
152 463
153 464
154if test "x$CONFIG_SHELL" = x; then 465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
155 if (eval ":") 2>/dev/null; then 466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
156 as_have_required=yes
157else
158 as_have_required=no
159fi
160
161 if test $as_have_required = yes && (eval ":
162(as_func_return () {
163 (exit \$1)
164}
165as_func_success () {
166 as_func_return 0
167}
168as_func_failure () {
169 as_func_return 1
170}
171as_func_ret_success () {
172 return 0
173}
174as_func_ret_failure () {
175 return 1
176}
177
178exitcode=0
179if as_func_success; then
180 :
181else
182 exitcode=1
183 echo as_func_success failed.
184fi
185
186if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
189fi
190
191if as_func_ret_success; then
192 :
193else
194 exitcode=1
195 echo as_func_ret_success failed.
196fi
197
198if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
201fi
202
203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204 :
205else
206 exitcode=1
207 echo positional parameters were not saved.
208fi
209
210test \$exitcode = 0) || { (exit 1); exit 1; }
211
212(
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217") 2> /dev/null; then
218 :
219else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223do
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 case $as_dir in
227 /*)
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232done
233IFS=$as_save_IFS
234
235
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250esac
251
252fi
253
254
255:
256_ASEOF
257}; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277(as_func_return () {
278 (exit $1)
279}
280as_func_success () {
281 as_func_return 0
282}
283as_func_failure () {
284 as_func_return 1
285}
286as_func_ret_success () {
287 return 0
288}
289as_func_ret_failure () {
290 return 1
291}
292
293exitcode=0
294if as_func_success; then
295 :
296else
297 exitcode=1
298 echo as_func_success failed.
299fi
300
301if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
304fi
305
306if as_func_ret_success; then
307 :
308else
309 exitcode=1
310 echo as_func_ret_success failed.
311fi
312
313if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
316fi
317
318if ( set x; as_func_ret_success y && test x = "$1" ); then
319 :
320else
321 exitcode=1
322 echo positional parameters were not saved.
323fi
324
325test $exitcode = 0) || { (exit 1); exit 1; }
326
327(
328 as_lineno_1=$LINENO
329 as_lineno_2=$LINENO
330 test "x$as_lineno_1" != "x$as_lineno_2" && 467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333_ASEOF
334}; then
335 break
336fi
337
338fi
339
340 done
341
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345 done
346 export CONFIG_SHELL
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348fi
349
350
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
357fi
358
359
360fi
361
362fi
363
364
365
366(eval "as_func_return () {
367 (exit \$1)
368}
369as_func_success () {
370 as_func_return 0
371}
372as_func_failure () {
373 as_func_return 1
374}
375as_func_ret_success () {
376 return 0
377}
378as_func_ret_failure () {
379 return 1
380}
381
382exitcode=0
383if as_func_success; then
384 :
385else
386 exitcode=1
387 echo as_func_success failed.
388fi
389
390if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
393fi
394
395if as_func_ret_success; then
396 :
397else
398 exitcode=1
399 echo as_func_ret_success failed.
400fi
401
402if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
405fi
406
407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408 :
409else
410 exitcode=1
411 echo positional parameters were not saved.
412fi
413
414test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
418 echo message
419}
420
421
422
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
434 # case at line end.
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-) 469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n ' 470 sed -n '
439 p 471 p
440 /[$]LINENO/= 472 /[$]LINENO/=
441 ' <$as_myself | 473 ' <$as_myself |
442 sed ' 474 sed '
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop 482 t loop
451 s/-\n.*// 483 s/-\n.*//
452 ' >$as_me.lineno && 484 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" || 485 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 { (exit 1); exit 1; }; }
456 487
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
457 # Don't try to exec as it changes $[0], causing all sort of problems 492 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the 493 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this). 494 # original and so on. Autoconf is especially sensitive to this).
460 . "./$as_me.lineno" 495 . "./$as_me.lineno"
461 # Exit status is that of the last command. 496 # Exit status is that of the last command.
462 exit 497 exit
463} 498}
464 499
465
466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468else
469 as_dirname=false
470fi
471
472ECHO_C= ECHO_N= ECHO_T= 500ECHO_C= ECHO_N= ECHO_T=
473case `echo -n x` in 501case `echo -n x` in #(((((
474-n*) 502-n*)
475 case `echo 'x\c'` in 503 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';; 505 xy) ECHO_C='\c';;
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
507 ECHO_T=' ';;
478 esac;; 508 esac;;
479*) 509*)
480 ECHO_N='-n';; 510 ECHO_N='-n';;
481esac 511esac
482 512
483if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486else
487 as_expr=false
488fi
489
490rm -f conf$$ conf$$.exe conf$$.file 513rm -f conf$$ conf$$.exe conf$$.file
491if test -d conf$$.dir; then 514if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file 515 rm -f conf$$.dir/conf$$.file
493else 516else
494 rm -f conf$$.dir 517 rm -f conf$$.dir
495 mkdir conf$$.dir 518 mkdir conf$$.dir 2>/dev/null
496fi 519fi
497echo >conf$$.file 520if (echo >conf$$.file) 2>/dev/null; then
498if ln -s conf$$.file conf$$ 2>/dev/null; then 521 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s' 522 as_ln_s='ln -s'
500 # ... but there are two gotchas: 523 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'. 526 # In both cases, we have to default to `cp -pR'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505 as_ln_s='cp -p' 528 as_ln_s='cp -pR'
506elif ln conf$$.file conf$$ 2>/dev/null; then 529 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln 530 as_ln_s=ln
508else 531 else
532 as_ln_s='cp -pR'
533 fi
534else
509 as_ln_s='cp -p' 535 as_ln_s='cp -pR'
510fi 536fi
511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512rmdir conf$$.dir 2>/dev/null 538rmdir conf$$.dir 2>/dev/null
513 539
514if mkdir -p . 2>/dev/null; then 540if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=: 541 as_mkdir_p='mkdir -p "$as_dir"'
516else 542else
517 test -d ./-p && rmdir ./-p 543 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false 544 as_mkdir_p=false
519fi 545fi
520 546
521if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x' 547as_test_x='test -x'
523else 548as_executable_p=as_fn_executable_p
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
528 fi
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
540 '
541fi
542as_executable_p=$as_test_x
543 549
544# Sed expression to map a string onto a valid CPP name. 550# Sed expression to map a string onto a valid CPP name.
545as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546 552
547# Sed expression to map a string onto a valid variable name. 553# Sed expression to map a string onto a valid variable name.
548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549 555
550 556
551 557test -n "$DJDIR" || exec 7<&0 </dev/null
552exec 7<&0 </dev/null 6>&1 558exec 6>&1
553 559
554# Name of the host. 560# Name of the host.
555# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556# so uname gets run too. 562# so uname gets run too.
557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 564
559# 565#
560# Initializations. 566# Initializations.
565LIBOBJS= 571LIBOBJS=
566cross_compiling=no 572cross_compiling=no
567subdirs= 573subdirs=
568MFLAGS= 574MFLAGS=
569MAKEFLAGS= 575MAKEFLAGS=
570SHELL=${CONFIG_SHELL-/bin/sh}
571 576
572# Identity of this package. 577# Identity of this package.
573PACKAGE_NAME= 578PACKAGE_NAME=
574PACKAGE_TARNAME= 579PACKAGE_TARNAME=
575PACKAGE_VERSION= 580PACKAGE_VERSION=
576PACKAGE_STRING= 581PACKAGE_STRING=
577PACKAGE_BUGREPORT= 582PACKAGE_BUGREPORT=
583PACKAGE_URL=
578 584
579ac_unique_file="parser.g" 585ac_unique_file="parser.g"
580# Factoring default headers for most tests. 586# Factoring default headers for most tests.
581ac_includes_default="\ 587ac_includes_default="\
582#include <stdio.h> 588#include <stdio.h>
611#endif 617#endif
612#ifdef HAVE_UNISTD_H 618#ifdef HAVE_UNISTD_H
613# include <unistd.h> 619# include <unistd.h>
614#endif" 620#endif"
615 621
616ac_subst_vars='SHELL 622ac_subst_vars='LTLIBOBJS
623LIBOBJS
624HAVE_PCCTS_FALSE
625HAVE_PCCTS_TRUE
626DLG
627ANTLR
628XMKMF
629CXXCPP
630am__fastdepCXX_FALSE
631am__fastdepCXX_TRUE
632CXXDEPMODE
633ac_ct_CXX
634CXXFLAGS
635CXX
636EGREP
637GREP
638CPP
639am__fastdepCC_FALSE
640am__fastdepCC_TRUE
641CCDEPMODE
642AMDEPBACKSLASH
643AMDEP_FALSE
644AMDEP_TRUE
645am__quote
646am__include
647DEPDIR
648OBJEXT
649EXEEXT
650ac_ct_CC
651CPPFLAGS
652LDFLAGS
653CFLAGS
654CC
655am__untar
656am__tar
657AMTAR
658am__leading_dot
659SET_MAKE
660AWK
661mkdir_p
662MKDIR_P
663INSTALL_STRIP_PROGRAM
664STRIP
665install_sh
666MAKEINFO
667AUTOHEADER
668AUTOMAKE
669AUTOCONF
670ACLOCAL
671VERSION
672PACKAGE
673CYGPATH_W
674am__isrc
675INSTALL_DATA
676INSTALL_SCRIPT
677INSTALL_PROGRAM
678target_alias
679host_alias
680build_alias
681LIBS
682ECHO_T
683ECHO_N
684ECHO_C
685DEFS
686mandir
687localedir
688libdir
689psdir
690pdfdir
691dvidir
692htmldir
693infodir
694docdir
695oldincludedir
696includedir
697runstatedir
698localstatedir
699sharedstatedir
700sysconfdir
701datadir
702datarootdir
703libexecdir
704sbindir
705bindir
706program_transform_name
707prefix
708exec_prefix
709PACKAGE_URL
710PACKAGE_BUGREPORT
711PACKAGE_STRING
712PACKAGE_VERSION
713PACKAGE_TARNAME
714PACKAGE_NAME
617PATH_SEPARATOR 715PATH_SEPARATOR
618PACKAGE_NAME 716SHELL'
619PACKAGE_TARNAME
620PACKAGE_VERSION
621PACKAGE_STRING
622PACKAGE_BUGREPORT
623exec_prefix
624prefix
625program_transform_name
626bindir
627sbindir
628libexecdir
629datarootdir
630datadir
631sysconfdir
632sharedstatedir
633localstatedir
634includedir
635oldincludedir
636docdir
637infodir
638htmldir
639dvidir
640pdfdir
641psdir
642libdir
643localedir
644mandir
645DEFS
646ECHO_C
647ECHO_N
648ECHO_T
649LIBS
650build_alias
651host_alias
652target_alias
653INSTALL_PROGRAM
654INSTALL_SCRIPT
655INSTALL_DATA
656am__isrc
657CYGPATH_W
658PACKAGE
659VERSION
660ACLOCAL
661AUTOCONF
662AUTOMAKE
663AUTOHEADER
664MAKEINFO
665install_sh
666STRIP
667INSTALL_STRIP_PROGRAM
668mkdir_p
669AWK
670SET_MAKE
671am__leading_dot
672AMTAR
673am__tar
674am__untar
675CC
676CFLAGS
677LDFLAGS
678CPPFLAGS
679ac_ct_CC
680EXEEXT
681OBJEXT
682DEPDIR
683am__include
684am__quote
685AMDEP_TRUE
686AMDEP_FALSE
687AMDEPBACKSLASH
688CCDEPMODE
689am__fastdepCC_TRUE
690am__fastdepCC_FALSE
691CPP
692GREP
693EGREP
694CXX
695CXXFLAGS
696ac_ct_CXX
697CXXDEPMODE
698am__fastdepCXX_TRUE
699am__fastdepCXX_FALSE
700CXXCPP
701XMKMF
702ANTLR
703DLG
704HAVE_PCCTS_TRUE
705HAVE_PCCTS_FALSE
706LIBOBJS
707LTLIBOBJS'
708ac_subst_files='' 717ac_subst_files=''
718ac_user_opts='
719enable_option_checking
720enable_dependency_tracking
721with_x
722'
709 ac_precious_vars='build_alias 723 ac_precious_vars='build_alias
710host_alias 724host_alias
711target_alias 725target_alias
712CC 726CC
713CFLAGS 727CFLAGS
723 737
724 738
725# Initialize some variables set by options. 739# Initialize some variables set by options.
726ac_init_help= 740ac_init_help=
727ac_init_version=false 741ac_init_version=false
742ac_unrecognized_opts=
743ac_unrecognized_sep=
728# The variables have the same names as the options, with 744# The variables have the same names as the options, with
729# dashes changed to underlines. 745# dashes changed to underlines.
730cache_file=/dev/null 746cache_file=/dev/null
731exec_prefix=NONE 747exec_prefix=NONE
732no_create= 748no_create=
754datarootdir='${prefix}/share' 770datarootdir='${prefix}/share'
755datadir='${datarootdir}' 771datadir='${datarootdir}'
756sysconfdir='${prefix}/etc' 772sysconfdir='${prefix}/etc'
757sharedstatedir='${prefix}/com' 773sharedstatedir='${prefix}/com'
758localstatedir='${prefix}/var' 774localstatedir='${prefix}/var'
775runstatedir='${localstatedir}/run'
759includedir='${prefix}/include' 776includedir='${prefix}/include'
760oldincludedir='/usr/include' 777oldincludedir='/usr/include'
761docdir='${datarootdir}/doc/${PACKAGE}' 778docdir='${datarootdir}/doc/${PACKAGE}'
762infodir='${datarootdir}/info' 779infodir='${datarootdir}/info'
763htmldir='${docdir}' 780htmldir='${docdir}'
778 ac_prev= 795 ac_prev=
779 continue 796 continue
780 fi 797 fi
781 798
782 case $ac_option in 799 case $ac_option in
783 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 800 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
801 *=) ac_optarg= ;;
784 *) ac_optarg=yes ;; 802 *) ac_optarg=yes ;;
785 esac 803 esac
786 804
787 # Accept the important Cygnus configure options, so we can diagnose typos. 805 # Accept the important Cygnus configure options, so we can diagnose typos.
788 806
789 case $ac_dashdash$ac_option in 807 case $ac_dashdash$ac_option in
821 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 839 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
822 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 840 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
823 datarootdir=$ac_optarg ;; 841 datarootdir=$ac_optarg ;;
824 842
825 -disable-* | --disable-*) 843 -disable-* | --disable-*)
826 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 844 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
827 # Reject names that are not valid shell variable names. 845 # Reject names that are not valid shell variable names.
828 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 846 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
829 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 847 as_fn_error $? "invalid feature name: $ac_useropt"
830 { (exit 1); exit 1; }; } 848 ac_useropt_orig=$ac_useropt
831 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 849 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
850 case $ac_user_opts in
851 *"
852"enable_$ac_useropt"
853"*) ;;
854 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
855 ac_unrecognized_sep=', ';;
856 esac
832 eval enable_$ac_feature=no ;; 857 eval enable_$ac_useropt=no ;;
833 858
834 -docdir | --docdir | --docdi | --doc | --do) 859 -docdir | --docdir | --docdi | --doc | --do)
835 ac_prev=docdir ;; 860 ac_prev=docdir ;;
836 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 861 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
837 docdir=$ac_optarg ;; 862 docdir=$ac_optarg ;;
840 ac_prev=dvidir ;; 865 ac_prev=dvidir ;;
841 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 866 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
842 dvidir=$ac_optarg ;; 867 dvidir=$ac_optarg ;;
843 868
844 -enable-* | --enable-*) 869 -enable-* | --enable-*)
845 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 870 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
846 # Reject names that are not valid shell variable names. 871 # Reject names that are not valid shell variable names.
847 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 872 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
848 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 873 as_fn_error $? "invalid feature name: $ac_useropt"
849 { (exit 1); exit 1; }; } 874 ac_useropt_orig=$ac_useropt
850 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 875 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876 case $ac_user_opts in
877 *"
878"enable_$ac_useropt"
879"*) ;;
880 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
881 ac_unrecognized_sep=', ';;
882 esac
851 eval enable_$ac_feature=\$ac_optarg ;; 883 eval enable_$ac_useropt=\$ac_optarg ;;
852 884
853 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 885 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
854 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 886 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
855 | --exec | --exe | --ex) 887 | --exec | --exe | --ex)
856 ac_prev=exec_prefix ;; 888 ac_prev=exec_prefix ;;
991 1023
992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
993 | -silent | --silent | --silen | --sile | --sil) 1025 | -silent | --silent | --silen | --sile | --sil)
994 silent=yes ;; 1026 silent=yes ;;
995 1027
1028 -runstatedir | --runstatedir | --runstatedi | --runstated \
1029 | --runstate | --runstat | --runsta | --runst | --runs \
1030 | --run | --ru | --r)
1031 ac_prev=runstatedir ;;
1032 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1033 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1034 | --run=* | --ru=* | --r=*)
1035 runstatedir=$ac_optarg ;;
1036
996 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1037 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
997 ac_prev=sbindir ;; 1038 ac_prev=sbindir ;;
998 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1039 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
999 | --sbi=* | --sb=*) 1040 | --sbi=* | --sb=*)
1000 sbindir=$ac_optarg ;; 1041 sbindir=$ac_optarg ;;
1037 1078
1038 -version | --version | --versio | --versi | --vers | -V) 1079 -version | --version | --versio | --versi | --vers | -V)
1039 ac_init_version=: ;; 1080 ac_init_version=: ;;
1040 1081
1041 -with-* | --with-*) 1082 -with-* | --with-*)
1042 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1083 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1043 # Reject names that are not valid shell variable names. 1084 # Reject names that are not valid shell variable names.
1044 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1045 { echo "$as_me: error: invalid package name: $ac_package" >&2 1086 as_fn_error $? "invalid package name: $ac_useropt"
1046 { (exit 1); exit 1; }; } 1087 ac_useropt_orig=$ac_useropt
1047 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1088 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1090 *"
1091"with_$ac_useropt"
1092"*) ;;
1093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1094 ac_unrecognized_sep=', ';;
1095 esac
1048 eval with_$ac_package=\$ac_optarg ;; 1096 eval with_$ac_useropt=\$ac_optarg ;;
1049 1097
1050 -without-* | --without-*) 1098 -without-* | --without-*)
1051 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1099 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1052 # Reject names that are not valid shell variable names. 1100 # Reject names that are not valid shell variable names.
1053 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1054 { echo "$as_me: error: invalid package name: $ac_package" >&2 1102 as_fn_error $? "invalid package name: $ac_useropt"
1055 { (exit 1); exit 1; }; } 1103 ac_useropt_orig=$ac_useropt
1056 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1106 *"
1107"with_$ac_useropt"
1108"*) ;;
1109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1110 ac_unrecognized_sep=', ';;
1111 esac
1057 eval with_$ac_package=no ;; 1112 eval with_$ac_useropt=no ;;
1058 1113
1059 --x) 1114 --x)
1060 # Obsolete; use --with-x. 1115 # Obsolete; use --with-x.
1061 with_x=yes ;; 1116 with_x=yes ;;
1062 1117
1072 ac_prev=x_libraries ;; 1127 ac_prev=x_libraries ;;
1073 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1128 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1074 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1129 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1075 x_libraries=$ac_optarg ;; 1130 x_libraries=$ac_optarg ;;
1076 1131
1077 -*) { echo "$as_me: error: unrecognized option: $ac_option 1132 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1078Try \`$0 --help' for more information." >&2 1133Try \`$0 --help' for more information"
1079 { (exit 1); exit 1; }; }
1080 ;; 1134 ;;
1081 1135
1082 *=*) 1136 *=*)
1083 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1137 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1084 # Reject names that are not valid shell variable names. 1138 # Reject names that are not valid shell variable names.
1085 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1139 case $ac_envvar in #(
1140 '' | [0-9]* | *[!_$as_cr_alnum]* )
1086 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1141 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1087 { (exit 1); exit 1; }; } 1142 esac
1088 eval $ac_envvar=\$ac_optarg 1143 eval $ac_envvar=\$ac_optarg
1089 export $ac_envvar ;; 1144 export $ac_envvar ;;
1090 1145
1091 *) 1146 *)
1092 # FIXME: should be removed in autoconf 3.0. 1147 # FIXME: should be removed in autoconf 3.0.
1093 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1148 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1094 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1095 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1150 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1096 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1151 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1097 ;; 1152 ;;
1098 1153
1099 esac 1154 esac
1100done 1155done
1101 1156
1102if test -n "$ac_prev"; then 1157if test -n "$ac_prev"; then
1103 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1158 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1104 { echo "$as_me: error: missing argument to $ac_option" >&2 1159 as_fn_error $? "missing argument to $ac_option"
1105 { (exit 1); exit 1; }; }
1106fi 1160fi
1107 1161
1108# Be sure to have absolute directory names. 1162if test -n "$ac_unrecognized_opts"; then
1163 case $enable_option_checking in
1164 no) ;;
1165 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1166 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1167 esac
1168fi
1169
1170# Check all directory arguments for consistency.
1109for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1171for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1110 datadir sysconfdir sharedstatedir localstatedir includedir \ 1172 datadir sysconfdir sharedstatedir localstatedir includedir \
1111 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1173 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1112 libdir localedir mandir 1174 libdir localedir mandir runstatedir
1113do 1175do
1114 eval ac_val=\$$ac_var 1176 eval ac_val=\$$ac_var
1177 # Remove trailing slashes.
1178 case $ac_val in
1179 */ )
1180 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1181 eval $ac_var=\$ac_val;;
1182 esac
1183 # Be sure to have absolute directory names.
1115 case $ac_val in 1184 case $ac_val in
1116 [\\/$]* | ?:[\\/]* ) continue;; 1185 [\\/$]* | ?:[\\/]* ) continue;;
1117 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1186 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1118 esac 1187 esac
1119 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1188 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1120 { (exit 1); exit 1; }; }
1121done 1189done
1122 1190
1123# There might be people who depend on the old broken behavior: `$host' 1191# There might be people who depend on the old broken behavior: `$host'
1124# used to hold the argument of --host etc. 1192# used to hold the argument of --host etc.
1125# FIXME: To remove some day. 1193# FIXME: To remove some day.
1129 1197
1130# FIXME: To remove some day. 1198# FIXME: To remove some day.
1131if test "x$host_alias" != x; then 1199if test "x$host_alias" != x; then
1132 if test "x$build_alias" = x; then 1200 if test "x$build_alias" = x; then
1133 cross_compiling=maybe 1201 cross_compiling=maybe
1134 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1135 If a cross compiler is detected then cross compile mode will be used." >&2
1136 elif test "x$build_alias" != "x$host_alias"; then 1202 elif test "x$build_alias" != "x$host_alias"; then
1137 cross_compiling=yes 1203 cross_compiling=yes
1138 fi 1204 fi
1139fi 1205fi
1140 1206
1145 1211
1146 1212
1147ac_pwd=`pwd` && test -n "$ac_pwd" && 1213ac_pwd=`pwd` && test -n "$ac_pwd" &&
1148ac_ls_di=`ls -di .` && 1214ac_ls_di=`ls -di .` &&
1149ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1215ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1150 { echo "$as_me: error: Working directory cannot be determined" >&2 1216 as_fn_error $? "working directory cannot be determined"
1151 { (exit 1); exit 1; }; }
1152test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1217test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1153 { echo "$as_me: error: pwd does not report name of working directory" >&2 1218 as_fn_error $? "pwd does not report name of working directory"
1154 { (exit 1); exit 1; }; }
1155 1219
1156 1220
1157# Find the source files, if location was not specified. 1221# Find the source files, if location was not specified.
1158if test -z "$srcdir"; then 1222if test -z "$srcdir"; then
1159 ac_srcdir_defaulted=yes 1223 ac_srcdir_defaulted=yes
1160 # Try the directory containing this script, then the parent directory. 1224 # Try the directory containing this script, then the parent directory.
1161 ac_confdir=`$as_dirname -- "$0" || 1225 ac_confdir=`$as_dirname -- "$as_myself" ||
1162$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1226$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1163 X"$0" : 'X\(//\)[^/]' \| \ 1227 X"$as_myself" : 'X\(//\)[^/]' \| \
1164 X"$0" : 'X\(//\)$' \| \ 1228 X"$as_myself" : 'X\(//\)$' \| \
1165 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1229 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1166echo X"$0" | 1230$as_echo X"$as_myself" |
1167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1168 s//\1/ 1232 s//\1/
1169 q 1233 q
1170 } 1234 }
1171 /^X\(\/\/\)[^/].*/{ 1235 /^X\(\/\/\)[^/].*/{
1188else 1252else
1189 ac_srcdir_defaulted=no 1253 ac_srcdir_defaulted=no
1190fi 1254fi
1191if test ! -r "$srcdir/$ac_unique_file"; then 1255if test ! -r "$srcdir/$ac_unique_file"; then
1192 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1256 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1193 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1257 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1194 { (exit 1); exit 1; }; }
1195fi 1258fi
1196ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1259ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1197ac_abs_confdir=`( 1260ac_abs_confdir=`(
1198 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1261 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1199 { (exit 1); exit 1; }; }
1200 pwd)` 1262 pwd)`
1201# When building in place, set srcdir=. 1263# When building in place, set srcdir=.
1202if test "$ac_abs_confdir" = "$ac_pwd"; then 1264if test "$ac_abs_confdir" = "$ac_pwd"; then
1203 srcdir=. 1265 srcdir=.
1204fi 1266fi
1234Configuration: 1296Configuration:
1235 -h, --help display this help and exit 1297 -h, --help display this help and exit
1236 --help=short display options specific to this package 1298 --help=short display options specific to this package
1237 --help=recursive display the short help of all the included packages 1299 --help=recursive display the short help of all the included packages
1238 -V, --version display version information and exit 1300 -V, --version display version information and exit
1239 -q, --quiet, --silent do not print \`checking...' messages 1301 -q, --quiet, --silent do not print \`checking ...' messages
1240 --cache-file=FILE cache test results in FILE [disabled] 1302 --cache-file=FILE cache test results in FILE [disabled]
1241 -C, --config-cache alias for \`--cache-file=config.cache' 1303 -C, --config-cache alias for \`--cache-file=config.cache'
1242 -n, --no-create do not create output files 1304 -n, --no-create do not create output files
1243 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1305 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1244 1306
1245Installation directories: 1307Installation directories:
1246 --prefix=PREFIX install architecture-independent files in PREFIX 1308 --prefix=PREFIX install architecture-independent files in PREFIX
1247 [$ac_default_prefix] 1309 [$ac_default_prefix]
1248 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1310 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1249 [PREFIX] 1311 [PREFIX]
1250 1312
1251By default, \`make install' will install all the files in 1313By default, \`make install' will install all the files in
1252\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1314\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1253an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1315an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1254for instance \`--prefix=\$HOME'. 1316for instance \`--prefix=\$HOME'.
1255 1317
1256For better control, use the options below. 1318For better control, use the options below.
1257 1319
1258Fine tuning of the installation directories: 1320Fine tuning of the installation directories:
1259 --bindir=DIR user executables [EPREFIX/bin] 1321 --bindir=DIR user executables [EPREFIX/bin]
1260 --sbindir=DIR system admin executables [EPREFIX/sbin] 1322 --sbindir=DIR system admin executables [EPREFIX/sbin]
1261 --libexecdir=DIR program executables [EPREFIX/libexec] 1323 --libexecdir=DIR program executables [EPREFIX/libexec]
1262 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1324 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1263 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1325 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1264 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1326 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1327 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1265 --libdir=DIR object code libraries [EPREFIX/lib] 1328 --libdir=DIR object code libraries [EPREFIX/lib]
1266 --includedir=DIR C header files [PREFIX/include] 1329 --includedir=DIR C header files [PREFIX/include]
1267 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1330 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1268 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1331 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1269 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1332 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1270 --infodir=DIR info documentation [DATAROOTDIR/info] 1333 --infodir=DIR info documentation [DATAROOTDIR/info]
1271 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1334 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1272 --mandir=DIR man documentation [DATAROOTDIR/man] 1335 --mandir=DIR man documentation [DATAROOTDIR/man]
1273 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1336 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1274 --htmldir=DIR html documentation [DOCDIR] 1337 --htmldir=DIR html documentation [DOCDIR]
1275 --dvidir=DIR dvi documentation [DOCDIR] 1338 --dvidir=DIR dvi documentation [DOCDIR]
1276 --pdfdir=DIR pdf documentation [DOCDIR] 1339 --pdfdir=DIR pdf documentation [DOCDIR]
1277 --psdir=DIR ps documentation [DOCDIR] 1340 --psdir=DIR ps documentation [DOCDIR]
1278_ACEOF 1341_ACEOF
1279 1342
1280 cat <<\_ACEOF 1343 cat <<\_ACEOF
1281 1344
1282Program names: 1345Program names:
1293if test -n "$ac_init_help"; then 1356if test -n "$ac_init_help"; then
1294 1357
1295 cat <<\_ACEOF 1358 cat <<\_ACEOF
1296 1359
1297Optional Features: 1360Optional Features:
1361 --disable-option-checking ignore unrecognized --enable/--with options
1298 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1362 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1299 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1363 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1300 --disable-dependency-tracking speeds up one-time build 1364 --disable-dependency-tracking speeds up one-time build
1301 --enable-dependency-tracking do not reject slow dependency extractors 1365 --enable-dependency-tracking do not reject slow dependency extractors
1302 1366
1309 CC C compiler command 1373 CC C compiler command
1310 CFLAGS C compiler flags 1374 CFLAGS C compiler flags
1311 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1375 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1312 nonstandard directory <lib dir> 1376 nonstandard directory <lib dir>
1313 LIBS libraries to pass to the linker, e.g. -l<library> 1377 LIBS libraries to pass to the linker, e.g. -l<library>
1314 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1378 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1315 you have headers in a nonstandard directory <include dir> 1379 you have headers in a nonstandard directory <include dir>
1316 CPP C preprocessor 1380 CPP C preprocessor
1317 CXX C++ compiler command 1381 CXX C++ compiler command
1318 CXXFLAGS C++ compiler flags 1382 CXXFLAGS C++ compiler flags
1319 CXXCPP C++ preprocessor 1383 CXXCPP C++ preprocessor
1320 XMKMF Path to xmkmf, Makefile generator for X Window System 1384 XMKMF Path to xmkmf, Makefile generator for X Window System
1321 1385
1322Use these variables to override the choices made by `configure' or to help 1386Use these variables to override the choices made by `configure' or to help
1323it to find libraries and programs with nonstandard names/locations. 1387it to find libraries and programs with nonstandard names/locations.
1324 1388
1389Report bugs to the package provider.
1325_ACEOF 1390_ACEOF
1326ac_status=$? 1391ac_status=$?
1327fi 1392fi
1328 1393
1329if test "$ac_init_help" = "recursive"; then 1394if test "$ac_init_help" = "recursive"; then
1330 # If there are subdirs, report their specific --help. 1395 # If there are subdirs, report their specific --help.
1331 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1396 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1332 test -d "$ac_dir" || continue 1397 test -d "$ac_dir" ||
1398 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1399 continue
1333 ac_builddir=. 1400 ac_builddir=.
1334 1401
1335case "$ac_dir" in 1402case "$ac_dir" in
1336.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1403.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337*) 1404*)
1338 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1405 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1339 # A ".." for each directory in $ac_dir_suffix. 1406 # A ".." for each directory in $ac_dir_suffix.
1340 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1407 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1341 case $ac_top_builddir_sub in 1408 case $ac_top_builddir_sub in
1342 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1409 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1410 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1344 esac ;; 1411 esac ;;
1345esac 1412esac
1371 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1438 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1372 elif test -f "$ac_srcdir/configure"; then 1439 elif test -f "$ac_srcdir/configure"; then
1373 echo && 1440 echo &&
1374 $SHELL "$ac_srcdir/configure" --help=recursive 1441 $SHELL "$ac_srcdir/configure" --help=recursive
1375 else 1442 else
1376 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1443 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377 fi || ac_status=$? 1444 fi || ac_status=$?
1378 cd "$ac_pwd" || { ac_status=$?; break; } 1445 cd "$ac_pwd" || { ac_status=$?; break; }
1379 done 1446 done
1380fi 1447fi
1381 1448
1382test -n "$ac_init_help" && exit $ac_status 1449test -n "$ac_init_help" && exit $ac_status
1383if $ac_init_version; then 1450if $ac_init_version; then
1384 cat <<\_ACEOF 1451 cat <<\_ACEOF
1385configure 1452configure
1386generated by GNU Autoconf 2.61 1453generated by GNU Autoconf 2.69
1387 1454
1388Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1455Copyright (C) 2012 Free Software Foundation, Inc.
13892002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1390This configure script is free software; the Free Software Foundation 1456This configure script is free software; the Free Software Foundation
1391gives unlimited permission to copy, distribute and modify it. 1457gives unlimited permission to copy, distribute and modify it.
1392_ACEOF 1458_ACEOF
1393 exit 1459 exit
1394fi 1460fi
1461
1462## ------------------------ ##
1463## Autoconf initialization. ##
1464## ------------------------ ##
1465
1466# ac_fn_c_try_compile LINENO
1467# --------------------------
1468# Try to compile conftest.$ac_ext, and return whether this succeeded.
1469ac_fn_c_try_compile ()
1470{
1471 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1472 rm -f conftest.$ac_objext
1473 if { { ac_try="$ac_compile"
1474case "(($ac_try" in
1475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1476 *) ac_try_echo=$ac_try;;
1477esac
1478eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1479$as_echo "$ac_try_echo"; } >&5
1480 (eval "$ac_compile") 2>conftest.err
1481 ac_status=$?
1482 if test -s conftest.err; then
1483 grep -v '^ *+' conftest.err >conftest.er1
1484 cat conftest.er1 >&5
1485 mv -f conftest.er1 conftest.err
1486 fi
1487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1488 test $ac_status = 0; } && {
1489 test -z "$ac_c_werror_flag" ||
1490 test ! -s conftest.err
1491 } && test -s conftest.$ac_objext; then :
1492 ac_retval=0
1493else
1494 $as_echo "$as_me: failed program was:" >&5
1495sed 's/^/| /' conftest.$ac_ext >&5
1496
1497 ac_retval=1
1498fi
1499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1500 as_fn_set_status $ac_retval
1501
1502} # ac_fn_c_try_compile
1503
1504# ac_fn_c_try_cpp LINENO
1505# ----------------------
1506# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1507ac_fn_c_try_cpp ()
1508{
1509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1510 if { { ac_try="$ac_cpp conftest.$ac_ext"
1511case "(($ac_try" in
1512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1513 *) ac_try_echo=$ac_try;;
1514esac
1515eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1516$as_echo "$ac_try_echo"; } >&5
1517 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1518 ac_status=$?
1519 if test -s conftest.err; then
1520 grep -v '^ *+' conftest.err >conftest.er1
1521 cat conftest.er1 >&5
1522 mv -f conftest.er1 conftest.err
1523 fi
1524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1525 test $ac_status = 0; } > conftest.i && {
1526 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1527 test ! -s conftest.err
1528 }; then :
1529 ac_retval=0
1530else
1531 $as_echo "$as_me: failed program was:" >&5
1532sed 's/^/| /' conftest.$ac_ext >&5
1533
1534 ac_retval=1
1535fi
1536 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1537 as_fn_set_status $ac_retval
1538
1539} # ac_fn_c_try_cpp
1540
1541# ac_fn_c_try_run LINENO
1542# ----------------------
1543# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1544# that executables *can* be run.
1545ac_fn_c_try_run ()
1546{
1547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548 if { { ac_try="$ac_link"
1549case "(($ac_try" in
1550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1551 *) ac_try_echo=$ac_try;;
1552esac
1553eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1554$as_echo "$ac_try_echo"; } >&5
1555 (eval "$ac_link") 2>&5
1556 ac_status=$?
1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1558 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1559 { { case "(($ac_try" in
1560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1561 *) ac_try_echo=$ac_try;;
1562esac
1563eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564$as_echo "$ac_try_echo"; } >&5
1565 (eval "$ac_try") 2>&5
1566 ac_status=$?
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568 test $ac_status = 0; }; }; then :
1569 ac_retval=0
1570else
1571 $as_echo "$as_me: program exited with status $ac_status" >&5
1572 $as_echo "$as_me: failed program was:" >&5
1573sed 's/^/| /' conftest.$ac_ext >&5
1574
1575 ac_retval=$ac_status
1576fi
1577 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1578 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1579 as_fn_set_status $ac_retval
1580
1581} # ac_fn_c_try_run
1582
1583# ac_fn_cxx_try_compile LINENO
1584# ----------------------------
1585# Try to compile conftest.$ac_ext, and return whether this succeeded.
1586ac_fn_cxx_try_compile ()
1587{
1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589 rm -f conftest.$ac_objext
1590 if { { ac_try="$ac_compile"
1591case "(($ac_try" in
1592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1593 *) ac_try_echo=$ac_try;;
1594esac
1595eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596$as_echo "$ac_try_echo"; } >&5
1597 (eval "$ac_compile") 2>conftest.err
1598 ac_status=$?
1599 if test -s conftest.err; then
1600 grep -v '^ *+' conftest.err >conftest.er1
1601 cat conftest.er1 >&5
1602 mv -f conftest.er1 conftest.err
1603 fi
1604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1605 test $ac_status = 0; } && {
1606 test -z "$ac_cxx_werror_flag" ||
1607 test ! -s conftest.err
1608 } && test -s conftest.$ac_objext; then :
1609 ac_retval=0
1610else
1611 $as_echo "$as_me: failed program was:" >&5
1612sed 's/^/| /' conftest.$ac_ext >&5
1613
1614 ac_retval=1
1615fi
1616 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617 as_fn_set_status $ac_retval
1618
1619} # ac_fn_cxx_try_compile
1620
1621# ac_fn_cxx_try_cpp LINENO
1622# ------------------------
1623# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1624ac_fn_cxx_try_cpp ()
1625{
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 if { { ac_try="$ac_cpp conftest.$ac_ext"
1628case "(($ac_try" in
1629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630 *) ac_try_echo=$ac_try;;
1631esac
1632eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633$as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1635 ac_status=$?
1636 if test -s conftest.err; then
1637 grep -v '^ *+' conftest.err >conftest.er1
1638 cat conftest.er1 >&5
1639 mv -f conftest.er1 conftest.err
1640 fi
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } > conftest.i && {
1643 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1644 test ! -s conftest.err
1645 }; then :
1646 ac_retval=0
1647else
1648 $as_echo "$as_me: failed program was:" >&5
1649sed 's/^/| /' conftest.$ac_ext >&5
1650
1651 ac_retval=1
1652fi
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 as_fn_set_status $ac_retval
1655
1656} # ac_fn_cxx_try_cpp
1657
1658# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1659# ---------------------------------------------------------
1660# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1661# the include files in INCLUDES and setting the cache variable VAR
1662# accordingly.
1663ac_fn_cxx_check_header_mongrel ()
1664{
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 if eval \${$3+:} false; then :
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1668$as_echo_n "checking for $2... " >&6; }
1669if eval \${$3+:} false; then :
1670 $as_echo_n "(cached) " >&6
1671fi
1672eval ac_res=\$$3
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1674$as_echo "$ac_res" >&6; }
1675else
1676 # Is the header compilable?
1677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1678$as_echo_n "checking $2 usability... " >&6; }
1679cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1680/* end confdefs.h. */
1681$4
1682#include <$2>
1683_ACEOF
1684if ac_fn_cxx_try_compile "$LINENO"; then :
1685 ac_header_compiler=yes
1686else
1687 ac_header_compiler=no
1688fi
1689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1691$as_echo "$ac_header_compiler" >&6; }
1692
1693# Is the header present?
1694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1695$as_echo_n "checking $2 presence... " >&6; }
1696cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697/* end confdefs.h. */
1698#include <$2>
1699_ACEOF
1700if ac_fn_cxx_try_cpp "$LINENO"; then :
1701 ac_header_preproc=yes
1702else
1703 ac_header_preproc=no
1704fi
1705rm -f conftest.err conftest.i conftest.$ac_ext
1706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1707$as_echo "$ac_header_preproc" >&6; }
1708
1709# So? What about this header?
1710case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1711 yes:no: )
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1713$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1715$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1716 ;;
1717 no:yes:* )
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1719$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1721$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1723$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1725$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1727$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1728 ;;
1729esac
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1731$as_echo_n "checking for $2... " >&6; }
1732if eval \${$3+:} false; then :
1733 $as_echo_n "(cached) " >&6
1734else
1735 eval "$3=\$ac_header_compiler"
1736fi
1737eval ac_res=\$$3
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1739$as_echo "$ac_res" >&6; }
1740fi
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742
1743} # ac_fn_cxx_check_header_mongrel
1744
1745# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1746# ---------------------------------------------------------
1747# Tests whether HEADER exists and can be compiled using the include files in
1748# INCLUDES, setting the cache variable VAR accordingly.
1749ac_fn_cxx_check_header_compile ()
1750{
1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753$as_echo_n "checking for $2... " >&6; }
1754if eval \${$3+:} false; then :
1755 $as_echo_n "(cached) " >&6
1756else
1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758/* end confdefs.h. */
1759$4
1760#include <$2>
1761_ACEOF
1762if ac_fn_cxx_try_compile "$LINENO"; then :
1763 eval "$3=yes"
1764else
1765 eval "$3=no"
1766fi
1767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1768fi
1769eval ac_res=\$$3
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1771$as_echo "$ac_res" >&6; }
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773
1774} # ac_fn_cxx_check_header_compile
1775
1776# ac_fn_cxx_try_link LINENO
1777# -------------------------
1778# Try to link conftest.$ac_ext, and return whether this succeeded.
1779ac_fn_cxx_try_link ()
1780{
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 rm -f conftest.$ac_objext conftest$ac_exeext
1783 if { { ac_try="$ac_link"
1784case "(($ac_try" in
1785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786 *) ac_try_echo=$ac_try;;
1787esac
1788eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789$as_echo "$ac_try_echo"; } >&5
1790 (eval "$ac_link") 2>conftest.err
1791 ac_status=$?
1792 if test -s conftest.err; then
1793 grep -v '^ *+' conftest.err >conftest.er1
1794 cat conftest.er1 >&5
1795 mv -f conftest.er1 conftest.err
1796 fi
1797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798 test $ac_status = 0; } && {
1799 test -z "$ac_cxx_werror_flag" ||
1800 test ! -s conftest.err
1801 } && test -s conftest$ac_exeext && {
1802 test "$cross_compiling" = yes ||
1803 test -x conftest$ac_exeext
1804 }; then :
1805 ac_retval=0
1806else
1807 $as_echo "$as_me: failed program was:" >&5
1808sed 's/^/| /' conftest.$ac_ext >&5
1809
1810 ac_retval=1
1811fi
1812 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1813 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1814 # interfere with the next link command; also delete a directory that is
1815 # left behind by Apple's compiler. We do this before executing the actions.
1816 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818 as_fn_set_status $ac_retval
1819
1820} # ac_fn_cxx_try_link
1821
1822# ac_fn_cxx_check_func LINENO FUNC VAR
1823# ------------------------------------
1824# Tests whether FUNC exists, setting the cache variable VAR accordingly
1825ac_fn_cxx_check_func ()
1826{
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829$as_echo_n "checking for $2... " >&6; }
1830if eval \${$3+:} false; then :
1831 $as_echo_n "(cached) " >&6
1832else
1833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834/* end confdefs.h. */
1835/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1837#define $2 innocuous_$2
1838
1839/* System header to define __stub macros and hopefully few prototypes,
1840 which can conflict with char $2 (); below.
1841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1842 <limits.h> exists even on freestanding compilers. */
1843
1844#ifdef __STDC__
1845# include <limits.h>
1846#else
1847# include <assert.h>
1848#endif
1849
1850#undef $2
1851
1852/* Override any GCC internal prototype to avoid an error.
1853 Use char because int might match the return type of a GCC
1854 builtin and then its argument prototype would still apply. */
1855#ifdef __cplusplus
1856extern "C"
1857#endif
1858char $2 ();
1859/* The GNU C library defines this for functions which it implements
1860 to always fail with ENOSYS. Some functions are actually named
1861 something starting with __ and the normal name is an alias. */
1862#if defined __stub_$2 || defined __stub___$2
1863choke me
1864#endif
1865
1866int
1867main ()
1868{
1869return $2 ();
1870 ;
1871 return 0;
1872}
1873_ACEOF
1874if ac_fn_cxx_try_link "$LINENO"; then :
1875 eval "$3=yes"
1876else
1877 eval "$3=no"
1878fi
1879rm -f core conftest.err conftest.$ac_objext \
1880 conftest$ac_exeext conftest.$ac_ext
1881fi
1882eval ac_res=\$$3
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884$as_echo "$ac_res" >&6; }
1885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1886
1887} # ac_fn_cxx_check_func
1395cat >config.log <<_ACEOF 1888cat >config.log <<_ACEOF
1396This file contains any messages produced by compilers while 1889This file contains any messages produced by compilers while
1397running configure, to aid debugging if configure makes a mistake. 1890running configure, to aid debugging if configure makes a mistake.
1398 1891
1399It was created by $as_me, which was 1892It was created by $as_me, which was
1400generated by GNU Autoconf 2.61. Invocation command line was 1893generated by GNU Autoconf 2.69. Invocation command line was
1401 1894
1402 $ $0 $@ 1895 $ $0 $@
1403 1896
1404_ACEOF 1897_ACEOF
1405exec 5>>config.log 1898exec 5>>config.log
1431as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1924as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1432for as_dir in $PATH 1925for as_dir in $PATH
1433do 1926do
1434 IFS=$as_save_IFS 1927 IFS=$as_save_IFS
1435 test -z "$as_dir" && as_dir=. 1928 test -z "$as_dir" && as_dir=.
1436 echo "PATH: $as_dir" 1929 $as_echo "PATH: $as_dir"
1437done 1930 done
1438IFS=$as_save_IFS 1931IFS=$as_save_IFS
1439 1932
1440} >&5 1933} >&5
1441 1934
1442cat >&5 <<_ACEOF 1935cat >&5 <<_ACEOF
1466 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1959 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1467 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1960 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1468 | -silent | --silent | --silen | --sile | --sil) 1961 | -silent | --silent | --silen | --sile | --sil)
1469 continue ;; 1962 continue ;;
1470 *\'*) 1963 *\'*)
1471 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1964 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1472 esac 1965 esac
1473 case $ac_pass in 1966 case $ac_pass in
1474 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1967 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1475 2) 1968 2)
1476 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1969 as_fn_append ac_configure_args1 " '$ac_arg'"
1477 if test $ac_must_keep_next = true; then 1970 if test $ac_must_keep_next = true; then
1478 ac_must_keep_next=false # Got value, back to normal. 1971 ac_must_keep_next=false # Got value, back to normal.
1479 else 1972 else
1480 case $ac_arg in 1973 case $ac_arg in
1481 *=* | --config-cache | -C | -disable-* | --disable-* \ 1974 *=* | --config-cache | -C | -disable-* | --disable-* \
1487 esac 1980 esac
1488 ;; 1981 ;;
1489 -* ) ac_must_keep_next=true ;; 1982 -* ) ac_must_keep_next=true ;;
1490 esac 1983 esac
1491 fi 1984 fi
1492 ac_configure_args="$ac_configure_args '$ac_arg'" 1985 as_fn_append ac_configure_args " '$ac_arg'"
1493 ;; 1986 ;;
1494 esac 1987 esac
1495 done 1988 done
1496done 1989done
1497$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1990{ ac_configure_args0=; unset ac_configure_args0;}
1498$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1991{ ac_configure_args1=; unset ac_configure_args1;}
1499 1992
1500# When interrupted or exit'd, cleanup temporary files, and complete 1993# When interrupted or exit'd, cleanup temporary files, and complete
1501# config.log. We remove comments because anyway the quotes in there 1994# config.log. We remove comments because anyway the quotes in there
1502# would cause problems or look ugly. 1995# would cause problems or look ugly.
1503# WARNING: Use '\'' to represent an apostrophe within the trap. 1996# WARNING: Use '\'' to represent an apostrophe within the trap.
1505trap 'exit_status=$? 1998trap 'exit_status=$?
1506 # Save into config.log some information that might help in debugging. 1999 # Save into config.log some information that might help in debugging.
1507 { 2000 {
1508 echo 2001 echo
1509 2002
1510 cat <<\_ASBOX
1511## ---------------- ## 2003 $as_echo "## ---------------- ##
1512## Cache variables. ## 2004## Cache variables. ##
1513## ---------------- ## 2005## ---------------- ##"
1514_ASBOX
1515 echo 2006 echo
1516 # The following way of writing the cache mishandles newlines in values, 2007 # The following way of writing the cache mishandles newlines in values,
1517( 2008(
1518 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2009 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1519 eval ac_val=\$$ac_var 2010 eval ac_val=\$$ac_var
1520 case $ac_val in #( 2011 case $ac_val in #(
1521 *${as_nl}*) 2012 *${as_nl}*)
1522 case $ac_var in #( 2013 case $ac_var in #(
1523 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 2014 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1524echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 2015$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1525 esac 2016 esac
1526 case $ac_var in #( 2017 case $ac_var in #(
1527 _ | IFS | as_nl) ;; #( 2018 _ | IFS | as_nl) ;; #(
1528 *) $as_unset $ac_var ;; 2019 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2020 *) { eval $ac_var=; unset $ac_var;} ;;
1529 esac ;; 2021 esac ;;
1530 esac 2022 esac
1531 done 2023 done
1532 (set) 2>&1 | 2024 (set) 2>&1 |
1533 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2025 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1542 esac | 2034 esac |
1543 sort 2035 sort
1544) 2036)
1545 echo 2037 echo
1546 2038
1547 cat <<\_ASBOX
1548## ----------------- ## 2039 $as_echo "## ----------------- ##
1549## Output variables. ## 2040## Output variables. ##
1550## ----------------- ## 2041## ----------------- ##"
1551_ASBOX
1552 echo 2042 echo
1553 for ac_var in $ac_subst_vars 2043 for ac_var in $ac_subst_vars
1554 do 2044 do
1555 eval ac_val=\$$ac_var 2045 eval ac_val=\$$ac_var
1556 case $ac_val in 2046 case $ac_val in
1557 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2047 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1558 esac 2048 esac
1559 echo "$ac_var='\''$ac_val'\''" 2049 $as_echo "$ac_var='\''$ac_val'\''"
1560 done | sort 2050 done | sort
1561 echo 2051 echo
1562 2052
1563 if test -n "$ac_subst_files"; then 2053 if test -n "$ac_subst_files"; then
1564 cat <<\_ASBOX
1565## ------------------- ## 2054 $as_echo "## ------------------- ##
1566## File substitutions. ## 2055## File substitutions. ##
1567## ------------------- ## 2056## ------------------- ##"
1568_ASBOX
1569 echo 2057 echo
1570 for ac_var in $ac_subst_files 2058 for ac_var in $ac_subst_files
1571 do 2059 do
1572 eval ac_val=\$$ac_var 2060 eval ac_val=\$$ac_var
1573 case $ac_val in 2061 case $ac_val in
1574 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2062 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1575 esac 2063 esac
1576 echo "$ac_var='\''$ac_val'\''" 2064 $as_echo "$ac_var='\''$ac_val'\''"
1577 done | sort 2065 done | sort
1578 echo 2066 echo
1579 fi 2067 fi
1580 2068
1581 if test -s confdefs.h; then 2069 if test -s confdefs.h; then
1582 cat <<\_ASBOX 2070 $as_echo "## ----------- ##
1583## ----------- ##
1584## confdefs.h. ## 2071## confdefs.h. ##
1585## ----------- ## 2072## ----------- ##"
1586_ASBOX
1587 echo 2073 echo
1588 cat confdefs.h 2074 cat confdefs.h
1589 echo 2075 echo
1590 fi 2076 fi
1591 test "$ac_signal" != 0 && 2077 test "$ac_signal" != 0 &&
1592 echo "$as_me: caught signal $ac_signal" 2078 $as_echo "$as_me: caught signal $ac_signal"
1593 echo "$as_me: exit $exit_status" 2079 $as_echo "$as_me: exit $exit_status"
1594 } >&5 2080 } >&5
1595 rm -f core *.core core.conftest.* && 2081 rm -f core *.core core.conftest.* &&
1596 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2082 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1597 exit $exit_status 2083 exit $exit_status
1598' 0 2084' 0
1599for ac_signal in 1 2 13 15; do 2085for ac_signal in 1 2 13 15; do
1600 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2086 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1601done 2087done
1602ac_signal=0 2088ac_signal=0
1603 2089
1604# confdefs.h avoids OS command line length limits that DEFS can exceed. 2090# confdefs.h avoids OS command line length limits that DEFS can exceed.
1605rm -f -r conftest* confdefs.h 2091rm -f -r conftest* confdefs.h
1606 2092
2093$as_echo "/* confdefs.h */" > confdefs.h
2094
1607# Predefined preprocessor variables. 2095# Predefined preprocessor variables.
1608 2096
1609cat >>confdefs.h <<_ACEOF 2097cat >>confdefs.h <<_ACEOF
1610#define PACKAGE_NAME "$PACKAGE_NAME" 2098#define PACKAGE_NAME "$PACKAGE_NAME"
1611_ACEOF 2099_ACEOF
1612 2100
1613
1614cat >>confdefs.h <<_ACEOF 2101cat >>confdefs.h <<_ACEOF
1615#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2102#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1616_ACEOF 2103_ACEOF
1617 2104
1618
1619cat >>confdefs.h <<_ACEOF 2105cat >>confdefs.h <<_ACEOF
1620#define PACKAGE_VERSION "$PACKAGE_VERSION" 2106#define PACKAGE_VERSION "$PACKAGE_VERSION"
1621_ACEOF 2107_ACEOF
1622 2108
1623
1624cat >>confdefs.h <<_ACEOF 2109cat >>confdefs.h <<_ACEOF
1625#define PACKAGE_STRING "$PACKAGE_STRING" 2110#define PACKAGE_STRING "$PACKAGE_STRING"
1626_ACEOF 2111_ACEOF
1627 2112
1628
1629cat >>confdefs.h <<_ACEOF 2113cat >>confdefs.h <<_ACEOF
1630#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2114#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1631_ACEOF 2115_ACEOF
1632 2116
2117cat >>confdefs.h <<_ACEOF
2118#define PACKAGE_URL "$PACKAGE_URL"
2119_ACEOF
2120
1633 2121
1634# Let the site file select an alternate cache file if it wants to. 2122# Let the site file select an alternate cache file if it wants to.
1635# Prefer explicitly selected file to automatically selected ones. 2123# Prefer an explicitly selected file to automatically selected ones.
2124ac_site_file1=NONE
2125ac_site_file2=NONE
1636if test -n "$CONFIG_SITE"; then 2126if test -n "$CONFIG_SITE"; then
1637 set x "$CONFIG_SITE" 2127 # We do not want a PATH search for config.site.
2128 case $CONFIG_SITE in #((
2129 -*) ac_site_file1=./$CONFIG_SITE;;
2130 */*) ac_site_file1=$CONFIG_SITE;;
2131 *) ac_site_file1=./$CONFIG_SITE;;
2132 esac
1638elif test "x$prefix" != xNONE; then 2133elif test "x$prefix" != xNONE; then
1639 set x "$prefix/share/config.site" "$prefix/etc/config.site" 2134 ac_site_file1=$prefix/share/config.site
2135 ac_site_file2=$prefix/etc/config.site
1640else 2136else
1641 set x "$ac_default_prefix/share/config.site" \ 2137 ac_site_file1=$ac_default_prefix/share/config.site
1642 "$ac_default_prefix/etc/config.site" 2138 ac_site_file2=$ac_default_prefix/etc/config.site
1643fi 2139fi
1644shift 2140for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1645for ac_site_file
1646do 2141do
1647 if test -r "$ac_site_file"; then 2142 test "x$ac_site_file" = xNONE && continue
2143 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1648 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2144 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1649echo "$as_me: loading site script $ac_site_file" >&6;} 2145$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1650 sed 's/^/| /' "$ac_site_file" >&5 2146 sed 's/^/| /' "$ac_site_file" >&5
1651 . "$ac_site_file" 2147 . "$ac_site_file" \
2148 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2149$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2150as_fn_error $? "failed to load site script $ac_site_file
2151See \`config.log' for more details" "$LINENO" 5; }
1652 fi 2152 fi
1653done 2153done
1654 2154
1655if test -r "$cache_file"; then 2155if test -r "$cache_file"; then
1656 # Some versions of bash will fail to source /dev/null (special 2156 # Some versions of bash will fail to source /dev/null (special files
1657 # files actually), so we avoid doing that. 2157 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1658 if test -f "$cache_file"; then 2158 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1659 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 2159 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1660echo "$as_me: loading cache $cache_file" >&6;} 2160$as_echo "$as_me: loading cache $cache_file" >&6;}
1661 case $cache_file in 2161 case $cache_file in
1662 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2162 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1663 *) . "./$cache_file";; 2163 *) . "./$cache_file";;
1664 esac 2164 esac
1665 fi 2165 fi
1666else 2166else
1667 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 2167 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1668echo "$as_me: creating cache $cache_file" >&6;} 2168$as_echo "$as_me: creating cache $cache_file" >&6;}
1669 >$cache_file 2169 >$cache_file
1670fi 2170fi
1671 2171
1672# Check that the precious variables saved in the cache have kept the same 2172# Check that the precious variables saved in the cache have kept the same
1673# value. 2173# value.
1677 eval ac_new_set=\$ac_env_${ac_var}_set 2177 eval ac_new_set=\$ac_env_${ac_var}_set
1678 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2178 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1679 eval ac_new_val=\$ac_env_${ac_var}_value 2179 eval ac_new_val=\$ac_env_${ac_var}_value
1680 case $ac_old_set,$ac_new_set in 2180 case $ac_old_set,$ac_new_set in
1681 set,) 2181 set,)
1682 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2182 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1683echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2183$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1684 ac_cache_corrupted=: ;; 2184 ac_cache_corrupted=: ;;
1685 ,set) 2185 ,set)
1686 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1687echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2187$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1688 ac_cache_corrupted=: ;; 2188 ac_cache_corrupted=: ;;
1689 ,);; 2189 ,);;
1690 *) 2190 *)
1691 if test "x$ac_old_val" != "x$ac_new_val"; then 2191 if test "x$ac_old_val" != "x$ac_new_val"; then
2192 # differences in whitespace do not lead to failure.
2193 ac_old_val_w=`echo x $ac_old_val`
2194 ac_new_val_w=`echo x $ac_new_val`
2195 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1692 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1693echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2197$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1694 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1695echo "$as_me: former value: $ac_old_val" >&2;}
1696 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1697echo "$as_me: current value: $ac_new_val" >&2;}
1698 ac_cache_corrupted=: 2198 ac_cache_corrupted=:
2199 else
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2201$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2202 eval $ac_var=\$ac_old_val
2203 fi
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2205$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2207$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1699 fi;; 2208 fi;;
1700 esac 2209 esac
1701 # Pass precious variables to config.status. 2210 # Pass precious variables to config.status.
1702 if test "$ac_new_set" = set; then 2211 if test "$ac_new_set" = set; then
1703 case $ac_new_val in 2212 case $ac_new_val in
1704 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2213 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1705 *) ac_arg=$ac_var=$ac_new_val ;; 2214 *) ac_arg=$ac_var=$ac_new_val ;;
1706 esac 2215 esac
1707 case " $ac_configure_args " in 2216 case " $ac_configure_args " in
1708 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2217 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1709 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2218 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1710 esac 2219 esac
1711 fi 2220 fi
1712done 2221done
1713if $ac_cache_corrupted; then 2222if $ac_cache_corrupted; then
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2224$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1714 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1715echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2226$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1716 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1717echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 2227 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1718 { (exit 1); exit 1; }; }
1719fi 2228fi
1720 2229## -------------------- ##
1721 2230## Main body of script. ##
1722 2231## -------------------- ##
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736 2232
1737ac_ext=c 2233ac_ext=c
1738ac_cpp='$CPP $CPPFLAGS' 2234ac_cpp='$CPP $CPPFLAGS'
1739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2235ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2236ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1759 ac_install_sh="$ac_aux_dir/shtool install -c" 2255 ac_install_sh="$ac_aux_dir/shtool install -c"
1760 break 2256 break
1761 fi 2257 fi
1762done 2258done
1763if test -z "$ac_aux_dir"; then 2259if test -z "$ac_aux_dir"; then
1764 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1765echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2260 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1766 { (exit 1); exit 1; }; }
1767fi 2261fi
1768 2262
1769# These three variables are undocumented and unsupported, 2263# These three variables are undocumented and unsupported,
1770# and are intended to be withdrawn in a future Autoconf release. 2264# and are intended to be withdrawn in a future Autoconf release.
1771# They can cause serious problems if a builder's source tree is in a directory 2265# They can cause serious problems if a builder's source tree is in a directory
1786# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2280# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1787# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2281# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1788# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2282# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1789# OS/2's system install, which has a completely different semantic 2283# OS/2's system install, which has a completely different semantic
1790# ./install, which can be erroneously created by make from ./install.sh. 2284# ./install, which can be erroneously created by make from ./install.sh.
2285# Reject install programs that cannot install multiple files.
1791{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1792echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2287$as_echo_n "checking for a BSD-compatible install... " >&6; }
1793if test -z "$INSTALL"; then 2288if test -z "$INSTALL"; then
1794if test "${ac_cv_path_install+set}" = set; then 2289if ${ac_cv_path_install+:} false; then :
1795 echo $ECHO_N "(cached) $ECHO_C" >&6 2290 $as_echo_n "(cached) " >&6
1796else 2291else
1797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1798for as_dir in $PATH 2293for as_dir in $PATH
1799do 2294do
1800 IFS=$as_save_IFS 2295 IFS=$as_save_IFS
1801 test -z "$as_dir" && as_dir=. 2296 test -z "$as_dir" && as_dir=.
1802 # Account for people who put trailing slashes in PATH elements. 2297 # Account for people who put trailing slashes in PATH elements.
1803case $as_dir/ in 2298case $as_dir/ in #((
1804 ./ | .// | /cC/* | \ 2299 ./ | .// | /[cC]/* | \
1805 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2300 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1806 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2301 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1807 /usr/ucb/* ) ;; 2302 /usr/ucb/* ) ;;
1808 *) 2303 *)
1809 # OSF1 and SCO ODT 3.0 have their own names for install. 2304 # OSF1 and SCO ODT 3.0 have their own names for install.
1810 # Don't use installbsd from OSF since it installs stuff as root 2305 # Don't use installbsd from OSF since it installs stuff as root
1811 # by default. 2306 # by default.
1812 for ac_prog in ginstall scoinst install; do 2307 for ac_prog in ginstall scoinst install; do
1813 for ac_exec_ext in '' $ac_executable_extensions; do 2308 for ac_exec_ext in '' $ac_executable_extensions; do
1814 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2309 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1815 if test $ac_prog = install && 2310 if test $ac_prog = install &&
1816 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2311 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1817 # AIX install. It has an incompatible calling convention. 2312 # AIX install. It has an incompatible calling convention.
1818 : 2313 :
1819 elif test $ac_prog = install && 2314 elif test $ac_prog = install &&
1820 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2315 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1821 # program-specific install script used by HP pwplus--don't use. 2316 # program-specific install script used by HP pwplus--don't use.
1822 : 2317 :
1823 else 2318 else
2319 rm -rf conftest.one conftest.two conftest.dir
2320 echo one > conftest.one
2321 echo two > conftest.two
2322 mkdir conftest.dir
2323 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2324 test -s conftest.one && test -s conftest.two &&
2325 test -s conftest.dir/conftest.one &&
2326 test -s conftest.dir/conftest.two
2327 then
1824 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2328 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1825 break 3 2329 break 3
2330 fi
1826 fi 2331 fi
1827 fi 2332 fi
1828 done 2333 done
1829 done 2334 done
1830 ;; 2335 ;;
1831esac 2336esac
2337
1832done 2338 done
1833IFS=$as_save_IFS 2339IFS=$as_save_IFS
1834 2340
2341rm -rf conftest.one conftest.two conftest.dir
1835 2342
1836fi 2343fi
1837 if test "${ac_cv_path_install+set}" = set; then 2344 if test "${ac_cv_path_install+set}" = set; then
1838 INSTALL=$ac_cv_path_install 2345 INSTALL=$ac_cv_path_install
1839 else 2346 else
1842 # break other packages using the cache if that directory is 2349 # break other packages using the cache if that directory is
1843 # removed, or if the value is a relative name. 2350 # removed, or if the value is a relative name.
1844 INSTALL=$ac_install_sh 2351 INSTALL=$ac_install_sh
1845 fi 2352 fi
1846fi 2353fi
1847{ echo "$as_me:$LINENO: result: $INSTALL" >&5 2354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1848echo "${ECHO_T}$INSTALL" >&6; } 2355$as_echo "$INSTALL" >&6; }
1849 2356
1850# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2357# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1851# It thinks the first close brace ends the variable substitution. 2358# It thinks the first close brace ends the variable substitution.
1852test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2359test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1853 2360
1854test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2361test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1855 2362
1856test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2363test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1857 2364
1858{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1859echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 2366$as_echo_n "checking whether build environment is sane... " >&6; }
1860# Just in case 2367# Just in case
1861sleep 1 2368sleep 1
1862echo timestamp > conftest.file 2369echo timestamp > conftest.file
1863# Do `set' in a subshell so we don't clobber the current shell's 2370# Do `set' in a subshell so we don't clobber the current shell's
1864# arguments. Must try -L first in case configure is actually a 2371# arguments. Must try -L first in case configure is actually a
1877 2384
1878 # If neither matched, then we have a broken ls. This can happen 2385 # If neither matched, then we have a broken ls. This can happen
1879 # if, for instance, CONFIG_SHELL is bash and it inherits a 2386 # if, for instance, CONFIG_SHELL is bash and it inherits a
1880 # broken ls alias from the environment. This has actually 2387 # broken ls alias from the environment. This has actually
1881 # happened. Such a system could not be considered "sane". 2388 # happened. Such a system could not be considered "sane".
1882 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1883alias in your environment" >&5
1884echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2389 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1885alias in your environment" >&2;} 2390alias in your environment" "$LINENO" 5
1886 { (exit 1); exit 1; }; }
1887 fi 2391 fi
1888 2392
1889 test "$2" = conftest.file 2393 test "$2" = conftest.file
1890 ) 2394 )
1891then 2395then
1892 # Ok. 2396 # Ok.
1893 : 2397 :
1894else 2398else
1895 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1896Check your system clock" >&5
1897echo "$as_me: error: newly created file is older than distributed files! 2399 as_fn_error $? "newly created file is older than distributed files!
1898Check your system clock" >&2;} 2400Check your system clock" "$LINENO" 5
1899 { (exit 1); exit 1; }; }
1900fi 2401fi
1901{ echo "$as_me:$LINENO: result: yes" >&5 2402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1902echo "${ECHO_T}yes" >&6; } 2403$as_echo "yes" >&6; }
1903test "$program_prefix" != NONE && 2404test "$program_prefix" != NONE &&
1904 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2405 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1905# Use a double $ so make ignores it. 2406# Use a double $ so make ignores it.
1906test "$program_suffix" != NONE && 2407test "$program_suffix" != NONE &&
1907 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2408 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1908# Double any \ or $. echo might interpret backslashes. 2409# Double any \ or $.
1909# By default was `s,x,x', remove it if useless. 2410# By default was `s,x,x', remove it if useless.
1910cat <<\_ACEOF >conftest.sed
1911s/[\\$]/&&/g;s/;s,x,x,$// 2411ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1912_ACEOF
1913program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 2412program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1914rm -f conftest.sed
1915 2413
1916# expand $ac_aux_dir to an absolute path 2414# expand $ac_aux_dir to an absolute path
1917am_aux_dir=`cd $ac_aux_dir && pwd` 2415am_aux_dir=`cd $ac_aux_dir && pwd`
1918 2416
1919test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2417test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1920# Use eval to expand $SHELL 2418# Use eval to expand $SHELL
1921if eval "$MISSING --run true"; then 2419if eval "$MISSING --run true"; then
1922 am_missing_run="$MISSING --run " 2420 am_missing_run="$MISSING --run "
1923else 2421else
1924 am_missing_run= 2422 am_missing_run=
1925 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1926echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2424$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1927fi 2425fi
1928 2426
1929{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
1930echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 2428$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1931if test -z "$MKDIR_P"; then 2429if test -z "$MKDIR_P"; then
1932 if test "${ac_cv_path_mkdir+set}" = set; then 2430 if ${ac_cv_path_mkdir+:} false; then :
1933 echo $ECHO_N "(cached) $ECHO_C" >&6 2431 $as_echo_n "(cached) " >&6
1934else 2432else
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2434for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1937do 2435do
1938 IFS=$as_save_IFS 2436 IFS=$as_save_IFS
1939 test -z "$as_dir" && as_dir=. 2437 test -z "$as_dir" && as_dir=.
1940 for ac_prog in mkdir gmkdir; do 2438 for ac_prog in mkdir gmkdir; do
1941 for ac_exec_ext in '' $ac_executable_extensions; do 2439 for ac_exec_ext in '' $ac_executable_extensions; do
1942 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2440 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1943 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2441 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1944 'mkdir (GNU coreutils) '* | \ 2442 'mkdir (GNU coreutils) '* | \
1945 'mkdir (coreutils) '* | \ 2443 'mkdir (coreutils) '* | \
1946 'mkdir (fileutils) '4.1*) 2444 'mkdir (fileutils) '4.1*)
1947 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2445 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1948 break 3;; 2446 break 3;;
1949 esac 2447 esac
1950 done 2448 done
1951 done 2449 done
1952done 2450 done
1953IFS=$as_save_IFS 2451IFS=$as_save_IFS
1954 2452
1955fi 2453fi
1956 2454
2455 test -d ./--version && rmdir ./--version
1957 if test "${ac_cv_path_mkdir+set}" = set; then 2456 if test "${ac_cv_path_mkdir+set}" = set; then
1958 MKDIR_P="$ac_cv_path_mkdir -p" 2457 MKDIR_P="$ac_cv_path_mkdir -p"
1959 else 2458 else
1960 # As a last resort, use the slow shell script. Don't cache a 2459 # As a last resort, use the slow shell script. Don't cache a
1961 # value for MKDIR_P within a source directory, because that will 2460 # value for MKDIR_P within a source directory, because that will
1962 # break other packages using the cache if that directory is 2461 # break other packages using the cache if that directory is
1963 # removed, or if the value is a relative name. 2462 # removed, or if the value is a relative name.
1964 test -d ./--version && rmdir ./--version
1965 MKDIR_P="$ac_install_sh -d" 2463 MKDIR_P="$ac_install_sh -d"
1966 fi 2464 fi
1967fi 2465fi
1968{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
1969echo "${ECHO_T}$MKDIR_P" >&6; } 2467$as_echo "$MKDIR_P" >&6; }
1970 2468
1971mkdir_p="$MKDIR_P" 2469mkdir_p="$MKDIR_P"
1972case $mkdir_p in 2470case $mkdir_p in
1973 [\\/$]* | ?:[\\/]*) ;; 2471 [\\/$]* | ?:[\\/]*) ;;
1974 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2472 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1976 2474
1977for ac_prog in gawk mawk nawk awk 2475for ac_prog in gawk mawk nawk awk
1978do 2476do
1979 # Extract the first word of "$ac_prog", so it can be a program name with args. 2477 # Extract the first word of "$ac_prog", so it can be a program name with args.
1980set dummy $ac_prog; ac_word=$2 2478set dummy $ac_prog; ac_word=$2
1981{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1982echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2480$as_echo_n "checking for $ac_word... " >&6; }
1983if test "${ac_cv_prog_AWK+set}" = set; then 2481if ${ac_cv_prog_AWK+:} false; then :
1984 echo $ECHO_N "(cached) $ECHO_C" >&6 2482 $as_echo_n "(cached) " >&6
1985else 2483else
1986 if test -n "$AWK"; then 2484 if test -n "$AWK"; then
1987 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2485 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1988else 2486else
1989as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2487as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1990for as_dir in $PATH 2488for as_dir in $PATH
1991do 2489do
1992 IFS=$as_save_IFS 2490 IFS=$as_save_IFS
1993 test -z "$as_dir" && as_dir=. 2491 test -z "$as_dir" && as_dir=.
1994 for ac_exec_ext in '' $ac_executable_extensions; do 2492 for ac_exec_ext in '' $ac_executable_extensions; do
1995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1996 ac_cv_prog_AWK="$ac_prog" 2494 ac_cv_prog_AWK="$ac_prog"
1997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1998 break 2 2496 break 2
1999 fi 2497 fi
2000done 2498done
2001done 2499 done
2002IFS=$as_save_IFS 2500IFS=$as_save_IFS
2003 2501
2004fi 2502fi
2005fi 2503fi
2006AWK=$ac_cv_prog_AWK 2504AWK=$ac_cv_prog_AWK
2007if test -n "$AWK"; then 2505if test -n "$AWK"; then
2008 { echo "$as_me:$LINENO: result: $AWK" >&5 2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2009echo "${ECHO_T}$AWK" >&6; } 2507$as_echo "$AWK" >&6; }
2010else 2508else
2011 { echo "$as_me:$LINENO: result: no" >&5 2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2012echo "${ECHO_T}no" >&6; } 2510$as_echo "no" >&6; }
2013fi 2511fi
2014 2512
2015 2513
2016 test -n "$AWK" && break 2514 test -n "$AWK" && break
2017done 2515done
2018 2516
2019{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2020echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2518$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2519set x ${MAKE-make}
2021set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2520ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2022if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2521if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2023 echo $ECHO_N "(cached) $ECHO_C" >&6 2522 $as_echo_n "(cached) " >&6
2024else 2523else
2025 cat >conftest.make <<\_ACEOF 2524 cat >conftest.make <<\_ACEOF
2026SHELL = /bin/sh 2525SHELL = /bin/sh
2027all: 2526all:
2028 @echo '@@@%%%=$(MAKE)=@@@%%%' 2527 @echo '@@@%%%=$(MAKE)=@@@%%%'
2029_ACEOF 2528_ACEOF
2030# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2529# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2031case `${MAKE-make} -f conftest.make 2>/dev/null` in 2530case `${MAKE-make} -f conftest.make 2>/dev/null` in
2032 *@@@%%%=?*=@@@%%%*) 2531 *@@@%%%=?*=@@@%%%*)
2033 eval ac_cv_prog_make_${ac_make}_set=yes;; 2532 eval ac_cv_prog_make_${ac_make}_set=yes;;
2034 *) 2533 *)
2035 eval ac_cv_prog_make_${ac_make}_set=no;; 2534 eval ac_cv_prog_make_${ac_make}_set=no;;
2036esac 2535esac
2037rm -f conftest.make 2536rm -f conftest.make
2038fi 2537fi
2039if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2538if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2040 { echo "$as_me:$LINENO: result: yes" >&5 2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2041echo "${ECHO_T}yes" >&6; } 2540$as_echo "yes" >&6; }
2042 SET_MAKE= 2541 SET_MAKE=
2043else 2542else
2044 { echo "$as_me:$LINENO: result: no" >&5 2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2045echo "${ECHO_T}no" >&6; } 2544$as_echo "no" >&6; }
2046 SET_MAKE="MAKE=${MAKE-make}" 2545 SET_MAKE="MAKE=${MAKE-make}"
2047fi 2546fi
2048 2547
2049rm -rf .tst 2>/dev/null 2548rm -rf .tst 2>/dev/null
2050mkdir .tst 2>/dev/null 2549mkdir .tst 2>/dev/null
2059 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2558 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2060 # is not polluted with repeated "-I." 2559 # is not polluted with repeated "-I."
2061 am__isrc=' -I$(srcdir)' 2560 am__isrc=' -I$(srcdir)'
2062 # test to see if srcdir already configured 2561 # test to see if srcdir already configured
2063 if test -f $srcdir/config.status; then 2562 if test -f $srcdir/config.status; then
2064 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2065echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2563 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2066 { (exit 1); exit 1; }; }
2067 fi 2564 fi
2068fi 2565fi
2069 2566
2070# test whether we have cygpath 2567# test whether we have cygpath
2071if test -z "$CYGPATH_W"; then 2568if test -z "$CYGPATH_W"; then
2115# will honor the `STRIP' environment variable to overrule this program. 2612# will honor the `STRIP' environment variable to overrule this program.
2116if test "$cross_compiling" != no; then 2613if test "$cross_compiling" != no; then
2117 if test -n "$ac_tool_prefix"; then 2614 if test -n "$ac_tool_prefix"; then
2118 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2615 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2119set dummy ${ac_tool_prefix}strip; ac_word=$2 2616set dummy ${ac_tool_prefix}strip; ac_word=$2
2120{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2121echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2618$as_echo_n "checking for $ac_word... " >&6; }
2122if test "${ac_cv_prog_STRIP+set}" = set; then 2619if ${ac_cv_prog_STRIP+:} false; then :
2123 echo $ECHO_N "(cached) $ECHO_C" >&6 2620 $as_echo_n "(cached) " >&6
2124else 2621else
2125 if test -n "$STRIP"; then 2622 if test -n "$STRIP"; then
2126 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2623 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2127else 2624else
2128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2625as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129for as_dir in $PATH 2626for as_dir in $PATH
2130do 2627do
2131 IFS=$as_save_IFS 2628 IFS=$as_save_IFS
2132 test -z "$as_dir" && as_dir=. 2629 test -z "$as_dir" && as_dir=.
2133 for ac_exec_ext in '' $ac_executable_extensions; do 2630 for ac_exec_ext in '' $ac_executable_extensions; do
2134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2135 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2632 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 break 2 2634 break 2
2138 fi 2635 fi
2139done 2636done
2140done 2637 done
2141IFS=$as_save_IFS 2638IFS=$as_save_IFS
2142 2639
2143fi 2640fi
2144fi 2641fi
2145STRIP=$ac_cv_prog_STRIP 2642STRIP=$ac_cv_prog_STRIP
2146if test -n "$STRIP"; then 2643if test -n "$STRIP"; then
2147 { echo "$as_me:$LINENO: result: $STRIP" >&5 2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2148echo "${ECHO_T}$STRIP" >&6; } 2645$as_echo "$STRIP" >&6; }
2149else 2646else
2150 { echo "$as_me:$LINENO: result: no" >&5 2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2151echo "${ECHO_T}no" >&6; } 2648$as_echo "no" >&6; }
2152fi 2649fi
2153 2650
2154 2651
2155fi 2652fi
2156if test -z "$ac_cv_prog_STRIP"; then 2653if test -z "$ac_cv_prog_STRIP"; then
2157 ac_ct_STRIP=$STRIP 2654 ac_ct_STRIP=$STRIP
2158 # Extract the first word of "strip", so it can be a program name with args. 2655 # Extract the first word of "strip", so it can be a program name with args.
2159set dummy strip; ac_word=$2 2656set dummy strip; ac_word=$2
2160{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2161echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2658$as_echo_n "checking for $ac_word... " >&6; }
2162if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2659if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2163 echo $ECHO_N "(cached) $ECHO_C" >&6 2660 $as_echo_n "(cached) " >&6
2164else 2661else
2165 if test -n "$ac_ct_STRIP"; then 2662 if test -n "$ac_ct_STRIP"; then
2166 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2663 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2167else 2664else
2168as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2665as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2169for as_dir in $PATH 2666for as_dir in $PATH
2170do 2667do
2171 IFS=$as_save_IFS 2668 IFS=$as_save_IFS
2172 test -z "$as_dir" && as_dir=. 2669 test -z "$as_dir" && as_dir=.
2173 for ac_exec_ext in '' $ac_executable_extensions; do 2670 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 2671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2175 ac_cv_prog_ac_ct_STRIP="strip" 2672 ac_cv_prog_ac_ct_STRIP="strip"
2176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2177 break 2 2674 break 2
2178 fi 2675 fi
2179done 2676done
2180done 2677 done
2181IFS=$as_save_IFS 2678IFS=$as_save_IFS
2182 2679
2183fi 2680fi
2184fi 2681fi
2185ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2682ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2186if test -n "$ac_ct_STRIP"; then 2683if test -n "$ac_ct_STRIP"; then
2187 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2188echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2685$as_echo "$ac_ct_STRIP" >&6; }
2189else 2686else
2190 { echo "$as_me:$LINENO: result: no" >&5 2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2191echo "${ECHO_T}no" >&6; } 2688$as_echo "no" >&6; }
2192fi 2689fi
2193 2690
2194 if test "x$ac_ct_STRIP" = x; then 2691 if test "x$ac_ct_STRIP" = x; then
2195 STRIP=":" 2692 STRIP=":"
2196 else 2693 else
2197 case $cross_compiling:$ac_tool_warned in 2694 case $cross_compiling:$ac_tool_warned in
2198yes:) 2695yes:)
2199{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2696{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2200whose name does not start with the host triplet. If you think this 2697$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2201configuration is useful to you, please write to autoconf@gnu.org." >&5
2202echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2203whose name does not start with the host triplet. If you think this
2204configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2205ac_tool_warned=yes ;; 2698ac_tool_warned=yes ;;
2206esac 2699esac
2207 STRIP=$ac_ct_STRIP 2700 STRIP=$ac_ct_STRIP
2208 fi 2701 fi
2209else 2702else
2235ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2728ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2236ac_compiler_gnu=$ac_cv_c_compiler_gnu 2729ac_compiler_gnu=$ac_cv_c_compiler_gnu
2237if test -n "$ac_tool_prefix"; then 2730if test -n "$ac_tool_prefix"; then
2238 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2731 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2239set dummy ${ac_tool_prefix}gcc; ac_word=$2 2732set dummy ${ac_tool_prefix}gcc; ac_word=$2
2240{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2241echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2734$as_echo_n "checking for $ac_word... " >&6; }
2242if test "${ac_cv_prog_CC+set}" = set; then 2735if ${ac_cv_prog_CC+:} false; then :
2243 echo $ECHO_N "(cached) $ECHO_C" >&6 2736 $as_echo_n "(cached) " >&6
2244else 2737else
2245 if test -n "$CC"; then 2738 if test -n "$CC"; then
2246 ac_cv_prog_CC="$CC" # Let the user override the test. 2739 ac_cv_prog_CC="$CC" # Let the user override the test.
2247else 2740else
2248as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2249for as_dir in $PATH 2742for as_dir in $PATH
2250do 2743do
2251 IFS=$as_save_IFS 2744 IFS=$as_save_IFS
2252 test -z "$as_dir" && as_dir=. 2745 test -z "$as_dir" && as_dir=.
2253 for ac_exec_ext in '' $ac_executable_extensions; do 2746 for ac_exec_ext in '' $ac_executable_extensions; do
2254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2255 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2748 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2257 break 2 2750 break 2
2258 fi 2751 fi
2259done 2752done
2260done 2753 done
2261IFS=$as_save_IFS 2754IFS=$as_save_IFS
2262 2755
2263fi 2756fi
2264fi 2757fi
2265CC=$ac_cv_prog_CC 2758CC=$ac_cv_prog_CC
2266if test -n "$CC"; then 2759if test -n "$CC"; then
2267 { echo "$as_me:$LINENO: result: $CC" >&5 2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2268echo "${ECHO_T}$CC" >&6; } 2761$as_echo "$CC" >&6; }
2269else 2762else
2270 { echo "$as_me:$LINENO: result: no" >&5 2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2271echo "${ECHO_T}no" >&6; } 2764$as_echo "no" >&6; }
2272fi 2765fi
2273 2766
2274 2767
2275fi 2768fi
2276if test -z "$ac_cv_prog_CC"; then 2769if test -z "$ac_cv_prog_CC"; then
2277 ac_ct_CC=$CC 2770 ac_ct_CC=$CC
2278 # Extract the first word of "gcc", so it can be a program name with args. 2771 # Extract the first word of "gcc", so it can be a program name with args.
2279set dummy gcc; ac_word=$2 2772set dummy gcc; ac_word=$2
2280{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2281echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2774$as_echo_n "checking for $ac_word... " >&6; }
2282if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2775if ${ac_cv_prog_ac_ct_CC+:} false; then :
2283 echo $ECHO_N "(cached) $ECHO_C" >&6 2776 $as_echo_n "(cached) " >&6
2284else 2777else
2285 if test -n "$ac_ct_CC"; then 2778 if test -n "$ac_ct_CC"; then
2286 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2779 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2287else 2780else
2288as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289for as_dir in $PATH 2782for as_dir in $PATH
2290do 2783do
2291 IFS=$as_save_IFS 2784 IFS=$as_save_IFS
2292 test -z "$as_dir" && as_dir=. 2785 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do 2786 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2295 ac_cv_prog_ac_ct_CC="gcc" 2788 ac_cv_prog_ac_ct_CC="gcc"
2296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 break 2 2790 break 2
2298 fi 2791 fi
2299done 2792done
2300done 2793 done
2301IFS=$as_save_IFS 2794IFS=$as_save_IFS
2302 2795
2303fi 2796fi
2304fi 2797fi
2305ac_ct_CC=$ac_cv_prog_ac_ct_CC 2798ac_ct_CC=$ac_cv_prog_ac_ct_CC
2306if test -n "$ac_ct_CC"; then 2799if test -n "$ac_ct_CC"; then
2307 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2308echo "${ECHO_T}$ac_ct_CC" >&6; } 2801$as_echo "$ac_ct_CC" >&6; }
2309else 2802else
2310 { echo "$as_me:$LINENO: result: no" >&5 2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2311echo "${ECHO_T}no" >&6; } 2804$as_echo "no" >&6; }
2312fi 2805fi
2313 2806
2314 if test "x$ac_ct_CC" = x; then 2807 if test "x$ac_ct_CC" = x; then
2315 CC="" 2808 CC=""
2316 else 2809 else
2317 case $cross_compiling:$ac_tool_warned in 2810 case $cross_compiling:$ac_tool_warned in
2318yes:) 2811yes:)
2319{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2812{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2320whose name does not start with the host triplet. If you think this 2813$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2321configuration is useful to you, please write to autoconf@gnu.org." >&5
2322echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2323whose name does not start with the host triplet. If you think this
2324configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2325ac_tool_warned=yes ;; 2814ac_tool_warned=yes ;;
2326esac 2815esac
2327 CC=$ac_ct_CC 2816 CC=$ac_ct_CC
2328 fi 2817 fi
2329else 2818else
2332 2821
2333if test -z "$CC"; then 2822if test -z "$CC"; then
2334 if test -n "$ac_tool_prefix"; then 2823 if test -n "$ac_tool_prefix"; then
2335 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2824 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2336set dummy ${ac_tool_prefix}cc; ac_word=$2 2825set dummy ${ac_tool_prefix}cc; ac_word=$2
2337{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2338echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2827$as_echo_n "checking for $ac_word... " >&6; }
2339if test "${ac_cv_prog_CC+set}" = set; then 2828if ${ac_cv_prog_CC+:} false; then :
2340 echo $ECHO_N "(cached) $ECHO_C" >&6 2829 $as_echo_n "(cached) " >&6
2341else 2830else
2342 if test -n "$CC"; then 2831 if test -n "$CC"; then
2343 ac_cv_prog_CC="$CC" # Let the user override the test. 2832 ac_cv_prog_CC="$CC" # Let the user override the test.
2344else 2833else
2345as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2834as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346for as_dir in $PATH 2835for as_dir in $PATH
2347do 2836do
2348 IFS=$as_save_IFS 2837 IFS=$as_save_IFS
2349 test -z "$as_dir" && as_dir=. 2838 test -z "$as_dir" && as_dir=.
2350 for ac_exec_ext in '' $ac_executable_extensions; do 2839 for ac_exec_ext in '' $ac_executable_extensions; do
2351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2352 ac_cv_prog_CC="${ac_tool_prefix}cc" 2841 ac_cv_prog_CC="${ac_tool_prefix}cc"
2353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2354 break 2 2843 break 2
2355 fi 2844 fi
2356done 2845done
2357done 2846 done
2358IFS=$as_save_IFS 2847IFS=$as_save_IFS
2359 2848
2360fi 2849fi
2361fi 2850fi
2362CC=$ac_cv_prog_CC 2851CC=$ac_cv_prog_CC
2363if test -n "$CC"; then 2852if test -n "$CC"; then
2364 { echo "$as_me:$LINENO: result: $CC" >&5 2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2365echo "${ECHO_T}$CC" >&6; } 2854$as_echo "$CC" >&6; }
2366else 2855else
2367 { echo "$as_me:$LINENO: result: no" >&5 2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2368echo "${ECHO_T}no" >&6; } 2857$as_echo "no" >&6; }
2369fi 2858fi
2370 2859
2371 2860
2372 fi 2861 fi
2373fi 2862fi
2374if test -z "$CC"; then 2863if test -z "$CC"; then
2375 # Extract the first word of "cc", so it can be a program name with args. 2864 # Extract the first word of "cc", so it can be a program name with args.
2376set dummy cc; ac_word=$2 2865set dummy cc; ac_word=$2
2377{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2378echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2867$as_echo_n "checking for $ac_word... " >&6; }
2379if test "${ac_cv_prog_CC+set}" = set; then 2868if ${ac_cv_prog_CC+:} false; then :
2380 echo $ECHO_N "(cached) $ECHO_C" >&6 2869 $as_echo_n "(cached) " >&6
2381else 2870else
2382 if test -n "$CC"; then 2871 if test -n "$CC"; then
2383 ac_cv_prog_CC="$CC" # Let the user override the test. 2872 ac_cv_prog_CC="$CC" # Let the user override the test.
2384else 2873else
2385 ac_prog_rejected=no 2874 ac_prog_rejected=no
2386as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2875as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2387for as_dir in $PATH 2876for as_dir in $PATH
2388do 2877do
2389 IFS=$as_save_IFS 2878 IFS=$as_save_IFS
2390 test -z "$as_dir" && as_dir=. 2879 test -z "$as_dir" && as_dir=.
2391 for ac_exec_ext in '' $ac_executable_extensions; do 2880 for ac_exec_ext in '' $ac_executable_extensions; do
2392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2393 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2882 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2394 ac_prog_rejected=yes 2883 ac_prog_rejected=yes
2395 continue 2884 continue
2396 fi 2885 fi
2397 ac_cv_prog_CC="cc" 2886 ac_cv_prog_CC="cc"
2398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 break 2 2888 break 2
2400 fi 2889 fi
2401done 2890done
2402done 2891 done
2403IFS=$as_save_IFS 2892IFS=$as_save_IFS
2404 2893
2405if test $ac_prog_rejected = yes; then 2894if test $ac_prog_rejected = yes; then
2406 # We found a bogon in the path, so make sure we never use it. 2895 # We found a bogon in the path, so make sure we never use it.
2407 set dummy $ac_cv_prog_CC 2896 set dummy $ac_cv_prog_CC
2416fi 2905fi
2417fi 2906fi
2418fi 2907fi
2419CC=$ac_cv_prog_CC 2908CC=$ac_cv_prog_CC
2420if test -n "$CC"; then 2909if test -n "$CC"; then
2421 { echo "$as_me:$LINENO: result: $CC" >&5 2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2422echo "${ECHO_T}$CC" >&6; } 2911$as_echo "$CC" >&6; }
2423else 2912else
2424 { echo "$as_me:$LINENO: result: no" >&5 2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2425echo "${ECHO_T}no" >&6; } 2914$as_echo "no" >&6; }
2426fi 2915fi
2427 2916
2428 2917
2429fi 2918fi
2430if test -z "$CC"; then 2919if test -z "$CC"; then
2431 if test -n "$ac_tool_prefix"; then 2920 if test -n "$ac_tool_prefix"; then
2432 for ac_prog in cl.exe 2921 for ac_prog in cl.exe
2433 do 2922 do
2434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2923 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2435set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2924set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2436{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2437echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2926$as_echo_n "checking for $ac_word... " >&6; }
2438if test "${ac_cv_prog_CC+set}" = set; then 2927if ${ac_cv_prog_CC+:} false; then :
2439 echo $ECHO_N "(cached) $ECHO_C" >&6 2928 $as_echo_n "(cached) " >&6
2440else 2929else
2441 if test -n "$CC"; then 2930 if test -n "$CC"; then
2442 ac_cv_prog_CC="$CC" # Let the user override the test. 2931 ac_cv_prog_CC="$CC" # Let the user override the test.
2443else 2932else
2444as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2933as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2445for as_dir in $PATH 2934for as_dir in $PATH
2446do 2935do
2447 IFS=$as_save_IFS 2936 IFS=$as_save_IFS
2448 test -z "$as_dir" && as_dir=. 2937 test -z "$as_dir" && as_dir=.
2449 for ac_exec_ext in '' $ac_executable_extensions; do 2938 for ac_exec_ext in '' $ac_executable_extensions; do
2450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2451 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2940 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2453 break 2 2942 break 2
2454 fi 2943 fi
2455done 2944done
2456done 2945 done
2457IFS=$as_save_IFS 2946IFS=$as_save_IFS
2458 2947
2459fi 2948fi
2460fi 2949fi
2461CC=$ac_cv_prog_CC 2950CC=$ac_cv_prog_CC
2462if test -n "$CC"; then 2951if test -n "$CC"; then
2463 { echo "$as_me:$LINENO: result: $CC" >&5 2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2464echo "${ECHO_T}$CC" >&6; } 2953$as_echo "$CC" >&6; }
2465else 2954else
2466 { echo "$as_me:$LINENO: result: no" >&5 2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2467echo "${ECHO_T}no" >&6; } 2956$as_echo "no" >&6; }
2468fi 2957fi
2469 2958
2470 2959
2471 test -n "$CC" && break 2960 test -n "$CC" && break
2472 done 2961 done
2475 ac_ct_CC=$CC 2964 ac_ct_CC=$CC
2476 for ac_prog in cl.exe 2965 for ac_prog in cl.exe
2477do 2966do
2478 # Extract the first word of "$ac_prog", so it can be a program name with args. 2967 # Extract the first word of "$ac_prog", so it can be a program name with args.
2479set dummy $ac_prog; ac_word=$2 2968set dummy $ac_prog; ac_word=$2
2480{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2481echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2970$as_echo_n "checking for $ac_word... " >&6; }
2482if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2971if ${ac_cv_prog_ac_ct_CC+:} false; then :
2483 echo $ECHO_N "(cached) $ECHO_C" >&6 2972 $as_echo_n "(cached) " >&6
2484else 2973else
2485 if test -n "$ac_ct_CC"; then 2974 if test -n "$ac_ct_CC"; then
2486 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2975 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2487else 2976else
2488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2977as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489for as_dir in $PATH 2978for as_dir in $PATH
2490do 2979do
2491 IFS=$as_save_IFS 2980 IFS=$as_save_IFS
2492 test -z "$as_dir" && as_dir=. 2981 test -z "$as_dir" && as_dir=.
2493 for ac_exec_ext in '' $ac_executable_extensions; do 2982 for ac_exec_ext in '' $ac_executable_extensions; do
2494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2495 ac_cv_prog_ac_ct_CC="$ac_prog" 2984 ac_cv_prog_ac_ct_CC="$ac_prog"
2496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2497 break 2 2986 break 2
2498 fi 2987 fi
2499done 2988done
2500done 2989 done
2501IFS=$as_save_IFS 2990IFS=$as_save_IFS
2502 2991
2503fi 2992fi
2504fi 2993fi
2505ac_ct_CC=$ac_cv_prog_ac_ct_CC 2994ac_ct_CC=$ac_cv_prog_ac_ct_CC
2506if test -n "$ac_ct_CC"; then 2995if test -n "$ac_ct_CC"; then
2507 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2508echo "${ECHO_T}$ac_ct_CC" >&6; } 2997$as_echo "$ac_ct_CC" >&6; }
2509else 2998else
2510 { echo "$as_me:$LINENO: result: no" >&5 2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2511echo "${ECHO_T}no" >&6; } 3000$as_echo "no" >&6; }
2512fi 3001fi
2513 3002
2514 3003
2515 test -n "$ac_ct_CC" && break 3004 test -n "$ac_ct_CC" && break
2516done 3005done
2518 if test "x$ac_ct_CC" = x; then 3007 if test "x$ac_ct_CC" = x; then
2519 CC="" 3008 CC=""
2520 else 3009 else
2521 case $cross_compiling:$ac_tool_warned in 3010 case $cross_compiling:$ac_tool_warned in
2522yes:) 3011yes:)
2523{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3012{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2524whose name does not start with the host triplet. If you think this 3013$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2525configuration is useful to you, please write to autoconf@gnu.org." >&5
2526echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2527whose name does not start with the host triplet. If you think this
2528configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2529ac_tool_warned=yes ;; 3014ac_tool_warned=yes ;;
2530esac 3015esac
2531 CC=$ac_ct_CC 3016 CC=$ac_ct_CC
2532 fi 3017 fi
2533fi 3018fi
2534 3019
2535fi 3020fi
2536 3021
2537 3022
2538test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3023test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2539See \`config.log' for more details." >&5 3024$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2540echo "$as_me: error: no acceptable C compiler found in \$PATH 3025as_fn_error $? "no acceptable C compiler found in \$PATH
2541See \`config.log' for more details." >&2;} 3026See \`config.log' for more details" "$LINENO" 5; }
2542 { (exit 1); exit 1; }; }
2543 3027
2544# Provide some information about the compiler. 3028# Provide some information about the compiler.
2545echo "$as_me:$LINENO: checking for C compiler version" >&5 3029$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2546ac_compiler=`set X $ac_compile; echo $2` 3030set X $ac_compile
3031ac_compiler=$2
3032for ac_option in --version -v -V -qversion; do
2547{ (ac_try="$ac_compiler --version >&5" 3033 { { ac_try="$ac_compiler $ac_option >&5"
2548case "(($ac_try" in 3034case "(($ac_try" in
2549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2550 *) ac_try_echo=$ac_try;; 3036 *) ac_try_echo=$ac_try;;
2551esac 3037esac
2552eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3038eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2553 (eval "$ac_compiler --version >&5") 2>&5 3039$as_echo "$ac_try_echo"; } >&5
3040 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2554 ac_status=$? 3041 ac_status=$?
3042 if test -s conftest.err; then
3043 sed '10a\
3044... rest of stderr output deleted ...
3045 10q' conftest.err >conftest.er1
3046 cat conftest.er1 >&5
3047 fi
3048 rm -f conftest.er1 conftest.err
2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2556 (exit $ac_status); } 3050 test $ac_status = 0; }
2557{ (ac_try="$ac_compiler -v >&5" 3051done
3052
3053cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3054/* end confdefs.h. */
3055
3056int
3057main ()
3058{
3059
3060 ;
3061 return 0;
3062}
3063_ACEOF
3064ac_clean_files_save=$ac_clean_files
3065ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3066# Try to create an executable without -o first, disregard a.out.
3067# It will help us diagnose broken compilers, and finding out an intuition
3068# of exeext.
3069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3070$as_echo_n "checking whether the C compiler works... " >&6; }
3071ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3072
3073# The possible output files:
3074ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3075
3076ac_rmfiles=
3077for ac_file in $ac_files
3078do
3079 case $ac_file in
3080 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3081 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3082 esac
3083done
3084rm -f $ac_rmfiles
3085
3086if { { ac_try="$ac_link_default"
2558case "(($ac_try" in 3087case "(($ac_try" in
2559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2560 *) ac_try_echo=$ac_try;; 3089 *) ac_try_echo=$ac_try;;
2561esac 3090esac
2562eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3091eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2563 (eval "$ac_compiler -v >&5") 2>&5 3092$as_echo "$ac_try_echo"; } >&5
2564 ac_status=$?
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }
2567{ (ac_try="$ac_compiler -V >&5"
2568case "(($ac_try" in
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2571esac
2572eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2573 (eval "$ac_compiler -V >&5") 2>&5
2574 ac_status=$?
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }
2577
2578cat >conftest.$ac_ext <<_ACEOF
2579/* confdefs.h. */
2580_ACEOF
2581cat confdefs.h >>conftest.$ac_ext
2582cat >>conftest.$ac_ext <<_ACEOF
2583/* end confdefs.h. */
2584
2585int
2586main ()
2587{
2588
2589 ;
2590 return 0;
2591}
2592_ACEOF
2593ac_clean_files_save=$ac_clean_files
2594ac_clean_files="$ac_clean_files a.out a.exe b.out"
2595# Try to create an executable without -o first, disregard a.out.
2596# It will help us diagnose broken compilers, and finding out an intuition
2597# of exeext.
2598{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2599echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2600ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2601#
2602# List of possible output files, starting from the most likely.
2603# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2604# only as a last resort. b.out is created by i960 compilers.
2605ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2606#
2607# The IRIX 6 linker writes into existing files which may not be
2608# executable, retaining their permissions. Remove them first so a
2609# subsequent execution test works.
2610ac_rmfiles=
2611for ac_file in $ac_files
2612do
2613 case $ac_file in
2614 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2615 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2616 esac
2617done
2618rm -f $ac_rmfiles
2619
2620if { (ac_try="$ac_link_default"
2621case "(($ac_try" in
2622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2623 *) ac_try_echo=$ac_try;;
2624esac
2625eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2626 (eval "$ac_link_default") 2>&5 3093 (eval "$ac_link_default") 2>&5
2627 ac_status=$? 3094 ac_status=$?
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2629 (exit $ac_status); }; then 3096 test $ac_status = 0; }; then :
2630 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3097 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2631# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3098# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2632# in a Makefile. We should not override ac_cv_exeext if it was cached, 3099# in a Makefile. We should not override ac_cv_exeext if it was cached,
2633# so that the user can short-circuit this test for compilers unknown to 3100# so that the user can short-circuit this test for compilers unknown to
2634# Autoconf. 3101# Autoconf.
2635for ac_file in $ac_files '' 3102for ac_file in $ac_files ''
2636do 3103do
2637 test -f "$ac_file" || continue 3104 test -f "$ac_file" || continue
2638 case $ac_file in 3105 case $ac_file in
2639 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 3106 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2640 ;; 3107 ;;
2641 [ab].out ) 3108 [ab].out )
2642 # We found the default executable, but exeext='' is most 3109 # We found the default executable, but exeext='' is most
2643 # certainly right. 3110 # certainly right.
2644 break;; 3111 break;;
2645 *.* ) 3112 *.* )
2646 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3113 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2647 then :; else 3114 then :; else
2648 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3115 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2649 fi 3116 fi
2650 # We set ac_cv_exeext here because the later test for it is not 3117 # We set ac_cv_exeext here because the later test for it is not
2651 # safe: cross compilers may not add the suffix if given an `-o' 3118 # safe: cross compilers may not add the suffix if given an `-o'
2660test "$ac_cv_exeext" = no && ac_cv_exeext= 3127test "$ac_cv_exeext" = no && ac_cv_exeext=
2661 3128
2662else 3129else
2663 ac_file='' 3130 ac_file=''
2664fi 3131fi
2665
2666{ echo "$as_me:$LINENO: result: $ac_file" >&5
2667echo "${ECHO_T}$ac_file" >&6; }
2668if test -z "$ac_file"; then 3132if test -z "$ac_file"; then :
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3134$as_echo "no" >&6; }
2669 echo "$as_me: failed program was:" >&5 3135$as_echo "$as_me: failed program was:" >&5
2670sed 's/^/| /' conftest.$ac_ext >&5 3136sed 's/^/| /' conftest.$ac_ext >&5
2671 3137
2672{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 3138{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2673See \`config.log' for more details." >&5 3139$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2674echo "$as_me: error: C compiler cannot create executables 3140as_fn_error 77 "C compiler cannot create executables
2675See \`config.log' for more details." >&2;} 3141See \`config.log' for more details" "$LINENO" 5; }
2676 { (exit 77); exit 77; }; } 3142else
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3144$as_echo "yes" >&6; }
2677fi 3145fi
2678 3146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3147$as_echo_n "checking for C compiler default output file name... " >&6; }
3148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3149$as_echo "$ac_file" >&6; }
2679ac_exeext=$ac_cv_exeext 3150ac_exeext=$ac_cv_exeext
2680 3151
2681# Check that the compiler produces executables we can run. If not, either
2682# the compiler is broken, or we cross compile.
2683{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2684echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2685# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2686# If not cross compiling, check that we can run a simple program.
2687if test "$cross_compiling" != yes; then
2688 if { ac_try='./$ac_file'
2689 { (case "(($ac_try" in
2690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2691 *) ac_try_echo=$ac_try;;
2692esac
2693eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2694 (eval "$ac_try") 2>&5
2695 ac_status=$?
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }; }; then
2698 cross_compiling=no
2699 else
2700 if test "$cross_compiling" = maybe; then
2701 cross_compiling=yes
2702 else
2703 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2704If you meant to cross compile, use \`--host'.
2705See \`config.log' for more details." >&5
2706echo "$as_me: error: cannot run C compiled programs.
2707If you meant to cross compile, use \`--host'.
2708See \`config.log' for more details." >&2;}
2709 { (exit 1); exit 1; }; }
2710 fi
2711 fi
2712fi
2713{ echo "$as_me:$LINENO: result: yes" >&5
2714echo "${ECHO_T}yes" >&6; }
2715
2716rm -f a.out a.exe conftest$ac_cv_exeext b.out 3152rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2717ac_clean_files=$ac_clean_files_save 3153ac_clean_files=$ac_clean_files_save
2718# Check that the compiler produces executables we can run. If not, either
2719# the compiler is broken, or we cross compile.
2720{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2721echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2722{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2723echo "${ECHO_T}$cross_compiling" >&6; }
2724
2725{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 3154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2726echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 3155$as_echo_n "checking for suffix of executables... " >&6; }
2727if { (ac_try="$ac_link" 3156if { { ac_try="$ac_link"
2728case "(($ac_try" in 3157case "(($ac_try" in
2729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2730 *) ac_try_echo=$ac_try;; 3159 *) ac_try_echo=$ac_try;;
2731esac 3160esac
2732eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3161eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3162$as_echo "$ac_try_echo"; } >&5
2733 (eval "$ac_link") 2>&5 3163 (eval "$ac_link") 2>&5
2734 ac_status=$? 3164 ac_status=$?
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2736 (exit $ac_status); }; then 3166 test $ac_status = 0; }; then :
2737 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3167 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2738# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3168# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2739# work properly (i.e., refer to `conftest.exe'), while it won't with 3169# work properly (i.e., refer to `conftest.exe'), while it won't with
2740# `rm'. 3170# `rm'.
2741for ac_file in conftest.exe conftest conftest.*; do 3171for ac_file in conftest.exe conftest conftest.*; do
2742 test -f "$ac_file" || continue 3172 test -f "$ac_file" || continue
2743 case $ac_file in 3173 case $ac_file in
2744 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3174 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2745 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3175 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2746 break;; 3176 break;;
2747 * ) break;; 3177 * ) break;;
2748 esac 3178 esac
2749done 3179done
2750else 3180else
2751 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2752See \`config.log' for more details." >&5 3182$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2753echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3183as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2754See \`config.log' for more details." >&2;} 3184See \`config.log' for more details" "$LINENO" 5; }
2755 { (exit 1); exit 1; }; }
2756fi 3185fi
2757
2758rm -f conftest$ac_cv_exeext 3186rm -f conftest conftest$ac_cv_exeext
2759{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2760echo "${ECHO_T}$ac_cv_exeext" >&6; } 3188$as_echo "$ac_cv_exeext" >&6; }
2761 3189
2762rm -f conftest.$ac_ext 3190rm -f conftest.$ac_ext
2763EXEEXT=$ac_cv_exeext 3191EXEEXT=$ac_cv_exeext
2764ac_exeext=$EXEEXT 3192ac_exeext=$EXEEXT
2765{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2766echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2767if test "${ac_cv_objext+set}" = set; then
2768 echo $ECHO_N "(cached) $ECHO_C" >&6
2769else
2770 cat >conftest.$ac_ext <<_ACEOF
2771/* confdefs.h. */
2772_ACEOF
2773cat confdefs.h >>conftest.$ac_ext 3193cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2774cat >>conftest.$ac_ext <<_ACEOF
2775/* end confdefs.h. */ 3194/* end confdefs.h. */
2776 3195#include <stdio.h>
2777int 3196int
2778main () 3197main ()
2779{ 3198{
3199FILE *f = fopen ("conftest.out", "w");
3200 return ferror (f) || fclose (f) != 0;
2780 3201
2781 ; 3202 ;
2782 return 0; 3203 return 0;
2783} 3204}
2784_ACEOF 3205_ACEOF
2785rm -f conftest.o conftest.obj 3206ac_clean_files="$ac_clean_files conftest.out"
2786if { (ac_try="$ac_compile" 3207# Check that the compiler produces executables we can run. If not, either
3208# the compiler is broken, or we cross compile.
3209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3210$as_echo_n "checking whether we are cross compiling... " >&6; }
3211if test "$cross_compiling" != yes; then
3212 { { ac_try="$ac_link"
2787case "(($ac_try" in 3213case "(($ac_try" in
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;; 3215 *) ac_try_echo=$ac_try;;
2790esac 3216esac
2791eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3217eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218$as_echo "$ac_try_echo"; } >&5
3219 (eval "$ac_link") 2>&5
3220 ac_status=$?
3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222 test $ac_status = 0; }
3223 if { ac_try='./conftest$ac_cv_exeext'
3224 { { case "(($ac_try" in
3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3227esac
3228eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3229$as_echo "$ac_try_echo"; } >&5
3230 (eval "$ac_try") 2>&5
3231 ac_status=$?
3232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3233 test $ac_status = 0; }; }; then
3234 cross_compiling=no
3235 else
3236 if test "$cross_compiling" = maybe; then
3237 cross_compiling=yes
3238 else
3239 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3240$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3241as_fn_error $? "cannot run C compiled programs.
3242If you meant to cross compile, use \`--host'.
3243See \`config.log' for more details" "$LINENO" 5; }
3244 fi
3245 fi
3246fi
3247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3248$as_echo "$cross_compiling" >&6; }
3249
3250rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3251ac_clean_files=$ac_clean_files_save
3252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3253$as_echo_n "checking for suffix of object files... " >&6; }
3254if ${ac_cv_objext+:} false; then :
3255 $as_echo_n "(cached) " >&6
3256else
3257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258/* end confdefs.h. */
3259
3260int
3261main ()
3262{
3263
3264 ;
3265 return 0;
3266}
3267_ACEOF
3268rm -f conftest.o conftest.obj
3269if { { ac_try="$ac_compile"
3270case "(($ac_try" in
3271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3272 *) ac_try_echo=$ac_try;;
3273esac
3274eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3275$as_echo "$ac_try_echo"; } >&5
2792 (eval "$ac_compile") 2>&5 3276 (eval "$ac_compile") 2>&5
2793 ac_status=$? 3277 ac_status=$?
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2795 (exit $ac_status); }; then 3279 test $ac_status = 0; }; then :
2796 for ac_file in conftest.o conftest.obj conftest.*; do 3280 for ac_file in conftest.o conftest.obj conftest.*; do
2797 test -f "$ac_file" || continue; 3281 test -f "$ac_file" || continue;
2798 case $ac_file in 3282 case $ac_file in
2799 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 3283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2800 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3284 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2801 break;; 3285 break;;
2802 esac 3286 esac
2803done 3287done
2804else 3288else
2805 echo "$as_me: failed program was:" >&5 3289 $as_echo "$as_me: failed program was:" >&5
2806sed 's/^/| /' conftest.$ac_ext >&5 3290sed 's/^/| /' conftest.$ac_ext >&5
2807 3291
2808{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3292{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2809See \`config.log' for more details." >&5 3293$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2810echo "$as_me: error: cannot compute suffix of object files: cannot compile 3294as_fn_error $? "cannot compute suffix of object files: cannot compile
2811See \`config.log' for more details." >&2;} 3295See \`config.log' for more details" "$LINENO" 5; }
2812 { (exit 1); exit 1; }; }
2813fi 3296fi
2814
2815rm -f conftest.$ac_cv_objext conftest.$ac_ext 3297rm -f conftest.$ac_cv_objext conftest.$ac_ext
2816fi 3298fi
2817{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2818echo "${ECHO_T}$ac_cv_objext" >&6; } 3300$as_echo "$ac_cv_objext" >&6; }
2819OBJEXT=$ac_cv_objext 3301OBJEXT=$ac_cv_objext
2820ac_objext=$OBJEXT 3302ac_objext=$OBJEXT
2821{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2822echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 3304$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2823if test "${ac_cv_c_compiler_gnu+set}" = set; then 3305if ${ac_cv_c_compiler_gnu+:} false; then :
2824 echo $ECHO_N "(cached) $ECHO_C" >&6 3306 $as_echo_n "(cached) " >&6
2825else 3307else
2826 cat >conftest.$ac_ext <<_ACEOF
2827/* confdefs.h. */
2828_ACEOF
2829cat confdefs.h >>conftest.$ac_ext 3308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2830cat >>conftest.$ac_ext <<_ACEOF
2831/* end confdefs.h. */ 3309/* end confdefs.h. */
2832 3310
2833int 3311int
2834main () 3312main ()
2835{ 3313{
2839 3317
2840 ; 3318 ;
2841 return 0; 3319 return 0;
2842} 3320}
2843_ACEOF 3321_ACEOF
2844rm -f conftest.$ac_objext 3322if ac_fn_c_try_compile "$LINENO"; then :
2845if { (ac_try="$ac_compile"
2846case "(($ac_try" in
2847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2848 *) ac_try_echo=$ac_try;;
2849esac
2850eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2851 (eval "$ac_compile") 2>conftest.er1
2852 ac_status=$?
2853 grep -v '^ *+' conftest.er1 >conftest.err
2854 rm -f conftest.er1
2855 cat conftest.err >&5
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); } && {
2858 test -z "$ac_c_werror_flag" ||
2859 test ! -s conftest.err
2860 } && test -s conftest.$ac_objext; then
2861 ac_compiler_gnu=yes 3323 ac_compiler_gnu=yes
2862else 3324else
2863 echo "$as_me: failed program was:" >&5
2864sed 's/^/| /' conftest.$ac_ext >&5
2865
2866 ac_compiler_gnu=no 3325 ac_compiler_gnu=no
2867fi 3326fi
2868
2869rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3327rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870ac_cv_c_compiler_gnu=$ac_compiler_gnu 3328ac_cv_c_compiler_gnu=$ac_compiler_gnu
2871 3329
2872fi 3330fi
2873{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2874echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 3332$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2875GCC=`test $ac_compiler_gnu = yes && echo yes` 3333if test $ac_compiler_gnu = yes; then
3334 GCC=yes
3335else
3336 GCC=
3337fi
2876ac_test_CFLAGS=${CFLAGS+set} 3338ac_test_CFLAGS=${CFLAGS+set}
2877ac_save_CFLAGS=$CFLAGS 3339ac_save_CFLAGS=$CFLAGS
2878{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2879echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 3341$as_echo_n "checking whether $CC accepts -g... " >&6; }
2880if test "${ac_cv_prog_cc_g+set}" = set; then 3342if ${ac_cv_prog_cc_g+:} false; then :
2881 echo $ECHO_N "(cached) $ECHO_C" >&6 3343 $as_echo_n "(cached) " >&6
2882else 3344else
2883 ac_save_c_werror_flag=$ac_c_werror_flag 3345 ac_save_c_werror_flag=$ac_c_werror_flag
2884 ac_c_werror_flag=yes 3346 ac_c_werror_flag=yes
2885 ac_cv_prog_cc_g=no 3347 ac_cv_prog_cc_g=no
2886 CFLAGS="-g" 3348 CFLAGS="-g"
2887 cat >conftest.$ac_ext <<_ACEOF
2888/* confdefs.h. */
2889_ACEOF
2890cat confdefs.h >>conftest.$ac_ext 3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2891cat >>conftest.$ac_ext <<_ACEOF
2892/* end confdefs.h. */ 3350/* end confdefs.h. */
2893 3351
2894int 3352int
2895main () 3353main ()
2896{ 3354{
2897 3355
2898 ; 3356 ;
2899 return 0; 3357 return 0;
2900} 3358}
2901_ACEOF 3359_ACEOF
2902rm -f conftest.$ac_objext 3360if ac_fn_c_try_compile "$LINENO"; then :
2903if { (ac_try="$ac_compile"
2904case "(($ac_try" in
2905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2906 *) ac_try_echo=$ac_try;;
2907esac
2908eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2909 (eval "$ac_compile") 2>conftest.er1
2910 ac_status=$?
2911 grep -v '^ *+' conftest.er1 >conftest.err
2912 rm -f conftest.er1
2913 cat conftest.err >&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); } && {
2916 test -z "$ac_c_werror_flag" ||
2917 test ! -s conftest.err
2918 } && test -s conftest.$ac_objext; then
2919 ac_cv_prog_cc_g=yes 3361 ac_cv_prog_cc_g=yes
2920else 3362else
2921 echo "$as_me: failed program was:" >&5
2922sed 's/^/| /' conftest.$ac_ext >&5
2923
2924 CFLAGS="" 3363 CFLAGS=""
2925 cat >conftest.$ac_ext <<_ACEOF
2926/* confdefs.h. */
2927_ACEOF
2928cat confdefs.h >>conftest.$ac_ext 3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2929cat >>conftest.$ac_ext <<_ACEOF
2930/* end confdefs.h. */ 3365/* end confdefs.h. */
2931 3366
2932int 3367int
2933main () 3368main ()
2934{ 3369{
2935 3370
2936 ; 3371 ;
2937 return 0; 3372 return 0;
2938} 3373}
2939_ACEOF 3374_ACEOF
2940rm -f conftest.$ac_objext 3375if ac_fn_c_try_compile "$LINENO"; then :
2941if { (ac_try="$ac_compile"
2942case "(($ac_try" in
2943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2945esac
2946eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2947 (eval "$ac_compile") 2>conftest.er1
2948 ac_status=$?
2949 grep -v '^ *+' conftest.er1 >conftest.err
2950 rm -f conftest.er1
2951 cat conftest.err >&5
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); } && {
2954 test -z "$ac_c_werror_flag" ||
2955 test ! -s conftest.err
2956 } && test -s conftest.$ac_objext; then
2957 :
2958else
2959 echo "$as_me: failed program was:" >&5
2960sed 's/^/| /' conftest.$ac_ext >&5
2961 3376
3377else
2962 ac_c_werror_flag=$ac_save_c_werror_flag 3378 ac_c_werror_flag=$ac_save_c_werror_flag
2963 CFLAGS="-g" 3379 CFLAGS="-g"
2964 cat >conftest.$ac_ext <<_ACEOF
2965/* confdefs.h. */
2966_ACEOF
2967cat confdefs.h >>conftest.$ac_ext 3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2968cat >>conftest.$ac_ext <<_ACEOF
2969/* end confdefs.h. */ 3381/* end confdefs.h. */
2970 3382
2971int 3383int
2972main () 3384main ()
2973{ 3385{
2974 3386
2975 ; 3387 ;
2976 return 0; 3388 return 0;
2977} 3389}
2978_ACEOF 3390_ACEOF
2979rm -f conftest.$ac_objext 3391if ac_fn_c_try_compile "$LINENO"; then :
2980if { (ac_try="$ac_compile"
2981case "(($ac_try" in
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2984esac
2985eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2986 (eval "$ac_compile") 2>conftest.er1
2987 ac_status=$?
2988 grep -v '^ *+' conftest.er1 >conftest.err
2989 rm -f conftest.er1
2990 cat conftest.err >&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); } && {
2993 test -z "$ac_c_werror_flag" ||
2994 test ! -s conftest.err
2995 } && test -s conftest.$ac_objext; then
2996 ac_cv_prog_cc_g=yes 3392 ac_cv_prog_cc_g=yes
2997else
2998 echo "$as_me: failed program was:" >&5
2999sed 's/^/| /' conftest.$ac_ext >&5
3000
3001
3002fi 3393fi
3003
3004rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3005fi 3395fi
3006
3007rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3008fi 3397fi
3009
3010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3011 ac_c_werror_flag=$ac_save_c_werror_flag 3399 ac_c_werror_flag=$ac_save_c_werror_flag
3012fi 3400fi
3013{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3014echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3402$as_echo "$ac_cv_prog_cc_g" >&6; }
3015if test "$ac_test_CFLAGS" = set; then 3403if test "$ac_test_CFLAGS" = set; then
3016 CFLAGS=$ac_save_CFLAGS 3404 CFLAGS=$ac_save_CFLAGS
3017elif test $ac_cv_prog_cc_g = yes; then 3405elif test $ac_cv_prog_cc_g = yes; then
3018 if test "$GCC" = yes; then 3406 if test "$GCC" = yes; then
3019 CFLAGS="-g -O2" 3407 CFLAGS="-g -O2"
3025 CFLAGS="-O2" 3413 CFLAGS="-O2"
3026 else 3414 else
3027 CFLAGS= 3415 CFLAGS=
3028 fi 3416 fi
3029fi 3417fi
3030{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3031echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3419$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3032if test "${ac_cv_prog_cc_c89+set}" = set; then 3420if ${ac_cv_prog_cc_c89+:} false; then :
3033 echo $ECHO_N "(cached) $ECHO_C" >&6 3421 $as_echo_n "(cached) " >&6
3034else 3422else
3035 ac_cv_prog_cc_c89=no 3423 ac_cv_prog_cc_c89=no
3036ac_save_CC=$CC 3424ac_save_CC=$CC
3037cat >conftest.$ac_ext <<_ACEOF
3038/* confdefs.h. */
3039_ACEOF
3040cat confdefs.h >>conftest.$ac_ext 3425cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041cat >>conftest.$ac_ext <<_ACEOF
3042/* end confdefs.h. */ 3426/* end confdefs.h. */
3043#include <stdarg.h> 3427#include <stdarg.h>
3044#include <stdio.h> 3428#include <stdio.h>
3045#include <sys/types.h> 3429struct stat;
3046#include <sys/stat.h>
3047/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3430/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3048struct buf { int x; }; 3431struct buf { int x; };
3049FILE * (*rcsopen) (struct buf *, struct stat *, int); 3432FILE * (*rcsopen) (struct buf *, struct stat *, int);
3050static char *e (p, i) 3433static char *e (p, i)
3051 char **p; 3434 char **p;
3093_ACEOF 3476_ACEOF
3094for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3477for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3095 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3478 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3096do 3479do
3097 CC="$ac_save_CC $ac_arg" 3480 CC="$ac_save_CC $ac_arg"
3098 rm -f conftest.$ac_objext 3481 if ac_fn_c_try_compile "$LINENO"; then :
3099if { (ac_try="$ac_compile"
3100case "(($ac_try" in
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3103esac
3104eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3105 (eval "$ac_compile") 2>conftest.er1
3106 ac_status=$?
3107 grep -v '^ *+' conftest.er1 >conftest.err
3108 rm -f conftest.er1
3109 cat conftest.err >&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); } && {
3112 test -z "$ac_c_werror_flag" ||
3113 test ! -s conftest.err
3114 } && test -s conftest.$ac_objext; then
3115 ac_cv_prog_cc_c89=$ac_arg 3482 ac_cv_prog_cc_c89=$ac_arg
3116else
3117 echo "$as_me: failed program was:" >&5
3118sed 's/^/| /' conftest.$ac_ext >&5
3119
3120
3121fi 3483fi
3122
3123rm -f core conftest.err conftest.$ac_objext 3484rm -f core conftest.err conftest.$ac_objext
3124 test "x$ac_cv_prog_cc_c89" != "xno" && break 3485 test "x$ac_cv_prog_cc_c89" != "xno" && break
3125done 3486done
3126rm -f conftest.$ac_ext 3487rm -f conftest.$ac_ext
3127CC=$ac_save_CC 3488CC=$ac_save_CC
3128 3489
3129fi 3490fi
3130# AC_CACHE_VAL 3491# AC_CACHE_VAL
3131case "x$ac_cv_prog_cc_c89" in 3492case "x$ac_cv_prog_cc_c89" in
3132 x) 3493 x)
3133 { echo "$as_me:$LINENO: result: none needed" >&5 3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3134echo "${ECHO_T}none needed" >&6; } ;; 3495$as_echo "none needed" >&6; } ;;
3135 xno) 3496 xno)
3136 { echo "$as_me:$LINENO: result: unsupported" >&5 3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3137echo "${ECHO_T}unsupported" >&6; } ;; 3498$as_echo "unsupported" >&6; } ;;
3138 *) 3499 *)
3139 CC="$CC $ac_cv_prog_cc_c89" 3500 CC="$CC $ac_cv_prog_cc_c89"
3140 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3141echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3502$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3142esac 3503esac
3504if test "x$ac_cv_prog_cc_c89" != xno; then :
3143 3505
3506fi
3144 3507
3145ac_ext=c 3508ac_ext=c
3146ac_cpp='$CPP $CPPFLAGS' 3509ac_cpp='$CPP $CPPFLAGS'
3147ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3510ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3148ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3511ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3157am__doit: 3520am__doit:
3158 @echo done 3521 @echo done
3159.PHONY: am__doit 3522.PHONY: am__doit
3160END 3523END
3161# If we don't find an include directive, just comment out the code. 3524# If we don't find an include directive, just comment out the code.
3162{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3163echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 3526$as_echo_n "checking for style of include used by $am_make... " >&6; }
3164am__include="#" 3527am__include="#"
3165am__quote= 3528am__quote=
3166_am_result=none 3529_am_result=none
3167# First try GNU make style include. 3530# First try GNU make style include.
3168echo "include confinc" > confmf 3531echo "include confinc" > confmf
3185 _am_result=BSD 3548 _am_result=BSD
3186 fi 3549 fi
3187fi 3550fi
3188 3551
3189 3552
3190{ echo "$as_me:$LINENO: result: $_am_result" >&5 3553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3191echo "${ECHO_T}$_am_result" >&6; } 3554$as_echo "$_am_result" >&6; }
3192rm -f confinc confmf 3555rm -f confinc confmf
3193 3556
3194# Check whether --enable-dependency-tracking was given. 3557# Check whether --enable-dependency-tracking was given.
3195if test "${enable_dependency_tracking+set}" = set; then 3558if test "${enable_dependency_tracking+set}" = set; then :
3196 enableval=$enable_dependency_tracking; 3559 enableval=$enable_dependency_tracking;
3197fi 3560fi
3198 3561
3199if test "x$enable_dependency_tracking" != xno; then 3562if test "x$enable_dependency_tracking" != xno; then
3200 am_depcomp="$ac_aux_dir/depcomp" 3563 am_depcomp="$ac_aux_dir/depcomp"
3210 3573
3211 3574
3212 3575
3213depcc="$CC" am_compiler_list= 3576depcc="$CC" am_compiler_list=
3214 3577
3215{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3216echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3579$as_echo_n "checking dependency style of $depcc... " >&6; }
3217if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3580if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3218 echo $ECHO_N "(cached) $ECHO_C" >&6 3581 $as_echo_n "(cached) " >&6
3219else 3582else
3220 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3583 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3221 # We make a subdir and do the tests there. Otherwise we can end up 3584 # We make a subdir and do the tests there. Otherwise we can end up
3222 # making bogus files that we don't know about and never remove. For 3585 # making bogus files that we don't know about and never remove. For
3223 # instance it was reported that on HP-UX the gcc test will end up 3586 # instance it was reported that on HP-UX the gcc test will end up
3301else 3664else
3302 am_cv_CC_dependencies_compiler_type=none 3665 am_cv_CC_dependencies_compiler_type=none
3303fi 3666fi
3304 3667
3305fi 3668fi
3306{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3307echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3670$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3308CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3671CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3309 3672
3310 if 3673 if
3311 test "x$enable_dependency_tracking" != xno \ 3674 test "x$enable_dependency_tracking" != xno \
3312 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3675 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3323ac_ext=c 3686ac_ext=c
3324ac_cpp='$CPP $CPPFLAGS' 3687ac_cpp='$CPP $CPPFLAGS'
3325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3327ac_compiler_gnu=$ac_cv_c_compiler_gnu 3690ac_compiler_gnu=$ac_cv_c_compiler_gnu
3328{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3329echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3692$as_echo_n "checking how to run the C preprocessor... " >&6; }
3330# On Suns, sometimes $CPP names a directory. 3693# On Suns, sometimes $CPP names a directory.
3331if test -n "$CPP" && test -d "$CPP"; then 3694if test -n "$CPP" && test -d "$CPP"; then
3332 CPP= 3695 CPP=
3333fi 3696fi
3334if test -z "$CPP"; then 3697if test -z "$CPP"; then
3335 if test "${ac_cv_prog_CPP+set}" = set; then 3698 if ${ac_cv_prog_CPP+:} false; then :
3336 echo $ECHO_N "(cached) $ECHO_C" >&6 3699 $as_echo_n "(cached) " >&6
3337else 3700else
3338 # Double quotes because CPP needs to be expanded 3701 # Double quotes because CPP needs to be expanded
3339 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3702 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3340 do 3703 do
3341 ac_preproc_ok=false 3704 ac_preproc_ok=false
3345 # with a fresh cross-compiler works. 3708 # with a fresh cross-compiler works.
3346 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3709 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3347 # <limits.h> exists even on freestanding compilers. 3710 # <limits.h> exists even on freestanding compilers.
3348 # On the NeXT, cc -E runs the code through the compiler's parser, 3711 # On the NeXT, cc -E runs the code through the compiler's parser,
3349 # not just through cpp. "Syntax error" is here to catch this case. 3712 # not just through cpp. "Syntax error" is here to catch this case.
3350 cat >conftest.$ac_ext <<_ACEOF
3351/* confdefs.h. */
3352_ACEOF
3353cat confdefs.h >>conftest.$ac_ext 3713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354cat >>conftest.$ac_ext <<_ACEOF
3355/* end confdefs.h. */ 3714/* end confdefs.h. */
3356#ifdef __STDC__ 3715#ifdef __STDC__
3357# include <limits.h> 3716# include <limits.h>
3358#else 3717#else
3359# include <assert.h> 3718# include <assert.h>
3360#endif 3719#endif
3361 Syntax error 3720 Syntax error
3362_ACEOF 3721_ACEOF
3363if { (ac_try="$ac_cpp conftest.$ac_ext" 3722if ac_fn_c_try_cpp "$LINENO"; then :
3364case "(($ac_try" in
3365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3366 *) ac_try_echo=$ac_try;;
3367esac
3368eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3369 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3370 ac_status=$?
3371 grep -v '^ *+' conftest.er1 >conftest.err
3372 rm -f conftest.er1
3373 cat conftest.err >&5
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); } >/dev/null && {
3376 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3377 test ! -s conftest.err
3378 }; then
3379 :
3380else
3381 echo "$as_me: failed program was:" >&5
3382sed 's/^/| /' conftest.$ac_ext >&5
3383 3723
3724else
3384 # Broken: fails on valid input. 3725 # Broken: fails on valid input.
3385continue 3726continue
3386fi 3727fi
3387
3388rm -f conftest.err conftest.$ac_ext 3728rm -f conftest.err conftest.i conftest.$ac_ext
3389 3729
3390 # OK, works on sane cases. Now check whether nonexistent headers 3730 # OK, works on sane cases. Now check whether nonexistent headers
3391 # can be detected and how. 3731 # can be detected and how.
3392 cat >conftest.$ac_ext <<_ACEOF
3393/* confdefs.h. */
3394_ACEOF
3395cat confdefs.h >>conftest.$ac_ext 3732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396cat >>conftest.$ac_ext <<_ACEOF
3397/* end confdefs.h. */ 3733/* end confdefs.h. */
3398#include <ac_nonexistent.h> 3734#include <ac_nonexistent.h>
3399_ACEOF 3735_ACEOF
3400if { (ac_try="$ac_cpp conftest.$ac_ext" 3736if ac_fn_c_try_cpp "$LINENO"; then :
3401case "(($ac_try" in
3402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3403 *) ac_try_echo=$ac_try;;
3404esac
3405eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3406 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3407 ac_status=$?
3408 grep -v '^ *+' conftest.er1 >conftest.err
3409 rm -f conftest.er1
3410 cat conftest.err >&5
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); } >/dev/null && {
3413 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3414 test ! -s conftest.err
3415 }; then
3416 # Broken: success on invalid input. 3737 # Broken: success on invalid input.
3417continue 3738continue
3418else 3739else
3419 echo "$as_me: failed program was:" >&5
3420sed 's/^/| /' conftest.$ac_ext >&5
3421
3422 # Passes both tests. 3740 # Passes both tests.
3423ac_preproc_ok=: 3741ac_preproc_ok=:
3424break 3742break
3425fi 3743fi
3426
3427rm -f conftest.err conftest.$ac_ext 3744rm -f conftest.err conftest.i conftest.$ac_ext
3428 3745
3429done 3746done
3430# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3747# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3431rm -f conftest.err conftest.$ac_ext 3748rm -f conftest.i conftest.err conftest.$ac_ext
3432if $ac_preproc_ok; then 3749if $ac_preproc_ok; then :
3433 break 3750 break
3434fi 3751fi
3435 3752
3436 done 3753 done
3437 ac_cv_prog_CPP=$CPP 3754 ac_cv_prog_CPP=$CPP
3439fi 3756fi
3440 CPP=$ac_cv_prog_CPP 3757 CPP=$ac_cv_prog_CPP
3441else 3758else
3442 ac_cv_prog_CPP=$CPP 3759 ac_cv_prog_CPP=$CPP
3443fi 3760fi
3444{ echo "$as_me:$LINENO: result: $CPP" >&5 3761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3445echo "${ECHO_T}$CPP" >&6; } 3762$as_echo "$CPP" >&6; }
3446ac_preproc_ok=false 3763ac_preproc_ok=false
3447for ac_c_preproc_warn_flag in '' yes 3764for ac_c_preproc_warn_flag in '' yes
3448do 3765do
3449 # Use a header file that comes with gcc, so configuring glibc 3766 # Use a header file that comes with gcc, so configuring glibc
3450 # with a fresh cross-compiler works. 3767 # with a fresh cross-compiler works.
3451 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3768 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3452 # <limits.h> exists even on freestanding compilers. 3769 # <limits.h> exists even on freestanding compilers.
3453 # On the NeXT, cc -E runs the code through the compiler's parser, 3770 # On the NeXT, cc -E runs the code through the compiler's parser,
3454 # not just through cpp. "Syntax error" is here to catch this case. 3771 # not just through cpp. "Syntax error" is here to catch this case.
3455 cat >conftest.$ac_ext <<_ACEOF
3456/* confdefs.h. */
3457_ACEOF
3458cat confdefs.h >>conftest.$ac_ext 3772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459cat >>conftest.$ac_ext <<_ACEOF
3460/* end confdefs.h. */ 3773/* end confdefs.h. */
3461#ifdef __STDC__ 3774#ifdef __STDC__
3462# include <limits.h> 3775# include <limits.h>
3463#else 3776#else
3464# include <assert.h> 3777# include <assert.h>
3465#endif 3778#endif
3466 Syntax error 3779 Syntax error
3467_ACEOF 3780_ACEOF
3468if { (ac_try="$ac_cpp conftest.$ac_ext" 3781if ac_fn_c_try_cpp "$LINENO"; then :
3469case "(($ac_try" in
3470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3471 *) ac_try_echo=$ac_try;;
3472esac
3473eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3474 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3475 ac_status=$?
3476 grep -v '^ *+' conftest.er1 >conftest.err
3477 rm -f conftest.er1
3478 cat conftest.err >&5
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); } >/dev/null && {
3481 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3482 test ! -s conftest.err
3483 }; then
3484 :
3485else
3486 echo "$as_me: failed program was:" >&5
3487sed 's/^/| /' conftest.$ac_ext >&5
3488 3782
3783else
3489 # Broken: fails on valid input. 3784 # Broken: fails on valid input.
3490continue 3785continue
3491fi 3786fi
3492
3493rm -f conftest.err conftest.$ac_ext 3787rm -f conftest.err conftest.i conftest.$ac_ext
3494 3788
3495 # OK, works on sane cases. Now check whether nonexistent headers 3789 # OK, works on sane cases. Now check whether nonexistent headers
3496 # can be detected and how. 3790 # can be detected and how.
3497 cat >conftest.$ac_ext <<_ACEOF
3498/* confdefs.h. */
3499_ACEOF
3500cat confdefs.h >>conftest.$ac_ext 3791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501cat >>conftest.$ac_ext <<_ACEOF
3502/* end confdefs.h. */ 3792/* end confdefs.h. */
3503#include <ac_nonexistent.h> 3793#include <ac_nonexistent.h>
3504_ACEOF 3794_ACEOF
3505if { (ac_try="$ac_cpp conftest.$ac_ext" 3795if ac_fn_c_try_cpp "$LINENO"; then :
3506case "(($ac_try" in
3507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3508 *) ac_try_echo=$ac_try;;
3509esac
3510eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3511 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3512 ac_status=$?
3513 grep -v '^ *+' conftest.er1 >conftest.err
3514 rm -f conftest.er1
3515 cat conftest.err >&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } >/dev/null && {
3518 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3519 test ! -s conftest.err
3520 }; then
3521 # Broken: success on invalid input. 3796 # Broken: success on invalid input.
3522continue 3797continue
3523else 3798else
3524 echo "$as_me: failed program was:" >&5
3525sed 's/^/| /' conftest.$ac_ext >&5
3526
3527 # Passes both tests. 3799 # Passes both tests.
3528ac_preproc_ok=: 3800ac_preproc_ok=:
3529break 3801break
3530fi 3802fi
3531
3532rm -f conftest.err conftest.$ac_ext 3803rm -f conftest.err conftest.i conftest.$ac_ext
3533 3804
3534done 3805done
3535# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3806# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3536rm -f conftest.err conftest.$ac_ext 3807rm -f conftest.i conftest.err conftest.$ac_ext
3537if $ac_preproc_ok; then 3808if $ac_preproc_ok; then :
3538 : 3809
3539else 3810else
3540 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3541See \`config.log' for more details." >&5 3812$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3542echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3813as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3543See \`config.log' for more details." >&2;} 3814See \`config.log' for more details" "$LINENO" 5; }
3544 { (exit 1); exit 1; }; }
3545fi 3815fi
3546 3816
3547ac_ext=c 3817ac_ext=c
3548ac_cpp='$CPP $CPPFLAGS' 3818ac_cpp='$CPP $CPPFLAGS'
3549ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3550ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3551ac_compiler_gnu=$ac_cv_c_compiler_gnu 3821ac_compiler_gnu=$ac_cv_c_compiler_gnu
3552 3822
3553 3823
3554{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3555echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3825$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3556if test "${ac_cv_path_GREP+set}" = set; then 3826if ${ac_cv_path_GREP+:} false; then :
3557 echo $ECHO_N "(cached) $ECHO_C" >&6 3827 $as_echo_n "(cached) " >&6
3558else 3828else
3559 # Extract the first word of "grep ggrep" to use in msg output
3560if test -z "$GREP"; then 3829 if test -z "$GREP"; then
3561set dummy grep ggrep; ac_prog_name=$2
3562if test "${ac_cv_path_GREP+set}" = set; then
3563 echo $ECHO_N "(cached) $ECHO_C" >&6
3564else
3565 ac_path_GREP_found=false 3830 ac_path_GREP_found=false
3566# Loop through the user's path and test for each of PROGNAME-LIST 3831 # Loop through the user's path and test for each of PROGNAME-LIST
3567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3833for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3569do 3834do
3570 IFS=$as_save_IFS 3835 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=. 3836 test -z "$as_dir" && as_dir=.
3572 for ac_prog in grep ggrep; do 3837 for ac_prog in grep ggrep; do
3573 for ac_exec_ext in '' $ac_executable_extensions; do 3838 for ac_exec_ext in '' $ac_executable_extensions; do
3574 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3839 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3575 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3840 as_fn_executable_p "$ac_path_GREP" || continue
3576 # Check for GNU ac_path_GREP and select it if it is found. 3841# Check for GNU ac_path_GREP and select it if it is found.
3577 # Check for GNU $ac_path_GREP 3842 # Check for GNU $ac_path_GREP
3578case `"$ac_path_GREP" --version 2>&1` in 3843case `"$ac_path_GREP" --version 2>&1` in
3579*GNU*) 3844*GNU*)
3580 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3845 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3581*) 3846*)
3582 ac_count=0 3847 ac_count=0
3583 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3848 $as_echo_n 0123456789 >"conftest.in"
3584 while : 3849 while :
3585 do 3850 do
3586 cat "conftest.in" "conftest.in" >"conftest.tmp" 3851 cat "conftest.in" "conftest.in" >"conftest.tmp"
3587 mv "conftest.tmp" "conftest.in" 3852 mv "conftest.tmp" "conftest.in"
3588 cp "conftest.in" "conftest.nl" 3853 cp "conftest.in" "conftest.nl"
3589 echo 'GREP' >> "conftest.nl" 3854 $as_echo 'GREP' >> "conftest.nl"
3590 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3855 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3591 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3856 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3592 ac_count=`expr $ac_count + 1` 3857 as_fn_arith $ac_count + 1 && ac_count=$as_val
3593 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3858 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3594 # Best one so far, save it but keep looking for a better one 3859 # Best one so far, save it but keep looking for a better one
3595 ac_cv_path_GREP="$ac_path_GREP" 3860 ac_cv_path_GREP="$ac_path_GREP"
3596 ac_path_GREP_max=$ac_count 3861 ac_path_GREP_max=$ac_count
3597 fi 3862 fi
3599 test $ac_count -gt 10 && break 3864 test $ac_count -gt 10 && break
3600 done 3865 done
3601 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3866 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3602esac 3867esac
3603 3868
3604
3605 $ac_path_GREP_found && break 3 3869 $ac_path_GREP_found && break 3
3870 done
3606 done 3871 done
3607done 3872 done
3608
3609done
3610IFS=$as_save_IFS 3873IFS=$as_save_IFS
3611
3612
3613fi
3614
3615GREP="$ac_cv_path_GREP"
3616if test -z "$GREP"; then 3874 if test -z "$ac_cv_path_GREP"; then
3617 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3875 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3618echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3876 fi
3619 { (exit 1); exit 1; }; }
3620fi
3621
3622else 3877else
3623 ac_cv_path_GREP=$GREP 3878 ac_cv_path_GREP=$GREP
3624fi 3879fi
3625 3880
3626
3627fi 3881fi
3628{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3629echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3883$as_echo "$ac_cv_path_GREP" >&6; }
3630 GREP="$ac_cv_path_GREP" 3884 GREP="$ac_cv_path_GREP"
3631 3885
3632 3886
3633{ echo "$as_me:$LINENO: checking for egrep" >&5 3887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3634echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3888$as_echo_n "checking for egrep... " >&6; }
3635if test "${ac_cv_path_EGREP+set}" = set; then 3889if ${ac_cv_path_EGREP+:} false; then :
3636 echo $ECHO_N "(cached) $ECHO_C" >&6 3890 $as_echo_n "(cached) " >&6
3637else 3891else
3638 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3892 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3639 then ac_cv_path_EGREP="$GREP -E" 3893 then ac_cv_path_EGREP="$GREP -E"
3640 else 3894 else
3641 # Extract the first word of "egrep" to use in msg output
3642if test -z "$EGREP"; then 3895 if test -z "$EGREP"; then
3643set dummy egrep; ac_prog_name=$2
3644if test "${ac_cv_path_EGREP+set}" = set; then
3645 echo $ECHO_N "(cached) $ECHO_C" >&6
3646else
3647 ac_path_EGREP_found=false 3896 ac_path_EGREP_found=false
3648# Loop through the user's path and test for each of PROGNAME-LIST 3897 # Loop through the user's path and test for each of PROGNAME-LIST
3649as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3650for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3899for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3651do 3900do
3652 IFS=$as_save_IFS 3901 IFS=$as_save_IFS
3653 test -z "$as_dir" && as_dir=. 3902 test -z "$as_dir" && as_dir=.
3654 for ac_prog in egrep; do 3903 for ac_prog in egrep; do
3655 for ac_exec_ext in '' $ac_executable_extensions; do 3904 for ac_exec_ext in '' $ac_executable_extensions; do
3656 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3905 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3657 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3906 as_fn_executable_p "$ac_path_EGREP" || continue
3658 # Check for GNU ac_path_EGREP and select it if it is found. 3907# Check for GNU ac_path_EGREP and select it if it is found.
3659 # Check for GNU $ac_path_EGREP 3908 # Check for GNU $ac_path_EGREP
3660case `"$ac_path_EGREP" --version 2>&1` in 3909case `"$ac_path_EGREP" --version 2>&1` in
3661*GNU*) 3910*GNU*)
3662 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3911 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3663*) 3912*)
3664 ac_count=0 3913 ac_count=0
3665 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3914 $as_echo_n 0123456789 >"conftest.in"
3666 while : 3915 while :
3667 do 3916 do
3668 cat "conftest.in" "conftest.in" >"conftest.tmp" 3917 cat "conftest.in" "conftest.in" >"conftest.tmp"
3669 mv "conftest.tmp" "conftest.in" 3918 mv "conftest.tmp" "conftest.in"
3670 cp "conftest.in" "conftest.nl" 3919 cp "conftest.in" "conftest.nl"
3671 echo 'EGREP' >> "conftest.nl" 3920 $as_echo 'EGREP' >> "conftest.nl"
3672 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3921 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3673 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3922 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3674 ac_count=`expr $ac_count + 1` 3923 as_fn_arith $ac_count + 1 && ac_count=$as_val
3675 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3924 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3676 # Best one so far, save it but keep looking for a better one 3925 # Best one so far, save it but keep looking for a better one
3677 ac_cv_path_EGREP="$ac_path_EGREP" 3926 ac_cv_path_EGREP="$ac_path_EGREP"
3678 ac_path_EGREP_max=$ac_count 3927 ac_path_EGREP_max=$ac_count
3679 fi 3928 fi
3681 test $ac_count -gt 10 && break 3930 test $ac_count -gt 10 && break
3682 done 3931 done
3683 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3932 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3684esac 3933esac
3685 3934
3686
3687 $ac_path_EGREP_found && break 3 3935 $ac_path_EGREP_found && break 3
3936 done
3688 done 3937 done
3689done 3938 done
3690
3691done
3692IFS=$as_save_IFS 3939IFS=$as_save_IFS
3693
3694
3695fi
3696
3697EGREP="$ac_cv_path_EGREP"
3698if test -z "$EGREP"; then 3940 if test -z "$ac_cv_path_EGREP"; then
3699 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3941 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3700echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3942 fi
3701 { (exit 1); exit 1; }; }
3702fi
3703
3704else 3943else
3705 ac_cv_path_EGREP=$EGREP 3944 ac_cv_path_EGREP=$EGREP
3706fi 3945fi
3707 3946
3708
3709 fi 3947 fi
3710fi 3948fi
3711{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3712echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 3950$as_echo "$ac_cv_path_EGREP" >&6; }
3713 EGREP="$ac_cv_path_EGREP" 3951 EGREP="$ac_cv_path_EGREP"
3714 3952
3715 3953
3716{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3717echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3955$as_echo_n "checking for ANSI C header files... " >&6; }
3718if test "${ac_cv_header_stdc+set}" = set; then 3956if ${ac_cv_header_stdc+:} false; then :
3719 echo $ECHO_N "(cached) $ECHO_C" >&6 3957 $as_echo_n "(cached) " >&6
3720else 3958else
3721 cat >conftest.$ac_ext <<_ACEOF
3722/* confdefs.h. */
3723_ACEOF
3724cat confdefs.h >>conftest.$ac_ext 3959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725cat >>conftest.$ac_ext <<_ACEOF
3726/* end confdefs.h. */ 3960/* end confdefs.h. */
3727#include <stdlib.h> 3961#include <stdlib.h>
3728#include <stdarg.h> 3962#include <stdarg.h>
3729#include <string.h> 3963#include <string.h>
3730#include <float.h> 3964#include <float.h>
3735 3969
3736 ; 3970 ;
3737 return 0; 3971 return 0;
3738} 3972}
3739_ACEOF 3973_ACEOF
3740rm -f conftest.$ac_objext 3974if ac_fn_c_try_compile "$LINENO"; then :
3741if { (ac_try="$ac_compile"
3742case "(($ac_try" in
3743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3744 *) ac_try_echo=$ac_try;;
3745esac
3746eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3747 (eval "$ac_compile") 2>conftest.er1
3748 ac_status=$?
3749 grep -v '^ *+' conftest.er1 >conftest.err
3750 rm -f conftest.er1
3751 cat conftest.err >&5
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); } && {
3754 test -z "$ac_c_werror_flag" ||
3755 test ! -s conftest.err
3756 } && test -s conftest.$ac_objext; then
3757 ac_cv_header_stdc=yes 3975 ac_cv_header_stdc=yes
3758else 3976else
3759 echo "$as_me: failed program was:" >&5
3760sed 's/^/| /' conftest.$ac_ext >&5
3761
3762 ac_cv_header_stdc=no 3977 ac_cv_header_stdc=no
3763fi 3978fi
3764
3765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3979rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3766 3980
3767if test $ac_cv_header_stdc = yes; then 3981if test $ac_cv_header_stdc = yes; then
3768 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3982 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3769 cat >conftest.$ac_ext <<_ACEOF
3770/* confdefs.h. */
3771_ACEOF
3772cat confdefs.h >>conftest.$ac_ext 3983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3773cat >>conftest.$ac_ext <<_ACEOF
3774/* end confdefs.h. */ 3984/* end confdefs.h. */
3775#include <string.h> 3985#include <string.h>
3776 3986
3777_ACEOF 3987_ACEOF
3778if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3988if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3779 $EGREP "memchr" >/dev/null 2>&1; then 3989 $EGREP "memchr" >/dev/null 2>&1; then :
3780 : 3990
3781else 3991else
3782 ac_cv_header_stdc=no 3992 ac_cv_header_stdc=no
3783fi 3993fi
3784rm -f conftest* 3994rm -f conftest*
3785 3995
3786fi 3996fi
3787 3997
3788if test $ac_cv_header_stdc = yes; then 3998if test $ac_cv_header_stdc = yes; then
3789 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3999 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3790 cat >conftest.$ac_ext <<_ACEOF
3791/* confdefs.h. */
3792_ACEOF
3793cat confdefs.h >>conftest.$ac_ext 4000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794cat >>conftest.$ac_ext <<_ACEOF
3795/* end confdefs.h. */ 4001/* end confdefs.h. */
3796#include <stdlib.h> 4002#include <stdlib.h>
3797 4003
3798_ACEOF 4004_ACEOF
3799if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4005if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3800 $EGREP "free" >/dev/null 2>&1; then 4006 $EGREP "free" >/dev/null 2>&1; then :
3801 : 4007
3802else 4008else
3803 ac_cv_header_stdc=no 4009 ac_cv_header_stdc=no
3804fi 4010fi
3805rm -f conftest* 4011rm -f conftest*
3806 4012
3807fi 4013fi
3808 4014
3809if test $ac_cv_header_stdc = yes; then 4015if test $ac_cv_header_stdc = yes; then
3810 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4016 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3811 if test "$cross_compiling" = yes; then 4017 if test "$cross_compiling" = yes; then :
3812 : 4018 :
3813else 4019else
3814 cat >conftest.$ac_ext <<_ACEOF
3815/* confdefs.h. */
3816_ACEOF
3817cat confdefs.h >>conftest.$ac_ext 4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3818cat >>conftest.$ac_ext <<_ACEOF
3819/* end confdefs.h. */ 4021/* end confdefs.h. */
3820#include <ctype.h> 4022#include <ctype.h>
3821#include <stdlib.h> 4023#include <stdlib.h>
3822#if ((' ' & 0x0FF) == 0x020) 4024#if ((' ' & 0x0FF) == 0x020)
3823# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4025# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3840 || toupper (i) != TOUPPER (i)) 4042 || toupper (i) != TOUPPER (i))
3841 return 2; 4043 return 2;
3842 return 0; 4044 return 0;
3843} 4045}
3844_ACEOF 4046_ACEOF
3845rm -f conftest$ac_exeext 4047if ac_fn_c_try_run "$LINENO"; then :
3846if { (ac_try="$ac_link"
3847case "(($ac_try" in
3848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
3850esac
3851eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3852 (eval "$ac_link") 2>&5
3853 ac_status=$?
3854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3856 { (case "(($ac_try" in
3857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3858 *) ac_try_echo=$ac_try;;
3859esac
3860eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3861 (eval "$ac_try") 2>&5
3862 ac_status=$?
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); }; }; then
3865 :
3866else
3867 echo "$as_me: program exited with status $ac_status" >&5
3868echo "$as_me: failed program was:" >&5
3869sed 's/^/| /' conftest.$ac_ext >&5
3870 4048
3871( exit $ac_status ) 4049else
3872ac_cv_header_stdc=no 4050 ac_cv_header_stdc=no
3873fi 4051fi
3874rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4052rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4053 conftest.$ac_objext conftest.beam conftest.$ac_ext
3875fi 4054fi
3876 4055
3877
3878fi 4056fi
3879fi 4057fi
3880{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3881echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4059$as_echo "$ac_cv_header_stdc" >&6; }
3882if test $ac_cv_header_stdc = yes; then 4060if test $ac_cv_header_stdc = yes; then
3883 4061
3884cat >>confdefs.h <<\_ACEOF 4062$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3885#define STDC_HEADERS 1
3886_ACEOF
3887 4063
3888fi 4064fi
3889 4065
3890 4066
3891ac_ext=cpp 4067ac_ext=cpp
3900 if test -n "$ac_tool_prefix"; then 4076 if test -n "$ac_tool_prefix"; then
3901 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4077 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3902 do 4078 do
3903 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4079 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3904set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4080set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3905{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3906echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4082$as_echo_n "checking for $ac_word... " >&6; }
3907if test "${ac_cv_prog_CXX+set}" = set; then 4083if ${ac_cv_prog_CXX+:} false; then :
3908 echo $ECHO_N "(cached) $ECHO_C" >&6 4084 $as_echo_n "(cached) " >&6
3909else 4085else
3910 if test -n "$CXX"; then 4086 if test -n "$CXX"; then
3911 ac_cv_prog_CXX="$CXX" # Let the user override the test. 4087 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3912else 4088else
3913as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4089as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3914for as_dir in $PATH 4090for as_dir in $PATH
3915do 4091do
3916 IFS=$as_save_IFS 4092 IFS=$as_save_IFS
3917 test -z "$as_dir" && as_dir=. 4093 test -z "$as_dir" && as_dir=.
3918 for ac_exec_ext in '' $ac_executable_extensions; do 4094 for ac_exec_ext in '' $ac_executable_extensions; do
3919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3920 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 4096 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3922 break 2 4098 break 2
3923 fi 4099 fi
3924done 4100done
3925done 4101 done
3926IFS=$as_save_IFS 4102IFS=$as_save_IFS
3927 4103
3928fi 4104fi
3929fi 4105fi
3930CXX=$ac_cv_prog_CXX 4106CXX=$ac_cv_prog_CXX
3931if test -n "$CXX"; then 4107if test -n "$CXX"; then
3932 { echo "$as_me:$LINENO: result: $CXX" >&5 4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3933echo "${ECHO_T}$CXX" >&6; } 4109$as_echo "$CXX" >&6; }
3934else 4110else
3935 { echo "$as_me:$LINENO: result: no" >&5 4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3936echo "${ECHO_T}no" >&6; } 4112$as_echo "no" >&6; }
3937fi 4113fi
3938 4114
3939 4115
3940 test -n "$CXX" && break 4116 test -n "$CXX" && break
3941 done 4117 done
3944 ac_ct_CXX=$CXX 4120 ac_ct_CXX=$CXX
3945 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4121 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3946do 4122do
3947 # Extract the first word of "$ac_prog", so it can be a program name with args. 4123 # Extract the first word of "$ac_prog", so it can be a program name with args.
3948set dummy $ac_prog; ac_word=$2 4124set dummy $ac_prog; ac_word=$2
3949{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3950echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4126$as_echo_n "checking for $ac_word... " >&6; }
3951if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 4127if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3952 echo $ECHO_N "(cached) $ECHO_C" >&6 4128 $as_echo_n "(cached) " >&6
3953else 4129else
3954 if test -n "$ac_ct_CXX"; then 4130 if test -n "$ac_ct_CXX"; then
3955 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 4131 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3956else 4132else
3957as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4133as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3958for as_dir in $PATH 4134for as_dir in $PATH
3959do 4135do
3960 IFS=$as_save_IFS 4136 IFS=$as_save_IFS
3961 test -z "$as_dir" && as_dir=. 4137 test -z "$as_dir" && as_dir=.
3962 for ac_exec_ext in '' $ac_executable_extensions; do 4138 for ac_exec_ext in '' $ac_executable_extensions; do
3963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3964 ac_cv_prog_ac_ct_CXX="$ac_prog" 4140 ac_cv_prog_ac_ct_CXX="$ac_prog"
3965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 break 2 4142 break 2
3967 fi 4143 fi
3968done 4144done
3969done 4145 done
3970IFS=$as_save_IFS 4146IFS=$as_save_IFS
3971 4147
3972fi 4148fi
3973fi 4149fi
3974ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 4150ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3975if test -n "$ac_ct_CXX"; then 4151if test -n "$ac_ct_CXX"; then
3976 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3977echo "${ECHO_T}$ac_ct_CXX" >&6; } 4153$as_echo "$ac_ct_CXX" >&6; }
3978else 4154else
3979 { echo "$as_me:$LINENO: result: no" >&5 4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3980echo "${ECHO_T}no" >&6; } 4156$as_echo "no" >&6; }
3981fi 4157fi
3982 4158
3983 4159
3984 test -n "$ac_ct_CXX" && break 4160 test -n "$ac_ct_CXX" && break
3985done 4161done
3987 if test "x$ac_ct_CXX" = x; then 4163 if test "x$ac_ct_CXX" = x; then
3988 CXX="g++" 4164 CXX="g++"
3989 else 4165 else
3990 case $cross_compiling:$ac_tool_warned in 4166 case $cross_compiling:$ac_tool_warned in
3991yes:) 4167yes:)
3992{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4168{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3993whose name does not start with the host triplet. If you think this 4169$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3994configuration is useful to you, please write to autoconf@gnu.org." >&5
3995echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3996whose name does not start with the host triplet. If you think this
3997configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3998ac_tool_warned=yes ;; 4170ac_tool_warned=yes ;;
3999esac 4171esac
4000 CXX=$ac_ct_CXX 4172 CXX=$ac_ct_CXX
4001 fi 4173 fi
4002fi 4174fi
4003 4175
4004 fi 4176 fi
4005fi 4177fi
4006# Provide some information about the compiler. 4178# Provide some information about the compiler.
4007echo "$as_me:$LINENO: checking for C++ compiler version" >&5 4179$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4008ac_compiler=`set X $ac_compile; echo $2` 4180set X $ac_compile
4181ac_compiler=$2
4182for ac_option in --version -v -V -qversion; do
4009{ (ac_try="$ac_compiler --version >&5" 4183 { { ac_try="$ac_compiler $ac_option >&5"
4010case "(($ac_try" in 4184case "(($ac_try" in
4011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4012 *) ac_try_echo=$ac_try;; 4186 *) ac_try_echo=$ac_try;;
4013esac 4187esac
4014eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4188eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4015 (eval "$ac_compiler --version >&5") 2>&5 4189$as_echo "$ac_try_echo"; } >&5
4190 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4016 ac_status=$? 4191 ac_status=$?
4192 if test -s conftest.err; then
4193 sed '10a\
4194... rest of stderr output deleted ...
4195 10q' conftest.err >conftest.er1
4196 cat conftest.er1 >&5
4197 fi
4198 rm -f conftest.er1 conftest.err
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4018 (exit $ac_status); } 4200 test $ac_status = 0; }
4019{ (ac_try="$ac_compiler -v >&5" 4201done
4020case "(($ac_try" in
4021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4022 *) ac_try_echo=$ac_try;;
4023esac
4024eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4025 (eval "$ac_compiler -v >&5") 2>&5
4026 ac_status=$?
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); }
4029{ (ac_try="$ac_compiler -V >&5"
4030case "(($ac_try" in
4031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4033esac
4034eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4035 (eval "$ac_compiler -V >&5") 2>&5
4036 ac_status=$?
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }
4039 4202
4040{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 4203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4041echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 4204$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4042if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 4205if ${ac_cv_cxx_compiler_gnu+:} false; then :
4043 echo $ECHO_N "(cached) $ECHO_C" >&6 4206 $as_echo_n "(cached) " >&6
4044else 4207else
4045 cat >conftest.$ac_ext <<_ACEOF
4046/* confdefs.h. */
4047_ACEOF
4048cat confdefs.h >>conftest.$ac_ext 4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4049cat >>conftest.$ac_ext <<_ACEOF
4050/* end confdefs.h. */ 4209/* end confdefs.h. */
4051 4210
4052int 4211int
4053main () 4212main ()
4054{ 4213{
4058 4217
4059 ; 4218 ;
4060 return 0; 4219 return 0;
4061} 4220}
4062_ACEOF 4221_ACEOF
4063rm -f conftest.$ac_objext 4222if ac_fn_cxx_try_compile "$LINENO"; then :
4064if { (ac_try="$ac_compile"
4065case "(($ac_try" in
4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4068esac
4069eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4070 (eval "$ac_compile") 2>conftest.er1
4071 ac_status=$?
4072 grep -v '^ *+' conftest.er1 >conftest.err
4073 rm -f conftest.er1
4074 cat conftest.err >&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); } && {
4077 test -z "$ac_cxx_werror_flag" ||
4078 test ! -s conftest.err
4079 } && test -s conftest.$ac_objext; then
4080 ac_compiler_gnu=yes 4223 ac_compiler_gnu=yes
4081else 4224else
4082 echo "$as_me: failed program was:" >&5
4083sed 's/^/| /' conftest.$ac_ext >&5
4084
4085 ac_compiler_gnu=no 4225 ac_compiler_gnu=no
4086fi 4226fi
4087
4088rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4089ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4228ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4090 4229
4091fi 4230fi
4092{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 4231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4093echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 4232$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4094GXX=`test $ac_compiler_gnu = yes && echo yes` 4233if test $ac_compiler_gnu = yes; then
4234 GXX=yes
4235else
4236 GXX=
4237fi
4095ac_test_CXXFLAGS=${CXXFLAGS+set} 4238ac_test_CXXFLAGS=${CXXFLAGS+set}
4096ac_save_CXXFLAGS=$CXXFLAGS 4239ac_save_CXXFLAGS=$CXXFLAGS
4097{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 4240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4098echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 4241$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4099if test "${ac_cv_prog_cxx_g+set}" = set; then 4242if ${ac_cv_prog_cxx_g+:} false; then :
4100 echo $ECHO_N "(cached) $ECHO_C" >&6 4243 $as_echo_n "(cached) " >&6
4101else 4244else
4102 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 4245 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4103 ac_cxx_werror_flag=yes 4246 ac_cxx_werror_flag=yes
4104 ac_cv_prog_cxx_g=no 4247 ac_cv_prog_cxx_g=no
4105 CXXFLAGS="-g" 4248 CXXFLAGS="-g"
4106 cat >conftest.$ac_ext <<_ACEOF
4107/* confdefs.h. */
4108_ACEOF
4109cat confdefs.h >>conftest.$ac_ext 4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110cat >>conftest.$ac_ext <<_ACEOF
4111/* end confdefs.h. */ 4250/* end confdefs.h. */
4112 4251
4113int 4252int
4114main () 4253main ()
4115{ 4254{
4116 4255
4117 ; 4256 ;
4118 return 0; 4257 return 0;
4119} 4258}
4120_ACEOF 4259_ACEOF
4121rm -f conftest.$ac_objext 4260if ac_fn_cxx_try_compile "$LINENO"; then :
4122if { (ac_try="$ac_compile"
4123case "(($ac_try" in
4124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4125 *) ac_try_echo=$ac_try;;
4126esac
4127eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4128 (eval "$ac_compile") 2>conftest.er1
4129 ac_status=$?
4130 grep -v '^ *+' conftest.er1 >conftest.err
4131 rm -f conftest.er1
4132 cat conftest.err >&5
4133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4134 (exit $ac_status); } && {
4135 test -z "$ac_cxx_werror_flag" ||
4136 test ! -s conftest.err
4137 } && test -s conftest.$ac_objext; then
4138 ac_cv_prog_cxx_g=yes 4261 ac_cv_prog_cxx_g=yes
4139else 4262else
4140 echo "$as_me: failed program was:" >&5
4141sed 's/^/| /' conftest.$ac_ext >&5
4142
4143 CXXFLAGS="" 4263 CXXFLAGS=""
4144 cat >conftest.$ac_ext <<_ACEOF
4145/* confdefs.h. */
4146_ACEOF
4147cat confdefs.h >>conftest.$ac_ext 4264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4148cat >>conftest.$ac_ext <<_ACEOF
4149/* end confdefs.h. */ 4265/* end confdefs.h. */
4150 4266
4151int 4267int
4152main () 4268main ()
4153{ 4269{
4154 4270
4155 ; 4271 ;
4156 return 0; 4272 return 0;
4157} 4273}
4158_ACEOF 4274_ACEOF
4159rm -f conftest.$ac_objext 4275if ac_fn_cxx_try_compile "$LINENO"; then :
4160if { (ac_try="$ac_compile"
4161case "(($ac_try" in
4162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4163 *) ac_try_echo=$ac_try;;
4164esac
4165eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4166 (eval "$ac_compile") 2>conftest.er1
4167 ac_status=$?
4168 grep -v '^ *+' conftest.er1 >conftest.err
4169 rm -f conftest.er1
4170 cat conftest.err >&5
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); } && {
4173 test -z "$ac_cxx_werror_flag" ||
4174 test ! -s conftest.err
4175 } && test -s conftest.$ac_objext; then
4176 :
4177else
4178 echo "$as_me: failed program was:" >&5
4179sed 's/^/| /' conftest.$ac_ext >&5
4180 4276
4277else
4181 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4278 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4182 CXXFLAGS="-g" 4279 CXXFLAGS="-g"
4183 cat >conftest.$ac_ext <<_ACEOF
4184/* confdefs.h. */
4185_ACEOF
4186cat confdefs.h >>conftest.$ac_ext 4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187cat >>conftest.$ac_ext <<_ACEOF
4188/* end confdefs.h. */ 4281/* end confdefs.h. */
4189 4282
4190int 4283int
4191main () 4284main ()
4192{ 4285{
4193 4286
4194 ; 4287 ;
4195 return 0; 4288 return 0;
4196} 4289}
4197_ACEOF 4290_ACEOF
4198rm -f conftest.$ac_objext 4291if ac_fn_cxx_try_compile "$LINENO"; then :
4199if { (ac_try="$ac_compile"
4200case "(($ac_try" in
4201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4202 *) ac_try_echo=$ac_try;;
4203esac
4204eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4205 (eval "$ac_compile") 2>conftest.er1
4206 ac_status=$?
4207 grep -v '^ *+' conftest.er1 >conftest.err
4208 rm -f conftest.er1
4209 cat conftest.err >&5
4210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211 (exit $ac_status); } && {
4212 test -z "$ac_cxx_werror_flag" ||
4213 test ! -s conftest.err
4214 } && test -s conftest.$ac_objext; then
4215 ac_cv_prog_cxx_g=yes 4292 ac_cv_prog_cxx_g=yes
4216else
4217 echo "$as_me: failed program was:" >&5
4218sed 's/^/| /' conftest.$ac_ext >&5
4219
4220
4221fi 4293fi
4222
4223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4294rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224fi 4295fi
4225
4226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4296rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227fi 4297fi
4228
4229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4230 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4299 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4231fi 4300fi
4232{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 4301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4233echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 4302$as_echo "$ac_cv_prog_cxx_g" >&6; }
4234if test "$ac_test_CXXFLAGS" = set; then 4303if test "$ac_test_CXXFLAGS" = set; then
4235 CXXFLAGS=$ac_save_CXXFLAGS 4304 CXXFLAGS=$ac_save_CXXFLAGS
4236elif test $ac_cv_prog_cxx_g = yes; then 4305elif test $ac_cv_prog_cxx_g = yes; then
4237 if test "$GXX" = yes; then 4306 if test "$GXX" = yes; then
4238 CXXFLAGS="-g -O2" 4307 CXXFLAGS="-g -O2"
4252ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4321ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4253ac_compiler_gnu=$ac_cv_c_compiler_gnu 4322ac_compiler_gnu=$ac_cv_c_compiler_gnu
4254 4323
4255depcc="$CXX" am_compiler_list= 4324depcc="$CXX" am_compiler_list=
4256 4325
4257{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 4326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4258echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 4327$as_echo_n "checking dependency style of $depcc... " >&6; }
4259if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 4328if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4260 echo $ECHO_N "(cached) $ECHO_C" >&6 4329 $as_echo_n "(cached) " >&6
4261else 4330else
4262 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4331 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4263 # We make a subdir and do the tests there. Otherwise we can end up 4332 # We make a subdir and do the tests there. Otherwise we can end up
4264 # making bogus files that we don't know about and never remove. For 4333 # making bogus files that we don't know about and never remove. For
4265 # instance it was reported that on HP-UX the gcc test will end up 4334 # instance it was reported that on HP-UX the gcc test will end up
4343else 4412else
4344 am_cv_CXX_dependencies_compiler_type=none 4413 am_cv_CXX_dependencies_compiler_type=none
4345fi 4414fi
4346 4415
4347fi 4416fi
4348{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 4417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4349echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } 4418$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4350CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4419CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4351 4420
4352 if 4421 if
4353 test "x$enable_dependency_tracking" != xno \ 4422 test "x$enable_dependency_tracking" != xno \
4354 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4423 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4369 4438
4370 4439
4371 4440
4372 4441
4373 4442
4374
4375# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4386 inttypes.h stdint.h unistd.h
4387do
4388as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4389{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4390echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4391if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4393else
4394 cat >conftest.$ac_ext <<_ACEOF
4395/* confdefs.h. */
4396_ACEOF
4397cat confdefs.h >>conftest.$ac_ext
4398cat >>conftest.$ac_ext <<_ACEOF
4399/* end confdefs.h. */
4400$ac_includes_default
4401
4402#include <$ac_header>
4403_ACEOF
4404rm -f conftest.$ac_objext
4405if { (ac_try="$ac_compile"
4406case "(($ac_try" in
4407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4408 *) ac_try_echo=$ac_try;;
4409esac
4410eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4411 (eval "$ac_compile") 2>conftest.er1
4412 ac_status=$?
4413 grep -v '^ *+' conftest.er1 >conftest.err
4414 rm -f conftest.er1
4415 cat conftest.err >&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); } && {
4418 test -z "$ac_cxx_werror_flag" ||
4419 test ! -s conftest.err
4420 } && test -s conftest.$ac_objext; then
4421 eval "$as_ac_Header=yes"
4422else
4423 echo "$as_me: failed program was:" >&5
4424sed 's/^/| /' conftest.$ac_ext >&5
4425
4426 eval "$as_ac_Header=no"
4427fi
4428
4429rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4430fi
4431ac_res=`eval echo '${'$as_ac_Header'}'`
4432 { echo "$as_me:$LINENO: result: $ac_res" >&5
4433echo "${ECHO_T}$ac_res" >&6; }
4434if test `eval echo '${'$as_ac_Header'}'` = yes; then
4435 cat >>confdefs.h <<_ACEOF
4436#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4437_ACEOF
4438
4439fi
4440
4441done
4442
4443
4444ac_ext=cpp 4443ac_ext=cpp
4445ac_cpp='$CXXCPP $CPPFLAGS' 4444ac_cpp='$CXXCPP $CPPFLAGS'
4446ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4445ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4447ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4446ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4448ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4447ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4449{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 4448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4450echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } 4449$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4451if test -z "$CXXCPP"; then 4450if test -z "$CXXCPP"; then
4452 if test "${ac_cv_prog_CXXCPP+set}" = set; then 4451 if ${ac_cv_prog_CXXCPP+:} false; then :
4453 echo $ECHO_N "(cached) $ECHO_C" >&6 4452 $as_echo_n "(cached) " >&6
4454else 4453else
4455 # Double quotes because CXXCPP needs to be expanded 4454 # Double quotes because CXXCPP needs to be expanded
4456 for CXXCPP in "$CXX -E" "/lib/cpp" 4455 for CXXCPP in "$CXX -E" "/lib/cpp"
4457 do 4456 do
4458 ac_preproc_ok=false 4457 ac_preproc_ok=false
4462 # with a fresh cross-compiler works. 4461 # with a fresh cross-compiler works.
4463 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4462 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4464 # <limits.h> exists even on freestanding compilers. 4463 # <limits.h> exists even on freestanding compilers.
4465 # On the NeXT, cc -E runs the code through the compiler's parser, 4464 # On the NeXT, cc -E runs the code through the compiler's parser,
4466 # not just through cpp. "Syntax error" is here to catch this case. 4465 # not just through cpp. "Syntax error" is here to catch this case.
4467 cat >conftest.$ac_ext <<_ACEOF
4468/* confdefs.h. */
4469_ACEOF
4470cat confdefs.h >>conftest.$ac_ext 4466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4471cat >>conftest.$ac_ext <<_ACEOF
4472/* end confdefs.h. */ 4467/* end confdefs.h. */
4473#ifdef __STDC__ 4468#ifdef __STDC__
4474# include <limits.h> 4469# include <limits.h>
4475#else 4470#else
4476# include <assert.h> 4471# include <assert.h>
4477#endif 4472#endif
4478 Syntax error 4473 Syntax error
4479_ACEOF 4474_ACEOF
4480if { (ac_try="$ac_cpp conftest.$ac_ext" 4475if ac_fn_cxx_try_cpp "$LINENO"; then :
4481case "(($ac_try" in
4482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4483 *) ac_try_echo=$ac_try;;
4484esac
4485eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4486 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4487 ac_status=$?
4488 grep -v '^ *+' conftest.er1 >conftest.err
4489 rm -f conftest.er1
4490 cat conftest.err >&5
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); } >/dev/null && {
4493 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4494 test ! -s conftest.err
4495 }; then
4496 :
4497else
4498 echo "$as_me: failed program was:" >&5
4499sed 's/^/| /' conftest.$ac_ext >&5
4500 4476
4477else
4501 # Broken: fails on valid input. 4478 # Broken: fails on valid input.
4502continue 4479continue
4503fi 4480fi
4504
4505rm -f conftest.err conftest.$ac_ext 4481rm -f conftest.err conftest.i conftest.$ac_ext
4506 4482
4507 # OK, works on sane cases. Now check whether nonexistent headers 4483 # OK, works on sane cases. Now check whether nonexistent headers
4508 # can be detected and how. 4484 # can be detected and how.
4509 cat >conftest.$ac_ext <<_ACEOF
4510/* confdefs.h. */
4511_ACEOF
4512cat confdefs.h >>conftest.$ac_ext 4485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4513cat >>conftest.$ac_ext <<_ACEOF
4514/* end confdefs.h. */ 4486/* end confdefs.h. */
4515#include <ac_nonexistent.h> 4487#include <ac_nonexistent.h>
4516_ACEOF 4488_ACEOF
4517if { (ac_try="$ac_cpp conftest.$ac_ext" 4489if ac_fn_cxx_try_cpp "$LINENO"; then :
4518case "(($ac_try" in
4519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4520 *) ac_try_echo=$ac_try;;
4521esac
4522eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4523 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4524 ac_status=$?
4525 grep -v '^ *+' conftest.er1 >conftest.err
4526 rm -f conftest.er1
4527 cat conftest.err >&5
4528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4529 (exit $ac_status); } >/dev/null && {
4530 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4531 test ! -s conftest.err
4532 }; then
4533 # Broken: success on invalid input. 4490 # Broken: success on invalid input.
4534continue 4491continue
4535else 4492else
4536 echo "$as_me: failed program was:" >&5
4537sed 's/^/| /' conftest.$ac_ext >&5
4538
4539 # Passes both tests. 4493 # Passes both tests.
4540ac_preproc_ok=: 4494ac_preproc_ok=:
4541break 4495break
4542fi 4496fi
4543
4544rm -f conftest.err conftest.$ac_ext 4497rm -f conftest.err conftest.i conftest.$ac_ext
4545 4498
4546done 4499done
4547# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4500# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4548rm -f conftest.err conftest.$ac_ext 4501rm -f conftest.i conftest.err conftest.$ac_ext
4549if $ac_preproc_ok; then 4502if $ac_preproc_ok; then :
4550 break 4503 break
4551fi 4504fi
4552 4505
4553 done 4506 done
4554 ac_cv_prog_CXXCPP=$CXXCPP 4507 ac_cv_prog_CXXCPP=$CXXCPP
4556fi 4509fi
4557 CXXCPP=$ac_cv_prog_CXXCPP 4510 CXXCPP=$ac_cv_prog_CXXCPP
4558else 4511else
4559 ac_cv_prog_CXXCPP=$CXXCPP 4512 ac_cv_prog_CXXCPP=$CXXCPP
4560fi 4513fi
4561{ echo "$as_me:$LINENO: result: $CXXCPP" >&5 4514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4562echo "${ECHO_T}$CXXCPP" >&6; } 4515$as_echo "$CXXCPP" >&6; }
4563ac_preproc_ok=false 4516ac_preproc_ok=false
4564for ac_cxx_preproc_warn_flag in '' yes 4517for ac_cxx_preproc_warn_flag in '' yes
4565do 4518do
4566 # Use a header file that comes with gcc, so configuring glibc 4519 # Use a header file that comes with gcc, so configuring glibc
4567 # with a fresh cross-compiler works. 4520 # with a fresh cross-compiler works.
4568 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4521 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4569 # <limits.h> exists even on freestanding compilers. 4522 # <limits.h> exists even on freestanding compilers.
4570 # On the NeXT, cc -E runs the code through the compiler's parser, 4523 # On the NeXT, cc -E runs the code through the compiler's parser,
4571 # not just through cpp. "Syntax error" is here to catch this case. 4524 # not just through cpp. "Syntax error" is here to catch this case.
4572 cat >conftest.$ac_ext <<_ACEOF
4573/* confdefs.h. */
4574_ACEOF
4575cat confdefs.h >>conftest.$ac_ext 4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4576cat >>conftest.$ac_ext <<_ACEOF
4577/* end confdefs.h. */ 4526/* end confdefs.h. */
4578#ifdef __STDC__ 4527#ifdef __STDC__
4579# include <limits.h> 4528# include <limits.h>
4580#else 4529#else
4581# include <assert.h> 4530# include <assert.h>
4582#endif 4531#endif
4583 Syntax error 4532 Syntax error
4584_ACEOF 4533_ACEOF
4585if { (ac_try="$ac_cpp conftest.$ac_ext" 4534if ac_fn_cxx_try_cpp "$LINENO"; then :
4586case "(($ac_try" in
4587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4588 *) ac_try_echo=$ac_try;;
4589esac
4590eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4591 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4592 ac_status=$?
4593 grep -v '^ *+' conftest.er1 >conftest.err
4594 rm -f conftest.er1
4595 cat conftest.err >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); } >/dev/null && {
4598 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4599 test ! -s conftest.err
4600 }; then
4601 :
4602else
4603 echo "$as_me: failed program was:" >&5
4604sed 's/^/| /' conftest.$ac_ext >&5
4605 4535
4536else
4606 # Broken: fails on valid input. 4537 # Broken: fails on valid input.
4607continue 4538continue
4608fi 4539fi
4609
4610rm -f conftest.err conftest.$ac_ext 4540rm -f conftest.err conftest.i conftest.$ac_ext
4611 4541
4612 # OK, works on sane cases. Now check whether nonexistent headers 4542 # OK, works on sane cases. Now check whether nonexistent headers
4613 # can be detected and how. 4543 # can be detected and how.
4614 cat >conftest.$ac_ext <<_ACEOF
4615/* confdefs.h. */
4616_ACEOF
4617cat confdefs.h >>conftest.$ac_ext 4544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618cat >>conftest.$ac_ext <<_ACEOF
4619/* end confdefs.h. */ 4545/* end confdefs.h. */
4620#include <ac_nonexistent.h> 4546#include <ac_nonexistent.h>
4621_ACEOF 4547_ACEOF
4622if { (ac_try="$ac_cpp conftest.$ac_ext" 4548if ac_fn_cxx_try_cpp "$LINENO"; then :
4623case "(($ac_try" in
4624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4625 *) ac_try_echo=$ac_try;;
4626esac
4627eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4628 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4629 ac_status=$?
4630 grep -v '^ *+' conftest.er1 >conftest.err
4631 rm -f conftest.er1
4632 cat conftest.err >&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); } >/dev/null && {
4635 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4636 test ! -s conftest.err
4637 }; then
4638 # Broken: success on invalid input. 4549 # Broken: success on invalid input.
4639continue 4550continue
4640else 4551else
4641 echo "$as_me: failed program was:" >&5
4642sed 's/^/| /' conftest.$ac_ext >&5
4643
4644 # Passes both tests. 4552 # Passes both tests.
4645ac_preproc_ok=: 4553ac_preproc_ok=:
4646break 4554break
4647fi 4555fi
4648
4649rm -f conftest.err conftest.$ac_ext 4556rm -f conftest.err conftest.i conftest.$ac_ext
4650 4557
4651done 4558done
4652# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4559# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4653rm -f conftest.err conftest.$ac_ext 4560rm -f conftest.i conftest.err conftest.$ac_ext
4654if $ac_preproc_ok; then 4561if $ac_preproc_ok; then :
4655 : 4562
4656else 4563else
4657 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4658See \`config.log' for more details." >&5 4565$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4659echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4566as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
4660See \`config.log' for more details." >&2;} 4567See \`config.log' for more details" "$LINENO" 5; }
4661 { (exit 1); exit 1; }; }
4662fi 4568fi
4663 4569
4664ac_ext=cpp 4570ac_ext=cpp
4665ac_cpp='$CXXCPP $CPPFLAGS' 4571ac_cpp='$CXXCPP $CPPFLAGS'
4666ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4572ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4667ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4573ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4668ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4574ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4669 4575
4670 4576
4577# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4578for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4579 inttypes.h stdint.h unistd.h
4580do :
4581 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4582ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4583"
4584if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4585 cat >>confdefs.h <<_ACEOF
4586#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4587_ACEOF
4588
4589fi
4590
4591done
4592
4671 4593
4672for ac_header in GL/gl.h 4594for ac_header in GL/gl.h
4673do 4595do :
4674as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4596 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
4675if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4597if test "x$ac_cv_header_GL_gl_h" = xyes; then :
4676 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4677echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4678if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4679 echo $ECHO_N "(cached) $ECHO_C" >&6
4680fi
4681ac_res=`eval echo '${'$as_ac_Header'}'`
4682 { echo "$as_me:$LINENO: result: $ac_res" >&5
4683echo "${ECHO_T}$ac_res" >&6; }
4684else
4685 # Is the header compilable?
4686{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4687echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4688cat >conftest.$ac_ext <<_ACEOF
4689/* confdefs.h. */
4690_ACEOF
4691cat confdefs.h >>conftest.$ac_ext
4692cat >>conftest.$ac_ext <<_ACEOF
4693/* end confdefs.h. */
4694$ac_includes_default
4695#include <$ac_header>
4696_ACEOF
4697rm -f conftest.$ac_objext
4698if { (ac_try="$ac_compile"
4699case "(($ac_try" in
4700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4701 *) ac_try_echo=$ac_try;;
4702esac
4703eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4704 (eval "$ac_compile") 2>conftest.er1
4705 ac_status=$?
4706 grep -v '^ *+' conftest.er1 >conftest.err
4707 rm -f conftest.er1
4708 cat conftest.err >&5
4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); } && {
4711 test -z "$ac_cxx_werror_flag" ||
4712 test ! -s conftest.err
4713 } && test -s conftest.$ac_objext; then
4714 ac_header_compiler=yes
4715else
4716 echo "$as_me: failed program was:" >&5
4717sed 's/^/| /' conftest.$ac_ext >&5
4718
4719 ac_header_compiler=no
4720fi
4721
4722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4724echo "${ECHO_T}$ac_header_compiler" >&6; }
4725
4726# Is the header present?
4727{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4728echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4729cat >conftest.$ac_ext <<_ACEOF
4730/* confdefs.h. */
4731_ACEOF
4732cat confdefs.h >>conftest.$ac_ext
4733cat >>conftest.$ac_ext <<_ACEOF
4734/* end confdefs.h. */
4735#include <$ac_header>
4736_ACEOF
4737if { (ac_try="$ac_cpp conftest.$ac_ext"
4738case "(($ac_try" in
4739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4740 *) ac_try_echo=$ac_try;;
4741esac
4742eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4744 ac_status=$?
4745 grep -v '^ *+' conftest.er1 >conftest.err
4746 rm -f conftest.er1
4747 cat conftest.err >&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); } >/dev/null && {
4750 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4751 test ! -s conftest.err
4752 }; then
4753 ac_header_preproc=yes
4754else
4755 echo "$as_me: failed program was:" >&5
4756sed 's/^/| /' conftest.$ac_ext >&5
4757
4758 ac_header_preproc=no
4759fi
4760
4761rm -f conftest.err conftest.$ac_ext
4762{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4763echo "${ECHO_T}$ac_header_preproc" >&6; }
4764
4765# So? What about this header?
4766case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4767 yes:no: )
4768 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4769echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4771echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4772 ac_header_preproc=yes
4773 ;;
4774 no:yes:* )
4775 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4776echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4777 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4778echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4779 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4780echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4781 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4782echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4784echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4785 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4786echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4787
4788 ;;
4789esac
4790{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4791echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4792if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4793 echo $ECHO_N "(cached) $ECHO_C" >&6
4794else
4795 eval "$as_ac_Header=\$ac_header_preproc"
4796fi
4797ac_res=`eval echo '${'$as_ac_Header'}'`
4798 { echo "$as_me:$LINENO: result: $ac_res" >&5
4799echo "${ECHO_T}$ac_res" >&6; }
4800
4801fi
4802if test `eval echo '${'$as_ac_Header'}'` = yes; then
4803 cat >>confdefs.h <<_ACEOF 4598 cat >>confdefs.h <<_ACEOF
4804#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4599#define HAVE_GL_GL_H 1
4805_ACEOF 4600_ACEOF
4806 4601
4807
4808for ac_header in GL/glu.h 4602 for ac_header in GL/glu.h
4809do 4603do :
4810as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4604 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "$ac_includes_default"
4811if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4605if test "x$ac_cv_header_GL_glu_h" = xyes; then :
4812 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4813echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4814if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4815 echo $ECHO_N "(cached) $ECHO_C" >&6
4816fi
4817ac_res=`eval echo '${'$as_ac_Header'}'`
4818 { echo "$as_me:$LINENO: result: $ac_res" >&5
4819echo "${ECHO_T}$ac_res" >&6; }
4820else
4821 # Is the header compilable?
4822{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4823echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4824cat >conftest.$ac_ext <<_ACEOF
4825/* confdefs.h. */
4826_ACEOF
4827cat confdefs.h >>conftest.$ac_ext
4828cat >>conftest.$ac_ext <<_ACEOF
4829/* end confdefs.h. */
4830$ac_includes_default
4831#include <$ac_header>
4832_ACEOF
4833rm -f conftest.$ac_objext
4834if { (ac_try="$ac_compile"
4835case "(($ac_try" in
4836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4837 *) ac_try_echo=$ac_try;;
4838esac
4839eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4840 (eval "$ac_compile") 2>conftest.er1
4841 ac_status=$?
4842 grep -v '^ *+' conftest.er1 >conftest.err
4843 rm -f conftest.er1
4844 cat conftest.err >&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); } && {
4847 test -z "$ac_cxx_werror_flag" ||
4848 test ! -s conftest.err
4849 } && test -s conftest.$ac_objext; then
4850 ac_header_compiler=yes
4851else
4852 echo "$as_me: failed program was:" >&5
4853sed 's/^/| /' conftest.$ac_ext >&5
4854
4855 ac_header_compiler=no
4856fi
4857
4858rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4859{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4860echo "${ECHO_T}$ac_header_compiler" >&6; }
4861
4862# Is the header present?
4863{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4864echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4865cat >conftest.$ac_ext <<_ACEOF
4866/* confdefs.h. */
4867_ACEOF
4868cat confdefs.h >>conftest.$ac_ext
4869cat >>conftest.$ac_ext <<_ACEOF
4870/* end confdefs.h. */
4871#include <$ac_header>
4872_ACEOF
4873if { (ac_try="$ac_cpp conftest.$ac_ext"
4874case "(($ac_try" in
4875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4876 *) ac_try_echo=$ac_try;;
4877esac
4878eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4879 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4880 ac_status=$?
4881 grep -v '^ *+' conftest.er1 >conftest.err
4882 rm -f conftest.er1
4883 cat conftest.err >&5
4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 (exit $ac_status); } >/dev/null && {
4886 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4887 test ! -s conftest.err
4888 }; then
4889 ac_header_preproc=yes
4890else
4891 echo "$as_me: failed program was:" >&5
4892sed 's/^/| /' conftest.$ac_ext >&5
4893
4894 ac_header_preproc=no
4895fi
4896
4897rm -f conftest.err conftest.$ac_ext
4898{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4899echo "${ECHO_T}$ac_header_preproc" >&6; }
4900
4901# So? What about this header?
4902case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4903 yes:no: )
4904 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4905echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4906 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4907echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4908 ac_header_preproc=yes
4909 ;;
4910 no:yes:* )
4911 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4912echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4913 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4914echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4915 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4916echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4917 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4918echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4920echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4921 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4922echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4923
4924 ;;
4925esac
4926{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4927echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4928if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4930else
4931 eval "$as_ac_Header=\$ac_header_preproc"
4932fi
4933ac_res=`eval echo '${'$as_ac_Header'}'`
4934 { echo "$as_me:$LINENO: result: $ac_res" >&5
4935echo "${ECHO_T}$ac_res" >&6; }
4936
4937fi
4938if test `eval echo '${'$as_ac_Header'}'` = yes; then
4939 cat >>confdefs.h <<_ACEOF 4606 cat >>confdefs.h <<_ACEOF
4940#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4607#define HAVE_GL_GLU_H 1
4941_ACEOF 4608_ACEOF
4942 4609
4943 { echo "$as_me:$LINENO: checking for X" >&5 4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4944echo $ECHO_N "checking for X... $ECHO_C" >&6; } 4611$as_echo_n "checking for X... " >&6; }
4945 4612
4946 4613
4947# Check whether --with-x was given. 4614# Check whether --with-x was given.
4948if test "${with_x+set}" = set; then 4615if test "${with_x+set}" = set; then :
4949 withval=$with_x; 4616 withval=$with_x;
4950fi 4617fi
4951 4618
4952# $have_x is `yes', `no', `disabled', or empty when we do not yet know. 4619# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4953if test "x$with_x" = xno; then 4620if test "x$with_x" = xno; then
4954 # The user explicitly disabled X. 4621 # The user explicitly disabled X.
4955 have_x=disabled 4622 have_x=disabled
4956else 4623else
4957 case $x_includes,$x_libraries in #( 4624 case $x_includes,$x_libraries in #(
4958 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 4625 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
4959echo "$as_me: error: Cannot use X directory names containing '" >&2;}
4960 { (exit 1); exit 1; }; };; #(
4961 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 4626 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
4962 echo $ECHO_N "(cached) $ECHO_C" >&6 4627 $as_echo_n "(cached) " >&6
4963else 4628else
4964 # One or both of the vars are not set, and there is no cached value. 4629 # One or both of the vars are not set, and there is no cached value.
4965ac_x_includes=no ac_x_libraries=no 4630ac_x_includes=no ac_x_libraries=no
4966rm -f -r conftest.dir 4631rm -f -r conftest.dir
4967if mkdir conftest.dir; then 4632if mkdir conftest.dir; then
4973 @echo usrlibdir='${USRLIBDIR}' 4638 @echo usrlibdir='${USRLIBDIR}'
4974libdir: 4639libdir:
4975 @echo libdir='${LIBDIR}' 4640 @echo libdir='${LIBDIR}'
4976_ACEOF 4641_ACEOF
4977 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 4642 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4978 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 4643 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4979 for ac_var in incroot usrlibdir libdir; do 4644 for ac_var in incroot usrlibdir libdir; do
4980 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 4645 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4981 done 4646 done
4982 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 4647 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4983 for ac_extension in a so sl; do 4648 for ac_extension in a so sl dylib la dll; do
4984 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 4649 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4985 test -f "$ac_im_libdir/libX11.$ac_extension"; then 4650 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4986 ac_im_usrlibdir=$ac_im_libdir; break 4651 ac_im_usrlibdir=$ac_im_libdir; break
4987 fi 4652 fi
4988 done 4653 done
4992 case $ac_im_incroot in 4657 case $ac_im_incroot in
4993 /usr/include) ac_x_includes= ;; 4658 /usr/include) ac_x_includes= ;;
4994 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 4659 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4995 esac 4660 esac
4996 case $ac_im_usrlibdir in 4661 case $ac_im_usrlibdir in
4997 /usr/lib | /lib) ;; 4662 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4998 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 4663 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4999 esac 4664 esac
5000 fi 4665 fi
5001 cd .. 4666 cd ..
5002 rm -f -r conftest.dir 4667 rm -f -r conftest.dir
5004 4669
5005# Standard set of common directories for X headers. 4670# Standard set of common directories for X headers.
5006# Check X11 before X11Rn because it is often a symlink to the current release. 4671# Check X11 before X11Rn because it is often a symlink to the current release.
5007ac_x_header_dirs=' 4672ac_x_header_dirs='
5008/usr/X11/include 4673/usr/X11/include
4674/usr/X11R7/include
5009/usr/X11R6/include 4675/usr/X11R6/include
5010/usr/X11R5/include 4676/usr/X11R5/include
5011/usr/X11R4/include 4677/usr/X11R4/include
5012 4678
5013/usr/include/X11 4679/usr/include/X11
4680/usr/include/X11R7
5014/usr/include/X11R6 4681/usr/include/X11R6
5015/usr/include/X11R5 4682/usr/include/X11R5
5016/usr/include/X11R4 4683/usr/include/X11R4
5017 4684
5018/usr/local/X11/include 4685/usr/local/X11/include
4686/usr/local/X11R7/include
5019/usr/local/X11R6/include 4687/usr/local/X11R6/include
5020/usr/local/X11R5/include 4688/usr/local/X11R5/include
5021/usr/local/X11R4/include 4689/usr/local/X11R4/include
5022 4690
5023/usr/local/include/X11 4691/usr/local/include/X11
4692/usr/local/include/X11R7
5024/usr/local/include/X11R6 4693/usr/local/include/X11R6
5025/usr/local/include/X11R5 4694/usr/local/include/X11R5
5026/usr/local/include/X11R4 4695/usr/local/include/X11R4
5027 4696
5028/usr/X386/include 4697/usr/X386/include
5040/usr/openwin/share/include' 4709/usr/openwin/share/include'
5041 4710
5042if test "$ac_x_includes" = no; then 4711if test "$ac_x_includes" = no; then
5043 # Guess where to find include files, by looking for Xlib.h. 4712 # Guess where to find include files, by looking for Xlib.h.
5044 # First, try using that file with no special directory specified. 4713 # First, try using that file with no special directory specified.
5045 cat >conftest.$ac_ext <<_ACEOF
5046/* confdefs.h. */
5047_ACEOF
5048cat confdefs.h >>conftest.$ac_ext 4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5049cat >>conftest.$ac_ext <<_ACEOF
5050/* end confdefs.h. */ 4715/* end confdefs.h. */
5051#include <X11/Xlib.h> 4716#include <X11/Xlib.h>
5052_ACEOF 4717_ACEOF
5053if { (ac_try="$ac_cpp conftest.$ac_ext" 4718if ac_fn_cxx_try_cpp "$LINENO"; then :
5054case "(($ac_try" in
5055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5056 *) ac_try_echo=$ac_try;;
5057esac
5058eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5059 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5060 ac_status=$?
5061 grep -v '^ *+' conftest.er1 >conftest.err
5062 rm -f conftest.er1
5063 cat conftest.err >&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); } >/dev/null && {
5066 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5067 test ! -s conftest.err
5068 }; then
5069 # We can compile using X headers with no special include directory. 4719 # We can compile using X headers with no special include directory.
5070ac_x_includes= 4720ac_x_includes=
5071else 4721else
5072 echo "$as_me: failed program was:" >&5
5073sed 's/^/| /' conftest.$ac_ext >&5
5074
5075 for ac_dir in $ac_x_header_dirs; do 4722 for ac_dir in $ac_x_header_dirs; do
5076 if test -r "$ac_dir/X11/Xlib.h"; then 4723 if test -r "$ac_dir/X11/Xlib.h"; then
5077 ac_x_includes=$ac_dir 4724 ac_x_includes=$ac_dir
5078 break 4725 break
5079 fi 4726 fi
5080done 4727done
5081fi 4728fi
5082
5083rm -f conftest.err conftest.$ac_ext 4729rm -f conftest.err conftest.i conftest.$ac_ext
5084fi # $ac_x_includes = no 4730fi # $ac_x_includes = no
5085 4731
5086if test "$ac_x_libraries" = no; then 4732if test "$ac_x_libraries" = no; then
5087 # Check for the libraries. 4733 # Check for the libraries.
5088 # See if we find them without any special options. 4734 # See if we find them without any special options.
5089 # Don't add to $LIBS permanently. 4735 # Don't add to $LIBS permanently.
5090 ac_save_LIBS=$LIBS 4736 ac_save_LIBS=$LIBS
5091 LIBS="-lX11 $LIBS" 4737 LIBS="-lX11 $LIBS"
5092 cat >conftest.$ac_ext <<_ACEOF
5093/* confdefs.h. */
5094_ACEOF
5095cat confdefs.h >>conftest.$ac_ext 4738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5096cat >>conftest.$ac_ext <<_ACEOF
5097/* end confdefs.h. */ 4739/* end confdefs.h. */
5098#include <X11/Xlib.h> 4740#include <X11/Xlib.h>
5099int 4741int
5100main () 4742main ()
5101{ 4743{
5102XrmInitialize () 4744XrmInitialize ()
5103 ; 4745 ;
5104 return 0; 4746 return 0;
5105} 4747}
5106_ACEOF 4748_ACEOF
5107rm -f conftest.$ac_objext conftest$ac_exeext 4749if ac_fn_cxx_try_link "$LINENO"; then :
5108if { (ac_try="$ac_link"
5109case "(($ac_try" in
5110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5111 *) ac_try_echo=$ac_try;;
5112esac
5113eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5114 (eval "$ac_link") 2>conftest.er1
5115 ac_status=$?
5116 grep -v '^ *+' conftest.er1 >conftest.err
5117 rm -f conftest.er1
5118 cat conftest.err >&5
5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5120 (exit $ac_status); } && {
5121 test -z "$ac_cxx_werror_flag" ||
5122 test ! -s conftest.err
5123 } && test -s conftest$ac_exeext &&
5124 $as_test_x conftest$ac_exeext; then
5125 LIBS=$ac_save_LIBS 4750 LIBS=$ac_save_LIBS
5126# We can link X programs with no special library path. 4751# We can link X programs with no special library path.
5127ac_x_libraries= 4752ac_x_libraries=
5128else 4753else
5129 echo "$as_me: failed program was:" >&5
5130sed 's/^/| /' conftest.$ac_ext >&5
5131
5132 LIBS=$ac_save_LIBS 4754 LIBS=$ac_save_LIBS
5133for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 4755for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5134do 4756do
5135 # Don't even attempt the hair of trying to link an X program! 4757 # Don't even attempt the hair of trying to link an X program!
5136 for ac_extension in a so sl; do 4758 for ac_extension in a so sl dylib la dll; do
5137 if test -r "$ac_dir/libX11.$ac_extension"; then 4759 if test -r "$ac_dir/libX11.$ac_extension"; then
5138 ac_x_libraries=$ac_dir 4760 ac_x_libraries=$ac_dir
5139 break 2 4761 break 2
5140 fi 4762 fi
5141 done 4763 done
5142done 4764done
5143fi 4765fi
5144
5145rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4766rm -f core conftest.err conftest.$ac_objext \
5146 conftest$ac_exeext conftest.$ac_ext 4767 conftest$ac_exeext conftest.$ac_ext
5147fi # $ac_x_libraries = no 4768fi # $ac_x_libraries = no
5148 4769
5149case $ac_x_includes,$ac_x_libraries in #( 4770case $ac_x_includes,$ac_x_libraries in #(
5150 no,* | *,no | *\'*) 4771 no,* | *,no | *\'*)
5151 # Didn't find X, or a directory has "'" in its name. 4772 # Didn't find X, or a directory has "'" in its name.
5162 esac 4783 esac
5163 eval "$ac_cv_have_x" 4784 eval "$ac_cv_have_x"
5164fi # $with_x != no 4785fi # $with_x != no
5165 4786
5166if test "$have_x" != yes; then 4787if test "$have_x" != yes; then
5167 { echo "$as_me:$LINENO: result: $have_x" >&5 4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
5168echo "${ECHO_T}$have_x" >&6; } 4789$as_echo "$have_x" >&6; }
5169 no_x=yes 4790 no_x=yes
5170else 4791else
5171 # If each of the values was on the command line, it overrides each guess. 4792 # If each of the values was on the command line, it overrides each guess.
5172 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 4793 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5173 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 4794 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5174 # Update the cache value to reflect the command line values. 4795 # Update the cache value to reflect the command line values.
5175 ac_cv_have_x="have_x=yes\ 4796 ac_cv_have_x="have_x=yes\
5176 ac_x_includes='$x_includes'\ 4797 ac_x_includes='$x_includes'\
5177 ac_x_libraries='$x_libraries'" 4798 ac_x_libraries='$x_libraries'"
5178 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
5179echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; } 4800$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
5180fi 4801fi
5181 4802
5182 CPPFLAGS="$CPPFLAGS -I$x_includes" 4803 CPPFLAGS="$CPPFLAGS"
5183 LIBS="$LIBS -L$x_libraries -lX11" 4804 LIBS="$LIBS -lX11"
5184 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
5185echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; } 4806$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
5186if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 4807if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
5187 echo $ECHO_N "(cached) $ECHO_C" >&6 4808 $as_echo_n "(cached) " >&6
5188else 4809else
5189 ac_check_lib_save_LIBS=$LIBS 4810 ac_check_lib_save_LIBS=$LIBS
5190LIBS="-lXext $LIBS" 4811LIBS="-lXext $LIBS"
5191cat >conftest.$ac_ext <<_ACEOF
5192/* confdefs.h. */
5193_ACEOF
5194cat confdefs.h >>conftest.$ac_ext 4812cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5195cat >>conftest.$ac_ext <<_ACEOF
5196/* end confdefs.h. */ 4813/* end confdefs.h. */
5197 4814
5198/* Override any GCC internal prototype to avoid an error. 4815/* Override any GCC internal prototype to avoid an error.
5199 Use char because int might match the return type of a GCC 4816 Use char because int might match the return type of a GCC
5200 builtin and then its argument prototype would still apply. */ 4817 builtin and then its argument prototype would still apply. */
5208return XShapeQueryExtension (); 4825return XShapeQueryExtension ();
5209 ; 4826 ;
5210 return 0; 4827 return 0;
5211} 4828}
5212_ACEOF 4829_ACEOF
5213rm -f conftest.$ac_objext conftest$ac_exeext 4830if ac_fn_cxx_try_link "$LINENO"; then :
5214if { (ac_try="$ac_link"
5215case "(($ac_try" in
5216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5217 *) ac_try_echo=$ac_try;;
5218esac
5219eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5220 (eval "$ac_link") 2>conftest.er1
5221 ac_status=$?
5222 grep -v '^ *+' conftest.er1 >conftest.err
5223 rm -f conftest.er1
5224 cat conftest.err >&5
5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226 (exit $ac_status); } && {
5227 test -z "$ac_cxx_werror_flag" ||
5228 test ! -s conftest.err
5229 } && test -s conftest$ac_exeext &&
5230 $as_test_x conftest$ac_exeext; then
5231 ac_cv_lib_Xext_XShapeQueryExtension=yes 4831 ac_cv_lib_Xext_XShapeQueryExtension=yes
5232else 4832else
5233 echo "$as_me: failed program was:" >&5
5234sed 's/^/| /' conftest.$ac_ext >&5
5235
5236 ac_cv_lib_Xext_XShapeQueryExtension=no 4833 ac_cv_lib_Xext_XShapeQueryExtension=no
5237fi 4834fi
5238
5239rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4835rm -f core conftest.err conftest.$ac_objext \
5240 conftest$ac_exeext conftest.$ac_ext 4836 conftest$ac_exeext conftest.$ac_ext
5241LIBS=$ac_check_lib_save_LIBS 4837LIBS=$ac_check_lib_save_LIBS
5242fi 4838fi
5243{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 4839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
5244echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } 4840$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
5245if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 4841if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
5246 4842
5247 LIBS="$LIBS -lXext" 4843 LIBS="$LIBS -lXext"
5248 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5 4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
5249echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; } 4845$as_echo_n "checking for glBegin in -lGL... " >&6; }
5250if test "${ac_cv_lib_GL_glBegin+set}" = set; then 4846if ${ac_cv_lib_GL_glBegin+:} false; then :
5251 echo $ECHO_N "(cached) $ECHO_C" >&6 4847 $as_echo_n "(cached) " >&6
5252else 4848else
5253 ac_check_lib_save_LIBS=$LIBS 4849 ac_check_lib_save_LIBS=$LIBS
5254LIBS="-lGL $LIBS -lpthread $LIBS" 4850LIBS="-lGL $LIBS -lpthread $LIBS"
5255cat >conftest.$ac_ext <<_ACEOF
5256/* confdefs.h. */
5257_ACEOF
5258cat confdefs.h >>conftest.$ac_ext 4851cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5259cat >>conftest.$ac_ext <<_ACEOF
5260/* end confdefs.h. */ 4852/* end confdefs.h. */
5261 4853
5262/* Override any GCC internal prototype to avoid an error. 4854/* Override any GCC internal prototype to avoid an error.
5263 Use char because int might match the return type of a GCC 4855 Use char because int might match the return type of a GCC
5264 builtin and then its argument prototype would still apply. */ 4856 builtin and then its argument prototype would still apply. */
5272return glBegin (); 4864return glBegin ();
5273 ; 4865 ;
5274 return 0; 4866 return 0;
5275} 4867}
5276_ACEOF 4868_ACEOF
5277rm -f conftest.$ac_objext conftest$ac_exeext 4869if ac_fn_cxx_try_link "$LINENO"; then :
5278if { (ac_try="$ac_link"
5279case "(($ac_try" in
5280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5281 *) ac_try_echo=$ac_try;;
5282esac
5283eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5284 (eval "$ac_link") 2>conftest.er1
5285 ac_status=$?
5286 grep -v '^ *+' conftest.er1 >conftest.err
5287 rm -f conftest.er1
5288 cat conftest.err >&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); } && {
5291 test -z "$ac_cxx_werror_flag" ||
5292 test ! -s conftest.err
5293 } && test -s conftest$ac_exeext &&
5294 $as_test_x conftest$ac_exeext; then
5295 ac_cv_lib_GL_glBegin=yes 4870 ac_cv_lib_GL_glBegin=yes
5296else 4871else
5297 echo "$as_me: failed program was:" >&5
5298sed 's/^/| /' conftest.$ac_ext >&5
5299
5300 ac_cv_lib_GL_glBegin=no 4872 ac_cv_lib_GL_glBegin=no
5301fi 4873fi
5302
5303rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4874rm -f core conftest.err conftest.$ac_objext \
5304 conftest$ac_exeext conftest.$ac_ext 4875 conftest$ac_exeext conftest.$ac_ext
5305LIBS=$ac_check_lib_save_LIBS 4876LIBS=$ac_check_lib_save_LIBS
5306fi 4877fi
5307{ echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5 4878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
5308echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; } 4879$as_echo "$ac_cv_lib_GL_glBegin" >&6; }
5309if test $ac_cv_lib_GL_glBegin = yes; then 4880if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
5310 4881
5311 { echo "$as_me:$LINENO: checking for gluCylinder in -lGLU" >&5 4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluCylinder in -lGLU" >&5
5312echo $ECHO_N "checking for gluCylinder in -lGLU... $ECHO_C" >&6; } 4883$as_echo_n "checking for gluCylinder in -lGLU... " >&6; }
5313if test "${ac_cv_lib_GLU_gluCylinder+set}" = set; then 4884if ${ac_cv_lib_GLU_gluCylinder+:} false; then :
5314 echo $ECHO_N "(cached) $ECHO_C" >&6 4885 $as_echo_n "(cached) " >&6
5315else 4886else
5316 ac_check_lib_save_LIBS=$LIBS 4887 ac_check_lib_save_LIBS=$LIBS
5317LIBS="-lGLU $LIBS -lGL -lpthread $LIBS" 4888LIBS="-lGLU $LIBS -lGL -lpthread $LIBS"
5318cat >conftest.$ac_ext <<_ACEOF
5319/* confdefs.h. */
5320_ACEOF
5321cat confdefs.h >>conftest.$ac_ext 4889cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5322cat >>conftest.$ac_ext <<_ACEOF
5323/* end confdefs.h. */ 4890/* end confdefs.h. */
5324 4891
5325/* Override any GCC internal prototype to avoid an error. 4892/* Override any GCC internal prototype to avoid an error.
5326 Use char because int might match the return type of a GCC 4893 Use char because int might match the return type of a GCC
5327 builtin and then its argument prototype would still apply. */ 4894 builtin and then its argument prototype would still apply. */
5335return gluCylinder (); 4902return gluCylinder ();
5336 ; 4903 ;
5337 return 0; 4904 return 0;
5338} 4905}
5339_ACEOF 4906_ACEOF
5340rm -f conftest.$ac_objext conftest$ac_exeext 4907if ac_fn_cxx_try_link "$LINENO"; then :
5341if { (ac_try="$ac_link"
5342case "(($ac_try" in
5343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5344 *) ac_try_echo=$ac_try;;
5345esac
5346eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5347 (eval "$ac_link") 2>conftest.er1
5348 ac_status=$?
5349 grep -v '^ *+' conftest.er1 >conftest.err
5350 rm -f conftest.er1
5351 cat conftest.err >&5
5352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 (exit $ac_status); } && {
5354 test -z "$ac_cxx_werror_flag" ||
5355 test ! -s conftest.err
5356 } && test -s conftest$ac_exeext &&
5357 $as_test_x conftest$ac_exeext; then
5358 ac_cv_lib_GLU_gluCylinder=yes 4908 ac_cv_lib_GLU_gluCylinder=yes
5359else 4909else
5360 echo "$as_me: failed program was:" >&5
5361sed 's/^/| /' conftest.$ac_ext >&5
5362
5363 ac_cv_lib_GLU_gluCylinder=no 4910 ac_cv_lib_GLU_gluCylinder=no
5364fi 4911fi
5365
5366rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4912rm -f core conftest.err conftest.$ac_objext \
5367 conftest$ac_exeext conftest.$ac_ext 4913 conftest$ac_exeext conftest.$ac_ext
5368LIBS=$ac_check_lib_save_LIBS 4914LIBS=$ac_check_lib_save_LIBS
5369fi 4915fi
5370{ echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluCylinder" >&5 4916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluCylinder" >&5
5371echo "${ECHO_T}$ac_cv_lib_GLU_gluCylinder" >&6; } 4917$as_echo "$ac_cv_lib_GLU_gluCylinder" >&6; }
5372if test $ac_cv_lib_GLU_gluCylinder = yes; then 4918if test "x$ac_cv_lib_GLU_gluCylinder" = xyes; then :
5373 4919
5374 LIBS="$LIBS -lGL -lGLU -lpthread" 4920 LIBS="$LIBS -lGL -lGLU -lpthread"
5375 have_gl=1 4921 have_gl=1
5376 4922
5377fi 4923fi
5378 4924
5379 4925
5380fi 4926fi
5381 4927
5382 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
5383echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 4929$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
5384if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 4930if ${ac_cv_lib_pthread_pthread_create+:} false; then :
5385 echo $ECHO_N "(cached) $ECHO_C" >&6 4931 $as_echo_n "(cached) " >&6
5386else 4932else
5387 ac_check_lib_save_LIBS=$LIBS 4933 ac_check_lib_save_LIBS=$LIBS
5388LIBS="-lpthread $LIBS" 4934LIBS="-lpthread $LIBS"
5389cat >conftest.$ac_ext <<_ACEOF
5390/* confdefs.h. */
5391_ACEOF
5392cat confdefs.h >>conftest.$ac_ext 4935cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5393cat >>conftest.$ac_ext <<_ACEOF
5394/* end confdefs.h. */ 4936/* end confdefs.h. */
5395 4937
5396/* Override any GCC internal prototype to avoid an error. 4938/* Override any GCC internal prototype to avoid an error.
5397 Use char because int might match the return type of a GCC 4939 Use char because int might match the return type of a GCC
5398 builtin and then its argument prototype would still apply. */ 4940 builtin and then its argument prototype would still apply. */
5406return pthread_create (); 4948return pthread_create ();
5407 ; 4949 ;
5408 return 0; 4950 return 0;
5409} 4951}
5410_ACEOF 4952_ACEOF
5411rm -f conftest.$ac_objext conftest$ac_exeext 4953if ac_fn_cxx_try_link "$LINENO"; then :
5412if { (ac_try="$ac_link"
5413case "(($ac_try" in
5414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5415 *) ac_try_echo=$ac_try;;
5416esac
5417eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5418 (eval "$ac_link") 2>conftest.er1
5419 ac_status=$?
5420 grep -v '^ *+' conftest.er1 >conftest.err
5421 rm -f conftest.er1
5422 cat conftest.err >&5
5423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5424 (exit $ac_status); } && {
5425 test -z "$ac_cxx_werror_flag" ||
5426 test ! -s conftest.err
5427 } && test -s conftest$ac_exeext &&
5428 $as_test_x conftest$ac_exeext; then
5429 ac_cv_lib_pthread_pthread_create=yes 4954 ac_cv_lib_pthread_pthread_create=yes
5430else 4955else
5431 echo "$as_me: failed program was:" >&5
5432sed 's/^/| /' conftest.$ac_ext >&5
5433
5434 ac_cv_lib_pthread_pthread_create=no 4956 ac_cv_lib_pthread_pthread_create=no
5435fi 4957fi
5436
5437rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4958rm -f core conftest.err conftest.$ac_objext \
5438 conftest$ac_exeext conftest.$ac_ext 4959 conftest$ac_exeext conftest.$ac_ext
5439LIBS=$ac_check_lib_save_LIBS 4960LIBS=$ac_check_lib_save_LIBS
5440fi 4961fi
5441{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 4962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
5442echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 4963$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
5443if test $ac_cv_lib_pthread_pthread_create = yes; then 4964if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
5444 PTHREAD=-lpthread 4965 PTHREAD=-lpthread
5445fi 4966fi
5446 4967
5447 if test -z "$have_gl" ; then 4968 if test -z "$have_gl" ; then
5448 { echo "$as_me:$LINENO: checking for glBegin in -lMesaGL" >&5 4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lMesaGL" >&5
5449echo $ECHO_N "checking for glBegin in -lMesaGL... $ECHO_C" >&6; } 4970$as_echo_n "checking for glBegin in -lMesaGL... " >&6; }
5450if test "${ac_cv_lib_MesaGL_glBegin+set}" = set; then 4971if ${ac_cv_lib_MesaGL_glBegin+:} false; then :
5451 echo $ECHO_N "(cached) $ECHO_C" >&6 4972 $as_echo_n "(cached) " >&6
5452else 4973else
5453 ac_check_lib_save_LIBS=$LIBS 4974 ac_check_lib_save_LIBS=$LIBS
5454LIBS="-lMesaGL $PTHREAD $LIBS" 4975LIBS="-lMesaGL $PTHREAD $LIBS"
5455cat >conftest.$ac_ext <<_ACEOF
5456/* confdefs.h. */
5457_ACEOF
5458cat confdefs.h >>conftest.$ac_ext 4976cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5459cat >>conftest.$ac_ext <<_ACEOF
5460/* end confdefs.h. */ 4977/* end confdefs.h. */
5461 4978
5462/* Override any GCC internal prototype to avoid an error. 4979/* Override any GCC internal prototype to avoid an error.
5463 Use char because int might match the return type of a GCC 4980 Use char because int might match the return type of a GCC
5464 builtin and then its argument prototype would still apply. */ 4981 builtin and then its argument prototype would still apply. */
5472return glBegin (); 4989return glBegin ();
5473 ; 4990 ;
5474 return 0; 4991 return 0;
5475} 4992}
5476_ACEOF 4993_ACEOF
5477rm -f conftest.$ac_objext conftest$ac_exeext 4994if ac_fn_cxx_try_link "$LINENO"; then :
5478if { (ac_try="$ac_link"
5479case "(($ac_try" in
5480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5481 *) ac_try_echo=$ac_try;;
5482esac
5483eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5484 (eval "$ac_link") 2>conftest.er1
5485 ac_status=$?
5486 grep -v '^ *+' conftest.er1 >conftest.err
5487 rm -f conftest.er1
5488 cat conftest.err >&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); } && {
5491 test -z "$ac_cxx_werror_flag" ||
5492 test ! -s conftest.err
5493 } && test -s conftest$ac_exeext &&
5494 $as_test_x conftest$ac_exeext; then
5495 ac_cv_lib_MesaGL_glBegin=yes 4995 ac_cv_lib_MesaGL_glBegin=yes
5496else 4996else
5497 echo "$as_me: failed program was:" >&5
5498sed 's/^/| /' conftest.$ac_ext >&5
5499
5500 ac_cv_lib_MesaGL_glBegin=no 4997 ac_cv_lib_MesaGL_glBegin=no
5501fi 4998fi
5502
5503rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4999rm -f core conftest.err conftest.$ac_objext \
5504 conftest$ac_exeext conftest.$ac_ext 5000 conftest$ac_exeext conftest.$ac_ext
5505LIBS=$ac_check_lib_save_LIBS 5001LIBS=$ac_check_lib_save_LIBS
5506fi 5002fi
5507{ echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glBegin" >&5 5003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glBegin" >&5
5508echo "${ECHO_T}$ac_cv_lib_MesaGL_glBegin" >&6; } 5004$as_echo "$ac_cv_lib_MesaGL_glBegin" >&6; }
5509if test $ac_cv_lib_MesaGL_glBegin = yes; then 5005if test "x$ac_cv_lib_MesaGL_glBegin" = xyes; then :
5510 5006
5511 { echo "$as_me:$LINENO: checking for gluCylinder in -lMesaGLU" >&5 5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluCylinder in -lMesaGLU" >&5
5512echo $ECHO_N "checking for gluCylinder in -lMesaGLU... $ECHO_C" >&6; } 5008$as_echo_n "checking for gluCylinder in -lMesaGLU... " >&6; }
5513if test "${ac_cv_lib_MesaGLU_gluCylinder+set}" = set; then 5009if ${ac_cv_lib_MesaGLU_gluCylinder+:} false; then :
5514 echo $ECHO_N "(cached) $ECHO_C" >&6 5010 $as_echo_n "(cached) " >&6
5515else 5011else
5516 ac_check_lib_save_LIBS=$LIBS 5012 ac_check_lib_save_LIBS=$LIBS
5517LIBS="-lMesaGLU -lMesaGL $PTHREAD $LIBS" 5013LIBS="-lMesaGLU -lMesaGL $PTHREAD $LIBS"
5518cat >conftest.$ac_ext <<_ACEOF
5519/* confdefs.h. */
5520_ACEOF
5521cat confdefs.h >>conftest.$ac_ext 5014cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5522cat >>conftest.$ac_ext <<_ACEOF
5523/* end confdefs.h. */ 5015/* end confdefs.h. */
5524 5016
5525/* Override any GCC internal prototype to avoid an error. 5017/* Override any GCC internal prototype to avoid an error.
5526 Use char because int might match the return type of a GCC 5018 Use char because int might match the return type of a GCC
5527 builtin and then its argument prototype would still apply. */ 5019 builtin and then its argument prototype would still apply. */
5535return gluCylinder (); 5027return gluCylinder ();
5536 ; 5028 ;
5537 return 0; 5029 return 0;
5538} 5030}
5539_ACEOF 5031_ACEOF
5540rm -f conftest.$ac_objext conftest$ac_exeext 5032if ac_fn_cxx_try_link "$LINENO"; then :
5541if { (ac_try="$ac_link"
5542case "(($ac_try" in
5543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5544 *) ac_try_echo=$ac_try;;
5545esac
5546eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5547 (eval "$ac_link") 2>conftest.er1
5548 ac_status=$?
5549 grep -v '^ *+' conftest.er1 >conftest.err
5550 rm -f conftest.er1
5551 cat conftest.err >&5
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); } && {
5554 test -z "$ac_cxx_werror_flag" ||
5555 test ! -s conftest.err
5556 } && test -s conftest$ac_exeext &&
5557 $as_test_x conftest$ac_exeext; then
5558 ac_cv_lib_MesaGLU_gluCylinder=yes 5033 ac_cv_lib_MesaGLU_gluCylinder=yes
5559else 5034else
5560 echo "$as_me: failed program was:" >&5
5561sed 's/^/| /' conftest.$ac_ext >&5
5562
5563 ac_cv_lib_MesaGLU_gluCylinder=no 5035 ac_cv_lib_MesaGLU_gluCylinder=no
5564fi 5036fi
5565
5566rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5037rm -f core conftest.err conftest.$ac_objext \
5567 conftest$ac_exeext conftest.$ac_ext 5038 conftest$ac_exeext conftest.$ac_ext
5568LIBS=$ac_check_lib_save_LIBS 5039LIBS=$ac_check_lib_save_LIBS
5569fi 5040fi
5570{ echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGLU_gluCylinder" >&5 5041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGLU_gluCylinder" >&5
5571echo "${ECHO_T}$ac_cv_lib_MesaGLU_gluCylinder" >&6; } 5042$as_echo "$ac_cv_lib_MesaGLU_gluCylinder" >&6; }
5572if test $ac_cv_lib_MesaGLU_gluCylinder = yes; then 5043if test "x$ac_cv_lib_MesaGLU_gluCylinder" = xyes; then :
5573 5044
5574 LIBS="$LIBS -lMesaGL -lMesaGLU" 5045 LIBS="$LIBS -lMesaGL -lMesaGLU"
5575 have_gl=1 5046 have_gl=1
5576 if test -n "$PTHREAD" ; then 5047 if test -n "$PTHREAD" ; then
5577 { echo "$as_me:$LINENO: checking wether mesa requires $PTHREAD" >&5 5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking wether mesa requires $PTHREAD" >&5
5578echo $ECHO_N "checking wether mesa requires $PTHREAD... $ECHO_C" >&6; } 5049$as_echo_n "checking wether mesa requires $PTHREAD... " >&6; }
5579 cat >conftest.$ac_ext <<_ACEOF 5050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5580/* confdefs.h. */
5581_ACEOF
5582cat confdefs.h >>conftest.$ac_ext
5583cat >>conftest.$ac_ext <<_ACEOF
5584/* end confdefs.h. */ 5051/* end confdefs.h. */
5585 5052
5586int 5053int
5587main () 5054main ()
5588{ 5055{
5589glBegin() 5056glBegin()
5590 ; 5057 ;
5591 return 0; 5058 return 0;
5592} 5059}
5593_ACEOF 5060_ACEOF
5594rm -f conftest.$ac_objext conftest$ac_exeext 5061if ac_fn_cxx_try_link "$LINENO"; then :
5595if { (ac_try="$ac_link"
5596case "(($ac_try" in
5597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5598 *) ac_try_echo=$ac_try;;
5599esac
5600eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5601 (eval "$ac_link") 2>conftest.er1
5602 ac_status=$?
5603 grep -v '^ *+' conftest.er1 >conftest.err
5604 rm -f conftest.er1
5605 cat conftest.err >&5
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); } && {
5608 test -z "$ac_cxx_werror_flag" ||
5609 test ! -s conftest.err
5610 } && test -s conftest$ac_exeext &&
5611 $as_test_x conftest$ac_exeext; then
5612 { echo "$as_me:$LINENO: result: no" >&5 5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613echo "${ECHO_T}no" >&6; } 5063$as_echo "no" >&6; }
5614else 5064else
5615 echo "$as_me: failed program was:" >&5
5616sed 's/^/| /' conftest.$ac_ext >&5
5617
5618 { echo "$as_me:$LINENO: result: yes" >&5 5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5619echo "${ECHO_T}yes" >&6; } 5066$as_echo "yes" >&6; }
5620 LIBS="$LIBS $PTHREAD" 5067 LIBS="$LIBS $PTHREAD"
5621fi 5068fi
5622
5623rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5069rm -f core conftest.err conftest.$ac_objext \
5624 conftest$ac_exeext conftest.$ac_ext 5070 conftest$ac_exeext conftest.$ac_ext
5625 fi 5071 fi
5626 5072
5627fi 5073fi
5628 5074
5629 5075
5642fi 5088fi
5643 5089
5644done 5090done
5645 5091
5646 5092
5647{ echo "$as_me:$LINENO: checking for opengl support" >&5 5093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for opengl support" >&5
5648echo $ECHO_N "checking for opengl support... $ECHO_C" >&6; } 5094$as_echo_n "checking for opengl support... " >&6; }
5649if test -n "$have_gl" ; then 5095if test -n "$have_gl" ; then
5650 { echo "$as_me:$LINENO: result: yes" >&5 5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5651echo "${ECHO_T}yes" >&6; } 5097$as_echo "yes" >&6; }
5652 5098
5653cat >>confdefs.h <<\_ACEOF 5099$as_echo "#define HAVE_OPENGL 1" >>confdefs.h
5654#define HAVE_OPENGL 1
5655_ACEOF
5656 5100
5657else 5101else
5658 { echo "$as_me:$LINENO: result: no" >&5 5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5659echo "${ECHO_T}no" >&6; } 5103$as_echo "no" >&6; }
5660fi 5104fi
5661
5662
5663
5664
5665
5666
5667
5668 5105
5669for ac_header in vector algorithm queue map string cstring cmath 5106for ac_header in vector algorithm queue map string cstring cmath
5670do 5107do :
5671as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5108 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5672if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5109ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5673 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5110if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5674echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5675if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5676 echo $ECHO_N "(cached) $ECHO_C" >&6
5677fi
5678ac_res=`eval echo '${'$as_ac_Header'}'`
5679 { echo "$as_me:$LINENO: result: $ac_res" >&5
5680echo "${ECHO_T}$ac_res" >&6; }
5681else
5682 # Is the header compilable?
5683{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5684echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5685cat >conftest.$ac_ext <<_ACEOF
5686/* confdefs.h. */
5687_ACEOF
5688cat confdefs.h >>conftest.$ac_ext
5689cat >>conftest.$ac_ext <<_ACEOF
5690/* end confdefs.h. */
5691$ac_includes_default
5692#include <$ac_header>
5693_ACEOF
5694rm -f conftest.$ac_objext
5695if { (ac_try="$ac_compile"
5696case "(($ac_try" in
5697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5698 *) ac_try_echo=$ac_try;;
5699esac
5700eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5701 (eval "$ac_compile") 2>conftest.er1
5702 ac_status=$?
5703 grep -v '^ *+' conftest.er1 >conftest.err
5704 rm -f conftest.er1
5705 cat conftest.err >&5
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); } && {
5708 test -z "$ac_cxx_werror_flag" ||
5709 test ! -s conftest.err
5710 } && test -s conftest.$ac_objext; then
5711 ac_header_compiler=yes
5712else
5713 echo "$as_me: failed program was:" >&5
5714sed 's/^/| /' conftest.$ac_ext >&5
5715
5716 ac_header_compiler=no
5717fi
5718
5719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5720{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5721echo "${ECHO_T}$ac_header_compiler" >&6; }
5722
5723# Is the header present?
5724{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5725echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5726cat >conftest.$ac_ext <<_ACEOF
5727/* confdefs.h. */
5728_ACEOF
5729cat confdefs.h >>conftest.$ac_ext
5730cat >>conftest.$ac_ext <<_ACEOF
5731/* end confdefs.h. */
5732#include <$ac_header>
5733_ACEOF
5734if { (ac_try="$ac_cpp conftest.$ac_ext"
5735case "(($ac_try" in
5736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5737 *) ac_try_echo=$ac_try;;
5738esac
5739eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5741 ac_status=$?
5742 grep -v '^ *+' conftest.er1 >conftest.err
5743 rm -f conftest.er1
5744 cat conftest.err >&5
5745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746 (exit $ac_status); } >/dev/null && {
5747 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5748 test ! -s conftest.err
5749 }; then
5750 ac_header_preproc=yes
5751else
5752 echo "$as_me: failed program was:" >&5
5753sed 's/^/| /' conftest.$ac_ext >&5
5754
5755 ac_header_preproc=no
5756fi
5757
5758rm -f conftest.err conftest.$ac_ext
5759{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5760echo "${ECHO_T}$ac_header_preproc" >&6; }
5761
5762# So? What about this header?
5763case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5764 yes:no: )
5765 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5766echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5768echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5769 ac_header_preproc=yes
5770 ;;
5771 no:yes:* )
5772 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5773echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5774 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5775echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5776 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5777echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5778 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5779echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5781echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5782 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5783echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5784
5785 ;;
5786esac
5787{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5788echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5789if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5790 echo $ECHO_N "(cached) $ECHO_C" >&6
5791else
5792 eval "$as_ac_Header=\$ac_header_preproc"
5793fi
5794ac_res=`eval echo '${'$as_ac_Header'}'`
5795 { echo "$as_me:$LINENO: result: $ac_res" >&5
5796echo "${ECHO_T}$ac_res" >&6; }
5797
5798fi
5799if test `eval echo '${'$as_ac_Header'}'` = yes; then
5800 cat >>confdefs.h <<_ACEOF 5111 cat >>confdefs.h <<_ACEOF
5801#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5112#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5802_ACEOF 5113_ACEOF
5803 5114
5804fi 5115fi
5805 5116
5806done 5117done
5807 5118
5808 5119
5809# Extract the first word of "antlr", so it can be a program name with args. 5120# Extract the first word of "antlr", so it can be a program name with args.
5810set dummy antlr; ac_word=$2 5121set dummy antlr; ac_word=$2
5811{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5123$as_echo_n "checking for $ac_word... " >&6; }
5813if test "${ac_cv_path_ANTLR+set}" = set; then 5124if ${ac_cv_path_ANTLR+:} false; then :
5814 echo $ECHO_N "(cached) $ECHO_C" >&6 5125 $as_echo_n "(cached) " >&6
5815else 5126else
5816 case $ANTLR in 5127 case $ANTLR in
5817 [\\/]* | ?:[\\/]*) 5128 [\\/]* | ?:[\\/]*)
5818 ac_cv_path_ANTLR="$ANTLR" # Let the user override the test with a path. 5129 ac_cv_path_ANTLR="$ANTLR" # Let the user override the test with a path.
5819 ;; 5130 ;;
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822for as_dir in $PATH 5133for as_dir in $PATH
5823do 5134do
5824 IFS=$as_save_IFS 5135 IFS=$as_save_IFS
5825 test -z "$as_dir" && as_dir=. 5136 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do 5137 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5828 ac_cv_path_ANTLR="$as_dir/$ac_word$ac_exec_ext" 5139 ac_cv_path_ANTLR="$as_dir/$ac_word$ac_exec_ext"
5829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5830 break 2 5141 break 2
5831 fi 5142 fi
5832done 5143done
5833done 5144 done
5834IFS=$as_save_IFS 5145IFS=$as_save_IFS
5835 5146
5836 ;; 5147 ;;
5837esac 5148esac
5838fi 5149fi
5839ANTLR=$ac_cv_path_ANTLR 5150ANTLR=$ac_cv_path_ANTLR
5840if test -n "$ANTLR"; then 5151if test -n "$ANTLR"; then
5841 { echo "$as_me:$LINENO: result: $ANTLR" >&5 5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR" >&5
5842echo "${ECHO_T}$ANTLR" >&6; } 5153$as_echo "$ANTLR" >&6; }
5843else 5154else
5844 { echo "$as_me:$LINENO: result: no" >&5 5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845echo "${ECHO_T}no" >&6; } 5156$as_echo "no" >&6; }
5846fi 5157fi
5847 5158
5848 5159
5849if test -n "$ANTLR" ; then 5160if test -n "$ANTLR" ; then
5850 { echo "$as_me:$LINENO: checking antlr version" >&5 5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking antlr version" >&5
5851echo $ECHO_N "checking antlr version... $ECHO_C" >&6; } 5162$as_echo_n "checking antlr version... " >&6; }
5852 ANTLR_VER=`$ANTLR 2>&1 | grep Version | sed -e 's/^.*Version \\([0-9MR.]\\+\\) .*$/\1/'` 5163 ANTLR_VER=`$ANTLR 2>&1 | grep Version | sed -e 's/^.*Version \\([0-9MR.]\\+\\) .*$/\1/'`
5853 if test "$ANTLR_VER" = "1.33MR33" ; then 5164 if test "$ANTLR_VER" = "1.33MR33" ; then
5854 { echo "$as_me:$LINENO: result: $ANTLR_VER, ok" >&5 5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_VER, ok" >&5
5855echo "${ECHO_T}$ANTLR_VER, ok" >&6; } 5166$as_echo "$ANTLR_VER, ok" >&6; }
5856 # Extract the first word of "dlg", so it can be a program name with args. 5167 # Extract the first word of "dlg", so it can be a program name with args.
5857set dummy dlg; ac_word=$2 5168set dummy dlg; ac_word=$2
5858{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5859echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5170$as_echo_n "checking for $ac_word... " >&6; }
5860if test "${ac_cv_path_DLG+set}" = set; then 5171if ${ac_cv_path_DLG+:} false; then :
5861 echo $ECHO_N "(cached) $ECHO_C" >&6 5172 $as_echo_n "(cached) " >&6
5862else 5173else
5863 case $DLG in 5174 case $DLG in
5864 [\\/]* | ?:[\\/]*) 5175 [\\/]* | ?:[\\/]*)
5865 ac_cv_path_DLG="$DLG" # Let the user override the test with a path. 5176 ac_cv_path_DLG="$DLG" # Let the user override the test with a path.
5866 ;; 5177 ;;
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869for as_dir in $PATH 5180for as_dir in $PATH
5870do 5181do
5871 IFS=$as_save_IFS 5182 IFS=$as_save_IFS
5872 test -z "$as_dir" && as_dir=. 5183 test -z "$as_dir" && as_dir=.
5873 for ac_exec_ext in '' $ac_executable_extensions; do 5184 for ac_exec_ext in '' $ac_executable_extensions; do
5874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5875 ac_cv_path_DLG="$as_dir/$ac_word$ac_exec_ext" 5186 ac_cv_path_DLG="$as_dir/$ac_word$ac_exec_ext"
5876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5877 break 2 5188 break 2
5878 fi 5189 fi
5879done 5190done
5880done 5191 done
5881IFS=$as_save_IFS 5192IFS=$as_save_IFS
5882 5193
5883 ;; 5194 ;;
5884esac 5195esac
5885fi 5196fi
5886DLG=$ac_cv_path_DLG 5197DLG=$ac_cv_path_DLG
5887if test -n "$DLG"; then 5198if test -n "$DLG"; then
5888 { echo "$as_me:$LINENO: result: $DLG" >&5 5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLG" >&5
5889echo "${ECHO_T}$DLG" >&6; } 5200$as_echo "$DLG" >&6; }
5890else 5201else
5891 { echo "$as_me:$LINENO: result: no" >&5 5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5892echo "${ECHO_T}no" >&6; } 5203$as_echo "no" >&6; }
5893fi 5204fi
5894 5205
5895 5206
5896 if test -n "$DLG" ; then 5207 if test -n "$DLG" ; then
5897 { echo "$as_me:$LINENO: checking dlg version" >&5 5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dlg version" >&5
5898echo $ECHO_N "checking dlg version... $ECHO_C" >&6; } 5209$as_echo_n "checking dlg version... " >&6; }
5899 DLG_VER=`$DLG 2>&1 | grep Version | sed -e 's/^.*Version \([0-9MR.]\+\) .*$/\1/'` 5210 DLG_VER=`$DLG 2>&1 | grep Version | sed -e 's/^.*Version \([0-9MR.]\+\) .*$/\1/'`
5900 if test "$DLG_VER" = "1.33MR33" ; then 5211 if test "$DLG_VER" = "1.33MR33" ; then
5901 { echo "$as_me:$LINENO: result: $DLG_VER, ok" >&5 5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLG_VER, ok" >&5
5902echo "${ECHO_T}$DLG_VER, ok" >&6; } 5213$as_echo "$DLG_VER, ok" >&6; }
5903 HAVE_PCCTS=1 5214 HAVE_PCCTS=1
5904 else 5215 else
5905 { echo "$as_me:$LINENO: result: $DLG_VER, but need 1.33MR33" >&5 5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLG_VER, but need 1.33MR33" >&5
5906echo "${ECHO_T}$DLG_VER, but need 1.33MR33" >&6; } 5217$as_echo "$DLG_VER, but need 1.33MR33" >&6; }
5907 fi 5218 fi
5908 fi 5219 fi
5909 else 5220 else
5910 { echo "$as_me:$LINENO: result: $ANTLR_VER, but need 1.33MR33" >&5 5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_VER, but need 1.33MR33" >&5
5911echo "${ECHO_T}$ANTLR_VER, but need 1.33MR33" >&6; } 5222$as_echo "$ANTLR_VER, but need 1.33MR33" >&6; }
5912 fi 5223 fi
5913fi 5224fi
5914 5225
5915 if test -n "$HAVE_PCCTS"; then 5226 if test -n "$HAVE_PCCTS"; then
5916 HAVE_PCCTS_TRUE= 5227 HAVE_PCCTS_TRUE=
5919 HAVE_PCCTS_TRUE='#' 5230 HAVE_PCCTS_TRUE='#'
5920 HAVE_PCCTS_FALSE= 5231 HAVE_PCCTS_FALSE=
5921fi 5232fi
5922 5233
5923 5234
5924
5925for ac_header in getopt.h 5235for ac_header in getopt.h
5926do 5236do :
5927as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5237 ac_fn_cxx_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
5928if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5238if test "x$ac_cv_header_getopt_h" = xyes; then :
5929 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5930echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5931if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5932 echo $ECHO_N "(cached) $ECHO_C" >&6
5933fi
5934ac_res=`eval echo '${'$as_ac_Header'}'`
5935 { echo "$as_me:$LINENO: result: $ac_res" >&5
5936echo "${ECHO_T}$ac_res" >&6; }
5937else
5938 # Is the header compilable?
5939{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5940echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5941cat >conftest.$ac_ext <<_ACEOF
5942/* confdefs.h. */
5943_ACEOF
5944cat confdefs.h >>conftest.$ac_ext
5945cat >>conftest.$ac_ext <<_ACEOF
5946/* end confdefs.h. */
5947$ac_includes_default
5948#include <$ac_header>
5949_ACEOF
5950rm -f conftest.$ac_objext
5951if { (ac_try="$ac_compile"
5952case "(($ac_try" in
5953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5954 *) ac_try_echo=$ac_try;;
5955esac
5956eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5957 (eval "$ac_compile") 2>conftest.er1
5958 ac_status=$?
5959 grep -v '^ *+' conftest.er1 >conftest.err
5960 rm -f conftest.er1
5961 cat conftest.err >&5
5962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963 (exit $ac_status); } && {
5964 test -z "$ac_cxx_werror_flag" ||
5965 test ! -s conftest.err
5966 } && test -s conftest.$ac_objext; then
5967 ac_header_compiler=yes
5968else
5969 echo "$as_me: failed program was:" >&5
5970sed 's/^/| /' conftest.$ac_ext >&5
5971
5972 ac_header_compiler=no
5973fi
5974
5975rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5976{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5977echo "${ECHO_T}$ac_header_compiler" >&6; }
5978
5979# Is the header present?
5980{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5981echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5982cat >conftest.$ac_ext <<_ACEOF
5983/* confdefs.h. */
5984_ACEOF
5985cat confdefs.h >>conftest.$ac_ext
5986cat >>conftest.$ac_ext <<_ACEOF
5987/* end confdefs.h. */
5988#include <$ac_header>
5989_ACEOF
5990if { (ac_try="$ac_cpp conftest.$ac_ext"
5991case "(($ac_try" in
5992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5993 *) ac_try_echo=$ac_try;;
5994esac
5995eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5996 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5997 ac_status=$?
5998 grep -v '^ *+' conftest.er1 >conftest.err
5999 rm -f conftest.er1
6000 cat conftest.err >&5
6001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002 (exit $ac_status); } >/dev/null && {
6003 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6004 test ! -s conftest.err
6005 }; then
6006 ac_header_preproc=yes
6007else
6008 echo "$as_me: failed program was:" >&5
6009sed 's/^/| /' conftest.$ac_ext >&5
6010
6011 ac_header_preproc=no
6012fi
6013
6014rm -f conftest.err conftest.$ac_ext
6015{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6016echo "${ECHO_T}$ac_header_preproc" >&6; }
6017
6018# So? What about this header?
6019case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6020 yes:no: )
6021 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6022echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6024echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6025 ac_header_preproc=yes
6026 ;;
6027 no:yes:* )
6028 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6029echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6030 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6031echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6032 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6033echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6034 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6035echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6036 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6037echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6038 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6039echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6040
6041 ;;
6042esac
6043{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6044echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6045if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6046 echo $ECHO_N "(cached) $ECHO_C" >&6
6047else
6048 eval "$as_ac_Header=\$ac_header_preproc"
6049fi
6050ac_res=`eval echo '${'$as_ac_Header'}'`
6051 { echo "$as_me:$LINENO: result: $ac_res" >&5
6052echo "${ECHO_T}$ac_res" >&6; }
6053
6054fi
6055if test `eval echo '${'$as_ac_Header'}'` = yes; then
6056 cat >>confdefs.h <<_ACEOF 5239 cat >>confdefs.h <<_ACEOF
6057#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5240#define HAVE_GETOPT_H 1
6058_ACEOF 5241_ACEOF
6059 5242
6060fi 5243fi
6061 5244
6062done 5245done
6063 5246
6064
6065for ac_func in getopt_long 5247for ac_func in getopt_long
6066do 5248do :
6067as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5249 ac_fn_cxx_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
6068{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5250if test "x$ac_cv_func_getopt_long" = xyes; then :
6069echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6070if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6072else
6073 cat >conftest.$ac_ext <<_ACEOF
6074/* confdefs.h. */
6075_ACEOF
6076cat confdefs.h >>conftest.$ac_ext
6077cat >>conftest.$ac_ext <<_ACEOF
6078/* end confdefs.h. */
6079/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6081#define $ac_func innocuous_$ac_func
6082
6083/* System header to define __stub macros and hopefully few prototypes,
6084 which can conflict with char $ac_func (); below.
6085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6086 <limits.h> exists even on freestanding compilers. */
6087
6088#ifdef __STDC__
6089# include <limits.h>
6090#else
6091# include <assert.h>
6092#endif
6093
6094#undef $ac_func
6095
6096/* Override any GCC internal prototype to avoid an error.
6097 Use char because int might match the return type of a GCC
6098 builtin and then its argument prototype would still apply. */
6099#ifdef __cplusplus
6100extern "C"
6101#endif
6102char $ac_func ();
6103/* The GNU C library defines this for functions which it implements
6104 to always fail with ENOSYS. Some functions are actually named
6105 something starting with __ and the normal name is an alias. */
6106#if defined __stub_$ac_func || defined __stub___$ac_func
6107choke me
6108#endif
6109
6110int
6111main ()
6112{
6113return $ac_func ();
6114 ;
6115 return 0;
6116}
6117_ACEOF
6118rm -f conftest.$ac_objext conftest$ac_exeext
6119if { (ac_try="$ac_link"
6120case "(($ac_try" in
6121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6122 *) ac_try_echo=$ac_try;;
6123esac
6124eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6125 (eval "$ac_link") 2>conftest.er1
6126 ac_status=$?
6127 grep -v '^ *+' conftest.er1 >conftest.err
6128 rm -f conftest.er1
6129 cat conftest.err >&5
6130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6131 (exit $ac_status); } && {
6132 test -z "$ac_cxx_werror_flag" ||
6133 test ! -s conftest.err
6134 } && test -s conftest$ac_exeext &&
6135 $as_test_x conftest$ac_exeext; then
6136 eval "$as_ac_var=yes"
6137else
6138 echo "$as_me: failed program was:" >&5
6139sed 's/^/| /' conftest.$ac_ext >&5
6140
6141 eval "$as_ac_var=no"
6142fi
6143
6144rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6145 conftest$ac_exeext conftest.$ac_ext
6146fi
6147ac_res=`eval echo '${'$as_ac_var'}'`
6148 { echo "$as_me:$LINENO: result: $ac_res" >&5
6149echo "${ECHO_T}$ac_res" >&6; }
6150if test `eval echo '${'$as_ac_var'}'` = yes; then
6151 cat >>confdefs.h <<_ACEOF 5251 cat >>confdefs.h <<_ACEOF
6152#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5252#define HAVE_GETOPT_LONG 1
6153_ACEOF 5253_ACEOF
6154 5254
6155else 5255else
6156 case " $LIBOBJS " in 5256 case " $LIBOBJS " in
6157 *" getopt.$ac_objext "* ) ;; 5257 *" getopt.$ac_objext "* ) ;;
6195 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5295 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6196 eval ac_val=\$$ac_var 5296 eval ac_val=\$$ac_var
6197 case $ac_val in #( 5297 case $ac_val in #(
6198 *${as_nl}*) 5298 *${as_nl}*)
6199 case $ac_var in #( 5299 case $ac_var in #(
6200 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 5300 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6201echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 5301$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6202 esac 5302 esac
6203 case $ac_var in #( 5303 case $ac_var in #(
6204 _ | IFS | as_nl) ;; #( 5304 _ | IFS | as_nl) ;; #(
6205 *) $as_unset $ac_var ;; 5305 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5306 *) { eval $ac_var=; unset $ac_var;} ;;
6206 esac ;; 5307 esac ;;
6207 esac 5308 esac
6208 done 5309 done
6209 5310
6210 (set) 2>&1 | 5311 (set) 2>&1 |
6211 case $as_nl`(ac_space=' '; set) 2>&1` in #( 5312 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6212 *${as_nl}ac_space=\ *) 5313 *${as_nl}ac_space=\ *)
6213 # `set' does not quote correctly, so add quotes (double-quote 5314 # `set' does not quote correctly, so add quotes: double-quote
6214 # substitution turns \\\\ into \\, and sed turns \\ into \). 5315 # substitution turns \\\\ into \\, and sed turns \\ into \.
6215 sed -n \ 5316 sed -n \
6216 "s/'/'\\\\''/g; 5317 "s/'/'\\\\''/g;
6217 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5318 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6218 ;; #( 5319 ;; #(
6219 *) 5320 *)
6231 t end 5332 t end
6232 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5333 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6233 :end' >>confcache 5334 :end' >>confcache
6234if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5335if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6235 if test -w "$cache_file"; then 5336 if test -w "$cache_file"; then
6236 test "x$cache_file" != "x/dev/null" && 5337 if test "x$cache_file" != "x/dev/null"; then
6237 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 5338 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6238echo "$as_me: updating cache $cache_file" >&6;} 5339$as_echo "$as_me: updating cache $cache_file" >&6;}
5340 if test ! -f "$cache_file" || test -h "$cache_file"; then
6239 cat confcache >$cache_file 5341 cat confcache >"$cache_file"
5342 else
5343 case $cache_file in #(
5344 */* | ?:*)
5345 mv -f confcache "$cache_file"$$ &&
5346 mv -f "$cache_file"$$ "$cache_file" ;; #(
5347 *)
5348 mv -f confcache "$cache_file" ;;
5349 esac
5350 fi
5351 fi
6240 else 5352 else
6241 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 5353 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6242echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5354$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6243 fi 5355 fi
6244fi 5356fi
6245rm -f confcache 5357rm -f confcache
6246 5358
6247test "x$prefix" = xNONE && prefix=$ac_default_prefix 5359test "x$prefix" = xNONE && prefix=$ac_default_prefix
6250 5362
6251DEFS=-DHAVE_CONFIG_H 5363DEFS=-DHAVE_CONFIG_H
6252 5364
6253ac_libobjs= 5365ac_libobjs=
6254ac_ltlibobjs= 5366ac_ltlibobjs=
5367U=
6255for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5368for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6256 # 1. Remove the extension, and $U if already installed. 5369 # 1. Remove the extension, and $U if already installed.
6257 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5370 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6258 ac_i=`echo "$ac_i" | sed "$ac_script"` 5371 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6259 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5372 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6260 # will be set to the directory where LIBOBJS objects are built. 5373 # will be set to the directory where LIBOBJS objects are built.
6261 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5374 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6262 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 5375 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6263done 5376done
6264LIBOBJS=$ac_libobjs 5377LIBOBJS=$ac_libobjs
6265 5378
6266LTLIBOBJS=$ac_ltlibobjs 5379LTLIBOBJS=$ac_ltlibobjs
6267 5380
6268 5381
6269if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5382if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6270 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 5383 as_fn_error $? "conditional \"AMDEP\" was never defined.
6271Usually this means the macro was only invoked conditionally." >&5 5384Usually this means the macro was only invoked conditionally." "$LINENO" 5
6272echo "$as_me: error: conditional \"AMDEP\" was never defined.
6273Usually this means the macro was only invoked conditionally." >&2;}
6274 { (exit 1); exit 1; }; }
6275fi 5385fi
6276if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5386if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6277 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 5387 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6278Usually this means the macro was only invoked conditionally." >&5 5388Usually this means the macro was only invoked conditionally." "$LINENO" 5
6279echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6280Usually this means the macro was only invoked conditionally." >&2;}
6281 { (exit 1); exit 1; }; }
6282fi 5389fi
6283if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 5390if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6284 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 5391 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
6285Usually this means the macro was only invoked conditionally." >&5 5392Usually this means the macro was only invoked conditionally." "$LINENO" 5
6286echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
6287Usually this means the macro was only invoked conditionally." >&2;}
6288 { (exit 1); exit 1; }; }
6289fi 5393fi
6290if test -z "${HAVE_PCCTS_TRUE}" && test -z "${HAVE_PCCTS_FALSE}"; then 5394if test -z "${HAVE_PCCTS_TRUE}" && test -z "${HAVE_PCCTS_FALSE}"; then
6291 { { echo "$as_me:$LINENO: error: conditional \"HAVE_PCCTS\" was never defined. 5395 as_fn_error $? "conditional \"HAVE_PCCTS\" was never defined.
6292Usually this means the macro was only invoked conditionally." >&5 5396Usually this means the macro was only invoked conditionally." "$LINENO" 5
6293echo "$as_me: error: conditional \"HAVE_PCCTS\" was never defined.
6294Usually this means the macro was only invoked conditionally." >&2;}
6295 { (exit 1); exit 1; }; }
6296fi 5397fi
6297 5398
6298: ${CONFIG_STATUS=./config.status} 5399: "${CONFIG_STATUS=./config.status}"
5400ac_write_fail=0
6299ac_clean_files_save=$ac_clean_files 5401ac_clean_files_save=$ac_clean_files
6300ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5402ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6301{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5403{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6302echo "$as_me: creating $CONFIG_STATUS" >&6;} 5404$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6303cat >$CONFIG_STATUS <<_ACEOF 5405as_write_fail=0
5406cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6304#! $SHELL 5407#! $SHELL
6305# Generated by $as_me. 5408# Generated by $as_me.
6306# Run this file to recreate the current configuration. 5409# Run this file to recreate the current configuration.
6307# Compiler output produced by configure, useful for debugging 5410# Compiler output produced by configure, useful for debugging
6308# configure, is in config.log if it exists. 5411# configure, is in config.log if it exists.
6309 5412
6310debug=false 5413debug=false
6311ac_cs_recheck=false 5414ac_cs_recheck=false
6312ac_cs_silent=false 5415ac_cs_silent=false
5416
6313SHELL=\${CONFIG_SHELL-$SHELL} 5417SHELL=\${CONFIG_SHELL-$SHELL}
5418export SHELL
6314_ACEOF 5419_ASEOF
6315 5420cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6316cat >>$CONFIG_STATUS <<\_ACEOF
6317## --------------------- ## 5421## -------------------- ##
6318## M4sh Initialization. ## 5422## M4sh Initialization. ##
6319## --------------------- ## 5423## -------------------- ##
6320 5424
6321# Be more Bourne compatible 5425# Be more Bourne compatible
6322DUALCASE=1; export DUALCASE # for MKS sh 5426DUALCASE=1; export DUALCASE # for MKS sh
6323if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5427if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6324 emulate sh 5428 emulate sh
6325 NULLCMD=: 5429 NULLCMD=:
6326 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 5430 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6327 # is contrary to our usage. Disable this feature. 5431 # is contrary to our usage. Disable this feature.
6328 alias -g '${1+"$@"}'='"$@"' 5432 alias -g '${1+"$@"}'='"$@"'
6329 setopt NO_GLOB_SUBST 5433 setopt NO_GLOB_SUBST
6330else 5434else
6331 case `(set -o) 2>/dev/null` in 5435 case `(set -o) 2>/dev/null` in #(
6332 *posix*) set -o posix ;; 5436 *posix*) :
5437 set -o posix ;; #(
5438 *) :
5439 ;;
6333esac 5440esac
6334
6335fi 5441fi
6336 5442
6337 5443
6338 5444as_nl='
6339 5445'
6340# PATH needs CR 5446export as_nl
6341# Avoid depending upon Character Ranges. 5447# Printing a long string crashes Solaris 7 /usr/bin/printf.
6342as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5448as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6343as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5449as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6344as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5450as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6345as_cr_digits='0123456789' 5451# Prefer a ksh shell builtin over an external printf program on Solaris,
6346as_cr_alnum=$as_cr_Letters$as_cr_digits 5452# but without wasting forks for bash or zsh.
5453if test -z "$BASH_VERSION$ZSH_VERSION" \
5454 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5455 as_echo='print -r --'
5456 as_echo_n='print -rn --'
5457elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5458 as_echo='printf %s\n'
5459 as_echo_n='printf %s'
5460else
5461 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5462 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5463 as_echo_n='/usr/ucb/echo -n'
5464 else
5465 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5466 as_echo_n_body='eval
5467 arg=$1;
5468 case $arg in #(
5469 *"$as_nl"*)
5470 expr "X$arg" : "X\\(.*\\)$as_nl";
5471 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5472 esac;
5473 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5474 '
5475 export as_echo_n_body
5476 as_echo_n='sh -c $as_echo_n_body as_echo'
5477 fi
5478 export as_echo_body
5479 as_echo='sh -c $as_echo_body as_echo'
5480fi
6347 5481
6348# The user is always right. 5482# The user is always right.
6349if test "${PATH_SEPARATOR+set}" != set; then 5483if test "${PATH_SEPARATOR+set}" != set; then
6350 echo "#! /bin/sh" >conf$$.sh 5484 PATH_SEPARATOR=:
6351 echo "exit 0" >>conf$$.sh 5485 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6352 chmod +x conf$$.sh 5486 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6353 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6354 PATH_SEPARATOR=';' 5487 PATH_SEPARATOR=';'
6355 else 5488 }
6356 PATH_SEPARATOR=:
6357 fi
6358 rm -f conf$$.sh
6359fi
6360
6361# Support unset when possible.
6362if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6363 as_unset=unset
6364else
6365 as_unset=false
6366fi 5489fi
6367 5490
6368 5491
6369# IFS 5492# IFS
6370# We need space, tab and new line, in precisely that order. Quoting is 5493# We need space, tab and new line, in precisely that order. Quoting is
6371# there to prevent editors from complaining about space-tab. 5494# there to prevent editors from complaining about space-tab.
6372# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5495# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6373# splitting by setting IFS to empty value.) 5496# splitting by setting IFS to empty value.)
6374as_nl='
6375'
6376IFS=" "" $as_nl" 5497IFS=" "" $as_nl"
6377 5498
6378# Find who we are. Look in the path if we contain no directory separator. 5499# Find who we are. Look in the path if we contain no directory separator.
5500as_myself=
6379case $0 in 5501case $0 in #((
6380 *[\\/]* ) as_myself=$0 ;; 5502 *[\\/]* ) as_myself=$0 ;;
6381 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5503 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6382for as_dir in $PATH 5504for as_dir in $PATH
6383do 5505do
6384 IFS=$as_save_IFS 5506 IFS=$as_save_IFS
6385 test -z "$as_dir" && as_dir=. 5507 test -z "$as_dir" && as_dir=.
6386 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5508 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6387done 5509 done
6388IFS=$as_save_IFS 5510IFS=$as_save_IFS
6389 5511
6390 ;; 5512 ;;
6391esac 5513esac
6392# We did not find ourselves, most probably we were run as `sh COMMAND' 5514# We did not find ourselves, most probably we were run as `sh COMMAND'
6393# in which case we are not to be found in the path. 5515# in which case we are not to be found in the path.
6394if test "x$as_myself" = x; then 5516if test "x$as_myself" = x; then
6395 as_myself=$0 5517 as_myself=$0
6396fi 5518fi
6397if test ! -f "$as_myself"; then 5519if test ! -f "$as_myself"; then
6398 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5520 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6399 { (exit 1); exit 1; } 5521 exit 1
6400fi 5522fi
6401 5523
6402# Work around bugs in pre-3.0 UWIN ksh. 5524# Unset variables that we do not need and which cause bugs (e.g. in
5525# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5526# suppresses any "Segmentation fault" message there. '((' could
5527# trigger a bug in pdksh 5.2.14.
6403for as_var in ENV MAIL MAILPATH 5528for as_var in BASH_ENV ENV MAIL MAILPATH
5529do eval test x\${$as_var+set} = xset \
6404do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5530 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6405done 5531done
6406PS1='$ ' 5532PS1='$ '
6407PS2='> ' 5533PS2='> '
6408PS4='+ ' 5534PS4='+ '
6409 5535
6410# NLS nuisances. 5536# NLS nuisances.
6411for as_var in \ 5537LC_ALL=C
6412 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 5538export LC_ALL
6413 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 5539LANGUAGE=C
6414 LC_TELEPHONE LC_TIME 5540export LANGUAGE
6415do 5541
6416 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 5542# CDPATH.
6417 eval $as_var=C; export $as_var 5543(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6418 else 5544
6419 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5545
5546# as_fn_error STATUS ERROR [LINENO LOG_FD]
5547# ----------------------------------------
5548# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5549# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5550# script with STATUS, using 1 if that was 0.
5551as_fn_error ()
5552{
5553 as_status=$1; test $as_status -eq 0 && as_status=1
5554 if test "$4"; then
5555 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5556 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6420 fi 5557 fi
6421done 5558 $as_echo "$as_me: error: $2" >&2
5559 as_fn_exit $as_status
5560} # as_fn_error
6422 5561
6423# Required to use basename. 5562
5563# as_fn_set_status STATUS
5564# -----------------------
5565# Set $? to STATUS, without forking.
5566as_fn_set_status ()
5567{
5568 return $1
5569} # as_fn_set_status
5570
5571# as_fn_exit STATUS
5572# -----------------
5573# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5574as_fn_exit ()
5575{
5576 set +e
5577 as_fn_set_status $1
5578 exit $1
5579} # as_fn_exit
5580
5581# as_fn_unset VAR
5582# ---------------
5583# Portably unset VAR.
5584as_fn_unset ()
5585{
5586 { eval $1=; unset $1;}
5587}
5588as_unset=as_fn_unset
5589# as_fn_append VAR VALUE
5590# ----------------------
5591# Append the text in VALUE to the end of the definition contained in VAR. Take
5592# advantage of any shell optimizations that allow amortized linear growth over
5593# repeated appends, instead of the typical quadratic growth present in naive
5594# implementations.
5595if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5596 eval 'as_fn_append ()
5597 {
5598 eval $1+=\$2
5599 }'
5600else
5601 as_fn_append ()
5602 {
5603 eval $1=\$$1\$2
5604 }
5605fi # as_fn_append
5606
5607# as_fn_arith ARG...
5608# ------------------
5609# Perform arithmetic evaluation on the ARGs, and store the result in the
5610# global $as_val. Take advantage of shells that can avoid forks. The arguments
5611# must be portable across $(()) and expr.
5612if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5613 eval 'as_fn_arith ()
5614 {
5615 as_val=$(( $* ))
5616 }'
5617else
5618 as_fn_arith ()
5619 {
5620 as_val=`expr "$@" || test $? -eq 1`
5621 }
5622fi # as_fn_arith
5623
5624
6424if expr a : '\(a\)' >/dev/null 2>&1 && 5625if expr a : '\(a\)' >/dev/null 2>&1 &&
6425 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5626 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6426 as_expr=expr 5627 as_expr=expr
6427else 5628else
6428 as_expr=false 5629 as_expr=false
6432 as_basename=basename 5633 as_basename=basename
6433else 5634else
6434 as_basename=false 5635 as_basename=false
6435fi 5636fi
6436 5637
5638if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5639 as_dirname=dirname
5640else
5641 as_dirname=false
5642fi
6437 5643
6438# Name of the executable.
6439as_me=`$as_basename -- "$0" || 5644as_me=`$as_basename -- "$0" ||
6440$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5645$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6441 X"$0" : 'X\(//\)$' \| \ 5646 X"$0" : 'X\(//\)$' \| \
6442 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5647 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6443echo X/"$0" | 5648$as_echo X/"$0" |
6444 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5649 sed '/^.*\/\([^/][^/]*\)\/*$/{
6445 s//\1/ 5650 s//\1/
6446 q 5651 q
6447 } 5652 }
6448 /^X\/\(\/\/\)$/{ 5653 /^X\/\(\/\/\)$/{
6453 s//\1/ 5658 s//\1/
6454 q 5659 q
6455 } 5660 }
6456 s/.*/./; q'` 5661 s/.*/./; q'`
6457 5662
6458# CDPATH. 5663# Avoid depending upon Character Ranges.
6459$as_unset CDPATH 5664as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6460 5665as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6461 5666as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6462 5667as_cr_digits='0123456789'
6463 as_lineno_1=$LINENO 5668as_cr_alnum=$as_cr_Letters$as_cr_digits
6464 as_lineno_2=$LINENO
6465 test "x$as_lineno_1" != "x$as_lineno_2" &&
6466 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6467
6468 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6469 # uniformly replaced by the line number. The first 'sed' inserts a
6470 # line-number line after each line using $LINENO; the second 'sed'
6471 # does the real work. The second script uses 'N' to pair each
6472 # line-number line with the line containing $LINENO, and appends
6473 # trailing '-' during substitution so that $LINENO is not a special
6474 # case at line end.
6475 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6476 # scripts with optimization help from Paolo Bonzini. Blame Lee
6477 # E. McMahon (1931-1989) for sed's syntax. :-)
6478 sed -n '
6479 p
6480 /[$]LINENO/=
6481 ' <$as_myself |
6482 sed '
6483 s/[$]LINENO.*/&-/
6484 t lineno
6485 b
6486 :lineno
6487 N
6488 :loop
6489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6490 t loop
6491 s/-\n.*//
6492 ' >$as_me.lineno &&
6493 chmod +x "$as_me.lineno" ||
6494 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6495 { (exit 1); exit 1; }; }
6496
6497 # Don't try to exec as it changes $[0], causing all sort of problems
6498 # (the dirname of $[0] is not the place where we might find the
6499 # original and so on. Autoconf is especially sensitive to this).
6500 . "./$as_me.lineno"
6501 # Exit status is that of the last command.
6502 exit
6503}
6504
6505
6506if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6507 as_dirname=dirname
6508else
6509 as_dirname=false
6510fi
6511 5669
6512ECHO_C= ECHO_N= ECHO_T= 5670ECHO_C= ECHO_N= ECHO_T=
6513case `echo -n x` in 5671case `echo -n x` in #(((((
6514-n*) 5672-n*)
6515 case `echo 'x\c'` in 5673 case `echo 'xy\c'` in
6516 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5674 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6517 *) ECHO_C='\c';; 5675 xy) ECHO_C='\c';;
5676 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5677 ECHO_T=' ';;
6518 esac;; 5678 esac;;
6519*) 5679*)
6520 ECHO_N='-n';; 5680 ECHO_N='-n';;
6521esac 5681esac
6522 5682
6523if expr a : '\(a\)' >/dev/null 2>&1 &&
6524 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6525 as_expr=expr
6526else
6527 as_expr=false
6528fi
6529
6530rm -f conf$$ conf$$.exe conf$$.file 5683rm -f conf$$ conf$$.exe conf$$.file
6531if test -d conf$$.dir; then 5684if test -d conf$$.dir; then
6532 rm -f conf$$.dir/conf$$.file 5685 rm -f conf$$.dir/conf$$.file
6533else 5686else
6534 rm -f conf$$.dir 5687 rm -f conf$$.dir
6535 mkdir conf$$.dir 5688 mkdir conf$$.dir 2>/dev/null
6536fi 5689fi
6537echo >conf$$.file 5690if (echo >conf$$.file) 2>/dev/null; then
6538if ln -s conf$$.file conf$$ 2>/dev/null; then 5691 if ln -s conf$$.file conf$$ 2>/dev/null; then
6539 as_ln_s='ln -s' 5692 as_ln_s='ln -s'
6540 # ... but there are two gotchas: 5693 # ... but there are two gotchas:
6541 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5694 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6542 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5695 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6543 # In both cases, we have to default to `cp -p'. 5696 # In both cases, we have to default to `cp -pR'.
6544 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5697 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6545 as_ln_s='cp -p' 5698 as_ln_s='cp -pR'
6546elif ln conf$$.file conf$$ 2>/dev/null; then 5699 elif ln conf$$.file conf$$ 2>/dev/null; then
6547 as_ln_s=ln 5700 as_ln_s=ln
6548else 5701 else
5702 as_ln_s='cp -pR'
5703 fi
5704else
6549 as_ln_s='cp -p' 5705 as_ln_s='cp -pR'
6550fi 5706fi
6551rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5707rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6552rmdir conf$$.dir 2>/dev/null 5708rmdir conf$$.dir 2>/dev/null
6553 5709
6554if mkdir -p . 2>/dev/null; then 5710
6555 as_mkdir_p=: 5711# as_fn_mkdir_p
6556else 5712# -------------
6557 test -d ./-p && rmdir ./-p 5713# Create "$as_dir" as a directory, including parents if necessary.
6558 as_mkdir_p=false 5714as_fn_mkdir_p ()
6559fi
6560
6561if test -x / >/dev/null 2>&1; then
6562 as_test_x='test -x'
6563else
6564 if ls -dL / >/dev/null 2>&1; then
6565 as_ls_L_option=L
6566 else
6567 as_ls_L_option=
6568 fi
6569 as_test_x='
6570 eval sh -c '\''
6571 if test -d "$1"; then
6572 test -d "$1/.";
6573 else
6574 case $1 in
6575 -*)set "./$1";;
6576 esac;
6577 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6578 ???[sx]*):;;*)false;;esac;fi
6579 '\'' sh
6580 '
6581fi
6582as_executable_p=$as_test_x
6583
6584# Sed expression to map a string onto a valid CPP name.
6585as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6586
6587# Sed expression to map a string onto a valid variable name.
6588as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6589
6590
6591exec 6>&1
6592
6593# Save the log message, to keep $[0] and so on meaningful, and to
6594# report actual input values of CONFIG_FILES etc. instead of their
6595# values after options handling.
6596ac_log="
6597This file was extended by $as_me, which was
6598generated by GNU Autoconf 2.61. Invocation command line was
6599
6600 CONFIG_FILES = $CONFIG_FILES
6601 CONFIG_HEADERS = $CONFIG_HEADERS
6602 CONFIG_LINKS = $CONFIG_LINKS
6603 CONFIG_COMMANDS = $CONFIG_COMMANDS
6604 $ $0 $@
6605
6606on `(hostname || uname -n) 2>/dev/null | sed 1q`
6607"
6608
6609_ACEOF
6610
6611cat >>$CONFIG_STATUS <<_ACEOF
6612# Files that config.status was made for.
6613config_files="$ac_config_files"
6614config_headers="$ac_config_headers"
6615config_commands="$ac_config_commands"
6616
6617_ACEOF
6618
6619cat >>$CONFIG_STATUS <<\_ACEOF
6620ac_cs_usage="\
6621\`$as_me' instantiates files from templates according to the
6622current configuration.
6623
6624Usage: $0 [OPTIONS] [FILE]...
6625
6626 -h, --help print this help, then exit
6627 -V, --version print version number and configuration settings, then exit
6628 -q, --quiet do not print progress messages
6629 -d, --debug don't remove temporary files
6630 --recheck update $as_me by reconfiguring in the same conditions
6631 --file=FILE[:TEMPLATE]
6632 instantiate the configuration file FILE
6633 --header=FILE[:TEMPLATE]
6634 instantiate the configuration header FILE
6635
6636Configuration files:
6637$config_files
6638
6639Configuration headers:
6640$config_headers
6641
6642Configuration commands:
6643$config_commands
6644
6645Report bugs to <bug-autoconf@gnu.org>."
6646
6647_ACEOF
6648cat >>$CONFIG_STATUS <<_ACEOF
6649ac_cs_version="\\
6650config.status
6651configured by $0, generated by GNU Autoconf 2.61,
6652 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6653
6654Copyright (C) 2006 Free Software Foundation, Inc.
6655This config.status script is free software; the Free Software Foundation
6656gives unlimited permission to copy, distribute and modify it."
6657
6658ac_pwd='$ac_pwd'
6659srcdir='$srcdir'
6660INSTALL='$INSTALL'
6661MKDIR_P='$MKDIR_P'
6662_ACEOF
6663
6664cat >>$CONFIG_STATUS <<\_ACEOF
6665# If no file are specified by the user, then we need to provide default
6666# value. By we need to know if files were specified by the user.
6667ac_need_defaults=:
6668while test $# != 0
6669do
6670 case $1 in
6671 --*=*)
6672 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6673 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6674 ac_shift=:
6675 ;;
6676 *)
6677 ac_option=$1
6678 ac_optarg=$2
6679 ac_shift=shift
6680 ;;
6681 esac
6682
6683 case $ac_option in
6684 # Handling of the options.
6685 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6686 ac_cs_recheck=: ;;
6687 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6688 echo "$ac_cs_version"; exit ;;
6689 --debug | --debu | --deb | --de | --d | -d )
6690 debug=: ;;
6691 --file | --fil | --fi | --f )
6692 $ac_shift
6693 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6694 ac_need_defaults=false;;
6695 --header | --heade | --head | --hea )
6696 $ac_shift
6697 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6698 ac_need_defaults=false;;
6699 --he | --h)
6700 # Conflict between --help and --header
6701 { echo "$as_me: error: ambiguous option: $1
6702Try \`$0 --help' for more information." >&2
6703 { (exit 1); exit 1; }; };;
6704 --help | --hel | -h )
6705 echo "$ac_cs_usage"; exit ;;
6706 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6707 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6708 ac_cs_silent=: ;;
6709
6710 # This is an error.
6711 -*) { echo "$as_me: error: unrecognized option: $1
6712Try \`$0 --help' for more information." >&2
6713 { (exit 1); exit 1; }; } ;;
6714
6715 *) ac_config_targets="$ac_config_targets $1"
6716 ac_need_defaults=false ;;
6717
6718 esac
6719 shift
6720done
6721
6722ac_configure_extra_args=
6723
6724if $ac_cs_silent; then
6725 exec 6>/dev/null
6726 ac_configure_extra_args="$ac_configure_extra_args --silent"
6727fi
6728
6729_ACEOF
6730cat >>$CONFIG_STATUS <<_ACEOF
6731if \$ac_cs_recheck; then
6732 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6733 CONFIG_SHELL=$SHELL
6734 export CONFIG_SHELL
6735 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6736fi
6737
6738_ACEOF
6739cat >>$CONFIG_STATUS <<\_ACEOF
6740exec 5>>config.log
6741{ 5715{
6742 echo
6743 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6744## Running $as_me. ##
6745_ASBOX
6746 echo "$ac_log"
6747} >&5
6748 5716
6749_ACEOF
6750cat >>$CONFIG_STATUS <<_ACEOF
6751#
6752# INIT-COMMANDS
6753#
6754AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6755
6756_ACEOF
6757
6758cat >>$CONFIG_STATUS <<\_ACEOF
6759
6760# Handling of arguments.
6761for ac_config_target in $ac_config_targets
6762do
6763 case $ac_config_target in
6764 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6765 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6766 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6767
6768 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6769echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6770 { (exit 1); exit 1; }; };;
6771 esac
6772done
6773
6774
6775# If the user did not use the arguments to specify the items to instantiate,
6776# then the envvar interface is used. Set only those that are not.
6777# We use the long form for the default assignment because of an extremely
6778# bizarre bug on SunOS 4.1.3.
6779if $ac_need_defaults; then
6780 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6781 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6782 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6783fi
6784
6785# Have a temporary directory for convenience. Make it in the build tree
6786# simply because there is no reason against having it here, and in addition,
6787# creating and moving files from /tmp can sometimes cause problems.
6788# Hook for its removal unless debugging.
6789# Note that there is a small window in which the directory will not be cleaned:
6790# after its creation but before its name has been assigned to `$tmp'.
6791$debug ||
6792{
6793 tmp=
6794 trap 'exit_status=$?
6795 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6796' 0
6797 trap '{ (exit 1); exit 1; }' 1 2 13 15
6798}
6799# Create a (secure) tmp directory for tmp files.
6800
6801{
6802 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6803 test -n "$tmp" && test -d "$tmp"
6804} ||
6805{
6806 tmp=./conf$$-$RANDOM
6807 (umask 077 && mkdir "$tmp")
6808} ||
6809{
6810 echo "$me: cannot create a temporary directory in ." >&2
6811 { (exit 1); exit 1; }
6812}
6813
6814#
6815# Set up the sed scripts for CONFIG_FILES section.
6816#
6817
6818# No need to generate the scripts if there are no CONFIG_FILES.
6819# This happens for instance when ./config.status config.h
6820if test -n "$CONFIG_FILES"; then
6821
6822_ACEOF
6823
6824
6825
6826ac_delim='%!_!# '
6827for ac_last_try in false false false false false :; do
6828 cat >conf$$subs.sed <<_ACEOF
6829SHELL!$SHELL$ac_delim
6830PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6831PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6832PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6833PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6834PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6835PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6836exec_prefix!$exec_prefix$ac_delim
6837prefix!$prefix$ac_delim
6838program_transform_name!$program_transform_name$ac_delim
6839bindir!$bindir$ac_delim
6840sbindir!$sbindir$ac_delim
6841libexecdir!$libexecdir$ac_delim
6842datarootdir!$datarootdir$ac_delim
6843datadir!$datadir$ac_delim
6844sysconfdir!$sysconfdir$ac_delim
6845sharedstatedir!$sharedstatedir$ac_delim
6846localstatedir!$localstatedir$ac_delim
6847includedir!$includedir$ac_delim
6848oldincludedir!$oldincludedir$ac_delim
6849docdir!$docdir$ac_delim
6850infodir!$infodir$ac_delim
6851htmldir!$htmldir$ac_delim
6852dvidir!$dvidir$ac_delim
6853pdfdir!$pdfdir$ac_delim
6854psdir!$psdir$ac_delim
6855libdir!$libdir$ac_delim
6856localedir!$localedir$ac_delim
6857mandir!$mandir$ac_delim
6858DEFS!$DEFS$ac_delim
6859ECHO_C!$ECHO_C$ac_delim
6860ECHO_N!$ECHO_N$ac_delim
6861ECHO_T!$ECHO_T$ac_delim
6862LIBS!$LIBS$ac_delim
6863build_alias!$build_alias$ac_delim
6864host_alias!$host_alias$ac_delim
6865target_alias!$target_alias$ac_delim
6866INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6867INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6868INSTALL_DATA!$INSTALL_DATA$ac_delim
6869am__isrc!$am__isrc$ac_delim
6870CYGPATH_W!$CYGPATH_W$ac_delim
6871PACKAGE!$PACKAGE$ac_delim
6872VERSION!$VERSION$ac_delim
6873ACLOCAL!$ACLOCAL$ac_delim
6874AUTOCONF!$AUTOCONF$ac_delim
6875AUTOMAKE!$AUTOMAKE$ac_delim
6876AUTOHEADER!$AUTOHEADER$ac_delim
6877MAKEINFO!$MAKEINFO$ac_delim
6878install_sh!$install_sh$ac_delim
6879STRIP!$STRIP$ac_delim
6880INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
6881mkdir_p!$mkdir_p$ac_delim
6882AWK!$AWK$ac_delim
6883SET_MAKE!$SET_MAKE$ac_delim
6884am__leading_dot!$am__leading_dot$ac_delim
6885AMTAR!$AMTAR$ac_delim
6886am__tar!$am__tar$ac_delim
6887am__untar!$am__untar$ac_delim
6888CC!$CC$ac_delim
6889CFLAGS!$CFLAGS$ac_delim
6890LDFLAGS!$LDFLAGS$ac_delim
6891CPPFLAGS!$CPPFLAGS$ac_delim
6892ac_ct_CC!$ac_ct_CC$ac_delim
6893EXEEXT!$EXEEXT$ac_delim
6894OBJEXT!$OBJEXT$ac_delim
6895DEPDIR!$DEPDIR$ac_delim
6896am__include!$am__include$ac_delim
6897am__quote!$am__quote$ac_delim
6898AMDEP_TRUE!$AMDEP_TRUE$ac_delim
6899AMDEP_FALSE!$AMDEP_FALSE$ac_delim
6900AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
6901CCDEPMODE!$CCDEPMODE$ac_delim
6902am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
6903am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
6904CPP!$CPP$ac_delim
6905GREP!$GREP$ac_delim
6906EGREP!$EGREP$ac_delim
6907CXX!$CXX$ac_delim
6908CXXFLAGS!$CXXFLAGS$ac_delim
6909ac_ct_CXX!$ac_ct_CXX$ac_delim
6910CXXDEPMODE!$CXXDEPMODE$ac_delim
6911am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
6912am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
6913CXXCPP!$CXXCPP$ac_delim
6914XMKMF!$XMKMF$ac_delim
6915ANTLR!$ANTLR$ac_delim
6916DLG!$DLG$ac_delim
6917HAVE_PCCTS_TRUE!$HAVE_PCCTS_TRUE$ac_delim
6918HAVE_PCCTS_FALSE!$HAVE_PCCTS_FALSE$ac_delim
6919LIBOBJS!$LIBOBJS$ac_delim
6920LTLIBOBJS!$LTLIBOBJS$ac_delim
6921_ACEOF
6922
6923 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then
6924 break
6925 elif $ac_last_try; then
6926 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6927echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6928 { (exit 1); exit 1; }; }
6929 else
6930 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6931 fi
6932done
6933
6934ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6935if test -n "$ac_eof"; then
6936 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6937 ac_eof=`expr $ac_eof + 1`
6938fi
6939
6940cat >>$CONFIG_STATUS <<_ACEOF
6941cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6942/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6943_ACEOF
6944sed '
6945s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6946s/^/s,@/; s/!/@,|#_!!_#|/
6947:n
6948t n
6949s/'"$ac_delim"'$/,g/; t
6950s/$/\\/; p
6951N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6952' >>$CONFIG_STATUS <conf$$subs.sed
6953rm -f conf$$subs.sed
6954cat >>$CONFIG_STATUS <<_ACEOF
6955:end
6956s/|#_!!_#|//g
6957CEOF$ac_eof
6958_ACEOF
6959
6960
6961# VPATH may cause trouble with some makes, so we remove $(srcdir),
6962# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6963# trailing colons and then remove the whole line if VPATH becomes empty
6964# (actually we leave an empty line to preserve line numbers).
6965if test "x$srcdir" = x.; then
6966 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6967s/:*\$(srcdir):*/:/
6968s/:*\${srcdir}:*/:/
6969s/:*@srcdir@:*/:/
6970s/^\([^=]*=[ ]*\):*/\1/
6971s/:*$//
6972s/^[^=]*=[ ]*$//
6973}'
6974fi
6975
6976cat >>$CONFIG_STATUS <<\_ACEOF
6977fi # test -n "$CONFIG_FILES"
6978
6979
6980for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
6981do
6982 case $ac_tag in
6983 :[FHLC]) ac_mode=$ac_tag; continue;;
6984 esac
6985 case $ac_mode$ac_tag in
6986 :[FHL]*:*);;
6987 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6988echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6989 { (exit 1); exit 1; }; };;
6990 :[FH]-) ac_tag=-:-;;
6991 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6992 esac
6993 ac_save_IFS=$IFS
6994 IFS=:
6995 set x $ac_tag
6996 IFS=$ac_save_IFS
6997 shift
6998 ac_file=$1
6999 shift
7000
7001 case $ac_mode in
7002 :L) ac_source=$1;;
7003 :[FH])
7004 ac_file_inputs=
7005 for ac_f
7006 do
7007 case $ac_f in
7008 -) ac_f="$tmp/stdin";;
7009 *) # Look for the file first in the build tree, then in the source tree
7010 # (if the path is not absolute). The absolute path cannot be DOS-style,
7011 # because $ac_f cannot contain `:'.
7012 test -f "$ac_f" ||
7013 case $ac_f in
7014 [\\/$]*) false;;
7015 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7016 esac ||
7017 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7018echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7019 { (exit 1); exit 1; }; };;
7020 esac
7021 ac_file_inputs="$ac_file_inputs $ac_f"
7022 done
7023
7024 # Let's still pretend it is `configure' which instantiates (i.e., don't
7025 # use $as_me), people would be surprised to read:
7026 # /* config.h. Generated by config.status. */
7027 configure_input="Generated from "`IFS=:
7028 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7029 if test x"$ac_file" != x-; then
7030 configure_input="$ac_file. $configure_input"
7031 { echo "$as_me:$LINENO: creating $ac_file" >&5
7032echo "$as_me: creating $ac_file" >&6;}
7033 fi
7034
7035 case $ac_tag in
7036 *:-:* | *:-) cat >"$tmp/stdin";;
7037 esac
7038 ;;
7039 esac
7040
7041 ac_dir=`$as_dirname -- "$ac_file" ||
7042$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7043 X"$ac_file" : 'X\(//\)[^/]' \| \
7044 X"$ac_file" : 'X\(//\)$' \| \
7045 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7046echo X"$ac_file" |
7047 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7048 s//\1/
7049 q
7050 }
7051 /^X\(\/\/\)[^/].*/{
7052 s//\1/
7053 q
7054 }
7055 /^X\(\/\/\)$/{
7056 s//\1/
7057 q
7058 }
7059 /^X\(\/\).*/{
7060 s//\1/
7061 q
7062 }
7063 s/.*/./; q'`
7064 { as_dir="$ac_dir"
7065 case $as_dir in #( 5717 case $as_dir in #(
7066 -*) as_dir=./$as_dir;; 5718 -*) as_dir=./$as_dir;;
7067 esac 5719 esac
7068 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 5720 test -d "$as_dir" || eval $as_mkdir_p || {
7069 as_dirs= 5721 as_dirs=
7070 while :; do 5722 while :; do
7071 case $as_dir in #( 5723 case $as_dir in #(
7072 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 5724 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7073 *) as_qdir=$as_dir;; 5725 *) as_qdir=$as_dir;;
7074 esac 5726 esac
7075 as_dirs="'$as_qdir' $as_dirs" 5727 as_dirs="'$as_qdir' $as_dirs"
7076 as_dir=`$as_dirname -- "$as_dir" || 5728 as_dir=`$as_dirname -- "$as_dir" ||
7077$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5729$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7078 X"$as_dir" : 'X\(//\)[^/]' \| \ 5730 X"$as_dir" : 'X\(//\)[^/]' \| \
7079 X"$as_dir" : 'X\(//\)$' \| \ 5731 X"$as_dir" : 'X\(//\)$' \| \
7080 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5732 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7081echo X"$as_dir" | 5733$as_echo X"$as_dir" |
7082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7083 s//\1/ 5735 s//\1/
7084 q 5736 q
7085 } 5737 }
7086 /^X\(\/\/\)[^/].*/{ 5738 /^X\(\/\/\)[^/].*/{
7097 } 5749 }
7098 s/.*/./; q'` 5750 s/.*/./; q'`
7099 test -d "$as_dir" && break 5751 test -d "$as_dir" && break
7100 done 5752 done
7101 test -z "$as_dirs" || eval "mkdir $as_dirs" 5753 test -z "$as_dirs" || eval "mkdir $as_dirs"
7102 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 5754 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7103echo "$as_me: error: cannot create directory $as_dir" >&2;} 5755
7104 { (exit 1); exit 1; }; }; } 5756
5757} # as_fn_mkdir_p
5758if mkdir -p . 2>/dev/null; then
5759 as_mkdir_p='mkdir -p "$as_dir"'
5760else
5761 test -d ./-p && rmdir ./-p
5762 as_mkdir_p=false
5763fi
5764
5765
5766# as_fn_executable_p FILE
5767# -----------------------
5768# Test if FILE is an executable regular file.
5769as_fn_executable_p ()
5770{
5771 test -f "$1" && test -x "$1"
5772} # as_fn_executable_p
5773as_test_x='test -x'
5774as_executable_p=as_fn_executable_p
5775
5776# Sed expression to map a string onto a valid CPP name.
5777as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5778
5779# Sed expression to map a string onto a valid variable name.
5780as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5781
5782
5783exec 6>&1
5784## ----------------------------------- ##
5785## Main body of $CONFIG_STATUS script. ##
5786## ----------------------------------- ##
5787_ASEOF
5788test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5789
5790cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5791# Save the log message, to keep $0 and so on meaningful, and to
5792# report actual input values of CONFIG_FILES etc. instead of their
5793# values after options handling.
5794ac_log="
5795This file was extended by $as_me, which was
5796generated by GNU Autoconf 2.69. Invocation command line was
5797
5798 CONFIG_FILES = $CONFIG_FILES
5799 CONFIG_HEADERS = $CONFIG_HEADERS
5800 CONFIG_LINKS = $CONFIG_LINKS
5801 CONFIG_COMMANDS = $CONFIG_COMMANDS
5802 $ $0 $@
5803
5804on `(hostname || uname -n) 2>/dev/null | sed 1q`
5805"
5806
5807_ACEOF
5808
5809case $ac_config_files in *"
5810"*) set x $ac_config_files; shift; ac_config_files=$*;;
5811esac
5812
5813case $ac_config_headers in *"
5814"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5815esac
5816
5817
5818cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5819# Files that config.status was made for.
5820config_files="$ac_config_files"
5821config_headers="$ac_config_headers"
5822config_commands="$ac_config_commands"
5823
5824_ACEOF
5825
5826cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5827ac_cs_usage="\
5828\`$as_me' instantiates files and other configuration actions
5829from templates according to the current configuration. Unless the files
5830and actions are specified as TAGs, all are instantiated by default.
5831
5832Usage: $0 [OPTION]... [TAG]...
5833
5834 -h, --help print this help, then exit
5835 -V, --version print version number and configuration settings, then exit
5836 --config print configuration, then exit
5837 -q, --quiet, --silent
5838 do not print progress messages
5839 -d, --debug don't remove temporary files
5840 --recheck update $as_me by reconfiguring in the same conditions
5841 --file=FILE[:TEMPLATE]
5842 instantiate the configuration file FILE
5843 --header=FILE[:TEMPLATE]
5844 instantiate the configuration header FILE
5845
5846Configuration files:
5847$config_files
5848
5849Configuration headers:
5850$config_headers
5851
5852Configuration commands:
5853$config_commands
5854
5855Report bugs to the package provider."
5856
5857_ACEOF
5858cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5859ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5860ac_cs_version="\\
5861config.status
5862configured by $0, generated by GNU Autoconf 2.69,
5863 with options \\"\$ac_cs_config\\"
5864
5865Copyright (C) 2012 Free Software Foundation, Inc.
5866This config.status script is free software; the Free Software Foundation
5867gives unlimited permission to copy, distribute and modify it."
5868
5869ac_pwd='$ac_pwd'
5870srcdir='$srcdir'
5871INSTALL='$INSTALL'
5872MKDIR_P='$MKDIR_P'
5873AWK='$AWK'
5874test -n "\$AWK" || AWK=awk
5875_ACEOF
5876
5877cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5878# The default lists apply if the user does not specify any file.
5879ac_need_defaults=:
5880while test $# != 0
5881do
5882 case $1 in
5883 --*=?*)
5884 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5885 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5886 ac_shift=:
5887 ;;
5888 --*=)
5889 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5890 ac_optarg=
5891 ac_shift=:
5892 ;;
5893 *)
5894 ac_option=$1
5895 ac_optarg=$2
5896 ac_shift=shift
5897 ;;
5898 esac
5899
5900 case $ac_option in
5901 # Handling of the options.
5902 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5903 ac_cs_recheck=: ;;
5904 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5905 $as_echo "$ac_cs_version"; exit ;;
5906 --config | --confi | --conf | --con | --co | --c )
5907 $as_echo "$ac_cs_config"; exit ;;
5908 --debug | --debu | --deb | --de | --d | -d )
5909 debug=: ;;
5910 --file | --fil | --fi | --f )
5911 $ac_shift
5912 case $ac_optarg in
5913 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5914 '') as_fn_error $? "missing file argument" ;;
5915 esac
5916 as_fn_append CONFIG_FILES " '$ac_optarg'"
5917 ac_need_defaults=false;;
5918 --header | --heade | --head | --hea )
5919 $ac_shift
5920 case $ac_optarg in
5921 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5922 esac
5923 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5924 ac_need_defaults=false;;
5925 --he | --h)
5926 # Conflict between --help and --header
5927 as_fn_error $? "ambiguous option: \`$1'
5928Try \`$0 --help' for more information.";;
5929 --help | --hel | -h )
5930 $as_echo "$ac_cs_usage"; exit ;;
5931 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5932 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5933 ac_cs_silent=: ;;
5934
5935 # This is an error.
5936 -*) as_fn_error $? "unrecognized option: \`$1'
5937Try \`$0 --help' for more information." ;;
5938
5939 *) as_fn_append ac_config_targets " $1"
5940 ac_need_defaults=false ;;
5941
5942 esac
5943 shift
5944done
5945
5946ac_configure_extra_args=
5947
5948if $ac_cs_silent; then
5949 exec 6>/dev/null
5950 ac_configure_extra_args="$ac_configure_extra_args --silent"
5951fi
5952
5953_ACEOF
5954cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5955if \$ac_cs_recheck; then
5956 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5957 shift
5958 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5959 CONFIG_SHELL='$SHELL'
5960 export CONFIG_SHELL
5961 exec "\$@"
5962fi
5963
5964_ACEOF
5965cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5966exec 5>>config.log
5967{
5968 echo
5969 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5970## Running $as_me. ##
5971_ASBOX
5972 $as_echo "$ac_log"
5973} >&5
5974
5975_ACEOF
5976cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5977#
5978# INIT-COMMANDS
5979#
5980AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5981
5982_ACEOF
5983
5984cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5985
5986# Handling of arguments.
5987for ac_config_target in $ac_config_targets
5988do
5989 case $ac_config_target in
5990 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5991 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5992 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5993
5994 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5995 esac
5996done
5997
5998
5999# If the user did not use the arguments to specify the items to instantiate,
6000# then the envvar interface is used. Set only those that are not.
6001# We use the long form for the default assignment because of an extremely
6002# bizarre bug on SunOS 4.1.3.
6003if $ac_need_defaults; then
6004 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6005 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6006 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6007fi
6008
6009# Have a temporary directory for convenience. Make it in the build tree
6010# simply because there is no reason against having it here, and in addition,
6011# creating and moving files from /tmp can sometimes cause problems.
6012# Hook for its removal unless debugging.
6013# Note that there is a small window in which the directory will not be cleaned:
6014# after its creation but before its name has been assigned to `$tmp'.
6015$debug ||
6016{
6017 tmp= ac_tmp=
6018 trap 'exit_status=$?
6019 : "${ac_tmp:=$tmp}"
6020 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6021' 0
6022 trap 'as_fn_exit 1' 1 2 13 15
6023}
6024# Create a (secure) tmp directory for tmp files.
6025
6026{
6027 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6028 test -d "$tmp"
6029} ||
6030{
6031 tmp=./conf$$-$RANDOM
6032 (umask 077 && mkdir "$tmp")
6033} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6034ac_tmp=$tmp
6035
6036# Set up the scripts for CONFIG_FILES section.
6037# No need to generate them if there are no CONFIG_FILES.
6038# This happens for instance with `./config.status config.h'.
6039if test -n "$CONFIG_FILES"; then
6040
6041
6042ac_cr=`echo X | tr X '\015'`
6043# On cygwin, bash can eat \r inside `` if the user requested igncr.
6044# But we know of no other shell where ac_cr would be empty at this
6045# point, so we can use a bashism as a fallback.
6046if test "x$ac_cr" = x; then
6047 eval ac_cr=\$\'\\r\'
6048fi
6049ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6050if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6051 ac_cs_awk_cr='\\r'
6052else
6053 ac_cs_awk_cr=$ac_cr
6054fi
6055
6056echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6057_ACEOF
6058
6059
6060{
6061 echo "cat >conf$$subs.awk <<_ACEOF" &&
6062 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6063 echo "_ACEOF"
6064} >conf$$subs.sh ||
6065 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6066ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6067ac_delim='%!_!# '
6068for ac_last_try in false false false false false :; do
6069 . ./conf$$subs.sh ||
6070 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6071
6072 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6073 if test $ac_delim_n = $ac_delim_num; then
6074 break
6075 elif $ac_last_try; then
6076 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6077 else
6078 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6079 fi
6080done
6081rm -f conf$$subs.sh
6082
6083cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6084cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6085_ACEOF
6086sed -n '
6087h
6088s/^/S["/; s/!.*/"]=/
6089p
6090g
6091s/^[^!]*!//
6092:repl
6093t repl
6094s/'"$ac_delim"'$//
6095t delim
6096:nl
6097h
6098s/\(.\{148\}\)..*/\1/
6099t more1
6100s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6101p
6102n
6103b repl
6104:more1
6105s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6106p
6107g
6108s/.\{148\}//
6109t nl
6110:delim
6111h
6112s/\(.\{148\}\)..*/\1/
6113t more2
6114s/["\\]/\\&/g; s/^/"/; s/$/"/
6115p
6116b
6117:more2
6118s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6119p
6120g
6121s/.\{148\}//
6122t delim
6123' <conf$$subs.awk | sed '
6124/^[^""]/{
6125 N
6126 s/\n//
6127}
6128' >>$CONFIG_STATUS || ac_write_fail=1
6129rm -f conf$$subs.awk
6130cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6131_ACAWK
6132cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6133 for (key in S) S_is_set[key] = 1
6134 FS = ""
6135
6136}
6137{
6138 line = $ 0
6139 nfields = split(line, field, "@")
6140 substed = 0
6141 len = length(field[1])
6142 for (i = 2; i < nfields; i++) {
6143 key = field[i]
6144 keylen = length(key)
6145 if (S_is_set[key]) {
6146 value = S[key]
6147 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6148 len += length(value) + length(field[++i])
6149 substed = 1
6150 } else
6151 len += 1 + keylen
6152 }
6153
6154 print line
6155}
6156
6157_ACAWK
6158_ACEOF
6159cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6160if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6161 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6162else
6163 cat
6164fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6165 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6166_ACEOF
6167
6168# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6169# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6170# trailing colons and then remove the whole line if VPATH becomes empty
6171# (actually we leave an empty line to preserve line numbers).
6172if test "x$srcdir" = x.; then
6173 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6174h
6175s///
6176s/^/:/
6177s/[ ]*$/:/
6178s/:\$(srcdir):/:/g
6179s/:\${srcdir}:/:/g
6180s/:@srcdir@:/:/g
6181s/^:*//
6182s/:*$//
6183x
6184s/\(=[ ]*\).*/\1/
6185G
6186s/\n//
6187s/^[^=]*=[ ]*$//
6188}'
6189fi
6190
6191cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6192fi # test -n "$CONFIG_FILES"
6193
6194# Set up the scripts for CONFIG_HEADERS section.
6195# No need to generate them if there are no CONFIG_HEADERS.
6196# This happens for instance with `./config.status Makefile'.
6197if test -n "$CONFIG_HEADERS"; then
6198cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6199BEGIN {
6200_ACEOF
6201
6202# Transform confdefs.h into an awk script `defines.awk', embedded as
6203# here-document in config.status, that substitutes the proper values into
6204# config.h.in to produce config.h.
6205
6206# Create a delimiter string that does not exist in confdefs.h, to ease
6207# handling of long lines.
6208ac_delim='%!_!# '
6209for ac_last_try in false false :; do
6210 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6211 if test -z "$ac_tt"; then
6212 break
6213 elif $ac_last_try; then
6214 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6215 else
6216 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6217 fi
6218done
6219
6220# For the awk script, D is an array of macro values keyed by name,
6221# likewise P contains macro parameters if any. Preserve backslash
6222# newline sequences.
6223
6224ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6225sed -n '
6226s/.\{148\}/&'"$ac_delim"'/g
6227t rset
6228:rset
6229s/^[ ]*#[ ]*define[ ][ ]*/ /
6230t def
6231d
6232:def
6233s/\\$//
6234t bsnl
6235s/["\\]/\\&/g
6236s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6237D["\1"]=" \3"/p
6238s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6239d
6240:bsnl
6241s/["\\]/\\&/g
6242s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6243D["\1"]=" \3\\\\\\n"\\/p
6244t cont
6245s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6246t cont
6247d
6248:cont
6249n
6250s/.\{148\}/&'"$ac_delim"'/g
6251t clear
6252:clear
6253s/\\$//
6254t bsnlc
6255s/["\\]/\\&/g; s/^/"/; s/$/"/p
6256d
6257:bsnlc
6258s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6259b cont
6260' <confdefs.h | sed '
6261s/'"$ac_delim"'/"\\\
6262"/g' >>$CONFIG_STATUS || ac_write_fail=1
6263
6264cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6265 for (key in D) D_is_set[key] = 1
6266 FS = ""
6267}
6268/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6269 line = \$ 0
6270 split(line, arg, " ")
6271 if (arg[1] == "#") {
6272 defundef = arg[2]
6273 mac1 = arg[3]
6274 } else {
6275 defundef = substr(arg[1], 2)
6276 mac1 = arg[2]
6277 }
6278 split(mac1, mac2, "(") #)
6279 macro = mac2[1]
6280 prefix = substr(line, 1, index(line, defundef) - 1)
6281 if (D_is_set[macro]) {
6282 # Preserve the white space surrounding the "#".
6283 print prefix "define", macro P[macro] D[macro]
6284 next
6285 } else {
6286 # Replace #undef with comments. This is necessary, for example,
6287 # in the case of _POSIX_SOURCE, which is predefined and required
6288 # on some systems where configure will not decide to define it.
6289 if (defundef == "undef") {
6290 print "/*", prefix defundef, macro, "*/"
6291 next
6292 }
6293 }
6294}
6295{ print }
6296_ACAWK
6297_ACEOF
6298cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6299 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6300fi # test -n "$CONFIG_HEADERS"
6301
6302
6303eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6304shift
6305for ac_tag
6306do
6307 case $ac_tag in
6308 :[FHLC]) ac_mode=$ac_tag; continue;;
6309 esac
6310 case $ac_mode$ac_tag in
6311 :[FHL]*:*);;
6312 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6313 :[FH]-) ac_tag=-:-;;
6314 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6315 esac
6316 ac_save_IFS=$IFS
6317 IFS=:
6318 set x $ac_tag
6319 IFS=$ac_save_IFS
6320 shift
6321 ac_file=$1
6322 shift
6323
6324 case $ac_mode in
6325 :L) ac_source=$1;;
6326 :[FH])
6327 ac_file_inputs=
6328 for ac_f
6329 do
6330 case $ac_f in
6331 -) ac_f="$ac_tmp/stdin";;
6332 *) # Look for the file first in the build tree, then in the source tree
6333 # (if the path is not absolute). The absolute path cannot be DOS-style,
6334 # because $ac_f cannot contain `:'.
6335 test -f "$ac_f" ||
6336 case $ac_f in
6337 [\\/$]*) false;;
6338 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6339 esac ||
6340 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6341 esac
6342 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6343 as_fn_append ac_file_inputs " '$ac_f'"
6344 done
6345
6346 # Let's still pretend it is `configure' which instantiates (i.e., don't
6347 # use $as_me), people would be surprised to read:
6348 # /* config.h. Generated by config.status. */
6349 configure_input='Generated from '`
6350 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6351 `' by configure.'
6352 if test x"$ac_file" != x-; then
6353 configure_input="$ac_file. $configure_input"
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6355$as_echo "$as_me: creating $ac_file" >&6;}
6356 fi
6357 # Neutralize special characters interpreted by sed in replacement strings.
6358 case $configure_input in #(
6359 *\&* | *\|* | *\\* )
6360 ac_sed_conf_input=`$as_echo "$configure_input" |
6361 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6362 *) ac_sed_conf_input=$configure_input;;
6363 esac
6364
6365 case $ac_tag in
6366 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6367 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6368 esac
6369 ;;
6370 esac
6371
6372 ac_dir=`$as_dirname -- "$ac_file" ||
6373$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6374 X"$ac_file" : 'X\(//\)[^/]' \| \
6375 X"$ac_file" : 'X\(//\)$' \| \
6376 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6377$as_echo X"$ac_file" |
6378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6379 s//\1/
6380 q
6381 }
6382 /^X\(\/\/\)[^/].*/{
6383 s//\1/
6384 q
6385 }
6386 /^X\(\/\/\)$/{
6387 s//\1/
6388 q
6389 }
6390 /^X\(\/\).*/{
6391 s//\1/
6392 q
6393 }
6394 s/.*/./; q'`
6395 as_dir="$ac_dir"; as_fn_mkdir_p
7105 ac_builddir=. 6396 ac_builddir=.
7106 6397
7107case "$ac_dir" in 6398case "$ac_dir" in
7108.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 6399.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7109*) 6400*)
7110 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 6401 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7111 # A ".." for each directory in $ac_dir_suffix. 6402 # A ".." for each directory in $ac_dir_suffix.
7112 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 6403 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7113 case $ac_top_builddir_sub in 6404 case $ac_top_builddir_sub in
7114 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 6405 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7115 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 6406 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7116 esac ;; 6407 esac ;;
7117esac 6408esac
7152 [\\/$]* | ?:[\\/]* ) ;; 6443 [\\/$]* | ?:[\\/]* ) ;;
7153 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 6444 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7154 esac 6445 esac
7155_ACEOF 6446_ACEOF
7156 6447
7157cat >>$CONFIG_STATUS <<\_ACEOF 6448cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7158# If the template does not know about datarootdir, expand it. 6449# If the template does not know about datarootdir, expand it.
7159# FIXME: This hack should be removed a few years after 2.60. 6450# FIXME: This hack should be removed a few years after 2.60.
7160ac_datarootdir_hack=; ac_datarootdir_seen= 6451ac_datarootdir_hack=; ac_datarootdir_seen=
7161 6452ac_sed_dataroot='
7162case `sed -n '/datarootdir/ { 6453/datarootdir/ {
7163 p 6454 p
7164 q 6455 q
7165} 6456}
7166/@datadir@/p 6457/@datadir@/p
7167/@docdir@/p 6458/@docdir@/p
7168/@infodir@/p 6459/@infodir@/p
7169/@localedir@/p 6460/@localedir@/p
7170/@mandir@/p 6461/@mandir@/p'
7171' $ac_file_inputs` in 6462case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7172*datarootdir*) ac_datarootdir_seen=yes;; 6463*datarootdir*) ac_datarootdir_seen=yes;;
7173*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6464*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7174 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7175echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6466$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7176_ACEOF 6467_ACEOF
7177cat >>$CONFIG_STATUS <<_ACEOF 6468cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7178 ac_datarootdir_hack=' 6469 ac_datarootdir_hack='
7179 s&@datadir@&$datadir&g 6470 s&@datadir@&$datadir&g
7180 s&@docdir@&$docdir&g 6471 s&@docdir@&$docdir&g
7181 s&@infodir@&$infodir&g 6472 s&@infodir@&$infodir&g
7182 s&@localedir@&$localedir&g 6473 s&@localedir@&$localedir&g
7183 s&@mandir@&$mandir&g 6474 s&@mandir@&$mandir&g
7184 s&\\\${datarootdir}&$datarootdir&g' ;; 6475 s&\\\${datarootdir}&$datarootdir&g' ;;
7185esac 6476esac
7186_ACEOF 6477_ACEOF
7187 6478
7188# Neutralize VPATH when `$srcdir' = `.'. 6479# Neutralize VPATH when `$srcdir' = `.'.
7189# Shell code in configure.ac might set extrasub. 6480# Shell code in configure.ac might set extrasub.
7190# FIXME: do we really want to maintain this feature? 6481# FIXME: do we really want to maintain this feature?
7191cat >>$CONFIG_STATUS <<_ACEOF 6482cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7192 sed "$ac_vpsub 6483ac_sed_extra="$ac_vpsub
7193$extrasub 6484$extrasub
7194_ACEOF 6485_ACEOF
7195cat >>$CONFIG_STATUS <<\_ACEOF 6486cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7196:t 6487:t
7197/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6488/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7198s&@configure_input@&$configure_input&;t t 6489s|@configure_input@|$ac_sed_conf_input|;t t
7199s&@top_builddir@&$ac_top_builddir_sub&;t t 6490s&@top_builddir@&$ac_top_builddir_sub&;t t
6491s&@top_build_prefix@&$ac_top_build_prefix&;t t
7200s&@srcdir@&$ac_srcdir&;t t 6492s&@srcdir@&$ac_srcdir&;t t
7201s&@abs_srcdir@&$ac_abs_srcdir&;t t 6493s&@abs_srcdir@&$ac_abs_srcdir&;t t
7202s&@top_srcdir@&$ac_top_srcdir&;t t 6494s&@top_srcdir@&$ac_top_srcdir&;t t
7203s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6495s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7204s&@builddir@&$ac_builddir&;t t 6496s&@builddir@&$ac_builddir&;t t
7205s&@abs_builddir@&$ac_abs_builddir&;t t 6497s&@abs_builddir@&$ac_abs_builddir&;t t
7206s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6498s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7207s&@INSTALL@&$ac_INSTALL&;t t 6499s&@INSTALL@&$ac_INSTALL&;t t
7208s&@MKDIR_P@&$ac_MKDIR_P&;t t 6500s&@MKDIR_P@&$ac_MKDIR_P&;t t
7209$ac_datarootdir_hack 6501$ac_datarootdir_hack
7210" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 6502"
6503eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6504 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7211 6505
7212test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6506test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7213 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 6507 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7214 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 6508 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6509 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7215 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7216which seems to be undefined. Please make sure it is defined." >&5 6511which seems to be undefined. Please make sure it is defined" >&5
7217echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6512$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7218which seems to be undefined. Please make sure it is defined." >&2;} 6513which seems to be undefined. Please make sure it is defined" >&2;}
7219 6514
7220 rm -f "$tmp/stdin" 6515 rm -f "$ac_tmp/stdin"
7221 case $ac_file in 6516 case $ac_file in
7222 -) cat "$tmp/out"; rm -f "$tmp/out";; 6517 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7223 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 6518 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7224 esac 6519 esac \
6520 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7225 ;; 6521 ;;
7226 :H) 6522 :H)
7227 # 6523 #
7228 # CONFIG_HEADER 6524 # CONFIG_HEADER
7229 # 6525 #
7230_ACEOF
7231
7232# Transform confdefs.h into a sed script `conftest.defines', that
7233# substitutes the proper values into config.h.in to produce config.h.
7234rm -f conftest.defines conftest.tail
7235# First, append a space to every undef/define line, to ease matching.
7236echo 's/$/ /' >conftest.defines
7237# Then, protect against being on the right side of a sed subst, or in
7238# an unquoted here document, in config.status. If some macros were
7239# called several times there might be several #defines for the same
7240# symbol, which is useless. But do not sort them, since the last
7241# AC_DEFINE must be honored.
7242ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7243# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7244# NAME is the cpp macro being defined, VALUE is the value it is being given.
7245# PARAMS is the parameter list in the macro definition--in most cases, it's
7246# just an empty string.
7247ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7248ac_dB='\\)[ (].*,\\1define\\2'
7249ac_dC=' '
7250ac_dD=' ,'
7251
7252uniq confdefs.h |
7253 sed -n '
7254 t rset
7255 :rset
7256 s/^[ ]*#[ ]*define[ ][ ]*//
7257 t ok
7258 d
7259 :ok
7260 s/[\\&,]/\\&/g
7261 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7262 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7263 ' >>conftest.defines
7264
7265# Remove the space that was appended to ease matching.
7266# Then replace #undef with comments. This is necessary, for
7267# example, in the case of _POSIX_SOURCE, which is predefined and required
7268# on some systems where configure will not decide to define it.
7269# (The regexp can be short, since the line contains either #define or #undef.)
7270echo 's/ $//
7271s,^[ #]*u.*,/* & */,' >>conftest.defines
7272
7273# Break up conftest.defines:
7274ac_max_sed_lines=50
7275
7276# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7277# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7278# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7279# et cetera.
7280ac_in='$ac_file_inputs'
7281ac_out='"$tmp/out1"'
7282ac_nxt='"$tmp/out2"'
7283
7284while :
7285do
7286 # Write a here document:
7287 cat >>$CONFIG_STATUS <<_ACEOF
7288 # First, check the format of the line:
7289 cat >"\$tmp/defines.sed" <<\\CEOF
7290/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7291/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7292b
7293:def
7294_ACEOF
7295 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
7296 echo 'CEOF
7297 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7298 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
7299 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
7300 grep . conftest.tail >/dev/null || break
7301 rm -f conftest.defines
7302 mv conftest.tail conftest.defines
7303done
7304rm -f conftest.defines conftest.tail
7305
7306echo "ac_result=$ac_in" >>$CONFIG_STATUS
7307cat >>$CONFIG_STATUS <<\_ACEOF
7308 if test x"$ac_file" != x-; then 6526 if test x"$ac_file" != x-; then
6527 {
7309 echo "/* $configure_input */" >"$tmp/config.h" 6528 $as_echo "/* $configure_input */" \
7310 cat "$ac_result" >>"$tmp/config.h" 6529 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6530 } >"$ac_tmp/config.h" \
6531 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7311 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 6532 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7312 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 6533 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7313echo "$as_me: $ac_file is unchanged" >&6;} 6534$as_echo "$as_me: $ac_file is unchanged" >&6;}
7314 else 6535 else
7315 rm -f $ac_file 6536 rm -f "$ac_file"
7316 mv "$tmp/config.h" $ac_file 6537 mv "$ac_tmp/config.h" "$ac_file" \
6538 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7317 fi 6539 fi
7318 else 6540 else
7319 echo "/* $configure_input */" 6541 $as_echo "/* $configure_input */" \
7320 cat "$ac_result" 6542 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6543 || as_fn_error $? "could not create -" "$LINENO" 5
7321 fi 6544 fi
7322 rm -f "$tmp/out12"
7323# Compute $ac_file's index in $config_headers. 6545# Compute "$ac_file"'s index in $config_headers.
7324_am_arg=$ac_file 6546_am_arg="$ac_file"
7325_am_stamp_count=1 6547_am_stamp_count=1
7326for _am_header in $config_headers :; do 6548for _am_header in $config_headers :; do
7327 case $_am_header in 6549 case $_am_header in
7328 $_am_arg | $_am_arg:* ) 6550 $_am_arg | $_am_arg:* )
7329 break ;; 6551 break ;;
7334echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 6556echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7335$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6557$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7336 X"$_am_arg" : 'X\(//\)[^/]' \| \ 6558 X"$_am_arg" : 'X\(//\)[^/]' \| \
7337 X"$_am_arg" : 'X\(//\)$' \| \ 6559 X"$_am_arg" : 'X\(//\)$' \| \
7338 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 6560 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7339echo X"$_am_arg" | 6561$as_echo X"$_am_arg" |
7340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7341 s//\1/ 6563 s//\1/
7342 q 6564 q
7343 } 6565 }
7344 /^X\(\/\/\)[^/].*/{ 6566 /^X\(\/\/\)[^/].*/{
7354 q 6576 q
7355 } 6577 }
7356 s/.*/./; q'`/stamp-h$_am_stamp_count 6578 s/.*/./; q'`/stamp-h$_am_stamp_count
7357 ;; 6579 ;;
7358 6580
7359 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 6581 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7360echo "$as_me: executing $ac_file commands" >&6;} 6582$as_echo "$as_me: executing $ac_file commands" >&6;}
7361 ;; 6583 ;;
7362 esac 6584 esac
7363 6585
7364 6586
7365 case $ac_file$ac_mode in 6587 case $ac_file$ac_mode in
7377 dirpart=`$as_dirname -- "$mf" || 6599 dirpart=`$as_dirname -- "$mf" ||
7378$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6600$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7379 X"$mf" : 'X\(//\)[^/]' \| \ 6601 X"$mf" : 'X\(//\)[^/]' \| \
7380 X"$mf" : 'X\(//\)$' \| \ 6602 X"$mf" : 'X\(//\)$' \| \
7381 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6603 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7382echo X"$mf" | 6604$as_echo X"$mf" |
7383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7384 s//\1/ 6606 s//\1/
7385 q 6607 q
7386 } 6608 }
7387 /^X\(\/\/\)[^/].*/{ 6609 /^X\(\/\/\)[^/].*/{
7421 fdir=`$as_dirname -- "$file" || 6643 fdir=`$as_dirname -- "$file" ||
7422$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6644$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7423 X"$file" : 'X\(//\)[^/]' \| \ 6645 X"$file" : 'X\(//\)[^/]' \| \
7424 X"$file" : 'X\(//\)$' \| \ 6646 X"$file" : 'X\(//\)$' \| \
7425 X"$file" : 'X\(/\)' \| . 2>/dev/null || 6647 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7426echo X"$file" | 6648$as_echo X"$file" |
7427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6649 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7428 s//\1/ 6650 s//\1/
7429 q 6651 q
7430 } 6652 }
7431 /^X\(\/\/\)[^/].*/{ 6653 /^X\(\/\/\)[^/].*/{
7439 /^X\(\/\).*/{ 6661 /^X\(\/\).*/{
7440 s//\1/ 6662 s//\1/
7441 q 6663 q
7442 } 6664 }
7443 s/.*/./; q'` 6665 s/.*/./; q'`
7444 { as_dir=$dirpart/$fdir 6666 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7445 case $as_dir in #(
7446 -*) as_dir=./$as_dir;;
7447 esac
7448 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7449 as_dirs=
7450 while :; do
7451 case $as_dir in #(
7452 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7453 *) as_qdir=$as_dir;;
7454 esac
7455 as_dirs="'$as_qdir' $as_dirs"
7456 as_dir=`$as_dirname -- "$as_dir" ||
7457$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7458 X"$as_dir" : 'X\(//\)[^/]' \| \
7459 X"$as_dir" : 'X\(//\)$' \| \
7460 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7461echo X"$as_dir" |
7462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7463 s//\1/
7464 q
7465 }
7466 /^X\(\/\/\)[^/].*/{
7467 s//\1/
7468 q
7469 }
7470 /^X\(\/\/\)$/{
7471 s//\1/
7472 q
7473 }
7474 /^X\(\/\).*/{
7475 s//\1/
7476 q
7477 }
7478 s/.*/./; q'`
7479 test -d "$as_dir" && break
7480 done
7481 test -z "$as_dirs" || eval "mkdir $as_dirs"
7482 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7483echo "$as_me: error: cannot create directory $as_dir" >&2;}
7484 { (exit 1); exit 1; }; }; }
7485 # echo "creating $dirpart/$file" 6667 # echo "creating $dirpart/$file"
7486 echo '# dummy' > "$dirpart/$file" 6668 echo '# dummy' > "$dirpart/$file"
7487 done 6669 done
7488done 6670done
7489 ;; 6671 ;;
7490 6672
7491 esac 6673 esac
7492done # for ac_tag 6674done # for ac_tag
7493 6675
7494 6676
7495{ (exit 0); exit 0; } 6677as_fn_exit 0
7496_ACEOF 6678_ACEOF
7497chmod +x $CONFIG_STATUS
7498ac_clean_files=$ac_clean_files_save 6679ac_clean_files=$ac_clean_files_save
6680
6681test $ac_write_fail = 0 ||
6682 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7499 6683
7500 6684
7501# configure is writing to config.log, and then calls config.status. 6685# configure is writing to config.log, and then calls config.status.
7502# config.status does its own redirection, appending to config.log. 6686# config.status does its own redirection, appending to config.log.
7503# Unfortunately, on DOS this fails, as config.log is still kept open 6687# Unfortunately, on DOS this fails, as config.log is still kept open
7514 exec 5>/dev/null 6698 exec 5>/dev/null
7515 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6699 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7516 exec 5>>config.log 6700 exec 5>>config.log
7517 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6701 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7518 # would make configure fail if this is the last instruction. 6702 # would make configure fail if this is the last instruction.
7519 $ac_cs_success || { (exit 1); exit 1; } 6703 $ac_cs_success || as_fn_exit 1
7520fi 6704fi
6705if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6707$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6708fi
7521 6709

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines