configure revision 1.9 1 1.1 tv #! /bin/sh
2 1.1 tv # Guess values for system-dependent variables and create Makefiles.
3 1.9 lukem # Generated by GNU Autoconf 2.69 for make noversion.
4 1.1 tv #
5 1.6 salo # Report bugs to <bin-bug-people (at] NetBSD.org>.
6 1.1 tv #
7 1.9 lukem #
8 1.9 lukem # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 1.9 lukem #
10 1.9 lukem #
11 1.1 tv # This configure script is free software; the Free Software Foundation
12 1.1 tv # gives unlimited permission to copy, distribute and modify it.
13 1.9 lukem ## -------------------- ##
14 1.9 lukem ## M4sh Initialization. ##
15 1.9 lukem ## -------------------- ##
16 1.9 lukem
17 1.9 lukem # Be more Bourne compatible
18 1.9 lukem DUALCASE=1; export DUALCASE # for MKS sh
19 1.9 lukem if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 1.9 lukem emulate sh
21 1.9 lukem NULLCMD=:
22 1.9 lukem # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 1.9 lukem # is contrary to our usage. Disable this feature.
24 1.9 lukem alias -g '${1+"$@"}'='"$@"'
25 1.9 lukem setopt NO_GLOB_SUBST
26 1.9 lukem else
27 1.9 lukem case `(set -o) 2>/dev/null` in #(
28 1.9 lukem *posix*) :
29 1.9 lukem set -o posix ;; #(
30 1.9 lukem *) :
31 1.9 lukem ;;
32 1.9 lukem esac
33 1.9 lukem fi
34 1.9 lukem
35 1.9 lukem
36 1.9 lukem as_nl='
37 1.9 lukem '
38 1.9 lukem export as_nl
39 1.9 lukem # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 1.9 lukem as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 1.9 lukem as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 1.9 lukem as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 1.9 lukem # Prefer a ksh shell builtin over an external printf program on Solaris,
44 1.9 lukem # but without wasting forks for bash or zsh.
45 1.9 lukem if test -z "$BASH_VERSION$ZSH_VERSION" \
46 1.9 lukem && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 1.9 lukem as_echo='print -r --'
48 1.9 lukem as_echo_n='print -rn --'
49 1.9 lukem elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 1.9 lukem as_echo='printf %s\n'
51 1.9 lukem as_echo_n='printf %s'
52 1.9 lukem else
53 1.9 lukem if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 1.9 lukem as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 1.9 lukem as_echo_n='/usr/ucb/echo -n'
56 1.9 lukem else
57 1.9 lukem as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 1.9 lukem as_echo_n_body='eval
59 1.9 lukem arg=$1;
60 1.9 lukem case $arg in #(
61 1.9 lukem *"$as_nl"*)
62 1.9 lukem expr "X$arg" : "X\\(.*\\)$as_nl";
63 1.9 lukem arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 1.9 lukem esac;
65 1.9 lukem expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 1.9 lukem '
67 1.9 lukem export as_echo_n_body
68 1.9 lukem as_echo_n='sh -c $as_echo_n_body as_echo'
69 1.9 lukem fi
70 1.9 lukem export as_echo_body
71 1.9 lukem as_echo='sh -c $as_echo_body as_echo'
72 1.9 lukem fi
73 1.9 lukem
74 1.9 lukem # The user is always right.
75 1.9 lukem if test "${PATH_SEPARATOR+set}" != set; then
76 1.9 lukem PATH_SEPARATOR=:
77 1.9 lukem (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 1.9 lukem (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 1.9 lukem PATH_SEPARATOR=';'
80 1.9 lukem }
81 1.9 lukem fi
82 1.1 tv
83 1.1 tv
84 1.9 lukem # IFS
85 1.9 lukem # We need space, tab and new line, in precisely that order. Quoting is
86 1.9 lukem # there to prevent editors from complaining about space-tab.
87 1.9 lukem # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 1.9 lukem # splitting by setting IFS to empty value.)
89 1.9 lukem IFS=" "" $as_nl"
90 1.9 lukem
91 1.9 lukem # Find who we are. Look in the path if we contain no directory separator.
92 1.9 lukem as_myself=
93 1.9 lukem case $0 in #((
94 1.9 lukem *[\\/]* ) as_myself=$0 ;;
95 1.9 lukem *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 1.9 lukem for as_dir in $PATH
97 1.9 lukem do
98 1.9 lukem IFS=$as_save_IFS
99 1.9 lukem test -z "$as_dir" && as_dir=.
100 1.9 lukem test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 1.9 lukem done
102 1.9 lukem IFS=$as_save_IFS
103 1.9 lukem
104 1.9 lukem ;;
105 1.9 lukem esac
106 1.9 lukem # We did not find ourselves, most probably we were run as `sh COMMAND'
107 1.9 lukem # in which case we are not to be found in the path.
108 1.9 lukem if test "x$as_myself" = x; then
109 1.9 lukem as_myself=$0
110 1.9 lukem fi
111 1.9 lukem if test ! -f "$as_myself"; then
112 1.9 lukem $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 1.9 lukem exit 1
114 1.9 lukem fi
115 1.9 lukem
116 1.9 lukem # Unset variables that we do not need and which cause bugs (e.g. in
117 1.9 lukem # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 1.9 lukem # suppresses any "Segmentation fault" message there. '((' could
119 1.9 lukem # trigger a bug in pdksh 5.2.14.
120 1.9 lukem for as_var in BASH_ENV ENV MAIL MAILPATH
121 1.9 lukem do eval test x\${$as_var+set} = xset \
122 1.9 lukem && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 1.9 lukem done
124 1.9 lukem PS1='$ '
125 1.9 lukem PS2='> '
126 1.9 lukem PS4='+ '
127 1.9 lukem
128 1.9 lukem # NLS nuisances.
129 1.9 lukem LC_ALL=C
130 1.9 lukem export LC_ALL
131 1.9 lukem LANGUAGE=C
132 1.9 lukem export LANGUAGE
133 1.1 tv
134 1.9 lukem # CDPATH.
135 1.9 lukem (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 1.1 tv
137 1.9 lukem # Use a proper internal environment variable to ensure we don't fall
138 1.9 lukem # into an infinite loop, continuously re-executing ourselves.
139 1.9 lukem if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 1.9 lukem _as_can_reexec=no; export _as_can_reexec;
141 1.9 lukem # We cannot yet assume a decent shell, so we have to provide a
142 1.9 lukem # neutralization value for shells without unset; and this also
143 1.9 lukem # works around shells that cannot unset nonexistent variables.
144 1.9 lukem # Preserve -v and -x to the replacement shell.
145 1.9 lukem BASH_ENV=/dev/null
146 1.9 lukem ENV=/dev/null
147 1.9 lukem (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 1.9 lukem case $- in # ((((
149 1.9 lukem *v*x* | *x*v* ) as_opts=-vx ;;
150 1.9 lukem *v* ) as_opts=-v ;;
151 1.9 lukem *x* ) as_opts=-x ;;
152 1.9 lukem * ) as_opts= ;;
153 1.9 lukem esac
154 1.9 lukem exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 1.9 lukem # Admittedly, this is quite paranoid, since all the known shells bail
156 1.9 lukem # out after a failed `exec'.
157 1.9 lukem $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 1.9 lukem as_fn_exit 255
159 1.9 lukem fi
160 1.9 lukem # We don't want this to propagate to other subprocesses.
161 1.9 lukem { _as_can_reexec=; unset _as_can_reexec;}
162 1.9 lukem if test "x$CONFIG_SHELL" = x; then
163 1.9 lukem as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 1.1 tv emulate sh
165 1.1 tv NULLCMD=:
166 1.9 lukem # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 1.9 lukem # is contrary to our usage. Disable this feature.
168 1.9 lukem alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 1.9 lukem setopt NO_GLOB_SUBST
170 1.9 lukem else
171 1.9 lukem case \`(set -o) 2>/dev/null\` in #(
172 1.9 lukem *posix*) :
173 1.9 lukem set -o posix ;; #(
174 1.9 lukem *) :
175 1.9 lukem ;;
176 1.9 lukem esac
177 1.9 lukem fi
178 1.9 lukem "
179 1.9 lukem as_required="as_fn_return () { (exit \$1); }
180 1.9 lukem as_fn_success () { as_fn_return 0; }
181 1.9 lukem as_fn_failure () { as_fn_return 1; }
182 1.9 lukem as_fn_ret_success () { return 0; }
183 1.9 lukem as_fn_ret_failure () { return 1; }
184 1.9 lukem
185 1.9 lukem exitcode=0
186 1.9 lukem as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 1.9 lukem as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 1.9 lukem as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 1.9 lukem as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 1.9 lukem if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 1.9 lukem
192 1.9 lukem else
193 1.9 lukem exitcode=1; echo positional parameters were not saved.
194 1.9 lukem fi
195 1.9 lukem test x\$exitcode = x0 || exit 1
196 1.9 lukem test -x / || exit 1"
197 1.9 lukem as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 1.9 lukem as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 1.9 lukem eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 1.9 lukem test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 1.9 lukem test \$(( 1 + 1 )) = 2 || exit 1"
202 1.9 lukem if (eval "$as_required") 2>/dev/null; then :
203 1.9 lukem as_have_required=yes
204 1.9 lukem else
205 1.9 lukem as_have_required=no
206 1.9 lukem fi
207 1.9 lukem if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 1.9 lukem
209 1.9 lukem else
210 1.9 lukem as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 1.9 lukem as_found=false
212 1.9 lukem for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 1.9 lukem do
214 1.9 lukem IFS=$as_save_IFS
215 1.9 lukem test -z "$as_dir" && as_dir=.
216 1.9 lukem as_found=:
217 1.9 lukem case $as_dir in #(
218 1.9 lukem /*)
219 1.9 lukem for as_base in sh bash ksh sh5; do
220 1.9 lukem # Try only shells that exist, to save several forks.
221 1.9 lukem as_shell=$as_dir/$as_base
222 1.9 lukem if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 1.9 lukem { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 1.9 lukem CONFIG_SHELL=$as_shell as_have_required=yes
225 1.9 lukem if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 1.9 lukem break 2
227 1.9 lukem fi
228 1.9 lukem fi
229 1.9 lukem done;;
230 1.9 lukem esac
231 1.9 lukem as_found=false
232 1.9 lukem done
233 1.9 lukem $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 1.9 lukem { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 1.9 lukem CONFIG_SHELL=$SHELL as_have_required=yes
236 1.9 lukem fi; }
237 1.9 lukem IFS=$as_save_IFS
238 1.9 lukem
239 1.9 lukem
240 1.9 lukem if test "x$CONFIG_SHELL" != x; then :
241 1.9 lukem export CONFIG_SHELL
242 1.9 lukem # We cannot yet assume a decent shell, so we have to provide a
243 1.9 lukem # neutralization value for shells without unset; and this also
244 1.9 lukem # works around shells that cannot unset nonexistent variables.
245 1.9 lukem # Preserve -v and -x to the replacement shell.
246 1.9 lukem BASH_ENV=/dev/null
247 1.9 lukem ENV=/dev/null
248 1.9 lukem (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 1.9 lukem case $- in # ((((
250 1.9 lukem *v*x* | *x*v* ) as_opts=-vx ;;
251 1.9 lukem *v* ) as_opts=-v ;;
252 1.9 lukem *x* ) as_opts=-x ;;
253 1.9 lukem * ) as_opts= ;;
254 1.9 lukem esac
255 1.9 lukem exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 1.9 lukem # Admittedly, this is quite paranoid, since all the known shells bail
257 1.9 lukem # out after a failed `exec'.
258 1.9 lukem $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 1.9 lukem exit 255
260 1.1 tv fi
261 1.1 tv
262 1.9 lukem if test x$as_have_required = xno; then :
263 1.9 lukem $as_echo "$0: This script requires a shell more modern than all"
264 1.9 lukem $as_echo "$0: the shells that I found on your system."
265 1.9 lukem if test x${ZSH_VERSION+set} = xset ; then
266 1.9 lukem $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 1.9 lukem $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 1.9 lukem else
269 1.9 lukem $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
270 1.9 lukem $0: bin-bug-people (at] NetBSD.org about your system, including
271 1.9 lukem $0: any error possibly output before this message. Then
272 1.9 lukem $0: install a modern shell, or manually run the script
273 1.9 lukem $0: under such a shell if you do have one."
274 1.9 lukem fi
275 1.9 lukem exit 1
276 1.9 lukem fi
277 1.9 lukem fi
278 1.9 lukem fi
279 1.9 lukem SHELL=${CONFIG_SHELL-/bin/sh}
280 1.9 lukem export SHELL
281 1.9 lukem # Unset more variables known to interfere with behavior of common tools.
282 1.9 lukem CLICOLOR_FORCE= GREP_OPTIONS=
283 1.9 lukem unset CLICOLOR_FORCE GREP_OPTIONS
284 1.9 lukem
285 1.9 lukem ## --------------------- ##
286 1.9 lukem ## M4sh Shell Functions. ##
287 1.9 lukem ## --------------------- ##
288 1.9 lukem # as_fn_unset VAR
289 1.9 lukem # ---------------
290 1.9 lukem # Portably unset VAR.
291 1.9 lukem as_fn_unset ()
292 1.9 lukem {
293 1.9 lukem { eval $1=; unset $1;}
294 1.9 lukem }
295 1.9 lukem as_unset=as_fn_unset
296 1.9 lukem
297 1.9 lukem # as_fn_set_status STATUS
298 1.9 lukem # -----------------------
299 1.9 lukem # Set $? to STATUS, without forking.
300 1.9 lukem as_fn_set_status ()
301 1.9 lukem {
302 1.9 lukem return $1
303 1.9 lukem } # as_fn_set_status
304 1.9 lukem
305 1.9 lukem # as_fn_exit STATUS
306 1.9 lukem # -----------------
307 1.9 lukem # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 1.9 lukem as_fn_exit ()
309 1.9 lukem {
310 1.9 lukem set +e
311 1.9 lukem as_fn_set_status $1
312 1.9 lukem exit $1
313 1.9 lukem } # as_fn_exit
314 1.9 lukem
315 1.9 lukem # as_fn_mkdir_p
316 1.9 lukem # -------------
317 1.9 lukem # Create "$as_dir" as a directory, including parents if necessary.
318 1.9 lukem as_fn_mkdir_p ()
319 1.9 lukem {
320 1.9 lukem
321 1.9 lukem case $as_dir in #(
322 1.9 lukem -*) as_dir=./$as_dir;;
323 1.9 lukem esac
324 1.9 lukem test -d "$as_dir" || eval $as_mkdir_p || {
325 1.9 lukem as_dirs=
326 1.9 lukem while :; do
327 1.9 lukem case $as_dir in #(
328 1.9 lukem *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 1.9 lukem *) as_qdir=$as_dir;;
330 1.9 lukem esac
331 1.9 lukem as_dirs="'$as_qdir' $as_dirs"
332 1.9 lukem as_dir=`$as_dirname -- "$as_dir" ||
333 1.9 lukem $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 1.9 lukem X"$as_dir" : 'X\(//\)[^/]' \| \
335 1.9 lukem X"$as_dir" : 'X\(//\)$' \| \
336 1.9 lukem X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 1.9 lukem $as_echo X"$as_dir" |
338 1.9 lukem sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 1.9 lukem s//\1/
340 1.9 lukem q
341 1.9 lukem }
342 1.9 lukem /^X\(\/\/\)[^/].*/{
343 1.9 lukem s//\1/
344 1.9 lukem q
345 1.9 lukem }
346 1.9 lukem /^X\(\/\/\)$/{
347 1.9 lukem s//\1/
348 1.9 lukem q
349 1.9 lukem }
350 1.9 lukem /^X\(\/\).*/{
351 1.9 lukem s//\1/
352 1.9 lukem q
353 1.9 lukem }
354 1.9 lukem s/.*/./; q'`
355 1.9 lukem test -d "$as_dir" && break
356 1.9 lukem done
357 1.9 lukem test -z "$as_dirs" || eval "mkdir $as_dirs"
358 1.9 lukem } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359 1.9 lukem
360 1.9 lukem
361 1.9 lukem } # as_fn_mkdir_p
362 1.9 lukem
363 1.9 lukem # as_fn_executable_p FILE
364 1.9 lukem # -----------------------
365 1.9 lukem # Test if FILE is an executable regular file.
366 1.9 lukem as_fn_executable_p ()
367 1.9 lukem {
368 1.9 lukem test -f "$1" && test -x "$1"
369 1.9 lukem } # as_fn_executable_p
370 1.9 lukem # as_fn_append VAR VALUE
371 1.9 lukem # ----------------------
372 1.9 lukem # Append the text in VALUE to the end of the definition contained in VAR. Take
373 1.9 lukem # advantage of any shell optimizations that allow amortized linear growth over
374 1.9 lukem # repeated appends, instead of the typical quadratic growth present in naive
375 1.9 lukem # implementations.
376 1.9 lukem if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 1.9 lukem eval 'as_fn_append ()
378 1.9 lukem {
379 1.9 lukem eval $1+=\$2
380 1.9 lukem }'
381 1.9 lukem else
382 1.9 lukem as_fn_append ()
383 1.9 lukem {
384 1.9 lukem eval $1=\$$1\$2
385 1.9 lukem }
386 1.9 lukem fi # as_fn_append
387 1.9 lukem
388 1.9 lukem # as_fn_arith ARG...
389 1.9 lukem # ------------------
390 1.9 lukem # Perform arithmetic evaluation on the ARGs, and store the result in the
391 1.9 lukem # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 1.9 lukem # must be portable across $(()) and expr.
393 1.9 lukem if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 1.9 lukem eval 'as_fn_arith ()
395 1.9 lukem {
396 1.9 lukem as_val=$(( $* ))
397 1.9 lukem }'
398 1.9 lukem else
399 1.9 lukem as_fn_arith ()
400 1.9 lukem {
401 1.9 lukem as_val=`expr "$@" || test $? -eq 1`
402 1.9 lukem }
403 1.9 lukem fi # as_fn_arith
404 1.9 lukem
405 1.9 lukem
406 1.9 lukem # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 1.9 lukem # ----------------------------------------
408 1.9 lukem # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 1.9 lukem # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 1.9 lukem # script with STATUS, using 1 if that was 0.
411 1.9 lukem as_fn_error ()
412 1.9 lukem {
413 1.9 lukem as_status=$1; test $as_status -eq 0 && as_status=1
414 1.9 lukem if test "$4"; then
415 1.9 lukem as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 1.9 lukem fi
418 1.9 lukem $as_echo "$as_me: error: $2" >&2
419 1.9 lukem as_fn_exit $as_status
420 1.9 lukem } # as_fn_error
421 1.1 tv
422 1.9 lukem if expr a : '\(a\)' >/dev/null 2>&1 &&
423 1.9 lukem test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 1.1 tv as_expr=expr
425 1.1 tv else
426 1.1 tv as_expr=false
427 1.1 tv fi
428 1.1 tv
429 1.9 lukem if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 1.9 lukem as_basename=basename
431 1.9 lukem else
432 1.9 lukem as_basename=false
433 1.9 lukem fi
434 1.9 lukem
435 1.9 lukem if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 1.9 lukem as_dirname=dirname
437 1.9 lukem else
438 1.9 lukem as_dirname=false
439 1.9 lukem fi
440 1.9 lukem
441 1.9 lukem as_me=`$as_basename -- "$0" ||
442 1.9 lukem $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 1.9 lukem X"$0" : 'X\(//\)$' \| \
444 1.9 lukem X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 1.9 lukem $as_echo X/"$0" |
446 1.9 lukem sed '/^.*\/\([^/][^/]*\)\/*$/{
447 1.9 lukem s//\1/
448 1.9 lukem q
449 1.9 lukem }
450 1.9 lukem /^X\/\(\/\/\)$/{
451 1.9 lukem s//\1/
452 1.9 lukem q
453 1.9 lukem }
454 1.9 lukem /^X\/\(\/\).*/{
455 1.9 lukem s//\1/
456 1.9 lukem q
457 1.9 lukem }
458 1.9 lukem s/.*/./; q'`
459 1.9 lukem
460 1.9 lukem # Avoid depending upon Character Ranges.
461 1.9 lukem as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 1.9 lukem as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 1.9 lukem as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 1.9 lukem as_cr_digits='0123456789'
465 1.9 lukem as_cr_alnum=$as_cr_Letters$as_cr_digits
466 1.9 lukem
467 1.9 lukem
468 1.9 lukem as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 1.9 lukem as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 1.9 lukem eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 1.9 lukem test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 1.9 lukem # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 1.9 lukem sed -n '
474 1.9 lukem p
475 1.9 lukem /[$]LINENO/=
476 1.9 lukem ' <$as_myself |
477 1.9 lukem sed '
478 1.9 lukem s/[$]LINENO.*/&-/
479 1.9 lukem t lineno
480 1.9 lukem b
481 1.9 lukem :lineno
482 1.9 lukem N
483 1.9 lukem :loop
484 1.9 lukem s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 1.9 lukem t loop
486 1.9 lukem s/-\n.*//
487 1.9 lukem ' >$as_me.lineno &&
488 1.9 lukem chmod +x "$as_me.lineno" ||
489 1.9 lukem { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490 1.9 lukem
491 1.9 lukem # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 1.9 lukem # already done that, so ensure we don't try to do so again and fall
493 1.9 lukem # in an infinite loop. This has already happened in practice.
494 1.9 lukem _as_can_reexec=no; export _as_can_reexec
495 1.9 lukem # Don't try to exec as it changes $[0], causing all sort of problems
496 1.9 lukem # (the dirname of $[0] is not the place where we might find the
497 1.9 lukem # original and so on. Autoconf is especially sensitive to this).
498 1.9 lukem . "./$as_me.lineno"
499 1.9 lukem # Exit status is that of the last command.
500 1.9 lukem exit
501 1.9 lukem }
502 1.9 lukem
503 1.9 lukem ECHO_C= ECHO_N= ECHO_T=
504 1.9 lukem case `echo -n x` in #(((((
505 1.9 lukem -n*)
506 1.9 lukem case `echo 'xy\c'` in
507 1.9 lukem *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 1.9 lukem xy) ECHO_C='\c';;
509 1.9 lukem *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 1.9 lukem ECHO_T=' ';;
511 1.9 lukem esac;;
512 1.9 lukem *)
513 1.9 lukem ECHO_N='-n';;
514 1.9 lukem esac
515 1.9 lukem
516 1.1 tv rm -f conf$$ conf$$.exe conf$$.file
517 1.9 lukem if test -d conf$$.dir; then
518 1.9 lukem rm -f conf$$.dir/conf$$.file
519 1.9 lukem else
520 1.9 lukem rm -f conf$$.dir
521 1.9 lukem mkdir conf$$.dir 2>/dev/null
522 1.9 lukem fi
523 1.9 lukem if (echo >conf$$.file) 2>/dev/null; then
524 1.9 lukem if ln -s conf$$.file conf$$ 2>/dev/null; then
525 1.9 lukem as_ln_s='ln -s'
526 1.9 lukem # ... but there are two gotchas:
527 1.9 lukem # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 1.9 lukem # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 1.9 lukem # In both cases, we have to default to `cp -pR'.
530 1.9 lukem ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 1.9 lukem as_ln_s='cp -pR'
532 1.9 lukem elif ln conf$$.file conf$$ 2>/dev/null; then
533 1.9 lukem as_ln_s=ln
534 1.1 tv else
535 1.9 lukem as_ln_s='cp -pR'
536 1.1 tv fi
537 1.1 tv else
538 1.9 lukem as_ln_s='cp -pR'
539 1.1 tv fi
540 1.9 lukem rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 1.9 lukem rmdir conf$$.dir 2>/dev/null
542 1.1 tv
543 1.9 lukem if mkdir -p . 2>/dev/null; then
544 1.9 lukem as_mkdir_p='mkdir -p "$as_dir"'
545 1.1 tv else
546 1.9 lukem test -d ./-p && rmdir ./-p
547 1.9 lukem as_mkdir_p=false
548 1.1 tv fi
549 1.1 tv
550 1.9 lukem as_test_x='test -x'
551 1.9 lukem as_executable_p=as_fn_executable_p
552 1.9 lukem
553 1.9 lukem # Sed expression to map a string onto a valid CPP name.
554 1.9 lukem as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 1.9 lukem
556 1.9 lukem # Sed expression to map a string onto a valid variable name.
557 1.9 lukem as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558 1.1 tv
559 1.1 tv
560 1.9 lukem test -n "$DJDIR" || exec 7<&0 </dev/null
561 1.9 lukem exec 6>&1
562 1.1 tv
563 1.1 tv # Name of the host.
564 1.9 lukem # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 1.1 tv # so uname gets run too.
566 1.1 tv ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567 1.1 tv
568 1.1 tv #
569 1.1 tv # Initializations.
570 1.1 tv #
571 1.1 tv ac_default_prefix=/usr/local
572 1.9 lukem ac_clean_files=
573 1.9 lukem ac_config_libobj_dir=.
574 1.9 lukem LIBOBJS=
575 1.1 tv cross_compiling=no
576 1.1 tv subdirs=
577 1.9 lukem MFLAGS=
578 1.9 lukem MAKEFLAGS=
579 1.9 lukem
580 1.9 lukem # Identity of this package.
581 1.9 lukem PACKAGE_NAME='make'
582 1.9 lukem PACKAGE_TARNAME='make'
583 1.9 lukem PACKAGE_VERSION='noversion'
584 1.9 lukem PACKAGE_STRING='make noversion'
585 1.9 lukem PACKAGE_BUGREPORT='bin-bug-people (at] NetBSD.org'
586 1.9 lukem PACKAGE_URL=''
587 1.9 lukem
588 1.9 lukem # Factoring default headers for most tests.
589 1.9 lukem ac_includes_default="\
590 1.9 lukem #include <stdio.h>
591 1.9 lukem #ifdef HAVE_SYS_TYPES_H
592 1.9 lukem # include <sys/types.h>
593 1.9 lukem #endif
594 1.9 lukem #ifdef HAVE_SYS_STAT_H
595 1.9 lukem # include <sys/stat.h>
596 1.9 lukem #endif
597 1.9 lukem #ifdef STDC_HEADERS
598 1.9 lukem # include <stdlib.h>
599 1.9 lukem # include <stddef.h>
600 1.9 lukem #else
601 1.9 lukem # ifdef HAVE_STDLIB_H
602 1.9 lukem # include <stdlib.h>
603 1.9 lukem # endif
604 1.9 lukem #endif
605 1.9 lukem #ifdef HAVE_STRING_H
606 1.9 lukem # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607 1.9 lukem # include <memory.h>
608 1.9 lukem # endif
609 1.9 lukem # include <string.h>
610 1.9 lukem #endif
611 1.9 lukem #ifdef HAVE_STRINGS_H
612 1.9 lukem # include <strings.h>
613 1.9 lukem #endif
614 1.9 lukem #ifdef HAVE_INTTYPES_H
615 1.9 lukem # include <inttypes.h>
616 1.9 lukem #endif
617 1.9 lukem #ifdef HAVE_STDINT_H
618 1.9 lukem # include <stdint.h>
619 1.9 lukem #endif
620 1.9 lukem #ifdef HAVE_UNISTD_H
621 1.9 lukem # include <unistd.h>
622 1.9 lukem #endif"
623 1.9 lukem
624 1.9 lukem ac_subst_vars='LTLIBOBJS
625 1.9 lukem LIBOBJS
626 1.9 lukem NOWARNFLAGS
627 1.9 lukem EGREP
628 1.9 lukem GREP
629 1.9 lukem CPP
630 1.9 lukem OBJEXT
631 1.9 lukem EXEEXT
632 1.9 lukem ac_ct_CC
633 1.9 lukem CPPFLAGS
634 1.9 lukem LDFLAGS
635 1.9 lukem CFLAGS
636 1.9 lukem CC
637 1.9 lukem BSHELL
638 1.9 lukem target_alias
639 1.9 lukem host_alias
640 1.9 lukem build_alias
641 1.9 lukem LIBS
642 1.9 lukem ECHO_T
643 1.9 lukem ECHO_N
644 1.9 lukem ECHO_C
645 1.9 lukem DEFS
646 1.9 lukem mandir
647 1.9 lukem localedir
648 1.9 lukem libdir
649 1.9 lukem psdir
650 1.9 lukem pdfdir
651 1.9 lukem dvidir
652 1.9 lukem htmldir
653 1.9 lukem infodir
654 1.9 lukem docdir
655 1.9 lukem oldincludedir
656 1.9 lukem includedir
657 1.9 lukem localstatedir
658 1.9 lukem sharedstatedir
659 1.9 lukem sysconfdir
660 1.9 lukem datadir
661 1.9 lukem datarootdir
662 1.9 lukem libexecdir
663 1.9 lukem sbindir
664 1.9 lukem bindir
665 1.9 lukem program_transform_name
666 1.9 lukem prefix
667 1.9 lukem exec_prefix
668 1.9 lukem PACKAGE_URL
669 1.9 lukem PACKAGE_BUGREPORT
670 1.9 lukem PACKAGE_STRING
671 1.9 lukem PACKAGE_VERSION
672 1.9 lukem PACKAGE_TARNAME
673 1.9 lukem PACKAGE_NAME
674 1.9 lukem PATH_SEPARATOR
675 1.9 lukem SHELL'
676 1.9 lukem ac_subst_files=''
677 1.9 lukem ac_user_opts='
678 1.9 lukem enable_option_checking
679 1.9 lukem '
680 1.9 lukem ac_precious_vars='build_alias
681 1.9 lukem host_alias
682 1.9 lukem target_alias
683 1.9 lukem CC
684 1.9 lukem CFLAGS
685 1.9 lukem LDFLAGS
686 1.9 lukem LIBS
687 1.9 lukem CPPFLAGS
688 1.9 lukem CPP'
689 1.1 tv
690 1.1 tv
691 1.1 tv # Initialize some variables set by options.
692 1.1 tv ac_init_help=
693 1.1 tv ac_init_version=false
694 1.9 lukem ac_unrecognized_opts=
695 1.9 lukem ac_unrecognized_sep=
696 1.1 tv # The variables have the same names as the options, with
697 1.1 tv # dashes changed to underlines.
698 1.1 tv cache_file=/dev/null
699 1.1 tv exec_prefix=NONE
700 1.1 tv no_create=
701 1.1 tv no_recursion=
702 1.1 tv prefix=NONE
703 1.1 tv program_prefix=NONE
704 1.1 tv program_suffix=NONE
705 1.1 tv program_transform_name=s,x,x,
706 1.1 tv silent=
707 1.1 tv site=
708 1.1 tv srcdir=
709 1.1 tv verbose=
710 1.1 tv x_includes=NONE
711 1.1 tv x_libraries=NONE
712 1.1 tv
713 1.1 tv # Installation directory options.
714 1.1 tv # These are left unexpanded so users can "make install exec_prefix=/foo"
715 1.1 tv # and all the variables that are supposed to be based on exec_prefix
716 1.1 tv # by default will actually change.
717 1.1 tv # Use braces instead of parens because sh, perl, etc. also accept them.
718 1.9 lukem # (The list follows the same order as the GNU Coding Standards.)
719 1.1 tv bindir='${exec_prefix}/bin'
720 1.1 tv sbindir='${exec_prefix}/sbin'
721 1.1 tv libexecdir='${exec_prefix}/libexec'
722 1.9 lukem datarootdir='${prefix}/share'
723 1.9 lukem datadir='${datarootdir}'
724 1.1 tv sysconfdir='${prefix}/etc'
725 1.1 tv sharedstatedir='${prefix}/com'
726 1.1 tv localstatedir='${prefix}/var'
727 1.1 tv includedir='${prefix}/include'
728 1.1 tv oldincludedir='/usr/include'
729 1.9 lukem docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
730 1.9 lukem infodir='${datarootdir}/info'
731 1.9 lukem htmldir='${docdir}'
732 1.9 lukem dvidir='${docdir}'
733 1.9 lukem pdfdir='${docdir}'
734 1.9 lukem psdir='${docdir}'
735 1.9 lukem libdir='${exec_prefix}/lib'
736 1.9 lukem localedir='${datarootdir}/locale'
737 1.9 lukem mandir='${datarootdir}/man'
738 1.1 tv
739 1.1 tv ac_prev=
740 1.9 lukem ac_dashdash=
741 1.1 tv for ac_option
742 1.1 tv do
743 1.1 tv # If the previous option needs an argument, assign it.
744 1.1 tv if test -n "$ac_prev"; then
745 1.9 lukem eval $ac_prev=\$ac_option
746 1.1 tv ac_prev=
747 1.1 tv continue
748 1.1 tv fi
749 1.1 tv
750 1.9 lukem case $ac_option in
751 1.9 lukem *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
752 1.9 lukem *=) ac_optarg= ;;
753 1.9 lukem *) ac_optarg=yes ;;
754 1.9 lukem esac
755 1.1 tv
756 1.1 tv # Accept the important Cygnus configure options, so we can diagnose typos.
757 1.1 tv
758 1.9 lukem case $ac_dashdash$ac_option in
759 1.9 lukem --)
760 1.9 lukem ac_dashdash=yes ;;
761 1.1 tv
762 1.1 tv -bindir | --bindir | --bindi | --bind | --bin | --bi)
763 1.1 tv ac_prev=bindir ;;
764 1.1 tv -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
765 1.1 tv bindir=$ac_optarg ;;
766 1.1 tv
767 1.1 tv -build | --build | --buil | --bui | --bu)
768 1.1 tv ac_prev=build_alias ;;
769 1.1 tv -build=* | --build=* | --buil=* | --bui=* | --bu=*)
770 1.1 tv build_alias=$ac_optarg ;;
771 1.1 tv
772 1.1 tv -cache-file | --cache-file | --cache-fil | --cache-fi \
773 1.1 tv | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
774 1.1 tv ac_prev=cache_file ;;
775 1.1 tv -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
776 1.1 tv | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
777 1.1 tv cache_file=$ac_optarg ;;
778 1.1 tv
779 1.1 tv --config-cache | -C)
780 1.1 tv cache_file=config.cache ;;
781 1.1 tv
782 1.9 lukem -datadir | --datadir | --datadi | --datad)
783 1.1 tv ac_prev=datadir ;;
784 1.9 lukem -datadir=* | --datadir=* | --datadi=* | --datad=*)
785 1.1 tv datadir=$ac_optarg ;;
786 1.1 tv
787 1.9 lukem -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
788 1.9 lukem | --dataroo | --dataro | --datar)
789 1.9 lukem ac_prev=datarootdir ;;
790 1.9 lukem -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
791 1.9 lukem | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
792 1.9 lukem datarootdir=$ac_optarg ;;
793 1.9 lukem
794 1.1 tv -disable-* | --disable-*)
795 1.9 lukem ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
796 1.1 tv # Reject names that are not valid shell variable names.
797 1.9 lukem expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
798 1.9 lukem as_fn_error $? "invalid feature name: $ac_useropt"
799 1.9 lukem ac_useropt_orig=$ac_useropt
800 1.9 lukem ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
801 1.9 lukem case $ac_user_opts in
802 1.9 lukem *"
803 1.9 lukem "enable_$ac_useropt"
804 1.9 lukem "*) ;;
805 1.9 lukem *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
806 1.9 lukem ac_unrecognized_sep=', ';;
807 1.9 lukem esac
808 1.9 lukem eval enable_$ac_useropt=no ;;
809 1.9 lukem
810 1.9 lukem -docdir | --docdir | --docdi | --doc | --do)
811 1.9 lukem ac_prev=docdir ;;
812 1.9 lukem -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
813 1.9 lukem docdir=$ac_optarg ;;
814 1.9 lukem
815 1.9 lukem -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
816 1.9 lukem ac_prev=dvidir ;;
817 1.9 lukem -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
818 1.9 lukem dvidir=$ac_optarg ;;
819 1.1 tv
820 1.1 tv -enable-* | --enable-*)
821 1.9 lukem ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
822 1.1 tv # Reject names that are not valid shell variable names.
823 1.9 lukem expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
824 1.9 lukem as_fn_error $? "invalid feature name: $ac_useropt"
825 1.9 lukem ac_useropt_orig=$ac_useropt
826 1.9 lukem ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
827 1.9 lukem case $ac_user_opts in
828 1.9 lukem *"
829 1.9 lukem "enable_$ac_useropt"
830 1.9 lukem "*) ;;
831 1.9 lukem *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
832 1.9 lukem ac_unrecognized_sep=', ';;
833 1.1 tv esac
834 1.9 lukem eval enable_$ac_useropt=\$ac_optarg ;;
835 1.1 tv
836 1.1 tv -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
837 1.1 tv | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
838 1.1 tv | --exec | --exe | --ex)
839 1.1 tv ac_prev=exec_prefix ;;
840 1.1 tv -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
841 1.1 tv | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
842 1.1 tv | --exec=* | --exe=* | --ex=*)
843 1.1 tv exec_prefix=$ac_optarg ;;
844 1.1 tv
845 1.1 tv -gas | --gas | --ga | --g)
846 1.1 tv # Obsolete; use --with-gas.
847 1.1 tv with_gas=yes ;;
848 1.1 tv
849 1.1 tv -help | --help | --hel | --he | -h)
850 1.1 tv ac_init_help=long ;;
851 1.1 tv -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
852 1.1 tv ac_init_help=recursive ;;
853 1.1 tv -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
854 1.1 tv ac_init_help=short ;;
855 1.1 tv
856 1.1 tv -host | --host | --hos | --ho)
857 1.1 tv ac_prev=host_alias ;;
858 1.1 tv -host=* | --host=* | --hos=* | --ho=*)
859 1.1 tv host_alias=$ac_optarg ;;
860 1.1 tv
861 1.9 lukem -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
862 1.9 lukem ac_prev=htmldir ;;
863 1.9 lukem -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
864 1.9 lukem | --ht=*)
865 1.9 lukem htmldir=$ac_optarg ;;
866 1.9 lukem
867 1.1 tv -includedir | --includedir | --includedi | --included | --include \
868 1.1 tv | --includ | --inclu | --incl | --inc)
869 1.1 tv ac_prev=includedir ;;
870 1.1 tv -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
871 1.1 tv | --includ=* | --inclu=* | --incl=* | --inc=*)
872 1.1 tv includedir=$ac_optarg ;;
873 1.1 tv
874 1.1 tv -infodir | --infodir | --infodi | --infod | --info | --inf)
875 1.1 tv ac_prev=infodir ;;
876 1.1 tv -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
877 1.1 tv infodir=$ac_optarg ;;
878 1.1 tv
879 1.1 tv -libdir | --libdir | --libdi | --libd)
880 1.1 tv ac_prev=libdir ;;
881 1.1 tv -libdir=* | --libdir=* | --libdi=* | --libd=*)
882 1.1 tv libdir=$ac_optarg ;;
883 1.1 tv
884 1.1 tv -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
885 1.1 tv | --libexe | --libex | --libe)
886 1.1 tv ac_prev=libexecdir ;;
887 1.1 tv -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
888 1.1 tv | --libexe=* | --libex=* | --libe=*)
889 1.1 tv libexecdir=$ac_optarg ;;
890 1.1 tv
891 1.9 lukem -localedir | --localedir | --localedi | --localed | --locale)
892 1.9 lukem ac_prev=localedir ;;
893 1.9 lukem -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
894 1.9 lukem localedir=$ac_optarg ;;
895 1.9 lukem
896 1.1 tv -localstatedir | --localstatedir | --localstatedi | --localstated \
897 1.9 lukem | --localstate | --localstat | --localsta | --localst | --locals)
898 1.1 tv ac_prev=localstatedir ;;
899 1.1 tv -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
900 1.9 lukem | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
901 1.1 tv localstatedir=$ac_optarg ;;
902 1.1 tv
903 1.1 tv -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
904 1.1 tv ac_prev=mandir ;;
905 1.1 tv -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
906 1.1 tv mandir=$ac_optarg ;;
907 1.1 tv
908 1.1 tv -nfp | --nfp | --nf)
909 1.1 tv # Obsolete; use --without-fp.
910 1.1 tv with_fp=no ;;
911 1.1 tv
912 1.1 tv -no-create | --no-create | --no-creat | --no-crea | --no-cre \
913 1.9 lukem | --no-cr | --no-c | -n)
914 1.1 tv no_create=yes ;;
915 1.1 tv
916 1.1 tv -no-recursion | --no-recursion | --no-recursio | --no-recursi \
917 1.1 tv | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
918 1.1 tv no_recursion=yes ;;
919 1.1 tv
920 1.1 tv -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
921 1.1 tv | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
922 1.1 tv | --oldin | --oldi | --old | --ol | --o)
923 1.1 tv ac_prev=oldincludedir ;;
924 1.1 tv -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
925 1.1 tv | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
926 1.1 tv | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
927 1.1 tv oldincludedir=$ac_optarg ;;
928 1.1 tv
929 1.1 tv -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
930 1.1 tv ac_prev=prefix ;;
931 1.1 tv -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
932 1.1 tv prefix=$ac_optarg ;;
933 1.1 tv
934 1.1 tv -program-prefix | --program-prefix | --program-prefi | --program-pref \
935 1.1 tv | --program-pre | --program-pr | --program-p)
936 1.1 tv ac_prev=program_prefix ;;
937 1.1 tv -program-prefix=* | --program-prefix=* | --program-prefi=* \
938 1.1 tv | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
939 1.1 tv program_prefix=$ac_optarg ;;
940 1.1 tv
941 1.1 tv -program-suffix | --program-suffix | --program-suffi | --program-suff \
942 1.1 tv | --program-suf | --program-su | --program-s)
943 1.1 tv ac_prev=program_suffix ;;
944 1.1 tv -program-suffix=* | --program-suffix=* | --program-suffi=* \
945 1.1 tv | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
946 1.1 tv program_suffix=$ac_optarg ;;
947 1.1 tv
948 1.1 tv -program-transform-name | --program-transform-name \
949 1.1 tv | --program-transform-nam | --program-transform-na \
950 1.1 tv | --program-transform-n | --program-transform- \
951 1.1 tv | --program-transform | --program-transfor \
952 1.1 tv | --program-transfo | --program-transf \
953 1.1 tv | --program-trans | --program-tran \
954 1.1 tv | --progr-tra | --program-tr | --program-t)
955 1.1 tv ac_prev=program_transform_name ;;
956 1.1 tv -program-transform-name=* | --program-transform-name=* \
957 1.1 tv | --program-transform-nam=* | --program-transform-na=* \
958 1.1 tv | --program-transform-n=* | --program-transform-=* \
959 1.1 tv | --program-transform=* | --program-transfor=* \
960 1.1 tv | --program-transfo=* | --program-transf=* \
961 1.1 tv | --program-trans=* | --program-tran=* \
962 1.1 tv | --progr-tra=* | --program-tr=* | --program-t=*)
963 1.1 tv program_transform_name=$ac_optarg ;;
964 1.1 tv
965 1.9 lukem -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
966 1.9 lukem ac_prev=pdfdir ;;
967 1.9 lukem -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
968 1.9 lukem pdfdir=$ac_optarg ;;
969 1.9 lukem
970 1.9 lukem -psdir | --psdir | --psdi | --psd | --ps)
971 1.9 lukem ac_prev=psdir ;;
972 1.9 lukem -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
973 1.9 lukem psdir=$ac_optarg ;;
974 1.9 lukem
975 1.1 tv -q | -quiet | --quiet | --quie | --qui | --qu | --q \
976 1.1 tv | -silent | --silent | --silen | --sile | --sil)
977 1.1 tv silent=yes ;;
978 1.1 tv
979 1.1 tv -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
980 1.1 tv ac_prev=sbindir ;;
981 1.1 tv -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
982 1.1 tv | --sbi=* | --sb=*)
983 1.1 tv sbindir=$ac_optarg ;;
984 1.1 tv
985 1.1 tv -sharedstatedir | --sharedstatedir | --sharedstatedi \
986 1.1 tv | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
987 1.1 tv | --sharedst | --shareds | --shared | --share | --shar \
988 1.1 tv | --sha | --sh)
989 1.1 tv ac_prev=sharedstatedir ;;
990 1.1 tv -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
991 1.1 tv | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
992 1.1 tv | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
993 1.1 tv | --sha=* | --sh=*)
994 1.1 tv sharedstatedir=$ac_optarg ;;
995 1.1 tv
996 1.1 tv -site | --site | --sit)
997 1.1 tv ac_prev=site ;;
998 1.1 tv -site=* | --site=* | --sit=*)
999 1.1 tv site=$ac_optarg ;;
1000 1.1 tv
1001 1.1 tv -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1002 1.1 tv ac_prev=srcdir ;;
1003 1.1 tv -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1004 1.1 tv srcdir=$ac_optarg ;;
1005 1.1 tv
1006 1.1 tv -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1007 1.1 tv | --syscon | --sysco | --sysc | --sys | --sy)
1008 1.1 tv ac_prev=sysconfdir ;;
1009 1.1 tv -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1010 1.1 tv | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1011 1.1 tv sysconfdir=$ac_optarg ;;
1012 1.1 tv
1013 1.1 tv -target | --target | --targe | --targ | --tar | --ta | --t)
1014 1.1 tv ac_prev=target_alias ;;
1015 1.1 tv -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1016 1.1 tv target_alias=$ac_optarg ;;
1017 1.1 tv
1018 1.1 tv -v | -verbose | --verbose | --verbos | --verbo | --verb)
1019 1.1 tv verbose=yes ;;
1020 1.1 tv
1021 1.1 tv -version | --version | --versio | --versi | --vers | -V)
1022 1.1 tv ac_init_version=: ;;
1023 1.1 tv
1024 1.1 tv -with-* | --with-*)
1025 1.9 lukem ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1026 1.1 tv # Reject names that are not valid shell variable names.
1027 1.9 lukem expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1028 1.9 lukem as_fn_error $? "invalid package name: $ac_useropt"
1029 1.9 lukem ac_useropt_orig=$ac_useropt
1030 1.9 lukem ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 1.9 lukem case $ac_user_opts in
1032 1.9 lukem *"
1033 1.9 lukem "with_$ac_useropt"
1034 1.9 lukem "*) ;;
1035 1.9 lukem *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1036 1.9 lukem ac_unrecognized_sep=', ';;
1037 1.1 tv esac
1038 1.9 lukem eval with_$ac_useropt=\$ac_optarg ;;
1039 1.1 tv
1040 1.1 tv -without-* | --without-*)
1041 1.9 lukem ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1042 1.1 tv # Reject names that are not valid shell variable names.
1043 1.9 lukem expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044 1.9 lukem as_fn_error $? "invalid package name: $ac_useropt"
1045 1.9 lukem ac_useropt_orig=$ac_useropt
1046 1.9 lukem ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 1.9 lukem case $ac_user_opts in
1048 1.9 lukem *"
1049 1.9 lukem "with_$ac_useropt"
1050 1.9 lukem "*) ;;
1051 1.9 lukem *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1052 1.9 lukem ac_unrecognized_sep=', ';;
1053 1.9 lukem esac
1054 1.9 lukem eval with_$ac_useropt=no ;;
1055 1.1 tv
1056 1.1 tv --x)
1057 1.1 tv # Obsolete; use --with-x.
1058 1.1 tv with_x=yes ;;
1059 1.1 tv
1060 1.1 tv -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1061 1.1 tv | --x-incl | --x-inc | --x-in | --x-i)
1062 1.1 tv ac_prev=x_includes ;;
1063 1.1 tv -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1064 1.1 tv | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1065 1.1 tv x_includes=$ac_optarg ;;
1066 1.1 tv
1067 1.1 tv -x-libraries | --x-libraries | --x-librarie | --x-librari \
1068 1.1 tv | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1069 1.1 tv ac_prev=x_libraries ;;
1070 1.1 tv -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1071 1.1 tv | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1072 1.1 tv x_libraries=$ac_optarg ;;
1073 1.1 tv
1074 1.9 lukem -*) as_fn_error $? "unrecognized option: \`$ac_option'
1075 1.9 lukem Try \`$0 --help' for more information"
1076 1.1 tv ;;
1077 1.1 tv
1078 1.1 tv *=*)
1079 1.1 tv ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1080 1.1 tv # Reject names that are not valid shell variable names.
1081 1.9 lukem case $ac_envvar in #(
1082 1.9 lukem '' | [0-9]* | *[!_$as_cr_alnum]* )
1083 1.9 lukem as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1084 1.9 lukem esac
1085 1.9 lukem eval $ac_envvar=\$ac_optarg
1086 1.1 tv export $ac_envvar ;;
1087 1.1 tv
1088 1.1 tv *)
1089 1.1 tv # FIXME: should be removed in autoconf 3.0.
1090 1.9 lukem $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1091 1.1 tv expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1092 1.9 lukem $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1093 1.9 lukem : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1094 1.1 tv ;;
1095 1.1 tv
1096 1.1 tv esac
1097 1.1 tv done
1098 1.1 tv
1099 1.1 tv if test -n "$ac_prev"; then
1100 1.1 tv ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1101 1.9 lukem as_fn_error $? "missing argument to $ac_option"
1102 1.1 tv fi
1103 1.1 tv
1104 1.9 lukem if test -n "$ac_unrecognized_opts"; then
1105 1.9 lukem case $enable_option_checking in
1106 1.9 lukem no) ;;
1107 1.9 lukem fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1108 1.9 lukem *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1109 1.9 lukem esac
1110 1.9 lukem fi
1111 1.9 lukem
1112 1.9 lukem # Check all directory arguments for consistency.
1113 1.9 lukem for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1114 1.9 lukem datadir sysconfdir sharedstatedir localstatedir includedir \
1115 1.9 lukem oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1116 1.9 lukem libdir localedir mandir
1117 1.1 tv do
1118 1.9 lukem eval ac_val=\$$ac_var
1119 1.9 lukem # Remove trailing slashes.
1120 1.1 tv case $ac_val in
1121 1.9 lukem */ )
1122 1.9 lukem ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1123 1.9 lukem eval $ac_var=\$ac_val;;
1124 1.1 tv esac
1125 1.9 lukem # Be sure to have absolute directory names.
1126 1.1 tv case $ac_val in
1127 1.9 lukem [\\/$]* | ?:[\\/]* ) continue;;
1128 1.9 lukem NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1129 1.1 tv esac
1130 1.9 lukem as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1131 1.1 tv done
1132 1.1 tv
1133 1.1 tv # There might be people who depend on the old broken behavior: `$host'
1134 1.1 tv # used to hold the argument of --host etc.
1135 1.9 lukem # FIXME: To remove some day.
1136 1.1 tv build=$build_alias
1137 1.1 tv host=$host_alias
1138 1.1 tv target=$target_alias
1139 1.1 tv
1140 1.9 lukem # FIXME: To remove some day.
1141 1.1 tv if test "x$host_alias" != x; then
1142 1.1 tv if test "x$build_alias" = x; then
1143 1.1 tv cross_compiling=maybe
1144 1.1 tv elif test "x$build_alias" != "x$host_alias"; then
1145 1.1 tv cross_compiling=yes
1146 1.1 tv fi
1147 1.1 tv fi
1148 1.1 tv
1149 1.1 tv ac_tool_prefix=
1150 1.1 tv test -n "$host_alias" && ac_tool_prefix=$host_alias-
1151 1.1 tv
1152 1.1 tv test "$silent" = yes && exec 6>/dev/null
1153 1.1 tv
1154 1.9 lukem
1155 1.9 lukem ac_pwd=`pwd` && test -n "$ac_pwd" &&
1156 1.9 lukem ac_ls_di=`ls -di .` &&
1157 1.9 lukem ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1158 1.9 lukem as_fn_error $? "working directory cannot be determined"
1159 1.9 lukem test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1160 1.9 lukem as_fn_error $? "pwd does not report name of working directory"
1161 1.9 lukem
1162 1.9 lukem
1163 1.1 tv # Find the source files, if location was not specified.
1164 1.1 tv if test -z "$srcdir"; then
1165 1.1 tv ac_srcdir_defaulted=yes
1166 1.9 lukem # Try the directory containing this script, then the parent directory.
1167 1.9 lukem ac_confdir=`$as_dirname -- "$as_myself" ||
1168 1.9 lukem $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1169 1.9 lukem X"$as_myself" : 'X\(//\)[^/]' \| \
1170 1.9 lukem X"$as_myself" : 'X\(//\)$' \| \
1171 1.9 lukem X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1172 1.9 lukem $as_echo X"$as_myself" |
1173 1.9 lukem sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1174 1.9 lukem s//\1/
1175 1.9 lukem q
1176 1.9 lukem }
1177 1.9 lukem /^X\(\/\/\)[^/].*/{
1178 1.9 lukem s//\1/
1179 1.9 lukem q
1180 1.9 lukem }
1181 1.9 lukem /^X\(\/\/\)$/{
1182 1.9 lukem s//\1/
1183 1.9 lukem q
1184 1.9 lukem }
1185 1.9 lukem /^X\(\/\).*/{
1186 1.9 lukem s//\1/
1187 1.9 lukem q
1188 1.9 lukem }
1189 1.9 lukem s/.*/./; q'`
1190 1.1 tv srcdir=$ac_confdir
1191 1.9 lukem if test ! -r "$srcdir/$ac_unique_file"; then
1192 1.1 tv srcdir=..
1193 1.1 tv fi
1194 1.1 tv else
1195 1.1 tv ac_srcdir_defaulted=no
1196 1.1 tv fi
1197 1.9 lukem if test ! -r "$srcdir/$ac_unique_file"; then
1198 1.9 lukem test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1199 1.9 lukem as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1200 1.9 lukem fi
1201 1.9 lukem ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1202 1.9 lukem ac_abs_confdir=`(
1203 1.9 lukem cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1204 1.9 lukem pwd)`
1205 1.9 lukem # When building in place, set srcdir=.
1206 1.9 lukem if test "$ac_abs_confdir" = "$ac_pwd"; then
1207 1.9 lukem srcdir=.
1208 1.9 lukem fi
1209 1.9 lukem # Remove unnecessary trailing slashes from srcdir.
1210 1.9 lukem # Double slashes in file names in object file debugging info
1211 1.9 lukem # mess up M-x gdb in Emacs.
1212 1.9 lukem case $srcdir in
1213 1.9 lukem */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1214 1.9 lukem esac
1215 1.9 lukem for ac_var in $ac_precious_vars; do
1216 1.9 lukem eval ac_env_${ac_var}_set=\${${ac_var}+set}
1217 1.9 lukem eval ac_env_${ac_var}_value=\$${ac_var}
1218 1.9 lukem eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1219 1.9 lukem eval ac_cv_env_${ac_var}_value=\$${ac_var}
1220 1.9 lukem done
1221 1.1 tv
1222 1.1 tv #
1223 1.1 tv # Report the --help message.
1224 1.1 tv #
1225 1.1 tv if test "$ac_init_help" = "long"; then
1226 1.1 tv # Omit some internal or obsolete options to make the list less imposing.
1227 1.1 tv # This message is too long to be a string in the A/UX 3.1 sh.
1228 1.9 lukem cat <<_ACEOF
1229 1.1 tv \`configure' configures make noversion to adapt to many kinds of systems.
1230 1.1 tv
1231 1.1 tv Usage: $0 [OPTION]... [VAR=VALUE]...
1232 1.1 tv
1233 1.1 tv To assign environment variables (e.g., CC, CFLAGS...), specify them as
1234 1.1 tv VAR=VALUE. See below for descriptions of some of the useful variables.
1235 1.1 tv
1236 1.1 tv Defaults for the options are specified in brackets.
1237 1.1 tv
1238 1.1 tv Configuration:
1239 1.1 tv -h, --help display this help and exit
1240 1.1 tv --help=short display options specific to this package
1241 1.1 tv --help=recursive display the short help of all the included packages
1242 1.1 tv -V, --version display version information and exit
1243 1.9 lukem -q, --quiet, --silent do not print \`checking ...' messages
1244 1.1 tv --cache-file=FILE cache test results in FILE [disabled]
1245 1.1 tv -C, --config-cache alias for \`--cache-file=config.cache'
1246 1.1 tv -n, --no-create do not create output files
1247 1.1 tv --srcdir=DIR find the sources in DIR [configure dir or \`..']
1248 1.1 tv
1249 1.1 tv Installation directories:
1250 1.1 tv --prefix=PREFIX install architecture-independent files in PREFIX
1251 1.1 tv [$ac_default_prefix]
1252 1.1 tv --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1253 1.1 tv [PREFIX]
1254 1.1 tv
1255 1.1 tv By default, \`make install' will install all the files in
1256 1.1 tv \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1257 1.1 tv an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1258 1.1 tv for instance \`--prefix=\$HOME'.
1259 1.1 tv
1260 1.1 tv For better control, use the options below.
1261 1.1 tv
1262 1.1 tv Fine tuning of the installation directories:
1263 1.9 lukem --bindir=DIR user executables [EPREFIX/bin]
1264 1.9 lukem --sbindir=DIR system admin executables [EPREFIX/sbin]
1265 1.9 lukem --libexecdir=DIR program executables [EPREFIX/libexec]
1266 1.9 lukem --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1267 1.9 lukem --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1268 1.9 lukem --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1269 1.9 lukem --libdir=DIR object code libraries [EPREFIX/lib]
1270 1.9 lukem --includedir=DIR C header files [PREFIX/include]
1271 1.9 lukem --oldincludedir=DIR C header files for non-gcc [/usr/include]
1272 1.9 lukem --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1273 1.9 lukem --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1274 1.9 lukem --infodir=DIR info documentation [DATAROOTDIR/info]
1275 1.9 lukem --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1276 1.9 lukem --mandir=DIR man documentation [DATAROOTDIR/man]
1277 1.9 lukem --docdir=DIR documentation root [DATAROOTDIR/doc/make]
1278 1.9 lukem --htmldir=DIR html documentation [DOCDIR]
1279 1.9 lukem --dvidir=DIR dvi documentation [DOCDIR]
1280 1.9 lukem --pdfdir=DIR pdf documentation [DOCDIR]
1281 1.9 lukem --psdir=DIR ps documentation [DOCDIR]
1282 1.9 lukem _ACEOF
1283 1.1 tv
1284 1.9 lukem cat <<\_ACEOF
1285 1.9 lukem _ACEOF
1286 1.1 tv fi
1287 1.1 tv
1288 1.1 tv if test -n "$ac_init_help"; then
1289 1.1 tv case $ac_init_help in
1290 1.1 tv short | recursive ) echo "Configuration of make noversion:";;
1291 1.1 tv esac
1292 1.9 lukem cat <<\_ACEOF
1293 1.1 tv
1294 1.1 tv Some influential environment variables:
1295 1.1 tv CC C compiler command
1296 1.1 tv CFLAGS C compiler flags
1297 1.1 tv LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1298 1.1 tv nonstandard directory <lib dir>
1299 1.9 lukem LIBS libraries to pass to the linker, e.g. -l<library>
1300 1.9 lukem CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1301 1.9 lukem you have headers in a nonstandard directory <include dir>
1302 1.1 tv CPP C preprocessor
1303 1.1 tv
1304 1.1 tv Use these variables to override the choices made by `configure' or to help
1305 1.1 tv it to find libraries and programs with nonstandard names/locations.
1306 1.1 tv
1307 1.6 salo Report bugs to <bin-bug-people@NetBSD.org>.
1308 1.9 lukem _ACEOF
1309 1.9 lukem ac_status=$?
1310 1.1 tv fi
1311 1.1 tv
1312 1.1 tv if test "$ac_init_help" = "recursive"; then
1313 1.1 tv # If there are subdirs, report their specific --help.
1314 1.9 lukem for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1315 1.9 lukem test -d "$ac_dir" ||
1316 1.9 lukem { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1317 1.9 lukem continue
1318 1.9 lukem ac_builddir=.
1319 1.9 lukem
1320 1.9 lukem case "$ac_dir" in
1321 1.9 lukem .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1322 1.9 lukem *)
1323 1.9 lukem ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1324 1.9 lukem # A ".." for each directory in $ac_dir_suffix.
1325 1.9 lukem ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1326 1.9 lukem case $ac_top_builddir_sub in
1327 1.9 lukem "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1328 1.9 lukem *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1329 1.9 lukem esac ;;
1330 1.9 lukem esac
1331 1.9 lukem ac_abs_top_builddir=$ac_pwd
1332 1.9 lukem ac_abs_builddir=$ac_pwd$ac_dir_suffix
1333 1.9 lukem # for backward compatibility:
1334 1.9 lukem ac_top_builddir=$ac_top_build_prefix
1335 1.9 lukem
1336 1.9 lukem case $srcdir in
1337 1.9 lukem .) # We are building in place.
1338 1.9 lukem ac_srcdir=.
1339 1.9 lukem ac_top_srcdir=$ac_top_builddir_sub
1340 1.9 lukem ac_abs_top_srcdir=$ac_pwd ;;
1341 1.9 lukem [\\/]* | ?:[\\/]* ) # Absolute name.
1342 1.9 lukem ac_srcdir=$srcdir$ac_dir_suffix;
1343 1.9 lukem ac_top_srcdir=$srcdir
1344 1.9 lukem ac_abs_top_srcdir=$srcdir ;;
1345 1.9 lukem *) # Relative name.
1346 1.9 lukem ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1347 1.9 lukem ac_top_srcdir=$ac_top_build_prefix$srcdir
1348 1.9 lukem ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1349 1.9 lukem esac
1350 1.9 lukem ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1351 1.1 tv
1352 1.9 lukem cd "$ac_dir" || { ac_status=$?; continue; }
1353 1.9 lukem # Check for guested configure.
1354 1.9 lukem if test -f "$ac_srcdir/configure.gnu"; then
1355 1.9 lukem echo &&
1356 1.9 lukem $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1357 1.9 lukem elif test -f "$ac_srcdir/configure"; then
1358 1.9 lukem echo &&
1359 1.9 lukem $SHELL "$ac_srcdir/configure" --help=recursive
1360 1.1 tv else
1361 1.9 lukem $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1362 1.9 lukem fi || ac_status=$?
1363 1.9 lukem cd "$ac_pwd" || { ac_status=$?; break; }
1364 1.1 tv done
1365 1.1 tv fi
1366 1.1 tv
1367 1.9 lukem test -n "$ac_init_help" && exit $ac_status
1368 1.1 tv if $ac_init_version; then
1369 1.9 lukem cat <<\_ACEOF
1370 1.1 tv make configure noversion
1371 1.9 lukem generated by GNU Autoconf 2.69
1372 1.1 tv
1373 1.9 lukem Copyright (C) 2012 Free Software Foundation, Inc.
1374 1.1 tv This configure script is free software; the Free Software Foundation
1375 1.1 tv gives unlimited permission to copy, distribute and modify it.
1376 1.9 lukem _ACEOF
1377 1.9 lukem exit
1378 1.9 lukem fi
1379 1.9 lukem
1380 1.9 lukem ## ------------------------ ##
1381 1.9 lukem ## Autoconf initialization. ##
1382 1.9 lukem ## ------------------------ ##
1383 1.9 lukem
1384 1.9 lukem # ac_fn_c_try_compile LINENO
1385 1.9 lukem # --------------------------
1386 1.9 lukem # Try to compile conftest.$ac_ext, and return whether this succeeded.
1387 1.9 lukem ac_fn_c_try_compile ()
1388 1.9 lukem {
1389 1.9 lukem as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1390 1.9 lukem rm -f conftest.$ac_objext
1391 1.9 lukem if { { ac_try="$ac_compile"
1392 1.9 lukem case "(($ac_try" in
1393 1.9 lukem *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1394 1.9 lukem *) ac_try_echo=$ac_try;;
1395 1.9 lukem esac
1396 1.9 lukem eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1397 1.9 lukem $as_echo "$ac_try_echo"; } >&5
1398 1.9 lukem (eval "$ac_compile") 2>conftest.err
1399 1.9 lukem ac_status=$?
1400 1.9 lukem if test -s conftest.err; then
1401 1.9 lukem grep -v '^ *+' conftest.err >conftest.er1
1402 1.9 lukem cat conftest.er1 >&5
1403 1.9 lukem mv -f conftest.er1 conftest.err
1404 1.9 lukem fi
1405 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1406 1.9 lukem test $ac_status = 0; } && {
1407 1.9 lukem test -z "$ac_c_werror_flag" ||
1408 1.9 lukem test ! -s conftest.err
1409 1.9 lukem } && test -s conftest.$ac_objext; then :
1410 1.9 lukem ac_retval=0
1411 1.9 lukem else
1412 1.9 lukem $as_echo "$as_me: failed program was:" >&5
1413 1.9 lukem sed 's/^/| /' conftest.$ac_ext >&5
1414 1.9 lukem
1415 1.9 lukem ac_retval=1
1416 1.9 lukem fi
1417 1.9 lukem eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1418 1.9 lukem as_fn_set_status $ac_retval
1419 1.9 lukem
1420 1.9 lukem } # ac_fn_c_try_compile
1421 1.9 lukem
1422 1.9 lukem # ac_fn_c_try_cpp LINENO
1423 1.9 lukem # ----------------------
1424 1.9 lukem # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1425 1.9 lukem ac_fn_c_try_cpp ()
1426 1.9 lukem {
1427 1.9 lukem as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1428 1.9 lukem if { { ac_try="$ac_cpp conftest.$ac_ext"
1429 1.9 lukem case "(($ac_try" in
1430 1.9 lukem *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1431 1.9 lukem *) ac_try_echo=$ac_try;;
1432 1.9 lukem esac
1433 1.9 lukem eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1434 1.9 lukem $as_echo "$ac_try_echo"; } >&5
1435 1.9 lukem (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1436 1.9 lukem ac_status=$?
1437 1.9 lukem if test -s conftest.err; then
1438 1.9 lukem grep -v '^ *+' conftest.err >conftest.er1
1439 1.9 lukem cat conftest.er1 >&5
1440 1.9 lukem mv -f conftest.er1 conftest.err
1441 1.9 lukem fi
1442 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1443 1.9 lukem test $ac_status = 0; } > conftest.i && {
1444 1.9 lukem test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1445 1.9 lukem test ! -s conftest.err
1446 1.9 lukem }; then :
1447 1.9 lukem ac_retval=0
1448 1.9 lukem else
1449 1.9 lukem $as_echo "$as_me: failed program was:" >&5
1450 1.9 lukem sed 's/^/| /' conftest.$ac_ext >&5
1451 1.9 lukem
1452 1.9 lukem ac_retval=1
1453 1.9 lukem fi
1454 1.9 lukem eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1455 1.9 lukem as_fn_set_status $ac_retval
1456 1.9 lukem
1457 1.9 lukem } # ac_fn_c_try_cpp
1458 1.9 lukem
1459 1.9 lukem # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1460 1.9 lukem # -------------------------------------------------------
1461 1.9 lukem # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1462 1.9 lukem # the include files in INCLUDES and setting the cache variable VAR
1463 1.9 lukem # accordingly.
1464 1.9 lukem ac_fn_c_check_header_mongrel ()
1465 1.9 lukem {
1466 1.9 lukem as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1467 1.9 lukem if eval \${$3+:} false; then :
1468 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1469 1.9 lukem $as_echo_n "checking for $2... " >&6; }
1470 1.9 lukem if eval \${$3+:} false; then :
1471 1.9 lukem $as_echo_n "(cached) " >&6
1472 1.9 lukem fi
1473 1.9 lukem eval ac_res=\$$3
1474 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1475 1.9 lukem $as_echo "$ac_res" >&6; }
1476 1.9 lukem else
1477 1.9 lukem # Is the header compilable?
1478 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1479 1.9 lukem $as_echo_n "checking $2 usability... " >&6; }
1480 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1481 1.9 lukem /* end confdefs.h. */
1482 1.9 lukem $4
1483 1.9 lukem #include <$2>
1484 1.9 lukem _ACEOF
1485 1.9 lukem if ac_fn_c_try_compile "$LINENO"; then :
1486 1.9 lukem ac_header_compiler=yes
1487 1.9 lukem else
1488 1.9 lukem ac_header_compiler=no
1489 1.9 lukem fi
1490 1.9 lukem rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1491 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1492 1.9 lukem $as_echo "$ac_header_compiler" >&6; }
1493 1.9 lukem
1494 1.9 lukem # Is the header present?
1495 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1496 1.9 lukem $as_echo_n "checking $2 presence... " >&6; }
1497 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1498 1.9 lukem /* end confdefs.h. */
1499 1.9 lukem #include <$2>
1500 1.9 lukem _ACEOF
1501 1.9 lukem if ac_fn_c_try_cpp "$LINENO"; then :
1502 1.9 lukem ac_header_preproc=yes
1503 1.9 lukem else
1504 1.9 lukem ac_header_preproc=no
1505 1.9 lukem fi
1506 1.9 lukem rm -f conftest.err conftest.i conftest.$ac_ext
1507 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1508 1.9 lukem $as_echo "$ac_header_preproc" >&6; }
1509 1.9 lukem
1510 1.9 lukem # So? What about this header?
1511 1.9 lukem case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1512 1.9 lukem yes:no: )
1513 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1514 1.9 lukem $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1515 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1516 1.9 lukem $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1517 1.9 lukem ;;
1518 1.9 lukem no:yes:* )
1519 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1520 1.9 lukem $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1521 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1522 1.9 lukem $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1523 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1524 1.9 lukem $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1525 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1526 1.9 lukem $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1527 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1528 1.9 lukem $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1529 1.9 lukem ( $as_echo "## ---------------------------------------- ##
1530 1.9 lukem ## Report this to bin-bug-people (at] NetBSD.org ##
1531 1.9 lukem ## ---------------------------------------- ##"
1532 1.9 lukem ) | sed "s/^/$as_me: WARNING: /" >&2
1533 1.9 lukem ;;
1534 1.9 lukem esac
1535 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1536 1.9 lukem $as_echo_n "checking for $2... " >&6; }
1537 1.9 lukem if eval \${$3+:} false; then :
1538 1.9 lukem $as_echo_n "(cached) " >&6
1539 1.9 lukem else
1540 1.9 lukem eval "$3=\$ac_header_compiler"
1541 1.9 lukem fi
1542 1.9 lukem eval ac_res=\$$3
1543 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1544 1.9 lukem $as_echo "$ac_res" >&6; }
1545 1.9 lukem fi
1546 1.9 lukem eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1547 1.9 lukem
1548 1.9 lukem } # ac_fn_c_check_header_mongrel
1549 1.9 lukem
1550 1.9 lukem # ac_fn_c_try_run LINENO
1551 1.9 lukem # ----------------------
1552 1.9 lukem # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1553 1.9 lukem # that executables *can* be run.
1554 1.9 lukem ac_fn_c_try_run ()
1555 1.9 lukem {
1556 1.9 lukem as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1557 1.9 lukem if { { ac_try="$ac_link"
1558 1.9 lukem case "(($ac_try" in
1559 1.9 lukem *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1560 1.9 lukem *) ac_try_echo=$ac_try;;
1561 1.9 lukem esac
1562 1.9 lukem eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563 1.9 lukem $as_echo "$ac_try_echo"; } >&5
1564 1.9 lukem (eval "$ac_link") 2>&5
1565 1.9 lukem ac_status=$?
1566 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1567 1.9 lukem test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1568 1.9 lukem { { case "(($ac_try" in
1569 1.9 lukem *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1570 1.9 lukem *) ac_try_echo=$ac_try;;
1571 1.9 lukem esac
1572 1.9 lukem eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1573 1.9 lukem $as_echo "$ac_try_echo"; } >&5
1574 1.9 lukem (eval "$ac_try") 2>&5
1575 1.9 lukem ac_status=$?
1576 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1577 1.9 lukem test $ac_status = 0; }; }; then :
1578 1.9 lukem ac_retval=0
1579 1.9 lukem else
1580 1.9 lukem $as_echo "$as_me: program exited with status $ac_status" >&5
1581 1.9 lukem $as_echo "$as_me: failed program was:" >&5
1582 1.9 lukem sed 's/^/| /' conftest.$ac_ext >&5
1583 1.9 lukem
1584 1.9 lukem ac_retval=$ac_status
1585 1.9 lukem fi
1586 1.9 lukem rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1587 1.9 lukem eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1588 1.9 lukem as_fn_set_status $ac_retval
1589 1.9 lukem
1590 1.9 lukem } # ac_fn_c_try_run
1591 1.9 lukem
1592 1.9 lukem # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1593 1.9 lukem # -------------------------------------------------------
1594 1.9 lukem # Tests whether HEADER exists and can be compiled using the include files in
1595 1.9 lukem # INCLUDES, setting the cache variable VAR accordingly.
1596 1.9 lukem ac_fn_c_check_header_compile ()
1597 1.9 lukem {
1598 1.9 lukem as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1600 1.9 lukem $as_echo_n "checking for $2... " >&6; }
1601 1.9 lukem if eval \${$3+:} false; then :
1602 1.9 lukem $as_echo_n "(cached) " >&6
1603 1.9 lukem else
1604 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1605 1.9 lukem /* end confdefs.h. */
1606 1.9 lukem $4
1607 1.9 lukem #include <$2>
1608 1.9 lukem _ACEOF
1609 1.9 lukem if ac_fn_c_try_compile "$LINENO"; then :
1610 1.9 lukem eval "$3=yes"
1611 1.9 lukem else
1612 1.9 lukem eval "$3=no"
1613 1.9 lukem fi
1614 1.9 lukem rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1615 1.9 lukem fi
1616 1.9 lukem eval ac_res=\$$3
1617 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1618 1.9 lukem $as_echo "$ac_res" >&6; }
1619 1.9 lukem eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1620 1.9 lukem
1621 1.9 lukem } # ac_fn_c_check_header_compile
1622 1.9 lukem
1623 1.9 lukem # ac_fn_c_try_link LINENO
1624 1.9 lukem # -----------------------
1625 1.9 lukem # Try to link conftest.$ac_ext, and return whether this succeeded.
1626 1.9 lukem ac_fn_c_try_link ()
1627 1.9 lukem {
1628 1.9 lukem as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 1.9 lukem rm -f conftest.$ac_objext conftest$ac_exeext
1630 1.9 lukem if { { ac_try="$ac_link"
1631 1.9 lukem case "(($ac_try" in
1632 1.9 lukem *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633 1.9 lukem *) ac_try_echo=$ac_try;;
1634 1.9 lukem esac
1635 1.9 lukem eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 1.9 lukem $as_echo "$ac_try_echo"; } >&5
1637 1.9 lukem (eval "$ac_link") 2>conftest.err
1638 1.9 lukem ac_status=$?
1639 1.9 lukem if test -s conftest.err; then
1640 1.9 lukem grep -v '^ *+' conftest.err >conftest.er1
1641 1.9 lukem cat conftest.er1 >&5
1642 1.9 lukem mv -f conftest.er1 conftest.err
1643 1.9 lukem fi
1644 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645 1.9 lukem test $ac_status = 0; } && {
1646 1.9 lukem test -z "$ac_c_werror_flag" ||
1647 1.9 lukem test ! -s conftest.err
1648 1.9 lukem } && test -s conftest$ac_exeext && {
1649 1.9 lukem test "$cross_compiling" = yes ||
1650 1.9 lukem test -x conftest$ac_exeext
1651 1.9 lukem }; then :
1652 1.9 lukem ac_retval=0
1653 1.9 lukem else
1654 1.9 lukem $as_echo "$as_me: failed program was:" >&5
1655 1.9 lukem sed 's/^/| /' conftest.$ac_ext >&5
1656 1.9 lukem
1657 1.9 lukem ac_retval=1
1658 1.9 lukem fi
1659 1.9 lukem # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1660 1.9 lukem # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1661 1.9 lukem # interfere with the next link command; also delete a directory that is
1662 1.9 lukem # left behind by Apple's compiler. We do this before executing the actions.
1663 1.9 lukem rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1664 1.9 lukem eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665 1.9 lukem as_fn_set_status $ac_retval
1666 1.9 lukem
1667 1.9 lukem } # ac_fn_c_try_link
1668 1.9 lukem
1669 1.9 lukem # ac_fn_c_check_func LINENO FUNC VAR
1670 1.9 lukem # ----------------------------------
1671 1.9 lukem # Tests whether FUNC exists, setting the cache variable VAR accordingly
1672 1.9 lukem ac_fn_c_check_func ()
1673 1.9 lukem {
1674 1.9 lukem as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676 1.9 lukem $as_echo_n "checking for $2... " >&6; }
1677 1.9 lukem if eval \${$3+:} false; then :
1678 1.9 lukem $as_echo_n "(cached) " >&6
1679 1.9 lukem else
1680 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1681 1.9 lukem /* end confdefs.h. */
1682 1.9 lukem /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1683 1.9 lukem For example, HP-UX 11i <limits.h> declares gettimeofday. */
1684 1.9 lukem #define $2 innocuous_$2
1685 1.9 lukem
1686 1.9 lukem /* System header to define __stub macros and hopefully few prototypes,
1687 1.9 lukem which can conflict with char $2 (); below.
1688 1.9 lukem Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1689 1.9 lukem <limits.h> exists even on freestanding compilers. */
1690 1.9 lukem
1691 1.9 lukem #ifdef __STDC__
1692 1.9 lukem # include <limits.h>
1693 1.9 lukem #else
1694 1.9 lukem # include <assert.h>
1695 1.9 lukem #endif
1696 1.9 lukem
1697 1.9 lukem #undef $2
1698 1.9 lukem
1699 1.9 lukem /* Override any GCC internal prototype to avoid an error.
1700 1.9 lukem Use char because int might match the return type of a GCC
1701 1.9 lukem builtin and then its argument prototype would still apply. */
1702 1.9 lukem #ifdef __cplusplus
1703 1.9 lukem extern "C"
1704 1.9 lukem #endif
1705 1.9 lukem char $2 ();
1706 1.9 lukem /* The GNU C library defines this for functions which it implements
1707 1.9 lukem to always fail with ENOSYS. Some functions are actually named
1708 1.9 lukem something starting with __ and the normal name is an alias. */
1709 1.9 lukem #if defined __stub_$2 || defined __stub___$2
1710 1.9 lukem choke me
1711 1.9 lukem #endif
1712 1.9 lukem
1713 1.9 lukem int
1714 1.9 lukem main ()
1715 1.9 lukem {
1716 1.9 lukem return $2 ();
1717 1.9 lukem ;
1718 1.9 lukem return 0;
1719 1.9 lukem }
1720 1.9 lukem _ACEOF
1721 1.9 lukem if ac_fn_c_try_link "$LINENO"; then :
1722 1.9 lukem eval "$3=yes"
1723 1.9 lukem else
1724 1.9 lukem eval "$3=no"
1725 1.1 tv fi
1726 1.9 lukem rm -f core conftest.err conftest.$ac_objext \
1727 1.9 lukem conftest$ac_exeext conftest.$ac_ext
1728 1.9 lukem fi
1729 1.9 lukem eval ac_res=\$$3
1730 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1731 1.9 lukem $as_echo "$ac_res" >&6; }
1732 1.9 lukem eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733 1.9 lukem
1734 1.9 lukem } # ac_fn_c_check_func
1735 1.9 lukem cat >config.log <<_ACEOF
1736 1.1 tv This file contains any messages produced by compilers while
1737 1.1 tv running configure, to aid debugging if configure makes a mistake.
1738 1.1 tv
1739 1.1 tv It was created by make $as_me noversion, which was
1740 1.9 lukem generated by GNU Autoconf 2.69. Invocation command line was
1741 1.1 tv
1742 1.1 tv $ $0 $@
1743 1.1 tv
1744 1.9 lukem _ACEOF
1745 1.9 lukem exec 5>>config.log
1746 1.1 tv {
1747 1.1 tv cat <<_ASUNAME
1748 1.9 lukem ## --------- ##
1749 1.9 lukem ## Platform. ##
1750 1.9 lukem ## --------- ##
1751 1.1 tv
1752 1.1 tv hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1753 1.1 tv uname -m = `(uname -m) 2>/dev/null || echo unknown`
1754 1.1 tv uname -r = `(uname -r) 2>/dev/null || echo unknown`
1755 1.1 tv uname -s = `(uname -s) 2>/dev/null || echo unknown`
1756 1.1 tv uname -v = `(uname -v) 2>/dev/null || echo unknown`
1757 1.1 tv
1758 1.1 tv /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1759 1.1 tv /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1760 1.1 tv
1761 1.1 tv /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1762 1.1 tv /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1763 1.1 tv /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1764 1.9 lukem /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1765 1.1 tv /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1766 1.1 tv /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1767 1.1 tv /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1768 1.1 tv
1769 1.9 lukem _ASUNAME
1770 1.9 lukem
1771 1.9 lukem as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1772 1.9 lukem for as_dir in $PATH
1773 1.9 lukem do
1774 1.9 lukem IFS=$as_save_IFS
1775 1.9 lukem test -z "$as_dir" && as_dir=.
1776 1.9 lukem $as_echo "PATH: $as_dir"
1777 1.9 lukem done
1778 1.9 lukem IFS=$as_save_IFS
1779 1.1 tv
1780 1.1 tv } >&5
1781 1.1 tv
1782 1.9 lukem cat >&5 <<_ACEOF
1783 1.9 lukem
1784 1.9 lukem
1785 1.9 lukem ## ----------- ##
1786 1.9 lukem ## Core tests. ##
1787 1.9 lukem ## ----------- ##
1788 1.9 lukem
1789 1.9 lukem _ACEOF
1790 1.1 tv
1791 1.1 tv
1792 1.1 tv # Keep a trace of the command line.
1793 1.1 tv # Strip out --no-create and --no-recursion so they do not pile up.
1794 1.9 lukem # Strip out --silent because we don't want to record it for future runs.
1795 1.1 tv # Also quote any args containing shell meta-characters.
1796 1.9 lukem # Make two passes to allow for proper duplicate-argument suppression.
1797 1.1 tv ac_configure_args=
1798 1.9 lukem ac_configure_args0=
1799 1.9 lukem ac_configure_args1=
1800 1.9 lukem ac_must_keep_next=false
1801 1.9 lukem for ac_pass in 1 2
1802 1.1 tv do
1803 1.9 lukem for ac_arg
1804 1.9 lukem do
1805 1.9 lukem case $ac_arg in
1806 1.9 lukem -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1807 1.9 lukem -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1808 1.9 lukem | -silent | --silent | --silen | --sile | --sil)
1809 1.9 lukem continue ;;
1810 1.9 lukem *\'*)
1811 1.9 lukem ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1812 1.9 lukem esac
1813 1.9 lukem case $ac_pass in
1814 1.9 lukem 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1815 1.9 lukem 2)
1816 1.9 lukem as_fn_append ac_configure_args1 " '$ac_arg'"
1817 1.9 lukem if test $ac_must_keep_next = true; then
1818 1.9 lukem ac_must_keep_next=false # Got value, back to normal.
1819 1.9 lukem else
1820 1.9 lukem case $ac_arg in
1821 1.9 lukem *=* | --config-cache | -C | -disable-* | --disable-* \
1822 1.9 lukem | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1823 1.9 lukem | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1824 1.9 lukem | -with-* | --with-* | -without-* | --without-* | --x)
1825 1.9 lukem case "$ac_configure_args0 " in
1826 1.9 lukem "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1827 1.9 lukem esac
1828 1.9 lukem ;;
1829 1.9 lukem -* ) ac_must_keep_next=true ;;
1830 1.9 lukem esac
1831 1.9 lukem fi
1832 1.9 lukem as_fn_append ac_configure_args " '$ac_arg'"
1833 1.9 lukem ;;
1834 1.9 lukem esac
1835 1.9 lukem done
1836 1.1 tv done
1837 1.9 lukem { ac_configure_args0=; unset ac_configure_args0;}
1838 1.9 lukem { ac_configure_args1=; unset ac_configure_args1;}
1839 1.1 tv
1840 1.1 tv # When interrupted or exit'd, cleanup temporary files, and complete
1841 1.1 tv # config.log. We remove comments because anyway the quotes in there
1842 1.1 tv # would cause problems or look ugly.
1843 1.9 lukem # WARNING: Use '\'' to represent an apostrophe within the trap.
1844 1.9 lukem # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1845 1.1 tv trap 'exit_status=$?
1846 1.1 tv # Save into config.log some information that might help in debugging.
1847 1.9 lukem {
1848 1.9 lukem echo
1849 1.9 lukem
1850 1.9 lukem $as_echo "## ---------------- ##
1851 1.9 lukem ## Cache variables. ##
1852 1.9 lukem ## ---------------- ##"
1853 1.9 lukem echo
1854 1.9 lukem # The following way of writing the cache mishandles newlines in values,
1855 1.9 lukem (
1856 1.9 lukem for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1857 1.9 lukem eval ac_val=\$$ac_var
1858 1.9 lukem case $ac_val in #(
1859 1.9 lukem *${as_nl}*)
1860 1.9 lukem case $ac_var in #(
1861 1.9 lukem *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1862 1.9 lukem $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1863 1.9 lukem esac
1864 1.9 lukem case $ac_var in #(
1865 1.9 lukem _ | IFS | as_nl) ;; #(
1866 1.9 lukem BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1867 1.9 lukem *) { eval $ac_var=; unset $ac_var;} ;;
1868 1.9 lukem esac ;;
1869 1.9 lukem esac
1870 1.9 lukem done
1871 1.1 tv (set) 2>&1 |
1872 1.9 lukem case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1873 1.9 lukem *${as_nl}ac_space=\ *)
1874 1.1 tv sed -n \
1875 1.9 lukem "s/'\''/'\''\\\\'\'''\''/g;
1876 1.9 lukem s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1877 1.9 lukem ;; #(
1878 1.1 tv *)
1879 1.9 lukem sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1880 1.1 tv ;;
1881 1.9 lukem esac |
1882 1.9 lukem sort
1883 1.9 lukem )
1884 1.9 lukem echo
1885 1.9 lukem
1886 1.9 lukem $as_echo "## ----------------- ##
1887 1.9 lukem ## Output variables. ##
1888 1.9 lukem ## ----------------- ##"
1889 1.9 lukem echo
1890 1.9 lukem for ac_var in $ac_subst_vars
1891 1.9 lukem do
1892 1.9 lukem eval ac_val=\$$ac_var
1893 1.9 lukem case $ac_val in
1894 1.9 lukem *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1895 1.9 lukem esac
1896 1.9 lukem $as_echo "$ac_var='\''$ac_val'\''"
1897 1.9 lukem done | sort
1898 1.9 lukem echo
1899 1.9 lukem
1900 1.9 lukem if test -n "$ac_subst_files"; then
1901 1.9 lukem $as_echo "## ------------------- ##
1902 1.9 lukem ## File substitutions. ##
1903 1.9 lukem ## ------------------- ##"
1904 1.9 lukem echo
1905 1.9 lukem for ac_var in $ac_subst_files
1906 1.9 lukem do
1907 1.9 lukem eval ac_val=\$$ac_var
1908 1.9 lukem case $ac_val in
1909 1.9 lukem *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1910 1.9 lukem esac
1911 1.9 lukem $as_echo "$ac_var='\''$ac_val'\''"
1912 1.9 lukem done | sort
1913 1.9 lukem echo
1914 1.9 lukem fi
1915 1.9 lukem
1916 1.9 lukem if test -s confdefs.h; then
1917 1.9 lukem $as_echo "## ----------- ##
1918 1.9 lukem ## confdefs.h. ##
1919 1.9 lukem ## ----------- ##"
1920 1.9 lukem echo
1921 1.9 lukem cat confdefs.h
1922 1.9 lukem echo
1923 1.9 lukem fi
1924 1.9 lukem test "$ac_signal" != 0 &&
1925 1.9 lukem $as_echo "$as_me: caught signal $ac_signal"
1926 1.9 lukem $as_echo "$as_me: exit $exit_status"
1927 1.9 lukem } >&5
1928 1.9 lukem rm -f core *.core core.conftest.* &&
1929 1.9 lukem rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1930 1.1 tv exit $exit_status
1931 1.9 lukem ' 0
1932 1.1 tv for ac_signal in 1 2 13 15; do
1933 1.9 lukem trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1934 1.1 tv done
1935 1.1 tv ac_signal=0
1936 1.1 tv
1937 1.1 tv # confdefs.h avoids OS command line length limits that DEFS can exceed.
1938 1.9 lukem rm -f -r conftest* confdefs.h
1939 1.9 lukem
1940 1.9 lukem $as_echo "/* confdefs.h */" > confdefs.h
1941 1.9 lukem
1942 1.9 lukem # Predefined preprocessor variables.
1943 1.9 lukem
1944 1.9 lukem cat >>confdefs.h <<_ACEOF
1945 1.9 lukem #define PACKAGE_NAME "$PACKAGE_NAME"
1946 1.9 lukem _ACEOF
1947 1.9 lukem
1948 1.9 lukem cat >>confdefs.h <<_ACEOF
1949 1.9 lukem #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1950 1.9 lukem _ACEOF
1951 1.9 lukem
1952 1.9 lukem cat >>confdefs.h <<_ACEOF
1953 1.9 lukem #define PACKAGE_VERSION "$PACKAGE_VERSION"
1954 1.9 lukem _ACEOF
1955 1.9 lukem
1956 1.9 lukem cat >>confdefs.h <<_ACEOF
1957 1.9 lukem #define PACKAGE_STRING "$PACKAGE_STRING"
1958 1.9 lukem _ACEOF
1959 1.9 lukem
1960 1.9 lukem cat >>confdefs.h <<_ACEOF
1961 1.9 lukem #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1962 1.9 lukem _ACEOF
1963 1.9 lukem
1964 1.9 lukem cat >>confdefs.h <<_ACEOF
1965 1.9 lukem #define PACKAGE_URL "$PACKAGE_URL"
1966 1.9 lukem _ACEOF
1967 1.9 lukem
1968 1.1 tv
1969 1.1 tv # Let the site file select an alternate cache file if it wants to.
1970 1.9 lukem # Prefer an explicitly selected file to automatically selected ones.
1971 1.9 lukem ac_site_file1=NONE
1972 1.9 lukem ac_site_file2=NONE
1973 1.9 lukem if test -n "$CONFIG_SITE"; then
1974 1.9 lukem # We do not want a PATH search for config.site.
1975 1.9 lukem case $CONFIG_SITE in #((
1976 1.9 lukem -*) ac_site_file1=./$CONFIG_SITE;;
1977 1.9 lukem */*) ac_site_file1=$CONFIG_SITE;;
1978 1.9 lukem *) ac_site_file1=./$CONFIG_SITE;;
1979 1.9 lukem esac
1980 1.9 lukem elif test "x$prefix" != xNONE; then
1981 1.9 lukem ac_site_file1=$prefix/share/config.site
1982 1.9 lukem ac_site_file2=$prefix/etc/config.site
1983 1.9 lukem else
1984 1.9 lukem ac_site_file1=$ac_default_prefix/share/config.site
1985 1.9 lukem ac_site_file2=$ac_default_prefix/etc/config.site
1986 1.1 tv fi
1987 1.9 lukem for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1988 1.9 lukem do
1989 1.9 lukem test "x$ac_site_file" = xNONE && continue
1990 1.9 lukem if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1991 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1992 1.9 lukem $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1993 1.9 lukem sed 's/^/| /' "$ac_site_file" >&5
1994 1.9 lukem . "$ac_site_file" \
1995 1.9 lukem || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1996 1.9 lukem $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1997 1.9 lukem as_fn_error $? "failed to load site script $ac_site_file
1998 1.9 lukem See \`config.log' for more details" "$LINENO" 5; }
1999 1.1 tv fi
2000 1.1 tv done
2001 1.1 tv
2002 1.1 tv if test -r "$cache_file"; then
2003 1.9 lukem # Some versions of bash will fail to source /dev/null (special files
2004 1.9 lukem # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2005 1.9 lukem if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2006 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2007 1.9 lukem $as_echo "$as_me: loading cache $cache_file" >&6;}
2008 1.1 tv case $cache_file in
2009 1.9 lukem [\\/]* | ?:[\\/]* ) . "$cache_file";;
2010 1.9 lukem *) . "./$cache_file";;
2011 1.1 tv esac
2012 1.1 tv fi
2013 1.1 tv else
2014 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2015 1.9 lukem $as_echo "$as_me: creating cache $cache_file" >&6;}
2016 1.1 tv >$cache_file
2017 1.1 tv fi
2018 1.1 tv
2019 1.1 tv # Check that the precious variables saved in the cache have kept the same
2020 1.1 tv # value.
2021 1.1 tv ac_cache_corrupted=false
2022 1.9 lukem for ac_var in $ac_precious_vars; do
2023 1.1 tv eval ac_old_set=\$ac_cv_env_${ac_var}_set
2024 1.1 tv eval ac_new_set=\$ac_env_${ac_var}_set
2025 1.9 lukem eval ac_old_val=\$ac_cv_env_${ac_var}_value
2026 1.9 lukem eval ac_new_val=\$ac_env_${ac_var}_value
2027 1.1 tv case $ac_old_set,$ac_new_set in
2028 1.1 tv set,)
2029 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2030 1.9 lukem $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2031 1.1 tv ac_cache_corrupted=: ;;
2032 1.1 tv ,set)
2033 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2034 1.9 lukem $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2035 1.1 tv ac_cache_corrupted=: ;;
2036 1.1 tv ,);;
2037 1.1 tv *)
2038 1.1 tv if test "x$ac_old_val" != "x$ac_new_val"; then
2039 1.9 lukem # differences in whitespace do not lead to failure.
2040 1.9 lukem ac_old_val_w=`echo x $ac_old_val`
2041 1.9 lukem ac_new_val_w=`echo x $ac_new_val`
2042 1.9 lukem if test "$ac_old_val_w" != "$ac_new_val_w"; then
2043 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2044 1.9 lukem $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2045 1.9 lukem ac_cache_corrupted=:
2046 1.9 lukem else
2047 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2048 1.9 lukem $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2049 1.9 lukem eval $ac_var=\$ac_old_val
2050 1.9 lukem fi
2051 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2052 1.9 lukem $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2053 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2054 1.9 lukem $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2055 1.1 tv fi;;
2056 1.1 tv esac
2057 1.9 lukem # Pass precious variables to config.status.
2058 1.1 tv if test "$ac_new_set" = set; then
2059 1.1 tv case $ac_new_val in
2060 1.9 lukem *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2061 1.9 lukem *) ac_arg=$ac_var=$ac_new_val ;;
2062 1.9 lukem esac
2063 1.9 lukem case " $ac_configure_args " in
2064 1.9 lukem *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2065 1.9 lukem *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2066 1.1 tv esac
2067 1.1 tv fi
2068 1.1 tv done
2069 1.1 tv if $ac_cache_corrupted; then
2070 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2071 1.9 lukem $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2072 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2073 1.9 lukem $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2074 1.9 lukem as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2075 1.9 lukem fi
2076 1.9 lukem ## -------------------- ##
2077 1.9 lukem ## Main body of script. ##
2078 1.9 lukem ## -------------------- ##
2079 1.1 tv
2080 1.1 tv ac_ext=c
2081 1.1 tv ac_cpp='$CPP $CPPFLAGS'
2082 1.1 tv ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2083 1.1 tv ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2084 1.1 tv ac_compiler_gnu=$ac_cv_c_compiler_gnu
2085 1.1 tv
2086 1.1 tv
2087 1.1 tv ac_config_files="$ac_config_files buildmake.sh"
2088 1.1 tv
2089 1.9 lukem
2090 1.9 lukem
2091 1.9 lukem
2092 1.9 lukem
2093 1.3 bjh21 # Extract the first word of "sh", so it can be a program name with args.
2094 1.3 bjh21 set dummy sh; ac_word=$2
2095 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2096 1.9 lukem $as_echo_n "checking for $ac_word... " >&6; }
2097 1.9 lukem if ${ac_cv_path_BSHELL+:} false; then :
2098 1.9 lukem $as_echo_n "(cached) " >&6
2099 1.3 bjh21 else
2100 1.3 bjh21 case $BSHELL in
2101 1.3 bjh21 [\\/]* | ?:[\\/]*)
2102 1.3 bjh21 ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path.
2103 1.3 bjh21 ;;
2104 1.3 bjh21 *)
2105 1.9 lukem as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2106 1.9 lukem for as_dir in $PATH
2107 1.9 lukem do
2108 1.9 lukem IFS=$as_save_IFS
2109 1.9 lukem test -z "$as_dir" && as_dir=.
2110 1.9 lukem for ac_exec_ext in '' $ac_executable_extensions; do
2111 1.9 lukem if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2112 1.9 lukem ac_cv_path_BSHELL="$as_dir/$ac_word$ac_exec_ext"
2113 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2114 1.9 lukem break 2
2115 1.9 lukem fi
2116 1.3 bjh21 done
2117 1.9 lukem done
2118 1.9 lukem IFS=$as_save_IFS
2119 1.3 bjh21
2120 1.3 bjh21 ;;
2121 1.3 bjh21 esac
2122 1.3 bjh21 fi
2123 1.3 bjh21 BSHELL=$ac_cv_path_BSHELL
2124 1.3 bjh21 if test -n "$BSHELL"; then
2125 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BSHELL" >&5
2126 1.9 lukem $as_echo "$BSHELL" >&6; }
2127 1.3 bjh21 else
2128 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2129 1.9 lukem $as_echo "no" >&6; }
2130 1.3 bjh21 fi
2131 1.3 bjh21
2132 1.9 lukem
2133 1.3 bjh21 if test x"$BSHELL" = x; then
2134 1.9 lukem as_fn_error $? "sh must be somewhere on \$PATH, or BSHELL must be defined" "$LINENO" 5
2135 1.3 bjh21 fi
2136 1.9 lukem cat >>confdefs.h <<_ACEOF
2137 1.8 apb #define DEFSHELL_CUSTOM "${BSHELL}"
2138 1.9 lukem _ACEOF
2139 1.9 lukem
2140 1.3 bjh21
2141 1.1 tv # Make sure we have POSIX regex ability.
2142 1.1 tv ac_ext=c
2143 1.1 tv ac_cpp='$CPP $CPPFLAGS'
2144 1.1 tv ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2145 1.1 tv ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2146 1.1 tv ac_compiler_gnu=$ac_cv_c_compiler_gnu
2147 1.1 tv if test -n "$ac_tool_prefix"; then
2148 1.1 tv # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2149 1.1 tv set dummy ${ac_tool_prefix}gcc; ac_word=$2
2150 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2151 1.9 lukem $as_echo_n "checking for $ac_word... " >&6; }
2152 1.9 lukem if ${ac_cv_prog_CC+:} false; then :
2153 1.9 lukem $as_echo_n "(cached) " >&6
2154 1.1 tv else
2155 1.1 tv if test -n "$CC"; then
2156 1.1 tv ac_cv_prog_CC="$CC" # Let the user override the test.
2157 1.1 tv else
2158 1.9 lukem as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2159 1.9 lukem for as_dir in $PATH
2160 1.9 lukem do
2161 1.9 lukem IFS=$as_save_IFS
2162 1.9 lukem test -z "$as_dir" && as_dir=.
2163 1.9 lukem for ac_exec_ext in '' $ac_executable_extensions; do
2164 1.9 lukem if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2165 1.9 lukem ac_cv_prog_CC="${ac_tool_prefix}gcc"
2166 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2167 1.9 lukem break 2
2168 1.9 lukem fi
2169 1.1 tv done
2170 1.9 lukem done
2171 1.9 lukem IFS=$as_save_IFS
2172 1.1 tv
2173 1.1 tv fi
2174 1.1 tv fi
2175 1.1 tv CC=$ac_cv_prog_CC
2176 1.1 tv if test -n "$CC"; then
2177 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2178 1.9 lukem $as_echo "$CC" >&6; }
2179 1.1 tv else
2180 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2181 1.9 lukem $as_echo "no" >&6; }
2182 1.1 tv fi
2183 1.1 tv
2184 1.9 lukem
2185 1.1 tv fi
2186 1.1 tv if test -z "$ac_cv_prog_CC"; then
2187 1.1 tv ac_ct_CC=$CC
2188 1.1 tv # Extract the first word of "gcc", so it can be a program name with args.
2189 1.1 tv set dummy gcc; ac_word=$2
2190 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2191 1.9 lukem $as_echo_n "checking for $ac_word... " >&6; }
2192 1.9 lukem if ${ac_cv_prog_ac_ct_CC+:} false; then :
2193 1.9 lukem $as_echo_n "(cached) " >&6
2194 1.1 tv else
2195 1.1 tv if test -n "$ac_ct_CC"; then
2196 1.1 tv ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2197 1.1 tv else
2198 1.9 lukem as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199 1.9 lukem for as_dir in $PATH
2200 1.9 lukem do
2201 1.9 lukem IFS=$as_save_IFS
2202 1.9 lukem test -z "$as_dir" && as_dir=.
2203 1.9 lukem for ac_exec_ext in '' $ac_executable_extensions; do
2204 1.9 lukem if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2205 1.9 lukem ac_cv_prog_ac_ct_CC="gcc"
2206 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 1.9 lukem break 2
2208 1.9 lukem fi
2209 1.1 tv done
2210 1.9 lukem done
2211 1.9 lukem IFS=$as_save_IFS
2212 1.1 tv
2213 1.1 tv fi
2214 1.1 tv fi
2215 1.1 tv ac_ct_CC=$ac_cv_prog_ac_ct_CC
2216 1.1 tv if test -n "$ac_ct_CC"; then
2217 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2218 1.9 lukem $as_echo "$ac_ct_CC" >&6; }
2219 1.1 tv else
2220 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2221 1.9 lukem $as_echo "no" >&6; }
2222 1.1 tv fi
2223 1.1 tv
2224 1.9 lukem if test "x$ac_ct_CC" = x; then
2225 1.9 lukem CC=""
2226 1.9 lukem else
2227 1.9 lukem case $cross_compiling:$ac_tool_warned in
2228 1.9 lukem yes:)
2229 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2230 1.9 lukem $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2231 1.9 lukem ac_tool_warned=yes ;;
2232 1.9 lukem esac
2233 1.9 lukem CC=$ac_ct_CC
2234 1.9 lukem fi
2235 1.1 tv else
2236 1.1 tv CC="$ac_cv_prog_CC"
2237 1.1 tv fi
2238 1.1 tv
2239 1.1 tv if test -z "$CC"; then
2240 1.9 lukem if test -n "$ac_tool_prefix"; then
2241 1.9 lukem # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2242 1.1 tv set dummy ${ac_tool_prefix}cc; ac_word=$2
2243 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2244 1.9 lukem $as_echo_n "checking for $ac_word... " >&6; }
2245 1.9 lukem if ${ac_cv_prog_CC+:} false; then :
2246 1.9 lukem $as_echo_n "(cached) " >&6
2247 1.1 tv else
2248 1.1 tv if test -n "$CC"; then
2249 1.1 tv ac_cv_prog_CC="$CC" # Let the user override the test.
2250 1.1 tv else
2251 1.9 lukem as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252 1.9 lukem for as_dir in $PATH
2253 1.9 lukem do
2254 1.9 lukem IFS=$as_save_IFS
2255 1.9 lukem test -z "$as_dir" && as_dir=.
2256 1.9 lukem for ac_exec_ext in '' $ac_executable_extensions; do
2257 1.9 lukem if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2258 1.9 lukem ac_cv_prog_CC="${ac_tool_prefix}cc"
2259 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2260 1.9 lukem break 2
2261 1.9 lukem fi
2262 1.1 tv done
2263 1.9 lukem done
2264 1.9 lukem IFS=$as_save_IFS
2265 1.1 tv
2266 1.1 tv fi
2267 1.1 tv fi
2268 1.1 tv CC=$ac_cv_prog_CC
2269 1.1 tv if test -n "$CC"; then
2270 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2271 1.9 lukem $as_echo "$CC" >&6; }
2272 1.1 tv else
2273 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2274 1.9 lukem $as_echo "no" >&6; }
2275 1.1 tv fi
2276 1.1 tv
2277 1.1 tv
2278 1.9 lukem fi
2279 1.1 tv fi
2280 1.1 tv if test -z "$CC"; then
2281 1.1 tv # Extract the first word of "cc", so it can be a program name with args.
2282 1.1 tv set dummy cc; ac_word=$2
2283 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2284 1.9 lukem $as_echo_n "checking for $ac_word... " >&6; }
2285 1.9 lukem if ${ac_cv_prog_CC+:} false; then :
2286 1.9 lukem $as_echo_n "(cached) " >&6
2287 1.1 tv else
2288 1.1 tv if test -n "$CC"; then
2289 1.1 tv ac_cv_prog_CC="$CC" # Let the user override the test.
2290 1.1 tv else
2291 1.1 tv ac_prog_rejected=no
2292 1.9 lukem as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293 1.9 lukem for as_dir in $PATH
2294 1.9 lukem do
2295 1.9 lukem IFS=$as_save_IFS
2296 1.9 lukem test -z "$as_dir" && as_dir=.
2297 1.9 lukem for ac_exec_ext in '' $ac_executable_extensions; do
2298 1.9 lukem if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2299 1.9 lukem if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2300 1.9 lukem ac_prog_rejected=yes
2301 1.9 lukem continue
2302 1.9 lukem fi
2303 1.9 lukem ac_cv_prog_CC="cc"
2304 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2305 1.9 lukem break 2
2306 1.9 lukem fi
2307 1.1 tv done
2308 1.9 lukem done
2309 1.9 lukem IFS=$as_save_IFS
2310 1.1 tv
2311 1.1 tv if test $ac_prog_rejected = yes; then
2312 1.1 tv # We found a bogon in the path, so make sure we never use it.
2313 1.1 tv set dummy $ac_cv_prog_CC
2314 1.1 tv shift
2315 1.1 tv if test $# != 0; then
2316 1.1 tv # We chose a different compiler from the bogus one.
2317 1.1 tv # However, it has the same basename, so the bogon will be chosen
2318 1.1 tv # first if we set CC to just the basename; use the full file name.
2319 1.1 tv shift
2320 1.9 lukem ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2321 1.1 tv fi
2322 1.1 tv fi
2323 1.1 tv fi
2324 1.1 tv fi
2325 1.1 tv CC=$ac_cv_prog_CC
2326 1.1 tv if test -n "$CC"; then
2327 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2328 1.9 lukem $as_echo "$CC" >&6; }
2329 1.1 tv else
2330 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2331 1.9 lukem $as_echo "no" >&6; }
2332 1.1 tv fi
2333 1.1 tv
2334 1.9 lukem
2335 1.1 tv fi
2336 1.1 tv if test -z "$CC"; then
2337 1.1 tv if test -n "$ac_tool_prefix"; then
2338 1.9 lukem for ac_prog in cl.exe
2339 1.1 tv do
2340 1.1 tv # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2341 1.1 tv set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2342 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2343 1.9 lukem $as_echo_n "checking for $ac_word... " >&6; }
2344 1.9 lukem if ${ac_cv_prog_CC+:} false; then :
2345 1.9 lukem $as_echo_n "(cached) " >&6
2346 1.1 tv else
2347 1.1 tv if test -n "$CC"; then
2348 1.1 tv ac_cv_prog_CC="$CC" # Let the user override the test.
2349 1.1 tv else
2350 1.9 lukem as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351 1.9 lukem for as_dir in $PATH
2352 1.9 lukem do
2353 1.9 lukem IFS=$as_save_IFS
2354 1.9 lukem test -z "$as_dir" && as_dir=.
2355 1.9 lukem for ac_exec_ext in '' $ac_executable_extensions; do
2356 1.9 lukem if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2357 1.9 lukem ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2358 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 1.9 lukem break 2
2360 1.9 lukem fi
2361 1.1 tv done
2362 1.9 lukem done
2363 1.9 lukem IFS=$as_save_IFS
2364 1.1 tv
2365 1.1 tv fi
2366 1.1 tv fi
2367 1.1 tv CC=$ac_cv_prog_CC
2368 1.1 tv if test -n "$CC"; then
2369 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2370 1.9 lukem $as_echo "$CC" >&6; }
2371 1.1 tv else
2372 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2373 1.9 lukem $as_echo "no" >&6; }
2374 1.1 tv fi
2375 1.1 tv
2376 1.9 lukem
2377 1.1 tv test -n "$CC" && break
2378 1.1 tv done
2379 1.1 tv fi
2380 1.1 tv if test -z "$CC"; then
2381 1.1 tv ac_ct_CC=$CC
2382 1.9 lukem for ac_prog in cl.exe
2383 1.1 tv do
2384 1.1 tv # Extract the first word of "$ac_prog", so it can be a program name with args.
2385 1.1 tv set dummy $ac_prog; ac_word=$2
2386 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2387 1.9 lukem $as_echo_n "checking for $ac_word... " >&6; }
2388 1.9 lukem if ${ac_cv_prog_ac_ct_CC+:} false; then :
2389 1.9 lukem $as_echo_n "(cached) " >&6
2390 1.1 tv else
2391 1.1 tv if test -n "$ac_ct_CC"; then
2392 1.1 tv ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2393 1.1 tv else
2394 1.9 lukem as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2395 1.9 lukem for as_dir in $PATH
2396 1.9 lukem do
2397 1.9 lukem IFS=$as_save_IFS
2398 1.9 lukem test -z "$as_dir" && as_dir=.
2399 1.9 lukem for ac_exec_ext in '' $ac_executable_extensions; do
2400 1.9 lukem if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2401 1.9 lukem ac_cv_prog_ac_ct_CC="$ac_prog"
2402 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 1.9 lukem break 2
2404 1.9 lukem fi
2405 1.1 tv done
2406 1.9 lukem done
2407 1.9 lukem IFS=$as_save_IFS
2408 1.1 tv
2409 1.1 tv fi
2410 1.1 tv fi
2411 1.1 tv ac_ct_CC=$ac_cv_prog_ac_ct_CC
2412 1.1 tv if test -n "$ac_ct_CC"; then
2413 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2414 1.9 lukem $as_echo "$ac_ct_CC" >&6; }
2415 1.1 tv else
2416 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2417 1.9 lukem $as_echo "no" >&6; }
2418 1.1 tv fi
2419 1.1 tv
2420 1.9 lukem
2421 1.1 tv test -n "$ac_ct_CC" && break
2422 1.1 tv done
2423 1.1 tv
2424 1.9 lukem if test "x$ac_ct_CC" = x; then
2425 1.9 lukem CC=""
2426 1.9 lukem else
2427 1.9 lukem case $cross_compiling:$ac_tool_warned in
2428 1.9 lukem yes:)
2429 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2430 1.9 lukem $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2431 1.9 lukem ac_tool_warned=yes ;;
2432 1.9 lukem esac
2433 1.9 lukem CC=$ac_ct_CC
2434 1.9 lukem fi
2435 1.1 tv fi
2436 1.1 tv
2437 1.1 tv fi
2438 1.1 tv
2439 1.9 lukem
2440 1.9 lukem test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2441 1.9 lukem $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2442 1.9 lukem as_fn_error $? "no acceptable C compiler found in \$PATH
2443 1.9 lukem See \`config.log' for more details" "$LINENO" 5; }
2444 1.1 tv
2445 1.1 tv # Provide some information about the compiler.
2446 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2447 1.9 lukem set X $ac_compile
2448 1.9 lukem ac_compiler=$2
2449 1.9 lukem for ac_option in --version -v -V -qversion; do
2450 1.9 lukem { { ac_try="$ac_compiler $ac_option >&5"
2451 1.9 lukem case "(($ac_try" in
2452 1.9 lukem *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2453 1.9 lukem *) ac_try_echo=$ac_try;;
2454 1.9 lukem esac
2455 1.9 lukem eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2456 1.9 lukem $as_echo "$ac_try_echo"; } >&5
2457 1.9 lukem (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2458 1.1 tv ac_status=$?
2459 1.9 lukem if test -s conftest.err; then
2460 1.9 lukem sed '10a\
2461 1.9 lukem ... rest of stderr output deleted ...
2462 1.9 lukem 10q' conftest.err >conftest.er1
2463 1.9 lukem cat conftest.er1 >&5
2464 1.9 lukem fi
2465 1.9 lukem rm -f conftest.er1 conftest.err
2466 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2467 1.9 lukem test $ac_status = 0; }
2468 1.9 lukem done
2469 1.1 tv
2470 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2471 1.9 lukem /* end confdefs.h. */
2472 1.1 tv
2473 1.1 tv int
2474 1.1 tv main ()
2475 1.1 tv {
2476 1.1 tv
2477 1.1 tv ;
2478 1.1 tv return 0;
2479 1.1 tv }
2480 1.1 tv _ACEOF
2481 1.1 tv ac_clean_files_save=$ac_clean_files
2482 1.9 lukem ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2483 1.1 tv # Try to create an executable without -o first, disregard a.out.
2484 1.1 tv # It will help us diagnose broken compilers, and finding out an intuition
2485 1.1 tv # of exeext.
2486 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2487 1.9 lukem $as_echo_n "checking whether the C compiler works... " >&6; }
2488 1.9 lukem ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2489 1.9 lukem
2490 1.9 lukem # The possible output files:
2491 1.9 lukem ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2492 1.9 lukem
2493 1.9 lukem ac_rmfiles=
2494 1.9 lukem for ac_file in $ac_files
2495 1.9 lukem do
2496 1.9 lukem case $ac_file in
2497 1.9 lukem *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2498 1.9 lukem * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2499 1.9 lukem esac
2500 1.9 lukem done
2501 1.9 lukem rm -f $ac_rmfiles
2502 1.9 lukem
2503 1.9 lukem if { { ac_try="$ac_link_default"
2504 1.9 lukem case "(($ac_try" in
2505 1.9 lukem *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2506 1.9 lukem *) ac_try_echo=$ac_try;;
2507 1.9 lukem esac
2508 1.9 lukem eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2509 1.9 lukem $as_echo "$ac_try_echo"; } >&5
2510 1.9 lukem (eval "$ac_link_default") 2>&5
2511 1.1 tv ac_status=$?
2512 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2513 1.9 lukem test $ac_status = 0; }; then :
2514 1.9 lukem # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2515 1.9 lukem # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2516 1.9 lukem # in a Makefile. We should not override ac_cv_exeext if it was cached,
2517 1.9 lukem # so that the user can short-circuit this test for compilers unknown to
2518 1.9 lukem # Autoconf.
2519 1.9 lukem for ac_file in $ac_files ''
2520 1.9 lukem do
2521 1.9 lukem test -f "$ac_file" || continue
2522 1.1 tv case $ac_file in
2523 1.9 lukem *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2524 1.9 lukem ;;
2525 1.9 lukem [ab].out )
2526 1.9 lukem # We found the default executable, but exeext='' is most
2527 1.9 lukem # certainly right.
2528 1.9 lukem break;;
2529 1.9 lukem *.* )
2530 1.9 lukem if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2531 1.9 lukem then :; else
2532 1.9 lukem ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2533 1.9 lukem fi
2534 1.9 lukem # We set ac_cv_exeext here because the later test for it is not
2535 1.9 lukem # safe: cross compilers may not add the suffix if given an `-o'
2536 1.9 lukem # argument, so we may need to know it at that point already.
2537 1.9 lukem # Even if this section looks crufty: it has the advantage of
2538 1.9 lukem # actually working.
2539 1.9 lukem break;;
2540 1.9 lukem * )
2541 1.9 lukem break;;
2542 1.1 tv esac
2543 1.1 tv done
2544 1.9 lukem test "$ac_cv_exeext" = no && ac_cv_exeext=
2545 1.9 lukem
2546 1.1 tv else
2547 1.9 lukem ac_file=''
2548 1.1 tv fi
2549 1.9 lukem if test -z "$ac_file"; then :
2550 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2551 1.9 lukem $as_echo "no" >&6; }
2552 1.9 lukem $as_echo "$as_me: failed program was:" >&5
2553 1.9 lukem sed 's/^/| /' conftest.$ac_ext >&5
2554 1.1 tv
2555 1.9 lukem { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2556 1.9 lukem $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2557 1.9 lukem as_fn_error 77 "C compiler cannot create executables
2558 1.9 lukem See \`config.log' for more details" "$LINENO" 5; }
2559 1.9 lukem else
2560 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2561 1.9 lukem $as_echo "yes" >&6; }
2562 1.9 lukem fi
2563 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2564 1.9 lukem $as_echo_n "checking for C compiler default output file name... " >&6; }
2565 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2566 1.9 lukem $as_echo "$ac_file" >&6; }
2567 1.1 tv ac_exeext=$ac_cv_exeext
2568 1.1 tv
2569 1.9 lukem rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2570 1.1 tv ac_clean_files=$ac_clean_files_save
2571 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2572 1.9 lukem $as_echo_n "checking for suffix of executables... " >&6; }
2573 1.9 lukem if { { ac_try="$ac_link"
2574 1.9 lukem case "(($ac_try" in
2575 1.9 lukem *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2576 1.9 lukem *) ac_try_echo=$ac_try;;
2577 1.9 lukem esac
2578 1.9 lukem eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2579 1.9 lukem $as_echo "$ac_try_echo"; } >&5
2580 1.9 lukem (eval "$ac_link") 2>&5
2581 1.1 tv ac_status=$?
2582 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2583 1.9 lukem test $ac_status = 0; }; then :
2584 1.1 tv # If both `conftest.exe' and `conftest' are `present' (well, observable)
2585 1.1 tv # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2586 1.1 tv # work properly (i.e., refer to `conftest.exe'), while it won't with
2587 1.1 tv # `rm'.
2588 1.9 lukem for ac_file in conftest.exe conftest conftest.*; do
2589 1.9 lukem test -f "$ac_file" || continue
2590 1.1 tv case $ac_file in
2591 1.9 lukem *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2592 1.1 tv *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2593 1.9 lukem break;;
2594 1.1 tv * ) break;;
2595 1.1 tv esac
2596 1.1 tv done
2597 1.1 tv else
2598 1.9 lukem { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2599 1.9 lukem $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2600 1.9 lukem as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2601 1.9 lukem See \`config.log' for more details" "$LINENO" 5; }
2602 1.9 lukem fi
2603 1.9 lukem rm -f conftest conftest$ac_cv_exeext
2604 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2605 1.9 lukem $as_echo "$ac_cv_exeext" >&6; }
2606 1.1 tv
2607 1.1 tv rm -f conftest.$ac_ext
2608 1.1 tv EXEEXT=$ac_cv_exeext
2609 1.1 tv ac_exeext=$EXEEXT
2610 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2611 1.9 lukem /* end confdefs.h. */
2612 1.9 lukem #include <stdio.h>
2613 1.9 lukem int
2614 1.9 lukem main ()
2615 1.9 lukem {
2616 1.9 lukem FILE *f = fopen ("conftest.out", "w");
2617 1.9 lukem return ferror (f) || fclose (f) != 0;
2618 1.9 lukem
2619 1.9 lukem ;
2620 1.9 lukem return 0;
2621 1.9 lukem }
2622 1.9 lukem _ACEOF
2623 1.9 lukem ac_clean_files="$ac_clean_files conftest.out"
2624 1.9 lukem # Check that the compiler produces executables we can run. If not, either
2625 1.9 lukem # the compiler is broken, or we cross compile.
2626 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2627 1.9 lukem $as_echo_n "checking whether we are cross compiling... " >&6; }
2628 1.9 lukem if test "$cross_compiling" != yes; then
2629 1.9 lukem { { ac_try="$ac_link"
2630 1.9 lukem case "(($ac_try" in
2631 1.9 lukem *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2632 1.9 lukem *) ac_try_echo=$ac_try;;
2633 1.9 lukem esac
2634 1.9 lukem eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2635 1.9 lukem $as_echo "$ac_try_echo"; } >&5
2636 1.9 lukem (eval "$ac_link") 2>&5
2637 1.9 lukem ac_status=$?
2638 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2639 1.9 lukem test $ac_status = 0; }
2640 1.9 lukem if { ac_try='./conftest$ac_cv_exeext'
2641 1.9 lukem { { case "(($ac_try" in
2642 1.9 lukem *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2643 1.9 lukem *) ac_try_echo=$ac_try;;
2644 1.9 lukem esac
2645 1.9 lukem eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2646 1.9 lukem $as_echo "$ac_try_echo"; } >&5
2647 1.9 lukem (eval "$ac_try") 2>&5
2648 1.9 lukem ac_status=$?
2649 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2650 1.9 lukem test $ac_status = 0; }; }; then
2651 1.9 lukem cross_compiling=no
2652 1.9 lukem else
2653 1.9 lukem if test "$cross_compiling" = maybe; then
2654 1.9 lukem cross_compiling=yes
2655 1.9 lukem else
2656 1.9 lukem { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2657 1.9 lukem $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2658 1.9 lukem as_fn_error $? "cannot run C compiled programs.
2659 1.9 lukem If you meant to cross compile, use \`--host'.
2660 1.9 lukem See \`config.log' for more details" "$LINENO" 5; }
2661 1.9 lukem fi
2662 1.9 lukem fi
2663 1.9 lukem fi
2664 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2665 1.9 lukem $as_echo "$cross_compiling" >&6; }
2666 1.9 lukem
2667 1.9 lukem rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2668 1.9 lukem ac_clean_files=$ac_clean_files_save
2669 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2670 1.9 lukem $as_echo_n "checking for suffix of object files... " >&6; }
2671 1.9 lukem if ${ac_cv_objext+:} false; then :
2672 1.9 lukem $as_echo_n "(cached) " >&6
2673 1.9 lukem else
2674 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2675 1.9 lukem /* end confdefs.h. */
2676 1.1 tv
2677 1.1 tv int
2678 1.1 tv main ()
2679 1.1 tv {
2680 1.1 tv
2681 1.1 tv ;
2682 1.1 tv return 0;
2683 1.1 tv }
2684 1.1 tv _ACEOF
2685 1.1 tv rm -f conftest.o conftest.obj
2686 1.9 lukem if { { ac_try="$ac_compile"
2687 1.9 lukem case "(($ac_try" in
2688 1.9 lukem *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2689 1.9 lukem *) ac_try_echo=$ac_try;;
2690 1.9 lukem esac
2691 1.9 lukem eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2692 1.9 lukem $as_echo "$ac_try_echo"; } >&5
2693 1.9 lukem (eval "$ac_compile") 2>&5
2694 1.1 tv ac_status=$?
2695 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2696 1.9 lukem test $ac_status = 0; }; then :
2697 1.9 lukem for ac_file in conftest.o conftest.obj conftest.*; do
2698 1.9 lukem test -f "$ac_file" || continue;
2699 1.1 tv case $ac_file in
2700 1.9 lukem *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2701 1.1 tv *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2702 1.1 tv break;;
2703 1.1 tv esac
2704 1.1 tv done
2705 1.1 tv else
2706 1.9 lukem $as_echo "$as_me: failed program was:" >&5
2707 1.9 lukem sed 's/^/| /' conftest.$ac_ext >&5
2708 1.9 lukem
2709 1.9 lukem { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2710 1.9 lukem $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2711 1.9 lukem as_fn_error $? "cannot compute suffix of object files: cannot compile
2712 1.9 lukem See \`config.log' for more details" "$LINENO" 5; }
2713 1.1 tv fi
2714 1.1 tv rm -f conftest.$ac_cv_objext conftest.$ac_ext
2715 1.1 tv fi
2716 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2717 1.9 lukem $as_echo "$ac_cv_objext" >&6; }
2718 1.1 tv OBJEXT=$ac_cv_objext
2719 1.1 tv ac_objext=$OBJEXT
2720 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2721 1.9 lukem $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2722 1.9 lukem if ${ac_cv_c_compiler_gnu+:} false; then :
2723 1.9 lukem $as_echo_n "(cached) " >&6
2724 1.9 lukem else
2725 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2726 1.9 lukem /* end confdefs.h. */
2727 1.1 tv
2728 1.1 tv int
2729 1.1 tv main ()
2730 1.1 tv {
2731 1.1 tv #ifndef __GNUC__
2732 1.1 tv choke me
2733 1.1 tv #endif
2734 1.1 tv
2735 1.1 tv ;
2736 1.1 tv return 0;
2737 1.1 tv }
2738 1.1 tv _ACEOF
2739 1.9 lukem if ac_fn_c_try_compile "$LINENO"; then :
2740 1.1 tv ac_compiler_gnu=yes
2741 1.1 tv else
2742 1.9 lukem ac_compiler_gnu=no
2743 1.1 tv fi
2744 1.9 lukem rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2745 1.1 tv ac_cv_c_compiler_gnu=$ac_compiler_gnu
2746 1.1 tv
2747 1.1 tv fi
2748 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2749 1.9 lukem $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2750 1.9 lukem if test $ac_compiler_gnu = yes; then
2751 1.9 lukem GCC=yes
2752 1.9 lukem else
2753 1.9 lukem GCC=
2754 1.9 lukem fi
2755 1.1 tv ac_test_CFLAGS=${CFLAGS+set}
2756 1.1 tv ac_save_CFLAGS=$CFLAGS
2757 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2758 1.9 lukem $as_echo_n "checking whether $CC accepts -g... " >&6; }
2759 1.9 lukem if ${ac_cv_prog_cc_g+:} false; then :
2760 1.9 lukem $as_echo_n "(cached) " >&6
2761 1.9 lukem else
2762 1.9 lukem ac_save_c_werror_flag=$ac_c_werror_flag
2763 1.9 lukem ac_c_werror_flag=yes
2764 1.9 lukem ac_cv_prog_cc_g=no
2765 1.9 lukem CFLAGS="-g"
2766 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2767 1.9 lukem /* end confdefs.h. */
2768 1.1 tv
2769 1.1 tv int
2770 1.1 tv main ()
2771 1.1 tv {
2772 1.1 tv
2773 1.1 tv ;
2774 1.1 tv return 0;
2775 1.1 tv }
2776 1.1 tv _ACEOF
2777 1.9 lukem if ac_fn_c_try_compile "$LINENO"; then :
2778 1.1 tv ac_cv_prog_cc_g=yes
2779 1.1 tv else
2780 1.9 lukem CFLAGS=""
2781 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2782 1.9 lukem /* end confdefs.h. */
2783 1.9 lukem
2784 1.9 lukem int
2785 1.9 lukem main ()
2786 1.9 lukem {
2787 1.9 lukem
2788 1.9 lukem ;
2789 1.9 lukem return 0;
2790 1.9 lukem }
2791 1.9 lukem _ACEOF
2792 1.9 lukem if ac_fn_c_try_compile "$LINENO"; then :
2793 1.9 lukem
2794 1.9 lukem else
2795 1.9 lukem ac_c_werror_flag=$ac_save_c_werror_flag
2796 1.9 lukem CFLAGS="-g"
2797 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2798 1.9 lukem /* end confdefs.h. */
2799 1.9 lukem
2800 1.9 lukem int
2801 1.9 lukem main ()
2802 1.9 lukem {
2803 1.9 lukem
2804 1.9 lukem ;
2805 1.9 lukem return 0;
2806 1.9 lukem }
2807 1.9 lukem _ACEOF
2808 1.9 lukem if ac_fn_c_try_compile "$LINENO"; then :
2809 1.9 lukem ac_cv_prog_cc_g=yes
2810 1.9 lukem fi
2811 1.9 lukem rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2812 1.1 tv fi
2813 1.9 lukem rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 1.1 tv fi
2815 1.9 lukem rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 1.9 lukem ac_c_werror_flag=$ac_save_c_werror_flag
2817 1.9 lukem fi
2818 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2819 1.9 lukem $as_echo "$ac_cv_prog_cc_g" >&6; }
2820 1.1 tv if test "$ac_test_CFLAGS" = set; then
2821 1.1 tv CFLAGS=$ac_save_CFLAGS
2822 1.1 tv elif test $ac_cv_prog_cc_g = yes; then
2823 1.1 tv if test "$GCC" = yes; then
2824 1.1 tv CFLAGS="-g -O2"
2825 1.1 tv else
2826 1.1 tv CFLAGS="-g"
2827 1.1 tv fi
2828 1.1 tv else
2829 1.1 tv if test "$GCC" = yes; then
2830 1.1 tv CFLAGS="-O2"
2831 1.1 tv else
2832 1.1 tv CFLAGS=
2833 1.1 tv fi
2834 1.1 tv fi
2835 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2836 1.9 lukem $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2837 1.9 lukem if ${ac_cv_prog_cc_c89+:} false; then :
2838 1.9 lukem $as_echo_n "(cached) " >&6
2839 1.9 lukem else
2840 1.9 lukem ac_cv_prog_cc_c89=no
2841 1.9 lukem ac_save_CC=$CC
2842 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2843 1.9 lukem /* end confdefs.h. */
2844 1.9 lukem #include <stdarg.h>
2845 1.9 lukem #include <stdio.h>
2846 1.9 lukem struct stat;
2847 1.9 lukem /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2848 1.9 lukem struct buf { int x; };
2849 1.9 lukem FILE * (*rcsopen) (struct buf *, struct stat *, int);
2850 1.9 lukem static char *e (p, i)
2851 1.9 lukem char **p;
2852 1.9 lukem int i;
2853 1.9 lukem {
2854 1.9 lukem return p[i];
2855 1.9 lukem }
2856 1.9 lukem static char *f (char * (*g) (char **, int), char **p, ...)
2857 1.1 tv {
2858 1.9 lukem char *s;
2859 1.9 lukem va_list v;
2860 1.9 lukem va_start (v,p);
2861 1.9 lukem s = g (p, va_arg (v,int));
2862 1.9 lukem va_end (v);
2863 1.9 lukem return s;
2864 1.1 tv }
2865 1.9 lukem
2866 1.9 lukem /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2867 1.9 lukem function prototypes and stuff, but not '\xHH' hex character constants.
2868 1.9 lukem These don't provoke an error unfortunately, instead are silently treated
2869 1.9 lukem as 'x'. The following induces an error, until -std is added to get
2870 1.9 lukem proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2871 1.9 lukem array size at least. It's necessary to write '\x00'==0 to get something
2872 1.9 lukem that's true only with -std. */
2873 1.9 lukem int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2874 1.9 lukem
2875 1.9 lukem /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2876 1.9 lukem inside strings and character constants. */
2877 1.9 lukem #define FOO(x) 'x'
2878 1.9 lukem int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2879 1.9 lukem
2880 1.9 lukem int test (int i, double x);
2881 1.9 lukem struct s1 {int (*f) (int a);};
2882 1.9 lukem struct s2 {int (*f) (double a);};
2883 1.9 lukem int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2884 1.9 lukem int argc;
2885 1.9 lukem char **argv;
2886 1.1 tv int
2887 1.1 tv main ()
2888 1.1 tv {
2889 1.9 lukem return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2890 1.1 tv ;
2891 1.1 tv return 0;
2892 1.1 tv }
2893 1.1 tv _ACEOF
2894 1.9 lukem for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2895 1.9 lukem -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2896 1.9 lukem do
2897 1.9 lukem CC="$ac_save_CC $ac_arg"
2898 1.9 lukem if ac_fn_c_try_compile "$LINENO"; then :
2899 1.9 lukem ac_cv_prog_cc_c89=$ac_arg
2900 1.1 tv fi
2901 1.9 lukem rm -f core conftest.err conftest.$ac_objext
2902 1.9 lukem test "x$ac_cv_prog_cc_c89" != "xno" && break
2903 1.1 tv done
2904 1.9 lukem rm -f conftest.$ac_ext
2905 1.9 lukem CC=$ac_save_CC
2906 1.9 lukem
2907 1.1 tv fi
2908 1.9 lukem # AC_CACHE_VAL
2909 1.9 lukem case "x$ac_cv_prog_cc_c89" in
2910 1.9 lukem x)
2911 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2912 1.9 lukem $as_echo "none needed" >&6; } ;;
2913 1.9 lukem xno)
2914 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2915 1.9 lukem $as_echo "unsupported" >&6; } ;;
2916 1.9 lukem *)
2917 1.9 lukem CC="$CC $ac_cv_prog_cc_c89"
2918 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2919 1.9 lukem $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2920 1.9 lukem esac
2921 1.9 lukem if test "x$ac_cv_prog_cc_c89" != xno; then :
2922 1.1 tv
2923 1.1 tv fi
2924 1.9 lukem
2925 1.1 tv ac_ext=c
2926 1.1 tv ac_cpp='$CPP $CPPFLAGS'
2927 1.1 tv ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2928 1.1 tv ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2929 1.1 tv ac_compiler_gnu=$ac_cv_c_compiler_gnu
2930 1.1 tv
2931 1.9 lukem
2932 1.1 tv ac_ext=c
2933 1.1 tv ac_cpp='$CPP $CPPFLAGS'
2934 1.1 tv ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2935 1.1 tv ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2936 1.1 tv ac_compiler_gnu=$ac_cv_c_compiler_gnu
2937 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2938 1.9 lukem $as_echo_n "checking how to run the C preprocessor... " >&6; }
2939 1.1 tv # On Suns, sometimes $CPP names a directory.
2940 1.1 tv if test -n "$CPP" && test -d "$CPP"; then
2941 1.1 tv CPP=
2942 1.1 tv fi
2943 1.1 tv if test -z "$CPP"; then
2944 1.9 lukem if ${ac_cv_prog_CPP+:} false; then :
2945 1.9 lukem $as_echo_n "(cached) " >&6
2946 1.1 tv else
2947 1.1 tv # Double quotes because CPP needs to be expanded
2948 1.1 tv for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2949 1.1 tv do
2950 1.1 tv ac_preproc_ok=false
2951 1.1 tv for ac_c_preproc_warn_flag in '' yes
2952 1.1 tv do
2953 1.1 tv # Use a header file that comes with gcc, so configuring glibc
2954 1.1 tv # with a fresh cross-compiler works.
2955 1.9 lukem # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2956 1.9 lukem # <limits.h> exists even on freestanding compilers.
2957 1.1 tv # On the NeXT, cc -E runs the code through the compiler's parser,
2958 1.1 tv # not just through cpp. "Syntax error" is here to catch this case.
2959 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2960 1.9 lukem /* end confdefs.h. */
2961 1.9 lukem #ifdef __STDC__
2962 1.9 lukem # include <limits.h>
2963 1.9 lukem #else
2964 1.9 lukem # include <assert.h>
2965 1.9 lukem #endif
2966 1.9 lukem Syntax error
2967 1.1 tv _ACEOF
2968 1.9 lukem if ac_fn_c_try_cpp "$LINENO"; then :
2969 1.9 lukem
2970 1.1 tv else
2971 1.1 tv # Broken: fails on valid input.
2972 1.1 tv continue
2973 1.1 tv fi
2974 1.9 lukem rm -f conftest.err conftest.i conftest.$ac_ext
2975 1.1 tv
2976 1.9 lukem # OK, works on sane cases. Now check whether nonexistent headers
2977 1.1 tv # can be detected and how.
2978 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2979 1.9 lukem /* end confdefs.h. */
2980 1.1 tv #include <ac_nonexistent.h>
2981 1.1 tv _ACEOF
2982 1.9 lukem if ac_fn_c_try_cpp "$LINENO"; then :
2983 1.9 lukem # Broken: success on invalid input.
2984 1.1 tv continue
2985 1.1 tv else
2986 1.1 tv # Passes both tests.
2987 1.1 tv ac_preproc_ok=:
2988 1.1 tv break
2989 1.1 tv fi
2990 1.9 lukem rm -f conftest.err conftest.i conftest.$ac_ext
2991 1.1 tv
2992 1.1 tv done
2993 1.1 tv # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2994 1.9 lukem rm -f conftest.i conftest.err conftest.$ac_ext
2995 1.9 lukem if $ac_preproc_ok; then :
2996 1.1 tv break
2997 1.1 tv fi
2998 1.1 tv
2999 1.1 tv done
3000 1.1 tv ac_cv_prog_CPP=$CPP
3001 1.1 tv
3002 1.1 tv fi
3003 1.1 tv CPP=$ac_cv_prog_CPP
3004 1.1 tv else
3005 1.1 tv ac_cv_prog_CPP=$CPP
3006 1.1 tv fi
3007 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3008 1.9 lukem $as_echo "$CPP" >&6; }
3009 1.1 tv ac_preproc_ok=false
3010 1.1 tv for ac_c_preproc_warn_flag in '' yes
3011 1.1 tv do
3012 1.1 tv # Use a header file that comes with gcc, so configuring glibc
3013 1.1 tv # with a fresh cross-compiler works.
3014 1.9 lukem # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3015 1.9 lukem # <limits.h> exists even on freestanding compilers.
3016 1.1 tv # On the NeXT, cc -E runs the code through the compiler's parser,
3017 1.1 tv # not just through cpp. "Syntax error" is here to catch this case.
3018 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3019 1.9 lukem /* end confdefs.h. */
3020 1.9 lukem #ifdef __STDC__
3021 1.9 lukem # include <limits.h>
3022 1.9 lukem #else
3023 1.9 lukem # include <assert.h>
3024 1.9 lukem #endif
3025 1.9 lukem Syntax error
3026 1.1 tv _ACEOF
3027 1.9 lukem if ac_fn_c_try_cpp "$LINENO"; then :
3028 1.9 lukem
3029 1.1 tv else
3030 1.1 tv # Broken: fails on valid input.
3031 1.1 tv continue
3032 1.1 tv fi
3033 1.9 lukem rm -f conftest.err conftest.i conftest.$ac_ext
3034 1.1 tv
3035 1.9 lukem # OK, works on sane cases. Now check whether nonexistent headers
3036 1.1 tv # can be detected and how.
3037 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3038 1.9 lukem /* end confdefs.h. */
3039 1.1 tv #include <ac_nonexistent.h>
3040 1.1 tv _ACEOF
3041 1.9 lukem if ac_fn_c_try_cpp "$LINENO"; then :
3042 1.1 tv # Broken: success on invalid input.
3043 1.1 tv continue
3044 1.1 tv else
3045 1.1 tv # Passes both tests.
3046 1.1 tv ac_preproc_ok=:
3047 1.1 tv break
3048 1.1 tv fi
3049 1.9 lukem rm -f conftest.err conftest.i conftest.$ac_ext
3050 1.1 tv
3051 1.1 tv done
3052 1.1 tv # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3053 1.9 lukem rm -f conftest.i conftest.err conftest.$ac_ext
3054 1.9 lukem if $ac_preproc_ok; then :
3055 1.9 lukem
3056 1.1 tv else
3057 1.9 lukem { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3058 1.9 lukem $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3059 1.9 lukem as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3060 1.9 lukem See \`config.log' for more details" "$LINENO" 5; }
3061 1.1 tv fi
3062 1.1 tv
3063 1.1 tv ac_ext=c
3064 1.1 tv ac_cpp='$CPP $CPPFLAGS'
3065 1.1 tv ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3066 1.1 tv ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3067 1.1 tv ac_compiler_gnu=$ac_cv_c_compiler_gnu
3068 1.1 tv
3069 1.9 lukem
3070 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3071 1.9 lukem $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3072 1.9 lukem if ${ac_cv_path_GREP+:} false; then :
3073 1.9 lukem $as_echo_n "(cached) " >&6
3074 1.9 lukem else
3075 1.9 lukem if test -z "$GREP"; then
3076 1.9 lukem ac_path_GREP_found=false
3077 1.9 lukem # Loop through the user's path and test for each of PROGNAME-LIST
3078 1.9 lukem as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3079 1.9 lukem for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3080 1.9 lukem do
3081 1.9 lukem IFS=$as_save_IFS
3082 1.9 lukem test -z "$as_dir" && as_dir=.
3083 1.9 lukem for ac_prog in grep ggrep; do
3084 1.9 lukem for ac_exec_ext in '' $ac_executable_extensions; do
3085 1.9 lukem ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3086 1.9 lukem as_fn_executable_p "$ac_path_GREP" || continue
3087 1.9 lukem # Check for GNU ac_path_GREP and select it if it is found.
3088 1.9 lukem # Check for GNU $ac_path_GREP
3089 1.9 lukem case `"$ac_path_GREP" --version 2>&1` in
3090 1.9 lukem *GNU*)
3091 1.9 lukem ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3092 1.9 lukem *)
3093 1.9 lukem ac_count=0
3094 1.9 lukem $as_echo_n 0123456789 >"conftest.in"
3095 1.9 lukem while :
3096 1.9 lukem do
3097 1.9 lukem cat "conftest.in" "conftest.in" >"conftest.tmp"
3098 1.9 lukem mv "conftest.tmp" "conftest.in"
3099 1.9 lukem cp "conftest.in" "conftest.nl"
3100 1.9 lukem $as_echo 'GREP' >> "conftest.nl"
3101 1.9 lukem "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3102 1.9 lukem diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3103 1.9 lukem as_fn_arith $ac_count + 1 && ac_count=$as_val
3104 1.9 lukem if test $ac_count -gt ${ac_path_GREP_max-0}; then
3105 1.9 lukem # Best one so far, save it but keep looking for a better one
3106 1.9 lukem ac_cv_path_GREP="$ac_path_GREP"
3107 1.9 lukem ac_path_GREP_max=$ac_count
3108 1.9 lukem fi
3109 1.9 lukem # 10*(2^10) chars as input seems more than enough
3110 1.9 lukem test $ac_count -gt 10 && break
3111 1.9 lukem done
3112 1.9 lukem rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3113 1.9 lukem esac
3114 1.9 lukem
3115 1.9 lukem $ac_path_GREP_found && break 3
3116 1.9 lukem done
3117 1.9 lukem done
3118 1.9 lukem done
3119 1.9 lukem IFS=$as_save_IFS
3120 1.9 lukem if test -z "$ac_cv_path_GREP"; then
3121 1.9 lukem as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3122 1.1 tv fi
3123 1.1 tv else
3124 1.9 lukem ac_cv_path_GREP=$GREP
3125 1.1 tv fi
3126 1.9 lukem
3127 1.9 lukem fi
3128 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3129 1.9 lukem $as_echo "$ac_cv_path_GREP" >&6; }
3130 1.9 lukem GREP="$ac_cv_path_GREP"
3131 1.9 lukem
3132 1.9 lukem
3133 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3134 1.9 lukem $as_echo_n "checking for egrep... " >&6; }
3135 1.9 lukem if ${ac_cv_path_EGREP+:} false; then :
3136 1.9 lukem $as_echo_n "(cached) " >&6
3137 1.1 tv else
3138 1.9 lukem if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3139 1.9 lukem then ac_cv_path_EGREP="$GREP -E"
3140 1.9 lukem else
3141 1.9 lukem if test -z "$EGREP"; then
3142 1.9 lukem ac_path_EGREP_found=false
3143 1.9 lukem # Loop through the user's path and test for each of PROGNAME-LIST
3144 1.9 lukem as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 1.9 lukem for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3146 1.9 lukem do
3147 1.9 lukem IFS=$as_save_IFS
3148 1.9 lukem test -z "$as_dir" && as_dir=.
3149 1.9 lukem for ac_prog in egrep; do
3150 1.9 lukem for ac_exec_ext in '' $ac_executable_extensions; do
3151 1.9 lukem ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3152 1.9 lukem as_fn_executable_p "$ac_path_EGREP" || continue
3153 1.9 lukem # Check for GNU ac_path_EGREP and select it if it is found.
3154 1.9 lukem # Check for GNU $ac_path_EGREP
3155 1.9 lukem case `"$ac_path_EGREP" --version 2>&1` in
3156 1.9 lukem *GNU*)
3157 1.9 lukem ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3158 1.9 lukem *)
3159 1.9 lukem ac_count=0
3160 1.9 lukem $as_echo_n 0123456789 >"conftest.in"
3161 1.9 lukem while :
3162 1.9 lukem do
3163 1.9 lukem cat "conftest.in" "conftest.in" >"conftest.tmp"
3164 1.9 lukem mv "conftest.tmp" "conftest.in"
3165 1.9 lukem cp "conftest.in" "conftest.nl"
3166 1.9 lukem $as_echo 'EGREP' >> "conftest.nl"
3167 1.9 lukem "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3168 1.9 lukem diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3169 1.9 lukem as_fn_arith $ac_count + 1 && ac_count=$as_val
3170 1.9 lukem if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3171 1.9 lukem # Best one so far, save it but keep looking for a better one
3172 1.9 lukem ac_cv_path_EGREP="$ac_path_EGREP"
3173 1.9 lukem ac_path_EGREP_max=$ac_count
3174 1.9 lukem fi
3175 1.9 lukem # 10*(2^10) chars as input seems more than enough
3176 1.9 lukem test $ac_count -gt 10 && break
3177 1.9 lukem done
3178 1.9 lukem rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3179 1.9 lukem esac
3180 1.9 lukem
3181 1.9 lukem $ac_path_EGREP_found && break 3
3182 1.9 lukem done
3183 1.9 lukem done
3184 1.9 lukem done
3185 1.9 lukem IFS=$as_save_IFS
3186 1.9 lukem if test -z "$ac_cv_path_EGREP"; then
3187 1.9 lukem as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3188 1.9 lukem fi
3189 1.9 lukem else
3190 1.9 lukem ac_cv_path_EGREP=$EGREP
3191 1.1 tv fi
3192 1.9 lukem
3193 1.9 lukem fi
3194 1.1 tv fi
3195 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3196 1.9 lukem $as_echo "$ac_cv_path_EGREP" >&6; }
3197 1.9 lukem EGREP="$ac_cv_path_EGREP"
3198 1.9 lukem
3199 1.9 lukem
3200 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3201 1.9 lukem $as_echo_n "checking for ANSI C header files... " >&6; }
3202 1.9 lukem if ${ac_cv_header_stdc+:} false; then :
3203 1.9 lukem $as_echo_n "(cached) " >&6
3204 1.9 lukem else
3205 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3206 1.9 lukem /* end confdefs.h. */
3207 1.9 lukem #include <stdlib.h>
3208 1.9 lukem #include <stdarg.h>
3209 1.9 lukem #include <string.h>
3210 1.9 lukem #include <float.h>
3211 1.9 lukem
3212 1.9 lukem int
3213 1.9 lukem main ()
3214 1.9 lukem {
3215 1.9 lukem
3216 1.9 lukem ;
3217 1.9 lukem return 0;
3218 1.9 lukem }
3219 1.9 lukem _ACEOF
3220 1.9 lukem if ac_fn_c_try_compile "$LINENO"; then :
3221 1.9 lukem ac_cv_header_stdc=yes
3222 1.1 tv else
3223 1.9 lukem ac_cv_header_stdc=no
3224 1.1 tv fi
3225 1.9 lukem rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3226 1.9 lukem
3227 1.9 lukem if test $ac_cv_header_stdc = yes; then
3228 1.9 lukem # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3229 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3230 1.9 lukem /* end confdefs.h. */
3231 1.9 lukem #include <string.h>
3232 1.1 tv
3233 1.5 thorpej _ACEOF
3234 1.9 lukem if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3235 1.9 lukem $EGREP "memchr" >/dev/null 2>&1; then :
3236 1.9 lukem
3237 1.5 thorpej else
3238 1.9 lukem ac_cv_header_stdc=no
3239 1.5 thorpej fi
3240 1.9 lukem rm -f conftest*
3241 1.9 lukem
3242 1.9 lukem fi
3243 1.9 lukem
3244 1.9 lukem if test $ac_cv_header_stdc = yes; then
3245 1.9 lukem # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3246 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3247 1.9 lukem /* end confdefs.h. */
3248 1.9 lukem #include <stdlib.h>
3249 1.9 lukem
3250 1.9 lukem _ACEOF
3251 1.9 lukem if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3252 1.9 lukem $EGREP "free" >/dev/null 2>&1; then :
3253 1.9 lukem
3254 1.5 thorpej else
3255 1.9 lukem ac_cv_header_stdc=no
3256 1.5 thorpej fi
3257 1.9 lukem rm -f conftest*
3258 1.9 lukem
3259 1.5 thorpej fi
3260 1.9 lukem
3261 1.9 lukem if test $ac_cv_header_stdc = yes; then
3262 1.9 lukem # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3263 1.9 lukem if test "$cross_compiling" = yes; then :
3264 1.5 thorpej :
3265 1.5 thorpej else
3266 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 1.9 lukem /* end confdefs.h. */
3268 1.9 lukem #include <ctype.h>
3269 1.9 lukem #include <stdlib.h>
3270 1.9 lukem #if ((' ' & 0x0FF) == 0x020)
3271 1.9 lukem # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3272 1.9 lukem # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3273 1.9 lukem #else
3274 1.9 lukem # define ISLOWER(c) \
3275 1.9 lukem (('a' <= (c) && (c) <= 'i') \
3276 1.9 lukem || ('j' <= (c) && (c) <= 'r') \
3277 1.9 lukem || ('s' <= (c) && (c) <= 'z'))
3278 1.9 lukem # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3279 1.9 lukem #endif
3280 1.9 lukem
3281 1.9 lukem #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3282 1.9 lukem int
3283 1.9 lukem main ()
3284 1.9 lukem {
3285 1.9 lukem int i;
3286 1.9 lukem for (i = 0; i < 256; i++)
3287 1.9 lukem if (XOR (islower (i), ISLOWER (i))
3288 1.9 lukem || toupper (i) != TOUPPER (i))
3289 1.9 lukem return 2;
3290 1.9 lukem return 0;
3291 1.9 lukem }
3292 1.9 lukem _ACEOF
3293 1.9 lukem if ac_fn_c_try_run "$LINENO"; then :
3294 1.9 lukem
3295 1.9 lukem else
3296 1.9 lukem ac_cv_header_stdc=no
3297 1.9 lukem fi
3298 1.9 lukem rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3299 1.9 lukem conftest.$ac_objext conftest.beam conftest.$ac_ext
3300 1.9 lukem fi
3301 1.9 lukem
3302 1.9 lukem fi
3303 1.9 lukem fi
3304 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3305 1.9 lukem $as_echo "$ac_cv_header_stdc" >&6; }
3306 1.9 lukem if test $ac_cv_header_stdc = yes; then
3307 1.9 lukem
3308 1.9 lukem $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3309 1.9 lukem
3310 1.9 lukem fi
3311 1.9 lukem
3312 1.9 lukem # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3313 1.9 lukem for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3314 1.9 lukem inttypes.h stdint.h unistd.h
3315 1.9 lukem do :
3316 1.9 lukem as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3317 1.9 lukem ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3318 1.9 lukem "
3319 1.9 lukem if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3320 1.9 lukem cat >>confdefs.h <<_ACEOF
3321 1.9 lukem #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3322 1.9 lukem _ACEOF
3323 1.9 lukem
3324 1.9 lukem fi
3325 1.9 lukem
3326 1.9 lukem done
3327 1.9 lukem
3328 1.9 lukem
3329 1.9 lukem ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
3330 1.9 lukem if test "x$ac_cv_header_regex_h" = xyes; then :
3331 1.9 lukem
3332 1.9 lukem else
3333 1.9 lukem as_fn_error $? "POSIX regex.h is required" "$LINENO" 5
3334 1.9 lukem fi
3335 1.9 lukem
3336 1.9 lukem
3337 1.9 lukem
3338 1.9 lukem # If we don't have <poll.h>, we need to use select(2).
3339 1.9 lukem ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
3340 1.9 lukem if test "x$ac_cv_header_poll_h" = xyes; then :
3341 1.9 lukem
3342 1.9 lukem else
3343 1.9 lukem $as_echo "#define USE_SELECT 1" >>confdefs.h
3344 1.5 thorpej
3345 1.5 thorpej fi
3346 1.5 thorpej
3347 1.9 lukem
3348 1.9 lukem
3349 1.1 tv # regcomp() and regexec() are also names of functions in the old V8
3350 1.1 tv # regexp package. To avoid them, we need to find out who has regfree().
3351 1.1 tv
3352 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for regfree in -lregex" >&5
3353 1.9 lukem $as_echo_n "checking for regfree in -lregex... " >&6; }
3354 1.9 lukem if ${ac_cv_lib_regex_regfree+:} false; then :
3355 1.9 lukem $as_echo_n "(cached) " >&6
3356 1.1 tv else
3357 1.1 tv ac_check_lib_save_LIBS=$LIBS
3358 1.1 tv LIBS="-lregex $LIBS"
3359 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360 1.9 lukem /* end confdefs.h. */
3361 1.1 tv
3362 1.9 lukem /* Override any GCC internal prototype to avoid an error.
3363 1.9 lukem Use char because int might match the return type of a GCC
3364 1.9 lukem builtin and then its argument prototype would still apply. */
3365 1.1 tv #ifdef __cplusplus
3366 1.1 tv extern "C"
3367 1.1 tv #endif
3368 1.1 tv char regfree ();
3369 1.1 tv int
3370 1.1 tv main ()
3371 1.1 tv {
3372 1.9 lukem return regfree ();
3373 1.1 tv ;
3374 1.1 tv return 0;
3375 1.1 tv }
3376 1.1 tv _ACEOF
3377 1.9 lukem if ac_fn_c_try_link "$LINENO"; then :
3378 1.1 tv ac_cv_lib_regex_regfree=yes
3379 1.1 tv else
3380 1.9 lukem ac_cv_lib_regex_regfree=no
3381 1.1 tv fi
3382 1.9 lukem rm -f core conftest.err conftest.$ac_objext \
3383 1.9 lukem conftest$ac_exeext conftest.$ac_ext
3384 1.1 tv LIBS=$ac_check_lib_save_LIBS
3385 1.1 tv fi
3386 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_regex_regfree" >&5
3387 1.9 lukem $as_echo "$ac_cv_lib_regex_regfree" >&6; }
3388 1.9 lukem if test "x$ac_cv_lib_regex_regfree" = xyes; then :
3389 1.9 lukem cat >>confdefs.h <<_ACEOF
3390 1.1 tv #define HAVE_LIBREGEX 1
3391 1.9 lukem _ACEOF
3392 1.1 tv
3393 1.1 tv LIBS="-lregex $LIBS"
3394 1.1 tv
3395 1.1 tv fi
3396 1.1 tv
3397 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regfree" >&5
3398 1.9 lukem $as_echo_n "checking for library containing regfree... " >&6; }
3399 1.9 lukem if ${ac_cv_search_regfree+:} false; then :
3400 1.9 lukem $as_echo_n "(cached) " >&6
3401 1.1 tv else
3402 1.1 tv ac_func_search_save_LIBS=$LIBS
3403 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3404 1.9 lukem /* end confdefs.h. */
3405 1.1 tv
3406 1.9 lukem /* Override any GCC internal prototype to avoid an error.
3407 1.9 lukem Use char because int might match the return type of a GCC
3408 1.9 lukem builtin and then its argument prototype would still apply. */
3409 1.1 tv #ifdef __cplusplus
3410 1.1 tv extern "C"
3411 1.1 tv #endif
3412 1.1 tv char regfree ();
3413 1.1 tv int
3414 1.1 tv main ()
3415 1.1 tv {
3416 1.9 lukem return regfree ();
3417 1.1 tv ;
3418 1.1 tv return 0;
3419 1.1 tv }
3420 1.1 tv _ACEOF
3421 1.9 lukem for ac_lib in '' rx posix; do
3422 1.9 lukem if test -z "$ac_lib"; then
3423 1.9 lukem ac_res="none required"
3424 1.9 lukem else
3425 1.9 lukem ac_res=-l$ac_lib
3426 1.1 tv LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3427 1.9 lukem fi
3428 1.9 lukem if ac_fn_c_try_link "$LINENO"; then :
3429 1.9 lukem ac_cv_search_regfree=$ac_res
3430 1.9 lukem fi
3431 1.9 lukem rm -f core conftest.err conftest.$ac_objext \
3432 1.9 lukem conftest$ac_exeext
3433 1.9 lukem if ${ac_cv_search_regfree+:} false; then :
3434 1.9 lukem break
3435 1.9 lukem fi
3436 1.9 lukem done
3437 1.9 lukem if ${ac_cv_search_regfree+:} false; then :
3438 1.9 lukem
3439 1.9 lukem else
3440 1.9 lukem ac_cv_search_regfree=no
3441 1.9 lukem fi
3442 1.9 lukem rm conftest.$ac_ext
3443 1.9 lukem LIBS=$ac_func_search_save_LIBS
3444 1.9 lukem fi
3445 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regfree" >&5
3446 1.9 lukem $as_echo "$ac_cv_search_regfree" >&6; }
3447 1.9 lukem ac_res=$ac_cv_search_regfree
3448 1.9 lukem if test "$ac_res" != no; then :
3449 1.9 lukem test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3450 1.9 lukem
3451 1.9 lukem fi
3452 1.9 lukem
3453 1.9 lukem
3454 1.9 lukem for ac_func in setenv strdup strerror strftime vsnprintf
3455 1.9 lukem do :
3456 1.9 lukem as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3457 1.9 lukem ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3458 1.9 lukem if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
3459 1.9 lukem cat >>confdefs.h <<_ACEOF
3460 1.9 lukem #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3461 1.9 lukem _ACEOF
3462 1.9 lukem
3463 1.9 lukem fi
3464 1.9 lukem done
3465 1.9 lukem
3466 1.9 lukem
3467 1.9 lukem nb_cv_check_cc_flags=
3468 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5
3469 1.9 lukem $as_echo_n "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; }
3470 1.9 lukem if ${ax_cv_check_cflags___Werror_unknown_warning_option+:} false; then :
3471 1.9 lukem $as_echo_n "(cached) " >&6
3472 1.9 lukem else
3473 1.9 lukem
3474 1.9 lukem ax_check_save_flags=$CFLAGS
3475 1.9 lukem CFLAGS="$CFLAGS -Werror=unknown-warning-option"
3476 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3477 1.9 lukem /* end confdefs.h. */
3478 1.1 tv
3479 1.1 tv int
3480 1.1 tv main ()
3481 1.1 tv {
3482 1.9 lukem
3483 1.1 tv ;
3484 1.1 tv return 0;
3485 1.1 tv }
3486 1.1 tv _ACEOF
3487 1.9 lukem if ac_fn_c_try_compile "$LINENO"; then :
3488 1.9 lukem ax_cv_check_cflags___Werror_unknown_warning_option=yes
3489 1.1 tv else
3490 1.9 lukem ax_cv_check_cflags___Werror_unknown_warning_option=no
3491 1.1 tv fi
3492 1.9 lukem rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3493 1.9 lukem CFLAGS=$ax_check_save_flags
3494 1.1 tv fi
3495 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5
3496 1.9 lukem $as_echo "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; }
3497 1.9 lukem if test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes; then :
3498 1.9 lukem nb_cv_check_cc_flags=-Werror=unknown-warning-option
3499 1.9 lukem else
3500 1.9 lukem :
3501 1.1 tv fi
3502 1.1 tv
3503 1.1 tv
3504 1.9 lukem as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wdeprecated-declarations" | $as_tr_sh`
3505 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wdeprecated-declarations" >&5
3506 1.9 lukem $as_echo_n "checking whether C compiler accepts -Wdeprecated-declarations... " >&6; }
3507 1.9 lukem if eval \${$as_CACHEVAR+:} false; then :
3508 1.9 lukem $as_echo_n "(cached) " >&6
3509 1.9 lukem else
3510 1.9 lukem
3511 1.9 lukem ax_check_save_flags=$CFLAGS
3512 1.9 lukem CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wdeprecated-declarations"
3513 1.9 lukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514 1.9 lukem /* end confdefs.h. */
3515 1.2 tv
3516 1.2 tv int
3517 1.2 tv main ()
3518 1.2 tv {
3519 1.2 tv
3520 1.2 tv ;
3521 1.2 tv return 0;
3522 1.2 tv }
3523 1.2 tv _ACEOF
3524 1.9 lukem if ac_fn_c_try_compile "$LINENO"; then :
3525 1.9 lukem eval "$as_CACHEVAR=yes"
3526 1.9 lukem else
3527 1.9 lukem eval "$as_CACHEVAR=no"
3528 1.9 lukem fi
3529 1.9 lukem rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3530 1.9 lukem CFLAGS=$ax_check_save_flags
3531 1.9 lukem fi
3532 1.9 lukem eval ac_res=\$$as_CACHEVAR
3533 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3534 1.9 lukem $as_echo "$ac_res" >&6; }
3535 1.9 lukem if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
3536 1.9 lukem NOWARNFLAGS=-Wno-deprecated-declarations
3537 1.9 lukem else
3538 1.9 lukem :
3539 1.9 lukem fi
3540 1.9 lukem
3541 1.9 lukem
3542 1.2 tv
3543 1.2 tv
3544 1.1 tv cat >confcache <<\_ACEOF
3545 1.1 tv # This file is a shell script that caches the results of configure
3546 1.1 tv # tests run on this system so they can be shared between configure
3547 1.1 tv # scripts and configure runs, see configure's option --config-cache.
3548 1.1 tv # It is not useful on other systems. If it contains results you don't
3549 1.1 tv # want to keep, you may remove or edit it.
3550 1.1 tv #
3551 1.1 tv # config.status only pays attention to the cache file if you give it
3552 1.1 tv # the --recheck option to rerun configure.
3553 1.1 tv #
3554 1.9 lukem # `ac_cv_env_foo' variables (set or unset) will be overridden when
3555 1.1 tv # loading this file, other *unset* `ac_cv_foo' will be assigned the
3556 1.1 tv # following values.
3557 1.1 tv
3558 1.1 tv _ACEOF
3559 1.1 tv
3560 1.1 tv # The following way of writing the cache mishandles newlines in values,
3561 1.1 tv # but we know of no workaround that is simple, portable, and efficient.
3562 1.9 lukem # So, we kill variables containing newlines.
3563 1.1 tv # Ultrix sh set writes to stderr and can't be redirected directly,
3564 1.1 tv # and sets the high bit in the cache file unless we assign to the vars.
3565 1.9 lukem (
3566 1.9 lukem for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3567 1.9 lukem eval ac_val=\$$ac_var
3568 1.9 lukem case $ac_val in #(
3569 1.9 lukem *${as_nl}*)
3570 1.9 lukem case $ac_var in #(
3571 1.9 lukem *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3572 1.9 lukem $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3573 1.9 lukem esac
3574 1.9 lukem case $ac_var in #(
3575 1.9 lukem _ | IFS | as_nl) ;; #(
3576 1.9 lukem BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3577 1.9 lukem *) { eval $ac_var=; unset $ac_var;} ;;
3578 1.9 lukem esac ;;
3579 1.9 lukem esac
3580 1.9 lukem done
3581 1.9 lukem
3582 1.1 tv (set) 2>&1 |
3583 1.9 lukem case $as_nl`(ac_space=' '; set) 2>&1` in #(
3584 1.9 lukem *${as_nl}ac_space=\ *)
3585 1.9 lukem # `set' does not quote correctly, so add quotes: double-quote
3586 1.9 lukem # substitution turns \\\\ into \\, and sed turns \\ into \.
3587 1.1 tv sed -n \
3588 1.9 lukem "s/'/'\\\\''/g;
3589 1.9 lukem s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3590 1.9 lukem ;; #(
3591 1.1 tv *)
3592 1.1 tv # `set' quotes correctly as required by POSIX, so do not add quotes.
3593 1.9 lukem sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3594 1.1 tv ;;
3595 1.9 lukem esac |
3596 1.9 lukem sort
3597 1.9 lukem ) |
3598 1.1 tv sed '
3599 1.9 lukem /^ac_cv_env_/b end
3600 1.1 tv t clear
3601 1.9 lukem :clear
3602 1.1 tv s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3603 1.1 tv t end
3604 1.9 lukem s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3605 1.9 lukem :end' >>confcache
3606 1.9 lukem if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3607 1.9 lukem if test -w "$cache_file"; then
3608 1.9 lukem if test "x$cache_file" != "x/dev/null"; then
3609 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3610 1.9 lukem $as_echo "$as_me: updating cache $cache_file" >&6;}
3611 1.9 lukem if test ! -f "$cache_file" || test -h "$cache_file"; then
3612 1.9 lukem cat confcache >"$cache_file"
3613 1.9 lukem else
3614 1.9 lukem case $cache_file in #(
3615 1.9 lukem */* | ?:*)
3616 1.9 lukem mv -f confcache "$cache_file"$$ &&
3617 1.9 lukem mv -f "$cache_file"$$ "$cache_file" ;; #(
3618 1.9 lukem *)
3619 1.9 lukem mv -f confcache "$cache_file" ;;
3620 1.9 lukem esac
3621 1.9 lukem fi
3622 1.9 lukem fi
3623 1.1 tv else
3624 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3625 1.9 lukem $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3626 1.1 tv fi
3627 1.1 tv fi
3628 1.1 tv rm -f confcache
3629 1.1 tv
3630 1.1 tv test "x$prefix" = xNONE && prefix=$ac_default_prefix
3631 1.1 tv # Let make expand exec_prefix.
3632 1.1 tv test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3633 1.1 tv
3634 1.1 tv # Transform confdefs.h into DEFS.
3635 1.1 tv # Protect against shell expansion while executing Makefile rules.
3636 1.1 tv # Protect against Makefile macro expansion.
3637 1.1 tv #
3638 1.1 tv # If the first sed substitution is executed (which looks for macros that
3639 1.9 lukem # take arguments), then branch to the quote section. Otherwise,
3640 1.1 tv # look for a macro that doesn't take arguments.
3641 1.9 lukem ac_script='
3642 1.9 lukem :mline
3643 1.9 lukem /\\$/{
3644 1.9 lukem N
3645 1.9 lukem s,\\\n,,
3646 1.9 lukem b mline
3647 1.9 lukem }
3648 1.1 tv t clear
3649 1.9 lukem :clear
3650 1.9 lukem s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3651 1.1 tv t quote
3652 1.9 lukem s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3653 1.1 tv t quote
3654 1.9 lukem b any
3655 1.9 lukem :quote
3656 1.9 lukem s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3657 1.9 lukem s/\[/\\&/g
3658 1.9 lukem s/\]/\\&/g
3659 1.9 lukem s/\$/$$/g
3660 1.9 lukem H
3661 1.9 lukem :any
3662 1.9 lukem ${
3663 1.9 lukem g
3664 1.9 lukem s/^\n//
3665 1.9 lukem s/\n/ /g
3666 1.9 lukem p
3667 1.9 lukem }
3668 1.9 lukem '
3669 1.9 lukem DEFS=`sed -n "$ac_script" confdefs.h`
3670 1.9 lukem
3671 1.9 lukem
3672 1.9 lukem ac_libobjs=
3673 1.9 lukem ac_ltlibobjs=
3674 1.9 lukem U=
3675 1.9 lukem for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3676 1.9 lukem # 1. Remove the extension, and $U if already installed.
3677 1.9 lukem ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3678 1.9 lukem ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3679 1.9 lukem # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3680 1.9 lukem # will be set to the directory where LIBOBJS objects are built.
3681 1.9 lukem as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3682 1.9 lukem as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3683 1.9 lukem done
3684 1.9 lukem LIBOBJS=$ac_libobjs
3685 1.9 lukem
3686 1.9 lukem LTLIBOBJS=$ac_ltlibobjs
3687 1.9 lukem
3688 1.9 lukem
3689 1.1 tv
3690 1.9 lukem : "${CONFIG_STATUS=./config.status}"
3691 1.9 lukem ac_write_fail=0
3692 1.1 tv ac_clean_files_save=$ac_clean_files
3693 1.1 tv ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3694 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3695 1.9 lukem $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3696 1.9 lukem as_write_fail=0
3697 1.9 lukem cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3698 1.1 tv #! $SHELL
3699 1.9 lukem # Generated by $as_me.
3700 1.1 tv # Run this file to recreate the current configuration.
3701 1.1 tv # Compiler output produced by configure, useful for debugging
3702 1.1 tv # configure, is in config.log if it exists.
3703 1.1 tv
3704 1.1 tv debug=false
3705 1.9 lukem ac_cs_recheck=false
3706 1.9 lukem ac_cs_silent=false
3707 1.9 lukem
3708 1.1 tv SHELL=\${CONFIG_SHELL-$SHELL}
3709 1.9 lukem export SHELL
3710 1.9 lukem _ASEOF
3711 1.9 lukem cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3712 1.9 lukem ## -------------------- ##
3713 1.9 lukem ## M4sh Initialization. ##
3714 1.9 lukem ## -------------------- ##
3715 1.9 lukem
3716 1.9 lukem # Be more Bourne compatible
3717 1.9 lukem DUALCASE=1; export DUALCASE # for MKS sh
3718 1.9 lukem if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3719 1.9 lukem emulate sh
3720 1.9 lukem NULLCMD=:
3721 1.9 lukem # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3722 1.9 lukem # is contrary to our usage. Disable this feature.
3723 1.9 lukem alias -g '${1+"$@"}'='"$@"'
3724 1.9 lukem setopt NO_GLOB_SUBST
3725 1.9 lukem else
3726 1.9 lukem case `(set -o) 2>/dev/null` in #(
3727 1.9 lukem *posix*) :
3728 1.9 lukem set -o posix ;; #(
3729 1.9 lukem *) :
3730 1.9 lukem ;;
3731 1.9 lukem esac
3732 1.9 lukem fi
3733 1.1 tv
3734 1.1 tv
3735 1.9 lukem as_nl='
3736 1.9 lukem '
3737 1.9 lukem export as_nl
3738 1.9 lukem # Printing a long string crashes Solaris 7 /usr/bin/printf.
3739 1.9 lukem as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3740 1.9 lukem as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3741 1.9 lukem as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3742 1.9 lukem # Prefer a ksh shell builtin over an external printf program on Solaris,
3743 1.9 lukem # but without wasting forks for bash or zsh.
3744 1.9 lukem if test -z "$BASH_VERSION$ZSH_VERSION" \
3745 1.9 lukem && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3746 1.9 lukem as_echo='print -r --'
3747 1.9 lukem as_echo_n='print -rn --'
3748 1.9 lukem elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3749 1.9 lukem as_echo='printf %s\n'
3750 1.9 lukem as_echo_n='printf %s'
3751 1.9 lukem else
3752 1.9 lukem if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3753 1.9 lukem as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3754 1.9 lukem as_echo_n='/usr/ucb/echo -n'
3755 1.9 lukem else
3756 1.9 lukem as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3757 1.9 lukem as_echo_n_body='eval
3758 1.9 lukem arg=$1;
3759 1.9 lukem case $arg in #(
3760 1.9 lukem *"$as_nl"*)
3761 1.9 lukem expr "X$arg" : "X\\(.*\\)$as_nl";
3762 1.9 lukem arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3763 1.9 lukem esac;
3764 1.9 lukem expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3765 1.9 lukem '
3766 1.9 lukem export as_echo_n_body
3767 1.9 lukem as_echo_n='sh -c $as_echo_n_body as_echo'
3768 1.9 lukem fi
3769 1.9 lukem export as_echo_body
3770 1.9 lukem as_echo='sh -c $as_echo_body as_echo'
3771 1.9 lukem fi
3772 1.9 lukem
3773 1.9 lukem # The user is always right.
3774 1.9 lukem if test "${PATH_SEPARATOR+set}" != set; then
3775 1.9 lukem PATH_SEPARATOR=:
3776 1.9 lukem (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3777 1.9 lukem (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3778 1.9 lukem PATH_SEPARATOR=';'
3779 1.9 lukem }
3780 1.1 tv fi
3781 1.1 tv
3782 1.1 tv
3783 1.9 lukem # IFS
3784 1.9 lukem # We need space, tab and new line, in precisely that order. Quoting is
3785 1.9 lukem # there to prevent editors from complaining about space-tab.
3786 1.9 lukem # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3787 1.9 lukem # splitting by setting IFS to empty value.)
3788 1.9 lukem IFS=" "" $as_nl"
3789 1.9 lukem
3790 1.9 lukem # Find who we are. Look in the path if we contain no directory separator.
3791 1.9 lukem as_myself=
3792 1.9 lukem case $0 in #((
3793 1.9 lukem *[\\/]* ) as_myself=$0 ;;
3794 1.9 lukem *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 1.9 lukem for as_dir in $PATH
3796 1.9 lukem do
3797 1.9 lukem IFS=$as_save_IFS
3798 1.9 lukem test -z "$as_dir" && as_dir=.
3799 1.9 lukem test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3800 1.9 lukem done
3801 1.9 lukem IFS=$as_save_IFS
3802 1.9 lukem
3803 1.9 lukem ;;
3804 1.9 lukem esac
3805 1.9 lukem # We did not find ourselves, most probably we were run as `sh COMMAND'
3806 1.9 lukem # in which case we are not to be found in the path.
3807 1.9 lukem if test "x$as_myself" = x; then
3808 1.9 lukem as_myself=$0
3809 1.9 lukem fi
3810 1.9 lukem if test ! -f "$as_myself"; then
3811 1.9 lukem $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3812 1.9 lukem exit 1
3813 1.9 lukem fi
3814 1.9 lukem
3815 1.9 lukem # Unset variables that we do not need and which cause bugs (e.g. in
3816 1.9 lukem # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3817 1.9 lukem # suppresses any "Segmentation fault" message there. '((' could
3818 1.9 lukem # trigger a bug in pdksh 5.2.14.
3819 1.9 lukem for as_var in BASH_ENV ENV MAIL MAILPATH
3820 1.9 lukem do eval test x\${$as_var+set} = xset \
3821 1.9 lukem && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3822 1.9 lukem done
3823 1.9 lukem PS1='$ '
3824 1.9 lukem PS2='> '
3825 1.9 lukem PS4='+ '
3826 1.9 lukem
3827 1.9 lukem # NLS nuisances.
3828 1.9 lukem LC_ALL=C
3829 1.9 lukem export LC_ALL
3830 1.9 lukem LANGUAGE=C
3831 1.9 lukem export LANGUAGE
3832 1.9 lukem
3833 1.9 lukem # CDPATH.
3834 1.9 lukem (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3835 1.9 lukem
3836 1.9 lukem
3837 1.9 lukem # as_fn_error STATUS ERROR [LINENO LOG_FD]
3838 1.9 lukem # ----------------------------------------
3839 1.9 lukem # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3840 1.9 lukem # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3841 1.9 lukem # script with STATUS, using 1 if that was 0.
3842 1.9 lukem as_fn_error ()
3843 1.9 lukem {
3844 1.9 lukem as_status=$1; test $as_status -eq 0 && as_status=1
3845 1.9 lukem if test "$4"; then
3846 1.9 lukem as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3847 1.9 lukem $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3848 1.9 lukem fi
3849 1.9 lukem $as_echo "$as_me: error: $2" >&2
3850 1.9 lukem as_fn_exit $as_status
3851 1.9 lukem } # as_fn_error
3852 1.9 lukem
3853 1.9 lukem
3854 1.9 lukem # as_fn_set_status STATUS
3855 1.9 lukem # -----------------------
3856 1.9 lukem # Set $? to STATUS, without forking.
3857 1.9 lukem as_fn_set_status ()
3858 1.9 lukem {
3859 1.9 lukem return $1
3860 1.9 lukem } # as_fn_set_status
3861 1.9 lukem
3862 1.9 lukem # as_fn_exit STATUS
3863 1.9 lukem # -----------------
3864 1.9 lukem # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3865 1.9 lukem as_fn_exit ()
3866 1.9 lukem {
3867 1.9 lukem set +e
3868 1.9 lukem as_fn_set_status $1
3869 1.9 lukem exit $1
3870 1.9 lukem } # as_fn_exit
3871 1.9 lukem
3872 1.9 lukem # as_fn_unset VAR
3873 1.9 lukem # ---------------
3874 1.9 lukem # Portably unset VAR.
3875 1.9 lukem as_fn_unset ()
3876 1.9 lukem {
3877 1.9 lukem { eval $1=; unset $1;}
3878 1.9 lukem }
3879 1.9 lukem as_unset=as_fn_unset
3880 1.9 lukem # as_fn_append VAR VALUE
3881 1.9 lukem # ----------------------
3882 1.9 lukem # Append the text in VALUE to the end of the definition contained in VAR. Take
3883 1.9 lukem # advantage of any shell optimizations that allow amortized linear growth over
3884 1.9 lukem # repeated appends, instead of the typical quadratic growth present in naive
3885 1.9 lukem # implementations.
3886 1.9 lukem if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3887 1.9 lukem eval 'as_fn_append ()
3888 1.9 lukem {
3889 1.9 lukem eval $1+=\$2
3890 1.9 lukem }'
3891 1.9 lukem else
3892 1.9 lukem as_fn_append ()
3893 1.9 lukem {
3894 1.9 lukem eval $1=\$$1\$2
3895 1.9 lukem }
3896 1.9 lukem fi # as_fn_append
3897 1.9 lukem
3898 1.9 lukem # as_fn_arith ARG...
3899 1.9 lukem # ------------------
3900 1.9 lukem # Perform arithmetic evaluation on the ARGs, and store the result in the
3901 1.9 lukem # global $as_val. Take advantage of shells that can avoid forks. The arguments
3902 1.9 lukem # must be portable across $(()) and expr.
3903 1.9 lukem if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3904 1.9 lukem eval 'as_fn_arith ()
3905 1.9 lukem {
3906 1.9 lukem as_val=$(( $* ))
3907 1.9 lukem }'
3908 1.9 lukem else
3909 1.9 lukem as_fn_arith ()
3910 1.9 lukem {
3911 1.9 lukem as_val=`expr "$@" || test $? -eq 1`
3912 1.9 lukem }
3913 1.9 lukem fi # as_fn_arith
3914 1.9 lukem
3915 1.9 lukem
3916 1.9 lukem if expr a : '\(a\)' >/dev/null 2>&1 &&
3917 1.9 lukem test "X`expr 00001 : '.*\(...\)'`" = X001; then
3918 1.1 tv as_expr=expr
3919 1.1 tv else
3920 1.1 tv as_expr=false
3921 1.1 tv fi
3922 1.1 tv
3923 1.9 lukem if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3924 1.9 lukem as_basename=basename
3925 1.9 lukem else
3926 1.9 lukem as_basename=false
3927 1.9 lukem fi
3928 1.9 lukem
3929 1.9 lukem if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3930 1.9 lukem as_dirname=dirname
3931 1.9 lukem else
3932 1.9 lukem as_dirname=false
3933 1.9 lukem fi
3934 1.9 lukem
3935 1.9 lukem as_me=`$as_basename -- "$0" ||
3936 1.9 lukem $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3937 1.9 lukem X"$0" : 'X\(//\)$' \| \
3938 1.9 lukem X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3939 1.9 lukem $as_echo X/"$0" |
3940 1.9 lukem sed '/^.*\/\([^/][^/]*\)\/*$/{
3941 1.9 lukem s//\1/
3942 1.9 lukem q
3943 1.9 lukem }
3944 1.9 lukem /^X\/\(\/\/\)$/{
3945 1.9 lukem s//\1/
3946 1.9 lukem q
3947 1.9 lukem }
3948 1.9 lukem /^X\/\(\/\).*/{
3949 1.9 lukem s//\1/
3950 1.9 lukem q
3951 1.9 lukem }
3952 1.9 lukem s/.*/./; q'`
3953 1.9 lukem
3954 1.9 lukem # Avoid depending upon Character Ranges.
3955 1.9 lukem as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3956 1.9 lukem as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3957 1.9 lukem as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3958 1.9 lukem as_cr_digits='0123456789'
3959 1.9 lukem as_cr_alnum=$as_cr_Letters$as_cr_digits
3960 1.9 lukem
3961 1.9 lukem ECHO_C= ECHO_N= ECHO_T=
3962 1.9 lukem case `echo -n x` in #(((((
3963 1.9 lukem -n*)
3964 1.9 lukem case `echo 'xy\c'` in
3965 1.9 lukem *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3966 1.9 lukem xy) ECHO_C='\c';;
3967 1.9 lukem *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3968 1.9 lukem ECHO_T=' ';;
3969 1.9 lukem esac;;
3970 1.9 lukem *)
3971 1.9 lukem ECHO_N='-n';;
3972 1.9 lukem esac
3973 1.9 lukem
3974 1.1 tv rm -f conf$$ conf$$.exe conf$$.file
3975 1.9 lukem if test -d conf$$.dir; then
3976 1.9 lukem rm -f conf$$.dir/conf$$.file
3977 1.9 lukem else
3978 1.9 lukem rm -f conf$$.dir
3979 1.9 lukem mkdir conf$$.dir 2>/dev/null
3980 1.9 lukem fi
3981 1.9 lukem if (echo >conf$$.file) 2>/dev/null; then
3982 1.9 lukem if ln -s conf$$.file conf$$ 2>/dev/null; then
3983 1.9 lukem as_ln_s='ln -s'
3984 1.9 lukem # ... but there are two gotchas:
3985 1.9 lukem # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3986 1.9 lukem # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3987 1.9 lukem # In both cases, we have to default to `cp -pR'.
3988 1.9 lukem ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3989 1.9 lukem as_ln_s='cp -pR'
3990 1.9 lukem elif ln conf$$.file conf$$ 2>/dev/null; then
3991 1.9 lukem as_ln_s=ln
3992 1.1 tv else
3993 1.9 lukem as_ln_s='cp -pR'
3994 1.1 tv fi
3995 1.1 tv else
3996 1.9 lukem as_ln_s='cp -pR'
3997 1.1 tv fi
3998 1.9 lukem rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3999 1.9 lukem rmdir conf$$.dir 2>/dev/null
4000 1.9 lukem
4001 1.9 lukem
4002 1.9 lukem # as_fn_mkdir_p
4003 1.9 lukem # -------------
4004 1.9 lukem # Create "$as_dir" as a directory, including parents if necessary.
4005 1.9 lukem as_fn_mkdir_p ()
4006 1.9 lukem {
4007 1.9 lukem
4008 1.9 lukem case $as_dir in #(
4009 1.9 lukem -*) as_dir=./$as_dir;;
4010 1.9 lukem esac
4011 1.9 lukem test -d "$as_dir" || eval $as_mkdir_p || {
4012 1.9 lukem as_dirs=
4013 1.9 lukem while :; do
4014 1.9 lukem case $as_dir in #(
4015 1.9 lukem *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4016 1.9 lukem *) as_qdir=$as_dir;;
4017 1.9 lukem esac
4018 1.9 lukem as_dirs="'$as_qdir' $as_dirs"
4019 1.9 lukem as_dir=`$as_dirname -- "$as_dir" ||
4020 1.9 lukem $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4021 1.9 lukem X"$as_dir" : 'X\(//\)[^/]' \| \
4022 1.9 lukem X"$as_dir" : 'X\(//\)$' \| \
4023 1.9 lukem X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4024 1.9 lukem $as_echo X"$as_dir" |
4025 1.9 lukem sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4026 1.9 lukem s//\1/
4027 1.9 lukem q
4028 1.9 lukem }
4029 1.9 lukem /^X\(\/\/\)[^/].*/{
4030 1.9 lukem s//\1/
4031 1.9 lukem q
4032 1.9 lukem }
4033 1.9 lukem /^X\(\/\/\)$/{
4034 1.9 lukem s//\1/
4035 1.9 lukem q
4036 1.9 lukem }
4037 1.9 lukem /^X\(\/\).*/{
4038 1.9 lukem s//\1/
4039 1.9 lukem q
4040 1.9 lukem }
4041 1.9 lukem s/.*/./; q'`
4042 1.9 lukem test -d "$as_dir" && break
4043 1.9 lukem done
4044 1.9 lukem test -z "$as_dirs" || eval "mkdir $as_dirs"
4045 1.9 lukem } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4046 1.1 tv
4047 1.1 tv
4048 1.9 lukem } # as_fn_mkdir_p
4049 1.9 lukem if mkdir -p . 2>/dev/null; then
4050 1.9 lukem as_mkdir_p='mkdir -p "$as_dir"'
4051 1.1 tv else
4052 1.9 lukem test -d ./-p && rmdir ./-p
4053 1.9 lukem as_mkdir_p=false
4054 1.1 tv fi
4055 1.1 tv
4056 1.1 tv
4057 1.9 lukem # as_fn_executable_p FILE
4058 1.9 lukem # -----------------------
4059 1.9 lukem # Test if FILE is an executable regular file.
4060 1.9 lukem as_fn_executable_p ()
4061 1.9 lukem {
4062 1.9 lukem test -f "$1" && test -x "$1"
4063 1.9 lukem } # as_fn_executable_p
4064 1.9 lukem as_test_x='test -x'
4065 1.9 lukem as_executable_p=as_fn_executable_p
4066 1.9 lukem
4067 1.9 lukem # Sed expression to map a string onto a valid CPP name.
4068 1.9 lukem as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4069 1.9 lukem
4070 1.9 lukem # Sed expression to map a string onto a valid variable name.
4071 1.9 lukem as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4072 1.1 tv
4073 1.1 tv
4074 1.1 tv exec 6>&1
4075 1.9 lukem ## ----------------------------------- ##
4076 1.9 lukem ## Main body of $CONFIG_STATUS script. ##
4077 1.9 lukem ## ----------------------------------- ##
4078 1.9 lukem _ASEOF
4079 1.9 lukem test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4080 1.9 lukem
4081 1.9 lukem cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4082 1.9 lukem # Save the log message, to keep $0 and so on meaningful, and to
4083 1.9 lukem # report actual input values of CONFIG_FILES etc. instead of their
4084 1.9 lukem # values after options handling.
4085 1.9 lukem ac_log="
4086 1.9 lukem This file was extended by make $as_me noversion, which was
4087 1.9 lukem generated by GNU Autoconf 2.69. Invocation command line was
4088 1.9 lukem
4089 1.9 lukem CONFIG_FILES = $CONFIG_FILES
4090 1.9 lukem CONFIG_HEADERS = $CONFIG_HEADERS
4091 1.9 lukem CONFIG_LINKS = $CONFIG_LINKS
4092 1.9 lukem CONFIG_COMMANDS = $CONFIG_COMMANDS
4093 1.9 lukem $ $0 $@
4094 1.9 lukem
4095 1.9 lukem on `(hostname || uname -n) 2>/dev/null | sed 1q`
4096 1.9 lukem "
4097 1.1 tv
4098 1.1 tv _ACEOF
4099 1.1 tv
4100 1.9 lukem case $ac_config_files in *"
4101 1.9 lukem "*) set x $ac_config_files; shift; ac_config_files=$*;;
4102 1.9 lukem esac
4103 1.1 tv
4104 1.1 tv
4105 1.1 tv
4106 1.9 lukem cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4107 1.9 lukem # Files that config.status was made for.
4108 1.9 lukem config_files="$ac_config_files"
4109 1.1 tv
4110 1.9 lukem _ACEOF
4111 1.1 tv
4112 1.9 lukem cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4113 1.1 tv ac_cs_usage="\
4114 1.9 lukem \`$as_me' instantiates files and other configuration actions
4115 1.9 lukem from templates according to the current configuration. Unless the files
4116 1.9 lukem and actions are specified as TAGs, all are instantiated by default.
4117 1.1 tv
4118 1.9 lukem Usage: $0 [OPTION]... [TAG]...
4119 1.1 tv
4120 1.1 tv -h, --help print this help, then exit
4121 1.9 lukem -V, --version print version number and configuration settings, then exit
4122 1.9 lukem --config print configuration, then exit
4123 1.9 lukem -q, --quiet, --silent
4124 1.9 lukem do not print progress messages
4125 1.1 tv -d, --debug don't remove temporary files
4126 1.1 tv --recheck update $as_me by reconfiguring in the same conditions
4127 1.9 lukem --file=FILE[:TEMPLATE]
4128 1.1 tv instantiate the configuration file FILE
4129 1.1 tv
4130 1.1 tv Configuration files:
4131 1.1 tv $config_files
4132 1.1 tv
4133 1.9 lukem Report bugs to <bin-bug-people@NetBSD.org>."
4134 1.1 tv
4135 1.9 lukem _ACEOF
4136 1.9 lukem cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4137 1.9 lukem ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4138 1.1 tv ac_cs_version="\\
4139 1.1 tv make config.status noversion
4140 1.9 lukem configured by $0, generated by GNU Autoconf 2.69,
4141 1.9 lukem with options \\"\$ac_cs_config\\"
4142 1.1 tv
4143 1.9 lukem Copyright (C) 2012 Free Software Foundation, Inc.
4144 1.1 tv This config.status script is free software; the Free Software Foundation
4145 1.1 tv gives unlimited permission to copy, distribute and modify it."
4146 1.1 tv
4147 1.9 lukem ac_pwd='$ac_pwd'
4148 1.9 lukem srcdir='$srcdir'
4149 1.9 lukem test -n "\$AWK" || AWK=awk
4150 1.9 lukem _ACEOF
4151 1.9 lukem
4152 1.9 lukem cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4153 1.9 lukem # The default lists apply if the user does not specify any file.
4154 1.1 tv ac_need_defaults=:
4155 1.1 tv while test $# != 0
4156 1.1 tv do
4157 1.1 tv case $1 in
4158 1.9 lukem --*=?*)
4159 1.9 lukem ac_option=`expr "X$1" : 'X\([^=]*\)='`
4160 1.9 lukem ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4161 1.9 lukem ac_shift=:
4162 1.9 lukem ;;
4163 1.9 lukem --*=)
4164 1.9 lukem ac_option=`expr "X$1" : 'X\([^=]*\)='`
4165 1.9 lukem ac_optarg=
4166 1.9 lukem ac_shift=:
4167 1.9 lukem ;;
4168 1.9 lukem *)
4169 1.9 lukem ac_option=$1
4170 1.9 lukem ac_optarg=$2
4171 1.9 lukem ac_shift=shift
4172 1.1 tv ;;
4173 1.1 tv esac
4174 1.1 tv
4175 1.9 lukem case $ac_option in
4176 1.1 tv # Handling of the options.
4177 1.1 tv -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4178 1.9 lukem ac_cs_recheck=: ;;
4179 1.9 lukem --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4180 1.9 lukem $as_echo "$ac_cs_version"; exit ;;
4181 1.9 lukem --config | --confi | --conf | --con | --co | --c )
4182 1.9 lukem $as_echo "$ac_cs_config"; exit ;;
4183 1.9 lukem --debug | --debu | --deb | --de | --d | -d )
4184 1.1 tv debug=: ;;
4185 1.1 tv --file | --fil | --fi | --f )
4186 1.9 lukem $ac_shift
4187 1.9 lukem case $ac_optarg in
4188 1.9 lukem *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4189 1.9 lukem '') as_fn_error $? "missing file argument" ;;
4190 1.9 lukem esac
4191 1.9 lukem as_fn_append CONFIG_FILES " '$ac_optarg'"
4192 1.1 tv ac_need_defaults=false;;
4193 1.9 lukem --he | --h | --help | --hel | -h )
4194 1.9 lukem $as_echo "$ac_cs_usage"; exit ;;
4195 1.9 lukem -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4196 1.9 lukem | -silent | --silent | --silen | --sile | --sil | --si | --s)
4197 1.9 lukem ac_cs_silent=: ;;
4198 1.1 tv
4199 1.1 tv # This is an error.
4200 1.9 lukem -*) as_fn_error $? "unrecognized option: \`$1'
4201 1.9 lukem Try \`$0 --help' for more information." ;;
4202 1.1 tv
4203 1.9 lukem *) as_fn_append ac_config_targets " $1"
4204 1.9 lukem ac_need_defaults=false ;;
4205 1.1 tv
4206 1.1 tv esac
4207 1.1 tv shift
4208 1.1 tv done
4209 1.1 tv
4210 1.9 lukem ac_configure_extra_args=
4211 1.1 tv
4212 1.9 lukem if $ac_cs_silent; then
4213 1.9 lukem exec 6>/dev/null
4214 1.9 lukem ac_configure_extra_args="$ac_configure_extra_args --silent"
4215 1.9 lukem fi
4216 1.1 tv
4217 1.9 lukem _ACEOF
4218 1.9 lukem cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4219 1.9 lukem if \$ac_cs_recheck; then
4220 1.9 lukem set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4221 1.9 lukem shift
4222 1.9 lukem \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4223 1.9 lukem CONFIG_SHELL='$SHELL'
4224 1.9 lukem export CONFIG_SHELL
4225 1.9 lukem exec "\$@"
4226 1.9 lukem fi
4227 1.9 lukem
4228 1.9 lukem _ACEOF
4229 1.9 lukem cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4230 1.9 lukem exec 5>>config.log
4231 1.9 lukem {
4232 1.9 lukem echo
4233 1.9 lukem sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4234 1.9 lukem ## Running $as_me. ##
4235 1.9 lukem _ASBOX
4236 1.9 lukem $as_echo "$ac_log"
4237 1.9 lukem } >&5
4238 1.1 tv
4239 1.1 tv _ACEOF
4240 1.9 lukem cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4241 1.9 lukem _ACEOF
4242 1.1 tv
4243 1.9 lukem cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4244 1.9 lukem
4245 1.9 lukem # Handling of arguments.
4246 1.1 tv for ac_config_target in $ac_config_targets
4247 1.1 tv do
4248 1.9 lukem case $ac_config_target in
4249 1.9 lukem "buildmake.sh") CONFIG_FILES="$CONFIG_FILES buildmake.sh" ;;
4250 1.9 lukem
4251 1.9 lukem *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4252 1.1 tv esac
4253 1.1 tv done
4254 1.1 tv
4255 1.9 lukem
4256 1.1 tv # If the user did not use the arguments to specify the items to instantiate,
4257 1.1 tv # then the envvar interface is used. Set only those that are not.
4258 1.1 tv # We use the long form for the default assignment because of an extremely
4259 1.1 tv # bizarre bug on SunOS 4.1.3.
4260 1.1 tv if $ac_need_defaults; then
4261 1.1 tv test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4262 1.1 tv fi
4263 1.1 tv
4264 1.9 lukem # Have a temporary directory for convenience. Make it in the build tree
4265 1.9 lukem # simply because there is no reason against having it here, and in addition,
4266 1.9 lukem # creating and moving files from /tmp can sometimes cause problems.
4267 1.9 lukem # Hook for its removal unless debugging.
4268 1.9 lukem # Note that there is a small window in which the directory will not be cleaned:
4269 1.9 lukem # after its creation but before its name has been assigned to `$tmp'.
4270 1.1 tv $debug ||
4271 1.1 tv {
4272 1.9 lukem tmp= ac_tmp=
4273 1.9 lukem trap 'exit_status=$?
4274 1.9 lukem : "${ac_tmp:=$tmp}"
4275 1.9 lukem { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4276 1.9 lukem ' 0
4277 1.9 lukem trap 'as_fn_exit 1' 1 2 13 15
4278 1.1 tv }
4279 1.9 lukem # Create a (secure) tmp directory for tmp files.
4280 1.1 tv
4281 1.1 tv {
4282 1.9 lukem tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4283 1.9 lukem test -d "$tmp"
4284 1.1 tv } ||
4285 1.1 tv {
4286 1.9 lukem tmp=./conf$$-$RANDOM
4287 1.9 lukem (umask 077 && mkdir "$tmp")
4288 1.9 lukem } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4289 1.9 lukem ac_tmp=$tmp
4290 1.9 lukem
4291 1.9 lukem # Set up the scripts for CONFIG_FILES section.
4292 1.9 lukem # No need to generate them if there are no CONFIG_FILES.
4293 1.9 lukem # This happens for instance with `./config.status config.h'.
4294 1.9 lukem if test -n "$CONFIG_FILES"; then
4295 1.9 lukem
4296 1.9 lukem
4297 1.9 lukem ac_cr=`echo X | tr X '\015'`
4298 1.9 lukem # On cygwin, bash can eat \r inside `` if the user requested igncr.
4299 1.9 lukem # But we know of no other shell where ac_cr would be empty at this
4300 1.9 lukem # point, so we can use a bashism as a fallback.
4301 1.9 lukem if test "x$ac_cr" = x; then
4302 1.9 lukem eval ac_cr=\$\'\\r\'
4303 1.9 lukem fi
4304 1.9 lukem ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4305 1.9 lukem if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4306 1.9 lukem ac_cs_awk_cr='\\r'
4307 1.9 lukem else
4308 1.9 lukem ac_cs_awk_cr=$ac_cr
4309 1.9 lukem fi
4310 1.9 lukem
4311 1.9 lukem echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4312 1.9 lukem _ACEOF
4313 1.9 lukem
4314 1.9 lukem
4315 1.1 tv {
4316 1.9 lukem echo "cat >conf$$subs.awk <<_ACEOF" &&
4317 1.9 lukem echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4318 1.9 lukem echo "_ACEOF"
4319 1.9 lukem } >conf$$subs.sh ||
4320 1.9 lukem as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4321 1.9 lukem ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4322 1.9 lukem ac_delim='%!_!# '
4323 1.9 lukem for ac_last_try in false false false false false :; do
4324 1.9 lukem . ./conf$$subs.sh ||
4325 1.9 lukem as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4326 1.9 lukem
4327 1.9 lukem ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4328 1.9 lukem if test $ac_delim_n = $ac_delim_num; then
4329 1.9 lukem break
4330 1.9 lukem elif $ac_last_try; then
4331 1.9 lukem as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4332 1.9 lukem else
4333 1.9 lukem ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4334 1.9 lukem fi
4335 1.9 lukem done
4336 1.9 lukem rm -f conf$$subs.sh
4337 1.9 lukem
4338 1.9 lukem cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4339 1.9 lukem cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4340 1.9 lukem _ACEOF
4341 1.9 lukem sed -n '
4342 1.9 lukem h
4343 1.9 lukem s/^/S["/; s/!.*/"]=/
4344 1.9 lukem p
4345 1.9 lukem g
4346 1.9 lukem s/^[^!]*!//
4347 1.9 lukem :repl
4348 1.9 lukem t repl
4349 1.9 lukem s/'"$ac_delim"'$//
4350 1.9 lukem t delim
4351 1.9 lukem :nl
4352 1.9 lukem h
4353 1.9 lukem s/\(.\{148\}\)..*/\1/
4354 1.9 lukem t more1
4355 1.9 lukem s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4356 1.9 lukem p
4357 1.9 lukem n
4358 1.9 lukem b repl
4359 1.9 lukem :more1
4360 1.9 lukem s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4361 1.9 lukem p
4362 1.9 lukem g
4363 1.9 lukem s/.\{148\}//
4364 1.9 lukem t nl
4365 1.9 lukem :delim
4366 1.9 lukem h
4367 1.9 lukem s/\(.\{148\}\)..*/\1/
4368 1.9 lukem t more2
4369 1.9 lukem s/["\\]/\\&/g; s/^/"/; s/$/"/
4370 1.9 lukem p
4371 1.9 lukem b
4372 1.9 lukem :more2
4373 1.9 lukem s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4374 1.9 lukem p
4375 1.9 lukem g
4376 1.9 lukem s/.\{148\}//
4377 1.9 lukem t delim
4378 1.9 lukem ' <conf$$subs.awk | sed '
4379 1.9 lukem /^[^""]/{
4380 1.9 lukem N
4381 1.9 lukem s/\n//
4382 1.1 tv }
4383 1.9 lukem ' >>$CONFIG_STATUS || ac_write_fail=1
4384 1.9 lukem rm -f conf$$subs.awk
4385 1.9 lukem cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4386 1.9 lukem _ACAWK
4387 1.9 lukem cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4388 1.9 lukem for (key in S) S_is_set[key] = 1
4389 1.9 lukem FS = ""
4390 1.1 tv
4391 1.9 lukem }
4392 1.9 lukem {
4393 1.9 lukem line = $ 0
4394 1.9 lukem nfields = split(line, field, "@")
4395 1.9 lukem substed = 0
4396 1.9 lukem len = length(field[1])
4397 1.9 lukem for (i = 2; i < nfields; i++) {
4398 1.9 lukem key = field[i]
4399 1.9 lukem keylen = length(key)
4400 1.9 lukem if (S_is_set[key]) {
4401 1.9 lukem value = S[key]
4402 1.9 lukem line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4403 1.9 lukem len += length(value) + length(field[++i])
4404 1.9 lukem substed = 1
4405 1.9 lukem } else
4406 1.9 lukem len += 1 + keylen
4407 1.9 lukem }
4408 1.1 tv
4409 1.9 lukem print line
4410 1.9 lukem }
4411 1.1 tv
4412 1.9 lukem _ACAWK
4413 1.9 lukem _ACEOF
4414 1.9 lukem cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4415 1.9 lukem if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4416 1.9 lukem sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4417 1.9 lukem else
4418 1.9 lukem cat
4419 1.9 lukem fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4420 1.9 lukem || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4421 1.9 lukem _ACEOF
4422 1.9 lukem
4423 1.9 lukem # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4424 1.9 lukem # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4425 1.9 lukem # trailing colons and then remove the whole line if VPATH becomes empty
4426 1.9 lukem # (actually we leave an empty line to preserve line numbers).
4427 1.9 lukem if test "x$srcdir" = x.; then
4428 1.9 lukem ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4429 1.9 lukem h
4430 1.9 lukem s///
4431 1.9 lukem s/^/:/
4432 1.9 lukem s/[ ]*$/:/
4433 1.9 lukem s/:\$(srcdir):/:/g
4434 1.9 lukem s/:\${srcdir}:/:/g
4435 1.9 lukem s/:@srcdir@:/:/g
4436 1.9 lukem s/^:*//
4437 1.9 lukem s/:*$//
4438 1.9 lukem x
4439 1.9 lukem s/\(=[ ]*\).*/\1/
4440 1.9 lukem G
4441 1.9 lukem s/\n//
4442 1.9 lukem s/^[^=]*=[ ]*$//
4443 1.9 lukem }'
4444 1.9 lukem fi
4445 1.1 tv
4446 1.9 lukem cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4447 1.1 tv fi # test -n "$CONFIG_FILES"
4448 1.1 tv
4449 1.9 lukem
4450 1.9 lukem eval set X " :F $CONFIG_FILES "
4451 1.9 lukem shift
4452 1.9 lukem for ac_tag
4453 1.9 lukem do
4454 1.9 lukem case $ac_tag in
4455 1.9 lukem :[FHLC]) ac_mode=$ac_tag; continue;;
4456 1.9 lukem esac
4457 1.9 lukem case $ac_mode$ac_tag in
4458 1.9 lukem :[FHL]*:*);;
4459 1.9 lukem :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4460 1.9 lukem :[FH]-) ac_tag=-:-;;
4461 1.9 lukem :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4462 1.1 tv esac
4463 1.9 lukem ac_save_IFS=$IFS
4464 1.9 lukem IFS=:
4465 1.9 lukem set x $ac_tag
4466 1.9 lukem IFS=$ac_save_IFS
4467 1.9 lukem shift
4468 1.9 lukem ac_file=$1
4469 1.9 lukem shift
4470 1.1 tv
4471 1.9 lukem case $ac_mode in
4472 1.9 lukem :L) ac_source=$1;;
4473 1.9 lukem :[FH])
4474 1.9 lukem ac_file_inputs=
4475 1.9 lukem for ac_f
4476 1.9 lukem do
4477 1.9 lukem case $ac_f in
4478 1.9 lukem -) ac_f="$ac_tmp/stdin";;
4479 1.9 lukem *) # Look for the file first in the build tree, then in the source tree
4480 1.9 lukem # (if the path is not absolute). The absolute path cannot be DOS-style,
4481 1.9 lukem # because $ac_f cannot contain `:'.
4482 1.9 lukem test -f "$ac_f" ||
4483 1.9 lukem case $ac_f in
4484 1.9 lukem [\\/$]*) false;;
4485 1.9 lukem *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4486 1.9 lukem esac ||
4487 1.9 lukem as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4488 1.9 lukem esac
4489 1.9 lukem case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4490 1.9 lukem as_fn_append ac_file_inputs " '$ac_f'"
4491 1.9 lukem done
4492 1.9 lukem
4493 1.9 lukem # Let's still pretend it is `configure' which instantiates (i.e., don't
4494 1.9 lukem # use $as_me), people would be surprised to read:
4495 1.9 lukem # /* config.h. Generated by config.status. */
4496 1.9 lukem configure_input='Generated from '`
4497 1.9 lukem $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4498 1.9 lukem `' by configure.'
4499 1.9 lukem if test x"$ac_file" != x-; then
4500 1.9 lukem configure_input="$ac_file. $configure_input"
4501 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4502 1.9 lukem $as_echo "$as_me: creating $ac_file" >&6;}
4503 1.9 lukem fi
4504 1.9 lukem # Neutralize special characters interpreted by sed in replacement strings.
4505 1.9 lukem case $configure_input in #(
4506 1.9 lukem *\&* | *\|* | *\\* )
4507 1.9 lukem ac_sed_conf_input=`$as_echo "$configure_input" |
4508 1.9 lukem sed 's/[\\\\&|]/\\\\&/g'`;; #(
4509 1.9 lukem *) ac_sed_conf_input=$configure_input;;
4510 1.9 lukem esac
4511 1.9 lukem
4512 1.9 lukem case $ac_tag in
4513 1.9 lukem *:-:* | *:-) cat >"$ac_tmp/stdin" \
4514 1.9 lukem || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4515 1.9 lukem esac
4516 1.1 tv ;;
4517 1.1 tv esac
4518 1.1 tv
4519 1.9 lukem ac_dir=`$as_dirname -- "$ac_file" ||
4520 1.9 lukem $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4521 1.9 lukem X"$ac_file" : 'X\(//\)[^/]' \| \
4522 1.9 lukem X"$ac_file" : 'X\(//\)$' \| \
4523 1.9 lukem X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4524 1.9 lukem $as_echo X"$ac_file" |
4525 1.9 lukem sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4526 1.9 lukem s//\1/
4527 1.9 lukem q
4528 1.9 lukem }
4529 1.9 lukem /^X\(\/\/\)[^/].*/{
4530 1.9 lukem s//\1/
4531 1.9 lukem q
4532 1.9 lukem }
4533 1.9 lukem /^X\(\/\/\)$/{
4534 1.9 lukem s//\1/
4535 1.9 lukem q
4536 1.9 lukem }
4537 1.9 lukem /^X\(\/\).*/{
4538 1.9 lukem s//\1/
4539 1.9 lukem q
4540 1.9 lukem }
4541 1.9 lukem s/.*/./; q'`
4542 1.9 lukem as_dir="$ac_dir"; as_fn_mkdir_p
4543 1.9 lukem ac_builddir=.
4544 1.9 lukem
4545 1.9 lukem case "$ac_dir" in
4546 1.9 lukem .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4547 1.9 lukem *)
4548 1.9 lukem ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4549 1.9 lukem # A ".." for each directory in $ac_dir_suffix.
4550 1.9 lukem ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4551 1.9 lukem case $ac_top_builddir_sub in
4552 1.9 lukem "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4553 1.9 lukem *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4554 1.9 lukem esac ;;
4555 1.9 lukem esac
4556 1.9 lukem ac_abs_top_builddir=$ac_pwd
4557 1.9 lukem ac_abs_builddir=$ac_pwd$ac_dir_suffix
4558 1.9 lukem # for backward compatibility:
4559 1.9 lukem ac_top_builddir=$ac_top_build_prefix
4560 1.9 lukem
4561 1.9 lukem case $srcdir in
4562 1.9 lukem .) # We are building in place.
4563 1.9 lukem ac_srcdir=.
4564 1.9 lukem ac_top_srcdir=$ac_top_builddir_sub
4565 1.9 lukem ac_abs_top_srcdir=$ac_pwd ;;
4566 1.9 lukem [\\/]* | ?:[\\/]* ) # Absolute name.
4567 1.9 lukem ac_srcdir=$srcdir$ac_dir_suffix;
4568 1.9 lukem ac_top_srcdir=$srcdir
4569 1.9 lukem ac_abs_top_srcdir=$srcdir ;;
4570 1.9 lukem *) # Relative name.
4571 1.9 lukem ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4572 1.9 lukem ac_top_srcdir=$ac_top_build_prefix$srcdir
4573 1.9 lukem ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4574 1.9 lukem esac
4575 1.9 lukem ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4576 1.9 lukem
4577 1.9 lukem
4578 1.9 lukem case $ac_mode in
4579 1.9 lukem :F)
4580 1.9 lukem #
4581 1.9 lukem # CONFIG_FILE
4582 1.9 lukem #
4583 1.9 lukem
4584 1.9 lukem _ACEOF
4585 1.1 tv
4586 1.9 lukem cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4587 1.9 lukem # If the template does not know about datarootdir, expand it.
4588 1.9 lukem # FIXME: This hack should be removed a few years after 2.60.
4589 1.9 lukem ac_datarootdir_hack=; ac_datarootdir_seen=
4590 1.9 lukem ac_sed_dataroot='
4591 1.9 lukem /datarootdir/ {
4592 1.9 lukem p
4593 1.9 lukem q
4594 1.9 lukem }
4595 1.9 lukem /@datadir@/p
4596 1.9 lukem /@docdir@/p
4597 1.9 lukem /@infodir@/p
4598 1.9 lukem /@localedir@/p
4599 1.9 lukem /@mandir@/p'
4600 1.9 lukem case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4601 1.9 lukem *datarootdir*) ac_datarootdir_seen=yes;;
4602 1.9 lukem *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4603 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4604 1.9 lukem $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4605 1.9 lukem _ACEOF
4606 1.9 lukem cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4607 1.9 lukem ac_datarootdir_hack='
4608 1.9 lukem s&@datadir@&$datadir&g
4609 1.9 lukem s&@docdir@&$docdir&g
4610 1.9 lukem s&@infodir@&$infodir&g
4611 1.9 lukem s&@localedir@&$localedir&g
4612 1.9 lukem s&@mandir@&$mandir&g
4613 1.9 lukem s&\\\${datarootdir}&$datarootdir&g' ;;
4614 1.9 lukem esac
4615 1.9 lukem _ACEOF
4616 1.1 tv
4617 1.9 lukem # Neutralize VPATH when `$srcdir' = `.'.
4618 1.9 lukem # Shell code in configure.ac might set extrasub.
4619 1.9 lukem # FIXME: do we really want to maintain this feature?
4620 1.9 lukem cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4621 1.9 lukem ac_sed_extra="$ac_vpsub
4622 1.1 tv $extrasub
4623 1.9 lukem _ACEOF
4624 1.9 lukem cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4625 1.1 tv :t
4626 1.1 tv /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4627 1.9 lukem s|@configure_input@|$ac_sed_conf_input|;t t
4628 1.9 lukem s&@top_builddir@&$ac_top_builddir_sub&;t t
4629 1.9 lukem s&@top_build_prefix@&$ac_top_build_prefix&;t t
4630 1.9 lukem s&@srcdir@&$ac_srcdir&;t t
4631 1.9 lukem s&@abs_srcdir@&$ac_abs_srcdir&;t t
4632 1.9 lukem s&@top_srcdir@&$ac_top_srcdir&;t t
4633 1.9 lukem s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4634 1.9 lukem s&@builddir@&$ac_builddir&;t t
4635 1.9 lukem s&@abs_builddir@&$ac_abs_builddir&;t t
4636 1.9 lukem s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4637 1.9 lukem $ac_datarootdir_hack
4638 1.9 lukem "
4639 1.9 lukem eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4640 1.9 lukem >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4641 1.9 lukem
4642 1.9 lukem test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4643 1.9 lukem { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4644 1.9 lukem { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4645 1.9 lukem "$ac_tmp/out"`; test -z "$ac_out"; } &&
4646 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4647 1.9 lukem which seems to be undefined. Please make sure it is defined" >&5
4648 1.9 lukem $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4649 1.9 lukem which seems to be undefined. Please make sure it is defined" >&2;}
4650 1.9 lukem
4651 1.9 lukem rm -f "$ac_tmp/stdin"
4652 1.9 lukem case $ac_file in
4653 1.9 lukem -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4654 1.9 lukem *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4655 1.9 lukem esac \
4656 1.9 lukem || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4657 1.9 lukem ;;
4658 1.9 lukem
4659 1.9 lukem
4660 1.9 lukem
4661 1.9 lukem esac
4662 1.1 tv
4663 1.9 lukem done # for ac_tag
4664 1.1 tv
4665 1.1 tv
4666 1.9 lukem as_fn_exit 0
4667 1.9 lukem _ACEOF
4668 1.1 tv ac_clean_files=$ac_clean_files_save
4669 1.1 tv
4670 1.9 lukem test $ac_write_fail = 0 ||
4671 1.9 lukem as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4672 1.9 lukem
4673 1.9 lukem
4674 1.1 tv # configure is writing to config.log, and then calls config.status.
4675 1.1 tv # config.status does its own redirection, appending to config.log.
4676 1.1 tv # Unfortunately, on DOS this fails, as config.log is still kept open
4677 1.1 tv # by configure, so config.status won't be able to write to it; its
4678 1.1 tv # output is simply discarded. So we exec the FD to /dev/null,
4679 1.1 tv # effectively closing config.log, so it can be properly (re)opened and
4680 1.1 tv # appended to by config.status. When coming back to configure, we
4681 1.1 tv # need to make the FD available again.
4682 1.1 tv if test "$no_create" != yes; then
4683 1.1 tv ac_cs_success=:
4684 1.9 lukem ac_config_status_args=
4685 1.9 lukem test "$silent" = yes &&
4686 1.9 lukem ac_config_status_args="$ac_config_status_args --quiet"
4687 1.1 tv exec 5>/dev/null
4688 1.9 lukem $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4689 1.1 tv exec 5>>config.log
4690 1.1 tv # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4691 1.1 tv # would make configure fail if this is the last instruction.
4692 1.9 lukem $ac_cs_success || as_fn_exit 1
4693 1.1 tv fi
4694 1.9 lukem if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4695 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4696 1.9 lukem $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4697 1.9 lukem fi
4698 1.9 lukem
4699 1.9 lukem
4700 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: ========== configure results for make ===========" >&5
4701 1.9 lukem $as_echo "$as_me: ========== configure results for make ===========" >&6;}
4702 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: CC $CC" >&5
4703 1.9 lukem $as_echo "$as_me: CC $CC" >&6;}
4704 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: CFLAGS $CFLAGS" >&5
4705 1.9 lukem $as_echo "$as_me: CFLAGS $CFLAGS" >&6;}
4706 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: CPPFLAGS $CPPFLAGS" >&5
4707 1.9 lukem $as_echo "$as_me: CPPFLAGS $CPPFLAGS" >&6;}
4708 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: DEFS $DEFS" >&5
4709 1.9 lukem $as_echo "$as_me: DEFS $DEFS" >&6;}
4710 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: LDFLAGS $LDFLAGS" >&5
4711 1.9 lukem $as_echo "$as_me: LDFLAGS $LDFLAGS" >&6;}
4712 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: LIBS $LIBS" >&5
4713 1.9 lukem $as_echo "$as_me: LIBS $LIBS" >&6;}
4714 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: NOWARNFLAGS $NOWARNFLAGS" >&5
4715 1.9 lukem $as_echo "$as_me: NOWARNFLAGS $NOWARNFLAGS" >&6;}
4716 1.1 tv
4717 1.9 lukem { $as_echo "$as_me:${as_lineno-$LINENO}: ================================================" >&5
4718 1.9 lukem $as_echo "$as_me: ================================================" >&6;}
4719