blob: 72647b0a329adea1e452de82ab7f2bd7fbb8f8f7 [file] [log] [blame]
brynercb91a2f2006-08-25 21:14:45 +00001#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
mark@chromium.org39d79642013-11-23 01:45:20 +00003# Generated by GNU Autoconf 2.69 for breakpad 0.1.
brynercb91a2f2006-08-25 21:14:45 +00004#
thestig@chromium.org43e6db72010-11-08 19:49:41 +00005# Report bugs to <google-breakpad-dev@googlegroups.com>.
brynercb91a2f2006-08-25 21:14:45 +00006#
jimblandydc4029a2010-02-02 17:39:51 +00007#
mark@chromium.org39d79642013-11-23 01:45:20 +00008# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
jimblandydc4029a2010-02-02 17:39:51 +00009#
jimblandy92b1f832009-12-23 22:23:49 +000010#
brynercb91a2f2006-08-25 21:14:45 +000011# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
jimblandy92b1f832009-12-23 22:23:49 +000013## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
brynercb91a2f2006-08-25 21:14:45 +000016
mmentovaiaf3c43f2007-05-17 18:34:37 +000017# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
jimblandy92b1f832009-12-23 22:23:49 +000019if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
brynercb91a2f2006-08-25 21:14:45 +000020 emulate sh
21 NULLCMD=:
jimblandy92b1f832009-12-23 22:23:49 +000022 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
brynercb91a2f2006-08-25 21:14:45 +000023 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
mmentovai8c2a4de2006-09-20 16:20:15 +000025 setopt NO_GLOB_SUBST
26else
jimblandy92b1f832009-12-23 22:23:49 +000027 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
mmentovaiaf3c43f2007-05-17 18:34:37 +000032esac
brynercb91a2f2006-08-25 21:14:45 +000033fi
mmentovaiaf3c43f2007-05-17 18:34:37 +000034
35
jimblandy92b1f832009-12-23 22:23:49 +000036as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72fi
brynercb91a2f2006-08-25 21:14:45 +000073
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
jimblandy92b1f832009-12-23 22:23:49 +000076 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
mmentovai8c2a4de2006-09-20 16:20:15 +000081fi
brynercb91a2f2006-08-25 21:14:45 +000082
mmentovai8c2a4de2006-09-20 16:20:15 +000083
84# IFS
85# We need space, tab and new line, in precisely that order. Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
mmentovai8c2a4de2006-09-20 16:20:15 +000089IFS=" "" $as_nl"
90
91# Find who we are. Look in the path if we contain no directory separator.
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +000092as_myself=
jimblandy92b1f832009-12-23 22:23:49 +000093case $0 in #((
mmentovai8c2a4de2006-09-20 16:20:15 +000094 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
brynercb91a2f2006-08-25 21:14:45 +000096for as_dir in $PATH
97do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
jimblandy92b1f832009-12-23 22:23:49 +0000100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
mmentovai8c2a4de2006-09-20 16:20:15 +0000102IFS=$as_save_IFS
brynercb91a2f2006-08-25 21:14:45 +0000103
mmentovai8c2a4de2006-09-20 16:20:15 +0000104 ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109 as_myself=$0
110fi
111if test ! -f "$as_myself"; then
jimblandy92b1f832009-12-23 22:23:49 +0000112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
mmentovai8c2a4de2006-09-20 16:20:15 +0000114fi
115
jimblandy92b1f832009-12-23 22:23:49 +0000116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there. '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
mmentovai8c2a4de2006-09-20 16:20:15 +0000123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
jimblandy92b1f832009-12-23 22:23:49 +0000129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
mmentovai8c2a4de2006-09-20 16:20:15 +0000133
jimblandy92b1f832009-12-23 22:23:49 +0000134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
mark@chromium.org39d79642013-11-23 01:45:20 +0000137# Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
jimblandy92b1f832009-12-23 22:23:49 +0000162if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176esac
177fi
178"
179 as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193 exitcode=1; echo positional parameters were not saved.
194fi
mark@chromium.org39d79642013-11-23 01:45:20 +0000195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
jimblandy92b1f832009-12-23 22:23:49 +0000197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204else
205 as_have_required=no
206fi
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
218 /*)
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
227fi
228fi
229 done;;
230 esac
231 as_found=false
232done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS
238
239
240 if test "x$CONFIG_SHELL" != x; then :
mark@chromium.org39d79642013-11-23 01:45:20 +0000241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255
jimblandy92b1f832009-12-23 22:23:49 +0000260fi
261
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
ted.mielczarekdbf409c2011-02-28 14:05:22 +0000270$0: google-breakpad-dev@googlegroups.com about your system,
271$0: including any error possibly output before this
272$0: message. Then install a modern shell, or manually run
273$0: the script under such a shell if you do have one."
jimblandy92b1f832009-12-23 22:23:49 +0000274 fi
275 exit 1
276fi
277fi
278fi
279SHELL=${CONFIG_SHELL-/bin/sh}
280export SHELL
281# Unset more variables known to interfere with behavior of common tools.
282CLICOLOR_FORCE= GREP_OPTIONS=
283unset CLICOLOR_FORCE GREP_OPTIONS
284
285## --------------------- ##
286## M4sh Shell Functions. ##
287## --------------------- ##
288# as_fn_unset VAR
289# ---------------
290# Portably unset VAR.
291as_fn_unset ()
292{
293 { eval $1=; unset $1;}
294}
295as_unset=as_fn_unset
296
297# as_fn_set_status STATUS
298# -----------------------
299# Set $? to STATUS, without forking.
300as_fn_set_status ()
301{
302 return $1
303} # as_fn_set_status
304
305# as_fn_exit STATUS
306# -----------------
307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308as_fn_exit ()
309{
310 set +e
311 as_fn_set_status $1
312 exit $1
313} # as_fn_exit
314
315# as_fn_mkdir_p
316# -------------
317# Create "$as_dir" as a directory, including parents if necessary.
318as_fn_mkdir_p ()
319{
320
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337$as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
344 q
345 }
346 /^X\(\/\/\)$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\).*/{
351 s//\1/
352 q
353 }
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +0000358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
jimblandy92b1f832009-12-23 22:23:49 +0000359
360
361} # as_fn_mkdir_p
mark@chromium.org39d79642013-11-23 01:45:20 +0000362
363# as_fn_executable_p FILE
364# -----------------------
365# Test if FILE is an executable regular file.
366as_fn_executable_p ()
367{
368 test -f "$1" && test -x "$1"
369} # as_fn_executable_p
jimblandy92b1f832009-12-23 22:23:49 +0000370# as_fn_append VAR VALUE
371# ----------------------
372# Append the text in VALUE to the end of the definition contained in VAR. Take
373# advantage of any shell optimizations that allow amortized linear growth over
374# repeated appends, instead of the typical quadratic growth present in naive
375# implementations.
376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
378 {
379 eval $1+=\$2
380 }'
381else
382 as_fn_append ()
383 {
384 eval $1=\$$1\$2
385 }
386fi # as_fn_append
387
388# as_fn_arith ARG...
389# ------------------
390# Perform arithmetic evaluation on the ARGs, and store the result in the
391# global $as_val. Take advantage of shells that can avoid forks. The arguments
392# must be portable across $(()) and expr.
393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
395 {
396 as_val=$(( $* ))
397 }'
398else
399 as_fn_arith ()
400 {
401 as_val=`expr "$@" || test $? -eq 1`
402 }
403fi # as_fn_arith
404
405
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +0000406# as_fn_error STATUS ERROR [LINENO LOG_FD]
407# ----------------------------------------
jimblandy92b1f832009-12-23 22:23:49 +0000408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +0000410# script with STATUS, using 1 if that was 0.
jimblandy92b1f832009-12-23 22:23:49 +0000411as_fn_error ()
412{
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +0000413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
jimblandy92b1f832009-12-23 22:23:49 +0000417 fi
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +0000418 $as_echo "$as_me: error: $2" >&2
jimblandy92b1f832009-12-23 22:23:49 +0000419 as_fn_exit $as_status
420} # as_fn_error
421
mmentovai8c2a4de2006-09-20 16:20:15 +0000422if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425else
426 as_expr=false
427fi
428
429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431else
432 as_basename=false
433fi
434
jimblandy92b1f832009-12-23 22:23:49 +0000435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437else
438 as_dirname=false
439fi
mmentovai8c2a4de2006-09-20 16:20:15 +0000440
mmentovai8c2a4de2006-09-20 16:20:15 +0000441as_me=`$as_basename -- "$0" ||
442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
jimblandy92b1f832009-12-23 22:23:49 +0000445$as_echo X/"$0" |
mmentovai8c2a4de2006-09-20 16:20:15 +0000446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\/\)$/{
451 s//\1/
452 q
453 }
454 /^X\/\(\/\).*/{
455 s//\1/
456 q
457 }
458 s/.*/./; q'`
459
jimblandy92b1f832009-12-23 22:23:49 +0000460# Avoid depending upon Character Ranges.
461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464as_cr_digits='0123456789'
465as_cr_alnum=$as_cr_Letters$as_cr_digits
mmentovai8c2a4de2006-09-20 16:20:15 +0000466
467
jimblandy92b1f832009-12-23 22:23:49 +0000468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
mmentovai8c2a4de2006-09-20 16:20:15 +0000473 sed -n '
474 p
475 /[$]LINENO/=
476 ' <$as_myself |
brynercb91a2f2006-08-25 21:14:45 +0000477 sed '
mmentovai8c2a4de2006-09-20 16:20:15 +0000478 s/[$]LINENO.*/&-/
479 t lineno
480 b
481 :lineno
brynercb91a2f2006-08-25 21:14:45 +0000482 N
mmentovai8c2a4de2006-09-20 16:20:15 +0000483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
brynercb91a2f2006-08-25 21:14:45 +0000485 t loop
mmentovai8c2a4de2006-09-20 16:20:15 +0000486 s/-\n.*//
brynercb91a2f2006-08-25 21:14:45 +0000487 ' >$as_me.lineno &&
mmentovai8c2a4de2006-09-20 16:20:15 +0000488 chmod +x "$as_me.lineno" ||
jimblandy92b1f832009-12-23 22:23:49 +0000489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
brynercb91a2f2006-08-25 21:14:45 +0000490
mark@chromium.org39d79642013-11-23 01:45:20 +0000491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
brynercb91a2f2006-08-25 21:14:45 +0000495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
mmentovai8c2a4de2006-09-20 16:20:15 +0000497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
brynercb91a2f2006-08-25 21:14:45 +0000499 # Exit status is that of the last command.
500 exit
501}
502
mmentovai8c2a4de2006-09-20 16:20:15 +0000503ECHO_C= ECHO_N= ECHO_T=
jimblandy92b1f832009-12-23 22:23:49 +0000504case `echo -n x` in #(((((
mmentovai8c2a4de2006-09-20 16:20:15 +0000505-n*)
jimblandy92b1f832009-12-23 22:23:49 +0000506 case `echo 'xy\c'` in
mmentovai8c2a4de2006-09-20 16:20:15 +0000507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
jimblandy92b1f832009-12-23 22:23:49 +0000508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
mmentovai8c2a4de2006-09-20 16:20:15 +0000511 esac;;
512*)
513 ECHO_N='-n';;
brynercb91a2f2006-08-25 21:14:45 +0000514esac
515
brynercb91a2f2006-08-25 21:14:45 +0000516rm -f conf$$ conf$$.exe conf$$.file
mmentovai8c2a4de2006-09-20 16:20:15 +0000517if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519else
520 rm -f conf$$.dir
jimblandy92b1f832009-12-23 22:23:49 +0000521 mkdir conf$$.dir 2>/dev/null
mmentovai8c2a4de2006-09-20 16:20:15 +0000522fi
jimblandy92b1f832009-12-23 22:23:49 +0000523if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
mark@chromium.org39d79642013-11-23 01:45:20 +0000529 # In both cases, we have to default to `cp -pR'.
jimblandy92b1f832009-12-23 22:23:49 +0000530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
mark@chromium.org39d79642013-11-23 01:45:20 +0000531 as_ln_s='cp -pR'
jimblandy92b1f832009-12-23 22:23:49 +0000532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
mark@chromium.org39d79642013-11-23 01:45:20 +0000535 as_ln_s='cp -pR'
jimblandy92b1f832009-12-23 22:23:49 +0000536 fi
brynercb91a2f2006-08-25 21:14:45 +0000537else
mark@chromium.org39d79642013-11-23 01:45:20 +0000538 as_ln_s='cp -pR'
brynercb91a2f2006-08-25 21:14:45 +0000539fi
mmentovai8c2a4de2006-09-20 16:20:15 +0000540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541rmdir conf$$.dir 2>/dev/null
brynercb91a2f2006-08-25 21:14:45 +0000542
543if mkdir -p . 2>/dev/null; then
jimblandy92b1f832009-12-23 22:23:49 +0000544 as_mkdir_p='mkdir -p "$as_dir"'
brynercb91a2f2006-08-25 21:14:45 +0000545else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
548fi
549
mark@chromium.org39d79642013-11-23 01:45:20 +0000550as_test_x='test -x'
551as_executable_p=as_fn_executable_p
brynercb91a2f2006-08-25 21:14:45 +0000552
553# Sed expression to map a string onto a valid CPP name.
554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556# Sed expression to map a string onto a valid variable name.
557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
jimblandydc4029a2010-02-02 17:39:51 +0000560test -n "$DJDIR" || exec 7<&0 </dev/null
561exec 6>&1
mmentovai8c2a4de2006-09-20 16:20:15 +0000562
brynercb91a2f2006-08-25 21:14:45 +0000563# Name of the host.
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +0000564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
brynercb91a2f2006-08-25 21:14:45 +0000565# so uname gets run too.
566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
brynercb91a2f2006-08-25 21:14:45 +0000568#
569# Initializations.
570#
571ac_default_prefix=/usr/local
mmentovai8c2a4de2006-09-20 16:20:15 +0000572ac_clean_files=
brynercb91a2f2006-08-25 21:14:45 +0000573ac_config_libobj_dir=.
mmentovai8c2a4de2006-09-20 16:20:15 +0000574LIBOBJS=
brynercb91a2f2006-08-25 21:14:45 +0000575cross_compiling=no
576subdirs=
577MFLAGS=
578MAKEFLAGS=
brynercb91a2f2006-08-25 21:14:45 +0000579
brynercb91a2f2006-08-25 21:14:45 +0000580# Identity of this package.
mmentovaie5dc6082007-02-14 19:51:05 +0000581PACKAGE_NAME='breakpad'
582PACKAGE_TARNAME='breakpad'
Mike Frysinger3b8d8c02013-08-15 20:17:54 -0400583PACKAGE_VERSION='0.1'
584PACKAGE_STRING='breakpad 0.1'
thestig@chromium.org43e6db72010-11-08 19:49:41 +0000585PACKAGE_BUGREPORT='google-breakpad-dev@googlegroups.com'
jimblandy92b1f832009-12-23 22:23:49 +0000586PACKAGE_URL=''
brynercb91a2f2006-08-25 21:14:45 +0000587
588ac_unique_file="README"
ted.mielczarekdbf409c2011-02-28 14:05:22 +0000589# Factoring default headers for most tests.
590ac_includes_default="\
591#include <stdio.h>
592#ifdef HAVE_SYS_TYPES_H
593# include <sys/types.h>
594#endif
595#ifdef HAVE_SYS_STAT_H
596# include <sys/stat.h>
597#endif
598#ifdef STDC_HEADERS
599# include <stdlib.h>
600# include <stddef.h>
601#else
602# ifdef HAVE_STDLIB_H
603# include <stdlib.h>
604# endif
605#endif
606#ifdef HAVE_STRING_H
607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608# include <memory.h>
609# endif
610# include <string.h>
611#endif
612#ifdef HAVE_STRINGS_H
613# include <strings.h>
614#endif
615#ifdef HAVE_INTTYPES_H
616# include <inttypes.h>
617#endif
618#ifdef HAVE_STDINT_H
619# include <stdint.h>
620#endif
621#ifdef HAVE_UNISTD_H
622# include <unistd.h>
623#endif"
624
jimblandy92b1f832009-12-23 22:23:49 +0000625ac_subst_vars='am__EXEEXT_FALSE
626am__EXEEXT_TRUE
627LTLIBOBJS
mmentovai8c2a4de2006-09-20 16:20:15 +0000628LIBOBJS
jimblandy92b1f832009-12-23 22:23:49 +0000629SELFTEST_FALSE
630SELFTEST_TRUE
ted.mielczarekdbf409c2011-02-28 14:05:22 +0000631DISABLE_TOOLS_FALSE
632DISABLE_TOOLS_TRUE
ted.mielczareke574a2a2010-10-05 19:38:22 +0000633DISABLE_PROCESSOR_FALSE
634DISABLE_PROCESSOR_TRUE
digit@chromium.orged581672012-08-21 14:34:48 +0000635ANDROID_HOST_FALSE
636ANDROID_HOST_TRUE
ted.mielczarek53a8b1a2010-08-31 15:09:01 +0000637LINUX_HOST_FALSE
638LINUX_HOST_TRUE
nealsidde545c02010-03-02 00:39:48 +0000639PTHREAD_CFLAGS
640PTHREAD_LIBS
641PTHREAD_CC
642ax_pthread_config
jimblandy92b1f832009-12-23 22:23:49 +0000643EGREP
644GREP
ivan.penkov@gmail.comb7323422012-07-02 22:55:57 +0000645GCC_FALSE
646GCC_TRUE
ted.mielczarekd192a712010-10-05 19:38:51 +0000647RANLIB
jimblandy92b1f832009-12-23 22:23:49 +0000648am__fastdepCXX_FALSE
649am__fastdepCXX_TRUE
650CXXDEPMODE
651ac_ct_CXX
652CXXFLAGS
653CXX
654CPP
digit@chromium.org979d8f42012-08-31 18:38:29 +0000655am__fastdepCCAS_FALSE
656am__fastdepCCAS_TRUE
657CCASDEPMODE
658CCASFLAGS
659CCAS
jimblandy92b1f832009-12-23 22:23:49 +0000660am__fastdepCC_FALSE
661am__fastdepCC_TRUE
662CCDEPMODE
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +0000663am__nodep
jimblandy92b1f832009-12-23 22:23:49 +0000664AMDEPBACKSLASH
665AMDEP_FALSE
666AMDEP_TRUE
667am__quote
668am__include
669DEPDIR
670OBJEXT
671EXEEXT
672ac_ct_CC
673CPPFLAGS
674LDFLAGS
675CFLAGS
676CC
ted.mielczarek@gmail.com67ce33b2013-12-10 12:28:11 +0000677MAINT
678MAINTAINER_MODE_FALSE
679MAINTAINER_MODE_TRUE
mark@chromium.org39d79642013-11-23 01:45:20 +0000680AM_BACKSLASH
681AM_DEFAULT_VERBOSITY
682AM_DEFAULT_V
683AM_V
jimblandy92b1f832009-12-23 22:23:49 +0000684am__untar
685am__tar
686AMTAR
687am__leading_dot
688SET_MAKE
689AWK
690mkdir_p
691MKDIR_P
692INSTALL_STRIP_PROGRAM
693STRIP
694install_sh
695MAKEINFO
696AUTOHEADER
697AUTOMAKE
698AUTOCONF
699ACLOCAL
700VERSION
701PACKAGE
702CYGPATH_W
703am__isrc
704INSTALL_DATA
705INSTALL_SCRIPT
706INSTALL_PROGRAM
ted.mielczarek53a8b1a2010-08-31 15:09:01 +0000707host_os
708host_vendor
709host_cpu
710host
711build_os
712build_vendor
713build_cpu
714build
jimblandy92b1f832009-12-23 22:23:49 +0000715target_alias
716host_alias
717build_alias
718LIBS
719ECHO_T
720ECHO_N
721ECHO_C
722DEFS
723mandir
724localedir
725libdir
726psdir
727pdfdir
728dvidir
729htmldir
730infodir
731docdir
732oldincludedir
733includedir
734localstatedir
735sharedstatedir
736sysconfdir
737datadir
738datarootdir
739libexecdir
740sbindir
741bindir
742program_transform_name
743prefix
744exec_prefix
745PACKAGE_URL
746PACKAGE_BUGREPORT
747PACKAGE_STRING
748PACKAGE_VERSION
749PACKAGE_TARNAME
750PACKAGE_NAME
751PATH_SEPARATOR
752SHELL'
brynercb91a2f2006-08-25 21:14:45 +0000753ac_subst_files=''
jimblandy92b1f832009-12-23 22:23:49 +0000754ac_user_opts='
755enable_option_checking
mark@chromium.org39d79642013-11-23 01:45:20 +0000756enable_silent_rules
ted.mielczarek@gmail.com67ce33b2013-12-10 12:28:11 +0000757enable_maintainer_mode
jimblandy92b1f832009-12-23 22:23:49 +0000758enable_dependency_tracking
nealsidde545c02010-03-02 00:39:48 +0000759enable_m32
vapier@chromium.org597e2a72013-12-10 06:28:08 +0000760enable_largefile
ted.mielczareke574a2a2010-10-05 19:38:22 +0000761enable_processor
ted.mielczarekdbf409c2011-02-28 14:05:22 +0000762enable_tools
jimblandy92b1f832009-12-23 22:23:49 +0000763enable_selftest
764'
mmentovai8c2a4de2006-09-20 16:20:15 +0000765 ac_precious_vars='build_alias
766host_alias
767target_alias
768CC
769CFLAGS
770LDFLAGS
mmentovaiaf3c43f2007-05-17 18:34:37 +0000771LIBS
mmentovai8c2a4de2006-09-20 16:20:15 +0000772CPPFLAGS
digit@chromium.org979d8f42012-08-31 18:38:29 +0000773CCAS
774CCASFLAGS
mmentovai8c2a4de2006-09-20 16:20:15 +0000775CPP
776CXX
777CXXFLAGS
ted.mielczarekd192a712010-10-05 19:38:51 +0000778CCC'
mmentovai8c2a4de2006-09-20 16:20:15 +0000779
brynercb91a2f2006-08-25 21:14:45 +0000780
781# Initialize some variables set by options.
782ac_init_help=
783ac_init_version=false
jimblandy92b1f832009-12-23 22:23:49 +0000784ac_unrecognized_opts=
785ac_unrecognized_sep=
brynercb91a2f2006-08-25 21:14:45 +0000786# The variables have the same names as the options, with
787# dashes changed to underlines.
788cache_file=/dev/null
789exec_prefix=NONE
790no_create=
791no_recursion=
792prefix=NONE
793program_prefix=NONE
794program_suffix=NONE
795program_transform_name=s,x,x,
796silent=
797site=
798srcdir=
799verbose=
800x_includes=NONE
801x_libraries=NONE
802
803# Installation directory options.
804# These are left unexpanded so users can "make install exec_prefix=/foo"
805# and all the variables that are supposed to be based on exec_prefix
806# by default will actually change.
807# Use braces instead of parens because sh, perl, etc. also accept them.
mmentovai8c2a4de2006-09-20 16:20:15 +0000808# (The list follows the same order as the GNU Coding Standards.)
brynercb91a2f2006-08-25 21:14:45 +0000809bindir='${exec_prefix}/bin'
810sbindir='${exec_prefix}/sbin'
811libexecdir='${exec_prefix}/libexec'
mmentovai8c2a4de2006-09-20 16:20:15 +0000812datarootdir='${prefix}/share'
813datadir='${datarootdir}'
brynercb91a2f2006-08-25 21:14:45 +0000814sysconfdir='${prefix}/etc'
815sharedstatedir='${prefix}/com'
816localstatedir='${prefix}/var'
brynercb91a2f2006-08-25 21:14:45 +0000817includedir='${prefix}/include'
818oldincludedir='/usr/include'
mmentovai8c2a4de2006-09-20 16:20:15 +0000819docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
820infodir='${datarootdir}/info'
821htmldir='${docdir}'
822dvidir='${docdir}'
823pdfdir='${docdir}'
824psdir='${docdir}'
825libdir='${exec_prefix}/lib'
826localedir='${datarootdir}/locale'
827mandir='${datarootdir}/man'
brynercb91a2f2006-08-25 21:14:45 +0000828
829ac_prev=
mmentovai8c2a4de2006-09-20 16:20:15 +0000830ac_dashdash=
brynercb91a2f2006-08-25 21:14:45 +0000831for ac_option
832do
833 # If the previous option needs an argument, assign it.
834 if test -n "$ac_prev"; then
mmentovai8c2a4de2006-09-20 16:20:15 +0000835 eval $ac_prev=\$ac_option
brynercb91a2f2006-08-25 21:14:45 +0000836 ac_prev=
837 continue
838 fi
839
mmentovai8c2a4de2006-09-20 16:20:15 +0000840 case $ac_option in
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +0000841 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 *=) ac_optarg= ;;
843 *) ac_optarg=yes ;;
mmentovai8c2a4de2006-09-20 16:20:15 +0000844 esac
brynercb91a2f2006-08-25 21:14:45 +0000845
846 # Accept the important Cygnus configure options, so we can diagnose typos.
847
mmentovai8c2a4de2006-09-20 16:20:15 +0000848 case $ac_dashdash$ac_option in
849 --)
850 ac_dashdash=yes ;;
brynercb91a2f2006-08-25 21:14:45 +0000851
852 -bindir | --bindir | --bindi | --bind | --bin | --bi)
853 ac_prev=bindir ;;
854 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
855 bindir=$ac_optarg ;;
856
857 -build | --build | --buil | --bui | --bu)
858 ac_prev=build_alias ;;
859 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
860 build_alias=$ac_optarg ;;
861
862 -cache-file | --cache-file | --cache-fil | --cache-fi \
863 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
864 ac_prev=cache_file ;;
865 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
866 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
867 cache_file=$ac_optarg ;;
868
869 --config-cache | -C)
870 cache_file=config.cache ;;
871
mmentovai8c2a4de2006-09-20 16:20:15 +0000872 -datadir | --datadir | --datadi | --datad)
brynercb91a2f2006-08-25 21:14:45 +0000873 ac_prev=datadir ;;
mmentovai8c2a4de2006-09-20 16:20:15 +0000874 -datadir=* | --datadir=* | --datadi=* | --datad=*)
brynercb91a2f2006-08-25 21:14:45 +0000875 datadir=$ac_optarg ;;
876
mmentovai8c2a4de2006-09-20 16:20:15 +0000877 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
878 | --dataroo | --dataro | --datar)
879 ac_prev=datarootdir ;;
880 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
881 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
882 datarootdir=$ac_optarg ;;
883
brynercb91a2f2006-08-25 21:14:45 +0000884 -disable-* | --disable-*)
jimblandy92b1f832009-12-23 22:23:49 +0000885 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
brynercb91a2f2006-08-25 21:14:45 +0000886 # Reject names that are not valid shell variable names.
jimblandy92b1f832009-12-23 22:23:49 +0000887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +0000888 as_fn_error $? "invalid feature name: $ac_useropt"
jimblandy92b1f832009-12-23 22:23:49 +0000889 ac_useropt_orig=$ac_useropt
890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891 case $ac_user_opts in
892 *"
893"enable_$ac_useropt"
894"*) ;;
895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
896 ac_unrecognized_sep=', ';;
897 esac
898 eval enable_$ac_useropt=no ;;
mmentovai8c2a4de2006-09-20 16:20:15 +0000899
900 -docdir | --docdir | --docdi | --doc | --do)
901 ac_prev=docdir ;;
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
903 docdir=$ac_optarg ;;
904
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
906 ac_prev=dvidir ;;
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
908 dvidir=$ac_optarg ;;
brynercb91a2f2006-08-25 21:14:45 +0000909
910 -enable-* | --enable-*)
jimblandy92b1f832009-12-23 22:23:49 +0000911 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
brynercb91a2f2006-08-25 21:14:45 +0000912 # Reject names that are not valid shell variable names.
jimblandy92b1f832009-12-23 22:23:49 +0000913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +0000914 as_fn_error $? "invalid feature name: $ac_useropt"
jimblandy92b1f832009-12-23 22:23:49 +0000915 ac_useropt_orig=$ac_useropt
916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917 case $ac_user_opts in
918 *"
919"enable_$ac_useropt"
920"*) ;;
921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
922 ac_unrecognized_sep=', ';;
923 esac
924 eval enable_$ac_useropt=\$ac_optarg ;;
brynercb91a2f2006-08-25 21:14:45 +0000925
926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
928 | --exec | --exe | --ex)
929 ac_prev=exec_prefix ;;
930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
932 | --exec=* | --exe=* | --ex=*)
933 exec_prefix=$ac_optarg ;;
934
935 -gas | --gas | --ga | --g)
936 # Obsolete; use --with-gas.
937 with_gas=yes ;;
938
939 -help | --help | --hel | --he | -h)
940 ac_init_help=long ;;
941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
942 ac_init_help=recursive ;;
943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
944 ac_init_help=short ;;
945
946 -host | --host | --hos | --ho)
947 ac_prev=host_alias ;;
948 -host=* | --host=* | --hos=* | --ho=*)
949 host_alias=$ac_optarg ;;
950
mmentovai8c2a4de2006-09-20 16:20:15 +0000951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
952 ac_prev=htmldir ;;
953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
954 | --ht=*)
955 htmldir=$ac_optarg ;;
956
brynercb91a2f2006-08-25 21:14:45 +0000957 -includedir | --includedir | --includedi | --included | --include \
958 | --includ | --inclu | --incl | --inc)
959 ac_prev=includedir ;;
960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
961 | --includ=* | --inclu=* | --incl=* | --inc=*)
962 includedir=$ac_optarg ;;
963
964 -infodir | --infodir | --infodi | --infod | --info | --inf)
965 ac_prev=infodir ;;
966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
967 infodir=$ac_optarg ;;
968
969 -libdir | --libdir | --libdi | --libd)
970 ac_prev=libdir ;;
971 -libdir=* | --libdir=* | --libdi=* | --libd=*)
972 libdir=$ac_optarg ;;
973
974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
975 | --libexe | --libex | --libe)
976 ac_prev=libexecdir ;;
977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
978 | --libexe=* | --libex=* | --libe=*)
979 libexecdir=$ac_optarg ;;
980
mmentovai8c2a4de2006-09-20 16:20:15 +0000981 -localedir | --localedir | --localedi | --localed | --locale)
982 ac_prev=localedir ;;
983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
984 localedir=$ac_optarg ;;
985
brynercb91a2f2006-08-25 21:14:45 +0000986 -localstatedir | --localstatedir | --localstatedi | --localstated \
mmentovai8c2a4de2006-09-20 16:20:15 +0000987 | --localstate | --localstat | --localsta | --localst | --locals)
brynercb91a2f2006-08-25 21:14:45 +0000988 ac_prev=localstatedir ;;
989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
mmentovai8c2a4de2006-09-20 16:20:15 +0000990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
brynercb91a2f2006-08-25 21:14:45 +0000991 localstatedir=$ac_optarg ;;
992
993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
994 ac_prev=mandir ;;
995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
996 mandir=$ac_optarg ;;
997
998 -nfp | --nfp | --nf)
999 # Obsolete; use --without-fp.
1000 with_fp=no ;;
1001
1002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1003 | --no-cr | --no-c | -n)
1004 no_create=yes ;;
1005
1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1008 no_recursion=yes ;;
1009
1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1012 | --oldin | --oldi | --old | --ol | --o)
1013 ac_prev=oldincludedir ;;
1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1017 oldincludedir=$ac_optarg ;;
1018
1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1020 ac_prev=prefix ;;
1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1022 prefix=$ac_optarg ;;
1023
1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1025 | --program-pre | --program-pr | --program-p)
1026 ac_prev=program_prefix ;;
1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1029 program_prefix=$ac_optarg ;;
1030
1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1032 | --program-suf | --program-su | --program-s)
1033 ac_prev=program_suffix ;;
1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1036 program_suffix=$ac_optarg ;;
1037
1038 -program-transform-name | --program-transform-name \
1039 | --program-transform-nam | --program-transform-na \
1040 | --program-transform-n | --program-transform- \
1041 | --program-transform | --program-transfor \
1042 | --program-transfo | --program-transf \
1043 | --program-trans | --program-tran \
1044 | --progr-tra | --program-tr | --program-t)
1045 ac_prev=program_transform_name ;;
1046 -program-transform-name=* | --program-transform-name=* \
1047 | --program-transform-nam=* | --program-transform-na=* \
1048 | --program-transform-n=* | --program-transform-=* \
1049 | --program-transform=* | --program-transfor=* \
1050 | --program-transfo=* | --program-transf=* \
1051 | --program-trans=* | --program-tran=* \
1052 | --progr-tra=* | --program-tr=* | --program-t=*)
1053 program_transform_name=$ac_optarg ;;
1054
mmentovai8c2a4de2006-09-20 16:20:15 +00001055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1056 ac_prev=pdfdir ;;
1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1058 pdfdir=$ac_optarg ;;
1059
1060 -psdir | --psdir | --psdi | --psd | --ps)
1061 ac_prev=psdir ;;
1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1063 psdir=$ac_optarg ;;
1064
brynercb91a2f2006-08-25 21:14:45 +00001065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1067 silent=yes ;;
1068
1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1070 ac_prev=sbindir ;;
1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1072 | --sbi=* | --sb=*)
1073 sbindir=$ac_optarg ;;
1074
1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1077 | --sharedst | --shareds | --shared | --share | --shar \
1078 | --sha | --sh)
1079 ac_prev=sharedstatedir ;;
1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1083 | --sha=* | --sh=*)
1084 sharedstatedir=$ac_optarg ;;
1085
1086 -site | --site | --sit)
1087 ac_prev=site ;;
1088 -site=* | --site=* | --sit=*)
1089 site=$ac_optarg ;;
1090
1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1092 ac_prev=srcdir ;;
1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1094 srcdir=$ac_optarg ;;
1095
1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1097 | --syscon | --sysco | --sysc | --sys | --sy)
1098 ac_prev=sysconfdir ;;
1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1101 sysconfdir=$ac_optarg ;;
1102
1103 -target | --target | --targe | --targ | --tar | --ta | --t)
1104 ac_prev=target_alias ;;
1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1106 target_alias=$ac_optarg ;;
1107
1108 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109 verbose=yes ;;
1110
1111 -version | --version | --versio | --versi | --vers | -V)
1112 ac_init_version=: ;;
1113
1114 -with-* | --with-*)
jimblandy92b1f832009-12-23 22:23:49 +00001115 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
brynercb91a2f2006-08-25 21:14:45 +00001116 # Reject names that are not valid shell variable names.
jimblandy92b1f832009-12-23 22:23:49 +00001117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001118 as_fn_error $? "invalid package name: $ac_useropt"
jimblandy92b1f832009-12-23 22:23:49 +00001119 ac_useropt_orig=$ac_useropt
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1122 *"
1123"with_$ac_useropt"
1124"*) ;;
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1126 ac_unrecognized_sep=', ';;
1127 esac
1128 eval with_$ac_useropt=\$ac_optarg ;;
brynercb91a2f2006-08-25 21:14:45 +00001129
1130 -without-* | --without-*)
jimblandy92b1f832009-12-23 22:23:49 +00001131 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
brynercb91a2f2006-08-25 21:14:45 +00001132 # Reject names that are not valid shell variable names.
jimblandy92b1f832009-12-23 22:23:49 +00001133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001134 as_fn_error $? "invalid package name: $ac_useropt"
jimblandy92b1f832009-12-23 22:23:49 +00001135 ac_useropt_orig=$ac_useropt
1136 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1138 *"
1139"with_$ac_useropt"
1140"*) ;;
1141 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1142 ac_unrecognized_sep=', ';;
1143 esac
1144 eval with_$ac_useropt=no ;;
brynercb91a2f2006-08-25 21:14:45 +00001145
1146 --x)
1147 # Obsolete; use --with-x.
1148 with_x=yes ;;
1149
1150 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1151 | --x-incl | --x-inc | --x-in | --x-i)
1152 ac_prev=x_includes ;;
1153 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1154 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1155 x_includes=$ac_optarg ;;
1156
1157 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1158 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1159 ac_prev=x_libraries ;;
1160 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1161 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1162 x_libraries=$ac_optarg ;;
1163
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001164 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1165Try \`$0 --help' for more information"
brynercb91a2f2006-08-25 21:14:45 +00001166 ;;
1167
1168 *=*)
1169 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1170 # Reject names that are not valid shell variable names.
jimblandy92b1f832009-12-23 22:23:49 +00001171 case $ac_envvar in #(
1172 '' | [0-9]* | *[!_$as_cr_alnum]* )
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001173 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
jimblandy92b1f832009-12-23 22:23:49 +00001174 esac
mmentovai8c2a4de2006-09-20 16:20:15 +00001175 eval $ac_envvar=\$ac_optarg
brynercb91a2f2006-08-25 21:14:45 +00001176 export $ac_envvar ;;
1177
1178 *)
1179 # FIXME: should be removed in autoconf 3.0.
jimblandy92b1f832009-12-23 22:23:49 +00001180 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
brynercb91a2f2006-08-25 21:14:45 +00001181 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
jimblandy92b1f832009-12-23 22:23:49 +00001182 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001183 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
brynercb91a2f2006-08-25 21:14:45 +00001184 ;;
1185
1186 esac
1187done
1188
1189if test -n "$ac_prev"; then
1190 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001191 as_fn_error $? "missing argument to $ac_option"
brynercb91a2f2006-08-25 21:14:45 +00001192fi
1193
jimblandy92b1f832009-12-23 22:23:49 +00001194if test -n "$ac_unrecognized_opts"; then
1195 case $enable_option_checking in
1196 no) ;;
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001197 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
jimblandy92b1f832009-12-23 22:23:49 +00001198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1199 esac
1200fi
1201
1202# Check all directory arguments for consistency.
mmentovai8c2a4de2006-09-20 16:20:15 +00001203for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1204 datadir sysconfdir sharedstatedir localstatedir includedir \
1205 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1206 libdir localedir mandir
brynercb91a2f2006-08-25 21:14:45 +00001207do
mmentovai8c2a4de2006-09-20 16:20:15 +00001208 eval ac_val=\$$ac_var
jimblandy92b1f832009-12-23 22:23:49 +00001209 # Remove trailing slashes.
1210 case $ac_val in
1211 */ )
1212 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1213 eval $ac_var=\$ac_val;;
1214 esac
1215 # Be sure to have absolute directory names.
brynercb91a2f2006-08-25 21:14:45 +00001216 case $ac_val in
mmentovai8c2a4de2006-09-20 16:20:15 +00001217 [\\/$]* | ?:[\\/]* ) continue;;
1218 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
brynercb91a2f2006-08-25 21:14:45 +00001219 esac
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001220 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
brynercb91a2f2006-08-25 21:14:45 +00001221done
1222
1223# There might be people who depend on the old broken behavior: `$host'
1224# used to hold the argument of --host etc.
1225# FIXME: To remove some day.
1226build=$build_alias
1227host=$host_alias
1228target=$target_alias
1229
1230# FIXME: To remove some day.
1231if test "x$host_alias" != x; then
1232 if test "x$build_alias" = x; then
1233 cross_compiling=maybe
brynercb91a2f2006-08-25 21:14:45 +00001234 elif test "x$build_alias" != "x$host_alias"; then
1235 cross_compiling=yes
1236 fi
1237fi
1238
1239ac_tool_prefix=
1240test -n "$host_alias" && ac_tool_prefix=$host_alias-
1241
1242test "$silent" = yes && exec 6>/dev/null
1243
1244
mmentovai8c2a4de2006-09-20 16:20:15 +00001245ac_pwd=`pwd` && test -n "$ac_pwd" &&
1246ac_ls_di=`ls -di .` &&
1247ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001248 as_fn_error $? "working directory cannot be determined"
mmentovai8c2a4de2006-09-20 16:20:15 +00001249test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001250 as_fn_error $? "pwd does not report name of working directory"
mmentovai8c2a4de2006-09-20 16:20:15 +00001251
1252
brynercb91a2f2006-08-25 21:14:45 +00001253# Find the source files, if location was not specified.
1254if test -z "$srcdir"; then
1255 ac_srcdir_defaulted=yes
mmentovai8c2a4de2006-09-20 16:20:15 +00001256 # Try the directory containing this script, then the parent directory.
jimblandy92b1f832009-12-23 22:23:49 +00001257 ac_confdir=`$as_dirname -- "$as_myself" ||
1258$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1259 X"$as_myself" : 'X\(//\)[^/]' \| \
1260 X"$as_myself" : 'X\(//\)$' \| \
1261 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1262$as_echo X"$as_myself" |
mmentovai8c2a4de2006-09-20 16:20:15 +00001263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264 s//\1/
1265 q
1266 }
1267 /^X\(\/\/\)[^/].*/{
1268 s//\1/
1269 q
1270 }
1271 /^X\(\/\/\)$/{
1272 s//\1/
1273 q
1274 }
1275 /^X\(\/\).*/{
1276 s//\1/
1277 q
1278 }
1279 s/.*/./; q'`
brynercb91a2f2006-08-25 21:14:45 +00001280 srcdir=$ac_confdir
mmentovai8c2a4de2006-09-20 16:20:15 +00001281 if test ! -r "$srcdir/$ac_unique_file"; then
brynercb91a2f2006-08-25 21:14:45 +00001282 srcdir=..
1283 fi
1284else
1285 ac_srcdir_defaulted=no
1286fi
mmentovai8c2a4de2006-09-20 16:20:15 +00001287if test ! -r "$srcdir/$ac_unique_file"; then
1288 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001289 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
brynercb91a2f2006-08-25 21:14:45 +00001290fi
mmentovai8c2a4de2006-09-20 16:20:15 +00001291ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1292ac_abs_confdir=`(
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001293 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
mmentovai8c2a4de2006-09-20 16:20:15 +00001294 pwd)`
1295# When building in place, set srcdir=.
1296if test "$ac_abs_confdir" = "$ac_pwd"; then
1297 srcdir=.
1298fi
1299# Remove unnecessary trailing slashes from srcdir.
1300# Double slashes in file names in object file debugging info
1301# mess up M-x gdb in Emacs.
1302case $srcdir in
1303*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1304esac
1305for ac_var in $ac_precious_vars; do
1306 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1307 eval ac_env_${ac_var}_value=\$${ac_var}
1308 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1309 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1310done
brynercb91a2f2006-08-25 21:14:45 +00001311
1312#
1313# Report the --help message.
1314#
1315if test "$ac_init_help" = "long"; then
1316 # Omit some internal or obsolete options to make the list less imposing.
1317 # This message is too long to be a string in the A/UX 3.1 sh.
1318 cat <<_ACEOF
Mike Frysinger3b8d8c02013-08-15 20:17:54 -04001319\`configure' configures breakpad 0.1 to adapt to many kinds of systems.
brynercb91a2f2006-08-25 21:14:45 +00001320
1321Usage: $0 [OPTION]... [VAR=VALUE]...
1322
1323To assign environment variables (e.g., CC, CFLAGS...), specify them as
1324VAR=VALUE. See below for descriptions of some of the useful variables.
1325
1326Defaults for the options are specified in brackets.
1327
1328Configuration:
1329 -h, --help display this help and exit
1330 --help=short display options specific to this package
1331 --help=recursive display the short help of all the included packages
1332 -V, --version display version information and exit
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001333 -q, --quiet, --silent do not print \`checking ...' messages
brynercb91a2f2006-08-25 21:14:45 +00001334 --cache-file=FILE cache test results in FILE [disabled]
1335 -C, --config-cache alias for \`--cache-file=config.cache'
1336 -n, --no-create do not create output files
1337 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1338
brynercb91a2f2006-08-25 21:14:45 +00001339Installation directories:
1340 --prefix=PREFIX install architecture-independent files in PREFIX
jimblandy92b1f832009-12-23 22:23:49 +00001341 [$ac_default_prefix]
brynercb91a2f2006-08-25 21:14:45 +00001342 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
jimblandy92b1f832009-12-23 22:23:49 +00001343 [PREFIX]
brynercb91a2f2006-08-25 21:14:45 +00001344
1345By default, \`make install' will install all the files in
1346\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1347an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1348for instance \`--prefix=\$HOME'.
1349
1350For better control, use the options below.
1351
1352Fine tuning of the installation directories:
jimblandy92b1f832009-12-23 22:23:49 +00001353 --bindir=DIR user executables [EPREFIX/bin]
1354 --sbindir=DIR system admin executables [EPREFIX/sbin]
1355 --libexecdir=DIR program executables [EPREFIX/libexec]
1356 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1357 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1358 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1359 --libdir=DIR object code libraries [EPREFIX/lib]
1360 --includedir=DIR C header files [PREFIX/include]
1361 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1362 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1363 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1364 --infodir=DIR info documentation [DATAROOTDIR/info]
1365 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1366 --mandir=DIR man documentation [DATAROOTDIR/man]
1367 --docdir=DIR documentation root [DATAROOTDIR/doc/breakpad]
1368 --htmldir=DIR html documentation [DOCDIR]
1369 --dvidir=DIR dvi documentation [DOCDIR]
1370 --pdfdir=DIR pdf documentation [DOCDIR]
1371 --psdir=DIR ps documentation [DOCDIR]
brynercb91a2f2006-08-25 21:14:45 +00001372_ACEOF
1373
1374 cat <<\_ACEOF
1375
1376Program names:
1377 --program-prefix=PREFIX prepend PREFIX to installed program names
1378 --program-suffix=SUFFIX append SUFFIX to installed program names
1379 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1380
1381System types:
1382 --build=BUILD configure for building on BUILD [guessed]
1383 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1384_ACEOF
1385fi
1386
1387if test -n "$ac_init_help"; then
1388 case $ac_init_help in
Mike Frysinger3b8d8c02013-08-15 20:17:54 -04001389 short | recursive ) echo "Configuration of breakpad 0.1:";;
brynercb91a2f2006-08-25 21:14:45 +00001390 esac
1391 cat <<\_ACEOF
1392
1393Optional Features:
jimblandy92b1f832009-12-23 22:23:49 +00001394 --disable-option-checking ignore unrecognized --enable/--with options
brynercb91a2f2006-08-25 21:14:45 +00001395 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1396 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
mark@chromium.org39d79642013-11-23 01:45:20 +00001397 --enable-silent-rules less verbose build output (undo: "make V=1")
1398 --disable-silent-rules verbose build output (undo: "make V=0")
ted.mielczarek@gmail.com67ce33b2013-12-10 12:28:11 +00001399 --enable-maintainer-mode
1400 enable make rules and dependencies not useful (and
1401 sometimes confusing) to the casual installer
mark@chromium.org39d79642013-11-23 01:45:20 +00001402 --enable-dependency-tracking
1403 do not reject slow dependency extractors
1404 --disable-dependency-tracking
1405 speeds up one-time build
nealsidde545c02010-03-02 00:39:48 +00001406 --enable-m32 Compile/build with -m32 (default is no)
vapier@chromium.org597e2a72013-12-10 06:28:08 +00001407 --disable-largefile omit support for large files
ted.mielczareke574a2a2010-10-05 19:38:22 +00001408 --disable-processor Don't build processor library (default is no)
ted.mielczarekdbf409c2011-02-28 14:05:22 +00001409 --disable-tools Don't build tool binaries (default is no)
mmentovai0dbedc92006-09-25 21:16:15 +00001410 --enable-selftest Run extra tests with "make check" (may conflict with
1411 optimizations) (default is no)
brynercb91a2f2006-08-25 21:14:45 +00001412
brynercb91a2f2006-08-25 21:14:45 +00001413Some influential environment variables:
1414 CC C compiler command
1415 CFLAGS C compiler flags
1416 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1417 nonstandard directory <lib dir>
mmentovaiaf3c43f2007-05-17 18:34:37 +00001418 LIBS libraries to pass to the linker, e.g. -l<library>
jimblandydc4029a2010-02-02 17:39:51 +00001419 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
mmentovai8c2a4de2006-09-20 16:20:15 +00001420 you have headers in a nonstandard directory <include dir>
digit@chromium.org979d8f42012-08-31 18:38:29 +00001421 CCAS assembler compiler command (defaults to CC)
1422 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
brynercb91a2f2006-08-25 21:14:45 +00001423 CPP C preprocessor
1424 CXX C++ compiler command
1425 CXXFLAGS C++ compiler flags
brynercb91a2f2006-08-25 21:14:45 +00001426
1427Use these variables to override the choices made by `configure' or to help
1428it to find libraries and programs with nonstandard names/locations.
1429
thestig@chromium.org43e6db72010-11-08 19:49:41 +00001430Report bugs to <google-breakpad-dev@googlegroups.com>.
brynercb91a2f2006-08-25 21:14:45 +00001431_ACEOF
mmentovai8c2a4de2006-09-20 16:20:15 +00001432ac_status=$?
brynercb91a2f2006-08-25 21:14:45 +00001433fi
1434
1435if test "$ac_init_help" = "recursive"; then
1436 # If there are subdirs, report their specific --help.
brynercb91a2f2006-08-25 21:14:45 +00001437 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
jimblandy92b1f832009-12-23 22:23:49 +00001438 test -d "$ac_dir" ||
1439 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1440 continue
brynercb91a2f2006-08-25 21:14:45 +00001441 ac_builddir=.
1442
mmentovai8c2a4de2006-09-20 16:20:15 +00001443case "$ac_dir" in
1444.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445*)
jimblandy92b1f832009-12-23 22:23:49 +00001446 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
mmentovai8c2a4de2006-09-20 16:20:15 +00001447 # A ".." for each directory in $ac_dir_suffix.
jimblandy92b1f832009-12-23 22:23:49 +00001448 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
mmentovai8c2a4de2006-09-20 16:20:15 +00001449 case $ac_top_builddir_sub in
1450 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1451 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1452 esac ;;
1453esac
1454ac_abs_top_builddir=$ac_pwd
1455ac_abs_builddir=$ac_pwd$ac_dir_suffix
1456# for backward compatibility:
1457ac_top_builddir=$ac_top_build_prefix
brynercb91a2f2006-08-25 21:14:45 +00001458
1459case $srcdir in
mmentovai8c2a4de2006-09-20 16:20:15 +00001460 .) # We are building in place.
brynercb91a2f2006-08-25 21:14:45 +00001461 ac_srcdir=.
mmentovai8c2a4de2006-09-20 16:20:15 +00001462 ac_top_srcdir=$ac_top_builddir_sub
1463 ac_abs_top_srcdir=$ac_pwd ;;
1464 [\\/]* | ?:[\\/]* ) # Absolute name.
brynercb91a2f2006-08-25 21:14:45 +00001465 ac_srcdir=$srcdir$ac_dir_suffix;
mmentovai8c2a4de2006-09-20 16:20:15 +00001466 ac_top_srcdir=$srcdir
1467 ac_abs_top_srcdir=$srcdir ;;
1468 *) # Relative name.
1469 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1470 ac_top_srcdir=$ac_top_build_prefix$srcdir
1471 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
brynercb91a2f2006-08-25 21:14:45 +00001472esac
mmentovai8c2a4de2006-09-20 16:20:15 +00001473ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
brynercb91a2f2006-08-25 21:14:45 +00001474
mmentovai8c2a4de2006-09-20 16:20:15 +00001475 cd "$ac_dir" || { ac_status=$?; continue; }
1476 # Check for guested configure.
1477 if test -f "$ac_srcdir/configure.gnu"; then
1478 echo &&
1479 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1480 elif test -f "$ac_srcdir/configure"; then
1481 echo &&
1482 $SHELL "$ac_srcdir/configure" --help=recursive
brynercb91a2f2006-08-25 21:14:45 +00001483 else
jimblandy92b1f832009-12-23 22:23:49 +00001484 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
mmentovai8c2a4de2006-09-20 16:20:15 +00001485 fi || ac_status=$?
1486 cd "$ac_pwd" || { ac_status=$?; break; }
brynercb91a2f2006-08-25 21:14:45 +00001487 done
1488fi
1489
mmentovai8c2a4de2006-09-20 16:20:15 +00001490test -n "$ac_init_help" && exit $ac_status
brynercb91a2f2006-08-25 21:14:45 +00001491if $ac_init_version; then
1492 cat <<\_ACEOF
Mike Frysinger3b8d8c02013-08-15 20:17:54 -04001493breakpad configure 0.1
mark@chromium.org39d79642013-11-23 01:45:20 +00001494generated by GNU Autoconf 2.69
brynercb91a2f2006-08-25 21:14:45 +00001495
mark@chromium.org39d79642013-11-23 01:45:20 +00001496Copyright (C) 2012 Free Software Foundation, Inc.
brynercb91a2f2006-08-25 21:14:45 +00001497This configure script is free software; the Free Software Foundation
1498gives unlimited permission to copy, distribute and modify it.
1499_ACEOF
mmentovai8c2a4de2006-09-20 16:20:15 +00001500 exit
brynercb91a2f2006-08-25 21:14:45 +00001501fi
jimblandy92b1f832009-12-23 22:23:49 +00001502
1503## ------------------------ ##
1504## Autoconf initialization. ##
1505## ------------------------ ##
1506
1507# ac_fn_c_try_compile LINENO
1508# --------------------------
1509# Try to compile conftest.$ac_ext, and return whether this succeeded.
1510ac_fn_c_try_compile ()
1511{
1512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1513 rm -f conftest.$ac_objext
1514 if { { ac_try="$ac_compile"
1515case "(($ac_try" in
1516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1517 *) ac_try_echo=$ac_try;;
1518esac
1519eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1520$as_echo "$ac_try_echo"; } >&5
1521 (eval "$ac_compile") 2>conftest.err
1522 ac_status=$?
1523 if test -s conftest.err; then
1524 grep -v '^ *+' conftest.err >conftest.er1
1525 cat conftest.er1 >&5
1526 mv -f conftest.er1 conftest.err
1527 fi
1528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1529 test $ac_status = 0; } && {
1530 test -z "$ac_c_werror_flag" ||
1531 test ! -s conftest.err
1532 } && test -s conftest.$ac_objext; then :
1533 ac_retval=0
1534else
1535 $as_echo "$as_me: failed program was:" >&5
1536sed 's/^/| /' conftest.$ac_ext >&5
1537
1538 ac_retval=1
1539fi
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001540 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
jimblandydc4029a2010-02-02 17:39:51 +00001541 as_fn_set_status $ac_retval
jimblandy92b1f832009-12-23 22:23:49 +00001542
1543} # ac_fn_c_try_compile
1544
1545# ac_fn_c_try_cpp LINENO
1546# ----------------------
1547# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1548ac_fn_c_try_cpp ()
1549{
1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551 if { { ac_try="$ac_cpp conftest.$ac_ext"
1552case "(($ac_try" in
1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554 *) ac_try_echo=$ac_try;;
1555esac
1556eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557$as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1559 ac_status=$?
1560 if test -s conftest.err; then
1561 grep -v '^ *+' conftest.err >conftest.er1
1562 cat conftest.er1 >&5
1563 mv -f conftest.er1 conftest.err
1564 fi
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001566 test $ac_status = 0; } > conftest.i && {
jimblandy92b1f832009-12-23 22:23:49 +00001567 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1568 test ! -s conftest.err
1569 }; then :
1570 ac_retval=0
1571else
1572 $as_echo "$as_me: failed program was:" >&5
1573sed 's/^/| /' conftest.$ac_ext >&5
1574
1575 ac_retval=1
1576fi
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
jimblandydc4029a2010-02-02 17:39:51 +00001578 as_fn_set_status $ac_retval
jimblandy92b1f832009-12-23 22:23:49 +00001579
1580} # ac_fn_c_try_cpp
1581
1582# ac_fn_cxx_try_compile LINENO
1583# ----------------------------
1584# Try to compile conftest.$ac_ext, and return whether this succeeded.
1585ac_fn_cxx_try_compile ()
1586{
1587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588 rm -f conftest.$ac_objext
1589 if { { ac_try="$ac_compile"
1590case "(($ac_try" in
1591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1592 *) ac_try_echo=$ac_try;;
1593esac
1594eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595$as_echo "$ac_try_echo"; } >&5
1596 (eval "$ac_compile") 2>conftest.err
1597 ac_status=$?
1598 if test -s conftest.err; then
1599 grep -v '^ *+' conftest.err >conftest.er1
1600 cat conftest.er1 >&5
1601 mv -f conftest.er1 conftest.err
1602 fi
1603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604 test $ac_status = 0; } && {
1605 test -z "$ac_cxx_werror_flag" ||
1606 test ! -s conftest.err
1607 } && test -s conftest.$ac_objext; then :
1608 ac_retval=0
1609else
1610 $as_echo "$as_me: failed program was:" >&5
1611sed 's/^/| /' conftest.$ac_ext >&5
1612
1613 ac_retval=1
1614fi
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001615 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
jimblandydc4029a2010-02-02 17:39:51 +00001616 as_fn_set_status $ac_retval
jimblandy92b1f832009-12-23 22:23:49 +00001617
1618} # ac_fn_cxx_try_compile
1619
ted.mielczarekd192a712010-10-05 19:38:51 +00001620# ac_fn_c_try_run LINENO
1621# ----------------------
1622# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1623# that executables *can* be run.
1624ac_fn_c_try_run ()
1625{
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 if { { ac_try="$ac_link"
1628case "(($ac_try" in
1629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630 *) ac_try_echo=$ac_try;;
1631esac
1632eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633$as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_link") 2>&5
1635 ac_status=$?
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1638 { { case "(($ac_try" in
1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1641esac
1642eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643$as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_try") 2>&5
1645 ac_status=$?
1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647 test $ac_status = 0; }; }; then :
1648 ac_retval=0
1649else
1650 $as_echo "$as_me: program exited with status $ac_status" >&5
1651 $as_echo "$as_me: failed program was:" >&5
1652sed 's/^/| /' conftest.$ac_ext >&5
1653
1654 ac_retval=$ac_status
1655fi
1656 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
ted.mielczarekd192a712010-10-05 19:38:51 +00001658 as_fn_set_status $ac_retval
1659
1660} # ac_fn_c_try_run
1661
jimblandy92b1f832009-12-23 22:23:49 +00001662# ac_fn_c_try_link LINENO
1663# -----------------------
1664# Try to link conftest.$ac_ext, and return whether this succeeded.
1665ac_fn_c_try_link ()
1666{
1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668 rm -f conftest.$ac_objext conftest$ac_exeext
1669 if { { ac_try="$ac_link"
1670case "(($ac_try" in
1671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1672 *) ac_try_echo=$ac_try;;
1673esac
1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1675$as_echo "$ac_try_echo"; } >&5
1676 (eval "$ac_link") 2>conftest.err
1677 ac_status=$?
1678 if test -s conftest.err; then
1679 grep -v '^ *+' conftest.err >conftest.er1
1680 cat conftest.er1 >&5
1681 mv -f conftest.er1 conftest.err
1682 fi
1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1684 test $ac_status = 0; } && {
1685 test -z "$ac_c_werror_flag" ||
1686 test ! -s conftest.err
1687 } && test -s conftest$ac_exeext && {
1688 test "$cross_compiling" = yes ||
mark@chromium.org39d79642013-11-23 01:45:20 +00001689 test -x conftest$ac_exeext
jimblandy92b1f832009-12-23 22:23:49 +00001690 }; then :
1691 ac_retval=0
1692else
1693 $as_echo "$as_me: failed program was:" >&5
1694sed 's/^/| /' conftest.$ac_ext >&5
1695
1696 ac_retval=1
1697fi
1698 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1699 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1700 # interfere with the next link command; also delete a directory that is
1701 # left behind by Apple's compiler. We do this before executing the actions.
1702 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
jimblandydc4029a2010-02-02 17:39:51 +00001704 as_fn_set_status $ac_retval
jimblandy92b1f832009-12-23 22:23:49 +00001705
1706} # ac_fn_c_try_link
1707
ted.mielczarekdbf409c2011-02-28 14:05:22 +00001708# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1709# -------------------------------------------------------
1710# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1711# the include files in INCLUDES and setting the cache variable VAR
1712# accordingly.
1713ac_fn_c_check_header_mongrel ()
1714{
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001716 if eval \${$3+:} false; then :
ted.mielczarekdbf409c2011-02-28 14:05:22 +00001717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1718$as_echo_n "checking for $2... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001719if eval \${$3+:} false; then :
ted.mielczarekdbf409c2011-02-28 14:05:22 +00001720 $as_echo_n "(cached) " >&6
1721fi
1722eval ac_res=\$$3
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1724$as_echo "$ac_res" >&6; }
1725else
1726 # Is the header compilable?
1727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1728$as_echo_n "checking $2 usability... " >&6; }
1729cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1730/* end confdefs.h. */
1731$4
1732#include <$2>
1733_ACEOF
1734if ac_fn_c_try_compile "$LINENO"; then :
1735 ac_header_compiler=yes
1736else
1737 ac_header_compiler=no
1738fi
1739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1741$as_echo "$ac_header_compiler" >&6; }
1742
1743# Is the header present?
1744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1745$as_echo_n "checking $2 presence... " >&6; }
1746cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1747/* end confdefs.h. */
1748#include <$2>
1749_ACEOF
1750if ac_fn_c_try_cpp "$LINENO"; then :
1751 ac_header_preproc=yes
1752else
1753 ac_header_preproc=no
1754fi
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001755rm -f conftest.err conftest.i conftest.$ac_ext
ted.mielczarekdbf409c2011-02-28 14:05:22 +00001756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1757$as_echo "$ac_header_preproc" >&6; }
1758
1759# So? What about this header?
1760case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1761 yes:no: )
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1763$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1765$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1766 ;;
1767 no:yes:* )
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1769$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1771$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1773$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1775$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1777$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001778( $as_echo "## --------------------------------------------------- ##
ted.mielczarekdbf409c2011-02-28 14:05:22 +00001779## Report this to google-breakpad-dev@googlegroups.com ##
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001780## --------------------------------------------------- ##"
ted.mielczarekdbf409c2011-02-28 14:05:22 +00001781 ) | sed "s/^/$as_me: WARNING: /" >&2
1782 ;;
1783esac
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785$as_echo_n "checking for $2... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001786if eval \${$3+:} false; then :
ted.mielczarekdbf409c2011-02-28 14:05:22 +00001787 $as_echo_n "(cached) " >&6
1788else
1789 eval "$3=\$ac_header_compiler"
1790fi
1791eval ac_res=\$$3
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793$as_echo "$ac_res" >&6; }
1794fi
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
ted.mielczarekdbf409c2011-02-28 14:05:22 +00001796
1797} # ac_fn_c_check_header_mongrel
1798
1799# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1800# -------------------------------------------------------
1801# Tests whether HEADER exists and can be compiled using the include files in
1802# INCLUDES, setting the cache variable VAR accordingly.
1803ac_fn_c_check_header_compile ()
1804{
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807$as_echo_n "checking for $2... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001808if eval \${$3+:} false; then :
ted.mielczarekdbf409c2011-02-28 14:05:22 +00001809 $as_echo_n "(cached) " >&6
1810else
1811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812/* end confdefs.h. */
1813$4
1814#include <$2>
1815_ACEOF
1816if ac_fn_c_try_compile "$LINENO"; then :
1817 eval "$3=yes"
1818else
1819 eval "$3=no"
1820fi
1821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1822fi
1823eval ac_res=\$$3
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825$as_echo "$ac_res" >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
ted.mielczarekdbf409c2011-02-28 14:05:22 +00001827
1828} # ac_fn_c_check_header_compile
mmentovai8c2a4de2006-09-20 16:20:15 +00001829cat >config.log <<_ACEOF
brynercb91a2f2006-08-25 21:14:45 +00001830This file contains any messages produced by compilers while
1831running configure, to aid debugging if configure makes a mistake.
1832
Mike Frysinger3b8d8c02013-08-15 20:17:54 -04001833It was created by breakpad $as_me 0.1, which was
mark@chromium.org39d79642013-11-23 01:45:20 +00001834generated by GNU Autoconf 2.69. Invocation command line was
brynercb91a2f2006-08-25 21:14:45 +00001835
1836 $ $0 $@
1837
1838_ACEOF
mmentovai8c2a4de2006-09-20 16:20:15 +00001839exec 5>>config.log
brynercb91a2f2006-08-25 21:14:45 +00001840{
1841cat <<_ASUNAME
1842## --------- ##
1843## Platform. ##
1844## --------- ##
1845
1846hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1847uname -m = `(uname -m) 2>/dev/null || echo unknown`
1848uname -r = `(uname -r) 2>/dev/null || echo unknown`
1849uname -s = `(uname -s) 2>/dev/null || echo unknown`
1850uname -v = `(uname -v) 2>/dev/null || echo unknown`
1851
1852/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1853/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1854
1855/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1856/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1857/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
mmentovai8c2a4de2006-09-20 16:20:15 +00001858/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
brynercb91a2f2006-08-25 21:14:45 +00001859/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1860/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1861/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1862
1863_ASUNAME
1864
1865as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1866for as_dir in $PATH
1867do
1868 IFS=$as_save_IFS
1869 test -z "$as_dir" && as_dir=.
jimblandy92b1f832009-12-23 22:23:49 +00001870 $as_echo "PATH: $as_dir"
1871 done
mmentovai8c2a4de2006-09-20 16:20:15 +00001872IFS=$as_save_IFS
brynercb91a2f2006-08-25 21:14:45 +00001873
1874} >&5
1875
1876cat >&5 <<_ACEOF
1877
1878
1879## ----------- ##
1880## Core tests. ##
1881## ----------- ##
1882
1883_ACEOF
1884
1885
1886# Keep a trace of the command line.
1887# Strip out --no-create and --no-recursion so they do not pile up.
1888# Strip out --silent because we don't want to record it for future runs.
1889# Also quote any args containing shell meta-characters.
1890# Make two passes to allow for proper duplicate-argument suppression.
1891ac_configure_args=
1892ac_configure_args0=
1893ac_configure_args1=
brynercb91a2f2006-08-25 21:14:45 +00001894ac_must_keep_next=false
1895for ac_pass in 1 2
1896do
1897 for ac_arg
1898 do
1899 case $ac_arg in
1900 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1901 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1902 | -silent | --silent | --silen | --sile | --sil)
1903 continue ;;
mmentovai8c2a4de2006-09-20 16:20:15 +00001904 *\'*)
jimblandy92b1f832009-12-23 22:23:49 +00001905 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
brynercb91a2f2006-08-25 21:14:45 +00001906 esac
1907 case $ac_pass in
jimblandy92b1f832009-12-23 22:23:49 +00001908 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
brynercb91a2f2006-08-25 21:14:45 +00001909 2)
jimblandy92b1f832009-12-23 22:23:49 +00001910 as_fn_append ac_configure_args1 " '$ac_arg'"
brynercb91a2f2006-08-25 21:14:45 +00001911 if test $ac_must_keep_next = true; then
1912 ac_must_keep_next=false # Got value, back to normal.
1913 else
1914 case $ac_arg in
1915 *=* | --config-cache | -C | -disable-* | --disable-* \
1916 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1917 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1918 | -with-* | --with-* | -without-* | --without-* | --x)
1919 case "$ac_configure_args0 " in
1920 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1921 esac
1922 ;;
1923 -* ) ac_must_keep_next=true ;;
1924 esac
1925 fi
jimblandy92b1f832009-12-23 22:23:49 +00001926 as_fn_append ac_configure_args " '$ac_arg'"
brynercb91a2f2006-08-25 21:14:45 +00001927 ;;
1928 esac
1929 done
1930done
jimblandy92b1f832009-12-23 22:23:49 +00001931{ ac_configure_args0=; unset ac_configure_args0;}
1932{ ac_configure_args1=; unset ac_configure_args1;}
brynercb91a2f2006-08-25 21:14:45 +00001933
1934# When interrupted or exit'd, cleanup temporary files, and complete
1935# config.log. We remove comments because anyway the quotes in there
1936# would cause problems or look ugly.
mmentovai8c2a4de2006-09-20 16:20:15 +00001937# WARNING: Use '\'' to represent an apostrophe within the trap.
1938# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
brynercb91a2f2006-08-25 21:14:45 +00001939trap 'exit_status=$?
1940 # Save into config.log some information that might help in debugging.
1941 {
1942 echo
1943
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001944 $as_echo "## ---------------- ##
brynercb91a2f2006-08-25 21:14:45 +00001945## Cache variables. ##
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001946## ---------------- ##"
brynercb91a2f2006-08-25 21:14:45 +00001947 echo
1948 # The following way of writing the cache mishandles newlines in values,
mmentovai8c2a4de2006-09-20 16:20:15 +00001949(
1950 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1951 eval ac_val=\$$ac_var
1952 case $ac_val in #(
1953 *${as_nl}*)
1954 case $ac_var in #(
jimblandy92b1f832009-12-23 22:23:49 +00001955 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1956$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
mmentovai8c2a4de2006-09-20 16:20:15 +00001957 esac
1958 case $ac_var in #(
1959 _ | IFS | as_nl) ;; #(
jimblandy92b1f832009-12-23 22:23:49 +00001960 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1961 *) { eval $ac_var=; unset $ac_var;} ;;
mmentovai8c2a4de2006-09-20 16:20:15 +00001962 esac ;;
1963 esac
1964 done
brynercb91a2f2006-08-25 21:14:45 +00001965 (set) 2>&1 |
mmentovai8c2a4de2006-09-20 16:20:15 +00001966 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1967 *${as_nl}ac_space=\ *)
brynercb91a2f2006-08-25 21:14:45 +00001968 sed -n \
mmentovai8c2a4de2006-09-20 16:20:15 +00001969 "s/'\''/'\''\\\\'\'''\''/g;
1970 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1971 ;; #(
brynercb91a2f2006-08-25 21:14:45 +00001972 *)
mmentovai8c2a4de2006-09-20 16:20:15 +00001973 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
brynercb91a2f2006-08-25 21:14:45 +00001974 ;;
mmentovai8c2a4de2006-09-20 16:20:15 +00001975 esac |
1976 sort
1977)
brynercb91a2f2006-08-25 21:14:45 +00001978 echo
1979
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001980 $as_echo "## ----------------- ##
brynercb91a2f2006-08-25 21:14:45 +00001981## Output variables. ##
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001982## ----------------- ##"
brynercb91a2f2006-08-25 21:14:45 +00001983 echo
1984 for ac_var in $ac_subst_vars
1985 do
mmentovai8c2a4de2006-09-20 16:20:15 +00001986 eval ac_val=\$$ac_var
1987 case $ac_val in
jimblandy92b1f832009-12-23 22:23:49 +00001988 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
mmentovai8c2a4de2006-09-20 16:20:15 +00001989 esac
jimblandy92b1f832009-12-23 22:23:49 +00001990 $as_echo "$ac_var='\''$ac_val'\''"
brynercb91a2f2006-08-25 21:14:45 +00001991 done | sort
1992 echo
1993
1994 if test -n "$ac_subst_files"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001995 $as_echo "## ------------------- ##
mmentovai8c2a4de2006-09-20 16:20:15 +00001996## File substitutions. ##
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00001997## ------------------- ##"
brynercb91a2f2006-08-25 21:14:45 +00001998 echo
1999 for ac_var in $ac_subst_files
2000 do
mmentovai8c2a4de2006-09-20 16:20:15 +00002001 eval ac_val=\$$ac_var
2002 case $ac_val in
jimblandy92b1f832009-12-23 22:23:49 +00002003 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
mmentovai8c2a4de2006-09-20 16:20:15 +00002004 esac
jimblandy92b1f832009-12-23 22:23:49 +00002005 $as_echo "$ac_var='\''$ac_val'\''"
brynercb91a2f2006-08-25 21:14:45 +00002006 done | sort
2007 echo
2008 fi
2009
2010 if test -s confdefs.h; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002011 $as_echo "## ----------- ##
brynercb91a2f2006-08-25 21:14:45 +00002012## confdefs.h. ##
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002013## ----------- ##"
brynercb91a2f2006-08-25 21:14:45 +00002014 echo
mmentovai8c2a4de2006-09-20 16:20:15 +00002015 cat confdefs.h
brynercb91a2f2006-08-25 21:14:45 +00002016 echo
2017 fi
2018 test "$ac_signal" != 0 &&
jimblandy92b1f832009-12-23 22:23:49 +00002019 $as_echo "$as_me: caught signal $ac_signal"
2020 $as_echo "$as_me: exit $exit_status"
brynercb91a2f2006-08-25 21:14:45 +00002021 } >&5
mmentovai8c2a4de2006-09-20 16:20:15 +00002022 rm -f core *.core core.conftest.* &&
2023 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
brynercb91a2f2006-08-25 21:14:45 +00002024 exit $exit_status
mmentovai8c2a4de2006-09-20 16:20:15 +00002025' 0
brynercb91a2f2006-08-25 21:14:45 +00002026for ac_signal in 1 2 13 15; do
jimblandy92b1f832009-12-23 22:23:49 +00002027 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
brynercb91a2f2006-08-25 21:14:45 +00002028done
2029ac_signal=0
2030
2031# confdefs.h avoids OS command line length limits that DEFS can exceed.
mmentovai8c2a4de2006-09-20 16:20:15 +00002032rm -f -r conftest* confdefs.h
brynercb91a2f2006-08-25 21:14:45 +00002033
jimblandy92b1f832009-12-23 22:23:49 +00002034$as_echo "/* confdefs.h */" > confdefs.h
2035
brynercb91a2f2006-08-25 21:14:45 +00002036# Predefined preprocessor variables.
2037
2038cat >>confdefs.h <<_ACEOF
2039#define PACKAGE_NAME "$PACKAGE_NAME"
2040_ACEOF
2041
brynercb91a2f2006-08-25 21:14:45 +00002042cat >>confdefs.h <<_ACEOF
2043#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2044_ACEOF
2045
brynercb91a2f2006-08-25 21:14:45 +00002046cat >>confdefs.h <<_ACEOF
2047#define PACKAGE_VERSION "$PACKAGE_VERSION"
2048_ACEOF
2049
brynercb91a2f2006-08-25 21:14:45 +00002050cat >>confdefs.h <<_ACEOF
2051#define PACKAGE_STRING "$PACKAGE_STRING"
2052_ACEOF
2053
brynercb91a2f2006-08-25 21:14:45 +00002054cat >>confdefs.h <<_ACEOF
2055#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2056_ACEOF
2057
jimblandy92b1f832009-12-23 22:23:49 +00002058cat >>confdefs.h <<_ACEOF
2059#define PACKAGE_URL "$PACKAGE_URL"
2060_ACEOF
2061
brynercb91a2f2006-08-25 21:14:45 +00002062
2063# Let the site file select an alternate cache file if it wants to.
jimblandy92b1f832009-12-23 22:23:49 +00002064# Prefer an explicitly selected file to automatically selected ones.
2065ac_site_file1=NONE
2066ac_site_file2=NONE
mmentovai8c2a4de2006-09-20 16:20:15 +00002067if test -n "$CONFIG_SITE"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002068 # We do not want a PATH search for config.site.
2069 case $CONFIG_SITE in #((
2070 -*) ac_site_file1=./$CONFIG_SITE;;
2071 */*) ac_site_file1=$CONFIG_SITE;;
2072 *) ac_site_file1=./$CONFIG_SITE;;
2073 esac
mmentovai8c2a4de2006-09-20 16:20:15 +00002074elif test "x$prefix" != xNONE; then
jimblandy92b1f832009-12-23 22:23:49 +00002075 ac_site_file1=$prefix/share/config.site
2076 ac_site_file2=$prefix/etc/config.site
mmentovai8c2a4de2006-09-20 16:20:15 +00002077else
jimblandy92b1f832009-12-23 22:23:49 +00002078 ac_site_file1=$ac_default_prefix/share/config.site
2079 ac_site_file2=$ac_default_prefix/etc/config.site
brynercb91a2f2006-08-25 21:14:45 +00002080fi
jimblandy92b1f832009-12-23 22:23:49 +00002081for ac_site_file in "$ac_site_file1" "$ac_site_file2"
mmentovai8c2a4de2006-09-20 16:20:15 +00002082do
jimblandy92b1f832009-12-23 22:23:49 +00002083 test "x$ac_site_file" = xNONE && continue
jimblandydc4029a2010-02-02 17:39:51 +00002084 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
jimblandy92b1f832009-12-23 22:23:49 +00002085 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2086$as_echo "$as_me: loading site script $ac_site_file" >&6;}
brynercb91a2f2006-08-25 21:14:45 +00002087 sed 's/^/| /' "$ac_site_file" >&5
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002088 . "$ac_site_file" \
2089 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2090$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2091as_fn_error $? "failed to load site script $ac_site_file
2092See \`config.log' for more details" "$LINENO" 5; }
brynercb91a2f2006-08-25 21:14:45 +00002093 fi
2094done
2095
2096if test -r "$cache_file"; then
jimblandydc4029a2010-02-02 17:39:51 +00002097 # Some versions of bash will fail to source /dev/null (special files
2098 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2099 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
jimblandy92b1f832009-12-23 22:23:49 +00002100 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2101$as_echo "$as_me: loading cache $cache_file" >&6;}
brynercb91a2f2006-08-25 21:14:45 +00002102 case $cache_file in
mmentovai8c2a4de2006-09-20 16:20:15 +00002103 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2104 *) . "./$cache_file";;
brynercb91a2f2006-08-25 21:14:45 +00002105 esac
2106 fi
2107else
jimblandy92b1f832009-12-23 22:23:49 +00002108 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2109$as_echo "$as_me: creating cache $cache_file" >&6;}
brynercb91a2f2006-08-25 21:14:45 +00002110 >$cache_file
2111fi
2112
2113# Check that the precious variables saved in the cache have kept the same
2114# value.
2115ac_cache_corrupted=false
mmentovai8c2a4de2006-09-20 16:20:15 +00002116for ac_var in $ac_precious_vars; do
brynercb91a2f2006-08-25 21:14:45 +00002117 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2118 eval ac_new_set=\$ac_env_${ac_var}_set
mmentovai8c2a4de2006-09-20 16:20:15 +00002119 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2120 eval ac_new_val=\$ac_env_${ac_var}_value
brynercb91a2f2006-08-25 21:14:45 +00002121 case $ac_old_set,$ac_new_set in
2122 set,)
jimblandy92b1f832009-12-23 22:23:49 +00002123 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2124$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
brynercb91a2f2006-08-25 21:14:45 +00002125 ac_cache_corrupted=: ;;
2126 ,set)
jimblandy92b1f832009-12-23 22:23:49 +00002127 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2128$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
brynercb91a2f2006-08-25 21:14:45 +00002129 ac_cache_corrupted=: ;;
2130 ,);;
2131 *)
2132 if test "x$ac_old_val" != "x$ac_new_val"; then
jimblandy92b1f832009-12-23 22:23:49 +00002133 # differences in whitespace do not lead to failure.
2134 ac_old_val_w=`echo x $ac_old_val`
2135 ac_new_val_w=`echo x $ac_new_val`
2136 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2138$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2139 ac_cache_corrupted=:
2140 else
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2142$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2143 eval $ac_var=\$ac_old_val
2144 fi
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2146$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2148$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
brynercb91a2f2006-08-25 21:14:45 +00002149 fi;;
2150 esac
2151 # Pass precious variables to config.status.
2152 if test "$ac_new_set" = set; then
2153 case $ac_new_val in
jimblandy92b1f832009-12-23 22:23:49 +00002154 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
brynercb91a2f2006-08-25 21:14:45 +00002155 *) ac_arg=$ac_var=$ac_new_val ;;
2156 esac
2157 case " $ac_configure_args " in
2158 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
jimblandy92b1f832009-12-23 22:23:49 +00002159 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
brynercb91a2f2006-08-25 21:14:45 +00002160 esac
2161 fi
2162done
2163if $ac_cache_corrupted; then
jimblandy92b1f832009-12-23 22:23:49 +00002164 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2165$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2167$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002168 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
brynercb91a2f2006-08-25 21:14:45 +00002169fi
jimblandy92b1f832009-12-23 22:23:49 +00002170## -------------------- ##
2171## Main body of script. ##
2172## -------------------- ##
mmentovai8c2a4de2006-09-20 16:20:15 +00002173
brynercb91a2f2006-08-25 21:14:45 +00002174ac_ext=c
2175ac_cpp='$CPP $CPPFLAGS'
2176ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2177ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2178ac_compiler_gnu=$ac_cv_c_compiler_gnu
2179
2180
2181
brynercb91a2f2006-08-25 21:14:45 +00002182ac_aux_dir=
mmentovai8c2a4de2006-09-20 16:20:15 +00002183for ac_dir in autotools "$srcdir"/autotools; do
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002184 if test -f "$ac_dir/install-sh"; then
2185 ac_aux_dir=$ac_dir
2186 ac_install_sh="$ac_aux_dir/install-sh -c"
2187 break
2188 elif test -f "$ac_dir/install.sh"; then
2189 ac_aux_dir=$ac_dir
2190 ac_install_sh="$ac_aux_dir/install.sh -c"
2191 break
2192 elif test -f "$ac_dir/shtool"; then
2193 ac_aux_dir=$ac_dir
2194 ac_install_sh="$ac_aux_dir/shtool install -c"
2195 break
2196 fi
brynercb91a2f2006-08-25 21:14:45 +00002197done
2198if test -z "$ac_aux_dir"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002199 as_fn_error $? "cannot find install-sh, install.sh, or shtool in autotools \"$srcdir\"/autotools" "$LINENO" 5
brynercb91a2f2006-08-25 21:14:45 +00002200fi
mmentovai8c2a4de2006-09-20 16:20:15 +00002201
2202# These three variables are undocumented and unsupported,
2203# and are intended to be withdrawn in a future Autoconf release.
2204# They can cause serious problems if a builder's source tree is in a directory
2205# whose full name contains unusual characters.
2206ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2207ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2208ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2209
brynercb91a2f2006-08-25 21:14:45 +00002210
mmentovai425d2562006-08-30 20:05:05 +00002211
ted.mielczarek53a8b1a2010-08-31 15:09:01 +00002212# Make sure we can run config.sub.
2213$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002214 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
ted.mielczarek53a8b1a2010-08-31 15:09:01 +00002215
2216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2217$as_echo_n "checking build system type... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002218if ${ac_cv_build+:} false; then :
ted.mielczarek53a8b1a2010-08-31 15:09:01 +00002219 $as_echo_n "(cached) " >&6
2220else
2221 ac_build_alias=$build_alias
2222test "x$ac_build_alias" = x &&
2223 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2224test "x$ac_build_alias" = x &&
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002225 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
ted.mielczarek53a8b1a2010-08-31 15:09:01 +00002226ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002227 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
ted.mielczarek53a8b1a2010-08-31 15:09:01 +00002228
2229fi
2230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2231$as_echo "$ac_cv_build" >&6; }
2232case $ac_cv_build in
2233*-*-*) ;;
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002234*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
ted.mielczarek53a8b1a2010-08-31 15:09:01 +00002235esac
2236build=$ac_cv_build
2237ac_save_IFS=$IFS; IFS='-'
2238set x $ac_cv_build
2239shift
2240build_cpu=$1
2241build_vendor=$2
2242shift; shift
2243# Remember, the first character of IFS is used to create $*,
2244# except with old shells:
2245build_os=$*
2246IFS=$ac_save_IFS
2247case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2248
2249
2250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2251$as_echo_n "checking host system type... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002252if ${ac_cv_host+:} false; then :
ted.mielczarek53a8b1a2010-08-31 15:09:01 +00002253 $as_echo_n "(cached) " >&6
2254else
2255 if test "x$host_alias" = x; then
2256 ac_cv_host=$ac_cv_build
2257else
2258 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002259 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
ted.mielczarek53a8b1a2010-08-31 15:09:01 +00002260fi
2261
2262fi
2263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2264$as_echo "$ac_cv_host" >&6; }
2265case $ac_cv_host in
2266*-*-*) ;;
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002267*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
ted.mielczarek53a8b1a2010-08-31 15:09:01 +00002268esac
2269host=$ac_cv_host
2270ac_save_IFS=$IFS; IFS='-'
2271set x $ac_cv_host
2272shift
2273host_cpu=$1
2274host_vendor=$2
2275shift; shift
2276# Remember, the first character of IFS is used to create $*,
2277# except with old shells:
2278host_os=$*
2279IFS=$ac_save_IFS
2280case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2281
2282
2283
mark@chromium.org39d79642013-11-23 01:45:20 +00002284am__api_version='1.14'
mmentovaiaf3c43f2007-05-17 18:34:37 +00002285
brynercb91a2f2006-08-25 21:14:45 +00002286# Find a good install program. We prefer a C program (faster),
2287# so one script is as good as another. But avoid the broken or
2288# incompatible versions:
2289# SysV /etc/install, /usr/sbin/install
2290# SunOS /usr/etc/install
2291# IRIX /sbin/install
2292# AIX /bin/install
2293# AmigaOS /C/install, which installs bootblocks on floppy discs
2294# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2295# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2296# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2297# OS/2's system install, which has a completely different semantic
2298# ./install, which can be erroneously created by make from ./install.sh.
jimblandy92b1f832009-12-23 22:23:49 +00002299# Reject install programs that cannot install multiple files.
2300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2301$as_echo_n "checking for a BSD-compatible install... " >&6; }
brynercb91a2f2006-08-25 21:14:45 +00002302if test -z "$INSTALL"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002303if ${ac_cv_path_install+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00002304 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00002305else
2306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307for as_dir in $PATH
2308do
2309 IFS=$as_save_IFS
2310 test -z "$as_dir" && as_dir=.
jimblandy92b1f832009-12-23 22:23:49 +00002311 # Account for people who put trailing slashes in PATH elements.
2312case $as_dir/ in #((
2313 ./ | .// | /[cC]/* | \
brynercb91a2f2006-08-25 21:14:45 +00002314 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
jimblandy92b1f832009-12-23 22:23:49 +00002315 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
brynercb91a2f2006-08-25 21:14:45 +00002316 /usr/ucb/* ) ;;
2317 *)
2318 # OSF1 and SCO ODT 3.0 have their own names for install.
2319 # Don't use installbsd from OSF since it installs stuff as root
2320 # by default.
2321 for ac_prog in ginstall scoinst install; do
2322 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00002323 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
brynercb91a2f2006-08-25 21:14:45 +00002324 if test $ac_prog = install &&
2325 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2326 # AIX install. It has an incompatible calling convention.
2327 :
2328 elif test $ac_prog = install &&
2329 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2330 # program-specific install script used by HP pwplus--don't use.
2331 :
2332 else
jimblandy92b1f832009-12-23 22:23:49 +00002333 rm -rf conftest.one conftest.two conftest.dir
2334 echo one > conftest.one
2335 echo two > conftest.two
2336 mkdir conftest.dir
2337 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2338 test -s conftest.one && test -s conftest.two &&
2339 test -s conftest.dir/conftest.one &&
2340 test -s conftest.dir/conftest.two
2341 then
2342 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2343 break 3
2344 fi
brynercb91a2f2006-08-25 21:14:45 +00002345 fi
2346 fi
2347 done
2348 done
2349 ;;
2350esac
jimblandy92b1f832009-12-23 22:23:49 +00002351
2352 done
mmentovai8c2a4de2006-09-20 16:20:15 +00002353IFS=$as_save_IFS
brynercb91a2f2006-08-25 21:14:45 +00002354
jimblandy92b1f832009-12-23 22:23:49 +00002355rm -rf conftest.one conftest.two conftest.dir
brynercb91a2f2006-08-25 21:14:45 +00002356
2357fi
2358 if test "${ac_cv_path_install+set}" = set; then
2359 INSTALL=$ac_cv_path_install
2360 else
mmentovai8c2a4de2006-09-20 16:20:15 +00002361 # As a last resort, use the slow shell script. Don't cache a
2362 # value for INSTALL within a source directory, because that will
brynercb91a2f2006-08-25 21:14:45 +00002363 # break other packages using the cache if that directory is
mmentovai8c2a4de2006-09-20 16:20:15 +00002364 # removed, or if the value is a relative name.
brynercb91a2f2006-08-25 21:14:45 +00002365 INSTALL=$ac_install_sh
2366 fi
2367fi
jimblandy92b1f832009-12-23 22:23:49 +00002368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2369$as_echo "$INSTALL" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00002370
2371# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2372# It thinks the first close brace ends the variable substitution.
2373test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2374
2375test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2376
2377test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2378
jimblandy92b1f832009-12-23 22:23:49 +00002379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2380$as_echo_n "checking whether build environment is sane... " >&6; }
jimblandy92b1f832009-12-23 22:23:49 +00002381# Reject unsafe characters in $srcdir or the absolute working directory
2382# name. Accept space and tab only in the latter.
2383am_lf='
2384'
2385case `pwd` in
2386 *[\\\"\#\$\&\'\`$am_lf]*)
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002387 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
jimblandy92b1f832009-12-23 22:23:49 +00002388esac
2389case $srcdir in
2390 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
mark@chromium.org39d79642013-11-23 01:45:20 +00002391 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
jimblandy92b1f832009-12-23 22:23:49 +00002392esac
2393
mark@chromium.org39d79642013-11-23 01:45:20 +00002394# Do 'set' in a subshell so we don't clobber the current shell's
brynercb91a2f2006-08-25 21:14:45 +00002395# arguments. Must try -L first in case configure is actually a
2396# symlink; some systems play weird games with the mod time of symlinks
2397# (eg FreeBSD returns the mod time of the symlink's containing
2398# directory).
2399if (
mark@chromium.org39d79642013-11-23 01:45:20 +00002400 am_has_slept=no
2401 for am_try in 1 2; do
2402 echo "timestamp, slept: $am_has_slept" > conftest.file
2403 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2404 if test "$*" = "X"; then
2405 # -L didn't work.
2406 set X `ls -t "$srcdir/configure" conftest.file`
2407 fi
2408 if test "$*" != "X $srcdir/configure conftest.file" \
2409 && test "$*" != "X conftest.file $srcdir/configure"; then
brynercb91a2f2006-08-25 21:14:45 +00002410
mark@chromium.org39d79642013-11-23 01:45:20 +00002411 # If neither matched, then we have a broken ls. This can happen
2412 # if, for instance, CONFIG_SHELL is bash and it inherits a
2413 # broken ls alias from the environment. This has actually
2414 # happened. Such a system could not be considered "sane".
2415 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2416 alias in your environment" "$LINENO" 5
2417 fi
2418 if test "$2" = conftest.file || test $am_try -eq 2; then
2419 break
2420 fi
2421 # Just in case.
2422 sleep 1
2423 am_has_slept=yes
2424 done
brynercb91a2f2006-08-25 21:14:45 +00002425 test "$2" = conftest.file
2426 )
2427then
2428 # Ok.
2429 :
2430else
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002431 as_fn_error $? "newly created file is older than distributed files!
jimblandy92b1f832009-12-23 22:23:49 +00002432Check your system clock" "$LINENO" 5
brynercb91a2f2006-08-25 21:14:45 +00002433fi
jimblandy92b1f832009-12-23 22:23:49 +00002434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2435$as_echo "yes" >&6; }
mark@chromium.org39d79642013-11-23 01:45:20 +00002436# If we didn't sleep, we still need to ensure time stamps of config.status and
2437# generated files are strictly newer.
2438am_sleep_pid=
2439if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2440 ( sleep 1 ) &
2441 am_sleep_pid=$!
2442fi
2443
2444rm -f conftest.file
2445
brynercb91a2f2006-08-25 21:14:45 +00002446test "$program_prefix" != NONE &&
mmentovai8c2a4de2006-09-20 16:20:15 +00002447 program_transform_name="s&^&$program_prefix&;$program_transform_name"
brynercb91a2f2006-08-25 21:14:45 +00002448# Use a double $ so make ignores it.
2449test "$program_suffix" != NONE &&
mmentovai8c2a4de2006-09-20 16:20:15 +00002450 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
jimblandy92b1f832009-12-23 22:23:49 +00002451# Double any \ or $.
brynercb91a2f2006-08-25 21:14:45 +00002452# By default was `s,x,x', remove it if useless.
jimblandy92b1f832009-12-23 22:23:49 +00002453ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2454program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
brynercb91a2f2006-08-25 21:14:45 +00002455
2456# expand $ac_aux_dir to an absolute path
2457am_aux_dir=`cd $ac_aux_dir && pwd`
2458
jimblandy92b1f832009-12-23 22:23:49 +00002459if test x"${MISSING+set}" != xset; then
2460 case $am_aux_dir in
2461 *\ * | *\ *)
2462 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2463 *)
2464 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2465 esac
2466fi
brynercb91a2f2006-08-25 21:14:45 +00002467# Use eval to expand $SHELL
mark@chromium.org39d79642013-11-23 01:45:20 +00002468if eval "$MISSING --is-lightweight"; then
2469 am_missing_run="$MISSING "
brynercb91a2f2006-08-25 21:14:45 +00002470else
2471 am_missing_run=
mark@chromium.org39d79642013-11-23 01:45:20 +00002472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2473$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
brynercb91a2f2006-08-25 21:14:45 +00002474fi
2475
jimblandy92b1f832009-12-23 22:23:49 +00002476if test x"${install_sh}" != xset; then
2477 case $am_aux_dir in
2478 *\ * | *\ *)
2479 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2480 *)
2481 install_sh="\${SHELL} $am_aux_dir/install-sh"
2482 esac
2483fi
2484
mark@chromium.org39d79642013-11-23 01:45:20 +00002485# Installed binaries are usually stripped using 'strip' when the user
2486# run "make install-strip". However 'strip' might not be the right
jimblandy92b1f832009-12-23 22:23:49 +00002487# tool to use in cross-compilation environments, therefore Automake
mark@chromium.org39d79642013-11-23 01:45:20 +00002488# will honor the 'STRIP' environment variable to overrule this program.
jimblandy92b1f832009-12-23 22:23:49 +00002489if test "$cross_compiling" != no; then
2490 if test -n "$ac_tool_prefix"; then
2491 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2492set dummy ${ac_tool_prefix}strip; ac_word=$2
2493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2494$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002495if ${ac_cv_prog_STRIP+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00002496 $as_echo_n "(cached) " >&6
2497else
2498 if test -n "$STRIP"; then
2499 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2500else
2501as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2502for as_dir in $PATH
2503do
2504 IFS=$as_save_IFS
2505 test -z "$as_dir" && as_dir=.
2506 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00002507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
jimblandy92b1f832009-12-23 22:23:49 +00002508 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2510 break 2
2511 fi
2512done
2513 done
2514IFS=$as_save_IFS
2515
2516fi
2517fi
2518STRIP=$ac_cv_prog_STRIP
2519if test -n "$STRIP"; then
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2521$as_echo "$STRIP" >&6; }
2522else
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2524$as_echo "no" >&6; }
2525fi
2526
2527
2528fi
2529if test -z "$ac_cv_prog_STRIP"; then
2530 ac_ct_STRIP=$STRIP
2531 # Extract the first word of "strip", so it can be a program name with args.
2532set dummy strip; ac_word=$2
2533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2534$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002535if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00002536 $as_echo_n "(cached) " >&6
2537else
2538 if test -n "$ac_ct_STRIP"; then
2539 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2540else
2541as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2542for as_dir in $PATH
2543do
2544 IFS=$as_save_IFS
2545 test -z "$as_dir" && as_dir=.
2546 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00002547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
jimblandy92b1f832009-12-23 22:23:49 +00002548 ac_cv_prog_ac_ct_STRIP="strip"
2549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 break 2
2551 fi
2552done
2553 done
2554IFS=$as_save_IFS
2555
2556fi
2557fi
2558ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2559if test -n "$ac_ct_STRIP"; then
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2561$as_echo "$ac_ct_STRIP" >&6; }
2562else
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2564$as_echo "no" >&6; }
2565fi
2566
2567 if test "x$ac_ct_STRIP" = x; then
2568 STRIP=":"
2569 else
2570 case $cross_compiling:$ac_tool_warned in
2571yes:)
2572{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2573$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2574ac_tool_warned=yes ;;
2575esac
2576 STRIP=$ac_ct_STRIP
2577 fi
2578else
2579 STRIP="$ac_cv_prog_STRIP"
2580fi
2581
2582fi
2583INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2584
2585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2586$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
mmentovaiaf3c43f2007-05-17 18:34:37 +00002587if test -z "$MKDIR_P"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002588 if ${ac_cv_path_mkdir+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00002589 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00002590else
mmentovaiaf3c43f2007-05-17 18:34:37 +00002591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2593do
2594 IFS=$as_save_IFS
2595 test -z "$as_dir" && as_dir=.
jimblandy92b1f832009-12-23 22:23:49 +00002596 for ac_prog in mkdir gmkdir; do
mmentovaiaf3c43f2007-05-17 18:34:37 +00002597 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00002598 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
mmentovaiaf3c43f2007-05-17 18:34:37 +00002599 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2600 'mkdir (GNU coreutils) '* | \
2601 'mkdir (coreutils) '* | \
2602 'mkdir (fileutils) '4.1*)
2603 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2604 break 3;;
2605 esac
2606 done
2607 done
jimblandy92b1f832009-12-23 22:23:49 +00002608 done
mmentovaiaf3c43f2007-05-17 18:34:37 +00002609IFS=$as_save_IFS
2610
2611fi
2612
jimblandydc4029a2010-02-02 17:39:51 +00002613 test -d ./--version && rmdir ./--version
mmentovaiaf3c43f2007-05-17 18:34:37 +00002614 if test "${ac_cv_path_mkdir+set}" = set; then
2615 MKDIR_P="$ac_cv_path_mkdir -p"
brynercb91a2f2006-08-25 21:14:45 +00002616 else
mmentovaiaf3c43f2007-05-17 18:34:37 +00002617 # As a last resort, use the slow shell script. Don't cache a
2618 # value for MKDIR_P within a source directory, because that will
2619 # break other packages using the cache if that directory is
2620 # removed, or if the value is a relative name.
mmentovaiaf3c43f2007-05-17 18:34:37 +00002621 MKDIR_P="$ac_install_sh -d"
brynercb91a2f2006-08-25 21:14:45 +00002622 fi
2623fi
jimblandy92b1f832009-12-23 22:23:49 +00002624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2625$as_echo "$MKDIR_P" >&6; }
mmentovaiaf3c43f2007-05-17 18:34:37 +00002626
brynercb91a2f2006-08-25 21:14:45 +00002627for ac_prog in gawk mawk nawk awk
2628do
2629 # Extract the first word of "$ac_prog", so it can be a program name with args.
2630set dummy $ac_prog; ac_word=$2
jimblandy92b1f832009-12-23 22:23:49 +00002631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2632$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002633if ${ac_cv_prog_AWK+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00002634 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00002635else
2636 if test -n "$AWK"; then
2637 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2638else
2639as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2640for as_dir in $PATH
2641do
2642 IFS=$as_save_IFS
2643 test -z "$as_dir" && as_dir=.
jimblandy92b1f832009-12-23 22:23:49 +00002644 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00002645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
brynercb91a2f2006-08-25 21:14:45 +00002646 ac_cv_prog_AWK="$ac_prog"
jimblandy92b1f832009-12-23 22:23:49 +00002647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
brynercb91a2f2006-08-25 21:14:45 +00002648 break 2
2649 fi
2650done
jimblandy92b1f832009-12-23 22:23:49 +00002651 done
mmentovai8c2a4de2006-09-20 16:20:15 +00002652IFS=$as_save_IFS
brynercb91a2f2006-08-25 21:14:45 +00002653
2654fi
2655fi
2656AWK=$ac_cv_prog_AWK
2657if test -n "$AWK"; then
jimblandy92b1f832009-12-23 22:23:49 +00002658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2659$as_echo "$AWK" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00002660else
jimblandy92b1f832009-12-23 22:23:49 +00002661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2662$as_echo "no" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00002663fi
2664
mmentovai8c2a4de2006-09-20 16:20:15 +00002665
brynercb91a2f2006-08-25 21:14:45 +00002666 test -n "$AWK" && break
2667done
2668
jimblandy92b1f832009-12-23 22:23:49 +00002669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2670$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2671set x ${MAKE-make}
2672ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002673if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00002674 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00002675else
2676 cat >conftest.make <<\_ACEOF
mmentovai8c2a4de2006-09-20 16:20:15 +00002677SHELL = /bin/sh
brynercb91a2f2006-08-25 21:14:45 +00002678all:
mmentovai8c2a4de2006-09-20 16:20:15 +00002679 @echo '@@@%%%=$(MAKE)=@@@%%%'
brynercb91a2f2006-08-25 21:14:45 +00002680_ACEOF
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002681# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
mmentovai8c2a4de2006-09-20 16:20:15 +00002682case `${MAKE-make} -f conftest.make 2>/dev/null` in
2683 *@@@%%%=?*=@@@%%%*)
2684 eval ac_cv_prog_make_${ac_make}_set=yes;;
2685 *)
2686 eval ac_cv_prog_make_${ac_make}_set=no;;
2687esac
brynercb91a2f2006-08-25 21:14:45 +00002688rm -f conftest.make
2689fi
mmentovai8c2a4de2006-09-20 16:20:15 +00002690if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
jimblandy92b1f832009-12-23 22:23:49 +00002691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2692$as_echo "yes" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00002693 SET_MAKE=
2694else
jimblandy92b1f832009-12-23 22:23:49 +00002695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2696$as_echo "no" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00002697 SET_MAKE="MAKE=${MAKE-make}"
2698fi
2699
2700rm -rf .tst 2>/dev/null
2701mkdir .tst 2>/dev/null
2702if test -d .tst; then
2703 am__leading_dot=.
2704else
2705 am__leading_dot=_
2706fi
2707rmdir .tst 2>/dev/null
2708
mark@chromium.org39d79642013-11-23 01:45:20 +00002709# Check whether --enable-silent-rules was given.
2710if test "${enable_silent_rules+set}" = set; then :
2711 enableval=$enable_silent_rules;
2712fi
2713
2714case $enable_silent_rules in # (((
2715 yes) AM_DEFAULT_VERBOSITY=0;;
2716 no) AM_DEFAULT_VERBOSITY=1;;
2717 *) AM_DEFAULT_VERBOSITY=1;;
2718esac
2719am_make=${MAKE-make}
2720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2721$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2722if ${am_cv_make_support_nested_variables+:} false; then :
2723 $as_echo_n "(cached) " >&6
2724else
2725 if $as_echo 'TRUE=$(BAR$(V))
2726BAR0=false
2727BAR1=true
2728V=1
2729am__doit:
2730 @$(TRUE)
2731.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2732 am_cv_make_support_nested_variables=yes
2733else
2734 am_cv_make_support_nested_variables=no
2735fi
2736fi
2737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2738$as_echo "$am_cv_make_support_nested_variables" >&6; }
2739if test $am_cv_make_support_nested_variables = yes; then
2740 AM_V='$(V)'
2741 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2742else
2743 AM_V=$AM_DEFAULT_VERBOSITY
2744 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2745fi
2746AM_BACKSLASH='\'
2747
mmentovaiaf3c43f2007-05-17 18:34:37 +00002748if test "`cd $srcdir && pwd`" != "`pwd`"; then
2749 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2750 # is not polluted with repeated "-I."
2751 am__isrc=' -I$(srcdir)'
2752 # test to see if srcdir already configured
2753 if test -f $srcdir/config.status; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002754 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
mmentovaiaf3c43f2007-05-17 18:34:37 +00002755 fi
brynercb91a2f2006-08-25 21:14:45 +00002756fi
2757
2758# test whether we have cygpath
2759if test -z "$CYGPATH_W"; then
2760 if (cygpath --version) >/dev/null 2>/dev/null; then
2761 CYGPATH_W='cygpath -w'
2762 else
2763 CYGPATH_W=echo
2764 fi
2765fi
2766
2767
2768# Define the identity of the package.
mmentovaie5dc6082007-02-14 19:51:05 +00002769 PACKAGE='breakpad'
Mike Frysinger3b8d8c02013-08-15 20:17:54 -04002770 VERSION='0.1'
brynercb91a2f2006-08-25 21:14:45 +00002771
2772
2773cat >>confdefs.h <<_ACEOF
2774#define PACKAGE "$PACKAGE"
2775_ACEOF
2776
2777
2778cat >>confdefs.h <<_ACEOF
2779#define VERSION "$VERSION"
2780_ACEOF
2781
2782# Some tools Automake needs.
2783
2784ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2785
2786
2787AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2788
2789
2790AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2791
2792
2793AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2794
2795
2796MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2797
mark@chromium.org39d79642013-11-23 01:45:20 +00002798# For better backward compatibility. To be removed once Automake 1.9.x
2799# dies out for good. For more background, see:
2800# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2801# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2802mkdir_p='$(MKDIR_P)'
2803
brynercb91a2f2006-08-25 21:14:45 +00002804# We need awk for the "check" target. The system "awk" is bad on
2805# some platforms.
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00002806# Always define AMTAR for backward compatibility. Yes, it's still used
2807# in the wild :-( We should find a proper way to deprecate it ...
2808AMTAR='$${TAR-tar}'
brynercb91a2f2006-08-25 21:14:45 +00002809
mmentovaidb3342a2006-12-05 22:52:28 +00002810
mark@chromium.org39d79642013-11-23 01:45:20 +00002811# We'll loop over all known methods to create a tar archive until one works.
mmentovaidb3342a2006-12-05 22:52:28 +00002812_am_tools='gnutar plaintar pax cpio none'
mark@chromium.org39d79642013-11-23 01:45:20 +00002813
2814# The POSIX 1988 'ustar' format is defined with fixed-size fields.
2815 # There is notably a 21 bits limit for the UID and the GID. In fact,
2816 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2817 # and bug#13588).
2818 am_max_uid=2097151 # 2^21 - 1
2819 am_max_gid=$am_max_uid
2820 # The $UID and $GID variables are not portable, so we need to resort
2821 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
2822 # below are definitely unexpected, so allow the users to see them
2823 # (that is, avoid stderr redirection).
2824 am_uid=`id -u || echo unknown`
2825 am_gid=`id -g || echo unknown`
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2827$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2828 if test $am_uid -le $am_max_uid; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2830$as_echo "yes" >&6; }
2831 else
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833$as_echo "no" >&6; }
2834 _am_tools=none
2835 fi
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2837$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2838 if test $am_gid -le $am_max_gid; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2840$as_echo "yes" >&6; }
2841 else
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2843$as_echo "no" >&6; }
2844 _am_tools=none
2845 fi
2846
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2848$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2849
2850 # Go ahead even if we have the value already cached. We do so because we
2851 # need to set the values for the 'am__tar' and 'am__untar' variables.
2852 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2853
2854 for _am_tool in $_am_tools; do
2855 case $_am_tool in
2856 gnutar)
2857 for _am_tar in tar gnutar gtar; do
2858 { echo "$as_me:$LINENO: $_am_tar --version" >&5
mmentovaidb3342a2006-12-05 22:52:28 +00002859 ($_am_tar --version) >&5 2>&5
2860 ac_status=$?
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); } && break
mark@chromium.org39d79642013-11-23 01:45:20 +00002863 done
2864 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2865 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2866 am__untar="$_am_tar -xf -"
2867 ;;
2868 plaintar)
2869 # Must skip GNU tar: if it does not support --format= it doesn't create
2870 # ustar tarball either.
2871 (tar --version) >/dev/null 2>&1 && continue
2872 am__tar='tar chf - "$$tardir"'
2873 am__tar_='tar chf - "$tardir"'
2874 am__untar='tar xf -'
2875 ;;
2876 pax)
2877 am__tar='pax -L -x ustar -w "$$tardir"'
2878 am__tar_='pax -L -x ustar -w "$tardir"'
2879 am__untar='pax -r'
2880 ;;
2881 cpio)
2882 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2883 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2884 am__untar='cpio -i -H ustar -d'
2885 ;;
2886 none)
2887 am__tar=false
2888 am__tar_=false
2889 am__untar=false
2890 ;;
2891 esac
mmentovaidb3342a2006-12-05 22:52:28 +00002892
mark@chromium.org39d79642013-11-23 01:45:20 +00002893 # If the value was cached, stop now. We just wanted to have am__tar
2894 # and am__untar set.
2895 test -n "${am_cv_prog_tar_ustar}" && break
mmentovaidb3342a2006-12-05 22:52:28 +00002896
mark@chromium.org39d79642013-11-23 01:45:20 +00002897 # tar/untar a dummy directory, and stop if the command works.
2898 rm -rf conftest.dir
2899 mkdir conftest.dir
2900 echo GrepMe > conftest.dir/file
2901 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
mmentovaidb3342a2006-12-05 22:52:28 +00002902 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2903 ac_status=$?
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }
mark@chromium.org39d79642013-11-23 01:45:20 +00002906 rm -rf conftest.dir
2907 if test -s conftest.tar; then
2908 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
mmentovaidb3342a2006-12-05 22:52:28 +00002909 ($am__untar <conftest.tar) >&5 2>&5
2910 ac_status=$?
2911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912 (exit $ac_status); }
mark@chromium.org39d79642013-11-23 01:45:20 +00002913 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2914 (cat conftest.dir/file) >&5 2>&5
2915 ac_status=$?
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }
2918 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2919 fi
2920 done
2921 rm -rf conftest.dir
mmentovaidb3342a2006-12-05 22:52:28 +00002922
mark@chromium.org39d79642013-11-23 01:45:20 +00002923 if ${am_cv_prog_tar_ustar+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00002924 $as_echo_n "(cached) " >&6
mmentovaidb3342a2006-12-05 22:52:28 +00002925else
2926 am_cv_prog_tar_ustar=$_am_tool
2927fi
2928
mark@chromium.org39d79642013-11-23 01:45:20 +00002929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
jimblandy92b1f832009-12-23 22:23:49 +00002930$as_echo "$am_cv_prog_tar_ustar" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00002931
2932
2933
2934
2935
mark@chromium.org39d79642013-11-23 01:45:20 +00002936
2937# POSIX will say in a future version that running "rm -f" with no argument
2938# is OK; and we want to be able to make that assumption in our Makefile
2939# recipes. So use an aggressive probe to check that the usage we want is
2940# actually supported "in the wild" to an acceptable degree.
2941# See automake bug#10828.
2942# To make any issue more visible, cause the running configure to be aborted
2943# by default if the 'rm' program in use doesn't match our expectations; the
2944# user can still override this though.
2945if rm -f && rm -fr && rm -rf; then : OK; else
2946 cat >&2 <<'END'
2947Oops!
2948
2949Your 'rm' program seems unable to run without file operands specified
2950on the command line, even when the '-f' option is present. This is contrary
2951to the behaviour of most rm programs out there, and not conforming with
2952the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2953
2954Please tell bug-automake@gnu.org about your system, including the value
2955of your $PATH and any error possibly output before this message. This
2956can help us improve future automake versions.
2957
2958END
2959 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2960 echo 'Configuration will proceed anyway, since you have set the' >&2
2961 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2962 echo >&2
2963 else
2964 cat >&2 <<'END'
2965Aborting the configuration process, to ensure you take notice of the issue.
2966
2967You can download and install GNU coreutils to get an 'rm' implementation
2968that behaves properly: <http://www.gnu.org/software/coreutils/>.
2969
2970If you want to complete the configuration process using your problematic
2971'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2972to "yes", and re-run configure.
2973
2974END
2975 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2976 fi
2977fi
mmentovai8c2a4de2006-09-20 16:20:15 +00002978ac_config_headers="$ac_config_headers src/config.h"
brynercb91a2f2006-08-25 21:14:45 +00002979
2980
ted.mielczarek@gmail.com67ce33b2013-12-10 12:28:11 +00002981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2982$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2983 # Check whether --enable-maintainer-mode was given.
2984if test "${enable_maintainer_mode+set}" = set; then :
2985 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2986else
2987 USE_MAINTAINER_MODE=no
2988fi
2989
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2991$as_echo "$USE_MAINTAINER_MODE" >&6; }
2992 if test $USE_MAINTAINER_MODE = yes; then
2993 MAINTAINER_MODE_TRUE=
2994 MAINTAINER_MODE_FALSE='#'
2995else
2996 MAINTAINER_MODE_TRUE='#'
2997 MAINTAINER_MODE_FALSE=
2998fi
2999
3000 MAINT=$MAINTAINER_MODE_TRUE
3001
3002
3003
digit@chromium.org979d8f42012-08-31 18:38:29 +00003004DEPDIR="${am__leading_dot}deps"
3005
3006ac_config_commands="$ac_config_commands depfiles"
3007
3008
3009am_make=${MAKE-make}
3010cat > confinc << 'END'
3011am__doit:
3012 @echo this is the am__doit target
3013.PHONY: am__doit
3014END
3015# If we don't find an include directive, just comment out the code.
3016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3017$as_echo_n "checking for style of include used by $am_make... " >&6; }
3018am__include="#"
3019am__quote=
3020_am_result=none
3021# First try GNU make style include.
3022echo "include confinc" > confmf
mark@chromium.org39d79642013-11-23 01:45:20 +00003023# Ignore all kinds of additional output from 'make'.
digit@chromium.org979d8f42012-08-31 18:38:29 +00003024case `$am_make -s -f confmf 2> /dev/null` in #(
3025*the\ am__doit\ target*)
3026 am__include=include
3027 am__quote=
3028 _am_result=GNU
3029 ;;
3030esac
3031# Now try BSD make style include.
3032if test "$am__include" = "#"; then
3033 echo '.include "confinc"' > confmf
3034 case `$am_make -s -f confmf 2> /dev/null` in #(
3035 *the\ am__doit\ target*)
3036 am__include=.include
3037 am__quote="\""
3038 _am_result=BSD
3039 ;;
3040 esac
3041fi
3042
3043
3044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3045$as_echo "$_am_result" >&6; }
3046rm -f confinc confmf
3047
3048# Check whether --enable-dependency-tracking was given.
3049if test "${enable_dependency_tracking+set}" = set; then :
3050 enableval=$enable_dependency_tracking;
3051fi
3052
3053if test "x$enable_dependency_tracking" != xno; then
3054 am_depcomp="$ac_aux_dir/depcomp"
3055 AMDEPBACKSLASH='\'
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003056 am__nodep='_no'
digit@chromium.org979d8f42012-08-31 18:38:29 +00003057fi
3058 if test "x$enable_dependency_tracking" != xno; then
3059 AMDEP_TRUE=
3060 AMDEP_FALSE='#'
3061else
3062 AMDEP_TRUE='#'
3063 AMDEP_FALSE=
3064fi
3065
3066
brynercb91a2f2006-08-25 21:14:45 +00003067ac_ext=c
3068ac_cpp='$CPP $CPPFLAGS'
3069ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3070ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3071ac_compiler_gnu=$ac_cv_c_compiler_gnu
3072if test -n "$ac_tool_prefix"; then
3073 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3074set dummy ${ac_tool_prefix}gcc; ac_word=$2
jimblandy92b1f832009-12-23 22:23:49 +00003075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3076$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003077if ${ac_cv_prog_CC+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00003078 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00003079else
3080 if test -n "$CC"; then
3081 ac_cv_prog_CC="$CC" # Let the user override the test.
3082else
3083as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084for as_dir in $PATH
3085do
3086 IFS=$as_save_IFS
3087 test -z "$as_dir" && as_dir=.
jimblandy92b1f832009-12-23 22:23:49 +00003088 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00003089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
brynercb91a2f2006-08-25 21:14:45 +00003090 ac_cv_prog_CC="${ac_tool_prefix}gcc"
jimblandy92b1f832009-12-23 22:23:49 +00003091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
brynercb91a2f2006-08-25 21:14:45 +00003092 break 2
3093 fi
3094done
jimblandy92b1f832009-12-23 22:23:49 +00003095 done
mmentovai8c2a4de2006-09-20 16:20:15 +00003096IFS=$as_save_IFS
brynercb91a2f2006-08-25 21:14:45 +00003097
3098fi
3099fi
3100CC=$ac_cv_prog_CC
3101if test -n "$CC"; then
jimblandy92b1f832009-12-23 22:23:49 +00003102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3103$as_echo "$CC" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00003104else
jimblandy92b1f832009-12-23 22:23:49 +00003105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3106$as_echo "no" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00003107fi
3108
mmentovai8c2a4de2006-09-20 16:20:15 +00003109
brynercb91a2f2006-08-25 21:14:45 +00003110fi
3111if test -z "$ac_cv_prog_CC"; then
3112 ac_ct_CC=$CC
3113 # Extract the first word of "gcc", so it can be a program name with args.
3114set dummy gcc; ac_word=$2
jimblandy92b1f832009-12-23 22:23:49 +00003115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3116$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003117if ${ac_cv_prog_ac_ct_CC+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00003118 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00003119else
3120 if test -n "$ac_ct_CC"; then
3121 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3122else
3123as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3124for as_dir in $PATH
3125do
3126 IFS=$as_save_IFS
3127 test -z "$as_dir" && as_dir=.
jimblandy92b1f832009-12-23 22:23:49 +00003128 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00003129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
brynercb91a2f2006-08-25 21:14:45 +00003130 ac_cv_prog_ac_ct_CC="gcc"
jimblandy92b1f832009-12-23 22:23:49 +00003131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
brynercb91a2f2006-08-25 21:14:45 +00003132 break 2
3133 fi
3134done
jimblandy92b1f832009-12-23 22:23:49 +00003135 done
mmentovai8c2a4de2006-09-20 16:20:15 +00003136IFS=$as_save_IFS
brynercb91a2f2006-08-25 21:14:45 +00003137
3138fi
3139fi
3140ac_ct_CC=$ac_cv_prog_ac_ct_CC
3141if test -n "$ac_ct_CC"; then
jimblandy92b1f832009-12-23 22:23:49 +00003142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3143$as_echo "$ac_ct_CC" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00003144else
jimblandy92b1f832009-12-23 22:23:49 +00003145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3146$as_echo "no" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00003147fi
3148
mmentovai8c2a4de2006-09-20 16:20:15 +00003149 if test "x$ac_ct_CC" = x; then
3150 CC=""
3151 else
3152 case $cross_compiling:$ac_tool_warned in
3153yes:)
jimblandy92b1f832009-12-23 22:23:49 +00003154{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3155$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
mmentovai8c2a4de2006-09-20 16:20:15 +00003156ac_tool_warned=yes ;;
3157esac
3158 CC=$ac_ct_CC
3159 fi
brynercb91a2f2006-08-25 21:14:45 +00003160else
3161 CC="$ac_cv_prog_CC"
3162fi
3163
3164if test -z "$CC"; then
mmentovai8c2a4de2006-09-20 16:20:15 +00003165 if test -n "$ac_tool_prefix"; then
3166 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
brynercb91a2f2006-08-25 21:14:45 +00003167set dummy ${ac_tool_prefix}cc; ac_word=$2
jimblandy92b1f832009-12-23 22:23:49 +00003168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3169$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003170if ${ac_cv_prog_CC+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00003171 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00003172else
3173 if test -n "$CC"; then
3174 ac_cv_prog_CC="$CC" # Let the user override the test.
3175else
3176as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3177for as_dir in $PATH
3178do
3179 IFS=$as_save_IFS
3180 test -z "$as_dir" && as_dir=.
jimblandy92b1f832009-12-23 22:23:49 +00003181 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00003182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
brynercb91a2f2006-08-25 21:14:45 +00003183 ac_cv_prog_CC="${ac_tool_prefix}cc"
jimblandy92b1f832009-12-23 22:23:49 +00003184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
brynercb91a2f2006-08-25 21:14:45 +00003185 break 2
3186 fi
3187done
jimblandy92b1f832009-12-23 22:23:49 +00003188 done
mmentovai8c2a4de2006-09-20 16:20:15 +00003189IFS=$as_save_IFS
brynercb91a2f2006-08-25 21:14:45 +00003190
3191fi
3192fi
3193CC=$ac_cv_prog_CC
3194if test -n "$CC"; then
jimblandy92b1f832009-12-23 22:23:49 +00003195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3196$as_echo "$CC" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00003197else
jimblandy92b1f832009-12-23 22:23:49 +00003198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3199$as_echo "no" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00003200fi
3201
mmentovai8c2a4de2006-09-20 16:20:15 +00003202
brynercb91a2f2006-08-25 21:14:45 +00003203 fi
brynercb91a2f2006-08-25 21:14:45 +00003204fi
3205if test -z "$CC"; then
3206 # Extract the first word of "cc", so it can be a program name with args.
3207set dummy cc; ac_word=$2
jimblandy92b1f832009-12-23 22:23:49 +00003208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3209$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003210if ${ac_cv_prog_CC+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00003211 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00003212else
3213 if test -n "$CC"; then
3214 ac_cv_prog_CC="$CC" # Let the user override the test.
3215else
3216 ac_prog_rejected=no
3217as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218for as_dir in $PATH
3219do
3220 IFS=$as_save_IFS
3221 test -z "$as_dir" && as_dir=.
jimblandy92b1f832009-12-23 22:23:49 +00003222 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00003223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
brynercb91a2f2006-08-25 21:14:45 +00003224 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3225 ac_prog_rejected=yes
3226 continue
3227 fi
3228 ac_cv_prog_CC="cc"
jimblandy92b1f832009-12-23 22:23:49 +00003229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
brynercb91a2f2006-08-25 21:14:45 +00003230 break 2
3231 fi
3232done
jimblandy92b1f832009-12-23 22:23:49 +00003233 done
mmentovai8c2a4de2006-09-20 16:20:15 +00003234IFS=$as_save_IFS
brynercb91a2f2006-08-25 21:14:45 +00003235
3236if test $ac_prog_rejected = yes; then
3237 # We found a bogon in the path, so make sure we never use it.
3238 set dummy $ac_cv_prog_CC
3239 shift
3240 if test $# != 0; then
3241 # We chose a different compiler from the bogus one.
3242 # However, it has the same basename, so the bogon will be chosen
3243 # first if we set CC to just the basename; use the full file name.
3244 shift
3245 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3246 fi
3247fi
3248fi
3249fi
3250CC=$ac_cv_prog_CC
3251if test -n "$CC"; then
jimblandy92b1f832009-12-23 22:23:49 +00003252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3253$as_echo "$CC" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00003254else
jimblandy92b1f832009-12-23 22:23:49 +00003255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3256$as_echo "no" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00003257fi
3258
mmentovai8c2a4de2006-09-20 16:20:15 +00003259
brynercb91a2f2006-08-25 21:14:45 +00003260fi
3261if test -z "$CC"; then
3262 if test -n "$ac_tool_prefix"; then
mmentovai8c2a4de2006-09-20 16:20:15 +00003263 for ac_prog in cl.exe
brynercb91a2f2006-08-25 21:14:45 +00003264 do
3265 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3266set dummy $ac_tool_prefix$ac_prog; ac_word=$2
jimblandy92b1f832009-12-23 22:23:49 +00003267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3268$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003269if ${ac_cv_prog_CC+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00003270 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00003271else
3272 if test -n "$CC"; then
3273 ac_cv_prog_CC="$CC" # Let the user override the test.
3274else
3275as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276for as_dir in $PATH
3277do
3278 IFS=$as_save_IFS
3279 test -z "$as_dir" && as_dir=.
jimblandy92b1f832009-12-23 22:23:49 +00003280 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00003281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
brynercb91a2f2006-08-25 21:14:45 +00003282 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
jimblandy92b1f832009-12-23 22:23:49 +00003283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
brynercb91a2f2006-08-25 21:14:45 +00003284 break 2
3285 fi
3286done
jimblandy92b1f832009-12-23 22:23:49 +00003287 done
mmentovai8c2a4de2006-09-20 16:20:15 +00003288IFS=$as_save_IFS
brynercb91a2f2006-08-25 21:14:45 +00003289
3290fi
3291fi
3292CC=$ac_cv_prog_CC
3293if test -n "$CC"; then
jimblandy92b1f832009-12-23 22:23:49 +00003294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3295$as_echo "$CC" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00003296else
jimblandy92b1f832009-12-23 22:23:49 +00003297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298$as_echo "no" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00003299fi
3300
mmentovai8c2a4de2006-09-20 16:20:15 +00003301
brynercb91a2f2006-08-25 21:14:45 +00003302 test -n "$CC" && break
3303 done
3304fi
3305if test -z "$CC"; then
3306 ac_ct_CC=$CC
mmentovai8c2a4de2006-09-20 16:20:15 +00003307 for ac_prog in cl.exe
brynercb91a2f2006-08-25 21:14:45 +00003308do
3309 # Extract the first word of "$ac_prog", so it can be a program name with args.
3310set dummy $ac_prog; ac_word=$2
jimblandy92b1f832009-12-23 22:23:49 +00003311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3312$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003313if ${ac_cv_prog_ac_ct_CC+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00003314 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00003315else
3316 if test -n "$ac_ct_CC"; then
3317 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3318else
3319as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3320for as_dir in $PATH
3321do
3322 IFS=$as_save_IFS
3323 test -z "$as_dir" && as_dir=.
jimblandy92b1f832009-12-23 22:23:49 +00003324 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00003325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
brynercb91a2f2006-08-25 21:14:45 +00003326 ac_cv_prog_ac_ct_CC="$ac_prog"
jimblandy92b1f832009-12-23 22:23:49 +00003327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
brynercb91a2f2006-08-25 21:14:45 +00003328 break 2
3329 fi
3330done
jimblandy92b1f832009-12-23 22:23:49 +00003331 done
mmentovai8c2a4de2006-09-20 16:20:15 +00003332IFS=$as_save_IFS
brynercb91a2f2006-08-25 21:14:45 +00003333
3334fi
3335fi
3336ac_ct_CC=$ac_cv_prog_ac_ct_CC
3337if test -n "$ac_ct_CC"; then
jimblandy92b1f832009-12-23 22:23:49 +00003338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3339$as_echo "$ac_ct_CC" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00003340else
jimblandy92b1f832009-12-23 22:23:49 +00003341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342$as_echo "no" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00003343fi
3344
mmentovai8c2a4de2006-09-20 16:20:15 +00003345
brynercb91a2f2006-08-25 21:14:45 +00003346 test -n "$ac_ct_CC" && break
3347done
3348
mmentovai8c2a4de2006-09-20 16:20:15 +00003349 if test "x$ac_ct_CC" = x; then
3350 CC=""
3351 else
3352 case $cross_compiling:$ac_tool_warned in
3353yes:)
jimblandy92b1f832009-12-23 22:23:49 +00003354{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3355$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
mmentovai8c2a4de2006-09-20 16:20:15 +00003356ac_tool_warned=yes ;;
3357esac
3358 CC=$ac_ct_CC
3359 fi
brynercb91a2f2006-08-25 21:14:45 +00003360fi
3361
3362fi
3363
3364
jimblandy92b1f832009-12-23 22:23:49 +00003365test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3366$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003367as_fn_error $? "no acceptable C compiler found in \$PATH
3368See \`config.log' for more details" "$LINENO" 5; }
brynercb91a2f2006-08-25 21:14:45 +00003369
3370# Provide some information about the compiler.
jimblandy92b1f832009-12-23 22:23:49 +00003371$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3372set X $ac_compile
3373ac_compiler=$2
3374for ac_option in --version -v -V -qversion; do
3375 { { ac_try="$ac_compiler $ac_option >&5"
mmentovai8c2a4de2006-09-20 16:20:15 +00003376case "(($ac_try" in
3377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378 *) ac_try_echo=$ac_try;;
3379esac
jimblandy92b1f832009-12-23 22:23:49 +00003380eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3381$as_echo "$ac_try_echo"; } >&5
3382 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
brynercb91a2f2006-08-25 21:14:45 +00003383 ac_status=$?
jimblandy92b1f832009-12-23 22:23:49 +00003384 if test -s conftest.err; then
3385 sed '10a\
3386... rest of stderr output deleted ...
3387 10q' conftest.err >conftest.er1
3388 cat conftest.er1 >&5
jimblandy92b1f832009-12-23 22:23:49 +00003389 fi
jimblandydc4029a2010-02-02 17:39:51 +00003390 rm -f conftest.er1 conftest.err
jimblandy92b1f832009-12-23 22:23:49 +00003391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3392 test $ac_status = 0; }
3393done
brynercb91a2f2006-08-25 21:14:45 +00003394
jimblandy92b1f832009-12-23 22:23:49 +00003395cat confdefs.h - <<_ACEOF >conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00003396/* end confdefs.h. */
jimblandydc4029a2010-02-02 17:39:51 +00003397
brynercb91a2f2006-08-25 21:14:45 +00003398int
3399main ()
3400{
3401
3402 ;
3403 return 0;
3404}
3405_ACEOF
3406ac_clean_files_save=$ac_clean_files
jimblandydc4029a2010-02-02 17:39:51 +00003407ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
brynercb91a2f2006-08-25 21:14:45 +00003408# Try to create an executable without -o first, disregard a.out.
3409# It will help us diagnose broken compilers, and finding out an intuition
3410# of exeext.
jimblandydc4029a2010-02-02 17:39:51 +00003411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3412$as_echo_n "checking whether the C compiler works... " >&6; }
jimblandy92b1f832009-12-23 22:23:49 +00003413ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3414
3415# The possible output files:
3416ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3417
mmentovai8c2a4de2006-09-20 16:20:15 +00003418ac_rmfiles=
3419for ac_file in $ac_files
3420do
3421 case $ac_file in
jimblandy92b1f832009-12-23 22:23:49 +00003422 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
mmentovai8c2a4de2006-09-20 16:20:15 +00003423 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3424 esac
3425done
3426rm -f $ac_rmfiles
3427
jimblandy92b1f832009-12-23 22:23:49 +00003428if { { ac_try="$ac_link_default"
mmentovai8c2a4de2006-09-20 16:20:15 +00003429case "(($ac_try" in
3430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431 *) ac_try_echo=$ac_try;;
3432esac
jimblandy92b1f832009-12-23 22:23:49 +00003433eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3434$as_echo "$ac_try_echo"; } >&5
mmentovai8c2a4de2006-09-20 16:20:15 +00003435 (eval "$ac_link_default") 2>&5
brynercb91a2f2006-08-25 21:14:45 +00003436 ac_status=$?
jimblandy92b1f832009-12-23 22:23:49 +00003437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3438 test $ac_status = 0; }; then :
mmentovai8c2a4de2006-09-20 16:20:15 +00003439 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3440# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3441# in a Makefile. We should not override ac_cv_exeext if it was cached,
3442# so that the user can short-circuit this test for compilers unknown to
3443# Autoconf.
mmentovaiaf3c43f2007-05-17 18:34:37 +00003444for ac_file in $ac_files ''
brynercb91a2f2006-08-25 21:14:45 +00003445do
3446 test -f "$ac_file" || continue
3447 case $ac_file in
jimblandy92b1f832009-12-23 22:23:49 +00003448 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
brynercb91a2f2006-08-25 21:14:45 +00003449 ;;
3450 [ab].out )
3451 # We found the default executable, but exeext='' is most
3452 # certainly right.
3453 break;;
3454 *.* )
jimblandy92b1f832009-12-23 22:23:49 +00003455 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
mmentovai8c2a4de2006-09-20 16:20:15 +00003456 then :; else
3457 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3458 fi
3459 # We set ac_cv_exeext here because the later test for it is not
3460 # safe: cross compilers may not add the suffix if given an `-o'
3461 # argument, so we may need to know it at that point already.
3462 # Even if this section looks crufty: it has the advantage of
3463 # actually working.
brynercb91a2f2006-08-25 21:14:45 +00003464 break;;
3465 * )
3466 break;;
3467 esac
3468done
mmentovai8c2a4de2006-09-20 16:20:15 +00003469test "$ac_cv_exeext" = no && ac_cv_exeext=
3470
brynercb91a2f2006-08-25 21:14:45 +00003471else
mmentovaiaf3c43f2007-05-17 18:34:37 +00003472 ac_file=''
3473fi
jimblandy92b1f832009-12-23 22:23:49 +00003474if test -z "$ac_file"; then :
jimblandydc4029a2010-02-02 17:39:51 +00003475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3476$as_echo "no" >&6; }
3477$as_echo "$as_me: failed program was:" >&5
brynercb91a2f2006-08-25 21:14:45 +00003478sed 's/^/| /' conftest.$ac_ext >&5
3479
jimblandy92b1f832009-12-23 22:23:49 +00003480{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3481$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003482as_fn_error 77 "C compiler cannot create executables
3483See \`config.log' for more details" "$LINENO" 5; }
jimblandydc4029a2010-02-02 17:39:51 +00003484else
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3486$as_echo "yes" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00003487fi
jimblandydc4029a2010-02-02 17:39:51 +00003488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3489$as_echo_n "checking for C compiler default output file name... " >&6; }
3490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3491$as_echo "$ac_file" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00003492ac_exeext=$ac_cv_exeext
brynercb91a2f2006-08-25 21:14:45 +00003493
jimblandydc4029a2010-02-02 17:39:51 +00003494rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
brynercb91a2f2006-08-25 21:14:45 +00003495ac_clean_files=$ac_clean_files_save
jimblandy92b1f832009-12-23 22:23:49 +00003496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3497$as_echo_n "checking for suffix of executables... " >&6; }
3498if { { ac_try="$ac_link"
mmentovai8c2a4de2006-09-20 16:20:15 +00003499case "(($ac_try" in
3500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3501 *) ac_try_echo=$ac_try;;
3502esac
jimblandy92b1f832009-12-23 22:23:49 +00003503eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3504$as_echo "$ac_try_echo"; } >&5
mmentovai8c2a4de2006-09-20 16:20:15 +00003505 (eval "$ac_link") 2>&5
brynercb91a2f2006-08-25 21:14:45 +00003506 ac_status=$?
jimblandy92b1f832009-12-23 22:23:49 +00003507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3508 test $ac_status = 0; }; then :
brynercb91a2f2006-08-25 21:14:45 +00003509 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3510# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3511# work properly (i.e., refer to `conftest.exe'), while it won't with
3512# `rm'.
3513for ac_file in conftest.exe conftest conftest.*; do
3514 test -f "$ac_file" || continue
3515 case $ac_file in
jimblandy92b1f832009-12-23 22:23:49 +00003516 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
brynercb91a2f2006-08-25 21:14:45 +00003517 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
brynercb91a2f2006-08-25 21:14:45 +00003518 break;;
3519 * ) break;;
3520 esac
3521done
3522else
jimblandy92b1f832009-12-23 22:23:49 +00003523 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3524$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003525as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3526See \`config.log' for more details" "$LINENO" 5; }
brynercb91a2f2006-08-25 21:14:45 +00003527fi
jimblandydc4029a2010-02-02 17:39:51 +00003528rm -f conftest conftest$ac_cv_exeext
jimblandy92b1f832009-12-23 22:23:49 +00003529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3530$as_echo "$ac_cv_exeext" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00003531
3532rm -f conftest.$ac_ext
3533EXEEXT=$ac_cv_exeext
3534ac_exeext=$EXEEXT
jimblandydc4029a2010-02-02 17:39:51 +00003535cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3536/* end confdefs.h. */
3537#include <stdio.h>
3538int
3539main ()
3540{
3541FILE *f = fopen ("conftest.out", "w");
3542 return ferror (f) || fclose (f) != 0;
3543
3544 ;
3545 return 0;
3546}
3547_ACEOF
3548ac_clean_files="$ac_clean_files conftest.out"
3549# Check that the compiler produces executables we can run. If not, either
3550# the compiler is broken, or we cross compile.
3551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3552$as_echo_n "checking whether we are cross compiling... " >&6; }
3553if test "$cross_compiling" != yes; then
3554 { { ac_try="$ac_link"
3555case "(($ac_try" in
3556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3557 *) ac_try_echo=$ac_try;;
3558esac
3559eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3560$as_echo "$ac_try_echo"; } >&5
3561 (eval "$ac_link") 2>&5
3562 ac_status=$?
3563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3564 test $ac_status = 0; }
3565 if { ac_try='./conftest$ac_cv_exeext'
3566 { { case "(($ac_try" in
3567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3568 *) ac_try_echo=$ac_try;;
3569esac
3570eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3571$as_echo "$ac_try_echo"; } >&5
3572 (eval "$ac_try") 2>&5
3573 ac_status=$?
3574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3575 test $ac_status = 0; }; }; then
3576 cross_compiling=no
3577 else
3578 if test "$cross_compiling" = maybe; then
3579 cross_compiling=yes
3580 else
3581 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3582$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003583as_fn_error $? "cannot run C compiled programs.
jimblandydc4029a2010-02-02 17:39:51 +00003584If you meant to cross compile, use \`--host'.
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003585See \`config.log' for more details" "$LINENO" 5; }
jimblandydc4029a2010-02-02 17:39:51 +00003586 fi
3587 fi
3588fi
3589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3590$as_echo "$cross_compiling" >&6; }
3591
3592rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3593ac_clean_files=$ac_clean_files_save
jimblandy92b1f832009-12-23 22:23:49 +00003594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3595$as_echo_n "checking for suffix of object files... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003596if ${ac_cv_objext+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00003597 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00003598else
jimblandy92b1f832009-12-23 22:23:49 +00003599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00003600/* end confdefs.h. */
3601
3602int
3603main ()
3604{
3605
3606 ;
3607 return 0;
3608}
3609_ACEOF
3610rm -f conftest.o conftest.obj
jimblandy92b1f832009-12-23 22:23:49 +00003611if { { ac_try="$ac_compile"
mmentovai8c2a4de2006-09-20 16:20:15 +00003612case "(($ac_try" in
3613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3614 *) ac_try_echo=$ac_try;;
3615esac
jimblandy92b1f832009-12-23 22:23:49 +00003616eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3617$as_echo "$ac_try_echo"; } >&5
mmentovai8c2a4de2006-09-20 16:20:15 +00003618 (eval "$ac_compile") 2>&5
brynercb91a2f2006-08-25 21:14:45 +00003619 ac_status=$?
jimblandy92b1f832009-12-23 22:23:49 +00003620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3621 test $ac_status = 0; }; then :
mmentovai8c2a4de2006-09-20 16:20:15 +00003622 for ac_file in conftest.o conftest.obj conftest.*; do
3623 test -f "$ac_file" || continue;
brynercb91a2f2006-08-25 21:14:45 +00003624 case $ac_file in
jimblandy92b1f832009-12-23 22:23:49 +00003625 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
brynercb91a2f2006-08-25 21:14:45 +00003626 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3627 break;;
3628 esac
3629done
3630else
jimblandy92b1f832009-12-23 22:23:49 +00003631 $as_echo "$as_me: failed program was:" >&5
brynercb91a2f2006-08-25 21:14:45 +00003632sed 's/^/| /' conftest.$ac_ext >&5
3633
jimblandy92b1f832009-12-23 22:23:49 +00003634{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3635$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003636as_fn_error $? "cannot compute suffix of object files: cannot compile
3637See \`config.log' for more details" "$LINENO" 5; }
brynercb91a2f2006-08-25 21:14:45 +00003638fi
brynercb91a2f2006-08-25 21:14:45 +00003639rm -f conftest.$ac_cv_objext conftest.$ac_ext
3640fi
jimblandy92b1f832009-12-23 22:23:49 +00003641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3642$as_echo "$ac_cv_objext" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00003643OBJEXT=$ac_cv_objext
3644ac_objext=$OBJEXT
jimblandy92b1f832009-12-23 22:23:49 +00003645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3646$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003647if ${ac_cv_c_compiler_gnu+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00003648 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00003649else
jimblandy92b1f832009-12-23 22:23:49 +00003650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00003651/* end confdefs.h. */
3652
3653int
3654main ()
3655{
3656#ifndef __GNUC__
3657 choke me
3658#endif
3659
3660 ;
3661 return 0;
3662}
3663_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00003664if ac_fn_c_try_compile "$LINENO"; then :
brynercb91a2f2006-08-25 21:14:45 +00003665 ac_compiler_gnu=yes
3666else
jimblandy92b1f832009-12-23 22:23:49 +00003667 ac_compiler_gnu=no
brynercb91a2f2006-08-25 21:14:45 +00003668fi
mmentovai8c2a4de2006-09-20 16:20:15 +00003669rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00003670ac_cv_c_compiler_gnu=$ac_compiler_gnu
3671
3672fi
jimblandy92b1f832009-12-23 22:23:49 +00003673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3674$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3675if test $ac_compiler_gnu = yes; then
3676 GCC=yes
3677else
3678 GCC=
3679fi
brynercb91a2f2006-08-25 21:14:45 +00003680ac_test_CFLAGS=${CFLAGS+set}
3681ac_save_CFLAGS=$CFLAGS
jimblandy92b1f832009-12-23 22:23:49 +00003682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3683$as_echo_n "checking whether $CC accepts -g... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003684if ${ac_cv_prog_cc_g+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00003685 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00003686else
mmentovai8c2a4de2006-09-20 16:20:15 +00003687 ac_save_c_werror_flag=$ac_c_werror_flag
3688 ac_c_werror_flag=yes
3689 ac_cv_prog_cc_g=no
3690 CFLAGS="-g"
jimblandy92b1f832009-12-23 22:23:49 +00003691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00003692/* end confdefs.h. */
3693
3694int
3695main ()
3696{
3697
3698 ;
3699 return 0;
3700}
3701_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00003702if ac_fn_c_try_compile "$LINENO"; then :
brynercb91a2f2006-08-25 21:14:45 +00003703 ac_cv_prog_cc_g=yes
3704else
jimblandy92b1f832009-12-23 22:23:49 +00003705 CFLAGS=""
3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
mmentovai8c2a4de2006-09-20 16:20:15 +00003707/* end confdefs.h. */
3708
3709int
3710main ()
3711{
3712
3713 ;
3714 return 0;
3715}
3716_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00003717if ac_fn_c_try_compile "$LINENO"; then :
mmentovai8c2a4de2006-09-20 16:20:15 +00003718
jimblandy92b1f832009-12-23 22:23:49 +00003719else
3720 ac_c_werror_flag=$ac_save_c_werror_flag
mmentovai8c2a4de2006-09-20 16:20:15 +00003721 CFLAGS="-g"
jimblandy92b1f832009-12-23 22:23:49 +00003722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
mmentovai8c2a4de2006-09-20 16:20:15 +00003723/* end confdefs.h. */
3724
3725int
3726main ()
3727{
3728
3729 ;
3730 return 0;
3731}
3732_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00003733if ac_fn_c_try_compile "$LINENO"; then :
mmentovai8c2a4de2006-09-20 16:20:15 +00003734 ac_cv_prog_cc_g=yes
brynercb91a2f2006-08-25 21:14:45 +00003735fi
mmentovai8c2a4de2006-09-20 16:20:15 +00003736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00003737fi
mmentovai8c2a4de2006-09-20 16:20:15 +00003738rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3739fi
mmentovai8c2a4de2006-09-20 16:20:15 +00003740rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3741 ac_c_werror_flag=$ac_save_c_werror_flag
3742fi
jimblandy92b1f832009-12-23 22:23:49 +00003743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3744$as_echo "$ac_cv_prog_cc_g" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00003745if test "$ac_test_CFLAGS" = set; then
3746 CFLAGS=$ac_save_CFLAGS
3747elif test $ac_cv_prog_cc_g = yes; then
3748 if test "$GCC" = yes; then
3749 CFLAGS="-g -O2"
3750 else
3751 CFLAGS="-g"
3752 fi
3753else
3754 if test "$GCC" = yes; then
3755 CFLAGS="-O2"
3756 else
3757 CFLAGS=
3758 fi
3759fi
jimblandy92b1f832009-12-23 22:23:49 +00003760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3761$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003762if ${ac_cv_prog_cc_c89+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00003763 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00003764else
mmentovai8c2a4de2006-09-20 16:20:15 +00003765 ac_cv_prog_cc_c89=no
brynercb91a2f2006-08-25 21:14:45 +00003766ac_save_CC=$CC
jimblandy92b1f832009-12-23 22:23:49 +00003767cat confdefs.h - <<_ACEOF >conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00003768/* end confdefs.h. */
3769#include <stdarg.h>
3770#include <stdio.h>
mark@chromium.org39d79642013-11-23 01:45:20 +00003771struct stat;
brynercb91a2f2006-08-25 21:14:45 +00003772/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3773struct buf { int x; };
3774FILE * (*rcsopen) (struct buf *, struct stat *, int);
3775static char *e (p, i)
3776 char **p;
3777 int i;
3778{
3779 return p[i];
3780}
3781static char *f (char * (*g) (char **, int), char **p, ...)
3782{
3783 char *s;
3784 va_list v;
3785 va_start (v,p);
3786 s = g (p, va_arg (v,int));
3787 va_end (v);
3788 return s;
3789}
3790
3791/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3792 function prototypes and stuff, but not '\xHH' hex character constants.
3793 These don't provoke an error unfortunately, instead are silently treated
mmentovai8c2a4de2006-09-20 16:20:15 +00003794 as 'x'. The following induces an error, until -std is added to get
brynercb91a2f2006-08-25 21:14:45 +00003795 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3796 array size at least. It's necessary to write '\x00'==0 to get something
mmentovai8c2a4de2006-09-20 16:20:15 +00003797 that's true only with -std. */
brynercb91a2f2006-08-25 21:14:45 +00003798int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3799
mmentovai8c2a4de2006-09-20 16:20:15 +00003800/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3801 inside strings and character constants. */
3802#define FOO(x) 'x'
3803int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3804
brynercb91a2f2006-08-25 21:14:45 +00003805int test (int i, double x);
3806struct s1 {int (*f) (int a);};
3807struct s2 {int (*f) (double a);};
3808int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3809int argc;
3810char **argv;
3811int
3812main ()
3813{
3814return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3815 ;
3816 return 0;
3817}
3818_ACEOF
mmentovai8c2a4de2006-09-20 16:20:15 +00003819for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3820 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
brynercb91a2f2006-08-25 21:14:45 +00003821do
3822 CC="$ac_save_CC $ac_arg"
jimblandy92b1f832009-12-23 22:23:49 +00003823 if ac_fn_c_try_compile "$LINENO"; then :
mmentovai8c2a4de2006-09-20 16:20:15 +00003824 ac_cv_prog_cc_c89=$ac_arg
brynercb91a2f2006-08-25 21:14:45 +00003825fi
mmentovai8c2a4de2006-09-20 16:20:15 +00003826rm -f core conftest.err conftest.$ac_objext
3827 test "x$ac_cv_prog_cc_c89" != "xno" && break
brynercb91a2f2006-08-25 21:14:45 +00003828done
mmentovai8c2a4de2006-09-20 16:20:15 +00003829rm -f conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00003830CC=$ac_save_CC
3831
3832fi
mmentovai8c2a4de2006-09-20 16:20:15 +00003833# AC_CACHE_VAL
3834case "x$ac_cv_prog_cc_c89" in
3835 x)
jimblandy92b1f832009-12-23 22:23:49 +00003836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3837$as_echo "none needed" >&6; } ;;
mmentovai8c2a4de2006-09-20 16:20:15 +00003838 xno)
jimblandy92b1f832009-12-23 22:23:49 +00003839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3840$as_echo "unsupported" >&6; } ;;
brynercb91a2f2006-08-25 21:14:45 +00003841 *)
mmentovai8c2a4de2006-09-20 16:20:15 +00003842 CC="$CC $ac_cv_prog_cc_c89"
jimblandy92b1f832009-12-23 22:23:49 +00003843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3844$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
brynercb91a2f2006-08-25 21:14:45 +00003845esac
jimblandy92b1f832009-12-23 22:23:49 +00003846if test "x$ac_cv_prog_cc_c89" != xno; then :
brynercb91a2f2006-08-25 21:14:45 +00003847
jimblandy92b1f832009-12-23 22:23:49 +00003848fi
brynercb91a2f2006-08-25 21:14:45 +00003849
brynercb91a2f2006-08-25 21:14:45 +00003850ac_ext=c
3851ac_cpp='$CPP $CPPFLAGS'
3852ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3853ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3854ac_compiler_gnu=$ac_cv_c_compiler_gnu
brynercb91a2f2006-08-25 21:14:45 +00003855
mark@chromium.org39d79642013-11-23 01:45:20 +00003856ac_ext=c
3857ac_cpp='$CPP $CPPFLAGS'
3858ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3859ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3860ac_compiler_gnu=$ac_cv_c_compiler_gnu
3861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3862$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3863if ${am_cv_prog_cc_c_o+:} false; then :
3864 $as_echo_n "(cached) " >&6
3865else
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867/* end confdefs.h. */
3868
3869int
3870main ()
3871{
3872
3873 ;
3874 return 0;
3875}
3876_ACEOF
3877 # Make sure it works both with $CC and with simple cc.
3878 # Following AC_PROG_CC_C_O, we do the test twice because some
3879 # compilers refuse to overwrite an existing .o file with -o,
3880 # though they will create one.
3881 am_cv_prog_cc_c_o=yes
3882 for am_i in 1 2; do
3883 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3884 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3885 ac_status=$?
3886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887 (exit $ac_status); } \
3888 && test -f conftest2.$ac_objext; then
3889 : OK
3890 else
3891 am_cv_prog_cc_c_o=no
3892 break
3893 fi
3894 done
3895 rm -f core conftest*
3896 unset am_i
3897fi
3898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3899$as_echo "$am_cv_prog_cc_c_o" >&6; }
3900if test "$am_cv_prog_cc_c_o" != yes; then
3901 # Losing compiler, so override with the script.
3902 # FIXME: It is wrong to rewrite CC.
3903 # But if we don't then we get into trouble of one sort or another.
3904 # A longer-term fix would be to have automake use am__CC in this case,
3905 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3906 CC="$am_aux_dir/compile $CC"
3907fi
3908ac_ext=c
3909ac_cpp='$CPP $CPPFLAGS'
3910ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3911ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3912ac_compiler_gnu=$ac_cv_c_compiler_gnu
3913
3914
brynercb91a2f2006-08-25 21:14:45 +00003915depcc="$CC" am_compiler_list=
3916
jimblandy92b1f832009-12-23 22:23:49 +00003917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3918$as_echo_n "checking dependency style of $depcc... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003919if ${am_cv_CC_dependencies_compiler_type+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00003920 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00003921else
3922 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3923 # We make a subdir and do the tests there. Otherwise we can end up
3924 # making bogus files that we don't know about and never remove. For
3925 # instance it was reported that on HP-UX the gcc test will end up
mark@chromium.org39d79642013-11-23 01:45:20 +00003926 # making a dummy file named 'D' -- because '-MD' means "put the output
3927 # in D".
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003928 rm -rf conftest.dir
brynercb91a2f2006-08-25 21:14:45 +00003929 mkdir conftest.dir
3930 # Copy depcomp to subdir because otherwise we won't find it if we're
3931 # using a relative directory.
3932 cp "$am_depcomp" conftest.dir
3933 cd conftest.dir
3934 # We will build objects and dependencies in a subdirectory because
3935 # it helps to detect inapplicable dependency modes. For instance
3936 # both Tru64's cc and ICC support -MD to output dependencies as a
3937 # side effect of compilation, but ICC will put the dependencies in
3938 # the current directory while Tru64 will put them in the object
3939 # directory.
3940 mkdir sub
3941
3942 am_cv_CC_dependencies_compiler_type=none
3943 if test "$am_compiler_list" = ""; then
3944 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3945 fi
jimblandy92b1f832009-12-23 22:23:49 +00003946 am__universal=false
3947 case " $depcc " in #(
3948 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3949 esac
3950
brynercb91a2f2006-08-25 21:14:45 +00003951 for depmode in $am_compiler_list; do
3952 # Setup a source with many dependencies, because some compilers
3953 # like to wrap large dependency lists on column 80 (with \), and
3954 # we should not choose a depcomp mode which is confused by this.
3955 #
3956 # We need to recreate these files for each test, as the compiler may
3957 # overwrite some of them when testing with obscure command lines.
3958 # This happens at least with the AIX C compiler.
3959 : > sub/conftest.c
3960 for i in 1 2 3 4 5 6; do
3961 echo '#include "conftst'$i'.h"' >> sub/conftest.c
mark@chromium.org39d79642013-11-23 01:45:20 +00003962 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3963 # Solaris 10 /bin/sh.
3964 echo '/* dummy */' > sub/conftst$i.h
brynercb91a2f2006-08-25 21:14:45 +00003965 done
3966 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3967
mark@chromium.org39d79642013-11-23 01:45:20 +00003968 # We check with '-c' and '-o' for the sake of the "dashmstdout"
jimblandy92b1f832009-12-23 22:23:49 +00003969 # mode. It turns out that the SunPro C++ compiler does not properly
mark@chromium.org39d79642013-11-23 01:45:20 +00003970 # handle '-M -o', and we need to detect this. Also, some Intel
3971 # versions had trouble with output in subdirs.
jimblandy92b1f832009-12-23 22:23:49 +00003972 am__obj=sub/conftest.${OBJEXT-o}
3973 am__minus_obj="-o $am__obj"
brynercb91a2f2006-08-25 21:14:45 +00003974 case $depmode in
jimblandy92b1f832009-12-23 22:23:49 +00003975 gcc)
3976 # This depmode causes a compiler race in universal mode.
3977 test "$am__universal" = false || continue
3978 ;;
brynercb91a2f2006-08-25 21:14:45 +00003979 nosideeffect)
mark@chromium.org39d79642013-11-23 01:45:20 +00003980 # After this tag, mechanisms are not by side-effect, so they'll
3981 # only be used when explicitly requested.
brynercb91a2f2006-08-25 21:14:45 +00003982 if test "x$enable_dependency_tracking" = xyes; then
3983 continue
3984 else
3985 break
3986 fi
3987 ;;
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00003988 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
mark@chromium.org39d79642013-11-23 01:45:20 +00003989 # This compiler won't grok '-c -o', but also, the minuso test has
digit@chromium.org979d8f42012-08-31 18:38:29 +00003990 # not run yet. These depmodes are late enough in the game, and
3991 # so weak that their functioning should not be impacted.
3992 am__obj=conftest.${OBJEXT-o}
3993 am__minus_obj=
3994 ;;
3995 none) break ;;
3996 esac
3997 if depmode=$depmode \
3998 source=sub/conftest.c object=$am__obj \
3999 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4000 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4001 >/dev/null 2>conftest.err &&
4002 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4003 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4004 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4005 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4006 # icc doesn't choke on unknown options, it will just issue warnings
4007 # or remarks (even with -Werror). So we grep stderr for any message
4008 # that says an option was ignored or not supported.
4009 # When given -MP, icc 7.0 and 7.1 complain thusly:
4010 # icc: Command line warning: ignoring option '-M'; no argument required
4011 # The diagnosis changed in icc 8.0:
4012 # icc: Command line remark: option '-MP' not supported
4013 if (grep 'ignoring option' conftest.err ||
4014 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4015 am_cv_CC_dependencies_compiler_type=$depmode
4016 break
4017 fi
4018 fi
4019 done
4020
4021 cd ..
4022 rm -rf conftest.dir
4023else
4024 am_cv_CC_dependencies_compiler_type=none
4025fi
4026
4027fi
4028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4029$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4030CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4031
4032 if
4033 test "x$enable_dependency_tracking" != xno \
4034 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4035 am__fastdepCC_TRUE=
4036 am__fastdepCC_FALSE='#'
4037else
4038 am__fastdepCC_TRUE='#'
4039 am__fastdepCC_FALSE=
brynercb91a2f2006-08-25 21:14:45 +00004040fi
4041
4042
digit@chromium.org979d8f42012-08-31 18:38:29 +00004043# By default we simply use the C compiler to build assembly code.
4044
4045test "${CCAS+set}" = set || CCAS=$CC
4046test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
4047
4048
4049
4050depcc="$CCAS" am_compiler_list=
4051
4052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4053$as_echo_n "checking dependency style of $depcc... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004054if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
digit@chromium.org979d8f42012-08-31 18:38:29 +00004055 $as_echo_n "(cached) " >&6
4056else
4057 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4058 # We make a subdir and do the tests there. Otherwise we can end up
4059 # making bogus files that we don't know about and never remove. For
4060 # instance it was reported that on HP-UX the gcc test will end up
mark@chromium.org39d79642013-11-23 01:45:20 +00004061 # making a dummy file named 'D' -- because '-MD' means "put the output
4062 # in D".
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004063 rm -rf conftest.dir
digit@chromium.org979d8f42012-08-31 18:38:29 +00004064 mkdir conftest.dir
4065 # Copy depcomp to subdir because otherwise we won't find it if we're
4066 # using a relative directory.
4067 cp "$am_depcomp" conftest.dir
4068 cd conftest.dir
4069 # We will build objects and dependencies in a subdirectory because
4070 # it helps to detect inapplicable dependency modes. For instance
4071 # both Tru64's cc and ICC support -MD to output dependencies as a
4072 # side effect of compilation, but ICC will put the dependencies in
4073 # the current directory while Tru64 will put them in the object
4074 # directory.
4075 mkdir sub
4076
4077 am_cv_CCAS_dependencies_compiler_type=none
4078 if test "$am_compiler_list" = ""; then
4079 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4080 fi
4081 am__universal=false
4082
4083
4084 for depmode in $am_compiler_list; do
4085 # Setup a source with many dependencies, because some compilers
4086 # like to wrap large dependency lists on column 80 (with \), and
4087 # we should not choose a depcomp mode which is confused by this.
4088 #
4089 # We need to recreate these files for each test, as the compiler may
4090 # overwrite some of them when testing with obscure command lines.
4091 # This happens at least with the AIX C compiler.
4092 : > sub/conftest.c
4093 for i in 1 2 3 4 5 6; do
4094 echo '#include "conftst'$i'.h"' >> sub/conftest.c
mark@chromium.org39d79642013-11-23 01:45:20 +00004095 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4096 # Solaris 10 /bin/sh.
4097 echo '/* dummy */' > sub/conftst$i.h
digit@chromium.org979d8f42012-08-31 18:38:29 +00004098 done
4099 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4100
mark@chromium.org39d79642013-11-23 01:45:20 +00004101 # We check with '-c' and '-o' for the sake of the "dashmstdout"
digit@chromium.org979d8f42012-08-31 18:38:29 +00004102 # mode. It turns out that the SunPro C++ compiler does not properly
mark@chromium.org39d79642013-11-23 01:45:20 +00004103 # handle '-M -o', and we need to detect this. Also, some Intel
4104 # versions had trouble with output in subdirs.
digit@chromium.org979d8f42012-08-31 18:38:29 +00004105 am__obj=sub/conftest.${OBJEXT-o}
4106 am__minus_obj="-o $am__obj"
4107 case $depmode in
4108 gcc)
4109 # This depmode causes a compiler race in universal mode.
4110 test "$am__universal" = false || continue
4111 ;;
4112 nosideeffect)
mark@chromium.org39d79642013-11-23 01:45:20 +00004113 # After this tag, mechanisms are not by side-effect, so they'll
4114 # only be used when explicitly requested.
digit@chromium.org979d8f42012-08-31 18:38:29 +00004115 if test "x$enable_dependency_tracking" = xyes; then
4116 continue
4117 else
4118 break
4119 fi
4120 ;;
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004121 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
mark@chromium.org39d79642013-11-23 01:45:20 +00004122 # This compiler won't grok '-c -o', but also, the minuso test has
digit@chromium.org979d8f42012-08-31 18:38:29 +00004123 # not run yet. These depmodes are late enough in the game, and
4124 # so weak that their functioning should not be impacted.
4125 am__obj=conftest.${OBJEXT-o}
4126 am__minus_obj=
4127 ;;
4128 none) break ;;
4129 esac
4130 if depmode=$depmode \
4131 source=sub/conftest.c object=$am__obj \
4132 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4133 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4134 >/dev/null 2>conftest.err &&
4135 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4136 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4137 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4138 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4139 # icc doesn't choke on unknown options, it will just issue warnings
4140 # or remarks (even with -Werror). So we grep stderr for any message
4141 # that says an option was ignored or not supported.
4142 # When given -MP, icc 7.0 and 7.1 complain thusly:
4143 # icc: Command line warning: ignoring option '-M'; no argument required
4144 # The diagnosis changed in icc 8.0:
4145 # icc: Command line remark: option '-MP' not supported
4146 if (grep 'ignoring option' conftest.err ||
4147 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4148 am_cv_CCAS_dependencies_compiler_type=$depmode
4149 break
4150 fi
4151 fi
4152 done
4153
4154 cd ..
4155 rm -rf conftest.dir
4156else
4157 am_cv_CCAS_dependencies_compiler_type=none
4158fi
4159
4160fi
4161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4162$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4163CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
4164
4165 if
4166 test "x$enable_dependency_tracking" != xno \
4167 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
4168 am__fastdepCCAS_TRUE=
4169 am__fastdepCCAS_FALSE='#'
4170else
4171 am__fastdepCCAS_TRUE='#'
4172 am__fastdepCCAS_FALSE=
4173fi
4174
4175
4176ac_ext=c
4177ac_cpp='$CPP $CPPFLAGS'
4178ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4179ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4180ac_compiler_gnu=$ac_cv_c_compiler_gnu
4181if test -n "$ac_tool_prefix"; then
4182 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4183set dummy ${ac_tool_prefix}gcc; ac_word=$2
4184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4185$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004186if ${ac_cv_prog_CC+:} false; then :
digit@chromium.org979d8f42012-08-31 18:38:29 +00004187 $as_echo_n "(cached) " >&6
4188else
4189 if test -n "$CC"; then
4190 ac_cv_prog_CC="$CC" # Let the user override the test.
4191else
4192as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4193for as_dir in $PATH
4194do
4195 IFS=$as_save_IFS
4196 test -z "$as_dir" && as_dir=.
4197 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00004198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
digit@chromium.org979d8f42012-08-31 18:38:29 +00004199 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4201 break 2
4202 fi
4203done
4204 done
4205IFS=$as_save_IFS
4206
4207fi
4208fi
4209CC=$ac_cv_prog_CC
4210if test -n "$CC"; then
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4212$as_echo "$CC" >&6; }
4213else
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4215$as_echo "no" >&6; }
4216fi
4217
4218
4219fi
4220if test -z "$ac_cv_prog_CC"; then
4221 ac_ct_CC=$CC
4222 # Extract the first word of "gcc", so it can be a program name with args.
4223set dummy gcc; ac_word=$2
4224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4225$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004226if ${ac_cv_prog_ac_ct_CC+:} false; then :
digit@chromium.org979d8f42012-08-31 18:38:29 +00004227 $as_echo_n "(cached) " >&6
4228else
4229 if test -n "$ac_ct_CC"; then
4230 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4231else
4232as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4233for as_dir in $PATH
4234do
4235 IFS=$as_save_IFS
4236 test -z "$as_dir" && as_dir=.
4237 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00004238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
digit@chromium.org979d8f42012-08-31 18:38:29 +00004239 ac_cv_prog_ac_ct_CC="gcc"
4240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4241 break 2
4242 fi
4243done
4244 done
4245IFS=$as_save_IFS
4246
4247fi
4248fi
4249ac_ct_CC=$ac_cv_prog_ac_ct_CC
4250if test -n "$ac_ct_CC"; then
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4252$as_echo "$ac_ct_CC" >&6; }
4253else
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4255$as_echo "no" >&6; }
4256fi
4257
4258 if test "x$ac_ct_CC" = x; then
4259 CC=""
4260 else
4261 case $cross_compiling:$ac_tool_warned in
4262yes:)
4263{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4264$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4265ac_tool_warned=yes ;;
4266esac
4267 CC=$ac_ct_CC
4268 fi
4269else
4270 CC="$ac_cv_prog_CC"
4271fi
4272
4273if test -z "$CC"; then
4274 if test -n "$ac_tool_prefix"; then
4275 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4276set dummy ${ac_tool_prefix}cc; ac_word=$2
4277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4278$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004279if ${ac_cv_prog_CC+:} false; then :
digit@chromium.org979d8f42012-08-31 18:38:29 +00004280 $as_echo_n "(cached) " >&6
4281else
4282 if test -n "$CC"; then
4283 ac_cv_prog_CC="$CC" # Let the user override the test.
4284else
4285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4286for as_dir in $PATH
4287do
4288 IFS=$as_save_IFS
4289 test -z "$as_dir" && as_dir=.
4290 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00004291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
digit@chromium.org979d8f42012-08-31 18:38:29 +00004292 ac_cv_prog_CC="${ac_tool_prefix}cc"
4293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4294 break 2
4295 fi
4296done
4297 done
4298IFS=$as_save_IFS
4299
4300fi
4301fi
4302CC=$ac_cv_prog_CC
4303if test -n "$CC"; then
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4305$as_echo "$CC" >&6; }
4306else
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4308$as_echo "no" >&6; }
4309fi
4310
4311
4312 fi
4313fi
4314if test -z "$CC"; then
4315 # Extract the first word of "cc", so it can be a program name with args.
4316set dummy cc; ac_word=$2
4317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4318$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004319if ${ac_cv_prog_CC+:} false; then :
digit@chromium.org979d8f42012-08-31 18:38:29 +00004320 $as_echo_n "(cached) " >&6
4321else
4322 if test -n "$CC"; then
4323 ac_cv_prog_CC="$CC" # Let the user override the test.
4324else
4325 ac_prog_rejected=no
4326as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327for as_dir in $PATH
4328do
4329 IFS=$as_save_IFS
4330 test -z "$as_dir" && as_dir=.
4331 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00004332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
digit@chromium.org979d8f42012-08-31 18:38:29 +00004333 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4334 ac_prog_rejected=yes
4335 continue
4336 fi
4337 ac_cv_prog_CC="cc"
4338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4339 break 2
4340 fi
4341done
4342 done
4343IFS=$as_save_IFS
4344
4345if test $ac_prog_rejected = yes; then
4346 # We found a bogon in the path, so make sure we never use it.
4347 set dummy $ac_cv_prog_CC
4348 shift
4349 if test $# != 0; then
4350 # We chose a different compiler from the bogus one.
4351 # However, it has the same basename, so the bogon will be chosen
4352 # first if we set CC to just the basename; use the full file name.
4353 shift
4354 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4355 fi
4356fi
4357fi
4358fi
4359CC=$ac_cv_prog_CC
4360if test -n "$CC"; then
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4362$as_echo "$CC" >&6; }
4363else
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4365$as_echo "no" >&6; }
4366fi
4367
4368
4369fi
4370if test -z "$CC"; then
4371 if test -n "$ac_tool_prefix"; then
4372 for ac_prog in cl.exe
4373 do
4374 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4375set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4377$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004378if ${ac_cv_prog_CC+:} false; then :
digit@chromium.org979d8f42012-08-31 18:38:29 +00004379 $as_echo_n "(cached) " >&6
4380else
4381 if test -n "$CC"; then
4382 ac_cv_prog_CC="$CC" # Let the user override the test.
4383else
4384as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385for as_dir in $PATH
4386do
4387 IFS=$as_save_IFS
4388 test -z "$as_dir" && as_dir=.
4389 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00004390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
digit@chromium.org979d8f42012-08-31 18:38:29 +00004391 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 break 2
4394 fi
4395done
4396 done
4397IFS=$as_save_IFS
4398
4399fi
4400fi
4401CC=$ac_cv_prog_CC
4402if test -n "$CC"; then
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4404$as_echo "$CC" >&6; }
4405else
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4407$as_echo "no" >&6; }
4408fi
4409
4410
4411 test -n "$CC" && break
4412 done
4413fi
4414if test -z "$CC"; then
4415 ac_ct_CC=$CC
4416 for ac_prog in cl.exe
4417do
4418 # Extract the first word of "$ac_prog", so it can be a program name with args.
4419set dummy $ac_prog; ac_word=$2
4420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4421$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004422if ${ac_cv_prog_ac_ct_CC+:} false; then :
digit@chromium.org979d8f42012-08-31 18:38:29 +00004423 $as_echo_n "(cached) " >&6
4424else
4425 if test -n "$ac_ct_CC"; then
4426 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4427else
4428as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4429for as_dir in $PATH
4430do
4431 IFS=$as_save_IFS
4432 test -z "$as_dir" && as_dir=.
4433 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00004434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
digit@chromium.org979d8f42012-08-31 18:38:29 +00004435 ac_cv_prog_ac_ct_CC="$ac_prog"
4436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4437 break 2
4438 fi
4439done
4440 done
4441IFS=$as_save_IFS
4442
4443fi
4444fi
4445ac_ct_CC=$ac_cv_prog_ac_ct_CC
4446if test -n "$ac_ct_CC"; then
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4448$as_echo "$ac_ct_CC" >&6; }
4449else
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4451$as_echo "no" >&6; }
4452fi
4453
4454
4455 test -n "$ac_ct_CC" && break
4456done
4457
4458 if test "x$ac_ct_CC" = x; then
4459 CC=""
4460 else
4461 case $cross_compiling:$ac_tool_warned in
4462yes:)
4463{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4464$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4465ac_tool_warned=yes ;;
4466esac
4467 CC=$ac_ct_CC
4468 fi
4469fi
4470
4471fi
4472
4473
4474test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4475$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004476as_fn_error $? "no acceptable C compiler found in \$PATH
4477See \`config.log' for more details" "$LINENO" 5; }
digit@chromium.org979d8f42012-08-31 18:38:29 +00004478
4479# Provide some information about the compiler.
4480$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4481set X $ac_compile
4482ac_compiler=$2
4483for ac_option in --version -v -V -qversion; do
4484 { { ac_try="$ac_compiler $ac_option >&5"
4485case "(($ac_try" in
4486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4487 *) ac_try_echo=$ac_try;;
4488esac
4489eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4490$as_echo "$ac_try_echo"; } >&5
4491 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4492 ac_status=$?
4493 if test -s conftest.err; then
4494 sed '10a\
4495... rest of stderr output deleted ...
4496 10q' conftest.err >conftest.er1
4497 cat conftest.er1 >&5
4498 fi
4499 rm -f conftest.er1 conftest.err
4500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4501 test $ac_status = 0; }
4502done
4503
4504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4505$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004506if ${ac_cv_c_compiler_gnu+:} false; then :
digit@chromium.org979d8f42012-08-31 18:38:29 +00004507 $as_echo_n "(cached) " >&6
4508else
4509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4510/* end confdefs.h. */
4511
4512int
4513main ()
4514{
4515#ifndef __GNUC__
4516 choke me
4517#endif
4518
4519 ;
4520 return 0;
4521}
4522_ACEOF
4523if ac_fn_c_try_compile "$LINENO"; then :
4524 ac_compiler_gnu=yes
4525else
4526 ac_compiler_gnu=no
4527fi
4528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4529ac_cv_c_compiler_gnu=$ac_compiler_gnu
4530
4531fi
4532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4533$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4534if test $ac_compiler_gnu = yes; then
4535 GCC=yes
4536else
4537 GCC=
4538fi
4539ac_test_CFLAGS=${CFLAGS+set}
4540ac_save_CFLAGS=$CFLAGS
4541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4542$as_echo_n "checking whether $CC accepts -g... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004543if ${ac_cv_prog_cc_g+:} false; then :
digit@chromium.org979d8f42012-08-31 18:38:29 +00004544 $as_echo_n "(cached) " >&6
4545else
4546 ac_save_c_werror_flag=$ac_c_werror_flag
4547 ac_c_werror_flag=yes
4548 ac_cv_prog_cc_g=no
4549 CFLAGS="-g"
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551/* end confdefs.h. */
4552
4553int
4554main ()
4555{
4556
4557 ;
4558 return 0;
4559}
4560_ACEOF
4561if ac_fn_c_try_compile "$LINENO"; then :
4562 ac_cv_prog_cc_g=yes
4563else
4564 CFLAGS=""
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566/* end confdefs.h. */
4567
4568int
4569main ()
4570{
4571
4572 ;
4573 return 0;
4574}
4575_ACEOF
4576if ac_fn_c_try_compile "$LINENO"; then :
4577
4578else
4579 ac_c_werror_flag=$ac_save_c_werror_flag
4580 CFLAGS="-g"
4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582/* end confdefs.h. */
4583
4584int
4585main ()
4586{
4587
4588 ;
4589 return 0;
4590}
4591_ACEOF
4592if ac_fn_c_try_compile "$LINENO"; then :
4593 ac_cv_prog_cc_g=yes
4594fi
4595rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4596fi
4597rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4598fi
4599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4600 ac_c_werror_flag=$ac_save_c_werror_flag
4601fi
4602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4603$as_echo "$ac_cv_prog_cc_g" >&6; }
4604if test "$ac_test_CFLAGS" = set; then
4605 CFLAGS=$ac_save_CFLAGS
4606elif test $ac_cv_prog_cc_g = yes; then
4607 if test "$GCC" = yes; then
4608 CFLAGS="-g -O2"
4609 else
4610 CFLAGS="-g"
4611 fi
4612else
4613 if test "$GCC" = yes; then
4614 CFLAGS="-O2"
4615 else
4616 CFLAGS=
4617 fi
4618fi
4619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4620$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004621if ${ac_cv_prog_cc_c89+:} false; then :
digit@chromium.org979d8f42012-08-31 18:38:29 +00004622 $as_echo_n "(cached) " >&6
4623else
4624 ac_cv_prog_cc_c89=no
4625ac_save_CC=$CC
4626cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627/* end confdefs.h. */
4628#include <stdarg.h>
4629#include <stdio.h>
mark@chromium.org39d79642013-11-23 01:45:20 +00004630struct stat;
digit@chromium.org979d8f42012-08-31 18:38:29 +00004631/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4632struct buf { int x; };
4633FILE * (*rcsopen) (struct buf *, struct stat *, int);
4634static char *e (p, i)
4635 char **p;
4636 int i;
4637{
4638 return p[i];
4639}
4640static char *f (char * (*g) (char **, int), char **p, ...)
4641{
4642 char *s;
4643 va_list v;
4644 va_start (v,p);
4645 s = g (p, va_arg (v,int));
4646 va_end (v);
4647 return s;
4648}
4649
4650/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4651 function prototypes and stuff, but not '\xHH' hex character constants.
4652 These don't provoke an error unfortunately, instead are silently treated
4653 as 'x'. The following induces an error, until -std is added to get
4654 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4655 array size at least. It's necessary to write '\x00'==0 to get something
4656 that's true only with -std. */
4657int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4658
4659/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4660 inside strings and character constants. */
4661#define FOO(x) 'x'
4662int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4663
4664int test (int i, double x);
4665struct s1 {int (*f) (int a);};
4666struct s2 {int (*f) (double a);};
4667int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4668int argc;
4669char **argv;
4670int
4671main ()
4672{
4673return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4674 ;
4675 return 0;
4676}
4677_ACEOF
4678for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4679 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4680do
4681 CC="$ac_save_CC $ac_arg"
4682 if ac_fn_c_try_compile "$LINENO"; then :
4683 ac_cv_prog_cc_c89=$ac_arg
4684fi
4685rm -f core conftest.err conftest.$ac_objext
4686 test "x$ac_cv_prog_cc_c89" != "xno" && break
4687done
4688rm -f conftest.$ac_ext
4689CC=$ac_save_CC
4690
4691fi
4692# AC_CACHE_VAL
4693case "x$ac_cv_prog_cc_c89" in
4694 x)
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4696$as_echo "none needed" >&6; } ;;
4697 xno)
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4699$as_echo "unsupported" >&6; } ;;
4700 *)
4701 CC="$CC $ac_cv_prog_cc_c89"
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4703$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4704esac
4705if test "x$ac_cv_prog_cc_c89" != xno; then :
4706
4707fi
4708
4709ac_ext=c
4710ac_cpp='$CPP $CPPFLAGS'
4711ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4712ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4713ac_compiler_gnu=$ac_cv_c_compiler_gnu
brynercb91a2f2006-08-25 21:14:45 +00004714
mark@chromium.org39d79642013-11-23 01:45:20 +00004715ac_ext=c
4716ac_cpp='$CPP $CPPFLAGS'
4717ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4718ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4719ac_compiler_gnu=$ac_cv_c_compiler_gnu
4720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4721$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4722if ${am_cv_prog_cc_c_o+:} false; then :
4723 $as_echo_n "(cached) " >&6
4724else
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726/* end confdefs.h. */
4727
4728int
4729main ()
4730{
4731
4732 ;
4733 return 0;
4734}
4735_ACEOF
4736 # Make sure it works both with $CC and with simple cc.
4737 # Following AC_PROG_CC_C_O, we do the test twice because some
4738 # compilers refuse to overwrite an existing .o file with -o,
4739 # though they will create one.
4740 am_cv_prog_cc_c_o=yes
4741 for am_i in 1 2; do
4742 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4743 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4744 ac_status=$?
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); } \
4747 && test -f conftest2.$ac_objext; then
4748 : OK
4749 else
4750 am_cv_prog_cc_c_o=no
4751 break
4752 fi
4753 done
4754 rm -f core conftest*
4755 unset am_i
4756fi
4757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4758$as_echo "$am_cv_prog_cc_c_o" >&6; }
4759if test "$am_cv_prog_cc_c_o" != yes; then
4760 # Losing compiler, so override with the script.
4761 # FIXME: It is wrong to rewrite CC.
4762 # But if we don't then we get into trouble of one sort or another.
4763 # A longer-term fix would be to have automake use am__CC in this case,
4764 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4765 CC="$am_aux_dir/compile $CC"
4766fi
4767ac_ext=c
4768ac_cpp='$CPP $CPPFLAGS'
4769ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4770ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4771ac_compiler_gnu=$ac_cv_c_compiler_gnu
4772
4773
brynercb91a2f2006-08-25 21:14:45 +00004774depcc="$CC" am_compiler_list=
4775
4776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4777$as_echo_n "checking dependency style of $depcc... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004778if ${am_cv_CC_dependencies_compiler_type+:} false; then :
brynercb91a2f2006-08-25 21:14:45 +00004779 $as_echo_n "(cached) " >&6
4780else
4781 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4782 # We make a subdir and do the tests there. Otherwise we can end up
4783 # making bogus files that we don't know about and never remove. For
4784 # instance it was reported that on HP-UX the gcc test will end up
mark@chromium.org39d79642013-11-23 01:45:20 +00004785 # making a dummy file named 'D' -- because '-MD' means "put the output
4786 # in D".
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004787 rm -rf conftest.dir
brynercb91a2f2006-08-25 21:14:45 +00004788 mkdir conftest.dir
4789 # Copy depcomp to subdir because otherwise we won't find it if we're
4790 # using a relative directory.
4791 cp "$am_depcomp" conftest.dir
4792 cd conftest.dir
4793 # We will build objects and dependencies in a subdirectory because
4794 # it helps to detect inapplicable dependency modes. For instance
4795 # both Tru64's cc and ICC support -MD to output dependencies as a
4796 # side effect of compilation, but ICC will put the dependencies in
4797 # the current directory while Tru64 will put them in the object
4798 # directory.
4799 mkdir sub
4800
4801 am_cv_CC_dependencies_compiler_type=none
4802 if test "$am_compiler_list" = ""; then
4803 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4804 fi
4805 am__universal=false
4806 case " $depcc " in #(
4807 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4808 esac
4809
4810 for depmode in $am_compiler_list; do
4811 # Setup a source with many dependencies, because some compilers
4812 # like to wrap large dependency lists on column 80 (with \), and
4813 # we should not choose a depcomp mode which is confused by this.
4814 #
4815 # We need to recreate these files for each test, as the compiler may
4816 # overwrite some of them when testing with obscure command lines.
4817 # This happens at least with the AIX C compiler.
4818 : > sub/conftest.c
4819 for i in 1 2 3 4 5 6; do
4820 echo '#include "conftst'$i'.h"' >> sub/conftest.c
mark@chromium.org39d79642013-11-23 01:45:20 +00004821 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4822 # Solaris 10 /bin/sh.
4823 echo '/* dummy */' > sub/conftst$i.h
brynercb91a2f2006-08-25 21:14:45 +00004824 done
4825 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4826
mark@chromium.org39d79642013-11-23 01:45:20 +00004827 # We check with '-c' and '-o' for the sake of the "dashmstdout"
brynercb91a2f2006-08-25 21:14:45 +00004828 # mode. It turns out that the SunPro C++ compiler does not properly
mark@chromium.org39d79642013-11-23 01:45:20 +00004829 # handle '-M -o', and we need to detect this. Also, some Intel
4830 # versions had trouble with output in subdirs.
brynercb91a2f2006-08-25 21:14:45 +00004831 am__obj=sub/conftest.${OBJEXT-o}
4832 am__minus_obj="-o $am__obj"
4833 case $depmode in
4834 gcc)
4835 # This depmode causes a compiler race in universal mode.
4836 test "$am__universal" = false || continue
4837 ;;
4838 nosideeffect)
mark@chromium.org39d79642013-11-23 01:45:20 +00004839 # After this tag, mechanisms are not by side-effect, so they'll
4840 # only be used when explicitly requested.
brynercb91a2f2006-08-25 21:14:45 +00004841 if test "x$enable_dependency_tracking" = xyes; then
4842 continue
4843 else
4844 break
4845 fi
4846 ;;
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004847 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
mark@chromium.org39d79642013-11-23 01:45:20 +00004848 # This compiler won't grok '-c -o', but also, the minuso test has
jimblandy92b1f832009-12-23 22:23:49 +00004849 # not run yet. These depmodes are late enough in the game, and
4850 # so weak that their functioning should not be impacted.
4851 am__obj=conftest.${OBJEXT-o}
4852 am__minus_obj=
4853 ;;
brynercb91a2f2006-08-25 21:14:45 +00004854 none) break ;;
4855 esac
brynercb91a2f2006-08-25 21:14:45 +00004856 if depmode=$depmode \
jimblandy92b1f832009-12-23 22:23:49 +00004857 source=sub/conftest.c object=$am__obj \
brynercb91a2f2006-08-25 21:14:45 +00004858 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
jimblandy92b1f832009-12-23 22:23:49 +00004859 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
brynercb91a2f2006-08-25 21:14:45 +00004860 >/dev/null 2>conftest.err &&
mmentovaiaf3c43f2007-05-17 18:34:37 +00004861 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
brynercb91a2f2006-08-25 21:14:45 +00004862 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
jimblandy92b1f832009-12-23 22:23:49 +00004863 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
brynercb91a2f2006-08-25 21:14:45 +00004864 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4865 # icc doesn't choke on unknown options, it will just issue warnings
4866 # or remarks (even with -Werror). So we grep stderr for any message
4867 # that says an option was ignored or not supported.
4868 # When given -MP, icc 7.0 and 7.1 complain thusly:
4869 # icc: Command line warning: ignoring option '-M'; no argument required
4870 # The diagnosis changed in icc 8.0:
4871 # icc: Command line remark: option '-MP' not supported
4872 if (grep 'ignoring option' conftest.err ||
4873 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4874 am_cv_CC_dependencies_compiler_type=$depmode
4875 break
4876 fi
4877 fi
4878 done
4879
4880 cd ..
4881 rm -rf conftest.dir
4882else
4883 am_cv_CC_dependencies_compiler_type=none
4884fi
4885
4886fi
jimblandy92b1f832009-12-23 22:23:49 +00004887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4888$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00004889CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4890
mmentovaiaf3c43f2007-05-17 18:34:37 +00004891 if
brynercb91a2f2006-08-25 21:14:45 +00004892 test "x$enable_dependency_tracking" != xno \
4893 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4894 am__fastdepCC_TRUE=
4895 am__fastdepCC_FALSE='#'
4896else
4897 am__fastdepCC_TRUE='#'
4898 am__fastdepCC_FALSE=
4899fi
4900
4901
ted.mielczarekd192a712010-10-05 19:38:51 +00004902
brynercb91a2f2006-08-25 21:14:45 +00004903ac_ext=c
4904ac_cpp='$CPP $CPPFLAGS'
4905ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4906ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4907ac_compiler_gnu=$ac_cv_c_compiler_gnu
jimblandy92b1f832009-12-23 22:23:49 +00004908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4909$as_echo_n "checking how to run the C preprocessor... " >&6; }
brynercb91a2f2006-08-25 21:14:45 +00004910# On Suns, sometimes $CPP names a directory.
4911if test -n "$CPP" && test -d "$CPP"; then
4912 CPP=
4913fi
4914if test -z "$CPP"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004915 if ${ac_cv_prog_CPP+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00004916 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00004917else
4918 # Double quotes because CPP needs to be expanded
4919 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4920 do
4921 ac_preproc_ok=false
4922for ac_c_preproc_warn_flag in '' yes
4923do
4924 # Use a header file that comes with gcc, so configuring glibc
4925 # with a fresh cross-compiler works.
4926 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4927 # <limits.h> exists even on freestanding compilers.
4928 # On the NeXT, cc -E runs the code through the compiler's parser,
4929 # not just through cpp. "Syntax error" is here to catch this case.
jimblandy92b1f832009-12-23 22:23:49 +00004930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00004931/* end confdefs.h. */
4932#ifdef __STDC__
4933# include <limits.h>
4934#else
4935# include <assert.h>
4936#endif
4937 Syntax error
4938_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00004939if ac_fn_c_try_cpp "$LINENO"; then :
brynercb91a2f2006-08-25 21:14:45 +00004940
jimblandy92b1f832009-12-23 22:23:49 +00004941else
brynercb91a2f2006-08-25 21:14:45 +00004942 # Broken: fails on valid input.
4943continue
4944fi
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004945rm -f conftest.err conftest.i conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00004946
mmentovai8c2a4de2006-09-20 16:20:15 +00004947 # OK, works on sane cases. Now check whether nonexistent headers
brynercb91a2f2006-08-25 21:14:45 +00004948 # can be detected and how.
jimblandy92b1f832009-12-23 22:23:49 +00004949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00004950/* end confdefs.h. */
4951#include <ac_nonexistent.h>
4952_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00004953if ac_fn_c_try_cpp "$LINENO"; then :
brynercb91a2f2006-08-25 21:14:45 +00004954 # Broken: success on invalid input.
4955continue
4956else
brynercb91a2f2006-08-25 21:14:45 +00004957 # Passes both tests.
4958ac_preproc_ok=:
4959break
4960fi
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004961rm -f conftest.err conftest.i conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00004962
4963done
4964# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00004965rm -f conftest.i conftest.err conftest.$ac_ext
jimblandy92b1f832009-12-23 22:23:49 +00004966if $ac_preproc_ok; then :
brynercb91a2f2006-08-25 21:14:45 +00004967 break
4968fi
4969
4970 done
4971 ac_cv_prog_CPP=$CPP
4972
4973fi
4974 CPP=$ac_cv_prog_CPP
4975else
4976 ac_cv_prog_CPP=$CPP
4977fi
jimblandy92b1f832009-12-23 22:23:49 +00004978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4979$as_echo "$CPP" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00004980ac_preproc_ok=false
4981for ac_c_preproc_warn_flag in '' yes
4982do
4983 # Use a header file that comes with gcc, so configuring glibc
4984 # with a fresh cross-compiler works.
4985 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4986 # <limits.h> exists even on freestanding compilers.
4987 # On the NeXT, cc -E runs the code through the compiler's parser,
4988 # not just through cpp. "Syntax error" is here to catch this case.
jimblandy92b1f832009-12-23 22:23:49 +00004989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00004990/* end confdefs.h. */
4991#ifdef __STDC__
4992# include <limits.h>
4993#else
4994# include <assert.h>
4995#endif
4996 Syntax error
4997_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00004998if ac_fn_c_try_cpp "$LINENO"; then :
brynercb91a2f2006-08-25 21:14:45 +00004999
jimblandy92b1f832009-12-23 22:23:49 +00005000else
brynercb91a2f2006-08-25 21:14:45 +00005001 # Broken: fails on valid input.
5002continue
5003fi
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005004rm -f conftest.err conftest.i conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00005005
mmentovai8c2a4de2006-09-20 16:20:15 +00005006 # OK, works on sane cases. Now check whether nonexistent headers
brynercb91a2f2006-08-25 21:14:45 +00005007 # can be detected and how.
jimblandy92b1f832009-12-23 22:23:49 +00005008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00005009/* end confdefs.h. */
5010#include <ac_nonexistent.h>
5011_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00005012if ac_fn_c_try_cpp "$LINENO"; then :
brynercb91a2f2006-08-25 21:14:45 +00005013 # Broken: success on invalid input.
5014continue
5015else
brynercb91a2f2006-08-25 21:14:45 +00005016 # Passes both tests.
5017ac_preproc_ok=:
5018break
5019fi
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005020rm -f conftest.err conftest.i conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00005021
5022done
5023# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005024rm -f conftest.i conftest.err conftest.$ac_ext
jimblandy92b1f832009-12-23 22:23:49 +00005025if $ac_preproc_ok; then :
5026
brynercb91a2f2006-08-25 21:14:45 +00005027else
jimblandy92b1f832009-12-23 22:23:49 +00005028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5029$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005030as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5031See \`config.log' for more details" "$LINENO" 5; }
brynercb91a2f2006-08-25 21:14:45 +00005032fi
5033
5034ac_ext=c
5035ac_cpp='$CPP $CPPFLAGS'
5036ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5037ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5038ac_compiler_gnu=$ac_cv_c_compiler_gnu
5039
mmentovai8c2a4de2006-09-20 16:20:15 +00005040ac_ext=cpp
brynercb91a2f2006-08-25 21:14:45 +00005041ac_cpp='$CXXCPP $CPPFLAGS'
5042ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5043ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5044ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
mmentovai8c2a4de2006-09-20 16:20:15 +00005045if test -z "$CXX"; then
5046 if test -n "$CCC"; then
5047 CXX=$CCC
5048 else
5049 if test -n "$ac_tool_prefix"; then
5050 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
brynercb91a2f2006-08-25 21:14:45 +00005051 do
5052 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5053set dummy $ac_tool_prefix$ac_prog; ac_word=$2
jimblandy92b1f832009-12-23 22:23:49 +00005054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005056if ${ac_cv_prog_CXX+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00005057 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00005058else
5059 if test -n "$CXX"; then
5060 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5061else
5062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063for as_dir in $PATH
5064do
5065 IFS=$as_save_IFS
5066 test -z "$as_dir" && as_dir=.
jimblandy92b1f832009-12-23 22:23:49 +00005067 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00005068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
brynercb91a2f2006-08-25 21:14:45 +00005069 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
jimblandy92b1f832009-12-23 22:23:49 +00005070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
brynercb91a2f2006-08-25 21:14:45 +00005071 break 2
5072 fi
5073done
jimblandy92b1f832009-12-23 22:23:49 +00005074 done
mmentovai8c2a4de2006-09-20 16:20:15 +00005075IFS=$as_save_IFS
brynercb91a2f2006-08-25 21:14:45 +00005076
5077fi
5078fi
5079CXX=$ac_cv_prog_CXX
5080if test -n "$CXX"; then
jimblandy92b1f832009-12-23 22:23:49 +00005081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5082$as_echo "$CXX" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00005083else
jimblandy92b1f832009-12-23 22:23:49 +00005084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085$as_echo "no" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00005086fi
5087
mmentovai8c2a4de2006-09-20 16:20:15 +00005088
brynercb91a2f2006-08-25 21:14:45 +00005089 test -n "$CXX" && break
5090 done
5091fi
5092if test -z "$CXX"; then
5093 ac_ct_CXX=$CXX
mmentovai8c2a4de2006-09-20 16:20:15 +00005094 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
brynercb91a2f2006-08-25 21:14:45 +00005095do
5096 # Extract the first word of "$ac_prog", so it can be a program name with args.
5097set dummy $ac_prog; ac_word=$2
jimblandy92b1f832009-12-23 22:23:49 +00005098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5099$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005100if ${ac_cv_prog_ac_ct_CXX+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00005101 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00005102else
5103 if test -n "$ac_ct_CXX"; then
5104 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5105else
5106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107for as_dir in $PATH
5108do
5109 IFS=$as_save_IFS
5110 test -z "$as_dir" && as_dir=.
jimblandy92b1f832009-12-23 22:23:49 +00005111 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00005112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
brynercb91a2f2006-08-25 21:14:45 +00005113 ac_cv_prog_ac_ct_CXX="$ac_prog"
jimblandy92b1f832009-12-23 22:23:49 +00005114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
brynercb91a2f2006-08-25 21:14:45 +00005115 break 2
5116 fi
5117done
jimblandy92b1f832009-12-23 22:23:49 +00005118 done
mmentovai8c2a4de2006-09-20 16:20:15 +00005119IFS=$as_save_IFS
brynercb91a2f2006-08-25 21:14:45 +00005120
5121fi
5122fi
5123ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5124if test -n "$ac_ct_CXX"; then
jimblandy92b1f832009-12-23 22:23:49 +00005125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5126$as_echo "$ac_ct_CXX" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00005127else
jimblandy92b1f832009-12-23 22:23:49 +00005128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5129$as_echo "no" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00005130fi
5131
mmentovai8c2a4de2006-09-20 16:20:15 +00005132
brynercb91a2f2006-08-25 21:14:45 +00005133 test -n "$ac_ct_CXX" && break
5134done
brynercb91a2f2006-08-25 21:14:45 +00005135
mmentovai8c2a4de2006-09-20 16:20:15 +00005136 if test "x$ac_ct_CXX" = x; then
5137 CXX="g++"
5138 else
5139 case $cross_compiling:$ac_tool_warned in
5140yes:)
jimblandy92b1f832009-12-23 22:23:49 +00005141{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5142$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
mmentovai8c2a4de2006-09-20 16:20:15 +00005143ac_tool_warned=yes ;;
5144esac
5145 CXX=$ac_ct_CXX
5146 fi
brynercb91a2f2006-08-25 21:14:45 +00005147fi
5148
mmentovai8c2a4de2006-09-20 16:20:15 +00005149 fi
5150fi
brynercb91a2f2006-08-25 21:14:45 +00005151# Provide some information about the compiler.
jimblandy92b1f832009-12-23 22:23:49 +00005152$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5153set X $ac_compile
5154ac_compiler=$2
5155for ac_option in --version -v -V -qversion; do
5156 { { ac_try="$ac_compiler $ac_option >&5"
mmentovai8c2a4de2006-09-20 16:20:15 +00005157case "(($ac_try" in
5158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5159 *) ac_try_echo=$ac_try;;
5160esac
jimblandy92b1f832009-12-23 22:23:49 +00005161eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5162$as_echo "$ac_try_echo"; } >&5
5163 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
brynercb91a2f2006-08-25 21:14:45 +00005164 ac_status=$?
jimblandy92b1f832009-12-23 22:23:49 +00005165 if test -s conftest.err; then
5166 sed '10a\
5167... rest of stderr output deleted ...
5168 10q' conftest.err >conftest.er1
5169 cat conftest.er1 >&5
jimblandy92b1f832009-12-23 22:23:49 +00005170 fi
jimblandydc4029a2010-02-02 17:39:51 +00005171 rm -f conftest.er1 conftest.err
jimblandy92b1f832009-12-23 22:23:49 +00005172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5173 test $ac_status = 0; }
5174done
brynercb91a2f2006-08-25 21:14:45 +00005175
jimblandy92b1f832009-12-23 22:23:49 +00005176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5177$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005178if ${ac_cv_cxx_compiler_gnu+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00005179 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00005180else
jimblandy92b1f832009-12-23 22:23:49 +00005181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00005182/* end confdefs.h. */
5183
5184int
5185main ()
5186{
5187#ifndef __GNUC__
5188 choke me
5189#endif
5190
5191 ;
5192 return 0;
5193}
5194_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00005195if ac_fn_cxx_try_compile "$LINENO"; then :
brynercb91a2f2006-08-25 21:14:45 +00005196 ac_compiler_gnu=yes
5197else
jimblandy92b1f832009-12-23 22:23:49 +00005198 ac_compiler_gnu=no
brynercb91a2f2006-08-25 21:14:45 +00005199fi
mmentovai8c2a4de2006-09-20 16:20:15 +00005200rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00005201ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5202
5203fi
jimblandy92b1f832009-12-23 22:23:49 +00005204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5205$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5206if test $ac_compiler_gnu = yes; then
5207 GXX=yes
5208else
5209 GXX=
5210fi
brynercb91a2f2006-08-25 21:14:45 +00005211ac_test_CXXFLAGS=${CXXFLAGS+set}
5212ac_save_CXXFLAGS=$CXXFLAGS
jimblandy92b1f832009-12-23 22:23:49 +00005213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5214$as_echo_n "checking whether $CXX accepts -g... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005215if ${ac_cv_prog_cxx_g+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00005216 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00005217else
mmentovai8c2a4de2006-09-20 16:20:15 +00005218 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5219 ac_cxx_werror_flag=yes
5220 ac_cv_prog_cxx_g=no
5221 CXXFLAGS="-g"
jimblandy92b1f832009-12-23 22:23:49 +00005222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00005223/* end confdefs.h. */
5224
5225int
5226main ()
5227{
5228
5229 ;
5230 return 0;
5231}
5232_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00005233if ac_fn_cxx_try_compile "$LINENO"; then :
brynercb91a2f2006-08-25 21:14:45 +00005234 ac_cv_prog_cxx_g=yes
5235else
jimblandy92b1f832009-12-23 22:23:49 +00005236 CXXFLAGS=""
5237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
mmentovai8c2a4de2006-09-20 16:20:15 +00005238/* end confdefs.h. */
5239
5240int
5241main ()
5242{
5243
5244 ;
5245 return 0;
5246}
5247_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00005248if ac_fn_cxx_try_compile "$LINENO"; then :
mmentovai8c2a4de2006-09-20 16:20:15 +00005249
jimblandy92b1f832009-12-23 22:23:49 +00005250else
5251 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
mmentovai8c2a4de2006-09-20 16:20:15 +00005252 CXXFLAGS="-g"
jimblandy92b1f832009-12-23 22:23:49 +00005253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
mmentovai8c2a4de2006-09-20 16:20:15 +00005254/* end confdefs.h. */
5255
5256int
5257main ()
5258{
5259
5260 ;
5261 return 0;
5262}
5263_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00005264if ac_fn_cxx_try_compile "$LINENO"; then :
mmentovai8c2a4de2006-09-20 16:20:15 +00005265 ac_cv_prog_cxx_g=yes
brynercb91a2f2006-08-25 21:14:45 +00005266fi
mmentovai8c2a4de2006-09-20 16:20:15 +00005267rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00005268fi
mmentovai8c2a4de2006-09-20 16:20:15 +00005269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5270fi
mmentovai8c2a4de2006-09-20 16:20:15 +00005271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5272 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5273fi
jimblandy92b1f832009-12-23 22:23:49 +00005274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5275$as_echo "$ac_cv_prog_cxx_g" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00005276if test "$ac_test_CXXFLAGS" = set; then
5277 CXXFLAGS=$ac_save_CXXFLAGS
5278elif test $ac_cv_prog_cxx_g = yes; then
5279 if test "$GXX" = yes; then
5280 CXXFLAGS="-g -O2"
5281 else
5282 CXXFLAGS="-g"
5283 fi
5284else
5285 if test "$GXX" = yes; then
5286 CXXFLAGS="-O2"
5287 else
5288 CXXFLAGS=
5289 fi
5290fi
brynercb91a2f2006-08-25 21:14:45 +00005291ac_ext=c
5292ac_cpp='$CPP $CPPFLAGS'
5293ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5294ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5295ac_compiler_gnu=$ac_cv_c_compiler_gnu
5296
5297depcc="$CXX" am_compiler_list=
5298
jimblandy92b1f832009-12-23 22:23:49 +00005299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5300$as_echo_n "checking dependency style of $depcc... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005301if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00005302 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00005303else
5304 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5305 # We make a subdir and do the tests there. Otherwise we can end up
5306 # making bogus files that we don't know about and never remove. For
5307 # instance it was reported that on HP-UX the gcc test will end up
mark@chromium.org39d79642013-11-23 01:45:20 +00005308 # making a dummy file named 'D' -- because '-MD' means "put the output
5309 # in D".
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005310 rm -rf conftest.dir
brynercb91a2f2006-08-25 21:14:45 +00005311 mkdir conftest.dir
5312 # Copy depcomp to subdir because otherwise we won't find it if we're
5313 # using a relative directory.
5314 cp "$am_depcomp" conftest.dir
5315 cd conftest.dir
5316 # We will build objects and dependencies in a subdirectory because
5317 # it helps to detect inapplicable dependency modes. For instance
5318 # both Tru64's cc and ICC support -MD to output dependencies as a
5319 # side effect of compilation, but ICC will put the dependencies in
5320 # the current directory while Tru64 will put them in the object
5321 # directory.
5322 mkdir sub
5323
5324 am_cv_CXX_dependencies_compiler_type=none
5325 if test "$am_compiler_list" = ""; then
5326 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5327 fi
jimblandy92b1f832009-12-23 22:23:49 +00005328 am__universal=false
5329 case " $depcc " in #(
5330 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5331 esac
5332
brynercb91a2f2006-08-25 21:14:45 +00005333 for depmode in $am_compiler_list; do
5334 # Setup a source with many dependencies, because some compilers
5335 # like to wrap large dependency lists on column 80 (with \), and
5336 # we should not choose a depcomp mode which is confused by this.
5337 #
5338 # We need to recreate these files for each test, as the compiler may
5339 # overwrite some of them when testing with obscure command lines.
5340 # This happens at least with the AIX C compiler.
5341 : > sub/conftest.c
5342 for i in 1 2 3 4 5 6; do
5343 echo '#include "conftst'$i'.h"' >> sub/conftest.c
mark@chromium.org39d79642013-11-23 01:45:20 +00005344 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5345 # Solaris 10 /bin/sh.
5346 echo '/* dummy */' > sub/conftst$i.h
brynercb91a2f2006-08-25 21:14:45 +00005347 done
5348 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5349
mark@chromium.org39d79642013-11-23 01:45:20 +00005350 # We check with '-c' and '-o' for the sake of the "dashmstdout"
jimblandy92b1f832009-12-23 22:23:49 +00005351 # mode. It turns out that the SunPro C++ compiler does not properly
mark@chromium.org39d79642013-11-23 01:45:20 +00005352 # handle '-M -o', and we need to detect this. Also, some Intel
5353 # versions had trouble with output in subdirs.
jimblandy92b1f832009-12-23 22:23:49 +00005354 am__obj=sub/conftest.${OBJEXT-o}
5355 am__minus_obj="-o $am__obj"
brynercb91a2f2006-08-25 21:14:45 +00005356 case $depmode in
jimblandy92b1f832009-12-23 22:23:49 +00005357 gcc)
5358 # This depmode causes a compiler race in universal mode.
5359 test "$am__universal" = false || continue
5360 ;;
brynercb91a2f2006-08-25 21:14:45 +00005361 nosideeffect)
mark@chromium.org39d79642013-11-23 01:45:20 +00005362 # After this tag, mechanisms are not by side-effect, so they'll
5363 # only be used when explicitly requested.
brynercb91a2f2006-08-25 21:14:45 +00005364 if test "x$enable_dependency_tracking" = xyes; then
5365 continue
5366 else
5367 break
5368 fi
5369 ;;
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005370 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
mark@chromium.org39d79642013-11-23 01:45:20 +00005371 # This compiler won't grok '-c -o', but also, the minuso test has
jimblandy92b1f832009-12-23 22:23:49 +00005372 # not run yet. These depmodes are late enough in the game, and
5373 # so weak that their functioning should not be impacted.
5374 am__obj=conftest.${OBJEXT-o}
5375 am__minus_obj=
5376 ;;
brynercb91a2f2006-08-25 21:14:45 +00005377 none) break ;;
5378 esac
brynercb91a2f2006-08-25 21:14:45 +00005379 if depmode=$depmode \
jimblandy92b1f832009-12-23 22:23:49 +00005380 source=sub/conftest.c object=$am__obj \
brynercb91a2f2006-08-25 21:14:45 +00005381 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
jimblandy92b1f832009-12-23 22:23:49 +00005382 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
brynercb91a2f2006-08-25 21:14:45 +00005383 >/dev/null 2>conftest.err &&
mmentovaiaf3c43f2007-05-17 18:34:37 +00005384 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
brynercb91a2f2006-08-25 21:14:45 +00005385 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
jimblandy92b1f832009-12-23 22:23:49 +00005386 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
brynercb91a2f2006-08-25 21:14:45 +00005387 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5388 # icc doesn't choke on unknown options, it will just issue warnings
5389 # or remarks (even with -Werror). So we grep stderr for any message
5390 # that says an option was ignored or not supported.
5391 # When given -MP, icc 7.0 and 7.1 complain thusly:
5392 # icc: Command line warning: ignoring option '-M'; no argument required
5393 # The diagnosis changed in icc 8.0:
5394 # icc: Command line remark: option '-MP' not supported
5395 if (grep 'ignoring option' conftest.err ||
5396 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5397 am_cv_CXX_dependencies_compiler_type=$depmode
5398 break
5399 fi
5400 fi
5401 done
5402
5403 cd ..
5404 rm -rf conftest.dir
5405else
5406 am_cv_CXX_dependencies_compiler_type=none
5407fi
5408
5409fi
jimblandy92b1f832009-12-23 22:23:49 +00005410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5411$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00005412CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5413
mmentovaiaf3c43f2007-05-17 18:34:37 +00005414 if
brynercb91a2f2006-08-25 21:14:45 +00005415 test "x$enable_dependency_tracking" != xno \
5416 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5417 am__fastdepCXX_TRUE=
5418 am__fastdepCXX_FALSE='#'
5419else
5420 am__fastdepCXX_TRUE='#'
5421 am__fastdepCXX_FALSE=
5422fi
5423
5424
ted.mielczarekd192a712010-10-05 19:38:51 +00005425if test -n "$ac_tool_prefix"; then
5426 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5427set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005430if ${ac_cv_prog_RANLIB+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00005431 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00005432else
ted.mielczarekd192a712010-10-05 19:38:51 +00005433 if test -n "$RANLIB"; then
5434 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5435else
5436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
brynercb91a2f2006-08-25 21:14:45 +00005437for as_dir in $PATH
5438do
5439 IFS=$as_save_IFS
5440 test -z "$as_dir" && as_dir=.
brynercb91a2f2006-08-25 21:14:45 +00005441 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00005442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ted.mielczarekd192a712010-10-05 19:38:51 +00005443 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 break 2
5446 fi
5447done
brynercb91a2f2006-08-25 21:14:45 +00005448 done
jimblandy92b1f832009-12-23 22:23:49 +00005449IFS=$as_save_IFS
ted.mielczarekd192a712010-10-05 19:38:51 +00005450
5451fi
5452fi
5453RANLIB=$ac_cv_prog_RANLIB
5454if test -n "$RANLIB"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5456$as_echo "$RANLIB" >&6; }
5457else
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459$as_echo "no" >&6; }
5460fi
5461
5462
5463fi
5464if test -z "$ac_cv_prog_RANLIB"; then
5465 ac_ct_RANLIB=$RANLIB
5466 # Extract the first word of "ranlib", so it can be a program name with args.
5467set dummy ranlib; ac_word=$2
5468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005470if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
ted.mielczarekd192a712010-10-05 19:38:51 +00005471 $as_echo_n "(cached) " >&6
5472else
5473 if test -n "$ac_ct_RANLIB"; then
5474 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5475else
5476as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477for as_dir in $PATH
5478do
5479 IFS=$as_save_IFS
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00005482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ted.mielczarekd192a712010-10-05 19:38:51 +00005483 ac_cv_prog_ac_ct_RANLIB="ranlib"
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 break 2
5486 fi
5487done
5488 done
5489IFS=$as_save_IFS
5490
5491fi
5492fi
5493ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5494if test -n "$ac_ct_RANLIB"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5496$as_echo "$ac_ct_RANLIB" >&6; }
5497else
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499$as_echo "no" >&6; }
5500fi
5501
5502 if test "x$ac_ct_RANLIB" = x; then
5503 RANLIB=":"
5504 else
5505 case $cross_compiling:$ac_tool_warned in
5506yes:)
5507{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5508$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5509ac_tool_warned=yes ;;
5510esac
5511 RANLIB=$ac_ct_RANLIB
jimblandy92b1f832009-12-23 22:23:49 +00005512 fi
5513else
ted.mielczarekd192a712010-10-05 19:38:51 +00005514 RANLIB="$ac_cv_prog_RANLIB"
brynercb91a2f2006-08-25 21:14:45 +00005515fi
5516
ivan.penkov@gmail.comb7323422012-07-02 22:55:57 +00005517 if test "$GCC" = yes; then
5518 GCC_TRUE=
5519 GCC_FALSE='#'
5520else
5521 GCC_TRUE='#'
5522 GCC_FALSE=
5523fi
5524 # let the Makefile know if we're gcc
jimblandy92b1f832009-12-23 22:23:49 +00005525
vapier@chromium.org597e2a72013-12-10 06:28:08 +00005526# Check whether --enable-m32 was given.
5527if test "${enable_m32+set}" = set; then :
5528 enableval=$enable_m32; case "${enableval}" in
5529 yes)
5530 CFLAGS="${CFLAGS} -m32"
5531 CXXFLAGS="${CXXFLAGS} -m32"
5532 usem32=true
5533 ;;
5534 no)
5535 usem32=false
5536 ;;
5537 *)
5538 as_fn_error $? "bad value ${enableval} for --enable-m32" "$LINENO" 5
5539 ;;
5540 esac
5541else
5542 usem32=false
5543fi
5544
5545
jimblandy92b1f832009-12-23 22:23:49 +00005546
5547
5548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5549$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005550if ${ac_cv_path_GREP+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00005551 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00005552else
jimblandy92b1f832009-12-23 22:23:49 +00005553 if test -z "$GREP"; then
mmentovai8c2a4de2006-09-20 16:20:15 +00005554 ac_path_GREP_found=false
jimblandy92b1f832009-12-23 22:23:49 +00005555 # Loop through the user's path and test for each of PROGNAME-LIST
5556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
mmentovai8c2a4de2006-09-20 16:20:15 +00005557for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5558do
5559 IFS=$as_save_IFS
5560 test -z "$as_dir" && as_dir=.
jimblandy92b1f832009-12-23 22:23:49 +00005561 for ac_prog in grep ggrep; do
5562 for ac_exec_ext in '' $ac_executable_extensions; do
5563 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
mark@chromium.org39d79642013-11-23 01:45:20 +00005564 as_fn_executable_p "$ac_path_GREP" || continue
jimblandy92b1f832009-12-23 22:23:49 +00005565# Check for GNU ac_path_GREP and select it if it is found.
mmentovai8c2a4de2006-09-20 16:20:15 +00005566 # Check for GNU $ac_path_GREP
5567case `"$ac_path_GREP" --version 2>&1` in
5568*GNU*)
5569 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5570*)
5571 ac_count=0
jimblandy92b1f832009-12-23 22:23:49 +00005572 $as_echo_n 0123456789 >"conftest.in"
mmentovai8c2a4de2006-09-20 16:20:15 +00005573 while :
5574 do
5575 cat "conftest.in" "conftest.in" >"conftest.tmp"
5576 mv "conftest.tmp" "conftest.in"
5577 cp "conftest.in" "conftest.nl"
jimblandy92b1f832009-12-23 22:23:49 +00005578 $as_echo 'GREP' >> "conftest.nl"
mmentovai8c2a4de2006-09-20 16:20:15 +00005579 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5580 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
jimblandy92b1f832009-12-23 22:23:49 +00005581 as_fn_arith $ac_count + 1 && ac_count=$as_val
mmentovai8c2a4de2006-09-20 16:20:15 +00005582 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5583 # Best one so far, save it but keep looking for a better one
5584 ac_cv_path_GREP="$ac_path_GREP"
5585 ac_path_GREP_max=$ac_count
brynercb91a2f2006-08-25 21:14:45 +00005586 fi
mmentovai8c2a4de2006-09-20 16:20:15 +00005587 # 10*(2^10) chars as input seems more than enough
5588 test $ac_count -gt 10 && break
5589 done
5590 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5591esac
5592
jimblandy92b1f832009-12-23 22:23:49 +00005593 $ac_path_GREP_found && break 3
5594 done
mmentovai8c2a4de2006-09-20 16:20:15 +00005595 done
jimblandy92b1f832009-12-23 22:23:49 +00005596 done
mmentovai8c2a4de2006-09-20 16:20:15 +00005597IFS=$as_save_IFS
jimblandy92b1f832009-12-23 22:23:49 +00005598 if test -z "$ac_cv_path_GREP"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005599 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
jimblandy92b1f832009-12-23 22:23:49 +00005600 fi
mmentovai8c2a4de2006-09-20 16:20:15 +00005601else
5602 ac_cv_path_GREP=$GREP
5603fi
5604
mmentovai8c2a4de2006-09-20 16:20:15 +00005605fi
jimblandy92b1f832009-12-23 22:23:49 +00005606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5607$as_echo "$ac_cv_path_GREP" >&6; }
mmentovai8c2a4de2006-09-20 16:20:15 +00005608 GREP="$ac_cv_path_GREP"
5609
5610
jimblandy92b1f832009-12-23 22:23:49 +00005611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5612$as_echo_n "checking for egrep... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005613if ${ac_cv_path_EGREP+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00005614 $as_echo_n "(cached) " >&6
mmentovai8c2a4de2006-09-20 16:20:15 +00005615else
5616 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5617 then ac_cv_path_EGREP="$GREP -E"
5618 else
jimblandy92b1f832009-12-23 22:23:49 +00005619 if test -z "$EGREP"; then
mmentovai8c2a4de2006-09-20 16:20:15 +00005620 ac_path_EGREP_found=false
jimblandy92b1f832009-12-23 22:23:49 +00005621 # Loop through the user's path and test for each of PROGNAME-LIST
5622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
mmentovai8c2a4de2006-09-20 16:20:15 +00005623for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5624do
5625 IFS=$as_save_IFS
5626 test -z "$as_dir" && as_dir=.
jimblandy92b1f832009-12-23 22:23:49 +00005627 for ac_prog in egrep; do
5628 for ac_exec_ext in '' $ac_executable_extensions; do
5629 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
mark@chromium.org39d79642013-11-23 01:45:20 +00005630 as_fn_executable_p "$ac_path_EGREP" || continue
jimblandy92b1f832009-12-23 22:23:49 +00005631# Check for GNU ac_path_EGREP and select it if it is found.
mmentovai8c2a4de2006-09-20 16:20:15 +00005632 # Check for GNU $ac_path_EGREP
5633case `"$ac_path_EGREP" --version 2>&1` in
5634*GNU*)
5635 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5636*)
5637 ac_count=0
jimblandy92b1f832009-12-23 22:23:49 +00005638 $as_echo_n 0123456789 >"conftest.in"
mmentovai8c2a4de2006-09-20 16:20:15 +00005639 while :
5640 do
5641 cat "conftest.in" "conftest.in" >"conftest.tmp"
5642 mv "conftest.tmp" "conftest.in"
5643 cp "conftest.in" "conftest.nl"
jimblandy92b1f832009-12-23 22:23:49 +00005644 $as_echo 'EGREP' >> "conftest.nl"
mmentovai8c2a4de2006-09-20 16:20:15 +00005645 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5646 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
jimblandy92b1f832009-12-23 22:23:49 +00005647 as_fn_arith $ac_count + 1 && ac_count=$as_val
mmentovai8c2a4de2006-09-20 16:20:15 +00005648 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5649 # Best one so far, save it but keep looking for a better one
5650 ac_cv_path_EGREP="$ac_path_EGREP"
5651 ac_path_EGREP_max=$ac_count
5652 fi
5653 # 10*(2^10) chars as input seems more than enough
5654 test $ac_count -gt 10 && break
5655 done
5656 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5657esac
5658
jimblandy92b1f832009-12-23 22:23:49 +00005659 $ac_path_EGREP_found && break 3
5660 done
mmentovai8c2a4de2006-09-20 16:20:15 +00005661 done
jimblandy92b1f832009-12-23 22:23:49 +00005662 done
mmentovai8c2a4de2006-09-20 16:20:15 +00005663IFS=$as_save_IFS
jimblandy92b1f832009-12-23 22:23:49 +00005664 if test -z "$ac_cv_path_EGREP"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005665 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
jimblandy92b1f832009-12-23 22:23:49 +00005666 fi
mmentovai8c2a4de2006-09-20 16:20:15 +00005667else
5668 ac_cv_path_EGREP=$EGREP
5669fi
5670
jimblandy92b1f832009-12-23 22:23:49 +00005671 fi
5672fi
5673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5674$as_echo "$ac_cv_path_EGREP" >&6; }
5675 EGREP="$ac_cv_path_EGREP"
5676
5677
jimblandy92b1f832009-12-23 22:23:49 +00005678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5679$as_echo_n "checking for ANSI C header files... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00005680if ${ac_cv_header_stdc+:} false; then :
jimblandy92b1f832009-12-23 22:23:49 +00005681 $as_echo_n "(cached) " >&6
brynercb91a2f2006-08-25 21:14:45 +00005682else
jimblandy92b1f832009-12-23 22:23:49 +00005683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00005684/* end confdefs.h. */
5685#include <stdlib.h>
5686#include <stdarg.h>
5687#include <string.h>
5688#include <float.h>
5689
5690int
5691main ()
5692{
5693
5694 ;
5695 return 0;
5696}
5697_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00005698if ac_fn_c_try_compile "$LINENO"; then :
brynercb91a2f2006-08-25 21:14:45 +00005699 ac_cv_header_stdc=yes
5700else
jimblandy92b1f832009-12-23 22:23:49 +00005701 ac_cv_header_stdc=no
brynercb91a2f2006-08-25 21:14:45 +00005702fi
mmentovai8c2a4de2006-09-20 16:20:15 +00005703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00005704
5705if test $ac_cv_header_stdc = yes; then
5706 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
jimblandy92b1f832009-12-23 22:23:49 +00005707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00005708/* end confdefs.h. */
5709#include <string.h>
5710
5711_ACEOF
5712if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
jimblandy92b1f832009-12-23 22:23:49 +00005713 $EGREP "memchr" >/dev/null 2>&1; then :
5714
brynercb91a2f2006-08-25 21:14:45 +00005715else
5716 ac_cv_header_stdc=no
5717fi
5718rm -f conftest*
5719
5720fi
5721
5722if test $ac_cv_header_stdc = yes; then
5723 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
jimblandy92b1f832009-12-23 22:23:49 +00005724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00005725/* end confdefs.h. */
5726#include <stdlib.h>
5727
5728_ACEOF
5729if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
jimblandy92b1f832009-12-23 22:23:49 +00005730 $EGREP "free" >/dev/null 2>&1; then :
5731
brynercb91a2f2006-08-25 21:14:45 +00005732else
5733 ac_cv_header_stdc=no
5734fi
5735rm -f conftest*
5736
5737fi
5738
5739if test $ac_cv_header_stdc = yes; then
5740 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
jimblandy92b1f832009-12-23 22:23:49 +00005741 if test "$cross_compiling" = yes; then :
brynercb91a2f2006-08-25 21:14:45 +00005742 :
5743else
jimblandy92b1f832009-12-23 22:23:49 +00005744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
brynercb91a2f2006-08-25 21:14:45 +00005745/* end confdefs.h. */
5746#include <ctype.h>
mmentovai8c2a4de2006-09-20 16:20:15 +00005747#include <stdlib.h>
brynercb91a2f2006-08-25 21:14:45 +00005748#if ((' ' & 0x0FF) == 0x020)
5749# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5750# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5751#else
5752# define ISLOWER(c) \
5753 (('a' <= (c) && (c) <= 'i') \
5754 || ('j' <= (c) && (c) <= 'r') \
5755 || ('s' <= (c) && (c) <= 'z'))
5756# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5757#endif
5758
5759#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5760int
5761main ()
5762{
5763 int i;
5764 for (i = 0; i < 256; i++)
5765 if (XOR (islower (i), ISLOWER (i))
5766 || toupper (i) != TOUPPER (i))
mmentovai8c2a4de2006-09-20 16:20:15 +00005767 return 2;
5768 return 0;
brynercb91a2f2006-08-25 21:14:45 +00005769}
5770_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00005771if ac_fn_c_try_run "$LINENO"; then :
5772
brynercb91a2f2006-08-25 21:14:45 +00005773else
jimblandy92b1f832009-12-23 22:23:49 +00005774 ac_cv_header_stdc=no
brynercb91a2f2006-08-25 21:14:45 +00005775fi
jimblandy92b1f832009-12-23 22:23:49 +00005776rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5777 conftest.$ac_objext conftest.beam conftest.$ac_ext
mmentovai8c2a4de2006-09-20 16:20:15 +00005778fi
5779
brynercb91a2f2006-08-25 21:14:45 +00005780fi
5781fi
jimblandy92b1f832009-12-23 22:23:49 +00005782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5783$as_echo "$ac_cv_header_stdc" >&6; }
brynercb91a2f2006-08-25 21:14:45 +00005784if test $ac_cv_header_stdc = yes; then
5785
jimblandy92b1f832009-12-23 22:23:49 +00005786$as_echo "#define STDC_HEADERS 1" >>confdefs.h
brynercb91a2f2006-08-25 21:14:45 +00005787
5788fi
5789
vapier@chromium.org597e2a72013-12-10 06:28:08 +00005790# Check whether --enable-largefile was given.
5791if test "${enable_largefile+set}" = set; then :
5792 enableval=$enable_largefile;
5793fi
5794
5795if test "$enable_largefile" != no; then
5796
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5798$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5799if ${ac_cv_sys_largefile_CC+:} false; then :
5800 $as_echo_n "(cached) " >&6
5801else
5802 ac_cv_sys_largefile_CC=no
5803 if test "$GCC" != yes; then
5804 ac_save_CC=$CC
5805 while :; do
5806 # IRIX 6.2 and later do not support large files by default,
5807 # so use the C compiler's -n32 option if that helps.
5808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5809/* end confdefs.h. */
5810#include <sys/types.h>
5811 /* Check that off_t can represent 2**63 - 1 correctly.
5812 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5813 since some C++ compilers masquerading as C compilers
5814 incorrectly reject 9223372036854775807. */
Ben Chanfd347a32014-10-25 16:10:49 -07005815#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
vapier@chromium.org597e2a72013-12-10 06:28:08 +00005816 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5817 && LARGE_OFF_T % 2147483647 == 1)
5818 ? 1 : -1];
5819int
5820main ()
5821{
5822
5823 ;
5824 return 0;
5825}
5826_ACEOF
5827 if ac_fn_c_try_compile "$LINENO"; then :
5828 break
5829fi
5830rm -f core conftest.err conftest.$ac_objext
5831 CC="$CC -n32"
5832 if ac_fn_c_try_compile "$LINENO"; then :
5833 ac_cv_sys_largefile_CC=' -n32'; break
5834fi
5835rm -f core conftest.err conftest.$ac_objext
5836 break
5837 done
5838 CC=$ac_save_CC
5839 rm -f conftest.$ac_ext
5840 fi
5841fi
5842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5843$as_echo "$ac_cv_sys_largefile_CC" >&6; }
5844 if test "$ac_cv_sys_largefile_CC" != no; then
5845 CC=$CC$ac_cv_sys_largefile_CC
5846 fi
5847
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5849$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5850if ${ac_cv_sys_file_offset_bits+:} false; then :
5851 $as_echo_n "(cached) " >&6
5852else
5853 while :; do
5854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5855/* end confdefs.h. */
5856#include <sys/types.h>
5857 /* Check that off_t can represent 2**63 - 1 correctly.
5858 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5859 since some C++ compilers masquerading as C compilers
5860 incorrectly reject 9223372036854775807. */
Ben Chanfd347a32014-10-25 16:10:49 -07005861#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
vapier@chromium.org597e2a72013-12-10 06:28:08 +00005862 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5863 && LARGE_OFF_T % 2147483647 == 1)
5864 ? 1 : -1];
5865int
5866main ()
5867{
5868
5869 ;
5870 return 0;
5871}
5872_ACEOF
5873if ac_fn_c_try_compile "$LINENO"; then :
5874 ac_cv_sys_file_offset_bits=no; break
5875fi
5876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5878/* end confdefs.h. */
5879#define _FILE_OFFSET_BITS 64
5880#include <sys/types.h>
5881 /* Check that off_t can represent 2**63 - 1 correctly.
5882 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5883 since some C++ compilers masquerading as C compilers
5884 incorrectly reject 9223372036854775807. */
Ben Chanfd347a32014-10-25 16:10:49 -07005885#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
vapier@chromium.org597e2a72013-12-10 06:28:08 +00005886 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5887 && LARGE_OFF_T % 2147483647 == 1)
5888 ? 1 : -1];
5889int
5890main ()
5891{
5892
5893 ;
5894 return 0;
5895}
5896_ACEOF
5897if ac_fn_c_try_compile "$LINENO"; then :
5898 ac_cv_sys_file_offset_bits=64; break
5899fi
5900rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5901 ac_cv_sys_file_offset_bits=unknown
5902 break
5903done
5904fi
5905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5906$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5907case $ac_cv_sys_file_offset_bits in #(
5908 no | unknown) ;;
5909 *)
5910cat >>confdefs.h <<_ACEOF
5911#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5912_ACEOF
5913;;
5914esac
5915rm -rf conftest*
5916 if test $ac_cv_sys_file_offset_bits = unknown; then
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5918$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5919if ${ac_cv_sys_large_files+:} false; then :
5920 $as_echo_n "(cached) " >&6
5921else
5922 while :; do
5923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5924/* end confdefs.h. */
5925#include <sys/types.h>
5926 /* Check that off_t can represent 2**63 - 1 correctly.
5927 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5928 since some C++ compilers masquerading as C compilers
5929 incorrectly reject 9223372036854775807. */
Ben Chanfd347a32014-10-25 16:10:49 -07005930#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
vapier@chromium.org597e2a72013-12-10 06:28:08 +00005931 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5932 && LARGE_OFF_T % 2147483647 == 1)
5933 ? 1 : -1];
5934int
5935main ()
5936{
5937
5938 ;
5939 return 0;
5940}
5941_ACEOF
5942if ac_fn_c_try_compile "$LINENO"; then :
5943 ac_cv_sys_large_files=no; break
5944fi
5945rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5947/* end confdefs.h. */
5948#define _LARGE_FILES 1
5949#include <sys/types.h>
5950 /* Check that off_t can represent 2**63 - 1 correctly.
5951 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5952 since some C++ compilers masquerading as C compilers
5953 incorrectly reject 9223372036854775807. */
Ben Chanfd347a32014-10-25 16:10:49 -07005954#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
vapier@chromium.org597e2a72013-12-10 06:28:08 +00005955 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5956 && LARGE_OFF_T % 2147483647 == 1)
5957 ? 1 : -1];
5958int
5959main ()
5960{
5961
5962 ;
5963 return 0;
5964}
5965_ACEOF
5966if ac_fn_c_try_compile "$LINENO"; then :
5967 ac_cv_sys_large_files=1; break
5968fi
5969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5970 ac_cv_sys_large_files=unknown
5971 break
5972done
5973fi
5974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5975$as_echo "$ac_cv_sys_large_files" >&6; }
5976case $ac_cv_sys_large_files in #(
5977 no | unknown) ;;
5978 *)
5979cat >>confdefs.h <<_ACEOF
5980#define _LARGE_FILES $ac_cv_sys_large_files
5981_ACEOF
5982;;
5983esac
5984rm -rf conftest*
5985 fi
5986
5987
5988fi
5989
nealsidde545c02010-03-02 00:39:48 +00005990# ===========================================================================
5991# http://www.nongnu.org/autoconf-archive/ax_pthread.html
5992# ===========================================================================
5993#
5994# SYNOPSIS
5995#
5996# AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
5997#
5998# DESCRIPTION
5999#
6000# This macro figures out how to build C programs using POSIX threads. It
6001# sets the PTHREAD_LIBS output variable to the threads library and linker
6002# flags, and the PTHREAD_CFLAGS output variable to any special C compiler
6003# flags that are needed. (The user can also force certain compiler
6004# flags/libs to be tested by setting these environment variables.)
6005#
6006# Also sets PTHREAD_CC to any special C compiler that is needed for
6007# multi-threaded programs (defaults to the value of CC otherwise). (This
6008# is necessary on AIX to use the special cc_r compiler alias.)
6009#
6010# NOTE: You are assumed to not only compile your program with these flags,
6011# but also link it with them as well. e.g. you should link with
6012# $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
6013#
6014# If you are only building threads programs, you may wish to use these
6015# variables in your default LIBS, CFLAGS, and CC:
6016#
6017# LIBS="$PTHREAD_LIBS $LIBS"
6018# CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
6019# CC="$PTHREAD_CC"
6020#
6021# In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
6022# has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name
6023# (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
6024#
6025# ACTION-IF-FOUND is a list of shell commands to run if a threads library
6026# is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
6027# is not found. If ACTION-IF-FOUND is not specified, the default action
6028# will define HAVE_PTHREAD.
6029#
6030# Please let the authors know if this macro fails on any platform, or if
6031# you have any other suggestions or comments. This macro was based on work
6032# by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help
6033# from M. Frigo), as well as ac_pthread and hb_pthread macros posted by
6034# Alejandro Forero Cuervo to the autoconf macro repository. We are also
6035# grateful for the helpful feedback of numerous users.
6036#
6037# LICENSE
6038#
6039# Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
6040#
6041# This program is free software: you can redistribute it and/or modify it
6042# under the terms of the GNU General Public License as published by the
6043# Free Software Foundation, either version 3 of the License, or (at your
6044# option) any later version.
6045#
6046# This program is distributed in the hope that it will be useful, but
6047# WITHOUT ANY WARRANTY; without even the implied warranty of
6048# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6049# Public License for more details.
6050#
6051# You should have received a copy of the GNU General Public License along
6052# with this program. If not, see <http://www.gnu.org/licenses/>.
6053#
6054# As a special exception, the respective Autoconf Macro's copyright owner
6055# gives unlimited permission to copy, distribute and modify the configure
6056# scripts that are the output of Autoconf when processing the Macro. You
6057# need not follow the terms of the GNU General Public License when using
6058# or distributing such scripts, even though portions of the text of the
6059# Macro appear in them. The GNU General Public License (GPL) does govern
6060# all other use of the material that constitutes the Autoconf Macro.
6061#
6062# This special exception to the GPL applies to versions of the Autoconf
6063# Macro released by the Autoconf Archive. When you make and distribute a
6064# modified version of the Autoconf Macro, you may extend this special
6065# exception to the GPL to apply to your modified version as well.
6066
6067#serial 6
6068
6069# This is what autoupdate's m4 run will expand. It fires
6070# the warning (with _au_warn_XXX), outputs it into the
6071# updated configure.ac (with AC_DIAGNOSE), and then outputs
6072# the replacement expansion.
6073
6074
6075# This is an auxiliary macro that is also run when
6076# autoupdate runs m4. It simply calls m4_warning, but
6077# we need a wrapper so that each warning is emitted only
6078# once. We break the quoting in m4_warning's argument in
6079# order to expand this macro's arguments, not AU_DEFUN's.
6080
6081
6082# Finally, this is the expansion that is picked up by
6083# autoconf. It tells the user to run autoupdate, and
6084# then outputs the replacement expansion. We do not care
6085# about autoupdate's warning because that contains
6086# information on what to do *after* running autoupdate.
6087
6088
6089
6090
6091ac_ext=c
6092ac_cpp='$CPP $CPPFLAGS'
6093ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6094ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6095ac_compiler_gnu=$ac_cv_c_compiler_gnu
6096
6097ax_pthread_ok=no
6098
6099# We used to check for pthread.h first, but this fails if pthread.h
6100# requires special compiler flags (e.g. on True64 or Sequent).
6101# It gets checked for in the link test anyway.
6102
6103# First of all, check if the user has set any of the PTHREAD_LIBS,
6104# etcetera environment variables, and if threads linking works using
6105# them:
6106if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
6107 save_CFLAGS="$CFLAGS"
6108 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
6109 save_LIBS="$LIBS"
6110 LIBS="$PTHREAD_LIBS $LIBS"
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
6112$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
6113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6114/* end confdefs.h. */
6115
6116/* Override any GCC internal prototype to avoid an error.
6117 Use char because int might match the return type of a GCC
6118 builtin and then its argument prototype would still apply. */
6119#ifdef __cplusplus
6120extern "C"
6121#endif
6122char pthread_join ();
6123int
6124main ()
6125{
6126return pthread_join ();
6127 ;
6128 return 0;
6129}
6130_ACEOF
6131if ac_fn_c_try_link "$LINENO"; then :
6132 ax_pthread_ok=yes
6133fi
6134rm -f core conftest.err conftest.$ac_objext \
6135 conftest$ac_exeext conftest.$ac_ext
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
6137$as_echo "$ax_pthread_ok" >&6; }
6138 if test x"$ax_pthread_ok" = xno; then
6139 PTHREAD_LIBS=""
6140 PTHREAD_CFLAGS=""
6141 fi
6142 LIBS="$save_LIBS"
6143 CFLAGS="$save_CFLAGS"
6144fi
6145
6146# We must check for the threads library under a number of different
6147# names; the ordering is very important because some systems
6148# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
6149# libraries is broken (non-POSIX).
6150
6151# Create a list of thread flags to try. Items starting with a "-" are
6152# C compiler flags, and other items are library names, except for "none"
6153# which indicates that we try without any flags at all, and "pthread-config"
6154# which is a program returning the flags for the Pth emulation library.
6155
6156ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
6157
6158# The ordering *is* (sometimes) important. Some notes on the
6159# individual items follow:
6160
6161# pthreads: AIX (must check this before -lpthread)
6162# none: in case threads are in libc; should be tried before -Kthread and
6163# other compiler flags to prevent continual compiler warnings
6164# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
6165# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
6166# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
6167# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
6168# -pthreads: Solaris/gcc
6169# -mthreads: Mingw32/gcc, Lynx/gcc
6170# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
6171# doesn't hurt to check since this sometimes defines pthreads too;
6172# also defines -D_REENTRANT)
6173# ... -mt is also the pthreads flag for HP/aCC
6174# pthread: Linux, etcetera
6175# --thread-safe: KAI C++
6176# pthread-config: use pthread-config program (for GNU Pth library)
6177
6178case "${host_cpu}-${host_os}" in
6179 *solaris*)
6180
6181 # On Solaris (at least, for some versions), libc contains stubbed
6182 # (non-functional) versions of the pthreads routines, so link-based
6183 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
6184 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
6185 # a function called by this macro, so we could check for that, but
6186 # who knows whether they'll stub that too in a future libc.) So,
6187 # we'll just look for -pthreads and -lpthread first:
6188
6189 ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
6190 ;;
6191
6192 *-darwin*)
6193 acx_pthread_flags="-pthread $acx_pthread_flags"
6194 ;;
6195esac
6196
6197if test x"$ax_pthread_ok" = xno; then
6198for flag in $ax_pthread_flags; do
6199
6200 case $flag in
6201 none)
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
6203$as_echo_n "checking whether pthreads work without any flags... " >&6; }
6204 ;;
6205
6206 -*)
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
6208$as_echo_n "checking whether pthreads work with $flag... " >&6; }
6209 PTHREAD_CFLAGS="$flag"
6210 ;;
6211
6212 pthread-config)
6213 # Extract the first word of "pthread-config", so it can be a program name with args.
6214set dummy pthread-config; ac_word=$2
6215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6216$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006217if ${ac_cv_prog_ax_pthread_config+:} false; then :
nealsidde545c02010-03-02 00:39:48 +00006218 $as_echo_n "(cached) " >&6
6219else
6220 if test -n "$ax_pthread_config"; then
6221 ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
6222else
6223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6224for as_dir in $PATH
6225do
6226 IFS=$as_save_IFS
6227 test -z "$as_dir" && as_dir=.
6228 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00006229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
nealsidde545c02010-03-02 00:39:48 +00006230 ac_cv_prog_ax_pthread_config="yes"
6231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6232 break 2
6233 fi
6234done
6235 done
6236IFS=$as_save_IFS
6237
6238 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
6239fi
6240fi
6241ax_pthread_config=$ac_cv_prog_ax_pthread_config
6242if test -n "$ax_pthread_config"; then
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
6244$as_echo "$ax_pthread_config" >&6; }
6245else
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6247$as_echo "no" >&6; }
6248fi
6249
6250
6251 if test x"$ax_pthread_config" = xno; then continue; fi
6252 PTHREAD_CFLAGS="`pthread-config --cflags`"
6253 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
6254 ;;
6255
6256 *)
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
6258$as_echo_n "checking for the pthreads library -l$flag... " >&6; }
6259 PTHREAD_LIBS="-l$flag"
6260 ;;
6261 esac
6262
6263 save_LIBS="$LIBS"
6264 save_CFLAGS="$CFLAGS"
6265 LIBS="$PTHREAD_LIBS $LIBS"
6266 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
6267
6268 # Check for various functions. We must include pthread.h,
6269 # since some functions may be macros. (On the Sequent, we
6270 # need a special flag -Kthread to make this header compile.)
6271 # We check for pthread_join because it is in -lpthread on IRIX
6272 # while pthread_create is in libc. We check for pthread_attr_init
6273 # due to DEC craziness with -lpthreads. We check for
6274 # pthread_cleanup_push because it is one of the few pthread
6275 # functions on Solaris that doesn't have a non-functional libc stub.
6276 # We try pthread_create on general principles.
6277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6278/* end confdefs.h. */
6279#include <pthread.h>
6280 static void routine(void* a) {a=0;}
6281 static void* start_routine(void* a) {return a;}
6282int
6283main ()
6284{
6285pthread_t th; pthread_attr_t attr;
6286 pthread_join(th, 0);
6287 pthread_attr_init(&attr);
6288 pthread_cleanup_push(routine, 0);
6289 pthread_create(&th,0,start_routine,0);
6290 pthread_cleanup_pop(0);
6291 ;
6292 return 0;
6293}
6294_ACEOF
6295if ac_fn_c_try_link "$LINENO"; then :
6296 ax_pthread_ok=yes
6297fi
6298rm -f core conftest.err conftest.$ac_objext \
6299 conftest$ac_exeext conftest.$ac_ext
6300
6301 LIBS="$save_LIBS"
6302 CFLAGS="$save_CFLAGS"
6303
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
6305$as_echo "$ax_pthread_ok" >&6; }
6306 if test "x$ax_pthread_ok" = xyes; then
6307 break;
6308 fi
6309
6310 PTHREAD_LIBS=""
6311 PTHREAD_CFLAGS=""
6312done
6313fi
6314
6315# Various other checks:
6316if test "x$ax_pthread_ok" = xyes; then
6317 save_LIBS="$LIBS"
6318 LIBS="$PTHREAD_LIBS $LIBS"
6319 save_CFLAGS="$CFLAGS"
6320 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
6321
6322 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
6324$as_echo_n "checking for joinable pthread attribute... " >&6; }
6325 attr_name=unknown
6326 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
6327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6328/* end confdefs.h. */
6329#include <pthread.h>
6330int
6331main ()
6332{
6333int attr=$attr; return attr;
6334 ;
6335 return 0;
6336}
6337_ACEOF
6338if ac_fn_c_try_link "$LINENO"; then :
6339 attr_name=$attr; break
6340fi
6341rm -f core conftest.err conftest.$ac_objext \
6342 conftest$ac_exeext conftest.$ac_ext
6343 done
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
6345$as_echo "$attr_name" >&6; }
6346 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
6347
6348cat >>confdefs.h <<_ACEOF
6349#define PTHREAD_CREATE_JOINABLE $attr_name
6350_ACEOF
6351
6352 fi
6353
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
6355$as_echo_n "checking if more special flags are required for pthreads... " >&6; }
6356 flag=no
6357 case "${host_cpu}-${host_os}" in
6358 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
6359 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
6360 esac
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
6362$as_echo "${flag}" >&6; }
6363 if test "x$flag" != xno; then
6364 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
6365 fi
6366
6367 LIBS="$save_LIBS"
6368 CFLAGS="$save_CFLAGS"
6369
6370 # More AIX lossage: must compile with xlc_r or cc_r
6371 if test x"$GCC" != xyes; then
6372 for ac_prog in xlc_r cc_r
6373do
6374 # Extract the first word of "$ac_prog", so it can be a program name with args.
6375set dummy $ac_prog; ac_word=$2
6376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6377$as_echo_n "checking for $ac_word... " >&6; }
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006378if ${ac_cv_prog_PTHREAD_CC+:} false; then :
nealsidde545c02010-03-02 00:39:48 +00006379 $as_echo_n "(cached) " >&6
6380else
6381 if test -n "$PTHREAD_CC"; then
6382 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
6383else
6384as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6385for as_dir in $PATH
6386do
6387 IFS=$as_save_IFS
6388 test -z "$as_dir" && as_dir=.
6389 for ac_exec_ext in '' $ac_executable_extensions; do
mark@chromium.org39d79642013-11-23 01:45:20 +00006390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
nealsidde545c02010-03-02 00:39:48 +00006391 ac_cv_prog_PTHREAD_CC="$ac_prog"
6392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6393 break 2
6394 fi
6395done
6396 done
6397IFS=$as_save_IFS
6398
6399fi
6400fi
6401PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
6402if test -n "$PTHREAD_CC"; then
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
6404$as_echo "$PTHREAD_CC" >&6; }
6405else
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6407$as_echo "no" >&6; }
6408fi
6409
6410
6411 test -n "$PTHREAD_CC" && break
6412done
6413test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
6414
6415 else
6416 PTHREAD_CC=$CC
6417 fi
6418else
6419 PTHREAD_CC="$CC"
6420fi
6421
6422
6423
6424
6425
6426# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
6427if test x"$ax_pthread_ok" = xyes; then
6428
6429$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
6430
6431 :
6432else
6433 ax_pthread_ok=no
6434
6435fi
6436ac_ext=c
6437ac_cpp='$CPP $CPPFLAGS'
6438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6440ac_compiler_gnu=$ac_cv_c_compiler_gnu
6441
6442
ted.mielczarekdbf409c2011-02-28 14:05:22 +00006443# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6444for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6445 inttypes.h stdint.h unistd.h
6446do :
6447 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6448ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6449"
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006450if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
ted.mielczarekdbf409c2011-02-28 14:05:22 +00006451 cat >>confdefs.h <<_ACEOF
6452#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6453_ACEOF
6454
6455fi
6456
6457done
6458
6459
6460for ac_header in a.out.h
6461do :
6462 ac_fn_c_check_header_mongrel "$LINENO" "a.out.h" "ac_cv_header_a_out_h" "$ac_includes_default"
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006463if test "x$ac_cv_header_a_out_h" = xyes; then :
ted.mielczarekdbf409c2011-02-28 14:05:22 +00006464 cat >>confdefs.h <<_ACEOF
6465#define HAVE_A_OUT_H 1
6466_ACEOF
6467
6468fi
6469
6470done
6471
nealsidde545c02010-03-02 00:39:48 +00006472
ted.mielczarek53a8b1a2010-08-31 15:09:01 +00006473# Only build Linux client libs when compiling for Linux
6474case $host in
digit@chromium.orged581672012-08-21 14:34:48 +00006475 *-*-linux* | *-android* )
6476 LINUX_HOST=true
6477 ;;
ted.mielczarek53a8b1a2010-08-31 15:09:01 +00006478esac
6479 if test x$LINUX_HOST = xtrue; then
6480 LINUX_HOST_TRUE=
6481 LINUX_HOST_FALSE='#'
6482else
6483 LINUX_HOST_TRUE='#'
6484 LINUX_HOST_FALSE=
6485fi
6486
6487
digit@chromium.orged581672012-08-21 14:34:48 +00006488# Only use Android support headers when compiling for Android
6489case $host in
6490 *-android*)
6491 ANDROID_HOST=true
6492 ;;
6493esac
6494 if test x$ANDROID_HOST = xtrue; then
6495 ANDROID_HOST_TRUE=
6496 ANDROID_HOST_FALSE='#'
6497else
6498 ANDROID_HOST_TRUE='#'
6499 ANDROID_HOST_FALSE=
6500fi
6501
6502
ted.mielczareke574a2a2010-10-05 19:38:22 +00006503# Check whether --enable-processor was given.
6504if test "${enable_processor+set}" = set; then :
6505 enableval=$enable_processor; case "${enableval}" in
6506 yes)
6507 disable_processor=false
6508 ;;
6509 no)
6510 disable_processor=true
6511 ;;
6512 *)
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006513 as_fn_error $? "bad value ${enableval} for --disable-processor" "$LINENO" 5
ted.mielczareke574a2a2010-10-05 19:38:22 +00006514 ;;
6515 esac
6516else
6517 disable_processor=false
6518fi
6519
6520 if test x$disable_processor = xtrue; then
6521 DISABLE_PROCESSOR_TRUE=
6522 DISABLE_PROCESSOR_FALSE='#'
6523else
6524 DISABLE_PROCESSOR_TRUE='#'
6525 DISABLE_PROCESSOR_FALSE=
6526fi
6527
6528
ted.mielczarekdbf409c2011-02-28 14:05:22 +00006529# Check whether --enable-tools was given.
6530if test "${enable_tools+set}" = set; then :
6531 enableval=$enable_tools; case "${enableval}" in
6532 yes)
6533 disable_tools=false
6534 ;;
6535 no)
6536 disable_tools=true
6537 ;;
6538 *)
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006539 as_fn_error $? "bad value ${enableval} for --disable-tools" "$LINENO" 5
ted.mielczarekdbf409c2011-02-28 14:05:22 +00006540 ;;
6541 esac
6542else
6543 disable_tools=false
6544fi
6545
6546 if test x$disable_tools = xtrue; then
6547 DISABLE_TOOLS_TRUE=
6548 DISABLE_TOOLS_FALSE='#'
6549else
6550 DISABLE_TOOLS_TRUE='#'
6551 DISABLE_TOOLS_FALSE=
6552fi
6553
6554
6555if test x$LINUX_HOST = xfalse -a x$disable_processor = xtrue -a x$disable_tools = xtrue; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006556 as_fn_error $? "--disable-processor and --disable-tools were specified, and not building for Linux. Nothing to build!" "$LINENO" 5
ted.mielczareke574a2a2010-10-05 19:38:22 +00006557fi
6558
mmentovai0dbedc92006-09-25 21:16:15 +00006559# Check whether --enable-selftest was given.
jimblandy92b1f832009-12-23 22:23:49 +00006560if test "${enable_selftest+set}" = set; then :
mmentovai0dbedc92006-09-25 21:16:15 +00006561 enableval=$enable_selftest; case "${enableval}" in
6562 yes)
6563 selftest=true
6564 ;;
6565 no)
6566 selftest=false
6567 ;;
6568 *)
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006569 as_fn_error $? "bad value ${enableval} for --enable-selftest" "$LINENO" 5
mmentovai0dbedc92006-09-25 21:16:15 +00006570 ;;
6571 esac
6572else
6573 selftest=false
6574fi
6575
mmentovaiaf3c43f2007-05-17 18:34:37 +00006576 if test x$selftest = xtrue; then
mmentovai0dbedc92006-09-25 21:16:15 +00006577 SELFTEST_TRUE=
6578 SELFTEST_FALSE='#'
6579else
6580 SELFTEST_TRUE='#'
6581 SELFTEST_FALSE=
6582fi
6583
6584
vapier@chromium.orgbf15d7e2014-08-27 02:10:55 +00006585ac_config_files="$ac_config_files breakpad.pc breakpad-client.pc Makefile"
6586
brynercb91a2f2006-08-25 21:14:45 +00006587
6588cat >confcache <<\_ACEOF
6589# This file is a shell script that caches the results of configure
6590# tests run on this system so they can be shared between configure
6591# scripts and configure runs, see configure's option --config-cache.
6592# It is not useful on other systems. If it contains results you don't
6593# want to keep, you may remove or edit it.
6594#
6595# config.status only pays attention to the cache file if you give it
6596# the --recheck option to rerun configure.
6597#
6598# `ac_cv_env_foo' variables (set or unset) will be overridden when
6599# loading this file, other *unset* `ac_cv_foo' will be assigned the
6600# following values.
6601
6602_ACEOF
6603
6604# The following way of writing the cache mishandles newlines in values,
6605# but we know of no workaround that is simple, portable, and efficient.
mmentovai8c2a4de2006-09-20 16:20:15 +00006606# So, we kill variables containing newlines.
brynercb91a2f2006-08-25 21:14:45 +00006607# Ultrix sh set writes to stderr and can't be redirected directly,
6608# and sets the high bit in the cache file unless we assign to the vars.
mmentovai8c2a4de2006-09-20 16:20:15 +00006609(
6610 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6611 eval ac_val=\$$ac_var
6612 case $ac_val in #(
6613 *${as_nl}*)
6614 case $ac_var in #(
jimblandy92b1f832009-12-23 22:23:49 +00006615 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6616$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
mmentovai8c2a4de2006-09-20 16:20:15 +00006617 esac
6618 case $ac_var in #(
6619 _ | IFS | as_nl) ;; #(
jimblandy92b1f832009-12-23 22:23:49 +00006620 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6621 *) { eval $ac_var=; unset $ac_var;} ;;
mmentovai8c2a4de2006-09-20 16:20:15 +00006622 esac ;;
6623 esac
6624 done
6625
brynercb91a2f2006-08-25 21:14:45 +00006626 (set) 2>&1 |
mmentovai8c2a4de2006-09-20 16:20:15 +00006627 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6628 *${as_nl}ac_space=\ *)
jimblandy92b1f832009-12-23 22:23:49 +00006629 # `set' does not quote correctly, so add quotes: double-quote
6630 # substitution turns \\\\ into \\, and sed turns \\ into \.
brynercb91a2f2006-08-25 21:14:45 +00006631 sed -n \
6632 "s/'/'\\\\''/g;
6633 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
mmentovai8c2a4de2006-09-20 16:20:15 +00006634 ;; #(
brynercb91a2f2006-08-25 21:14:45 +00006635 *)
6636 # `set' quotes correctly as required by POSIX, so do not add quotes.
mmentovai8c2a4de2006-09-20 16:20:15 +00006637 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
brynercb91a2f2006-08-25 21:14:45 +00006638 ;;
mmentovai8c2a4de2006-09-20 16:20:15 +00006639 esac |
6640 sort
6641) |
brynercb91a2f2006-08-25 21:14:45 +00006642 sed '
mmentovai8c2a4de2006-09-20 16:20:15 +00006643 /^ac_cv_env_/b end
brynercb91a2f2006-08-25 21:14:45 +00006644 t clear
mmentovai8c2a4de2006-09-20 16:20:15 +00006645 :clear
brynercb91a2f2006-08-25 21:14:45 +00006646 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6647 t end
mmentovai8c2a4de2006-09-20 16:20:15 +00006648 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6649 :end' >>confcache
6650if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6651 if test -w "$cache_file"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006652 if test "x$cache_file" != "x/dev/null"; then
jimblandy92b1f832009-12-23 22:23:49 +00006653 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6654$as_echo "$as_me: updating cache $cache_file" >&6;}
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006655 if test ! -f "$cache_file" || test -h "$cache_file"; then
6656 cat confcache >"$cache_file"
6657 else
6658 case $cache_file in #(
6659 */* | ?:*)
6660 mv -f confcache "$cache_file"$$ &&
6661 mv -f "$cache_file"$$ "$cache_file" ;; #(
6662 *)
6663 mv -f confcache "$cache_file" ;;
6664 esac
6665 fi
6666 fi
brynercb91a2f2006-08-25 21:14:45 +00006667 else
jimblandy92b1f832009-12-23 22:23:49 +00006668 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6669$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
brynercb91a2f2006-08-25 21:14:45 +00006670 fi
6671fi
6672rm -f confcache
6673
6674test "x$prefix" = xNONE && prefix=$ac_default_prefix
6675# Let make expand exec_prefix.
6676test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6677
brynercb91a2f2006-08-25 21:14:45 +00006678DEFS=-DHAVE_CONFIG_H
6679
6680ac_libobjs=
6681ac_ltlibobjs=
6682for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6683 # 1. Remove the extension, and $U if already installed.
mmentovai8c2a4de2006-09-20 16:20:15 +00006684 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
jimblandy92b1f832009-12-23 22:23:49 +00006685 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
mmentovai8c2a4de2006-09-20 16:20:15 +00006686 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6687 # will be set to the directory where LIBOBJS objects are built.
jimblandy92b1f832009-12-23 22:23:49 +00006688 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6689 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
brynercb91a2f2006-08-25 21:14:45 +00006690done
6691LIBOBJS=$ac_libobjs
6692
6693LTLIBOBJS=$ac_ltlibobjs
6694
6695
mark@chromium.org39d79642013-11-23 01:45:20 +00006696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6697$as_echo_n "checking that generated files are newer than configure... " >&6; }
6698 if test -n "$am_sleep_pid"; then
6699 # Hide warnings about reused PIDs.
6700 wait $am_sleep_pid 2>/dev/null
6701 fi
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6703$as_echo "done" >&6; }
jimblandy92b1f832009-12-23 22:23:49 +00006704 if test -n "$EXEEXT"; then
6705 am__EXEEXT_TRUE=
6706 am__EXEEXT_FALSE='#'
6707else
6708 am__EXEEXT_TRUE='#'
6709 am__EXEEXT_FALSE=
6710fi
6711
ted.mielczarek@gmail.com67ce33b2013-12-10 12:28:11 +00006712if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6713 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6714Usually this means the macro was only invoked conditionally." "$LINENO" 5
6715fi
brynercb91a2f2006-08-25 21:14:45 +00006716if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006717 as_fn_error $? "conditional \"AMDEP\" was never defined.
jimblandy92b1f832009-12-23 22:23:49 +00006718Usually this means the macro was only invoked conditionally." "$LINENO" 5
brynercb91a2f2006-08-25 21:14:45 +00006719fi
6720if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006721 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
jimblandy92b1f832009-12-23 22:23:49 +00006722Usually this means the macro was only invoked conditionally." "$LINENO" 5
brynercb91a2f2006-08-25 21:14:45 +00006723fi
digit@chromium.org979d8f42012-08-31 18:38:29 +00006724if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006725 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
digit@chromium.org979d8f42012-08-31 18:38:29 +00006726Usually this means the macro was only invoked conditionally." "$LINENO" 5
6727fi
6728if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006729 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
brynercb91a2f2006-08-25 21:14:45 +00006730Usually this means the macro was only invoked conditionally." "$LINENO" 5
6731fi
6732if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006733 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
jimblandy92b1f832009-12-23 22:23:49 +00006734Usually this means the macro was only invoked conditionally." "$LINENO" 5
6735fi
ivan.penkov@gmail.comb7323422012-07-02 22:55:57 +00006736if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006737 as_fn_error $? "conditional \"GCC\" was never defined.
ivan.penkov@gmail.comb7323422012-07-02 22:55:57 +00006738Usually this means the macro was only invoked conditionally." "$LINENO" 5
6739fi
ted.mielczarek53a8b1a2010-08-31 15:09:01 +00006740if test -z "${LINUX_HOST_TRUE}" && test -z "${LINUX_HOST_FALSE}"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006741 as_fn_error $? "conditional \"LINUX_HOST\" was never defined.
ted.mielczareke574a2a2010-10-05 19:38:22 +00006742Usually this means the macro was only invoked conditionally." "$LINENO" 5
6743fi
digit@chromium.orged581672012-08-21 14:34:48 +00006744if test -z "${ANDROID_HOST_TRUE}" && test -z "${ANDROID_HOST_FALSE}"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006745 as_fn_error $? "conditional \"ANDROID_HOST\" was never defined.
ted.mielczareke574a2a2010-10-05 19:38:22 +00006746Usually this means the macro was only invoked conditionally." "$LINENO" 5
6747fi
6748if test -z "${DISABLE_PROCESSOR_TRUE}" && test -z "${DISABLE_PROCESSOR_FALSE}"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006749 as_fn_error $? "conditional \"DISABLE_PROCESSOR\" was never defined.
ted.mielczarek53a8b1a2010-08-31 15:09:01 +00006750Usually this means the macro was only invoked conditionally." "$LINENO" 5
6751fi
ted.mielczarekdbf409c2011-02-28 14:05:22 +00006752if test -z "${DISABLE_TOOLS_TRUE}" && test -z "${DISABLE_TOOLS_FALSE}"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006753 as_fn_error $? "conditional \"DISABLE_TOOLS\" was never defined.
Ben Chan75d3e602011-11-29 10:40:13 -08006754Usually this means the macro was only invoked conditionally." "$LINENO" 5
6755fi
mmentovai0dbedc92006-09-25 21:16:15 +00006756if test -z "${SELFTEST_TRUE}" && test -z "${SELFTEST_FALSE}"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006757 as_fn_error $? "conditional \"SELFTEST\" was never defined.
jimblandy92b1f832009-12-23 22:23:49 +00006758Usually this means the macro was only invoked conditionally." "$LINENO" 5
mmentovai0dbedc92006-09-25 21:16:15 +00006759fi
brynercb91a2f2006-08-25 21:14:45 +00006760
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006761: "${CONFIG_STATUS=./config.status}"
jimblandy92b1f832009-12-23 22:23:49 +00006762ac_write_fail=0
brynercb91a2f2006-08-25 21:14:45 +00006763ac_clean_files_save=$ac_clean_files
6764ac_clean_files="$ac_clean_files $CONFIG_STATUS"
jimblandy92b1f832009-12-23 22:23:49 +00006765{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6766$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6767as_write_fail=0
6768cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
brynercb91a2f2006-08-25 21:14:45 +00006769#! $SHELL
6770# Generated by $as_me.
6771# Run this file to recreate the current configuration.
6772# Compiler output produced by configure, useful for debugging
6773# configure, is in config.log if it exists.
6774
6775debug=false
6776ac_cs_recheck=false
6777ac_cs_silent=false
brynercb91a2f2006-08-25 21:14:45 +00006778
jimblandy92b1f832009-12-23 22:23:49 +00006779SHELL=\${CONFIG_SHELL-$SHELL}
6780export SHELL
6781_ASEOF
6782cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6783## -------------------- ##
6784## M4sh Initialization. ##
6785## -------------------- ##
brynercb91a2f2006-08-25 21:14:45 +00006786
mmentovaiaf3c43f2007-05-17 18:34:37 +00006787# Be more Bourne compatible
6788DUALCASE=1; export DUALCASE # for MKS sh
jimblandy92b1f832009-12-23 22:23:49 +00006789if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
brynercb91a2f2006-08-25 21:14:45 +00006790 emulate sh
6791 NULLCMD=:
jimblandy92b1f832009-12-23 22:23:49 +00006792 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
brynercb91a2f2006-08-25 21:14:45 +00006793 # is contrary to our usage. Disable this feature.
6794 alias -g '${1+"$@"}'='"$@"'
mmentovai8c2a4de2006-09-20 16:20:15 +00006795 setopt NO_GLOB_SUBST
6796else
jimblandy92b1f832009-12-23 22:23:49 +00006797 case `(set -o) 2>/dev/null` in #(
6798 *posix*) :
6799 set -o posix ;; #(
6800 *) :
6801 ;;
mmentovaiaf3c43f2007-05-17 18:34:37 +00006802esac
brynercb91a2f2006-08-25 21:14:45 +00006803fi
mmentovaiaf3c43f2007-05-17 18:34:37 +00006804
6805
jimblandy92b1f832009-12-23 22:23:49 +00006806as_nl='
6807'
6808export as_nl
6809# Printing a long string crashes Solaris 7 /usr/bin/printf.
6810as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6811as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6812as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6813# Prefer a ksh shell builtin over an external printf program on Solaris,
6814# but without wasting forks for bash or zsh.
6815if test -z "$BASH_VERSION$ZSH_VERSION" \
6816 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6817 as_echo='print -r --'
6818 as_echo_n='print -rn --'
6819elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6820 as_echo='printf %s\n'
6821 as_echo_n='printf %s'
6822else
6823 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6824 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6825 as_echo_n='/usr/ucb/echo -n'
6826 else
6827 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6828 as_echo_n_body='eval
6829 arg=$1;
6830 case $arg in #(
6831 *"$as_nl"*)
6832 expr "X$arg" : "X\\(.*\\)$as_nl";
6833 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6834 esac;
6835 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6836 '
6837 export as_echo_n_body
6838 as_echo_n='sh -c $as_echo_n_body as_echo'
6839 fi
6840 export as_echo_body
6841 as_echo='sh -c $as_echo_body as_echo'
6842fi
brynercb91a2f2006-08-25 21:14:45 +00006843
6844# The user is always right.
6845if test "${PATH_SEPARATOR+set}" != set; then
jimblandy92b1f832009-12-23 22:23:49 +00006846 PATH_SEPARATOR=:
6847 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6848 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6849 PATH_SEPARATOR=';'
6850 }
mmentovai8c2a4de2006-09-20 16:20:15 +00006851fi
brynercb91a2f2006-08-25 21:14:45 +00006852
mmentovai8c2a4de2006-09-20 16:20:15 +00006853
6854# IFS
6855# We need space, tab and new line, in precisely that order. Quoting is
6856# there to prevent editors from complaining about space-tab.
6857# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6858# splitting by setting IFS to empty value.)
mmentovai8c2a4de2006-09-20 16:20:15 +00006859IFS=" "" $as_nl"
6860
6861# Find who we are. Look in the path if we contain no directory separator.
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006862as_myself=
jimblandy92b1f832009-12-23 22:23:49 +00006863case $0 in #((
mmentovai8c2a4de2006-09-20 16:20:15 +00006864 *[\\/]* ) as_myself=$0 ;;
6865 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
brynercb91a2f2006-08-25 21:14:45 +00006866for as_dir in $PATH
6867do
6868 IFS=$as_save_IFS
6869 test -z "$as_dir" && as_dir=.
jimblandy92b1f832009-12-23 22:23:49 +00006870 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6871 done
mmentovai8c2a4de2006-09-20 16:20:15 +00006872IFS=$as_save_IFS
brynercb91a2f2006-08-25 21:14:45 +00006873
mmentovai8c2a4de2006-09-20 16:20:15 +00006874 ;;
6875esac
6876# We did not find ourselves, most probably we were run as `sh COMMAND'
6877# in which case we are not to be found in the path.
6878if test "x$as_myself" = x; then
6879 as_myself=$0
6880fi
6881if test ! -f "$as_myself"; then
jimblandy92b1f832009-12-23 22:23:49 +00006882 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6883 exit 1
mmentovai8c2a4de2006-09-20 16:20:15 +00006884fi
6885
jimblandy92b1f832009-12-23 22:23:49 +00006886# Unset variables that we do not need and which cause bugs (e.g. in
6887# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6888# suppresses any "Segmentation fault" message there. '((' could
6889# trigger a bug in pdksh 5.2.14.
6890for as_var in BASH_ENV ENV MAIL MAILPATH
6891do eval test x\${$as_var+set} = xset \
6892 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
mmentovai8c2a4de2006-09-20 16:20:15 +00006893done
6894PS1='$ '
6895PS2='> '
6896PS4='+ '
6897
6898# NLS nuisances.
jimblandy92b1f832009-12-23 22:23:49 +00006899LC_ALL=C
6900export LC_ALL
6901LANGUAGE=C
6902export LANGUAGE
mmentovai8c2a4de2006-09-20 16:20:15 +00006903
jimblandy92b1f832009-12-23 22:23:49 +00006904# CDPATH.
6905(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6906
6907
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006908# as_fn_error STATUS ERROR [LINENO LOG_FD]
6909# ----------------------------------------
jimblandy92b1f832009-12-23 22:23:49 +00006910# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6911# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006912# script with STATUS, using 1 if that was 0.
jimblandy92b1f832009-12-23 22:23:49 +00006913as_fn_error ()
6914{
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006915 as_status=$1; test $as_status -eq 0 && as_status=1
6916 if test "$4"; then
6917 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6918 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
jimblandy92b1f832009-12-23 22:23:49 +00006919 fi
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00006920 $as_echo "$as_me: error: $2" >&2
jimblandy92b1f832009-12-23 22:23:49 +00006921 as_fn_exit $as_status
6922} # as_fn_error
6923
6924
6925# as_fn_set_status STATUS
6926# -----------------------
6927# Set $? to STATUS, without forking.
6928as_fn_set_status ()
6929{
6930 return $1
6931} # as_fn_set_status
6932
6933# as_fn_exit STATUS
6934# -----------------
6935# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6936as_fn_exit ()
6937{
6938 set +e
6939 as_fn_set_status $1
6940 exit $1
6941} # as_fn_exit
6942
6943# as_fn_unset VAR
6944# ---------------
6945# Portably unset VAR.
6946as_fn_unset ()
6947{
6948 { eval $1=; unset $1;}
6949}
6950as_unset=as_fn_unset
6951# as_fn_append VAR VALUE
6952# ----------------------
6953# Append the text in VALUE to the end of the definition contained in VAR. Take
6954# advantage of any shell optimizations that allow amortized linear growth over
6955# repeated appends, instead of the typical quadratic growth present in naive
6956# implementations.
6957if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6958 eval 'as_fn_append ()
6959 {
6960 eval $1+=\$2
6961 }'
6962else
6963 as_fn_append ()
6964 {
6965 eval $1=\$$1\$2
6966 }
6967fi # as_fn_append
6968
6969# as_fn_arith ARG...
6970# ------------------
6971# Perform arithmetic evaluation on the ARGs, and store the result in the
6972# global $as_val. Take advantage of shells that can avoid forks. The arguments
6973# must be portable across $(()) and expr.
6974if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6975 eval 'as_fn_arith ()
6976 {
6977 as_val=$(( $* ))
6978 }'
6979else
6980 as_fn_arith ()
6981 {
6982 as_val=`expr "$@" || test $? -eq 1`
6983 }
6984fi # as_fn_arith
6985
6986
mmentovai8c2a4de2006-09-20 16:20:15 +00006987if expr a : '\(a\)' >/dev/null 2>&1 &&
6988 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6989 as_expr=expr
6990else
6991 as_expr=false
6992fi
6993
6994if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6995 as_basename=basename
6996else
6997 as_basename=false
6998fi
6999
jimblandy92b1f832009-12-23 22:23:49 +00007000if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7001 as_dirname=dirname
7002else
7003 as_dirname=false
7004fi
mmentovai8c2a4de2006-09-20 16:20:15 +00007005
mmentovai8c2a4de2006-09-20 16:20:15 +00007006as_me=`$as_basename -- "$0" ||
7007$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7008 X"$0" : 'X\(//\)$' \| \
7009 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
jimblandy92b1f832009-12-23 22:23:49 +00007010$as_echo X/"$0" |
mmentovai8c2a4de2006-09-20 16:20:15 +00007011 sed '/^.*\/\([^/][^/]*\)\/*$/{
7012 s//\1/
7013 q
7014 }
7015 /^X\/\(\/\/\)$/{
7016 s//\1/
7017 q
7018 }
7019 /^X\/\(\/\).*/{
7020 s//\1/
7021 q
7022 }
7023 s/.*/./; q'`
7024
jimblandy92b1f832009-12-23 22:23:49 +00007025# Avoid depending upon Character Ranges.
7026as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7027as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7028as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7029as_cr_digits='0123456789'
7030as_cr_alnum=$as_cr_Letters$as_cr_digits
mmentovai8c2a4de2006-09-20 16:20:15 +00007031
7032ECHO_C= ECHO_N= ECHO_T=
jimblandy92b1f832009-12-23 22:23:49 +00007033case `echo -n x` in #(((((
mmentovai8c2a4de2006-09-20 16:20:15 +00007034-n*)
jimblandy92b1f832009-12-23 22:23:49 +00007035 case `echo 'xy\c'` in
mmentovai8c2a4de2006-09-20 16:20:15 +00007036 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
jimblandy92b1f832009-12-23 22:23:49 +00007037 xy) ECHO_C='\c';;
7038 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7039 ECHO_T=' ';;
mmentovai8c2a4de2006-09-20 16:20:15 +00007040 esac;;
7041*)
7042 ECHO_N='-n';;
brynercb91a2f2006-08-25 21:14:45 +00007043esac
7044
brynercb91a2f2006-08-25 21:14:45 +00007045rm -f conf$$ conf$$.exe conf$$.file
mmentovai8c2a4de2006-09-20 16:20:15 +00007046if test -d conf$$.dir; then
7047 rm -f conf$$.dir/conf$$.file
7048else
7049 rm -f conf$$.dir
jimblandy92b1f832009-12-23 22:23:49 +00007050 mkdir conf$$.dir 2>/dev/null
mmentovai8c2a4de2006-09-20 16:20:15 +00007051fi
jimblandy92b1f832009-12-23 22:23:49 +00007052if (echo >conf$$.file) 2>/dev/null; then
7053 if ln -s conf$$.file conf$$ 2>/dev/null; then
7054 as_ln_s='ln -s'
7055 # ... but there are two gotchas:
7056 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7057 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
mark@chromium.org39d79642013-11-23 01:45:20 +00007058 # In both cases, we have to default to `cp -pR'.
jimblandy92b1f832009-12-23 22:23:49 +00007059 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
mark@chromium.org39d79642013-11-23 01:45:20 +00007060 as_ln_s='cp -pR'
jimblandy92b1f832009-12-23 22:23:49 +00007061 elif ln conf$$.file conf$$ 2>/dev/null; then
7062 as_ln_s=ln
7063 else
mark@chromium.org39d79642013-11-23 01:45:20 +00007064 as_ln_s='cp -pR'
jimblandy92b1f832009-12-23 22:23:49 +00007065 fi
brynercb91a2f2006-08-25 21:14:45 +00007066else
mark@chromium.org39d79642013-11-23 01:45:20 +00007067 as_ln_s='cp -pR'
brynercb91a2f2006-08-25 21:14:45 +00007068fi
mmentovai8c2a4de2006-09-20 16:20:15 +00007069rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7070rmdir conf$$.dir 2>/dev/null
brynercb91a2f2006-08-25 21:14:45 +00007071
jimblandy92b1f832009-12-23 22:23:49 +00007072
7073# as_fn_mkdir_p
7074# -------------
7075# Create "$as_dir" as a directory, including parents if necessary.
7076as_fn_mkdir_p ()
7077{
7078
7079 case $as_dir in #(
7080 -*) as_dir=./$as_dir;;
7081 esac
7082 test -d "$as_dir" || eval $as_mkdir_p || {
7083 as_dirs=
7084 while :; do
7085 case $as_dir in #(
7086 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7087 *) as_qdir=$as_dir;;
7088 esac
7089 as_dirs="'$as_qdir' $as_dirs"
7090 as_dir=`$as_dirname -- "$as_dir" ||
7091$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7092 X"$as_dir" : 'X\(//\)[^/]' \| \
7093 X"$as_dir" : 'X\(//\)$' \| \
7094 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7095$as_echo X"$as_dir" |
7096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7097 s//\1/
7098 q
7099 }
7100 /^X\(\/\/\)[^/].*/{
7101 s//\1/
7102 q
7103 }
7104 /^X\(\/\/\)$/{
7105 s//\1/
7106 q
7107 }
7108 /^X\(\/\).*/{
7109 s//\1/
7110 q
7111 }
7112 s/.*/./; q'`
7113 test -d "$as_dir" && break
7114 done
7115 test -z "$as_dirs" || eval "mkdir $as_dirs"
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007116 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
jimblandy92b1f832009-12-23 22:23:49 +00007117
7118
7119} # as_fn_mkdir_p
brynercb91a2f2006-08-25 21:14:45 +00007120if mkdir -p . 2>/dev/null; then
jimblandy92b1f832009-12-23 22:23:49 +00007121 as_mkdir_p='mkdir -p "$as_dir"'
brynercb91a2f2006-08-25 21:14:45 +00007122else
7123 test -d ./-p && rmdir ./-p
7124 as_mkdir_p=false
7125fi
7126
mark@chromium.org39d79642013-11-23 01:45:20 +00007127
7128# as_fn_executable_p FILE
7129# -----------------------
7130# Test if FILE is an executable regular file.
7131as_fn_executable_p ()
7132{
7133 test -f "$1" && test -x "$1"
7134} # as_fn_executable_p
7135as_test_x='test -x'
7136as_executable_p=as_fn_executable_p
brynercb91a2f2006-08-25 21:14:45 +00007137
7138# Sed expression to map a string onto a valid CPP name.
7139as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7140
7141# Sed expression to map a string onto a valid variable name.
7142as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7143
7144
brynercb91a2f2006-08-25 21:14:45 +00007145exec 6>&1
jimblandy92b1f832009-12-23 22:23:49 +00007146## ----------------------------------- ##
7147## Main body of $CONFIG_STATUS script. ##
7148## ----------------------------------- ##
7149_ASEOF
7150test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
brynercb91a2f2006-08-25 21:14:45 +00007151
jimblandy92b1f832009-12-23 22:23:49 +00007152cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7153# Save the log message, to keep $0 and so on meaningful, and to
brynercb91a2f2006-08-25 21:14:45 +00007154# report actual input values of CONFIG_FILES etc. instead of their
mmentovai8c2a4de2006-09-20 16:20:15 +00007155# values after options handling.
7156ac_log="
Mike Frysinger3b8d8c02013-08-15 20:17:54 -04007157This file was extended by breakpad $as_me 0.1, which was
mark@chromium.org39d79642013-11-23 01:45:20 +00007158generated by GNU Autoconf 2.69. Invocation command line was
brynercb91a2f2006-08-25 21:14:45 +00007159
7160 CONFIG_FILES = $CONFIG_FILES
7161 CONFIG_HEADERS = $CONFIG_HEADERS
7162 CONFIG_LINKS = $CONFIG_LINKS
7163 CONFIG_COMMANDS = $CONFIG_COMMANDS
7164 $ $0 $@
7165
mmentovai8c2a4de2006-09-20 16:20:15 +00007166on `(hostname || uname -n) 2>/dev/null | sed 1q`
7167"
7168
brynercb91a2f2006-08-25 21:14:45 +00007169_ACEOF
7170
jimblandy92b1f832009-12-23 22:23:49 +00007171case $ac_config_files in *"
7172"*) set x $ac_config_files; shift; ac_config_files=$*;;
7173esac
7174
7175case $ac_config_headers in *"
7176"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7177esac
7178
7179
7180cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
brynercb91a2f2006-08-25 21:14:45 +00007181# Files that config.status was made for.
mmentovai8c2a4de2006-09-20 16:20:15 +00007182config_files="$ac_config_files"
7183config_headers="$ac_config_headers"
7184config_commands="$ac_config_commands"
brynercb91a2f2006-08-25 21:14:45 +00007185
mmentovai8c2a4de2006-09-20 16:20:15 +00007186_ACEOF
brynercb91a2f2006-08-25 21:14:45 +00007187
jimblandy92b1f832009-12-23 22:23:49 +00007188cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
brynercb91a2f2006-08-25 21:14:45 +00007189ac_cs_usage="\
jimblandy92b1f832009-12-23 22:23:49 +00007190\`$as_me' instantiates files and other configuration actions
7191from templates according to the current configuration. Unless the files
7192and actions are specified as TAGs, all are instantiated by default.
brynercb91a2f2006-08-25 21:14:45 +00007193
jimblandy92b1f832009-12-23 22:23:49 +00007194Usage: $0 [OPTION]... [TAG]...
brynercb91a2f2006-08-25 21:14:45 +00007195
7196 -h, --help print this help, then exit
mmentovaiaf3c43f2007-05-17 18:34:37 +00007197 -V, --version print version number and configuration settings, then exit
jimblandydc4029a2010-02-02 17:39:51 +00007198 --config print configuration, then exit
jimblandy92b1f832009-12-23 22:23:49 +00007199 -q, --quiet, --silent
7200 do not print progress messages
brynercb91a2f2006-08-25 21:14:45 +00007201 -d, --debug don't remove temporary files
7202 --recheck update $as_me by reconfiguring in the same conditions
jimblandy92b1f832009-12-23 22:23:49 +00007203 --file=FILE[:TEMPLATE]
7204 instantiate the configuration file FILE
7205 --header=FILE[:TEMPLATE]
7206 instantiate the configuration header FILE
brynercb91a2f2006-08-25 21:14:45 +00007207
7208Configuration files:
7209$config_files
7210
7211Configuration headers:
7212$config_headers
7213
7214Configuration commands:
7215$config_commands
7216
thestig@chromium.org43e6db72010-11-08 19:49:41 +00007217Report bugs to <google-breakpad-dev@googlegroups.com>."
brynercb91a2f2006-08-25 21:14:45 +00007218
mmentovai8c2a4de2006-09-20 16:20:15 +00007219_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00007220cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
jimblandydc4029a2010-02-02 17:39:51 +00007221ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
brynercb91a2f2006-08-25 21:14:45 +00007222ac_cs_version="\\
Mike Frysinger3b8d8c02013-08-15 20:17:54 -04007223breakpad config.status 0.1
mark@chromium.org39d79642013-11-23 01:45:20 +00007224configured by $0, generated by GNU Autoconf 2.69,
jimblandydc4029a2010-02-02 17:39:51 +00007225 with options \\"\$ac_cs_config\\"
brynercb91a2f2006-08-25 21:14:45 +00007226
mark@chromium.org39d79642013-11-23 01:45:20 +00007227Copyright (C) 2012 Free Software Foundation, Inc.
brynercb91a2f2006-08-25 21:14:45 +00007228This config.status script is free software; the Free Software Foundation
7229gives unlimited permission to copy, distribute and modify it."
mmentovai8c2a4de2006-09-20 16:20:15 +00007230
7231ac_pwd='$ac_pwd'
7232srcdir='$srcdir'
7233INSTALL='$INSTALL'
mmentovaiaf3c43f2007-05-17 18:34:37 +00007234MKDIR_P='$MKDIR_P'
jimblandy92b1f832009-12-23 22:23:49 +00007235AWK='$AWK'
7236test -n "\$AWK" || AWK=awk
brynercb91a2f2006-08-25 21:14:45 +00007237_ACEOF
7238
jimblandy92b1f832009-12-23 22:23:49 +00007239cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7240# The default lists apply if the user does not specify any file.
brynercb91a2f2006-08-25 21:14:45 +00007241ac_need_defaults=:
7242while test $# != 0
7243do
7244 case $1 in
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007245 --*=?*)
mmentovai8c2a4de2006-09-20 16:20:15 +00007246 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7247 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
brynercb91a2f2006-08-25 21:14:45 +00007248 ac_shift=:
7249 ;;
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007250 --*=)
7251 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7252 ac_optarg=
7253 ac_shift=:
7254 ;;
mmentovai8c2a4de2006-09-20 16:20:15 +00007255 *)
brynercb91a2f2006-08-25 21:14:45 +00007256 ac_option=$1
7257 ac_optarg=$2
7258 ac_shift=shift
7259 ;;
brynercb91a2f2006-08-25 21:14:45 +00007260 esac
7261
7262 case $ac_option in
7263 # Handling of the options.
brynercb91a2f2006-08-25 21:14:45 +00007264 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7265 ac_cs_recheck=: ;;
mmentovai8c2a4de2006-09-20 16:20:15 +00007266 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
jimblandy92b1f832009-12-23 22:23:49 +00007267 $as_echo "$ac_cs_version"; exit ;;
jimblandydc4029a2010-02-02 17:39:51 +00007268 --config | --confi | --conf | --con | --co | --c )
7269 $as_echo "$ac_cs_config"; exit ;;
mmentovai8c2a4de2006-09-20 16:20:15 +00007270 --debug | --debu | --deb | --de | --d | -d )
brynercb91a2f2006-08-25 21:14:45 +00007271 debug=: ;;
7272 --file | --fil | --fi | --f )
7273 $ac_shift
jimblandy92b1f832009-12-23 22:23:49 +00007274 case $ac_optarg in
7275 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007276 '') as_fn_error $? "missing file argument" ;;
jimblandy92b1f832009-12-23 22:23:49 +00007277 esac
7278 as_fn_append CONFIG_FILES " '$ac_optarg'"
brynercb91a2f2006-08-25 21:14:45 +00007279 ac_need_defaults=false;;
7280 --header | --heade | --head | --hea )
7281 $ac_shift
jimblandy92b1f832009-12-23 22:23:49 +00007282 case $ac_optarg in
7283 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7284 esac
7285 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
brynercb91a2f2006-08-25 21:14:45 +00007286 ac_need_defaults=false;;
mmentovai8c2a4de2006-09-20 16:20:15 +00007287 --he | --h)
7288 # Conflict between --help and --header
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007289 as_fn_error $? "ambiguous option: \`$1'
jimblandy92b1f832009-12-23 22:23:49 +00007290Try \`$0 --help' for more information.";;
mmentovai8c2a4de2006-09-20 16:20:15 +00007291 --help | --hel | -h )
jimblandy92b1f832009-12-23 22:23:49 +00007292 $as_echo "$ac_cs_usage"; exit ;;
brynercb91a2f2006-08-25 21:14:45 +00007293 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7294 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7295 ac_cs_silent=: ;;
7296
7297 # This is an error.
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007298 -*) as_fn_error $? "unrecognized option: \`$1'
jimblandy92b1f832009-12-23 22:23:49 +00007299Try \`$0 --help' for more information." ;;
brynercb91a2f2006-08-25 21:14:45 +00007300
jimblandy92b1f832009-12-23 22:23:49 +00007301 *) as_fn_append ac_config_targets " $1"
mmentovai8c2a4de2006-09-20 16:20:15 +00007302 ac_need_defaults=false ;;
brynercb91a2f2006-08-25 21:14:45 +00007303
7304 esac
7305 shift
7306done
7307
7308ac_configure_extra_args=
7309
7310if $ac_cs_silent; then
7311 exec 6>/dev/null
7312 ac_configure_extra_args="$ac_configure_extra_args --silent"
7313fi
7314
7315_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00007316cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
brynercb91a2f2006-08-25 21:14:45 +00007317if \$ac_cs_recheck; then
mark@chromium.org39d79642013-11-23 01:45:20 +00007318 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
jimblandy92b1f832009-12-23 22:23:49 +00007319 shift
7320 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7321 CONFIG_SHELL='$SHELL'
mmentovai8c2a4de2006-09-20 16:20:15 +00007322 export CONFIG_SHELL
jimblandy92b1f832009-12-23 22:23:49 +00007323 exec "\$@"
brynercb91a2f2006-08-25 21:14:45 +00007324fi
7325
7326_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00007327cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
mmentovai8c2a4de2006-09-20 16:20:15 +00007328exec 5>>config.log
7329{
7330 echo
7331 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7332## Running $as_me. ##
7333_ASBOX
jimblandy92b1f832009-12-23 22:23:49 +00007334 $as_echo "$ac_log"
mmentovai8c2a4de2006-09-20 16:20:15 +00007335} >&5
brynercb91a2f2006-08-25 21:14:45 +00007336
mmentovai8c2a4de2006-09-20 16:20:15 +00007337_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00007338cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
brynercb91a2f2006-08-25 21:14:45 +00007339#
mmentovai8c2a4de2006-09-20 16:20:15 +00007340# INIT-COMMANDS
brynercb91a2f2006-08-25 21:14:45 +00007341#
brynercb91a2f2006-08-25 21:14:45 +00007342AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7343
7344_ACEOF
7345
jimblandy92b1f832009-12-23 22:23:49 +00007346cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
mmentovai8c2a4de2006-09-20 16:20:15 +00007347
7348# Handling of arguments.
brynercb91a2f2006-08-25 21:14:45 +00007349for ac_config_target in $ac_config_targets
7350do
mmentovai8c2a4de2006-09-20 16:20:15 +00007351 case $ac_config_target in
7352 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
7353 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
vapier@chromium.orgbf15d7e2014-08-27 02:10:55 +00007354 "breakpad.pc") CONFIG_FILES="$CONFIG_FILES breakpad.pc" ;;
7355 "breakpad-client.pc") CONFIG_FILES="$CONFIG_FILES breakpad-client.pc" ;;
mmentovai8c2a4de2006-09-20 16:20:15 +00007356 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7357
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007358 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
brynercb91a2f2006-08-25 21:14:45 +00007359 esac
7360done
7361
mmentovai8c2a4de2006-09-20 16:20:15 +00007362
brynercb91a2f2006-08-25 21:14:45 +00007363# If the user did not use the arguments to specify the items to instantiate,
7364# then the envvar interface is used. Set only those that are not.
7365# We use the long form for the default assignment because of an extremely
7366# bizarre bug on SunOS 4.1.3.
7367if $ac_need_defaults; then
7368 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7369 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7370 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7371fi
7372
7373# Have a temporary directory for convenience. Make it in the build tree
mmentovai8c2a4de2006-09-20 16:20:15 +00007374# simply because there is no reason against having it here, and in addition,
brynercb91a2f2006-08-25 21:14:45 +00007375# creating and moving files from /tmp can sometimes cause problems.
mmentovai8c2a4de2006-09-20 16:20:15 +00007376# Hook for its removal unless debugging.
7377# Note that there is a small window in which the directory will not be cleaned:
7378# after its creation but before its name has been assigned to `$tmp'.
brynercb91a2f2006-08-25 21:14:45 +00007379$debug ||
7380{
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007381 tmp= ac_tmp=
mmentovai8c2a4de2006-09-20 16:20:15 +00007382 trap 'exit_status=$?
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007383 : "${ac_tmp:=$tmp}"
7384 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
mmentovai8c2a4de2006-09-20 16:20:15 +00007385' 0
jimblandy92b1f832009-12-23 22:23:49 +00007386 trap 'as_fn_exit 1' 1 2 13 15
brynercb91a2f2006-08-25 21:14:45 +00007387}
brynercb91a2f2006-08-25 21:14:45 +00007388# Create a (secure) tmp directory for tmp files.
7389
7390{
mmentovai8c2a4de2006-09-20 16:20:15 +00007391 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007392 test -d "$tmp"
brynercb91a2f2006-08-25 21:14:45 +00007393} ||
7394{
mmentovai8c2a4de2006-09-20 16:20:15 +00007395 tmp=./conf$$-$RANDOM
7396 (umask 077 && mkdir "$tmp")
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007397} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7398ac_tmp=$tmp
brynercb91a2f2006-08-25 21:14:45 +00007399
jimblandy92b1f832009-12-23 22:23:49 +00007400# Set up the scripts for CONFIG_FILES section.
7401# No need to generate them if there are no CONFIG_FILES.
7402# This happens for instance with `./config.status config.h'.
mmentovai8c2a4de2006-09-20 16:20:15 +00007403if test -n "$CONFIG_FILES"; then
brynercb91a2f2006-08-25 21:14:45 +00007404
jimblandy92b1f832009-12-23 22:23:49 +00007405
7406ac_cr=`echo X | tr X '\015'`
7407# On cygwin, bash can eat \r inside `` if the user requested igncr.
7408# But we know of no other shell where ac_cr would be empty at this
7409# point, so we can use a bashism as a fallback.
7410if test "x$ac_cr" = x; then
7411 eval ac_cr=\$\'\\r\'
7412fi
7413ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7414if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007415 ac_cs_awk_cr='\\r'
jimblandy92b1f832009-12-23 22:23:49 +00007416else
7417 ac_cs_awk_cr=$ac_cr
7418fi
7419
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007420echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
brynercb91a2f2006-08-25 21:14:45 +00007421_ACEOF
7422
mmentovai8c2a4de2006-09-20 16:20:15 +00007423
jimblandy92b1f832009-12-23 22:23:49 +00007424{
7425 echo "cat >conf$$subs.awk <<_ACEOF" &&
7426 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7427 echo "_ACEOF"
7428} >conf$$subs.sh ||
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007429 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7430ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
mmentovai8c2a4de2006-09-20 16:20:15 +00007431ac_delim='%!_!# '
7432for ac_last_try in false false false false false :; do
jimblandy92b1f832009-12-23 22:23:49 +00007433 . ./conf$$subs.sh ||
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007434 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
mmentovai8c2a4de2006-09-20 16:20:15 +00007435
jimblandy92b1f832009-12-23 22:23:49 +00007436 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7437 if test $ac_delim_n = $ac_delim_num; then
mmentovai8c2a4de2006-09-20 16:20:15 +00007438 break
7439 elif $ac_last_try; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007440 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
mmentovai8c2a4de2006-09-20 16:20:15 +00007441 else
7442 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
brynercb91a2f2006-08-25 21:14:45 +00007443 fi
mmentovai8c2a4de2006-09-20 16:20:15 +00007444done
jimblandy92b1f832009-12-23 22:23:49 +00007445rm -f conf$$subs.sh
mmentovai8c2a4de2006-09-20 16:20:15 +00007446
jimblandy92b1f832009-12-23 22:23:49 +00007447cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007448cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
mmentovai8c2a4de2006-09-20 16:20:15 +00007449_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00007450sed -n '
7451h
7452s/^/S["/; s/!.*/"]=/
7453p
7454g
7455s/^[^!]*!//
7456:repl
7457t repl
7458s/'"$ac_delim"'$//
7459t delim
7460:nl
7461h
jimblandydc4029a2010-02-02 17:39:51 +00007462s/\(.\{148\}\)..*/\1/
jimblandy92b1f832009-12-23 22:23:49 +00007463t more1
7464s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7465p
7466n
7467b repl
7468:more1
7469s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7470p
7471g
7472s/.\{148\}//
7473t nl
7474:delim
7475h
jimblandydc4029a2010-02-02 17:39:51 +00007476s/\(.\{148\}\)..*/\1/
jimblandy92b1f832009-12-23 22:23:49 +00007477t more2
7478s/["\\]/\\&/g; s/^/"/; s/$/"/
7479p
7480b
7481:more2
7482s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7483p
7484g
7485s/.\{148\}//
7486t delim
7487' <conf$$subs.awk | sed '
7488/^[^""]/{
7489 N
7490 s/\n//
7491}
7492' >>$CONFIG_STATUS || ac_write_fail=1
7493rm -f conf$$subs.awk
7494cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7495_ACAWK
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007496cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
jimblandy92b1f832009-12-23 22:23:49 +00007497 for (key in S) S_is_set[key] = 1
7498 FS = ""
7499
7500}
7501{
7502 line = $ 0
7503 nfields = split(line, field, "@")
7504 substed = 0
7505 len = length(field[1])
7506 for (i = 2; i < nfields; i++) {
7507 key = field[i]
7508 keylen = length(key)
7509 if (S_is_set[key]) {
7510 value = S[key]
7511 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7512 len += length(value) + length(field[++i])
7513 substed = 1
7514 } else
7515 len += 1 + keylen
7516 }
7517
7518 print line
7519}
7520
7521_ACAWK
mmentovai8c2a4de2006-09-20 16:20:15 +00007522_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00007523cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7524if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7525 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7526else
7527 cat
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007528fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7529 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
mmentovai8c2a4de2006-09-20 16:20:15 +00007530_ACEOF
7531
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007532# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7533# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
mmentovai8c2a4de2006-09-20 16:20:15 +00007534# trailing colons and then remove the whole line if VPATH becomes empty
7535# (actually we leave an empty line to preserve line numbers).
7536if test "x$srcdir" = x.; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007537 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7538h
7539s///
7540s/^/:/
7541s/[ ]*$/:/
7542s/:\$(srcdir):/:/g
7543s/:\${srcdir}:/:/g
7544s/:@srcdir@:/:/g
7545s/^:*//
mmentovai8c2a4de2006-09-20 16:20:15 +00007546s/:*$//
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007547x
7548s/\(=[ ]*\).*/\1/
7549G
7550s/\n//
mmentovai8c2a4de2006-09-20 16:20:15 +00007551s/^[^=]*=[ ]*$//
7552}'
7553fi
7554
jimblandy92b1f832009-12-23 22:23:49 +00007555cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
brynercb91a2f2006-08-25 21:14:45 +00007556fi # test -n "$CONFIG_FILES"
7557
jimblandy92b1f832009-12-23 22:23:49 +00007558# Set up the scripts for CONFIG_HEADERS section.
7559# No need to generate them if there are no CONFIG_HEADERS.
7560# This happens for instance with `./config.status Makefile'.
7561if test -n "$CONFIG_HEADERS"; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007562cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
jimblandy92b1f832009-12-23 22:23:49 +00007563BEGIN {
7564_ACEOF
mmentovai8c2a4de2006-09-20 16:20:15 +00007565
jimblandy92b1f832009-12-23 22:23:49 +00007566# Transform confdefs.h into an awk script `defines.awk', embedded as
7567# here-document in config.status, that substitutes the proper values into
7568# config.h.in to produce config.h.
7569
7570# Create a delimiter string that does not exist in confdefs.h, to ease
7571# handling of long lines.
7572ac_delim='%!_!# '
7573for ac_last_try in false false :; do
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007574 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7575 if test -z "$ac_tt"; then
jimblandy92b1f832009-12-23 22:23:49 +00007576 break
7577 elif $ac_last_try; then
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007578 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
jimblandy92b1f832009-12-23 22:23:49 +00007579 else
7580 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7581 fi
7582done
7583
7584# For the awk script, D is an array of macro values keyed by name,
7585# likewise P contains macro parameters if any. Preserve backslash
7586# newline sequences.
7587
7588ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7589sed -n '
7590s/.\{148\}/&'"$ac_delim"'/g
7591t rset
7592:rset
7593s/^[ ]*#[ ]*define[ ][ ]*/ /
7594t def
7595d
7596:def
7597s/\\$//
7598t bsnl
7599s/["\\]/\\&/g
7600s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7601D["\1"]=" \3"/p
7602s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7603d
7604:bsnl
7605s/["\\]/\\&/g
7606s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7607D["\1"]=" \3\\\\\\n"\\/p
7608t cont
7609s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7610t cont
7611d
7612:cont
7613n
7614s/.\{148\}/&'"$ac_delim"'/g
7615t clear
7616:clear
7617s/\\$//
7618t bsnlc
7619s/["\\]/\\&/g; s/^/"/; s/$/"/p
7620d
7621:bsnlc
7622s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7623b cont
7624' <confdefs.h | sed '
7625s/'"$ac_delim"'/"\\\
7626"/g' >>$CONFIG_STATUS || ac_write_fail=1
7627
7628cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7629 for (key in D) D_is_set[key] = 1
7630 FS = ""
7631}
7632/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7633 line = \$ 0
7634 split(line, arg, " ")
7635 if (arg[1] == "#") {
7636 defundef = arg[2]
7637 mac1 = arg[3]
7638 } else {
7639 defundef = substr(arg[1], 2)
7640 mac1 = arg[2]
7641 }
7642 split(mac1, mac2, "(") #)
7643 macro = mac2[1]
7644 prefix = substr(line, 1, index(line, defundef) - 1)
7645 if (D_is_set[macro]) {
7646 # Preserve the white space surrounding the "#".
7647 print prefix "define", macro P[macro] D[macro]
7648 next
7649 } else {
7650 # Replace #undef with comments. This is necessary, for example,
7651 # in the case of _POSIX_SOURCE, which is predefined and required
7652 # on some systems where configure will not decide to define it.
7653 if (defundef == "undef") {
7654 print "/*", prefix defundef, macro, "*/"
7655 next
7656 }
7657 }
7658}
7659{ print }
7660_ACAWK
7661_ACEOF
7662cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007663 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
jimblandy92b1f832009-12-23 22:23:49 +00007664fi # test -n "$CONFIG_HEADERS"
7665
7666
7667eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7668shift
7669for ac_tag
mmentovai8c2a4de2006-09-20 16:20:15 +00007670do
7671 case $ac_tag in
7672 :[FHLC]) ac_mode=$ac_tag; continue;;
7673 esac
7674 case $ac_mode$ac_tag in
7675 :[FHL]*:*);;
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007676 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
mmentovai8c2a4de2006-09-20 16:20:15 +00007677 :[FH]-) ac_tag=-:-;;
7678 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7679 esac
7680 ac_save_IFS=$IFS
7681 IFS=:
7682 set x $ac_tag
7683 IFS=$ac_save_IFS
7684 shift
7685 ac_file=$1
7686 shift
7687
7688 case $ac_mode in
7689 :L) ac_source=$1;;
7690 :[FH])
7691 ac_file_inputs=
7692 for ac_f
7693 do
7694 case $ac_f in
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007695 -) ac_f="$ac_tmp/stdin";;
mmentovai8c2a4de2006-09-20 16:20:15 +00007696 *) # Look for the file first in the build tree, then in the source tree
7697 # (if the path is not absolute). The absolute path cannot be DOS-style,
7698 # because $ac_f cannot contain `:'.
7699 test -f "$ac_f" ||
7700 case $ac_f in
7701 [\\/$]*) false;;
7702 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7703 esac ||
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007704 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
mmentovai8c2a4de2006-09-20 16:20:15 +00007705 esac
jimblandy92b1f832009-12-23 22:23:49 +00007706 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7707 as_fn_append ac_file_inputs " '$ac_f'"
mmentovai8c2a4de2006-09-20 16:20:15 +00007708 done
7709
7710 # Let's still pretend it is `configure' which instantiates (i.e., don't
7711 # use $as_me), people would be surprised to read:
7712 # /* config.h. Generated by config.status. */
jimblandy92b1f832009-12-23 22:23:49 +00007713 configure_input='Generated from '`
7714 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7715 `' by configure.'
mmentovai8c2a4de2006-09-20 16:20:15 +00007716 if test x"$ac_file" != x-; then
7717 configure_input="$ac_file. $configure_input"
jimblandy92b1f832009-12-23 22:23:49 +00007718 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7719$as_echo "$as_me: creating $ac_file" >&6;}
mmentovai8c2a4de2006-09-20 16:20:15 +00007720 fi
jimblandy92b1f832009-12-23 22:23:49 +00007721 # Neutralize special characters interpreted by sed in replacement strings.
7722 case $configure_input in #(
7723 *\&* | *\|* | *\\* )
7724 ac_sed_conf_input=`$as_echo "$configure_input" |
7725 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7726 *) ac_sed_conf_input=$configure_input;;
7727 esac
mmentovai8c2a4de2006-09-20 16:20:15 +00007728
7729 case $ac_tag in
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007730 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7731 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
mmentovai8c2a4de2006-09-20 16:20:15 +00007732 esac
7733 ;;
brynercb91a2f2006-08-25 21:14:45 +00007734 esac
7735
mmentovai8c2a4de2006-09-20 16:20:15 +00007736 ac_dir=`$as_dirname -- "$ac_file" ||
brynercb91a2f2006-08-25 21:14:45 +00007737$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7738 X"$ac_file" : 'X\(//\)[^/]' \| \
7739 X"$ac_file" : 'X\(//\)$' \| \
mmentovai8c2a4de2006-09-20 16:20:15 +00007740 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
jimblandy92b1f832009-12-23 22:23:49 +00007741$as_echo X"$ac_file" |
mmentovai8c2a4de2006-09-20 16:20:15 +00007742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7743 s//\1/
7744 q
7745 }
7746 /^X\(\/\/\)[^/].*/{
7747 s//\1/
7748 q
7749 }
7750 /^X\(\/\/\)$/{
7751 s//\1/
7752 q
7753 }
7754 /^X\(\/\).*/{
7755 s//\1/
7756 q
7757 }
7758 s/.*/./; q'`
jimblandy92b1f832009-12-23 22:23:49 +00007759 as_dir="$ac_dir"; as_fn_mkdir_p
brynercb91a2f2006-08-25 21:14:45 +00007760 ac_builddir=.
7761
mmentovai8c2a4de2006-09-20 16:20:15 +00007762case "$ac_dir" in
7763.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7764*)
jimblandy92b1f832009-12-23 22:23:49 +00007765 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
mmentovai8c2a4de2006-09-20 16:20:15 +00007766 # A ".." for each directory in $ac_dir_suffix.
jimblandy92b1f832009-12-23 22:23:49 +00007767 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
mmentovai8c2a4de2006-09-20 16:20:15 +00007768 case $ac_top_builddir_sub in
7769 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7770 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7771 esac ;;
7772esac
7773ac_abs_top_builddir=$ac_pwd
7774ac_abs_builddir=$ac_pwd$ac_dir_suffix
7775# for backward compatibility:
7776ac_top_builddir=$ac_top_build_prefix
brynercb91a2f2006-08-25 21:14:45 +00007777
7778case $srcdir in
mmentovai8c2a4de2006-09-20 16:20:15 +00007779 .) # We are building in place.
brynercb91a2f2006-08-25 21:14:45 +00007780 ac_srcdir=.
mmentovai8c2a4de2006-09-20 16:20:15 +00007781 ac_top_srcdir=$ac_top_builddir_sub
7782 ac_abs_top_srcdir=$ac_pwd ;;
7783 [\\/]* | ?:[\\/]* ) # Absolute name.
brynercb91a2f2006-08-25 21:14:45 +00007784 ac_srcdir=$srcdir$ac_dir_suffix;
mmentovai8c2a4de2006-09-20 16:20:15 +00007785 ac_top_srcdir=$srcdir
7786 ac_abs_top_srcdir=$srcdir ;;
7787 *) # Relative name.
7788 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7789 ac_top_srcdir=$ac_top_build_prefix$srcdir
7790 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
brynercb91a2f2006-08-25 21:14:45 +00007791esac
mmentovai8c2a4de2006-09-20 16:20:15 +00007792ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
brynercb91a2f2006-08-25 21:14:45 +00007793
brynercb91a2f2006-08-25 21:14:45 +00007794
mmentovai8c2a4de2006-09-20 16:20:15 +00007795 case $ac_mode in
7796 :F)
7797 #
7798 # CONFIG_FILE
7799 #
brynercb91a2f2006-08-25 21:14:45 +00007800
7801 case $INSTALL in
7802 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
mmentovai8c2a4de2006-09-20 16:20:15 +00007803 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
brynercb91a2f2006-08-25 21:14:45 +00007804 esac
mmentovaiaf3c43f2007-05-17 18:34:37 +00007805 ac_MKDIR_P=$MKDIR_P
7806 case $MKDIR_P in
7807 [\\/$]* | ?:[\\/]* ) ;;
7808 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7809 esac
brynercb91a2f2006-08-25 21:14:45 +00007810_ACEOF
mmentovai8c2a4de2006-09-20 16:20:15 +00007811
jimblandy92b1f832009-12-23 22:23:49 +00007812cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
mmentovai8c2a4de2006-09-20 16:20:15 +00007813# If the template does not know about datarootdir, expand it.
7814# FIXME: This hack should be removed a few years after 2.60.
7815ac_datarootdir_hack=; ac_datarootdir_seen=
jimblandy92b1f832009-12-23 22:23:49 +00007816ac_sed_dataroot='
7817/datarootdir/ {
mmentovai8c2a4de2006-09-20 16:20:15 +00007818 p
7819 q
7820}
7821/@datadir@/p
7822/@docdir@/p
7823/@infodir@/p
7824/@localedir@/p
jimblandy92b1f832009-12-23 22:23:49 +00007825/@mandir@/p'
7826case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
mmentovai8c2a4de2006-09-20 16:20:15 +00007827*datarootdir*) ac_datarootdir_seen=yes;;
7828*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
jimblandy92b1f832009-12-23 22:23:49 +00007829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7830$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
mmentovai8c2a4de2006-09-20 16:20:15 +00007831_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00007832cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
mmentovai8c2a4de2006-09-20 16:20:15 +00007833 ac_datarootdir_hack='
7834 s&@datadir@&$datadir&g
7835 s&@docdir@&$docdir&g
7836 s&@infodir@&$infodir&g
7837 s&@localedir@&$localedir&g
7838 s&@mandir@&$mandir&g
jimblandy92b1f832009-12-23 22:23:49 +00007839 s&\\\${datarootdir}&$datarootdir&g' ;;
mmentovai8c2a4de2006-09-20 16:20:15 +00007840esac
7841_ACEOF
7842
7843# Neutralize VPATH when `$srcdir' = `.'.
7844# Shell code in configure.ac might set extrasub.
7845# FIXME: do we really want to maintain this feature?
jimblandy92b1f832009-12-23 22:23:49 +00007846cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7847ac_sed_extra="$ac_vpsub
brynercb91a2f2006-08-25 21:14:45 +00007848$extrasub
7849_ACEOF
jimblandy92b1f832009-12-23 22:23:49 +00007850cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
brynercb91a2f2006-08-25 21:14:45 +00007851:t
7852/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
jimblandy92b1f832009-12-23 22:23:49 +00007853s|@configure_input@|$ac_sed_conf_input|;t t
mmentovai8c2a4de2006-09-20 16:20:15 +00007854s&@top_builddir@&$ac_top_builddir_sub&;t t
jimblandy92b1f832009-12-23 22:23:49 +00007855s&@top_build_prefix@&$ac_top_build_prefix&;t t
mmentovai8c2a4de2006-09-20 16:20:15 +00007856s&@srcdir@&$ac_srcdir&;t t
7857s&@abs_srcdir@&$ac_abs_srcdir&;t t
7858s&@top_srcdir@&$ac_top_srcdir&;t t
7859s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7860s&@builddir@&$ac_builddir&;t t
7861s&@abs_builddir@&$ac_abs_builddir&;t t
7862s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7863s&@INSTALL@&$ac_INSTALL&;t t
mmentovaiaf3c43f2007-05-17 18:34:37 +00007864s&@MKDIR_P@&$ac_MKDIR_P&;t t
mmentovai8c2a4de2006-09-20 16:20:15 +00007865$ac_datarootdir_hack
jimblandy92b1f832009-12-23 22:23:49 +00007866"
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007867eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7868 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
brynercb91a2f2006-08-25 21:14:45 +00007869
mmentovai8c2a4de2006-09-20 16:20:15 +00007870test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007871 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7872 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7873 "$ac_tmp/out"`; test -z "$ac_out"; } &&
jimblandy92b1f832009-12-23 22:23:49 +00007874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007875which seems to be undefined. Please make sure it is defined" >&5
jimblandy92b1f832009-12-23 22:23:49 +00007876$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007877which seems to be undefined. Please make sure it is defined" >&2;}
brynercb91a2f2006-08-25 21:14:45 +00007878
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007879 rm -f "$ac_tmp/stdin"
brynercb91a2f2006-08-25 21:14:45 +00007880 case $ac_file in
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007881 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7882 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
jimblandy92b1f832009-12-23 22:23:49 +00007883 esac \
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007884 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
mmentovai8c2a4de2006-09-20 16:20:15 +00007885 ;;
7886 :H)
7887 #
7888 # CONFIG_HEADER
7889 #
brynercb91a2f2006-08-25 21:14:45 +00007890 if test x"$ac_file" != x-; then
jimblandy92b1f832009-12-23 22:23:49 +00007891 {
7892 $as_echo "/* $configure_input */" \
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007893 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7894 } >"$ac_tmp/config.h" \
7895 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7896 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
jimblandy92b1f832009-12-23 22:23:49 +00007897 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7898$as_echo "$as_me: $ac_file is unchanged" >&6;}
brynercb91a2f2006-08-25 21:14:45 +00007899 else
jimblandy92b1f832009-12-23 22:23:49 +00007900 rm -f "$ac_file"
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007901 mv "$ac_tmp/config.h" "$ac_file" \
7902 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
brynercb91a2f2006-08-25 21:14:45 +00007903 fi
7904 else
jimblandy92b1f832009-12-23 22:23:49 +00007905 $as_echo "/* $configure_input */" \
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00007906 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7907 || as_fn_error $? "could not create -" "$LINENO" 5
brynercb91a2f2006-08-25 21:14:45 +00007908 fi
jimblandy92b1f832009-12-23 22:23:49 +00007909# Compute "$ac_file"'s index in $config_headers.
7910_am_arg="$ac_file"
brynercb91a2f2006-08-25 21:14:45 +00007911_am_stamp_count=1
7912for _am_header in $config_headers :; do
7913 case $_am_header in
jimblandy92b1f832009-12-23 22:23:49 +00007914 $_am_arg | $_am_arg:* )
brynercb91a2f2006-08-25 21:14:45 +00007915 break ;;
7916 * )
7917 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7918 esac
7919done
jimblandy92b1f832009-12-23 22:23:49 +00007920echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7921$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7922 X"$_am_arg" : 'X\(//\)[^/]' \| \
7923 X"$_am_arg" : 'X\(//\)$' \| \
7924 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7925$as_echo X"$_am_arg" |
mmentovai8c2a4de2006-09-20 16:20:15 +00007926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7927 s//\1/
7928 q
7929 }
7930 /^X\(\/\/\)[^/].*/{
7931 s//\1/
7932 q
7933 }
7934 /^X\(\/\/\)$/{
7935 s//\1/
7936 q
7937 }
7938 /^X\(\/\).*/{
7939 s//\1/
7940 q
7941 }
7942 s/.*/./; q'`/stamp-h$_am_stamp_count
7943 ;;
brynercb91a2f2006-08-25 21:14:45 +00007944
jimblandy92b1f832009-12-23 22:23:49 +00007945 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7946$as_echo "$as_me: executing $ac_file commands" >&6;}
mmentovai8c2a4de2006-09-20 16:20:15 +00007947 ;;
7948 esac
brynercb91a2f2006-08-25 21:14:45 +00007949
7950
mmentovai8c2a4de2006-09-20 16:20:15 +00007951 case $ac_file$ac_mode in
jimblandy92b1f832009-12-23 22:23:49 +00007952 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
mark@chromium.org39d79642013-11-23 01:45:20 +00007953 # Older Autoconf quotes --file arguments for eval, but not when files
jimblandy92b1f832009-12-23 22:23:49 +00007954 # are listed without --file. Let's play safe and only enable the eval
7955 # if we detect the quoting.
7956 case $CONFIG_FILES in
7957 *\'*) eval set x "$CONFIG_FILES" ;;
7958 *) set x $CONFIG_FILES ;;
7959 esac
7960 shift
7961 for mf
7962 do
7963 # Strip MF so we end up with the name of the file.
7964 mf=`echo "$mf" | sed -e 's/:.*$//'`
7965 # Check whether this is an Automake generated Makefile or not.
mark@chromium.org39d79642013-11-23 01:45:20 +00007966 # We used to match only the files named 'Makefile.in', but
jimblandy92b1f832009-12-23 22:23:49 +00007967 # some people rename them; so instead we look at the file content.
7968 # Grep'ing the first line is not enough: some people post-process
7969 # each Makefile.in and add a new line on top of each file to say so.
7970 # Grep'ing the whole file is not good either: AIX grep has a line
7971 # limit of 2048, but all sed's we know have understand at least 4000.
7972 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7973 dirpart=`$as_dirname -- "$mf" ||
brynercb91a2f2006-08-25 21:14:45 +00007974$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7975 X"$mf" : 'X\(//\)[^/]' \| \
7976 X"$mf" : 'X\(//\)$' \| \
mmentovai8c2a4de2006-09-20 16:20:15 +00007977 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
jimblandy92b1f832009-12-23 22:23:49 +00007978$as_echo X"$mf" |
mmentovai8c2a4de2006-09-20 16:20:15 +00007979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7980 s//\1/
7981 q
7982 }
7983 /^X\(\/\/\)[^/].*/{
7984 s//\1/
7985 q
7986 }
7987 /^X\(\/\/\)$/{
7988 s//\1/
7989 q
7990 }
7991 /^X\(\/\).*/{
7992 s//\1/
7993 q
7994 }
7995 s/.*/./; q'`
jimblandy92b1f832009-12-23 22:23:49 +00007996 else
7997 continue
7998 fi
7999 # Extract the definition of DEPDIR, am__include, and am__quote
mark@chromium.org39d79642013-11-23 01:45:20 +00008000 # from the Makefile without running 'make'.
jimblandy92b1f832009-12-23 22:23:49 +00008001 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8002 test -z "$DEPDIR" && continue
8003 am__include=`sed -n 's/^am__include = //p' < "$mf"`
mark@chromium.org39d79642013-11-23 01:45:20 +00008004 test -z "$am__include" && continue
jimblandy92b1f832009-12-23 22:23:49 +00008005 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
jimblandy92b1f832009-12-23 22:23:49 +00008006 # Find all dependency output files, they are included files with
8007 # $(DEPDIR) in their names. We invoke sed twice because it is the
8008 # simplest approach to changing $(DEPDIR) to its actual value in the
8009 # expansion.
8010 for file in `sed -n "
8011 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
mark@chromium.org39d79642013-11-23 01:45:20 +00008012 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
jimblandy92b1f832009-12-23 22:23:49 +00008013 # Make sure the directory exists.
8014 test -f "$dirpart/$file" && continue
8015 fdir=`$as_dirname -- "$file" ||
brynercb91a2f2006-08-25 21:14:45 +00008016$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8017 X"$file" : 'X\(//\)[^/]' \| \
8018 X"$file" : 'X\(//\)$' \| \
mmentovai8c2a4de2006-09-20 16:20:15 +00008019 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
jimblandy92b1f832009-12-23 22:23:49 +00008020$as_echo X"$file" |
mmentovai8c2a4de2006-09-20 16:20:15 +00008021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8022 s//\1/
8023 q
8024 }
8025 /^X\(\/\/\)[^/].*/{
8026 s//\1/
8027 q
8028 }
8029 /^X\(\/\/\)$/{
8030 s//\1/
8031 q
8032 }
8033 /^X\(\/\).*/{
8034 s//\1/
8035 q
8036 }
8037 s/.*/./; q'`
jimblandy92b1f832009-12-23 22:23:49 +00008038 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8039 # echo "creating $dirpart/$file"
8040 echo '# dummy' > "$dirpart/$file"
brynercb91a2f2006-08-25 21:14:45 +00008041 done
brynercb91a2f2006-08-25 21:14:45 +00008042 done
jimblandy92b1f832009-12-23 22:23:49 +00008043}
8044 ;;
brynercb91a2f2006-08-25 21:14:45 +00008045
mmentovai8c2a4de2006-09-20 16:20:15 +00008046 esac
8047done # for ac_tag
8048
brynercb91a2f2006-08-25 21:14:45 +00008049
jimblandy92b1f832009-12-23 22:23:49 +00008050as_fn_exit 0
brynercb91a2f2006-08-25 21:14:45 +00008051_ACEOF
brynercb91a2f2006-08-25 21:14:45 +00008052ac_clean_files=$ac_clean_files_save
8053
jimblandy92b1f832009-12-23 22:23:49 +00008054test $ac_write_fail = 0 ||
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00008055 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
jimblandy92b1f832009-12-23 22:23:49 +00008056
brynercb91a2f2006-08-25 21:14:45 +00008057
8058# configure is writing to config.log, and then calls config.status.
8059# config.status does its own redirection, appending to config.log.
8060# Unfortunately, on DOS this fails, as config.log is still kept open
8061# by configure, so config.status won't be able to write to it; its
8062# output is simply discarded. So we exec the FD to /dev/null,
8063# effectively closing config.log, so it can be properly (re)opened and
8064# appended to by config.status. When coming back to configure, we
8065# need to make the FD available again.
8066if test "$no_create" != yes; then
8067 ac_cs_success=:
8068 ac_config_status_args=
8069 test "$silent" = yes &&
8070 ac_config_status_args="$ac_config_status_args --quiet"
8071 exec 5>/dev/null
8072 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8073 exec 5>>config.log
8074 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8075 # would make configure fail if this is the last instruction.
ted.mielczarek@gmail.com6ae5ede2012-09-17 14:00:36 +00008076 $ac_cs_success || as_fn_exit 1
jimblandy92b1f832009-12-23 22:23:49 +00008077fi
8078if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8080$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
brynercb91a2f2006-08-25 21:14:45 +00008081fi
8082