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

Comparing gvpe/configure (file contents):
Revision 1.49 by root, Tue Oct 18 13:24:01 2011 UTC vs.
Revision 1.61 by root, Thu Oct 6 03:25:53 2022 UTC

1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67. 3# Generated by GNU Autoconf 2.71 for gvpe 3.1.
4# 4#
5# 5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 7# Inc.
8# Foundation, Inc.
9# 8#
10# 9#
11# This configure script is free software; the Free Software Foundation 10# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it. 11# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ## 12## -------------------- ##
14## M4sh Initialization. ## 13## M4sh Initialization. ##
15## -------------------- ## 14## -------------------- ##
16 15
17# Be more Bourne compatible 16# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh 17DUALCASE=1; export DUALCASE # for MKS sh
18as_nop=:
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 19if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
20then :
20 emulate sh 21 emulate sh
21 NULLCMD=: 22 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature. 24 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"' 25 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST 26 setopt NO_GLOB_SUBST
26else 27else $as_nop
27 case `(set -o) 2>/dev/null` in #( 28 case `(set -o) 2>/dev/null` in #(
28 *posix*) : 29 *posix*) :
29 set -o posix ;; #( 30 set -o posix ;; #(
30 *) : 31 *) :
31 ;; 32 ;;
32esac 33esac
33fi 34fi
34 35
35 36
37
38# Reset variables that may have inherited troublesome values from
39# the environment.
40
41# IFS needs to be set, to space, tab, and newline, in precisely that order.
42# (If _AS_PATH_WALK were called with IFS unset, it would have the
43# side effect of setting IFS to empty, thus disabling word splitting.)
44# Quoting is to prevent editors from complaining about space-tab.
36as_nl=' 45as_nl='
37' 46'
38export as_nl 47export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf. 48IFS=" "" $as_nl"
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 49
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 50PS1='$ '
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 51PS2='> '
43# Prefer a ksh shell builtin over an external printf program on Solaris, 52PS4='+ '
44# but without wasting forks for bash or zsh. 53
45if test -z "$BASH_VERSION$ZSH_VERSION" \ 54# Ensure predictable behavior from utilities with locale-dependent output.
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 55LC_ALL=C
47 as_echo='print -r --' 56export LC_ALL
48 as_echo_n='print -rn --' 57LANGUAGE=C
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 58export LANGUAGE
50 as_echo='printf %s\n' 59
51 as_echo_n='printf %s' 60# We cannot yet rely on "unset" to work, but we need these variables
52else 61# to be unset--not just set to an empty or harmless value--now, to
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 62# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 63# also avoids known problems related to "unset" and subshell syntax
55 as_echo_n='/usr/ucb/echo -n' 64# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
56 else 65for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 66do eval test \${$as_var+y} \
58 as_echo_n_body='eval 67 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59 arg=$1; 68done
60 case $arg in #( 69
61 *"$as_nl"*) 70# Ensure that fds 0, 1, and 2 are open.
62 expr "X$arg" : "X\\(.*\\)$as_nl"; 71if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 72if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
64 esac; 73if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
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
73 74
74# The user is always right. 75# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then 76if ${PATH_SEPARATOR+false} :; then
76 PATH_SEPARATOR=: 77 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 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';' 80 PATH_SEPARATOR=';'
80 } 81 }
81fi 82fi
82 83
83 84
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.)
89IFS=" "" $as_nl"
90
91# Find who we are. Look in the path if we contain no directory separator. 85# Find who we are. Look in the path if we contain no directory separator.
86as_myself=
92case $0 in #(( 87case $0 in #((
93 *[\\/]* ) as_myself=$0 ;; 88 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 89 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95for as_dir in $PATH 90for as_dir in $PATH
96do 91do
97 IFS=$as_save_IFS 92 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=. 93 case $as_dir in #(((
94 '') as_dir=./ ;;
95 */) ;;
96 *) as_dir=$as_dir/ ;;
97 esac
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 98 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
100 done 99 done
101IFS=$as_save_IFS 100IFS=$as_save_IFS
102 101
103 ;; 102 ;;
104esac 103esac
106# in which case we are not to be found in the path. 105# in which case we are not to be found in the path.
107if test "x$as_myself" = x; then 106if test "x$as_myself" = x; then
108 as_myself=$0 107 as_myself=$0
109fi 108fi
110if test ! -f "$as_myself"; then 109if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 110 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1 111 exit 1
113fi 112fi
114 113
115# Unset variables that we do not need and which cause bugs (e.g. in
116# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117# suppresses any "Segmentation fault" message there. '((' could
118# trigger a bug in pdksh 5.2.14.
119for as_var in BASH_ENV ENV MAIL MAILPATH
120do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122done
123PS1='$ '
124PS2='> '
125PS4='+ '
126 114
127# NLS nuisances. 115# Use a proper internal environment variable to ensure we don't fall
128LC_ALL=C 116 # into an infinite loop, continuously re-executing ourselves.
129export LC_ALL 117 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
130LANGUAGE=C 118 _as_can_reexec=no; export _as_can_reexec;
131export LANGUAGE 119 # We cannot yet assume a decent shell, so we have to provide a
132 120# neutralization value for shells without unset; and this also
133# CDPATH. 121# works around shells that cannot unset nonexistent variables.
122# Preserve -v and -x to the replacement shell.
123BASH_ENV=/dev/null
124ENV=/dev/null
134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 125(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
135 126case $- in # ((((
127 *v*x* | *x*v* ) as_opts=-vx ;;
128 *v* ) as_opts=-v ;;
129 *x* ) as_opts=-x ;;
130 * ) as_opts= ;;
131esac
132exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
133# Admittedly, this is quite paranoid, since all the known shells bail
134# out after a failed `exec'.
135printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
136exit 255
137 fi
138 # We don't want this to propagate to other subprocesses.
139 { _as_can_reexec=; unset _as_can_reexec;}
136if test "x$CONFIG_SHELL" = x; then 140if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 as_bourne_compatible="as_nop=:
142if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
143then :
138 emulate sh 144 emulate sh
139 NULLCMD=: 145 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 146 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature. 147 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 148 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST 149 setopt NO_GLOB_SUBST
144else 150else \$as_nop
145 case \`(set -o) 2>/dev/null\` in #( 151 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) : 152 *posix*) :
147 set -o posix ;; #( 153 set -o posix ;; #(
148 *) : 154 *) :
149 ;; 155 ;;
159exitcode=0 165exitcode=0
160as_fn_success || { exitcode=1; echo as_fn_success failed.; } 166as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 167as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 168as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 169as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 170if ( set x; as_fn_ret_success y && test x = \"\$1\" )
171then :
165 172
166else 173else \$as_nop
167 exitcode=1; echo positional parameters were not saved. 174 exitcode=1; echo positional parameters were not saved.
168fi 175fi
169test x\$exitcode = x0 || exit 1" 176test x\$exitcode = x0 || exit 1
177blah=\$(echo \$(echo blah))
178test x\"\$blah\" = xblah || exit 1
179test -x / || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 180 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 181 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 182 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 183 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174test \$(( 1 + 1 )) = 2 || exit 1" 184test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then : 185 if (eval "$as_required") 2>/dev/null
186then :
176 as_have_required=yes 187 as_have_required=yes
177else 188else $as_nop
178 as_have_required=no 189 as_have_required=no
179fi 190fi
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
192then :
181 193
182else 194else $as_nop
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184as_found=false 196as_found=false
185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 197for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186do 198do
187 IFS=$as_save_IFS 199 IFS=$as_save_IFS
188 test -z "$as_dir" && as_dir=. 200 case $as_dir in #(((
201 '') as_dir=./ ;;
202 */) ;;
203 *) as_dir=$as_dir/ ;;
204 esac
189 as_found=: 205 as_found=:
190 case $as_dir in #( 206 case $as_dir in #(
191 /*) 207 /*)
192 for as_base in sh bash ksh sh5; do 208 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks. 209 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base 210 as_shell=$as_dir$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 211 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 212 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
213then :
197 CONFIG_SHELL=$as_shell as_have_required=yes 214 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 215 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
216then :
199 break 2 217 break 2
200fi 218fi
201fi 219fi
202 done;; 220 done;;
203 esac 221 esac
204 as_found=false 222 as_found=false
205done 223done
224IFS=$as_save_IFS
225if $as_found
226then :
227
228else $as_nop
206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 229 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 230 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
231then :
208 CONFIG_SHELL=$SHELL as_have_required=yes 232 CONFIG_SHELL=$SHELL as_have_required=yes
209fi; } 233fi
210IFS=$as_save_IFS 234fi
211 235
212 236
213 if test "x$CONFIG_SHELL" != x; then : 237 if test "x$CONFIG_SHELL" != x
238then :
239 export CONFIG_SHELL
214 # We cannot yet assume a decent shell, so we have to provide a 240 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also 241# neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables. 242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
217 BASH_ENV=/dev/null 244BASH_ENV=/dev/null
218 ENV=/dev/null 245ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL 247case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252esac
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
222fi 258fi
223 259
224 if test x$as_have_required = xno; then : 260 if test x$as_have_required = xno
261then :
225 $as_echo "$0: This script requires a shell more modern than all" 262 printf "%s\n" "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system." 263 printf "%s\n" "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then 264 if test ${ZSH_VERSION+y} ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 265 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 266 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
230 else 267 else
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 268 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
232$0: including any error possibly output before this 269$0: including any error possibly output before this
233$0: message. Then install a modern shell, or manually run 270$0: message. Then install a modern shell, or manually run
234$0: the script under such a shell if you do have one." 271$0: the script under such a shell if you do have one."
235 fi 272 fi
236 exit 1 273 exit 1
253{ 290{
254 { eval $1=; unset $1;} 291 { eval $1=; unset $1;}
255} 292}
256as_unset=as_fn_unset 293as_unset=as_fn_unset
257 294
295
258# as_fn_set_status STATUS 296# as_fn_set_status STATUS
259# ----------------------- 297# -----------------------
260# Set $? to STATUS, without forking. 298# Set $? to STATUS, without forking.
261as_fn_set_status () 299as_fn_set_status ()
262{ 300{
270{ 308{
271 set +e 309 set +e
272 as_fn_set_status $1 310 as_fn_set_status $1
273 exit $1 311 exit $1
274} # as_fn_exit 312} # as_fn_exit
313# as_fn_nop
314# ---------
315# Do nothing but, unlike ":", preserve the value of $?.
316as_fn_nop ()
317{
318 return $?
319}
320as_nop=as_fn_nop
275 321
276# as_fn_mkdir_p 322# as_fn_mkdir_p
277# ------------- 323# -------------
278# Create "$as_dir" as a directory, including parents if necessary. 324# Create "$as_dir" as a directory, including parents if necessary.
279as_fn_mkdir_p () 325as_fn_mkdir_p ()
284 esac 330 esac
285 test -d "$as_dir" || eval $as_mkdir_p || { 331 test -d "$as_dir" || eval $as_mkdir_p || {
286 as_dirs= 332 as_dirs=
287 while :; do 333 while :; do
288 case $as_dir in #( 334 case $as_dir in #(
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 335 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 *) as_qdir=$as_dir;; 336 *) as_qdir=$as_dir;;
291 esac 337 esac
292 as_dirs="'$as_qdir' $as_dirs" 338 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" || 339 as_dir=`$as_dirname -- "$as_dir" ||
294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 340$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \ 341 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \ 342 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 343 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298$as_echo X"$as_dir" | 344printf "%s\n" X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300 s//\1/ 346 s//\1/
301 q 347 q
302 } 348 }
303 /^X\(\/\/\)[^/].*/{ 349 /^X\(\/\/\)[^/].*/{
318 test -z "$as_dirs" || eval "mkdir $as_dirs" 364 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 365 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320 366
321 367
322} # as_fn_mkdir_p 368} # as_fn_mkdir_p
369
370# as_fn_executable_p FILE
371# -----------------------
372# Test if FILE is an executable regular file.
373as_fn_executable_p ()
374{
375 test -f "$1" && test -x "$1"
376} # as_fn_executable_p
323# as_fn_append VAR VALUE 377# as_fn_append VAR VALUE
324# ---------------------- 378# ----------------------
325# Append the text in VALUE to the end of the definition contained in VAR. Take 379# Append the text in VALUE to the end of the definition contained in VAR. Take
326# advantage of any shell optimizations that allow amortized linear growth over 380# advantage of any shell optimizations that allow amortized linear growth over
327# repeated appends, instead of the typical quadratic growth present in naive 381# repeated appends, instead of the typical quadratic growth present in naive
328# implementations. 382# implementations.
329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 383if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
384then :
330 eval 'as_fn_append () 385 eval 'as_fn_append ()
331 { 386 {
332 eval $1+=\$2 387 eval $1+=\$2
333 }' 388 }'
334else 389else $as_nop
335 as_fn_append () 390 as_fn_append ()
336 { 391 {
337 eval $1=\$$1\$2 392 eval $1=\$$1\$2
338 } 393 }
339fi # as_fn_append 394fi # as_fn_append
341# as_fn_arith ARG... 396# as_fn_arith ARG...
342# ------------------ 397# ------------------
343# Perform arithmetic evaluation on the ARGs, and store the result in the 398# Perform arithmetic evaluation on the ARGs, and store the result in the
344# global $as_val. Take advantage of shells that can avoid forks. The arguments 399# global $as_val. Take advantage of shells that can avoid forks. The arguments
345# must be portable across $(()) and expr. 400# must be portable across $(()) and expr.
346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
402then :
347 eval 'as_fn_arith () 403 eval 'as_fn_arith ()
348 { 404 {
349 as_val=$(( $* )) 405 as_val=$(( $* ))
350 }' 406 }'
351else 407else $as_nop
352 as_fn_arith () 408 as_fn_arith ()
353 { 409 {
354 as_val=`expr "$@" || test $? -eq 1` 410 as_val=`expr "$@" || test $? -eq 1`
355 } 411 }
356fi # as_fn_arith 412fi # as_fn_arith
357 413
414# as_fn_nop
415# ---------
416# Do nothing but, unlike ":", preserve the value of $?.
417as_fn_nop ()
418{
419 return $?
420}
421as_nop=as_fn_nop
358 422
359# as_fn_error STATUS ERROR [LINENO LOG_FD] 423# as_fn_error STATUS ERROR [LINENO LOG_FD]
360# ---------------------------------------- 424# ----------------------------------------
361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 425# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 426# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364as_fn_error () 428as_fn_error ()
365{ 429{
366 as_status=$1; test $as_status -eq 0 && as_status=1 430 as_status=$1; test $as_status -eq 0 && as_status=1
367 if test "$4"; then 431 if test "$4"; then
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 432 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370 fi 434 fi
371 $as_echo "$as_me: error: $2" >&2 435 printf "%s\n" "$as_me: error: $2" >&2
372 as_fn_exit $as_status 436 as_fn_exit $as_status
373} # as_fn_error 437} # as_fn_error
374 438
375if expr a : '\(a\)' >/dev/null 2>&1 && 439if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then 440 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 457
394as_me=`$as_basename -- "$0" || 458as_me=`$as_basename -- "$0" ||
395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 459$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \ 460 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null || 461 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398$as_echo X/"$0" | 462printf "%s\n" X/"$0" |
399 sed '/^.*\/\([^/][^/]*\)\/*$/{ 463 sed '/^.*\/\([^/][^/]*\)\/*$/{
400 s//\1/ 464 s//\1/
401 q 465 q
402 } 466 }
403 /^X\/\(\/\/\)$/{ 467 /^X\/\(\/\/\)$/{
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 501 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 t loop 502 t loop
439 s/-\n.*// 503 s/-\n.*//
440 ' >$as_me.lineno && 504 ' >$as_me.lineno &&
441 chmod +x "$as_me.lineno" || 505 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 506 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443 507
508 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
509 # already done that, so ensure we don't try to do so again and fall
510 # in an infinite loop. This has already happened in practice.
511 _as_can_reexec=no; export _as_can_reexec
444 # Don't try to exec as it changes $[0], causing all sort of problems 512 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the 513 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this). 514 # original and so on. Autoconf is especially sensitive to this).
447 . "./$as_me.lineno" 515 . "./$as_me.lineno"
448 # Exit status is that of the last command. 516 # Exit status is that of the last command.
449 exit 517 exit
450} 518}
451 519
520
521# Determine whether it's possible to make 'echo' print without a newline.
522# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
523# for compatibility with existing Makefiles.
452ECHO_C= ECHO_N= ECHO_T= 524ECHO_C= ECHO_N= ECHO_T=
453case `echo -n x` in #((((( 525case `echo -n x` in #(((((
454-n*) 526-n*)
455 case `echo 'xy\c'` in 527 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 528 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
460 esac;; 532 esac;;
461*) 533*)
462 ECHO_N='-n';; 534 ECHO_N='-n';;
463esac 535esac
464 536
537# For backward compatibility with old third-party macros, we provide
538# the shell variables $as_echo and $as_echo_n. New code should use
539# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
540as_echo='printf %s\n'
541as_echo_n='printf %s'
542
543
465rm -f conf$$ conf$$.exe conf$$.file 544rm -f conf$$ conf$$.exe conf$$.file
466if test -d conf$$.dir; then 545if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file 546 rm -f conf$$.dir/conf$$.file
468else 547else
469 rm -f conf$$.dir 548 rm -f conf$$.dir
473 if ln -s conf$$.file conf$$ 2>/dev/null; then 552 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 as_ln_s='ln -s' 553 as_ln_s='ln -s'
475 # ... but there are two gotchas: 554 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 555 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 556 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'. 557 # In both cases, we have to default to `cp -pR'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 558 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 as_ln_s='cp -p' 559 as_ln_s='cp -pR'
481 elif ln conf$$.file conf$$ 2>/dev/null; then 560 elif ln conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s=ln 561 as_ln_s=ln
483 else 562 else
484 as_ln_s='cp -p' 563 as_ln_s='cp -pR'
485 fi 564 fi
486else 565else
487 as_ln_s='cp -p' 566 as_ln_s='cp -pR'
488fi 567fi
489rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 568rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490rmdir conf$$.dir 2>/dev/null 569rmdir conf$$.dir 2>/dev/null
491 570
492if mkdir -p . 2>/dev/null; then 571if mkdir -p . 2>/dev/null; then
494else 573else
495 test -d ./-p && rmdir ./-p 574 test -d ./-p && rmdir ./-p
496 as_mkdir_p=false 575 as_mkdir_p=false
497fi 576fi
498 577
499if test -x / >/dev/null 2>&1; then
500 as_test_x='test -x' 578as_test_x='test -x'
501else 579as_executable_p=as_fn_executable_p
502 if ls -dL / >/dev/null 2>&1; then
503 as_ls_L_option=L
504 else
505 as_ls_L_option=
506 fi
507 as_test_x='
508 eval sh -c '\''
509 if test -d "$1"; then
510 test -d "$1/.";
511 else
512 case $1 in #(
513 -*)set "./$1";;
514 esac;
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
517 '\'' sh
518 '
519fi
520as_executable_p=$as_test_x
521 580
522# Sed expression to map a string onto a valid CPP name. 581# Sed expression to map a string onto a valid CPP name.
523as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 582as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 583
525# Sed expression to map a string onto a valid variable name. 584# Sed expression to map a string onto a valid variable name.
545subdirs= 604subdirs=
546MFLAGS= 605MFLAGS=
547MAKEFLAGS= 606MAKEFLAGS=
548 607
549# Identity of this package. 608# Identity of this package.
550PACKAGE_NAME= 609PACKAGE_NAME='gvpe'
551PACKAGE_TARNAME= 610PACKAGE_TARNAME='gvpe'
552PACKAGE_VERSION= 611PACKAGE_VERSION='3.1'
553PACKAGE_STRING= 612PACKAGE_STRING='gvpe 3.1'
554PACKAGE_BUGREPORT= 613PACKAGE_BUGREPORT=''
555PACKAGE_URL= 614PACKAGE_URL=''
556 615
557ac_unique_file="src/gvpe.C" 616ac_unique_file="src/gvpe.C"
558# Factoring default headers for most tests. 617# Factoring default headers for most tests.
559ac_includes_default="\ 618ac_includes_default="\
619#include <stddef.h>
620#ifdef HAVE_STDIO_H
560#include <stdio.h> 621# include <stdio.h>
561#ifdef HAVE_SYS_TYPES_H
562# include <sys/types.h>
563#endif 622#endif
564#ifdef HAVE_SYS_STAT_H 623#ifdef HAVE_STDLIB_H
565# include <sys/stat.h>
566#endif
567#ifdef STDC_HEADERS
568# include <stdlib.h> 624# include <stdlib.h>
569# include <stddef.h>
570#else
571# ifdef HAVE_STDLIB_H
572# include <stdlib.h>
573# endif
574#endif 625#endif
575#ifdef HAVE_STRING_H 626#ifdef HAVE_STRING_H
576# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577# include <memory.h>
578# endif
579# include <string.h> 627# include <string.h>
580#endif
581#ifdef HAVE_STRINGS_H
582# include <strings.h>
583#endif 628#endif
584#ifdef HAVE_INTTYPES_H 629#ifdef HAVE_INTTYPES_H
585# include <inttypes.h> 630# include <inttypes.h>
586#endif 631#endif
587#ifdef HAVE_STDINT_H 632#ifdef HAVE_STDINT_H
588# include <stdint.h> 633# include <stdint.h>
589#endif 634#endif
635#ifdef HAVE_STRINGS_H
636# include <strings.h>
637#endif
638#ifdef HAVE_SYS_TYPES_H
639# include <sys/types.h>
640#endif
641#ifdef HAVE_SYS_STAT_H
642# include <sys/stat.h>
643#endif
590#ifdef HAVE_UNISTD_H 644#ifdef HAVE_UNISTD_H
591# include <unistd.h> 645# include <unistd.h>
592#endif" 646#endif"
593 647
648ac_header_cxx_list=
594ac_subst_vars='am__EXEEXT_FALSE 649ac_subst_vars='am__EXEEXT_FALSE
595am__EXEEXT_TRUE 650am__EXEEXT_TRUE
596LTLIBOBJS 651LTLIBOBJS
597LIBOBJS 652LIBOBJS
598INCLUDES 653AM_CPPFLAGS
599ROHC_FALSE 654ROHC_FALSE
600ROHC_TRUE 655ROHC_TRUE
601LDFLAGS_DAEMON 656LDFLAGS_DAEMON
657LIBCRYPTO_LIBS
658LIBCRYPTO_CFLAGS
659PKG_CONFIG_LIBDIR
660PKG_CONFIG_PATH
661PKG_CONFIG
602HAVE_TUNTAP 662HAVE_TUNTAP
603LINUX_IF_TUN_H 663LINUX_IF_TUN_H
604ALLOCA 664ALLOCA
605CXXCPP
606IFSUBTYPE 665IFSUBTYPE
607IFTYPE 666IFTYPE
608RANLIB 667RANLIB
609LN_S 668LN_S
610EGREP 669EGREP
624LIBICONV 683LIBICONV
625USE_NLS 684USE_NLS
626am__fastdepCC_FALSE 685am__fastdepCC_FALSE
627am__fastdepCC_TRUE 686am__fastdepCC_TRUE
628CCDEPMODE 687CCDEPMODE
688am__nodep
629AMDEPBACKSLASH 689AMDEPBACKSLASH
630AMDEP_FALSE 690AMDEP_FALSE
631AMDEP_TRUE 691AMDEP_TRUE
632am__quote
633am__include 692am__include
634DEPDIR 693DEPDIR
635OBJEXT 694OBJEXT
636EXEEXT 695EXEEXT
637ac_ct_CC 696ac_ct_CC
645MSGFMT 704MSGFMT
646MKINSTALLDIRS 705MKINSTALLDIRS
647MAINT 706MAINT
648MAINTAINER_MODE_FALSE 707MAINTAINER_MODE_FALSE
649MAINTAINER_MODE_TRUE 708MAINTAINER_MODE_TRUE
709AM_BACKSLASH
710AM_DEFAULT_VERBOSITY
711AM_DEFAULT_V
712AM_V
650am__untar 713am__untar
651am__tar 714am__tar
652AMTAR 715AMTAR
653am__leading_dot 716am__leading_dot
654SET_MAKE 717SET_MAKE
699htmldir 762htmldir
700infodir 763infodir
701docdir 764docdir
702oldincludedir 765oldincludedir
703includedir 766includedir
767runstatedir
704localstatedir 768localstatedir
705sharedstatedir 769sharedstatedir
706sysconfdir 770sysconfdir
707datadir 771datadir
708datarootdir 772datarootdir
717PACKAGE_STRING 781PACKAGE_STRING
718PACKAGE_VERSION 782PACKAGE_VERSION
719PACKAGE_TARNAME 783PACKAGE_TARNAME
720PACKAGE_NAME 784PACKAGE_NAME
721PATH_SEPARATOR 785PATH_SEPARATOR
722SHELL' 786SHELL
787am__quote'
723ac_subst_files='' 788ac_subst_files=''
724ac_user_opts=' 789ac_user_opts='
725enable_option_checking 790enable_option_checking
791enable_silent_rules
726enable_maintainer_mode 792enable_maintainer_mode
727enable_dependency_tracking 793enable_dependency_tracking
728with_gnu_ld 794with_gnu_ld
729enable_rpath 795enable_rpath
730with_libiconv_prefix 796with_libiconv_prefix
731enable_nls 797enable_nls
732with_libintl_prefix 798with_libintl_prefix
733enable_iftype 799enable_iftype
734with_kernel 800with_kernel
735with_openssl_include
736with_openssl_lib
737enable_threads 801enable_threads
738enable_static_daemon 802enable_static_daemon
739enable_icmp 803enable_icmp
740enable_tcp 804enable_tcp
741enable_http_proxy 805enable_http_proxy
742enable_dns 806enable_dns
807enable_rsa_length
743enable_hmac_length 808enable_hmac_length
744enable_rand_length
745enable_max_mtu 809enable_max_mtu
746enable_compression 810enable_compression
747enable_cipher 811enable_cipher
748enable_digest 812enable_hmac_digest
813enable_auth_digest
749' 814'
750 ac_precious_vars='build_alias 815 ac_precious_vars='build_alias
751host_alias 816host_alias
752target_alias 817target_alias
753CC 818CC
757CPPFLAGS 822CPPFLAGS
758CPP 823CPP
759CXX 824CXX
760CXXFLAGS 825CXXFLAGS
761CCC 826CCC
762CXXCPP' 827PKG_CONFIG
828PKG_CONFIG_PATH
829PKG_CONFIG_LIBDIR
830LIBCRYPTO_CFLAGS
831LIBCRYPTO_LIBS'
763 832
764 833
765# Initialize some variables set by options. 834# Initialize some variables set by options.
766ac_init_help= 835ac_init_help=
767ac_init_version=false 836ac_init_version=false
796datarootdir='${prefix}/share' 865datarootdir='${prefix}/share'
797datadir='${datarootdir}' 866datadir='${datarootdir}'
798sysconfdir='${prefix}/etc' 867sysconfdir='${prefix}/etc'
799sharedstatedir='${prefix}/com' 868sharedstatedir='${prefix}/com'
800localstatedir='${prefix}/var' 869localstatedir='${prefix}/var'
870runstatedir='${localstatedir}/run'
801includedir='${prefix}/include' 871includedir='${prefix}/include'
802oldincludedir='/usr/include' 872oldincludedir='/usr/include'
803docdir='${datarootdir}/doc/${PACKAGE}' 873docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
804infodir='${datarootdir}/info' 874infodir='${datarootdir}/info'
805htmldir='${docdir}' 875htmldir='${docdir}'
806dvidir='${docdir}' 876dvidir='${docdir}'
807pdfdir='${docdir}' 877pdfdir='${docdir}'
808psdir='${docdir}' 878psdir='${docdir}'
825 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 895 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
826 *=) ac_optarg= ;; 896 *=) ac_optarg= ;;
827 *) ac_optarg=yes ;; 897 *) ac_optarg=yes ;;
828 esac 898 esac
829 899
830 # Accept the important Cygnus configure options, so we can diagnose typos.
831
832 case $ac_dashdash$ac_option in 900 case $ac_dashdash$ac_option in
833 --) 901 --)
834 ac_dashdash=yes ;; 902 ac_dashdash=yes ;;
835 903
836 -bindir | --bindir | --bindi | --bind | --bin | --bi) 904 -bindir | --bindir | --bindi | --bind | --bin | --bi)
867 935
868 -disable-* | --disable-*) 936 -disable-* | --disable-*)
869 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 937 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
870 # Reject names that are not valid shell variable names. 938 # Reject names that are not valid shell variable names.
871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
872 as_fn_error $? "invalid feature name: $ac_useropt" 940 as_fn_error $? "invalid feature name: \`$ac_useropt'"
873 ac_useropt_orig=$ac_useropt 941 ac_useropt_orig=$ac_useropt
874 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 942 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
875 case $ac_user_opts in 943 case $ac_user_opts in
876 *" 944 *"
877"enable_$ac_useropt" 945"enable_$ac_useropt"
878"*) ;; 946"*) ;;
879 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 947 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
893 961
894 -enable-* | --enable-*) 962 -enable-* | --enable-*)
895 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 963 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
896 # Reject names that are not valid shell variable names. 964 # Reject names that are not valid shell variable names.
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898 as_fn_error $? "invalid feature name: $ac_useropt" 966 as_fn_error $? "invalid feature name: \`$ac_useropt'"
899 ac_useropt_orig=$ac_useropt 967 ac_useropt_orig=$ac_useropt
900 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 968 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
901 case $ac_user_opts in 969 case $ac_user_opts in
902 *" 970 *"
903"enable_$ac_useropt" 971"enable_$ac_useropt"
904"*) ;; 972"*) ;;
905 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 973 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1048 1116
1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1117 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1050 | -silent | --silent | --silen | --sile | --sil) 1118 | -silent | --silent | --silen | --sile | --sil)
1051 silent=yes ;; 1119 silent=yes ;;
1052 1120
1121 -runstatedir | --runstatedir | --runstatedi | --runstated \
1122 | --runstate | --runstat | --runsta | --runst | --runs \
1123 | --run | --ru | --r)
1124 ac_prev=runstatedir ;;
1125 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1126 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1127 | --run=* | --ru=* | --r=*)
1128 runstatedir=$ac_optarg ;;
1129
1053 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1130 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1054 ac_prev=sbindir ;; 1131 ac_prev=sbindir ;;
1055 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1132 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1056 | --sbi=* | --sb=*) 1133 | --sbi=* | --sb=*)
1057 sbindir=$ac_optarg ;; 1134 sbindir=$ac_optarg ;;
1097 1174
1098 -with-* | --with-*) 1175 -with-* | --with-*)
1099 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1176 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1100 # Reject names that are not valid shell variable names. 1177 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102 as_fn_error $? "invalid package name: $ac_useropt" 1179 as_fn_error $? "invalid package name: \`$ac_useropt'"
1103 ac_useropt_orig=$ac_useropt 1180 ac_useropt_orig=$ac_useropt
1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1181 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in 1182 case $ac_user_opts in
1106 *" 1183 *"
1107"with_$ac_useropt" 1184"with_$ac_useropt"
1108"*) ;; 1185"*) ;;
1109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1113 1190
1114 -without-* | --without-*) 1191 -without-* | --without-*)
1115 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1192 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1116 # Reject names that are not valid shell variable names. 1193 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118 as_fn_error $? "invalid package name: $ac_useropt" 1195 as_fn_error $? "invalid package name: \`$ac_useropt'"
1119 ac_useropt_orig=$ac_useropt 1196 ac_useropt_orig=$ac_useropt
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1197 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in 1198 case $ac_user_opts in
1122 *" 1199 *"
1123"with_$ac_useropt" 1200"with_$ac_useropt"
1124"*) ;; 1201"*) ;;
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1202 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1159 eval $ac_envvar=\$ac_optarg 1236 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;; 1237 export $ac_envvar ;;
1161 1238
1162 *) 1239 *)
1163 # FIXME: should be removed in autoconf 3.0. 1240 # FIXME: should be removed in autoconf 3.0.
1164 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1241 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1243 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1244 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1168 ;; 1245 ;;
1169 1246
1170 esac 1247 esac
1171done 1248done
1172 1249
1177 1254
1178if test -n "$ac_unrecognized_opts"; then 1255if test -n "$ac_unrecognized_opts"; then
1179 case $enable_option_checking in 1256 case $enable_option_checking in
1180 no) ;; 1257 no) ;;
1181 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1258 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1182 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1259 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183 esac 1260 esac
1184fi 1261fi
1185 1262
1186# Check all directory arguments for consistency. 1263# Check all directory arguments for consistency.
1187for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1264for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1188 datadir sysconfdir sharedstatedir localstatedir includedir \ 1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1189 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1190 libdir localedir mandir 1267 libdir localedir mandir runstatedir
1191do 1268do
1192 eval ac_val=\$$ac_var 1269 eval ac_val=\$$ac_var
1193 # Remove trailing slashes. 1270 # Remove trailing slashes.
1194 case $ac_val in 1271 case $ac_val in
1195 */ ) 1272 */ )
1213 1290
1214# FIXME: To remove some day. 1291# FIXME: To remove some day.
1215if test "x$host_alias" != x; then 1292if test "x$host_alias" != x; then
1216 if test "x$build_alias" = x; then 1293 if test "x$build_alias" = x; then
1217 cross_compiling=maybe 1294 cross_compiling=maybe
1218 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1219 If a cross compiler is detected then cross compile mode will be used" >&2
1220 elif test "x$build_alias" != "x$host_alias"; then 1295 elif test "x$build_alias" != "x$host_alias"; then
1221 cross_compiling=yes 1296 cross_compiling=yes
1222 fi 1297 fi
1223fi 1298fi
1224 1299
1243 ac_confdir=`$as_dirname -- "$as_myself" || 1318 ac_confdir=`$as_dirname -- "$as_myself" ||
1244$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1319$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1245 X"$as_myself" : 'X\(//\)[^/]' \| \ 1320 X"$as_myself" : 'X\(//\)[^/]' \| \
1246 X"$as_myself" : 'X\(//\)$' \| \ 1321 X"$as_myself" : 'X\(//\)$' \| \
1247 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1322 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1248$as_echo X"$as_myself" | 1323printf "%s\n" X"$as_myself" |
1249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1250 s//\1/ 1325 s//\1/
1251 q 1326 q
1252 } 1327 }
1253 /^X\(\/\/\)[^/].*/{ 1328 /^X\(\/\/\)[^/].*/{
1300# 1375#
1301if test "$ac_init_help" = "long"; then 1376if test "$ac_init_help" = "long"; then
1302 # Omit some internal or obsolete options to make the list less imposing. 1377 # Omit some internal or obsolete options to make the list less imposing.
1303 # This message is too long to be a string in the A/UX 3.1 sh. 1378 # This message is too long to be a string in the A/UX 3.1 sh.
1304 cat <<_ACEOF 1379 cat <<_ACEOF
1305\`configure' configures this package to adapt to many kinds of systems. 1380\`configure' configures gvpe 3.1 to adapt to many kinds of systems.
1306 1381
1307Usage: $0 [OPTION]... [VAR=VALUE]... 1382Usage: $0 [OPTION]... [VAR=VALUE]...
1308 1383
1309To assign environment variables (e.g., CC, CFLAGS...), specify them as 1384To assign environment variables (e.g., CC, CFLAGS...), specify them as
1310VAR=VALUE. See below for descriptions of some of the useful variables. 1385VAR=VALUE. See below for descriptions of some of the useful variables.
1340 --sbindir=DIR system admin executables [EPREFIX/sbin] 1415 --sbindir=DIR system admin executables [EPREFIX/sbin]
1341 --libexecdir=DIR program executables [EPREFIX/libexec] 1416 --libexecdir=DIR program executables [EPREFIX/libexec]
1342 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1417 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1343 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1418 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1344 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1419 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1420 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1345 --libdir=DIR object code libraries [EPREFIX/lib] 1421 --libdir=DIR object code libraries [EPREFIX/lib]
1346 --includedir=DIR C header files [PREFIX/include] 1422 --includedir=DIR C header files [PREFIX/include]
1347 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1423 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1348 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1424 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1349 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1425 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1350 --infodir=DIR info documentation [DATAROOTDIR/info] 1426 --infodir=DIR info documentation [DATAROOTDIR/info]
1351 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1427 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1352 --mandir=DIR man documentation [DATAROOTDIR/man] 1428 --mandir=DIR man documentation [DATAROOTDIR/man]
1353 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1429 --docdir=DIR documentation root [DATAROOTDIR/doc/gvpe]
1354 --htmldir=DIR html documentation [DOCDIR] 1430 --htmldir=DIR html documentation [DOCDIR]
1355 --dvidir=DIR dvi documentation [DOCDIR] 1431 --dvidir=DIR dvi documentation [DOCDIR]
1356 --pdfdir=DIR pdf documentation [DOCDIR] 1432 --pdfdir=DIR pdf documentation [DOCDIR]
1357 --psdir=DIR ps documentation [DOCDIR] 1433 --psdir=DIR ps documentation [DOCDIR]
1358_ACEOF 1434_ACEOF
1370 --target=TARGET configure for building compilers for TARGET [HOST] 1446 --target=TARGET configure for building compilers for TARGET [HOST]
1371_ACEOF 1447_ACEOF
1372fi 1448fi
1373 1449
1374if test -n "$ac_init_help"; then 1450if test -n "$ac_init_help"; then
1375 1451 case $ac_init_help in
1452 short | recursive ) echo "Configuration of gvpe 3.1:";;
1453 esac
1376 cat <<\_ACEOF 1454 cat <<\_ACEOF
1377 1455
1378Optional Features: 1456Optional Features:
1379 --disable-option-checking ignore unrecognized --enable/--with options 1457 --disable-option-checking ignore unrecognized --enable/--with options
1380 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1458 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1381 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1459 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1382 --enable-maintainer-mode enable make rules and dependencies not useful 1460 --enable-silent-rules less verbose build output (undo: "make V=1")
1383 (and sometimes confusing) to the casual installer 1461 --disable-silent-rules verbose build output (undo: "make V=0")
1384 --disable-dependency-tracking speeds up one-time build 1462 --enable-maintainer-mode
1385 --enable-dependency-tracking do not reject slow dependency extractors 1463 enable make rules and dependencies not useful (and
1464 sometimes confusing) to the casual installer
1465 --enable-dependency-tracking
1466 do not reject slow dependency extractors
1467 --disable-dependency-tracking
1468 speeds up one-time build
1386 --disable-rpath do not hardcode runtime library paths 1469 --disable-rpath do not hardcode runtime library paths
1387 --disable-nls do not use Native Language Support 1470 --disable-nls do not use Native Language Support
1388 --enable-iftype=TYPE/SUBTYPE 1471 --enable-iftype=TYPE/SUBTYPE
1389 Use kernel/net device interface TYPE/SUBTYPE. 1472 Use kernel/net device interface TYPE/SUBTYPE.
1390 Working combinations are (see doc/gvpe.osdep.5.pod): 1473 Working combinations are (see doc/gvpe.osdep.5.pod):
1401 --disable-icmp enable icmp protocol support (default enabled). 1484 --disable-icmp enable icmp protocol support (default enabled).
1402 --disable-tcp enable tcp protocol support (default enabled). 1485 --disable-tcp enable tcp protocol support (default enabled).
1403 --disable-http-proxy enable http proxy connect support (default enabled). 1486 --disable-http-proxy enable http proxy connect support (default enabled).
1404 --enable-dns enable dns tunnel protocol support (default 1487 --enable-dns enable dns tunnel protocol support (default
1405 disabled). 1488 disabled).
1489 --enable-rsa-length=BITS
1490 use BITS rsa keys (default 3072). Allowed values are
1491 2048-10240.
1406 --enable-hmac-length=BYTES 1492 --enable-hmac-length=BYTES
1407 use a hmac of length BYTES bytes (default 12). 1493 use a hmac of length BYTES bytes (default 12).
1408 Allowed values are 4, 8, 12, 16. 1494 Allowed values are 4, 8, 12, 16.
1409 --enable-rand-length=BYTES
1410 use BYTES bytes of extra randomness (default 8).
1411 Allowed values are 0, 4, 8.
1412 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). 1495 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500).
1413 Use 9100 for jumbogram support. 1496 Use 9100 for jumbogram support.
1414 --disable-compression Disable compression support. 1497 --disable-compression Disable compression support.
1415 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). 1498 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128").
1416 Must be one of "bf" (blowfish), "aes-128" 1499 Must be one of "aes-128" (rijndael), "aes-192", or
1417 (rijndael), "aes-192" or "aes-256". 1500 "aes-256".
1418 --enable-digest=CIPHER Select the digest algorithm to use (default 1501 --enable-hmac-digest=HMAC
1502 Select the HMAC digest algorithm to use (default
1419 "ripemd160"). Must be one of "sha512", "sha256", 1503 "sha1"). Must be one of "sha512", "sha256", "sha1",
1420 "sha1" (somewhat insecure), "ripemd160", "md5" 1504 "ripemd160", "whirlpool".
1421 (insecure) or "md4" (insecure). 1505 --enable-auth-digest=DIGEST
1506 Select the hmac algorithm to use (default "sha512").
1507 Must be one of "sha512", "sha256", "whirlpool".
1422 1508
1423Optional Packages: 1509Optional Packages:
1424 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1510 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1425 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1511 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1426 --with-gnu-ld assume the C compiler uses GNU ld default=no 1512 --with-gnu-ld assume the C compiler uses GNU ld default=no
1428 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1514 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1429 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib 1515 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
1430 --without-libintl-prefix don't search for libintl in includedir and libdir 1516 --without-libintl-prefix don't search for libintl in includedir and libdir
1431 --with-kernel=dir give the directory with kernel sources 1517 --with-kernel=dir give the directory with kernel sources
1432 (default: /usr/src/linux) 1518 (default: /usr/src/linux)
1433 --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl)
1434 --with-openssl-lib=DIR OpenSSL library directory
1435 1519
1436Some influential environment variables: 1520Some influential environment variables:
1437 CC C compiler command 1521 CC C compiler command
1438 CFLAGS C compiler flags 1522 CFLAGS C compiler flags
1439 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1523 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1442 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1526 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1443 you have headers in a nonstandard directory <include dir> 1527 you have headers in a nonstandard directory <include dir>
1444 CPP C preprocessor 1528 CPP C preprocessor
1445 CXX C++ compiler command 1529 CXX C++ compiler command
1446 CXXFLAGS C++ compiler flags 1530 CXXFLAGS C++ compiler flags
1447 CXXCPP C++ preprocessor 1531 PKG_CONFIG path to pkg-config utility
1532 PKG_CONFIG_PATH
1533 directories to add to pkg-config's search path
1534 PKG_CONFIG_LIBDIR
1535 path overriding pkg-config's built-in search path
1536 LIBCRYPTO_CFLAGS
1537 C compiler flags for LIBCRYPTO, overriding pkg-config
1538 LIBCRYPTO_LIBS
1539 linker flags for LIBCRYPTO, overriding pkg-config
1448 1540
1449Use these variables to override the choices made by `configure' or to help 1541Use these variables to override the choices made by `configure' or to help
1450it to find libraries and programs with nonstandard names/locations. 1542it to find libraries and programs with nonstandard names/locations.
1451 1543
1452Report bugs to the package provider. 1544Report bugs to the package provider.
1463 ac_builddir=. 1555 ac_builddir=.
1464 1556
1465case "$ac_dir" in 1557case "$ac_dir" in
1466.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1558.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1467*) 1559*)
1468 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1560 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1469 # A ".." for each directory in $ac_dir_suffix. 1561 # A ".." for each directory in $ac_dir_suffix.
1470 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1562 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1471 case $ac_top_builddir_sub in 1563 case $ac_top_builddir_sub in
1472 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1564 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1473 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1565 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1474 esac ;; 1566 esac ;;
1475esac 1567esac
1493 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1585 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1494esac 1586esac
1495ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1587ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1496 1588
1497 cd "$ac_dir" || { ac_status=$?; continue; } 1589 cd "$ac_dir" || { ac_status=$?; continue; }
1498 # Check for guested configure. 1590 # Check for configure.gnu first; this name is used for a wrapper for
1591 # Metaconfig's "Configure" on case-insensitive file systems.
1499 if test -f "$ac_srcdir/configure.gnu"; then 1592 if test -f "$ac_srcdir/configure.gnu"; then
1500 echo && 1593 echo &&
1501 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1594 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1502 elif test -f "$ac_srcdir/configure"; then 1595 elif test -f "$ac_srcdir/configure"; then
1503 echo && 1596 echo &&
1504 $SHELL "$ac_srcdir/configure" --help=recursive 1597 $SHELL "$ac_srcdir/configure" --help=recursive
1505 else 1598 else
1506 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1599 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1507 fi || ac_status=$? 1600 fi || ac_status=$?
1508 cd "$ac_pwd" || { ac_status=$?; break; } 1601 cd "$ac_pwd" || { ac_status=$?; break; }
1509 done 1602 done
1510fi 1603fi
1511 1604
1512test -n "$ac_init_help" && exit $ac_status 1605test -n "$ac_init_help" && exit $ac_status
1513if $ac_init_version; then 1606if $ac_init_version; then
1514 cat <<\_ACEOF 1607 cat <<\_ACEOF
1515configure 1608gvpe configure 3.1
1516generated by GNU Autoconf 2.67 1609generated by GNU Autoconf 2.71
1517 1610
1518Copyright (C) 2010 Free Software Foundation, Inc. 1611Copyright (C) 2021 Free Software Foundation, Inc.
1519This configure script is free software; the Free Software Foundation 1612This configure script is free software; the Free Software Foundation
1520gives unlimited permission to copy, distribute and modify it. 1613gives unlimited permission to copy, distribute and modify it.
1521_ACEOF 1614_ACEOF
1522 exit 1615 exit
1523fi 1616fi
1530# -------------------------- 1623# --------------------------
1531# Try to compile conftest.$ac_ext, and return whether this succeeded. 1624# Try to compile conftest.$ac_ext, and return whether this succeeded.
1532ac_fn_c_try_compile () 1625ac_fn_c_try_compile ()
1533{ 1626{
1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535 rm -f conftest.$ac_objext 1628 rm -f conftest.$ac_objext conftest.beam
1536 if { { ac_try="$ac_compile" 1629 if { { ac_try="$ac_compile"
1537case "(($ac_try" in 1630case "(($ac_try" in
1538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;; 1632 *) ac_try_echo=$ac_try;;
1540esac 1633esac
1541eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1634eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542$as_echo "$ac_try_echo"; } >&5 1635printf "%s\n" "$ac_try_echo"; } >&5
1543 (eval "$ac_compile") 2>conftest.err 1636 (eval "$ac_compile") 2>conftest.err
1544 ac_status=$? 1637 ac_status=$?
1545 if test -s conftest.err; then 1638 if test -s conftest.err; then
1546 grep -v '^ *+' conftest.err >conftest.er1 1639 grep -v '^ *+' conftest.err >conftest.er1
1547 cat conftest.er1 >&5 1640 cat conftest.er1 >&5
1548 mv -f conftest.er1 conftest.err 1641 mv -f conftest.er1 conftest.err
1549 fi 1642 fi
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && { 1644 test $ac_status = 0; } && {
1552 test -z "$ac_c_werror_flag" || 1645 test -z "$ac_c_werror_flag" ||
1553 test ! -s conftest.err 1646 test ! -s conftest.err
1554 } && test -s conftest.$ac_objext; then : 1647 } && test -s conftest.$ac_objext
1648then :
1555 ac_retval=0 1649 ac_retval=0
1556else 1650else $as_nop
1557 $as_echo "$as_me: failed program was:" >&5 1651 printf "%s\n" "$as_me: failed program was:" >&5
1558sed 's/^/| /' conftest.$ac_ext >&5 1652sed 's/^/| /' conftest.$ac_ext >&5
1559 1653
1560 ac_retval=1 1654 ac_retval=1
1561fi 1655fi
1562 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1563 as_fn_set_status $ac_retval 1657 as_fn_set_status $ac_retval
1564 1658
1565} # ac_fn_c_try_compile 1659} # ac_fn_c_try_compile
1566 1660
1567# ac_fn_c_try_link LINENO 1661# ac_fn_c_try_link LINENO
1568# ----------------------- 1662# -----------------------
1569# Try to link conftest.$ac_ext, and return whether this succeeded. 1663# Try to link conftest.$ac_ext, and return whether this succeeded.
1570ac_fn_c_try_link () 1664ac_fn_c_try_link ()
1571{ 1665{
1572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573 rm -f conftest.$ac_objext conftest$ac_exeext 1667 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1574 if { { ac_try="$ac_link" 1668 if { { ac_try="$ac_link"
1575case "(($ac_try" in 1669case "(($ac_try" in
1576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1577 *) ac_try_echo=$ac_try;; 1671 *) ac_try_echo=$ac_try;;
1578esac 1672esac
1579eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1673eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580$as_echo "$ac_try_echo"; } >&5 1674printf "%s\n" "$ac_try_echo"; } >&5
1581 (eval "$ac_link") 2>conftest.err 1675 (eval "$ac_link") 2>conftest.err
1582 ac_status=$? 1676 ac_status=$?
1583 if test -s conftest.err; then 1677 if test -s conftest.err; then
1584 grep -v '^ *+' conftest.err >conftest.er1 1678 grep -v '^ *+' conftest.err >conftest.er1
1585 cat conftest.er1 >&5 1679 cat conftest.er1 >&5
1586 mv -f conftest.er1 conftest.err 1680 mv -f conftest.er1 conftest.err
1587 fi 1681 fi
1588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589 test $ac_status = 0; } && { 1683 test $ac_status = 0; } && {
1590 test -z "$ac_c_werror_flag" || 1684 test -z "$ac_c_werror_flag" ||
1591 test ! -s conftest.err 1685 test ! -s conftest.err
1592 } && test -s conftest$ac_exeext && { 1686 } && test -s conftest$ac_exeext && {
1593 test "$cross_compiling" = yes || 1687 test "$cross_compiling" = yes ||
1594 $as_test_x conftest$ac_exeext 1688 test -x conftest$ac_exeext
1595 }; then : 1689 }
1690then :
1596 ac_retval=0 1691 ac_retval=0
1597else 1692else $as_nop
1598 $as_echo "$as_me: failed program was:" >&5 1693 printf "%s\n" "$as_me: failed program was:" >&5
1599sed 's/^/| /' conftest.$ac_ext >&5 1694sed 's/^/| /' conftest.$ac_ext >&5
1600 1695
1601 ac_retval=1 1696 ac_retval=1
1602fi 1697fi
1603 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1698 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1604 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1699 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1605 # interfere with the next link command; also delete a directory that is 1700 # interfere with the next link command; also delete a directory that is
1606 # left behind by Apple's compiler. We do this before executing the actions. 1701 # left behind by Apple's compiler. We do this before executing the actions.
1607 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1702 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1608 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1609 as_fn_set_status $ac_retval 1704 as_fn_set_status $ac_retval
1610 1705
1611} # ac_fn_c_try_link 1706} # ac_fn_c_try_link
1612 1707
1613# ac_fn_c_try_cpp LINENO 1708# ac_fn_c_try_cpp LINENO
1620case "(($ac_try" in 1715case "(($ac_try" in
1621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1622 *) ac_try_echo=$ac_try;; 1717 *) ac_try_echo=$ac_try;;
1623esac 1718esac
1624eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1719eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625$as_echo "$ac_try_echo"; } >&5 1720printf "%s\n" "$ac_try_echo"; } >&5
1626 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1627 ac_status=$? 1722 ac_status=$?
1628 if test -s conftest.err; then 1723 if test -s conftest.err; then
1629 grep -v '^ *+' conftest.err >conftest.er1 1724 grep -v '^ *+' conftest.err >conftest.er1
1630 cat conftest.er1 >&5 1725 cat conftest.er1 >&5
1631 mv -f conftest.er1 conftest.err 1726 mv -f conftest.er1 conftest.err
1632 fi 1727 fi
1633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634 test $ac_status = 0; } > conftest.i && { 1729 test $ac_status = 0; } > conftest.i && {
1635 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1730 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1636 test ! -s conftest.err 1731 test ! -s conftest.err
1637 }; then : 1732 }
1733then :
1638 ac_retval=0 1734 ac_retval=0
1639else 1735else $as_nop
1640 $as_echo "$as_me: failed program was:" >&5 1736 printf "%s\n" "$as_me: failed program was:" >&5
1641sed 's/^/| /' conftest.$ac_ext >&5 1737sed 's/^/| /' conftest.$ac_ext >&5
1642 1738
1643 ac_retval=1 1739 ac_retval=1
1644fi 1740fi
1645 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646 as_fn_set_status $ac_retval 1742 as_fn_set_status $ac_retval
1647 1743
1648} # ac_fn_c_try_cpp 1744} # ac_fn_c_try_cpp
1649 1745
1650# ac_fn_cxx_try_compile LINENO 1746# ac_fn_cxx_try_compile LINENO
1651# ---------------------------- 1747# ----------------------------
1652# Try to compile conftest.$ac_ext, and return whether this succeeded. 1748# Try to compile conftest.$ac_ext, and return whether this succeeded.
1653ac_fn_cxx_try_compile () 1749ac_fn_cxx_try_compile ()
1654{ 1750{
1655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656 rm -f conftest.$ac_objext 1752 rm -f conftest.$ac_objext conftest.beam
1657 if { { ac_try="$ac_compile" 1753 if { { ac_try="$ac_compile"
1658case "(($ac_try" in 1754case "(($ac_try" in
1659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1660 *) ac_try_echo=$ac_try;; 1756 *) ac_try_echo=$ac_try;;
1661esac 1757esac
1662eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1758eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663$as_echo "$ac_try_echo"; } >&5 1759printf "%s\n" "$ac_try_echo"; } >&5
1664 (eval "$ac_compile") 2>conftest.err 1760 (eval "$ac_compile") 2>conftest.err
1665 ac_status=$? 1761 ac_status=$?
1666 if test -s conftest.err; then 1762 if test -s conftest.err; then
1667 grep -v '^ *+' conftest.err >conftest.er1 1763 grep -v '^ *+' conftest.err >conftest.er1
1668 cat conftest.er1 >&5 1764 cat conftest.er1 >&5
1669 mv -f conftest.er1 conftest.err 1765 mv -f conftest.er1 conftest.err
1670 fi 1766 fi
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1767 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; } && { 1768 test $ac_status = 0; } && {
1673 test -z "$ac_cxx_werror_flag" || 1769 test -z "$ac_cxx_werror_flag" ||
1674 test ! -s conftest.err 1770 test ! -s conftest.err
1675 } && test -s conftest.$ac_objext; then : 1771 } && test -s conftest.$ac_objext
1772then :
1676 ac_retval=0 1773 ac_retval=0
1677else 1774else $as_nop
1678 $as_echo "$as_me: failed program was:" >&5 1775 printf "%s\n" "$as_me: failed program was:" >&5
1679sed 's/^/| /' conftest.$ac_ext >&5 1776sed 's/^/| /' conftest.$ac_ext >&5
1680 1777
1681 ac_retval=1 1778 ac_retval=1
1682fi 1779fi
1683 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684 as_fn_set_status $ac_retval 1781 as_fn_set_status $ac_retval
1685 1782
1686} # ac_fn_cxx_try_compile 1783} # ac_fn_cxx_try_compile
1687
1688# ac_fn_cxx_try_cpp LINENO
1689# ------------------------
1690# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1691ac_fn_cxx_try_cpp ()
1692{
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 if { { ac_try="$ac_cpp conftest.$ac_ext"
1695case "(($ac_try" in
1696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1698esac
1699eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700$as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1702 ac_status=$?
1703 if test -s conftest.err; then
1704 grep -v '^ *+' conftest.err >conftest.er1
1705 cat conftest.er1 >&5
1706 mv -f conftest.er1 conftest.err
1707 fi
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } > conftest.i && {
1710 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1711 test ! -s conftest.err
1712 }; then :
1713 ac_retval=0
1714else
1715 $as_echo "$as_me: failed program was:" >&5
1716sed 's/^/| /' conftest.$ac_ext >&5
1717
1718 ac_retval=1
1719fi
1720 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1721 as_fn_set_status $ac_retval
1722
1723} # ac_fn_cxx_try_cpp
1724
1725# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1726# ---------------------------------------------------------
1727# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1728# the include files in INCLUDES and setting the cache variable VAR
1729# accordingly.
1730ac_fn_cxx_check_header_mongrel ()
1731{
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 if eval "test \"\${$3+set}\"" = set; then :
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735$as_echo_n "checking for $2... " >&6; }
1736if eval "test \"\${$3+set}\"" = set; then :
1737 $as_echo_n "(cached) " >&6
1738fi
1739eval ac_res=\$$3
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1741$as_echo "$ac_res" >&6; }
1742else
1743 # Is the header compilable?
1744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1745$as_echo_n "checking $2 usability... " >&6; }
1746cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1747/* end confdefs.h. */
1748$4
1749#include <$2>
1750_ACEOF
1751if ac_fn_cxx_try_compile "$LINENO"; then :
1752 ac_header_compiler=yes
1753else
1754 ac_header_compiler=no
1755fi
1756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1758$as_echo "$ac_header_compiler" >&6; }
1759
1760# Is the header present?
1761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1762$as_echo_n "checking $2 presence... " >&6; }
1763cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1764/* end confdefs.h. */
1765#include <$2>
1766_ACEOF
1767if ac_fn_cxx_try_cpp "$LINENO"; then :
1768 ac_header_preproc=yes
1769else
1770 ac_header_preproc=no
1771fi
1772rm -f conftest.err conftest.i conftest.$ac_ext
1773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1774$as_echo "$ac_header_preproc" >&6; }
1775
1776# So? What about this header?
1777case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1778 yes:no: )
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1780$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1782$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1783 ;;
1784 no:yes:* )
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1786$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1788$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1790$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1792$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1794$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1795 ;;
1796esac
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1798$as_echo_n "checking for $2... " >&6; }
1799if eval "test \"\${$3+set}\"" = set; then :
1800 $as_echo_n "(cached) " >&6
1801else
1802 eval "$3=\$ac_header_compiler"
1803fi
1804eval ac_res=\$$3
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1806$as_echo "$ac_res" >&6; }
1807fi
1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1809
1810} # ac_fn_cxx_check_header_mongrel
1811
1812# ac_fn_cxx_try_run LINENO
1813# ------------------------
1814# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1815# that executables *can* be run.
1816ac_fn_cxx_try_run ()
1817{
1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819 if { { ac_try="$ac_link"
1820case "(($ac_try" in
1821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1822 *) ac_try_echo=$ac_try;;
1823esac
1824eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1825$as_echo "$ac_try_echo"; } >&5
1826 (eval "$ac_link") 2>&5
1827 ac_status=$?
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1830 { { case "(($ac_try" in
1831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1832 *) ac_try_echo=$ac_try;;
1833esac
1834eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835$as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_try") 2>&5
1837 ac_status=$?
1838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1839 test $ac_status = 0; }; }; then :
1840 ac_retval=0
1841else
1842 $as_echo "$as_me: program exited with status $ac_status" >&5
1843 $as_echo "$as_me: failed program was:" >&5
1844sed 's/^/| /' conftest.$ac_ext >&5
1845
1846 ac_retval=$ac_status
1847fi
1848 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1849 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1850 as_fn_set_status $ac_retval
1851
1852} # ac_fn_cxx_try_run
1853 1784
1854# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 1785# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1855# --------------------------------------------------------- 1786# ---------------------------------------------------------
1856# Tests whether HEADER exists and can be compiled using the include files in 1787# Tests whether HEADER exists and can be compiled using the include files in
1857# INCLUDES, setting the cache variable VAR accordingly. 1788# INCLUDES, setting the cache variable VAR accordingly.
1858ac_fn_cxx_check_header_compile () 1789ac_fn_cxx_check_header_compile ()
1859{ 1790{
1860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862$as_echo_n "checking for $2... " >&6; } 1793printf %s "checking for $2... " >&6; }
1863if eval "test \"\${$3+set}\"" = set; then : 1794if eval test \${$3+y}
1864 $as_echo_n "(cached) " >&6 1795then :
1865else 1796 printf %s "(cached) " >&6
1797else $as_nop
1866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1867/* end confdefs.h. */ 1799/* end confdefs.h. */
1868$4 1800$4
1869#include <$2> 1801#include <$2>
1870_ACEOF 1802_ACEOF
1871if ac_fn_cxx_try_compile "$LINENO"; then : 1803if ac_fn_cxx_try_compile "$LINENO"
1804then :
1872 eval "$3=yes" 1805 eval "$3=yes"
1873else 1806else $as_nop
1874 eval "$3=no" 1807 eval "$3=no"
1875fi 1808fi
1876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1809rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1877fi 1810fi
1878eval ac_res=\$$3 1811eval ac_res=\$$3
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880$as_echo "$ac_res" >&6; } 1813printf "%s\n" "$ac_res" >&6; }
1881 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 1815
1883} # ac_fn_cxx_check_header_compile 1816} # ac_fn_cxx_check_header_compile
1884 1817
1885# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES 1818# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1886# --------------------------------------------- 1819# ---------------------------------------------
1887# Tests whether TYPE exists after having included INCLUDES, setting cache 1820# Tests whether TYPE exists after having included INCLUDES, setting cache
1888# variable VAR accordingly. 1821# variable VAR accordingly.
1889ac_fn_cxx_check_type () 1822ac_fn_cxx_check_type ()
1890{ 1823{
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893$as_echo_n "checking for $2... " >&6; } 1826printf %s "checking for $2... " >&6; }
1894if eval "test \"\${$3+set}\"" = set; then : 1827if eval test \${$3+y}
1895 $as_echo_n "(cached) " >&6 1828then :
1896else 1829 printf %s "(cached) " >&6
1830else $as_nop
1897 eval "$3=no" 1831 eval "$3=no"
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899/* end confdefs.h. */ 1833/* end confdefs.h. */
1900$4 1834$4
1901int 1835int
1902main () 1836main (void)
1903{ 1837{
1904if (sizeof ($2)) 1838if (sizeof ($2))
1905 return 0; 1839 return 0;
1906 ; 1840 ;
1907 return 0; 1841 return 0;
1908} 1842}
1909_ACEOF 1843_ACEOF
1910if ac_fn_cxx_try_compile "$LINENO"; then : 1844if ac_fn_cxx_try_compile "$LINENO"
1845then :
1911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1912/* end confdefs.h. */ 1847/* end confdefs.h. */
1913$4 1848$4
1914int 1849int
1915main () 1850main (void)
1916{ 1851{
1917if (sizeof (($2))) 1852if (sizeof (($2)))
1918 return 0; 1853 return 0;
1919 ; 1854 ;
1920 return 0; 1855 return 0;
1921} 1856}
1922_ACEOF 1857_ACEOF
1923if ac_fn_cxx_try_compile "$LINENO"; then : 1858if ac_fn_cxx_try_compile "$LINENO"
1859then :
1924 1860
1925else 1861else $as_nop
1926 eval "$3=yes" 1862 eval "$3=yes"
1927fi 1863fi
1928rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1864rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1929fi 1865fi
1930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1866rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1931fi 1867fi
1932eval ac_res=\$$3 1868eval ac_res=\$$3
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934$as_echo "$ac_res" >&6; } 1870printf "%s\n" "$ac_res" >&6; }
1935 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 1872
1937} # ac_fn_cxx_check_type 1873} # ac_fn_cxx_check_type
1938
1939# ac_fn_c_try_run LINENO
1940# ----------------------
1941# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1942# that executables *can* be run.
1943ac_fn_c_try_run ()
1944{
1945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946 if { { ac_try="$ac_link"
1947case "(($ac_try" in
1948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1949 *) ac_try_echo=$ac_try;;
1950esac
1951eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1952$as_echo "$ac_try_echo"; } >&5
1953 (eval "$ac_link") 2>&5
1954 ac_status=$?
1955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1956 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1957 { { case "(($ac_try" in
1958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1959 *) ac_try_echo=$ac_try;;
1960esac
1961eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1962$as_echo "$ac_try_echo"; } >&5
1963 (eval "$ac_try") 2>&5
1964 ac_status=$?
1965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1966 test $ac_status = 0; }; }; then :
1967 ac_retval=0
1968else
1969 $as_echo "$as_me: program exited with status $ac_status" >&5
1970 $as_echo "$as_me: failed program was:" >&5
1971sed 's/^/| /' conftest.$ac_ext >&5
1972
1973 ac_retval=$ac_status
1974fi
1975 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1976 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1977 as_fn_set_status $ac_retval
1978
1979} # ac_fn_c_try_run
1980 1874
1981# ac_fn_c_check_func LINENO FUNC VAR 1875# ac_fn_c_check_func LINENO FUNC VAR
1982# ---------------------------------- 1876# ----------------------------------
1983# Tests whether FUNC exists, setting the cache variable VAR accordingly 1877# Tests whether FUNC exists, setting the cache variable VAR accordingly
1984ac_fn_c_check_func () 1878ac_fn_c_check_func ()
1985{ 1879{
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1988$as_echo_n "checking for $2... " >&6; } 1882printf %s "checking for $2... " >&6; }
1989if eval "test \"\${$3+set}\"" = set; then : 1883if eval test \${$3+y}
1990 $as_echo_n "(cached) " >&6 1884then :
1991else 1885 printf %s "(cached) " >&6
1886else $as_nop
1992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1993/* end confdefs.h. */ 1888/* end confdefs.h. */
1994/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1889/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1995 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1996#define $2 innocuous_$2 1891#define $2 innocuous_$2
1997 1892
1998/* System header to define __stub macros and hopefully few prototypes, 1893/* System header to define __stub macros and hopefully few prototypes,
1999 which can conflict with char $2 (); below. 1894 which can conflict with char $2 (); below. */
2000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2001 <limits.h> exists even on freestanding compilers. */
2002 1895
2003#ifdef __STDC__
2004# include <limits.h> 1896#include <limits.h>
2005#else
2006# include <assert.h>
2007#endif
2008
2009#undef $2 1897#undef $2
2010 1898
2011/* Override any GCC internal prototype to avoid an error. 1899/* Override any GCC internal prototype to avoid an error.
2012 Use char because int might match the return type of a GCC 1900 Use char because int might match the return type of a GCC
2013 builtin and then its argument prototype would still apply. */ 1901 builtin and then its argument prototype would still apply. */
2021#if defined __stub_$2 || defined __stub___$2 1909#if defined __stub_$2 || defined __stub___$2
2022choke me 1910choke me
2023#endif 1911#endif
2024 1912
2025int 1913int
2026main () 1914main (void)
2027{ 1915{
2028return $2 (); 1916return $2 ();
2029 ; 1917 ;
2030 return 0; 1918 return 0;
2031} 1919}
2032_ACEOF 1920_ACEOF
2033if ac_fn_c_try_link "$LINENO"; then : 1921if ac_fn_c_try_link "$LINENO"
1922then :
2034 eval "$3=yes" 1923 eval "$3=yes"
2035else 1924else $as_nop
2036 eval "$3=no" 1925 eval "$3=no"
2037fi 1926fi
2038rm -f core conftest.err conftest.$ac_objext \ 1927rm -f core conftest.err conftest.$ac_objext conftest.beam \
2039 conftest$ac_exeext conftest.$ac_ext 1928 conftest$ac_exeext conftest.$ac_ext
2040fi 1929fi
2041eval ac_res=\$$3 1930eval ac_res=\$$3
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2043$as_echo "$ac_res" >&6; } 1932printf "%s\n" "$ac_res" >&6; }
2044 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2045 1934
2046} # ac_fn_c_check_func 1935} # ac_fn_c_check_func
2047 1936
2048# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1937# ac_fn_c_try_run LINENO
2049# ------------------------------------------------------- 1938# ----------------------
2050# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1939# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
2051# the include files in INCLUDES and setting the cache variable VAR 1940# executables *can* be run.
2052# accordingly. 1941ac_fn_c_try_run ()
2053ac_fn_c_check_header_mongrel ()
2054{ 1942{
2055 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2056 if eval "test \"\${$3+set}\"" = set; then : 1944 if { { ac_try="$ac_link"
1945case "(($ac_try" in
1946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1947 *) ac_try_echo=$ac_try;;
1948esac
1949eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1950printf "%s\n" "$ac_try_echo"; } >&5
1951 (eval "$ac_link") 2>&5
1952 ac_status=$?
1953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1954 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1955 { { case "(($ac_try" in
1956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1957 *) ac_try_echo=$ac_try;;
1958esac
1959eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1960printf "%s\n" "$ac_try_echo"; } >&5
1961 (eval "$ac_try") 2>&5
1962 ac_status=$?
1963 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1964 test $ac_status = 0; }; }
1965then :
1966 ac_retval=0
1967else $as_nop
1968 printf "%s\n" "$as_me: program exited with status $ac_status" >&5
1969 printf "%s\n" "$as_me: failed program was:" >&5
1970sed 's/^/| /' conftest.$ac_ext >&5
1971
1972 ac_retval=$ac_status
1973fi
1974 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1976 as_fn_set_status $ac_retval
1977
1978} # ac_fn_c_try_run
1979
1980# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1981# -------------------------------------------------------
1982# Tests whether HEADER exists and can be compiled using the include files in
1983# INCLUDES, setting the cache variable VAR accordingly.
1984ac_fn_c_check_header_compile ()
1985{
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2058$as_echo_n "checking for $2... " >&6; } 1988printf %s "checking for $2... " >&6; }
2059if eval "test \"\${$3+set}\"" = set; then : 1989if eval test \${$3+y}
2060 $as_echo_n "(cached) " >&6 1990then :
2061fi 1991 printf %s "(cached) " >&6
2062eval ac_res=\$$3 1992else $as_nop
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2064$as_echo "$ac_res" >&6; }
2065else
2066 # Is the header compilable?
2067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2068$as_echo_n "checking $2 usability... " >&6; }
2069cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2070/* end confdefs.h. */ 1994/* end confdefs.h. */
2071$4 1995$4
2072#include <$2> 1996#include <$2>
2073_ACEOF 1997_ACEOF
2074if ac_fn_c_try_compile "$LINENO"; then : 1998if ac_fn_c_try_compile "$LINENO"
2075 ac_header_compiler=yes 1999then :
2076else 2000 eval "$3=yes"
2077 ac_header_compiler=no 2001else $as_nop
2002 eval "$3=no"
2078fi 2003fi
2079rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2004rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2005fi
2081$as_echo "$ac_header_compiler" >&6; } 2006eval ac_res=\$$3
2007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2008printf "%s\n" "$ac_res" >&6; }
2009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2082 2010
2083# Is the header present? 2011} # ac_fn_c_check_header_compile
2084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2012
2085$as_echo_n "checking $2 presence... " >&6; } 2013# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2014# -------------------------------------------
2015# Tests whether TYPE exists after having included INCLUDES, setting cache
2016# variable VAR accordingly.
2017ac_fn_c_check_type ()
2018{
2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2021printf %s "checking for $2... " >&6; }
2022if eval test \${$3+y}
2023then :
2024 printf %s "(cached) " >&6
2025else $as_nop
2026 eval "$3=no"
2086cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2087/* end confdefs.h. */ 2028/* end confdefs.h. */
2088#include <$2> 2029$4
2030int
2031main (void)
2032{
2033if (sizeof ($2))
2034 return 0;
2035 ;
2036 return 0;
2037}
2089_ACEOF 2038_ACEOF
2090if ac_fn_c_try_cpp "$LINENO"; then : 2039if ac_fn_c_try_compile "$LINENO"
2091 ac_header_preproc=yes 2040then :
2092else 2041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093 ac_header_preproc=no 2042/* end confdefs.h. */
2043$4
2044int
2045main (void)
2046{
2047if (sizeof (($2)))
2048 return 0;
2049 ;
2050 return 0;
2051}
2052_ACEOF
2053if ac_fn_c_try_compile "$LINENO"
2054then :
2055
2056else $as_nop
2057 eval "$3=yes"
2094fi 2058fi
2095rm -f conftest.err conftest.i conftest.$ac_ext 2059rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2060fi
2097$as_echo "$ac_header_preproc" >&6; } 2061rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2098
2099# So? What about this header?
2100case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2101 yes:no: )
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2103$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2105$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2106 ;;
2107 no:yes:* )
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2109$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2111$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2113$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2115$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2117$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2118 ;;
2119esac
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121$as_echo_n "checking for $2... " >&6; }
2122if eval "test \"\${$3+set}\"" = set; then :
2123 $as_echo_n "(cached) " >&6
2124else
2125 eval "$3=\$ac_header_compiler"
2126fi 2062fi
2127eval ac_res=\$$3 2063eval ac_res=\$$3
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2129$as_echo "$ac_res" >&6; } 2065printf "%s\n" "$ac_res" >&6; }
2130fi 2066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2131 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2132 2067
2133} # ac_fn_c_check_header_mongrel 2068} # ac_fn_c_check_type
2134 2069
2135# ac_fn_cxx_try_link LINENO 2070# ac_fn_cxx_try_link LINENO
2136# ------------------------- 2071# -------------------------
2137# Try to link conftest.$ac_ext, and return whether this succeeded. 2072# Try to link conftest.$ac_ext, and return whether this succeeded.
2138ac_fn_cxx_try_link () 2073ac_fn_cxx_try_link ()
2139{ 2074{
2140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2141 rm -f conftest.$ac_objext conftest$ac_exeext 2076 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2142 if { { ac_try="$ac_link" 2077 if { { ac_try="$ac_link"
2143case "(($ac_try" in 2078case "(($ac_try" in
2144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2145 *) ac_try_echo=$ac_try;; 2080 *) ac_try_echo=$ac_try;;
2146esac 2081esac
2147eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2082eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2148$as_echo "$ac_try_echo"; } >&5 2083printf "%s\n" "$ac_try_echo"; } >&5
2149 (eval "$ac_link") 2>conftest.err 2084 (eval "$ac_link") 2>conftest.err
2150 ac_status=$? 2085 ac_status=$?
2151 if test -s conftest.err; then 2086 if test -s conftest.err; then
2152 grep -v '^ *+' conftest.err >conftest.er1 2087 grep -v '^ *+' conftest.err >conftest.er1
2153 cat conftest.er1 >&5 2088 cat conftest.er1 >&5
2154 mv -f conftest.er1 conftest.err 2089 mv -f conftest.er1 conftest.err
2155 fi 2090 fi
2156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2157 test $ac_status = 0; } && { 2092 test $ac_status = 0; } && {
2158 test -z "$ac_cxx_werror_flag" || 2093 test -z "$ac_cxx_werror_flag" ||
2159 test ! -s conftest.err 2094 test ! -s conftest.err
2160 } && test -s conftest$ac_exeext && { 2095 } && test -s conftest$ac_exeext && {
2161 test "$cross_compiling" = yes || 2096 test "$cross_compiling" = yes ||
2162 $as_test_x conftest$ac_exeext 2097 test -x conftest$ac_exeext
2163 }; then : 2098 }
2099then :
2164 ac_retval=0 2100 ac_retval=0
2165else 2101else $as_nop
2166 $as_echo "$as_me: failed program was:" >&5 2102 printf "%s\n" "$as_me: failed program was:" >&5
2167sed 's/^/| /' conftest.$ac_ext >&5 2103sed 's/^/| /' conftest.$ac_ext >&5
2168 2104
2169 ac_retval=1 2105 ac_retval=1
2170fi 2106fi
2171 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2107 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2172 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2108 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2173 # interfere with the next link command; also delete a directory that is 2109 # interfere with the next link command; also delete a directory that is
2174 # left behind by Apple's compiler. We do this before executing the actions. 2110 # left behind by Apple's compiler. We do this before executing the actions.
2175 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2111 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2176 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2112 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2177 as_fn_set_status $ac_retval 2113 as_fn_set_status $ac_retval
2178 2114
2179} # ac_fn_cxx_try_link 2115} # ac_fn_cxx_try_link
2116ac_configure_args_raw=
2117for ac_arg
2118do
2119 case $ac_arg in
2120 *\'*)
2121 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2122 esac
2123 as_fn_append ac_configure_args_raw " '$ac_arg'"
2124done
2180 2125
2181# ac_fn_cxx_check_func LINENO FUNC VAR 2126case $ac_configure_args_raw in
2182# ------------------------------------ 2127 *$as_nl*)
2183# Tests whether FUNC exists, setting the cache variable VAR accordingly 2128 ac_safe_unquote= ;;
2184ac_fn_cxx_check_func () 2129 *)
2185{ 2130 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2186 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2131 ac_unsafe_a="$ac_unsafe_z#~"
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2132 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2188$as_echo_n "checking for $2... " >&6; } 2133 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2189if eval "test \"\${$3+set}\"" = set; then : 2134esac
2190 $as_echo_n "(cached) " >&6
2191else
2192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2193/* end confdefs.h. */
2194/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2196#define $2 innocuous_$2
2197 2135
2198/* System header to define __stub macros and hopefully few prototypes,
2199 which can conflict with char $2 (); below.
2200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2201 <limits.h> exists even on freestanding compilers. */
2202
2203#ifdef __STDC__
2204# include <limits.h>
2205#else
2206# include <assert.h>
2207#endif
2208
2209#undef $2
2210
2211/* Override any GCC internal prototype to avoid an error.
2212 Use char because int might match the return type of a GCC
2213 builtin and then its argument prototype would still apply. */
2214#ifdef __cplusplus
2215extern "C"
2216#endif
2217char $2 ();
2218/* The GNU C library defines this for functions which it implements
2219 to always fail with ENOSYS. Some functions are actually named
2220 something starting with __ and the normal name is an alias. */
2221#if defined __stub_$2 || defined __stub___$2
2222choke me
2223#endif
2224
2225int
2226main ()
2227{
2228return $2 ();
2229 ;
2230 return 0;
2231}
2232_ACEOF
2233if ac_fn_cxx_try_link "$LINENO"; then :
2234 eval "$3=yes"
2235else
2236 eval "$3=no"
2237fi
2238rm -f core conftest.err conftest.$ac_objext \
2239 conftest$ac_exeext conftest.$ac_ext
2240fi
2241eval ac_res=\$$3
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2243$as_echo "$ac_res" >&6; }
2244 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2245
2246} # ac_fn_cxx_check_func
2247cat >config.log <<_ACEOF 2136cat >config.log <<_ACEOF
2248This file contains any messages produced by compilers while 2137This file contains any messages produced by compilers while
2249running configure, to aid debugging if configure makes a mistake. 2138running configure, to aid debugging if configure makes a mistake.
2250 2139
2251It was created by $as_me, which was 2140It was created by gvpe $as_me 3.1, which was
2252generated by GNU Autoconf 2.67. Invocation command line was 2141generated by GNU Autoconf 2.71. Invocation command line was
2253 2142
2254 $ $0 $@ 2143 $ $0$ac_configure_args_raw
2255 2144
2256_ACEOF 2145_ACEOF
2257exec 5>>config.log 2146exec 5>>config.log
2258{ 2147{
2259cat <<_ASUNAME 2148cat <<_ASUNAME
2282 2171
2283as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2172as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2284for as_dir in $PATH 2173for as_dir in $PATH
2285do 2174do
2286 IFS=$as_save_IFS 2175 IFS=$as_save_IFS
2287 test -z "$as_dir" && as_dir=. 2176 case $as_dir in #(((
2288 $as_echo "PATH: $as_dir" 2177 '') as_dir=./ ;;
2178 */) ;;
2179 *) as_dir=$as_dir/ ;;
2180 esac
2181 printf "%s\n" "PATH: $as_dir"
2289 done 2182 done
2290IFS=$as_save_IFS 2183IFS=$as_save_IFS
2291 2184
2292} >&5 2185} >&5
2293 2186
2318 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2211 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2319 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2212 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2320 | -silent | --silent | --silen | --sile | --sil) 2213 | -silent | --silent | --silen | --sile | --sil)
2321 continue ;; 2214 continue ;;
2322 *\'*) 2215 *\'*)
2323 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2216 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2324 esac 2217 esac
2325 case $ac_pass in 2218 case $ac_pass in
2326 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2219 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2327 2) 2220 2)
2328 as_fn_append ac_configure_args1 " '$ac_arg'" 2221 as_fn_append ac_configure_args1 " '$ac_arg'"
2353# config.log. We remove comments because anyway the quotes in there 2246# config.log. We remove comments because anyway the quotes in there
2354# would cause problems or look ugly. 2247# would cause problems or look ugly.
2355# WARNING: Use '\'' to represent an apostrophe within the trap. 2248# WARNING: Use '\'' to represent an apostrophe within the trap.
2356# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2249# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2357trap 'exit_status=$? 2250trap 'exit_status=$?
2251 # Sanitize IFS.
2252 IFS=" "" $as_nl"
2358 # Save into config.log some information that might help in debugging. 2253 # Save into config.log some information that might help in debugging.
2359 { 2254 {
2360 echo 2255 echo
2361 2256
2362 $as_echo "## ---------------- ## 2257 printf "%s\n" "## ---------------- ##
2363## Cache variables. ## 2258## Cache variables. ##
2364## ---------------- ##" 2259## ---------------- ##"
2365 echo 2260 echo
2366 # The following way of writing the cache mishandles newlines in values, 2261 # The following way of writing the cache mishandles newlines in values,
2367( 2262(
2368 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2263 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2369 eval ac_val=\$$ac_var 2264 eval ac_val=\$$ac_var
2370 case $ac_val in #( 2265 case $ac_val in #(
2371 *${as_nl}*) 2266 *${as_nl}*)
2372 case $ac_var in #( 2267 case $ac_var in #(
2373 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2268 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2374$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2269printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2375 esac 2270 esac
2376 case $ac_var in #( 2271 case $ac_var in #(
2377 _ | IFS | as_nl) ;; #( 2272 _ | IFS | as_nl) ;; #(
2378 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2273 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2379 *) { eval $ac_var=; unset $ac_var;} ;; 2274 *) { eval $ac_var=; unset $ac_var;} ;;
2393 esac | 2288 esac |
2394 sort 2289 sort
2395) 2290)
2396 echo 2291 echo
2397 2292
2398 $as_echo "## ----------------- ## 2293 printf "%s\n" "## ----------------- ##
2399## Output variables. ## 2294## Output variables. ##
2400## ----------------- ##" 2295## ----------------- ##"
2401 echo 2296 echo
2402 for ac_var in $ac_subst_vars 2297 for ac_var in $ac_subst_vars
2403 do 2298 do
2404 eval ac_val=\$$ac_var 2299 eval ac_val=\$$ac_var
2405 case $ac_val in 2300 case $ac_val in
2406 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2301 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2407 esac 2302 esac
2408 $as_echo "$ac_var='\''$ac_val'\''" 2303 printf "%s\n" "$ac_var='\''$ac_val'\''"
2409 done | sort 2304 done | sort
2410 echo 2305 echo
2411 2306
2412 if test -n "$ac_subst_files"; then 2307 if test -n "$ac_subst_files"; then
2413 $as_echo "## ------------------- ## 2308 printf "%s\n" "## ------------------- ##
2414## File substitutions. ## 2309## File substitutions. ##
2415## ------------------- ##" 2310## ------------------- ##"
2416 echo 2311 echo
2417 for ac_var in $ac_subst_files 2312 for ac_var in $ac_subst_files
2418 do 2313 do
2419 eval ac_val=\$$ac_var 2314 eval ac_val=\$$ac_var
2420 case $ac_val in 2315 case $ac_val in
2421 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2316 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2422 esac 2317 esac
2423 $as_echo "$ac_var='\''$ac_val'\''" 2318 printf "%s\n" "$ac_var='\''$ac_val'\''"
2424 done | sort 2319 done | sort
2425 echo 2320 echo
2426 fi 2321 fi
2427 2322
2428 if test -s confdefs.h; then 2323 if test -s confdefs.h; then
2429 $as_echo "## ----------- ## 2324 printf "%s\n" "## ----------- ##
2430## confdefs.h. ## 2325## confdefs.h. ##
2431## ----------- ##" 2326## ----------- ##"
2432 echo 2327 echo
2433 cat confdefs.h 2328 cat confdefs.h
2434 echo 2329 echo
2435 fi 2330 fi
2436 test "$ac_signal" != 0 && 2331 test "$ac_signal" != 0 &&
2437 $as_echo "$as_me: caught signal $ac_signal" 2332 printf "%s\n" "$as_me: caught signal $ac_signal"
2438 $as_echo "$as_me: exit $exit_status" 2333 printf "%s\n" "$as_me: exit $exit_status"
2439 } >&5 2334 } >&5
2440 rm -f core *.core core.conftest.* && 2335 rm -f core *.core core.conftest.* &&
2441 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2336 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2442 exit $exit_status 2337 exit $exit_status
2443' 0 2338' 0
2447ac_signal=0 2342ac_signal=0
2448 2343
2449# confdefs.h avoids OS command line length limits that DEFS can exceed. 2344# confdefs.h avoids OS command line length limits that DEFS can exceed.
2450rm -f -r conftest* confdefs.h 2345rm -f -r conftest* confdefs.h
2451 2346
2452$as_echo "/* confdefs.h */" > confdefs.h 2347printf "%s\n" "/* confdefs.h */" > confdefs.h
2453 2348
2454# Predefined preprocessor variables. 2349# Predefined preprocessor variables.
2455 2350
2456cat >>confdefs.h <<_ACEOF 2351printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2457#define PACKAGE_NAME "$PACKAGE_NAME"
2458_ACEOF
2459 2352
2460cat >>confdefs.h <<_ACEOF 2353printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2461#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2462_ACEOF
2463 2354
2464cat >>confdefs.h <<_ACEOF 2355printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2465#define PACKAGE_VERSION "$PACKAGE_VERSION"
2466_ACEOF
2467 2356
2468cat >>confdefs.h <<_ACEOF 2357printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2469#define PACKAGE_STRING "$PACKAGE_STRING"
2470_ACEOF
2471 2358
2472cat >>confdefs.h <<_ACEOF 2359printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2473#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2474_ACEOF
2475 2360
2476cat >>confdefs.h <<_ACEOF 2361printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2477#define PACKAGE_URL "$PACKAGE_URL"
2478_ACEOF
2479 2362
2480 2363
2481# Let the site file select an alternate cache file if it wants to. 2364# Let the site file select an alternate cache file if it wants to.
2482# Prefer an explicitly selected file to automatically selected ones. 2365# Prefer an explicitly selected file to automatically selected ones.
2483ac_site_file1=NONE
2484ac_site_file2=NONE
2485if test -n "$CONFIG_SITE"; then 2366if test -n "$CONFIG_SITE"; then
2486 # We do not want a PATH search for config.site.
2487 case $CONFIG_SITE in #((
2488 -*) ac_site_file1=./$CONFIG_SITE;;
2489 */*) ac_site_file1=$CONFIG_SITE;; 2367 ac_site_files="$CONFIG_SITE"
2490 *) ac_site_file1=./$CONFIG_SITE;;
2491 esac
2492elif test "x$prefix" != xNONE; then 2368elif test "x$prefix" != xNONE; then
2493 ac_site_file1=$prefix/share/config.site 2369 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2494 ac_site_file2=$prefix/etc/config.site
2495else 2370else
2496 ac_site_file1=$ac_default_prefix/share/config.site 2371 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2497 ac_site_file2=$ac_default_prefix/etc/config.site
2498fi 2372fi
2373
2499for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2374for ac_site_file in $ac_site_files
2500do 2375do
2501 test "x$ac_site_file" = xNONE && continue 2376 case $ac_site_file in #(
2377 */*) :
2378 ;; #(
2379 *) :
2380 ac_site_file=./$ac_site_file ;;
2381esac
2502 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2382 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2504$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2384printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2505 sed 's/^/| /' "$ac_site_file" >&5 2385 sed 's/^/| /' "$ac_site_file" >&5
2506 . "$ac_site_file" \ 2386 . "$ac_site_file" \
2507 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2387 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2508$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2388printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2509as_fn_error $? "failed to load site script $ac_site_file 2389as_fn_error $? "failed to load site script $ac_site_file
2510See \`config.log' for more details" "$LINENO" 5 ; } 2390See \`config.log' for more details" "$LINENO" 5; }
2511 fi 2391 fi
2512done 2392done
2513 2393
2514if test -r "$cache_file"; then 2394if test -r "$cache_file"; then
2515 # Some versions of bash will fail to source /dev/null (special files 2395 # Some versions of bash will fail to source /dev/null (special files
2516 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2396 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2517 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2397 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2519$as_echo "$as_me: loading cache $cache_file" >&6;} 2399printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2520 case $cache_file in 2400 case $cache_file in
2521 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2401 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2522 *) . "./$cache_file";; 2402 *) . "./$cache_file";;
2523 esac 2403 esac
2524 fi 2404 fi
2525else 2405else
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2527$as_echo "$as_me: creating cache $cache_file" >&6;} 2407printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2528 >$cache_file 2408 >$cache_file
2409fi
2410
2411# Test code for whether the C compiler supports C89 (global declarations)
2412ac_c_conftest_c89_globals='
2413/* Does the compiler advertise C89 conformance?
2414 Do not test the value of __STDC__, because some compilers set it to 0
2415 while being otherwise adequately conformant. */
2416#if !defined __STDC__
2417# error "Compiler does not advertise C89 conformance"
2418#endif
2419
2420#include <stddef.h>
2421#include <stdarg.h>
2422struct stat;
2423/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2424struct buf { int x; };
2425struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2426static char *e (p, i)
2427 char **p;
2428 int i;
2429{
2430 return p[i];
2431}
2432static char *f (char * (*g) (char **, int), char **p, ...)
2433{
2434 char *s;
2435 va_list v;
2436 va_start (v,p);
2437 s = g (p, va_arg (v,int));
2438 va_end (v);
2439 return s;
2440}
2441
2442/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2443 function prototypes and stuff, but not \xHH hex character constants.
2444 These do not provoke an error unfortunately, instead are silently treated
2445 as an "x". The following induces an error, until -std is added to get
2446 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2447 array size at least. It is necessary to write \x00 == 0 to get something
2448 that is true only with -std. */
2449int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2450
2451/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2452 inside strings and character constants. */
2453#define FOO(x) '\''x'\''
2454int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2455
2456int test (int i, double x);
2457struct s1 {int (*f) (int a);};
2458struct s2 {int (*f) (double a);};
2459int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2460 int, int);'
2461
2462# Test code for whether the C compiler supports C89 (body of main).
2463ac_c_conftest_c89_main='
2464ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2465'
2466
2467# Test code for whether the C compiler supports C99 (global declarations)
2468ac_c_conftest_c99_globals='
2469// Does the compiler advertise C99 conformance?
2470#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2471# error "Compiler does not advertise C99 conformance"
2472#endif
2473
2474#include <stdbool.h>
2475extern int puts (const char *);
2476extern int printf (const char *, ...);
2477extern int dprintf (int, const char *, ...);
2478extern void *malloc (size_t);
2479
2480// Check varargs macros. These examples are taken from C99 6.10.3.5.
2481// dprintf is used instead of fprintf to avoid needing to declare
2482// FILE and stderr.
2483#define debug(...) dprintf (2, __VA_ARGS__)
2484#define showlist(...) puts (#__VA_ARGS__)
2485#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2486static void
2487test_varargs_macros (void)
2488{
2489 int x = 1234;
2490 int y = 5678;
2491 debug ("Flag");
2492 debug ("X = %d\n", x);
2493 showlist (The first, second, and third items.);
2494 report (x>y, "x is %d but y is %d", x, y);
2495}
2496
2497// Check long long types.
2498#define BIG64 18446744073709551615ull
2499#define BIG32 4294967295ul
2500#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2501#if !BIG_OK
2502 #error "your preprocessor is broken"
2503#endif
2504#if BIG_OK
2505#else
2506 #error "your preprocessor is broken"
2507#endif
2508static long long int bignum = -9223372036854775807LL;
2509static unsigned long long int ubignum = BIG64;
2510
2511struct incomplete_array
2512{
2513 int datasize;
2514 double data[];
2515};
2516
2517struct named_init {
2518 int number;
2519 const wchar_t *name;
2520 double average;
2521};
2522
2523typedef const char *ccp;
2524
2525static inline int
2526test_restrict (ccp restrict text)
2527{
2528 // See if C++-style comments work.
2529 // Iterate through items via the restricted pointer.
2530 // Also check for declarations in for loops.
2531 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2532 continue;
2533 return 0;
2534}
2535
2536// Check varargs and va_copy.
2537static bool
2538test_varargs (const char *format, ...)
2539{
2540 va_list args;
2541 va_start (args, format);
2542 va_list args_copy;
2543 va_copy (args_copy, args);
2544
2545 const char *str = "";
2546 int number = 0;
2547 float fnumber = 0;
2548
2549 while (*format)
2550 {
2551 switch (*format++)
2552 {
2553 case '\''s'\'': // string
2554 str = va_arg (args_copy, const char *);
2555 break;
2556 case '\''d'\'': // int
2557 number = va_arg (args_copy, int);
2558 break;
2559 case '\''f'\'': // float
2560 fnumber = va_arg (args_copy, double);
2561 break;
2562 default:
2563 break;
2564 }
2565 }
2566 va_end (args_copy);
2567 va_end (args);
2568
2569 return *str && number && fnumber;
2570}
2571'
2572
2573# Test code for whether the C compiler supports C99 (body of main).
2574ac_c_conftest_c99_main='
2575 // Check bool.
2576 _Bool success = false;
2577 success |= (argc != 0);
2578
2579 // Check restrict.
2580 if (test_restrict ("String literal") == 0)
2581 success = true;
2582 char *restrict newvar = "Another string";
2583
2584 // Check varargs.
2585 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2586 test_varargs_macros ();
2587
2588 // Check flexible array members.
2589 struct incomplete_array *ia =
2590 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2591 ia->datasize = 10;
2592 for (int i = 0; i < ia->datasize; ++i)
2593 ia->data[i] = i * 1.234;
2594
2595 // Check named initializers.
2596 struct named_init ni = {
2597 .number = 34,
2598 .name = L"Test wide string",
2599 .average = 543.34343,
2600 };
2601
2602 ni.number = 58;
2603
2604 int dynamic_array[ni.number];
2605 dynamic_array[0] = argv[0][0];
2606 dynamic_array[ni.number - 1] = 543;
2607
2608 // work around unused variable warnings
2609 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2610 || dynamic_array[ni.number - 1] != 543);
2611'
2612
2613# Test code for whether the C compiler supports C11 (global declarations)
2614ac_c_conftest_c11_globals='
2615// Does the compiler advertise C11 conformance?
2616#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2617# error "Compiler does not advertise C11 conformance"
2618#endif
2619
2620// Check _Alignas.
2621char _Alignas (double) aligned_as_double;
2622char _Alignas (0) no_special_alignment;
2623extern char aligned_as_int;
2624char _Alignas (0) _Alignas (int) aligned_as_int;
2625
2626// Check _Alignof.
2627enum
2628{
2629 int_alignment = _Alignof (int),
2630 int_array_alignment = _Alignof (int[100]),
2631 char_alignment = _Alignof (char)
2632};
2633_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2634
2635// Check _Noreturn.
2636int _Noreturn does_not_return (void) { for (;;) continue; }
2637
2638// Check _Static_assert.
2639struct test_static_assert
2640{
2641 int x;
2642 _Static_assert (sizeof (int) <= sizeof (long int),
2643 "_Static_assert does not work in struct");
2644 long int y;
2645};
2646
2647// Check UTF-8 literals.
2648#define u8 syntax error!
2649char const utf8_literal[] = u8"happens to be ASCII" "another string";
2650
2651// Check duplicate typedefs.
2652typedef long *long_ptr;
2653typedef long int *long_ptr;
2654typedef long_ptr long_ptr;
2655
2656// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2657struct anonymous
2658{
2659 union {
2660 struct { int i; int j; };
2661 struct { int k; long int l; } w;
2662 };
2663 int m;
2664} v1;
2665'
2666
2667# Test code for whether the C compiler supports C11 (body of main).
2668ac_c_conftest_c11_main='
2669 _Static_assert ((offsetof (struct anonymous, i)
2670 == offsetof (struct anonymous, w.k)),
2671 "Anonymous union alignment botch");
2672 v1.i = 2;
2673 v1.w.k = 5;
2674 ok |= v1.i != 5;
2675'
2676
2677# Test code for whether the C compiler supports C11 (complete).
2678ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2679${ac_c_conftest_c99_globals}
2680${ac_c_conftest_c11_globals}
2681
2682int
2683main (int argc, char **argv)
2684{
2685 int ok = 0;
2686 ${ac_c_conftest_c89_main}
2687 ${ac_c_conftest_c99_main}
2688 ${ac_c_conftest_c11_main}
2689 return ok;
2690}
2691"
2692
2693# Test code for whether the C compiler supports C99 (complete).
2694ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2695${ac_c_conftest_c99_globals}
2696
2697int
2698main (int argc, char **argv)
2699{
2700 int ok = 0;
2701 ${ac_c_conftest_c89_main}
2702 ${ac_c_conftest_c99_main}
2703 return ok;
2704}
2705"
2706
2707# Test code for whether the C compiler supports C89 (complete).
2708ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2709
2710int
2711main (int argc, char **argv)
2712{
2713 int ok = 0;
2714 ${ac_c_conftest_c89_main}
2715 return ok;
2716}
2717"
2718
2719# Test code for whether the C++ compiler supports C++98 (global declarations)
2720ac_cxx_conftest_cxx98_globals='
2721// Does the compiler advertise C++98 conformance?
2722#if !defined __cplusplus || __cplusplus < 199711L
2723# error "Compiler does not advertise C++98 conformance"
2724#endif
2725
2726// These inclusions are to reject old compilers that
2727// lack the unsuffixed header files.
2728#include <cstdlib>
2729#include <exception>
2730
2731// <cassert> and <cstring> are *not* freestanding headers in C++98.
2732extern void assert (int);
2733namespace std {
2734 extern int strcmp (const char *, const char *);
2735}
2736
2737// Namespaces, exceptions, and templates were all added after "C++ 2.0".
2738using std::exception;
2739using std::strcmp;
2740
2741namespace {
2742
2743void test_exception_syntax()
2744{
2745 try {
2746 throw "test";
2747 } catch (const char *s) {
2748 // Extra parentheses suppress a warning when building autoconf itself,
2749 // due to lint rules shared with more typical C programs.
2750 assert (!(strcmp) (s, "test"));
2751 }
2752}
2753
2754template <typename T> struct test_template
2755{
2756 T const val;
2757 explicit test_template(T t) : val(t) {}
2758 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
2759};
2760
2761} // anonymous namespace
2762'
2763
2764# Test code for whether the C++ compiler supports C++98 (body of main)
2765ac_cxx_conftest_cxx98_main='
2766 assert (argc);
2767 assert (! argv[0]);
2768{
2769 test_exception_syntax ();
2770 test_template<double> tt (2.0);
2771 assert (tt.add (4) == 6.0);
2772 assert (true && !false);
2773}
2774'
2775
2776# Test code for whether the C++ compiler supports C++11 (global declarations)
2777ac_cxx_conftest_cxx11_globals='
2778// Does the compiler advertise C++ 2011 conformance?
2779#if !defined __cplusplus || __cplusplus < 201103L
2780# error "Compiler does not advertise C++11 conformance"
2781#endif
2782
2783namespace cxx11test
2784{
2785 constexpr int get_val() { return 20; }
2786
2787 struct testinit
2788 {
2789 int i;
2790 double d;
2791 };
2792
2793 class delegate
2794 {
2795 public:
2796 delegate(int n) : n(n) {}
2797 delegate(): delegate(2354) {}
2798
2799 virtual int getval() { return this->n; };
2800 protected:
2801 int n;
2802 };
2803
2804 class overridden : public delegate
2805 {
2806 public:
2807 overridden(int n): delegate(n) {}
2808 virtual int getval() override final { return this->n * 2; }
2809 };
2810
2811 class nocopy
2812 {
2813 public:
2814 nocopy(int i): i(i) {}
2815 nocopy() = default;
2816 nocopy(const nocopy&) = delete;
2817 nocopy & operator=(const nocopy&) = delete;
2818 private:
2819 int i;
2820 };
2821
2822 // for testing lambda expressions
2823 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
2824 {
2825 return f(v);
2826 }
2827
2828 // for testing variadic templates and trailing return types
2829 template <typename V> auto sum(V first) -> V
2830 {
2831 return first;
2832 }
2833 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
2834 {
2835 return first + sum(rest...);
2836 }
2837}
2838'
2839
2840# Test code for whether the C++ compiler supports C++11 (body of main)
2841ac_cxx_conftest_cxx11_main='
2842{
2843 // Test auto and decltype
2844 auto a1 = 6538;
2845 auto a2 = 48573953.4;
2846 auto a3 = "String literal";
2847
2848 int total = 0;
2849 for (auto i = a3; *i; ++i) { total += *i; }
2850
2851 decltype(a2) a4 = 34895.034;
2852}
2853{
2854 // Test constexpr
2855 short sa[cxx11test::get_val()] = { 0 };
2856}
2857{
2858 // Test initializer lists
2859 cxx11test::testinit il = { 4323, 435234.23544 };
2860}
2861{
2862 // Test range-based for
2863 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
2864 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
2865 for (auto &x : array) { x += 23; }
2866}
2867{
2868 // Test lambda expressions
2869 using cxx11test::eval;
2870 assert (eval ([](int x) { return x*2; }, 21) == 42);
2871 double d = 2.0;
2872 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
2873 assert (d == 5.0);
2874 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
2875 assert (d == 5.0);
2876}
2877{
2878 // Test use of variadic templates
2879 using cxx11test::sum;
2880 auto a = sum(1);
2881 auto b = sum(1, 2);
2882 auto c = sum(1.0, 2.0, 3.0);
2883}
2884{
2885 // Test constructor delegation
2886 cxx11test::delegate d1;
2887 cxx11test::delegate d2();
2888 cxx11test::delegate d3(45);
2889}
2890{
2891 // Test override and final
2892 cxx11test::overridden o1(55464);
2893}
2894{
2895 // Test nullptr
2896 char *c = nullptr;
2897}
2898{
2899 // Test template brackets
2900 test_template<::test_template<int>> v(test_template<int>(12));
2901}
2902{
2903 // Unicode literals
2904 char const *utf8 = u8"UTF-8 string \u2500";
2905 char16_t const *utf16 = u"UTF-8 string \u2500";
2906 char32_t const *utf32 = U"UTF-32 string \u2500";
2907}
2908'
2909
2910# Test code for whether the C compiler supports C++11 (complete).
2911ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
2912${ac_cxx_conftest_cxx11_globals}
2913
2914int
2915main (int argc, char **argv)
2916{
2917 int ok = 0;
2918 ${ac_cxx_conftest_cxx98_main}
2919 ${ac_cxx_conftest_cxx11_main}
2920 return ok;
2921}
2922"
2923
2924# Test code for whether the C compiler supports C++98 (complete).
2925ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
2926int
2927main (int argc, char **argv)
2928{
2929 int ok = 0;
2930 ${ac_cxx_conftest_cxx98_main}
2931 return ok;
2932}
2933"
2934
2935as_fn_append ac_header_cxx_list " stdio.h stdio_h HAVE_STDIO_H"
2936as_fn_append ac_header_cxx_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2937as_fn_append ac_header_cxx_list " string.h string_h HAVE_STRING_H"
2938as_fn_append ac_header_cxx_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2939as_fn_append ac_header_cxx_list " stdint.h stdint_h HAVE_STDINT_H"
2940as_fn_append ac_header_cxx_list " strings.h strings_h HAVE_STRINGS_H"
2941as_fn_append ac_header_cxx_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2942as_fn_append ac_header_cxx_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2943as_fn_append ac_header_cxx_list " unistd.h unistd_h HAVE_UNISTD_H"
2944as_fn_append ac_header_cxx_list " sys/time.h sys_time_h HAVE_SYS_TIME_H"
2945
2946# Auxiliary files required by this configure script.
2947ac_aux_files="compile missing install-sh config.guess config.sub"
2948
2949# Locations in which to look for auxiliary files.
2950ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2951
2952# Search for a directory containing all of the required auxiliary files,
2953# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2954# If we don't find one directory that contains all the files we need,
2955# we report the set of missing files from the *first* directory in
2956# $ac_aux_dir_candidates and give up.
2957ac_missing_aux_files=""
2958ac_first_candidate=:
2959printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961as_found=false
2962for as_dir in $ac_aux_dir_candidates
2963do
2964 IFS=$as_save_IFS
2965 case $as_dir in #(((
2966 '') as_dir=./ ;;
2967 */) ;;
2968 *) as_dir=$as_dir/ ;;
2969 esac
2970 as_found=:
2971
2972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2973 ac_aux_dir_found=yes
2974 ac_install_sh=
2975 for ac_aux in $ac_aux_files
2976 do
2977 # As a special case, if "install-sh" is required, that requirement
2978 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2979 # and $ac_install_sh is set appropriately for whichever one is found.
2980 if test x"$ac_aux" = x"install-sh"
2981 then
2982 if test -f "${as_dir}install-sh"; then
2983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2984 ac_install_sh="${as_dir}install-sh -c"
2985 elif test -f "${as_dir}install.sh"; then
2986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2987 ac_install_sh="${as_dir}install.sh -c"
2988 elif test -f "${as_dir}shtool"; then
2989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2990 ac_install_sh="${as_dir}shtool install -c"
2991 else
2992 ac_aux_dir_found=no
2993 if $ac_first_candidate; then
2994 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2995 else
2996 break
2997 fi
2998 fi
2999 else
3000 if test -f "${as_dir}${ac_aux}"; then
3001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3002 else
3003 ac_aux_dir_found=no
3004 if $ac_first_candidate; then
3005 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3006 else
3007 break
3008 fi
3009 fi
3010 fi
3011 done
3012 if test "$ac_aux_dir_found" = yes; then
3013 ac_aux_dir="$as_dir"
3014 break
3015 fi
3016 ac_first_candidate=false
3017
3018 as_found=false
3019done
3020IFS=$as_save_IFS
3021if $as_found
3022then :
3023
3024else $as_nop
3025 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3026fi
3027
3028
3029# These three variables are undocumented and unsupported,
3030# and are intended to be withdrawn in a future Autoconf release.
3031# They can cause serious problems if a builder's source tree is in a directory
3032# whose full name contains unusual characters.
3033if test -f "${ac_aux_dir}config.guess"; then
3034 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3035fi
3036if test -f "${ac_aux_dir}config.sub"; then
3037 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3038fi
3039if test -f "$ac_aux_dir/configure"; then
3040 ac_configure="$SHELL ${ac_aux_dir}configure"
2529fi 3041fi
2530 3042
2531# Check that the precious variables saved in the cache have kept the same 3043# Check that the precious variables saved in the cache have kept the same
2532# value. 3044# value.
2533ac_cache_corrupted=false 3045ac_cache_corrupted=false
2536 eval ac_new_set=\$ac_env_${ac_var}_set 3048 eval ac_new_set=\$ac_env_${ac_var}_set
2537 eval ac_old_val=\$ac_cv_env_${ac_var}_value 3049 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2538 eval ac_new_val=\$ac_env_${ac_var}_value 3050 eval ac_new_val=\$ac_env_${ac_var}_value
2539 case $ac_old_set,$ac_new_set in 3051 case $ac_old_set,$ac_new_set in
2540 set,) 3052 set,)
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 3053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2542$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 3054printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2543 ac_cache_corrupted=: ;; 3055 ac_cache_corrupted=: ;;
2544 ,set) 3056 ,set)
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 3057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2546$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 3058printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2547 ac_cache_corrupted=: ;; 3059 ac_cache_corrupted=: ;;
2548 ,);; 3060 ,);;
2549 *) 3061 *)
2550 if test "x$ac_old_val" != "x$ac_new_val"; then 3062 if test "x$ac_old_val" != "x$ac_new_val"; then
2551 # differences in whitespace do not lead to failure. 3063 # differences in whitespace do not lead to failure.
2552 ac_old_val_w=`echo x $ac_old_val` 3064 ac_old_val_w=`echo x $ac_old_val`
2553 ac_new_val_w=`echo x $ac_new_val` 3065 ac_new_val_w=`echo x $ac_new_val`
2554 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3066 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 3067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2556$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 3068printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2557 ac_cache_corrupted=: 3069 ac_cache_corrupted=:
2558 else 3070 else
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 3071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2560$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 3072printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2561 eval $ac_var=\$ac_old_val 3073 eval $ac_var=\$ac_old_val
2562 fi 3074 fi
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 3075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2564$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 3076printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 3077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2566$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 3078printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2567 fi;; 3079 fi;;
2568 esac 3080 esac
2569 # Pass precious variables to config.status. 3081 # Pass precious variables to config.status.
2570 if test "$ac_new_set" = set; then 3082 if test "$ac_new_set" = set; then
2571 case $ac_new_val in 3083 case $ac_new_val in
2572 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 3084 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2573 *) ac_arg=$ac_var=$ac_new_val ;; 3085 *) ac_arg=$ac_var=$ac_new_val ;;
2574 esac 3086 esac
2575 case " $ac_configure_args " in 3087 case " $ac_configure_args " in
2576 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3088 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2577 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 3089 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2578 esac 3090 esac
2579 fi 3091 fi
2580done 3092done
2581if $ac_cache_corrupted; then 3093if $ac_cache_corrupted; then
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2583$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3095printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2585$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3097printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2586 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3098 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3099 and start over" "$LINENO" 5
2587fi 3100fi
2588## -------------------- ## 3101## -------------------- ##
2589## Main body of script. ## 3102## Main body of script. ##
2590## -------------------- ## 3103## -------------------- ##
2591 3104
2595ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3108ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2596ac_compiler_gnu=$ac_cv_c_compiler_gnu 3109ac_compiler_gnu=$ac_cv_c_compiler_gnu
2597 3110
2598 3111
2599 3112
2600ac_aux_dir=
2601for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2602 if test -f "$ac_dir/install-sh"; then
2603 ac_aux_dir=$ac_dir
2604 ac_install_sh="$ac_aux_dir/install-sh -c"
2605 break
2606 elif test -f "$ac_dir/install.sh"; then
2607 ac_aux_dir=$ac_dir
2608 ac_install_sh="$ac_aux_dir/install.sh -c"
2609 break
2610 elif test -f "$ac_dir/shtool"; then
2611 ac_aux_dir=$ac_dir
2612 ac_install_sh="$ac_aux_dir/shtool install -c"
2613 break
2614 fi
2615done
2616if test -z "$ac_aux_dir"; then
2617 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2618fi
2619 3113
2620# These three variables are undocumented and unsupported,
2621# and are intended to be withdrawn in a future Autoconf release.
2622# They can cause serious problems if a builder's source tree is in a directory
2623# whose full name contains unusual characters.
2624ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2625ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2626ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2627 3114
2628 3115
2629# Make sure we can run config.sub. 3116 # Make sure we can run config.sub.
2630$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3117$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
2631 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3118 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
2632 3119
2633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3120{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2634$as_echo_n "checking build system type... " >&6; } 3121printf %s "checking build system type... " >&6; }
2635if test "${ac_cv_build+set}" = set; then : 3122if test ${ac_cv_build+y}
2636 $as_echo_n "(cached) " >&6 3123then :
2637else 3124 printf %s "(cached) " >&6
3125else $as_nop
2638 ac_build_alias=$build_alias 3126 ac_build_alias=$build_alias
2639test "x$ac_build_alias" = x && 3127test "x$ac_build_alias" = x &&
2640 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3128 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
2641test "x$ac_build_alias" = x && 3129test "x$ac_build_alias" = x &&
2642 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3130 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2643ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3131ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
2644 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3132 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
2645 3133
2646fi 3134fi
2647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3135{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2648$as_echo "$ac_cv_build" >&6; } 3136printf "%s\n" "$ac_cv_build" >&6; }
2649case $ac_cv_build in 3137case $ac_cv_build in
2650*-*-*) ;; 3138*-*-*) ;;
2651*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 3139*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2652esac 3140esac
2653build=$ac_cv_build 3141build=$ac_cv_build
2654ac_save_IFS=$IFS; IFS='-' 3142ac_save_IFS=$IFS; IFS='-'
2655set x $ac_cv_build 3143set x $ac_cv_build
2656shift 3144shift
2662build_os=$* 3150build_os=$*
2663IFS=$ac_save_IFS 3151IFS=$ac_save_IFS
2664case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3152case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2665 3153
2666 3154
2667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3155{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2668$as_echo_n "checking host system type... " >&6; } 3156printf %s "checking host system type... " >&6; }
2669if test "${ac_cv_host+set}" = set; then : 3157if test ${ac_cv_host+y}
2670 $as_echo_n "(cached) " >&6 3158then :
2671else 3159 printf %s "(cached) " >&6
3160else $as_nop
2672 if test "x$host_alias" = x; then 3161 if test "x$host_alias" = x; then
2673 ac_cv_host=$ac_cv_build 3162 ac_cv_host=$ac_cv_build
2674else 3163else
2675 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3164 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
2676 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3165 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
2677fi 3166fi
2678 3167
2679fi 3168fi
2680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3169{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2681$as_echo "$ac_cv_host" >&6; } 3170printf "%s\n" "$ac_cv_host" >&6; }
2682case $ac_cv_host in 3171case $ac_cv_host in
2683*-*-*) ;; 3172*-*-*) ;;
2684*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 3173*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2685esac 3174esac
2686host=$ac_cv_host 3175host=$ac_cv_host
2687ac_save_IFS=$IFS; IFS='-' 3176ac_save_IFS=$IFS; IFS='-'
2688set x $ac_cv_host 3177set x $ac_cv_host
2689shift 3178shift
2695host_os=$* 3184host_os=$*
2696IFS=$ac_save_IFS 3185IFS=$ac_save_IFS
2697case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3186case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2698 3187
2699 3188
2700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 3189{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2701$as_echo_n "checking target system type... " >&6; } 3190printf %s "checking target system type... " >&6; }
2702if test "${ac_cv_target+set}" = set; then : 3191if test ${ac_cv_target+y}
2703 $as_echo_n "(cached) " >&6 3192then :
2704else 3193 printf %s "(cached) " >&6
3194else $as_nop
2705 if test "x$target_alias" = x; then 3195 if test "x$target_alias" = x; then
2706 ac_cv_target=$ac_cv_host 3196 ac_cv_target=$ac_cv_host
2707else 3197else
2708 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 3198 ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` ||
2709 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 3199 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5
2710fi 3200fi
2711 3201
2712fi 3202fi
2713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 3203{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2714$as_echo "$ac_cv_target" >&6; } 3204printf "%s\n" "$ac_cv_target" >&6; }
2715case $ac_cv_target in 3205case $ac_cv_target in
2716*-*-*) ;; 3206*-*-*) ;;
2717*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 3207*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2718esac 3208esac
2719target=$ac_cv_target 3209target=$ac_cv_target
2720ac_save_IFS=$IFS; IFS='-' 3210ac_save_IFS=$IFS; IFS='-'
2721set x $ac_cv_target 3211set x $ac_cv_target
2722shift 3212shift
2734# will get canonicalized. 3224# will get canonicalized.
2735test -n "$target_alias" && 3225test -n "$target_alias" &&
2736 test "$program_prefix$program_suffix$program_transform_name" = \ 3226 test "$program_prefix$program_suffix$program_transform_name" = \
2737 NONENONEs,x,x, && 3227 NONENONEs,x,x, &&
2738 program_prefix=${target_alias}- 3228 program_prefix=${target_alias}-
2739am__api_version='1.11' 3229am__api_version='1.16'
2740 3230
3231
2741# Find a good install program. We prefer a C program (faster), 3232 # Find a good install program. We prefer a C program (faster),
2742# so one script is as good as another. But avoid the broken or 3233# so one script is as good as another. But avoid the broken or
2743# incompatible versions: 3234# incompatible versions:
2744# SysV /etc/install, /usr/sbin/install 3235# SysV /etc/install, /usr/sbin/install
2745# SunOS /usr/etc/install 3236# SunOS /usr/etc/install
2746# IRIX /sbin/install 3237# IRIX /sbin/install
2750# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3241# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2751# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3242# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2752# OS/2's system install, which has a completely different semantic 3243# OS/2's system install, which has a completely different semantic
2753# ./install, which can be erroneously created by make from ./install.sh. 3244# ./install, which can be erroneously created by make from ./install.sh.
2754# Reject install programs that cannot install multiple files. 3245# Reject install programs that cannot install multiple files.
2755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3246{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2756$as_echo_n "checking for a BSD-compatible install... " >&6; } 3247printf %s "checking for a BSD-compatible install... " >&6; }
2757if test -z "$INSTALL"; then 3248if test -z "$INSTALL"; then
2758if test "${ac_cv_path_install+set}" = set; then : 3249if test ${ac_cv_path_install+y}
2759 $as_echo_n "(cached) " >&6 3250then :
2760else 3251 printf %s "(cached) " >&6
3252else $as_nop
2761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2762for as_dir in $PATH 3254for as_dir in $PATH
2763do 3255do
2764 IFS=$as_save_IFS 3256 IFS=$as_save_IFS
2765 test -z "$as_dir" && as_dir=. 3257 case $as_dir in #(((
3258 '') as_dir=./ ;;
3259 */) ;;
3260 *) as_dir=$as_dir/ ;;
3261 esac
2766 # Account for people who put trailing slashes in PATH elements. 3262 # Account for fact that we put trailing slashes in our PATH walk.
2767case $as_dir/ in #(( 3263case $as_dir in #((
2768 ./ | .// | /[cC]/* | \ 3264 ./ | /[cC]/* | \
2769 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3265 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2770 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3266 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2771 /usr/ucb/* ) ;; 3267 /usr/ucb/* ) ;;
2772 *) 3268 *)
2773 # OSF1 and SCO ODT 3.0 have their own names for install. 3269 # OSF1 and SCO ODT 3.0 have their own names for install.
2774 # Don't use installbsd from OSF since it installs stuff as root 3270 # Don't use installbsd from OSF since it installs stuff as root
2775 # by default. 3271 # by default.
2776 for ac_prog in ginstall scoinst install; do 3272 for ac_prog in ginstall scoinst install; do
2777 for ac_exec_ext in '' $ac_executable_extensions; do 3273 for ac_exec_ext in '' $ac_executable_extensions; do
2778 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3274 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2779 if test $ac_prog = install && 3275 if test $ac_prog = install &&
2780 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3276 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2781 # AIX install. It has an incompatible calling convention. 3277 # AIX install. It has an incompatible calling convention.
2782 : 3278 :
2783 elif test $ac_prog = install && 3279 elif test $ac_prog = install &&
2784 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3280 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2785 # program-specific install script used by HP pwplus--don't use. 3281 # program-specific install script used by HP pwplus--don't use.
2786 : 3282 :
2787 else 3283 else
2788 rm -rf conftest.one conftest.two conftest.dir 3284 rm -rf conftest.one conftest.two conftest.dir
2789 echo one > conftest.one 3285 echo one > conftest.one
2790 echo two > conftest.two 3286 echo two > conftest.two
2791 mkdir conftest.dir 3287 mkdir conftest.dir
2792 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3288 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2793 test -s conftest.one && test -s conftest.two && 3289 test -s conftest.one && test -s conftest.two &&
2794 test -s conftest.dir/conftest.one && 3290 test -s conftest.dir/conftest.one &&
2795 test -s conftest.dir/conftest.two 3291 test -s conftest.dir/conftest.two
2796 then 3292 then
2797 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3293 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2798 break 3 3294 break 3
2799 fi 3295 fi
2800 fi 3296 fi
2801 fi 3297 fi
2802 done 3298 done
2808IFS=$as_save_IFS 3304IFS=$as_save_IFS
2809 3305
2810rm -rf conftest.one conftest.two conftest.dir 3306rm -rf conftest.one conftest.two conftest.dir
2811 3307
2812fi 3308fi
2813 if test "${ac_cv_path_install+set}" = set; then 3309 if test ${ac_cv_path_install+y}; then
2814 INSTALL=$ac_cv_path_install 3310 INSTALL=$ac_cv_path_install
2815 else 3311 else
2816 # As a last resort, use the slow shell script. Don't cache a 3312 # As a last resort, use the slow shell script. Don't cache a
2817 # value for INSTALL within a source directory, because that will 3313 # value for INSTALL within a source directory, because that will
2818 # break other packages using the cache if that directory is 3314 # break other packages using the cache if that directory is
2819 # removed, or if the value is a relative name. 3315 # removed, or if the value is a relative name.
2820 INSTALL=$ac_install_sh 3316 INSTALL=$ac_install_sh
2821 fi 3317 fi
2822fi 3318fi
2823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3319{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2824$as_echo "$INSTALL" >&6; } 3320printf "%s\n" "$INSTALL" >&6; }
2825 3321
2826# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3322# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2827# It thinks the first close brace ends the variable substitution. 3323# It thinks the first close brace ends the variable substitution.
2828test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3324test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2829 3325
2830test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3326test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2831 3327
2832test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3328test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2833 3329
2834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3330{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2835$as_echo_n "checking whether build environment is sane... " >&6; } 3331printf %s "checking whether build environment is sane... " >&6; }
2836# Just in case
2837sleep 1
2838echo timestamp > conftest.file
2839# Reject unsafe characters in $srcdir or the absolute working directory 3332# Reject unsafe characters in $srcdir or the absolute working directory
2840# name. Accept space and tab only in the latter. 3333# name. Accept space and tab only in the latter.
2841am_lf=' 3334am_lf='
2842' 3335'
2843case `pwd` in 3336case `pwd` in
2844 *[\\\"\#\$\&\'\`$am_lf]*) 3337 *[\\\"\#\$\&\'\`$am_lf]*)
2845 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; 3338 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2846esac 3339esac
2847case $srcdir in 3340case $srcdir in
2848 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3341 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2849 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; 3342 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2850esac 3343esac
2851 3344
2852# Do `set' in a subshell so we don't clobber the current shell's 3345# Do 'set' in a subshell so we don't clobber the current shell's
2853# arguments. Must try -L first in case configure is actually a 3346# arguments. Must try -L first in case configure is actually a
2854# symlink; some systems play weird games with the mod time of symlinks 3347# symlink; some systems play weird games with the mod time of symlinks
2855# (eg FreeBSD returns the mod time of the symlink's containing 3348# (eg FreeBSD returns the mod time of the symlink's containing
2856# directory). 3349# directory).
2857if ( 3350if (
3351 am_has_slept=no
3352 for am_try in 1 2; do
3353 echo "timestamp, slept: $am_has_slept" > conftest.file
2858 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3354 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2859 if test "$*" = "X"; then 3355 if test "$*" = "X"; then
2860 # -L didn't work. 3356 # -L didn't work.
2861 set X `ls -t "$srcdir/configure" conftest.file` 3357 set X `ls -t "$srcdir/configure" conftest.file`
2862 fi 3358 fi
2863 rm -f conftest.file
2864 if test "$*" != "X $srcdir/configure conftest.file" \ 3359 if test "$*" != "X $srcdir/configure conftest.file" \
2865 && test "$*" != "X conftest.file $srcdir/configure"; then 3360 && test "$*" != "X conftest.file $srcdir/configure"; then
2866 3361
2867 # If neither matched, then we have a broken ls. This can happen 3362 # If neither matched, then we have a broken ls. This can happen
2868 # if, for instance, CONFIG_SHELL is bash and it inherits a 3363 # if, for instance, CONFIG_SHELL is bash and it inherits a
2869 # broken ls alias from the environment. This has actually 3364 # broken ls alias from the environment. This has actually
2870 # happened. Such a system could not be considered "sane". 3365 # happened. Such a system could not be considered "sane".
2871 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3366 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2872alias in your environment" "$LINENO" 5 3367 alias in your environment" "$LINENO" 5
2873 fi 3368 fi
2874 3369 if test "$2" = conftest.file || test $am_try -eq 2; then
3370 break
3371 fi
3372 # Just in case.
3373 sleep 1
3374 am_has_slept=yes
3375 done
2875 test "$2" = conftest.file 3376 test "$2" = conftest.file
2876 ) 3377 )
2877then 3378then
2878 # Ok. 3379 # Ok.
2879 : 3380 :
2880else 3381else
2881 as_fn_error $? "newly created file is older than distributed files! 3382 as_fn_error $? "newly created file is older than distributed files!
2882Check your system clock" "$LINENO" 5 3383Check your system clock" "$LINENO" 5
2883fi 3384fi
2884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3385{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2885$as_echo "yes" >&6; } 3386printf "%s\n" "yes" >&6; }
3387# If we didn't sleep, we still need to ensure time stamps of config.status and
3388# generated files are strictly newer.
3389am_sleep_pid=
3390if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3391 ( sleep 1 ) &
3392 am_sleep_pid=$!
3393fi
3394
3395rm -f conftest.file
3396
2886test "$program_prefix" != NONE && 3397test "$program_prefix" != NONE &&
2887 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3398 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2888# Use a double $ so make ignores it. 3399# Use a double $ so make ignores it.
2889test "$program_suffix" != NONE && 3400test "$program_suffix" != NONE &&
2890 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3401 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2891# Double any \ or $. 3402# Double any \ or $.
2892# By default was `s,x,x', remove it if useless. 3403# By default was `s,x,x', remove it if useless.
2893ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3404ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2894program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3405program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2895 3406
3407
2896# expand $ac_aux_dir to an absolute path 3408# Expand $ac_aux_dir to an absolute path.
2897am_aux_dir=`cd $ac_aux_dir && pwd` 3409am_aux_dir=`cd "$ac_aux_dir" && pwd`
2898 3410
3411
2899if test x"${MISSING+set}" != xset; then 3412 if test x"${MISSING+set}" != xset; then
2900 case $am_aux_dir in
2901 *\ * | *\ *)
2902 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2903 *)
2904 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3413 MISSING="\${SHELL} '$am_aux_dir/missing'"
2905 esac
2906fi 3414fi
2907# Use eval to expand $SHELL 3415# Use eval to expand $SHELL
2908if eval "$MISSING --run true"; then 3416if eval "$MISSING --is-lightweight"; then
2909 am_missing_run="$MISSING --run " 3417 am_missing_run="$MISSING "
2910else 3418else
2911 am_missing_run= 3419 am_missing_run=
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 3420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2913$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 3421printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2914fi 3422fi
2915 3423
2916if test x"${install_sh}" != xset; then 3424if test x"${install_sh+set}" != xset; then
2917 case $am_aux_dir in 3425 case $am_aux_dir in
2918 *\ * | *\ *) 3426 *\ * | *\ *)
2919 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3427 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2920 *) 3428 *)
2921 install_sh="\${SHELL} $am_aux_dir/install-sh" 3429 install_sh="\${SHELL} $am_aux_dir/install-sh"
2922 esac 3430 esac
2923fi 3431fi
2924 3432
2925# Installed binaries are usually stripped using `strip' when the user 3433# Installed binaries are usually stripped using 'strip' when the user
2926# run `make install-strip'. However `strip' might not be the right 3434# run "make install-strip". However 'strip' might not be the right
2927# tool to use in cross-compilation environments, therefore Automake 3435# tool to use in cross-compilation environments, therefore Automake
2928# will honor the `STRIP' environment variable to overrule this program. 3436# will honor the 'STRIP' environment variable to overrule this program.
2929if test "$cross_compiling" != no; then 3437if test "$cross_compiling" != no; then
2930 if test -n "$ac_tool_prefix"; then 3438 if test -n "$ac_tool_prefix"; then
2931 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3439 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2932set dummy ${ac_tool_prefix}strip; ac_word=$2 3440set dummy ${ac_tool_prefix}strip; ac_word=$2
2933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3441{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2934$as_echo_n "checking for $ac_word... " >&6; } 3442printf %s "checking for $ac_word... " >&6; }
2935if test "${ac_cv_prog_STRIP+set}" = set; then : 3443if test ${ac_cv_prog_STRIP+y}
2936 $as_echo_n "(cached) " >&6 3444then :
2937else 3445 printf %s "(cached) " >&6
3446else $as_nop
2938 if test -n "$STRIP"; then 3447 if test -n "$STRIP"; then
2939 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3448 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2940else 3449else
2941as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3450as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942for as_dir in $PATH 3451for as_dir in $PATH
2943do 3452do
2944 IFS=$as_save_IFS 3453 IFS=$as_save_IFS
2945 test -z "$as_dir" && as_dir=. 3454 case $as_dir in #(((
3455 '') as_dir=./ ;;
3456 */) ;;
3457 *) as_dir=$as_dir/ ;;
3458 esac
2946 for ac_exec_ext in '' $ac_executable_extensions; do 3459 for ac_exec_ext in '' $ac_executable_extensions; do
2947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3460 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2948 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3461 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3462 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2950 break 2 3463 break 2
2951 fi 3464 fi
2952done 3465done
2953 done 3466 done
2954IFS=$as_save_IFS 3467IFS=$as_save_IFS
2955 3468
2956fi 3469fi
2957fi 3470fi
2958STRIP=$ac_cv_prog_STRIP 3471STRIP=$ac_cv_prog_STRIP
2959if test -n "$STRIP"; then 3472if test -n "$STRIP"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2961$as_echo "$STRIP" >&6; } 3474printf "%s\n" "$STRIP" >&6; }
2962else 3475else
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964$as_echo "no" >&6; } 3477printf "%s\n" "no" >&6; }
2965fi 3478fi
2966 3479
2967 3480
2968fi 3481fi
2969if test -z "$ac_cv_prog_STRIP"; then 3482if test -z "$ac_cv_prog_STRIP"; then
2970 ac_ct_STRIP=$STRIP 3483 ac_ct_STRIP=$STRIP
2971 # Extract the first word of "strip", so it can be a program name with args. 3484 # Extract the first word of "strip", so it can be a program name with args.
2972set dummy strip; ac_word=$2 3485set dummy strip; ac_word=$2
2973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3486{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2974$as_echo_n "checking for $ac_word... " >&6; } 3487printf %s "checking for $ac_word... " >&6; }
2975if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 3488if test ${ac_cv_prog_ac_ct_STRIP+y}
2976 $as_echo_n "(cached) " >&6 3489then :
2977else 3490 printf %s "(cached) " >&6
3491else $as_nop
2978 if test -n "$ac_ct_STRIP"; then 3492 if test -n "$ac_ct_STRIP"; then
2979 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3493 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2980else 3494else
2981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982for as_dir in $PATH 3496for as_dir in $PATH
2983do 3497do
2984 IFS=$as_save_IFS 3498 IFS=$as_save_IFS
2985 test -z "$as_dir" && as_dir=. 3499 case $as_dir in #(((
3500 '') as_dir=./ ;;
3501 */) ;;
3502 *) as_dir=$as_dir/ ;;
3503 esac
2986 for ac_exec_ext in '' $ac_executable_extensions; do 3504 for ac_exec_ext in '' $ac_executable_extensions; do
2987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3505 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2988 ac_cv_prog_ac_ct_STRIP="strip" 3506 ac_cv_prog_ac_ct_STRIP="strip"
2989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2990 break 2 3508 break 2
2991 fi 3509 fi
2992done 3510done
2993 done 3511 done
2994IFS=$as_save_IFS 3512IFS=$as_save_IFS
2995 3513
2996fi 3514fi
2997fi 3515fi
2998ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3516ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2999if test -n "$ac_ct_STRIP"; then 3517if test -n "$ac_ct_STRIP"; then
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3001$as_echo "$ac_ct_STRIP" >&6; } 3519printf "%s\n" "$ac_ct_STRIP" >&6; }
3002else 3520else
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3004$as_echo "no" >&6; } 3522printf "%s\n" "no" >&6; }
3005fi 3523fi
3006 3524
3007 if test "x$ac_ct_STRIP" = x; then 3525 if test "x$ac_ct_STRIP" = x; then
3008 STRIP=":" 3526 STRIP=":"
3009 else 3527 else
3010 case $cross_compiling:$ac_tool_warned in 3528 case $cross_compiling:$ac_tool_warned in
3011yes:) 3529yes:)
3012{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3530{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3013$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3531printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3014ac_tool_warned=yes ;; 3532ac_tool_warned=yes ;;
3015esac 3533esac
3016 STRIP=$ac_ct_STRIP 3534 STRIP=$ac_ct_STRIP
3017 fi 3535 fi
3018else 3536else
3020fi 3538fi
3021 3539
3022fi 3540fi
3023INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3541INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3024 3542
3543
3025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3026$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3545printf %s "checking for a race-free mkdir -p... " >&6; }
3027if test -z "$MKDIR_P"; then 3546if test -z "$MKDIR_P"; then
3028 if test "${ac_cv_path_mkdir+set}" = set; then : 3547 if test ${ac_cv_path_mkdir+y}
3029 $as_echo_n "(cached) " >&6 3548then :
3030else 3549 printf %s "(cached) " >&6
3550else $as_nop
3031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3032for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3552for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3033do 3553do
3034 IFS=$as_save_IFS 3554 IFS=$as_save_IFS
3035 test -z "$as_dir" && as_dir=. 3555 case $as_dir in #(((
3556 '') as_dir=./ ;;
3557 */) ;;
3558 *) as_dir=$as_dir/ ;;
3559 esac
3036 for ac_prog in mkdir gmkdir; do 3560 for ac_prog in mkdir gmkdir; do
3037 for ac_exec_ext in '' $ac_executable_extensions; do 3561 for ac_exec_ext in '' $ac_executable_extensions; do
3038 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 3562 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3039 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3563 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3040 'mkdir (GNU coreutils) '* | \
3041 'mkdir (coreutils) '* | \ 3564 'mkdir ('*'coreutils) '* | \
3565 'BusyBox '* | \
3042 'mkdir (fileutils) '4.1*) 3566 'mkdir (fileutils) '4.1*)
3043 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3567 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3044 break 3;; 3568 break 3;;
3045 esac 3569 esac
3046 done 3570 done
3047 done 3571 done
3048 done 3572 done
3049IFS=$as_save_IFS 3573IFS=$as_save_IFS
3050 3574
3051fi 3575fi
3052 3576
3053 test -d ./--version && rmdir ./--version 3577 test -d ./--version && rmdir ./--version
3054 if test "${ac_cv_path_mkdir+set}" = set; then 3578 if test ${ac_cv_path_mkdir+y}; then
3055 MKDIR_P="$ac_cv_path_mkdir -p" 3579 MKDIR_P="$ac_cv_path_mkdir -p"
3056 else 3580 else
3057 # As a last resort, use the slow shell script. Don't cache a 3581 # As a last resort, use the slow shell script. Don't cache a
3058 # value for MKDIR_P within a source directory, because that will 3582 # value for MKDIR_P within a source directory, because that will
3059 # break other packages using the cache if that directory is 3583 # break other packages using the cache if that directory is
3060 # removed, or if the value is a relative name. 3584 # removed, or if the value is a relative name.
3061 MKDIR_P="$ac_install_sh -d" 3585 MKDIR_P="$ac_install_sh -d"
3062 fi 3586 fi
3063fi 3587fi
3064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3588{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3065$as_echo "$MKDIR_P" >&6; } 3589printf "%s\n" "$MKDIR_P" >&6; }
3066
3067mkdir_p="$MKDIR_P"
3068case $mkdir_p in
3069 [\\/$]* | ?:[\\/]*) ;;
3070 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3071esac
3072 3590
3073for ac_prog in gawk mawk nawk awk 3591for ac_prog in gawk mawk nawk awk
3074do 3592do
3075 # Extract the first word of "$ac_prog", so it can be a program name with args. 3593 # Extract the first word of "$ac_prog", so it can be a program name with args.
3076set dummy $ac_prog; ac_word=$2 3594set dummy $ac_prog; ac_word=$2
3077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3595{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078$as_echo_n "checking for $ac_word... " >&6; } 3596printf %s "checking for $ac_word... " >&6; }
3079if test "${ac_cv_prog_AWK+set}" = set; then : 3597if test ${ac_cv_prog_AWK+y}
3080 $as_echo_n "(cached) " >&6 3598then :
3081else 3599 printf %s "(cached) " >&6
3600else $as_nop
3082 if test -n "$AWK"; then 3601 if test -n "$AWK"; then
3083 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3602 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3084else 3603else
3085as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3604as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3086for as_dir in $PATH 3605for as_dir in $PATH
3087do 3606do
3088 IFS=$as_save_IFS 3607 IFS=$as_save_IFS
3089 test -z "$as_dir" && as_dir=. 3608 case $as_dir in #(((
3609 '') as_dir=./ ;;
3610 */) ;;
3611 *) as_dir=$as_dir/ ;;
3612 esac
3090 for ac_exec_ext in '' $ac_executable_extensions; do 3613 for ac_exec_ext in '' $ac_executable_extensions; do
3091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3614 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3092 ac_cv_prog_AWK="$ac_prog" 3615 ac_cv_prog_AWK="$ac_prog"
3093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3616 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3094 break 2 3617 break 2
3095 fi 3618 fi
3096done 3619done
3097 done 3620 done
3098IFS=$as_save_IFS 3621IFS=$as_save_IFS
3099 3622
3100fi 3623fi
3101fi 3624fi
3102AWK=$ac_cv_prog_AWK 3625AWK=$ac_cv_prog_AWK
3103if test -n "$AWK"; then 3626if test -n "$AWK"; then
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3105$as_echo "$AWK" >&6; } 3628printf "%s\n" "$AWK" >&6; }
3106else 3629else
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108$as_echo "no" >&6; } 3631printf "%s\n" "no" >&6; }
3109fi 3632fi
3110 3633
3111 3634
3112 test -n "$AWK" && break 3635 test -n "$AWK" && break
3113done 3636done
3114 3637
3115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3638{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3116$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3639printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3117set x ${MAKE-make} 3640set x ${MAKE-make}
3118ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3641ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3119if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 3642if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3120 $as_echo_n "(cached) " >&6 3643then :
3121else 3644 printf %s "(cached) " >&6
3645else $as_nop
3122 cat >conftest.make <<\_ACEOF 3646 cat >conftest.make <<\_ACEOF
3123SHELL = /bin/sh 3647SHELL = /bin/sh
3124all: 3648all:
3125 @echo '@@@%%%=$(MAKE)=@@@%%%' 3649 @echo '@@@%%%=$(MAKE)=@@@%%%'
3126_ACEOF 3650_ACEOF
3132 eval ac_cv_prog_make_${ac_make}_set=no;; 3656 eval ac_cv_prog_make_${ac_make}_set=no;;
3133esac 3657esac
3134rm -f conftest.make 3658rm -f conftest.make
3135fi 3659fi
3136if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3660if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3138$as_echo "yes" >&6; } 3662printf "%s\n" "yes" >&6; }
3139 SET_MAKE= 3663 SET_MAKE=
3140else 3664else
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3142$as_echo "no" >&6; } 3666printf "%s\n" "no" >&6; }
3143 SET_MAKE="MAKE=${MAKE-make}" 3667 SET_MAKE="MAKE=${MAKE-make}"
3144fi 3668fi
3145 3669
3146rm -rf .tst 2>/dev/null 3670rm -rf .tst 2>/dev/null
3147mkdir .tst 2>/dev/null 3671mkdir .tst 2>/dev/null
3149 am__leading_dot=. 3673 am__leading_dot=.
3150else 3674else
3151 am__leading_dot=_ 3675 am__leading_dot=_
3152fi 3676fi
3153rmdir .tst 2>/dev/null 3677rmdir .tst 2>/dev/null
3678
3679# Check whether --enable-silent-rules was given.
3680if test ${enable_silent_rules+y}
3681then :
3682 enableval=$enable_silent_rules;
3683fi
3684
3685case $enable_silent_rules in # (((
3686 yes) AM_DEFAULT_VERBOSITY=0;;
3687 no) AM_DEFAULT_VERBOSITY=1;;
3688 *) AM_DEFAULT_VERBOSITY=1;;
3689esac
3690am_make=${MAKE-make}
3691{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3692printf %s "checking whether $am_make supports nested variables... " >&6; }
3693if test ${am_cv_make_support_nested_variables+y}
3694then :
3695 printf %s "(cached) " >&6
3696else $as_nop
3697 if printf "%s\n" 'TRUE=$(BAR$(V))
3698BAR0=false
3699BAR1=true
3700V=1
3701am__doit:
3702 @$(TRUE)
3703.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3704 am_cv_make_support_nested_variables=yes
3705else
3706 am_cv_make_support_nested_variables=no
3707fi
3708fi
3709{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3710printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3711if test $am_cv_make_support_nested_variables = yes; then
3712 AM_V='$(V)'
3713 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3714else
3715 AM_V=$AM_DEFAULT_VERBOSITY
3716 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3717fi
3718AM_BACKSLASH='\'
3154 3719
3155if test "`cd $srcdir && pwd`" != "`pwd`"; then 3720if test "`cd $srcdir && pwd`" != "`pwd`"; then
3156 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3721 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3157 # is not polluted with repeated "-I." 3722 # is not polluted with repeated "-I."
3158 am__isrc=' -I$(srcdir)' 3723 am__isrc=' -I$(srcdir)'
3171 fi 3736 fi
3172fi 3737fi
3173 3738
3174 3739
3175# Define the identity of the package. 3740# Define the identity of the package.
3176 PACKAGE=gvpe 3741 PACKAGE='gvpe'
3177 VERSION=2.24 3742 VERSION='3.1'
3178 3743
3179 3744
3180cat >>confdefs.h <<_ACEOF 3745printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3181#define PACKAGE "$PACKAGE"
3182_ACEOF
3183 3746
3184 3747
3185cat >>confdefs.h <<_ACEOF 3748printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3186#define VERSION "$VERSION"
3187_ACEOF
3188 3749
3189# Some tools Automake needs. 3750# Some tools Automake needs.
3190 3751
3191ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3752ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3192 3753
3200AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3761AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3201 3762
3202 3763
3203MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3764MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3204 3765
3205# We need awk for the "check" target. The system "awk" is bad on 3766# For better backward compatibility. To be removed once Automake 1.9.x
3206# some platforms. 3767# dies out for good. For more background, see:
3768# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3769# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3770mkdir_p='$(MKDIR_P)'
3771
3772# We need awk for the "check" target (and possibly the TAP driver). The
3773# system "awk" is bad on some platforms.
3207# Always define AMTAR for backward compatibility. 3774# Always define AMTAR for backward compatibility. Yes, it's still used
3775# in the wild :-( We should find a proper way to deprecate it ...
3776AMTAR='$${TAR-tar}'
3208 3777
3209AMTAR=${AMTAR-"${am_missing_run}tar"}
3210 3778
3779# We'll loop over all known methods to create a tar archive until one works.
3780_am_tools='gnutar pax cpio none'
3781
3211am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 3782am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3212 3783
3213 3784
3214 3785
3215 3786
3787
3788
3789# POSIX will say in a future version that running "rm -f" with no argument
3790# is OK; and we want to be able to make that assumption in our Makefile
3791# recipes. So use an aggressive probe to check that the usage we want is
3792# actually supported "in the wild" to an acceptable degree.
3793# See automake bug#10828.
3794# To make any issue more visible, cause the running configure to be aborted
3795# by default if the 'rm' program in use doesn't match our expectations; the
3796# user can still override this though.
3797if rm -f && rm -fr && rm -rf; then : OK; else
3798 cat >&2 <<'END'
3799Oops!
3800
3801Your 'rm' program seems unable to run without file operands specified
3802on the command line, even when the '-f' option is present. This is contrary
3803to the behaviour of most rm programs out there, and not conforming with
3804the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3805
3806Please tell bug-automake@gnu.org about your system, including the value
3807of your $PATH and any error possibly output before this message. This
3808can help us improve future automake versions.
3809
3810END
3811 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3812 echo 'Configuration will proceed anyway, since you have set the' >&2
3813 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3814 echo >&2
3815 else
3816 cat >&2 <<'END'
3817Aborting the configuration process, to ensure you take notice of the issue.
3818
3819You can download and install GNU coreutils to get an 'rm' implementation
3820that behaves properly: <https://www.gnu.org/software/coreutils/>.
3821
3822If you want to complete the configuration process using your problematic
3823'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3824to "yes", and re-run configure.
3825
3826END
3827 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3828 fi
3829fi
3216 3830
3217ac_config_headers="$ac_config_headers config.h" 3831ac_config_headers="$ac_config_headers config.h"
3218 3832
3219 3833
3220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3834{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3221$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3835printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3222 # Check whether --enable-maintainer-mode was given. 3836 # Check whether --enable-maintainer-mode was given.
3223if test "${enable_maintainer_mode+set}" = set; then : 3837if test ${enable_maintainer_mode+y}
3838then :
3224 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3839 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3225else 3840else $as_nop
3226 USE_MAINTAINER_MODE=no 3841 USE_MAINTAINER_MODE=no
3227fi 3842fi
3228 3843
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3230$as_echo "$USE_MAINTAINER_MODE" >&6; } 3845printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
3231 if test $USE_MAINTAINER_MODE = yes; then 3846 if test $USE_MAINTAINER_MODE = yes; then
3232 MAINTAINER_MODE_TRUE= 3847 MAINTAINER_MODE_TRUE=
3233 MAINTAINER_MODE_FALSE='#' 3848 MAINTAINER_MODE_FALSE='#'
3234else 3849else
3235 MAINTAINER_MODE_TRUE='#' 3850 MAINTAINER_MODE_TRUE='#'
3240 3855
3241 3856
3242 3857
3243 3858
3244 3859
3245
3246
3247
3248 test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
3249
3250 for k in m4 ; do ACLOCAL="$ACLOCAL -I $k" ; done
3251 3860
3252 3861
3253 3862
3254 MKINSTALLDIRS= 3863 MKINSTALLDIRS=
3255 if test -n "$ac_aux_dir"; then 3864 if test -n "$ac_aux_dir"; then
3263 3872
3264 3873
3265 3874
3266 # Extract the first word of "msgfmt", so it can be a program name with args. 3875 # Extract the first word of "msgfmt", so it can be a program name with args.
3267set dummy msgfmt; ac_word=$2 3876set dummy msgfmt; ac_word=$2
3268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3877{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269$as_echo_n "checking for $ac_word... " >&6; } 3878printf %s "checking for $ac_word... " >&6; }
3270if test "${ac_cv_path_MSGFMT+set}" = set; then : 3879if test ${ac_cv_path_MSGFMT+y}
3271 $as_echo_n "(cached) " >&6 3880then :
3272else 3881 printf %s "(cached) " >&6
3882else $as_nop
3273 case "$MSGFMT" in 3883 case "$MSGFMT" in
3274 /*) 3884 /*)
3275 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 3885 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3276 ;; 3886 ;;
3277 *) 3887 *)
3291 ;; 3901 ;;
3292esac 3902esac
3293fi 3903fi
3294MSGFMT="$ac_cv_path_MSGFMT" 3904MSGFMT="$ac_cv_path_MSGFMT"
3295if test "$MSGFMT" != ":"; then 3905if test "$MSGFMT" != ":"; then
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 3906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3297$as_echo "$MSGFMT" >&6; } 3907printf "%s\n" "$MSGFMT" >&6; }
3298else 3908else
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3300$as_echo "no" >&6; } 3910printf "%s\n" "no" >&6; }
3301fi 3911fi
3302 3912
3303 # Extract the first word of "gmsgfmt", so it can be a program name with args. 3913 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3304set dummy gmsgfmt; ac_word=$2 3914set dummy gmsgfmt; ac_word=$2
3305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3915{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3306$as_echo_n "checking for $ac_word... " >&6; } 3916printf %s "checking for $ac_word... " >&6; }
3307if test "${ac_cv_path_GMSGFMT+set}" = set; then : 3917if test ${ac_cv_path_GMSGFMT+y}
3308 $as_echo_n "(cached) " >&6 3918then :
3309else 3919 printf %s "(cached) " >&6
3920else $as_nop
3310 case $GMSGFMT in 3921 case $GMSGFMT in
3311 [\\/]* | ?:[\\/]*) 3922 [\\/]* | ?:[\\/]*)
3312 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 3923 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3313 ;; 3924 ;;
3314 *) 3925 *)
3315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316for as_dir in $PATH 3927for as_dir in $PATH
3317do 3928do
3318 IFS=$as_save_IFS 3929 IFS=$as_save_IFS
3319 test -z "$as_dir" && as_dir=. 3930 case $as_dir in #(((
3931 '') as_dir=./ ;;
3932 */) ;;
3933 *) as_dir=$as_dir/ ;;
3934 esac
3320 for ac_exec_ext in '' $ac_executable_extensions; do 3935 for ac_exec_ext in '' $ac_executable_extensions; do
3321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3936 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3322 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 3937 ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext"
3323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3324 break 2 3939 break 2
3325 fi 3940 fi
3326done 3941done
3327 done 3942 done
3328IFS=$as_save_IFS 3943IFS=$as_save_IFS
3331 ;; 3946 ;;
3332esac 3947esac
3333fi 3948fi
3334GMSGFMT=$ac_cv_path_GMSGFMT 3949GMSGFMT=$ac_cv_path_GMSGFMT
3335if test -n "$GMSGFMT"; then 3950if test -n "$GMSGFMT"; then
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 3951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3337$as_echo "$GMSGFMT" >&6; } 3952printf "%s\n" "$GMSGFMT" >&6; }
3338else 3953else
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3340$as_echo "no" >&6; } 3955printf "%s\n" "no" >&6; }
3341fi 3956fi
3342 3957
3343 3958
3344 3959
3345 # Extract the first word of "xgettext", so it can be a program name with args. 3960 # Extract the first word of "xgettext", so it can be a program name with args.
3346set dummy xgettext; ac_word=$2 3961set dummy xgettext; ac_word=$2
3347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3962{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3348$as_echo_n "checking for $ac_word... " >&6; } 3963printf %s "checking for $ac_word... " >&6; }
3349if test "${ac_cv_path_XGETTEXT+set}" = set; then : 3964if test ${ac_cv_path_XGETTEXT+y}
3350 $as_echo_n "(cached) " >&6 3965then :
3351else 3966 printf %s "(cached) " >&6
3967else $as_nop
3352 case "$XGETTEXT" in 3968 case "$XGETTEXT" in
3353 /*) 3969 /*)
3354 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 3970 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3355 ;; 3971 ;;
3356 *) 3972 *)
3370 ;; 3986 ;;
3371esac 3987esac
3372fi 3988fi
3373XGETTEXT="$ac_cv_path_XGETTEXT" 3989XGETTEXT="$ac_cv_path_XGETTEXT"
3374if test "$XGETTEXT" != ":"; then 3990if test "$XGETTEXT" != ":"; then
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 3991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3376$as_echo "$XGETTEXT" >&6; } 3992printf "%s\n" "$XGETTEXT" >&6; }
3377else 3993else
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3379$as_echo "no" >&6; } 3995printf "%s\n" "no" >&6; }
3380fi 3996fi
3381 3997
3382 rm -f messages.po 3998 rm -f messages.po
3383 3999
3384 # Extract the first word of "msgmerge", so it can be a program name with args. 4000 # Extract the first word of "msgmerge", so it can be a program name with args.
3385set dummy msgmerge; ac_word=$2 4001set dummy msgmerge; ac_word=$2
3386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4002{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387$as_echo_n "checking for $ac_word... " >&6; } 4003printf %s "checking for $ac_word... " >&6; }
3388if test "${ac_cv_path_MSGMERGE+set}" = set; then : 4004if test ${ac_cv_path_MSGMERGE+y}
3389 $as_echo_n "(cached) " >&6 4005then :
3390else 4006 printf %s "(cached) " >&6
4007else $as_nop
3391 case "$MSGMERGE" in 4008 case "$MSGMERGE" in
3392 /*) 4009 /*)
3393 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 4010 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3394 ;; 4011 ;;
3395 *) 4012 *)
3408 ;; 4025 ;;
3409esac 4026esac
3410fi 4027fi
3411MSGMERGE="$ac_cv_path_MSGMERGE" 4028MSGMERGE="$ac_cv_path_MSGMERGE"
3412if test "$MSGMERGE" != ":"; then 4029if test "$MSGMERGE" != ":"; then
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 4030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3414$as_echo "$MSGMERGE" >&6; } 4031printf "%s\n" "$MSGMERGE" >&6; }
3415else 4032else
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417$as_echo "no" >&6; } 4034printf "%s\n" "no" >&6; }
3418fi 4035fi
3419 4036
3420 4037
3421 if test "$GMSGFMT" != ":"; then 4038 if test "$GMSGFMT" != ":"; then
3422 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && 4039 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
3423 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 4040 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3424 : ; 4041 : ;
3425 else 4042 else
3426 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` 4043 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 4044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
3428$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } 4045printf "%s\n" "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
3429 GMSGFMT=":" 4046 GMSGFMT=":"
3430 fi 4047 fi
3431 fi 4048 fi
3432 4049
3433 if test "$XGETTEXT" != ":"; then 4050 if test "$XGETTEXT" != ":"; then
3434 if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && 4051 if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
3435 (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 4052 (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3436 : ; 4053 : ;
3437 else 4054 else
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
3439$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 4056printf "%s\n" "found xgettext program is not GNU xgettext; ignore it" >&6; }
3440 XGETTEXT=":" 4057 XGETTEXT=":"
3441 fi 4058 fi
3442 rm -f messages.po 4059 rm -f messages.po
3443 fi 4060 fi
3444 4061
3459 acl_save_prefix="$prefix" 4076 acl_save_prefix="$prefix"
3460 prefix="$acl_final_prefix" 4077 prefix="$acl_final_prefix"
3461 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 4078 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3462 prefix="$acl_save_prefix" 4079 prefix="$acl_save_prefix"
3463 4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
3464DEPDIR="${am__leading_dot}deps" 4090DEPDIR="${am__leading_dot}deps"
3465 4091
3466ac_config_commands="$ac_config_commands depfiles" 4092ac_config_commands="$ac_config_commands depfiles"
3467 4093
3468 4094{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3469am_make=${MAKE-make} 4095printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3470cat > confinc << 'END' 4096cat > confinc.mk << 'END'
3471am__doit: 4097am__doit:
3472 @echo this is the am__doit target 4098 @echo this is the am__doit target >confinc.out
3473.PHONY: am__doit 4099.PHONY: am__doit
3474END 4100END
3475# If we don't find an include directive, just comment out the code.
3476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3477$as_echo_n "checking for style of include used by $am_make... " >&6; }
3478am__include="#" 4101am__include="#"
3479am__quote= 4102am__quote=
4103# BSD make does it like this.
4104echo '.include "confinc.mk" # ignored' > confmf.BSD
4105# Other make implementations (GNU, Solaris 10, AIX) do it like this.
4106echo 'include confinc.mk # ignored' > confmf.GNU
3480_am_result=none 4107_am_result=no
3481# First try GNU make style include. 4108for s in GNU BSD; do
3482echo "include confinc" > confmf 4109 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3483# Ignore all kinds of additional output from `make'. 4110 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3484case `$am_make -s -f confmf 2> /dev/null` in #( 4111 ac_status=$?
3485*the\ am__doit\ target*) 4112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 am__include=include 4113 (exit $ac_status); }
3487 am__quote= 4114 case $?:`cat confinc.out 2>/dev/null` in #(
3488 _am_result=GNU 4115 '0:this is the am__doit target') :
3489 ;; 4116 case $s in #(
4117 BSD) :
4118 am__include='.include' am__quote='"' ;; #(
4119 *) :
4120 am__include='include' am__quote='' ;;
4121esac ;; #(
4122 *) :
4123 ;;
3490esac 4124esac
3491# Now try BSD make style include.
3492if test "$am__include" = "#"; then 4125 if test "$am__include" != "#"; then
3493 echo '.include "confinc"' > confmf 4126 _am_result="yes ($s style)"
3494 case `$am_make -s -f confmf 2> /dev/null` in #( 4127 break
3495 *the\ am__doit\ target*) 4128 fi
3496 am__include=.include 4129done
3497 am__quote="\""
3498 _am_result=BSD
3499 ;;
3500 esac
3501fi
3502
3503
3504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3505$as_echo "$_am_result" >&6; }
3506rm -f confinc confmf 4130rm -f confinc.* confmf.*
4131{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4132printf "%s\n" "${_am_result}" >&6; }
3507 4133
3508# Check whether --enable-dependency-tracking was given. 4134# Check whether --enable-dependency-tracking was given.
3509if test "${enable_dependency_tracking+set}" = set; then : 4135if test ${enable_dependency_tracking+y}
4136then :
3510 enableval=$enable_dependency_tracking; 4137 enableval=$enable_dependency_tracking;
3511fi 4138fi
3512 4139
3513if test "x$enable_dependency_tracking" != xno; then 4140if test "x$enable_dependency_tracking" != xno; then
3514 am_depcomp="$ac_aux_dir/depcomp" 4141 am_depcomp="$ac_aux_dir/depcomp"
3515 AMDEPBACKSLASH='\' 4142 AMDEPBACKSLASH='\'
4143 am__nodep='_no'
3516fi 4144fi
3517 if test "x$enable_dependency_tracking" != xno; then 4145 if test "x$enable_dependency_tracking" != xno; then
3518 AMDEP_TRUE= 4146 AMDEP_TRUE=
3519 AMDEP_FALSE='#' 4147 AMDEP_FALSE='#'
3520else 4148else
3529ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4157ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3530ac_compiler_gnu=$ac_cv_c_compiler_gnu 4158ac_compiler_gnu=$ac_cv_c_compiler_gnu
3531if test -n "$ac_tool_prefix"; then 4159if test -n "$ac_tool_prefix"; then
3532 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4160 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3533set dummy ${ac_tool_prefix}gcc; ac_word=$2 4161set dummy ${ac_tool_prefix}gcc; ac_word=$2
3534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4162{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3535$as_echo_n "checking for $ac_word... " >&6; } 4163printf %s "checking for $ac_word... " >&6; }
3536if test "${ac_cv_prog_CC+set}" = set; then : 4164if test ${ac_cv_prog_CC+y}
3537 $as_echo_n "(cached) " >&6 4165then :
3538else 4166 printf %s "(cached) " >&6
4167else $as_nop
3539 if test -n "$CC"; then 4168 if test -n "$CC"; then
3540 ac_cv_prog_CC="$CC" # Let the user override the test. 4169 ac_cv_prog_CC="$CC" # Let the user override the test.
3541else 4170else
3542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4171as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3543for as_dir in $PATH 4172for as_dir in $PATH
3544do 4173do
3545 IFS=$as_save_IFS 4174 IFS=$as_save_IFS
3546 test -z "$as_dir" && as_dir=. 4175 case $as_dir in #(((
4176 '') as_dir=./ ;;
4177 */) ;;
4178 *) as_dir=$as_dir/ ;;
4179 esac
3547 for ac_exec_ext in '' $ac_executable_extensions; do 4180 for ac_exec_ext in '' $ac_executable_extensions; do
3548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4181 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3549 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4182 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3551 break 2 4184 break 2
3552 fi 4185 fi
3553done 4186done
3554 done 4187 done
3555IFS=$as_save_IFS 4188IFS=$as_save_IFS
3556 4189
3557fi 4190fi
3558fi 4191fi
3559CC=$ac_cv_prog_CC 4192CC=$ac_cv_prog_CC
3560if test -n "$CC"; then 4193if test -n "$CC"; then
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3562$as_echo "$CC" >&6; } 4195printf "%s\n" "$CC" >&6; }
3563else 4196else
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565$as_echo "no" >&6; } 4198printf "%s\n" "no" >&6; }
3566fi 4199fi
3567 4200
3568 4201
3569fi 4202fi
3570if test -z "$ac_cv_prog_CC"; then 4203if test -z "$ac_cv_prog_CC"; then
3571 ac_ct_CC=$CC 4204 ac_ct_CC=$CC
3572 # Extract the first word of "gcc", so it can be a program name with args. 4205 # Extract the first word of "gcc", so it can be a program name with args.
3573set dummy gcc; ac_word=$2 4206set dummy gcc; ac_word=$2
3574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4207{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3575$as_echo_n "checking for $ac_word... " >&6; } 4208printf %s "checking for $ac_word... " >&6; }
3576if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4209if test ${ac_cv_prog_ac_ct_CC+y}
3577 $as_echo_n "(cached) " >&6 4210then :
3578else 4211 printf %s "(cached) " >&6
4212else $as_nop
3579 if test -n "$ac_ct_CC"; then 4213 if test -n "$ac_ct_CC"; then
3580 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4214 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3581else 4215else
3582as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4216as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3583for as_dir in $PATH 4217for as_dir in $PATH
3584do 4218do
3585 IFS=$as_save_IFS 4219 IFS=$as_save_IFS
3586 test -z "$as_dir" && as_dir=. 4220 case $as_dir in #(((
4221 '') as_dir=./ ;;
4222 */) ;;
4223 *) as_dir=$as_dir/ ;;
4224 esac
3587 for ac_exec_ext in '' $ac_executable_extensions; do 4225 for ac_exec_ext in '' $ac_executable_extensions; do
3588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4226 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3589 ac_cv_prog_ac_ct_CC="gcc" 4227 ac_cv_prog_ac_ct_CC="gcc"
3590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3591 break 2 4229 break 2
3592 fi 4230 fi
3593done 4231done
3594 done 4232 done
3595IFS=$as_save_IFS 4233IFS=$as_save_IFS
3596 4234
3597fi 4235fi
3598fi 4236fi
3599ac_ct_CC=$ac_cv_prog_ac_ct_CC 4237ac_ct_CC=$ac_cv_prog_ac_ct_CC
3600if test -n "$ac_ct_CC"; then 4238if test -n "$ac_ct_CC"; then
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3602$as_echo "$ac_ct_CC" >&6; } 4240printf "%s\n" "$ac_ct_CC" >&6; }
3603else 4241else
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3605$as_echo "no" >&6; } 4243printf "%s\n" "no" >&6; }
3606fi 4244fi
3607 4245
3608 if test "x$ac_ct_CC" = x; then 4246 if test "x$ac_ct_CC" = x; then
3609 CC="" 4247 CC=""
3610 else 4248 else
3611 case $cross_compiling:$ac_tool_warned in 4249 case $cross_compiling:$ac_tool_warned in
3612yes:) 4250yes:)
3613{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4251{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3614$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4252printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3615ac_tool_warned=yes ;; 4253ac_tool_warned=yes ;;
3616esac 4254esac
3617 CC=$ac_ct_CC 4255 CC=$ac_ct_CC
3618 fi 4256 fi
3619else 4257else
3622 4260
3623if test -z "$CC"; then 4261if test -z "$CC"; then
3624 if test -n "$ac_tool_prefix"; then 4262 if test -n "$ac_tool_prefix"; then
3625 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4263 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3626set dummy ${ac_tool_prefix}cc; ac_word=$2 4264set dummy ${ac_tool_prefix}cc; ac_word=$2
3627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4265{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3628$as_echo_n "checking for $ac_word... " >&6; } 4266printf %s "checking for $ac_word... " >&6; }
3629if test "${ac_cv_prog_CC+set}" = set; then : 4267if test ${ac_cv_prog_CC+y}
3630 $as_echo_n "(cached) " >&6 4268then :
3631else 4269 printf %s "(cached) " >&6
4270else $as_nop
3632 if test -n "$CC"; then 4271 if test -n "$CC"; then
3633 ac_cv_prog_CC="$CC" # Let the user override the test. 4272 ac_cv_prog_CC="$CC" # Let the user override the test.
3634else 4273else
3635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4274as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3636for as_dir in $PATH 4275for as_dir in $PATH
3637do 4276do
3638 IFS=$as_save_IFS 4277 IFS=$as_save_IFS
3639 test -z "$as_dir" && as_dir=. 4278 case $as_dir in #(((
4279 '') as_dir=./ ;;
4280 */) ;;
4281 *) as_dir=$as_dir/ ;;
4282 esac
3640 for ac_exec_ext in '' $ac_executable_extensions; do 4283 for ac_exec_ext in '' $ac_executable_extensions; do
3641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4284 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3642 ac_cv_prog_CC="${ac_tool_prefix}cc" 4285 ac_cv_prog_CC="${ac_tool_prefix}cc"
3643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3644 break 2 4287 break 2
3645 fi 4288 fi
3646done 4289done
3647 done 4290 done
3648IFS=$as_save_IFS 4291IFS=$as_save_IFS
3649 4292
3650fi 4293fi
3651fi 4294fi
3652CC=$ac_cv_prog_CC 4295CC=$ac_cv_prog_CC
3653if test -n "$CC"; then 4296if test -n "$CC"; then
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3655$as_echo "$CC" >&6; } 4298printf "%s\n" "$CC" >&6; }
3656else 4299else
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3658$as_echo "no" >&6; } 4301printf "%s\n" "no" >&6; }
3659fi 4302fi
3660 4303
3661 4304
3662 fi 4305 fi
3663fi 4306fi
3664if test -z "$CC"; then 4307if test -z "$CC"; then
3665 # Extract the first word of "cc", so it can be a program name with args. 4308 # Extract the first word of "cc", so it can be a program name with args.
3666set dummy cc; ac_word=$2 4309set dummy cc; ac_word=$2
3667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4310{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3668$as_echo_n "checking for $ac_word... " >&6; } 4311printf %s "checking for $ac_word... " >&6; }
3669if test "${ac_cv_prog_CC+set}" = set; then : 4312if test ${ac_cv_prog_CC+y}
3670 $as_echo_n "(cached) " >&6 4313then :
3671else 4314 printf %s "(cached) " >&6
4315else $as_nop
3672 if test -n "$CC"; then 4316 if test -n "$CC"; then
3673 ac_cv_prog_CC="$CC" # Let the user override the test. 4317 ac_cv_prog_CC="$CC" # Let the user override the test.
3674else 4318else
3675 ac_prog_rejected=no 4319 ac_prog_rejected=no
3676as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3677for as_dir in $PATH 4321for as_dir in $PATH
3678do 4322do
3679 IFS=$as_save_IFS 4323 IFS=$as_save_IFS
3680 test -z "$as_dir" && as_dir=. 4324 case $as_dir in #(((
4325 '') as_dir=./ ;;
4326 */) ;;
4327 *) as_dir=$as_dir/ ;;
4328 esac
3681 for ac_exec_ext in '' $ac_executable_extensions; do 4329 for ac_exec_ext in '' $ac_executable_extensions; do
3682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4330 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3683 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4331 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3684 ac_prog_rejected=yes 4332 ac_prog_rejected=yes
3685 continue 4333 continue
3686 fi 4334 fi
3687 ac_cv_prog_CC="cc" 4335 ac_cv_prog_CC="cc"
3688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3689 break 2 4337 break 2
3690 fi 4338 fi
3691done 4339done
3692 done 4340 done
3693IFS=$as_save_IFS 4341IFS=$as_save_IFS
3699 if test $# != 0; then 4347 if test $# != 0; then
3700 # We chose a different compiler from the bogus one. 4348 # We chose a different compiler from the bogus one.
3701 # However, it has the same basename, so the bogon will be chosen 4349 # However, it has the same basename, so the bogon will be chosen
3702 # first if we set CC to just the basename; use the full file name. 4350 # first if we set CC to just the basename; use the full file name.
3703 shift 4351 shift
3704 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4352 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3705 fi 4353 fi
3706fi 4354fi
3707fi 4355fi
3708fi 4356fi
3709CC=$ac_cv_prog_CC 4357CC=$ac_cv_prog_CC
3710if test -n "$CC"; then 4358if test -n "$CC"; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3712$as_echo "$CC" >&6; } 4360printf "%s\n" "$CC" >&6; }
3713else 4361else
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3715$as_echo "no" >&6; } 4363printf "%s\n" "no" >&6; }
3716fi 4364fi
3717 4365
3718 4366
3719fi 4367fi
3720if test -z "$CC"; then 4368if test -z "$CC"; then
3721 if test -n "$ac_tool_prefix"; then 4369 if test -n "$ac_tool_prefix"; then
3722 for ac_prog in cl.exe 4370 for ac_prog in cl.exe
3723 do 4371 do
3724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3725set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4373set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4374{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3727$as_echo_n "checking for $ac_word... " >&6; } 4375printf %s "checking for $ac_word... " >&6; }
3728if test "${ac_cv_prog_CC+set}" = set; then : 4376if test ${ac_cv_prog_CC+y}
3729 $as_echo_n "(cached) " >&6 4377then :
3730else 4378 printf %s "(cached) " >&6
4379else $as_nop
3731 if test -n "$CC"; then 4380 if test -n "$CC"; then
3732 ac_cv_prog_CC="$CC" # Let the user override the test. 4381 ac_cv_prog_CC="$CC" # Let the user override the test.
3733else 4382else
3734as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3735for as_dir in $PATH 4384for as_dir in $PATH
3736do 4385do
3737 IFS=$as_save_IFS 4386 IFS=$as_save_IFS
3738 test -z "$as_dir" && as_dir=. 4387 case $as_dir in #(((
4388 '') as_dir=./ ;;
4389 */) ;;
4390 *) as_dir=$as_dir/ ;;
4391 esac
3739 for ac_exec_ext in '' $ac_executable_extensions; do 4392 for ac_exec_ext in '' $ac_executable_extensions; do
3740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4393 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3741 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4394 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3743 break 2 4396 break 2
3744 fi 4397 fi
3745done 4398done
3746 done 4399 done
3747IFS=$as_save_IFS 4400IFS=$as_save_IFS
3748 4401
3749fi 4402fi
3750fi 4403fi
3751CC=$ac_cv_prog_CC 4404CC=$ac_cv_prog_CC
3752if test -n "$CC"; then 4405if test -n "$CC"; then
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3754$as_echo "$CC" >&6; } 4407printf "%s\n" "$CC" >&6; }
3755else 4408else
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757$as_echo "no" >&6; } 4410printf "%s\n" "no" >&6; }
3758fi 4411fi
3759 4412
3760 4413
3761 test -n "$CC" && break 4414 test -n "$CC" && break
3762 done 4415 done
3765 ac_ct_CC=$CC 4418 ac_ct_CC=$CC
3766 for ac_prog in cl.exe 4419 for ac_prog in cl.exe
3767do 4420do
3768 # Extract the first word of "$ac_prog", so it can be a program name with args. 4421 # Extract the first word of "$ac_prog", so it can be a program name with args.
3769set dummy $ac_prog; ac_word=$2 4422set dummy $ac_prog; ac_word=$2
3770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4423{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771$as_echo_n "checking for $ac_word... " >&6; } 4424printf %s "checking for $ac_word... " >&6; }
3772if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4425if test ${ac_cv_prog_ac_ct_CC+y}
3773 $as_echo_n "(cached) " >&6 4426then :
3774else 4427 printf %s "(cached) " >&6
4428else $as_nop
3775 if test -n "$ac_ct_CC"; then 4429 if test -n "$ac_ct_CC"; then
3776 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4430 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3777else 4431else
3778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4432as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779for as_dir in $PATH 4433for as_dir in $PATH
3780do 4434do
3781 IFS=$as_save_IFS 4435 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=. 4436 case $as_dir in #(((
4437 '') as_dir=./ ;;
4438 */) ;;
4439 *) as_dir=$as_dir/ ;;
4440 esac
3783 for ac_exec_ext in '' $ac_executable_extensions; do 4441 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4442 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_ac_ct_CC="$ac_prog" 4443 ac_cv_prog_ac_ct_CC="$ac_prog"
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3787 break 2 4445 break 2
3788 fi 4446 fi
3789done 4447done
3790 done 4448 done
3791IFS=$as_save_IFS 4449IFS=$as_save_IFS
3792 4450
3793fi 4451fi
3794fi 4452fi
3795ac_ct_CC=$ac_cv_prog_ac_ct_CC 4453ac_ct_CC=$ac_cv_prog_ac_ct_CC
3796if test -n "$ac_ct_CC"; then 4454if test -n "$ac_ct_CC"; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3798$as_echo "$ac_ct_CC" >&6; } 4456printf "%s\n" "$ac_ct_CC" >&6; }
3799else 4457else
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801$as_echo "no" >&6; } 4459printf "%s\n" "no" >&6; }
3802fi 4460fi
3803 4461
3804 4462
3805 test -n "$ac_ct_CC" && break 4463 test -n "$ac_ct_CC" && break
3806done 4464done
3808 if test "x$ac_ct_CC" = x; then 4466 if test "x$ac_ct_CC" = x; then
3809 CC="" 4467 CC=""
3810 else 4468 else
3811 case $cross_compiling:$ac_tool_warned in 4469 case $cross_compiling:$ac_tool_warned in
3812yes:) 4470yes:)
3813{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4471{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3814$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4472printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3815ac_tool_warned=yes ;; 4473ac_tool_warned=yes ;;
3816esac 4474esac
3817 CC=$ac_ct_CC 4475 CC=$ac_ct_CC
3818 fi 4476 fi
3819fi 4477fi
3820 4478
3821fi 4479fi
4480if test -z "$CC"; then
4481 if test -n "$ac_tool_prefix"; then
4482 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4483set dummy ${ac_tool_prefix}clang; ac_word=$2
4484{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4485printf %s "checking for $ac_word... " >&6; }
4486if test ${ac_cv_prog_CC+y}
4487then :
4488 printf %s "(cached) " >&6
4489else $as_nop
4490 if test -n "$CC"; then
4491 ac_cv_prog_CC="$CC" # Let the user override the test.
4492else
4493as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4494for as_dir in $PATH
4495do
4496 IFS=$as_save_IFS
4497 case $as_dir in #(((
4498 '') as_dir=./ ;;
4499 */) ;;
4500 *) as_dir=$as_dir/ ;;
4501 esac
4502 for ac_exec_ext in '' $ac_executable_extensions; do
4503 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4504 ac_cv_prog_CC="${ac_tool_prefix}clang"
4505 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4506 break 2
4507 fi
4508done
4509 done
4510IFS=$as_save_IFS
3822 4511
4512fi
4513fi
4514CC=$ac_cv_prog_CC
4515if test -n "$CC"; then
4516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4517printf "%s\n" "$CC" >&6; }
4518else
4519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4520printf "%s\n" "no" >&6; }
4521fi
3823 4522
4523
4524fi
4525if test -z "$ac_cv_prog_CC"; then
4526 ac_ct_CC=$CC
4527 # Extract the first word of "clang", so it can be a program name with args.
4528set dummy clang; ac_word=$2
4529{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4530printf %s "checking for $ac_word... " >&6; }
4531if test ${ac_cv_prog_ac_ct_CC+y}
4532then :
4533 printf %s "(cached) " >&6
4534else $as_nop
4535 if test -n "$ac_ct_CC"; then
4536 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4537else
4538as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4539for as_dir in $PATH
4540do
4541 IFS=$as_save_IFS
4542 case $as_dir in #(((
4543 '') as_dir=./ ;;
4544 */) ;;
4545 *) as_dir=$as_dir/ ;;
4546 esac
4547 for ac_exec_ext in '' $ac_executable_extensions; do
4548 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4549 ac_cv_prog_ac_ct_CC="clang"
4550 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4551 break 2
4552 fi
4553done
4554 done
4555IFS=$as_save_IFS
4556
4557fi
4558fi
4559ac_ct_CC=$ac_cv_prog_ac_ct_CC
4560if test -n "$ac_ct_CC"; then
4561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4562printf "%s\n" "$ac_ct_CC" >&6; }
4563else
4564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4565printf "%s\n" "no" >&6; }
4566fi
4567
4568 if test "x$ac_ct_CC" = x; then
4569 CC=""
4570 else
4571 case $cross_compiling:$ac_tool_warned in
4572yes:)
4573{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4574printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4575ac_tool_warned=yes ;;
4576esac
4577 CC=$ac_ct_CC
4578 fi
4579else
4580 CC="$ac_cv_prog_CC"
4581fi
4582
4583fi
4584
4585
3824test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4586test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3825$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4587printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3826as_fn_error $? "no acceptable C compiler found in \$PATH 4588as_fn_error $? "no acceptable C compiler found in \$PATH
3827See \`config.log' for more details" "$LINENO" 5 ; } 4589See \`config.log' for more details" "$LINENO" 5; }
3828 4590
3829# Provide some information about the compiler. 4591# Provide some information about the compiler.
3830$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4592printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3831set X $ac_compile 4593set X $ac_compile
3832ac_compiler=$2 4594ac_compiler=$2
3833for ac_option in --version -v -V -qversion; do 4595for ac_option in --version -v -V -qversion -version; do
3834 { { ac_try="$ac_compiler $ac_option >&5" 4596 { { ac_try="$ac_compiler $ac_option >&5"
3835case "(($ac_try" in 4597case "(($ac_try" in
3836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837 *) ac_try_echo=$ac_try;; 4599 *) ac_try_echo=$ac_try;;
3838esac 4600esac
3839eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4601eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3840$as_echo "$ac_try_echo"; } >&5 4602printf "%s\n" "$ac_try_echo"; } >&5
3841 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4603 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3842 ac_status=$? 4604 ac_status=$?
3843 if test -s conftest.err; then 4605 if test -s conftest.err; then
3844 sed '10a\ 4606 sed '10a\
3845... rest of stderr output deleted ... 4607... rest of stderr output deleted ...
3846 10q' conftest.err >conftest.er1 4608 10q' conftest.err >conftest.er1
3847 cat conftest.er1 >&5 4609 cat conftest.er1 >&5
3848 fi 4610 fi
3849 rm -f conftest.er1 conftest.err 4611 rm -f conftest.er1 conftest.err
3850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4612 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3851 test $ac_status = 0; } 4613 test $ac_status = 0; }
3852done 4614done
3853 4615
3854cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4616cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3855/* end confdefs.h. */ 4617/* end confdefs.h. */
3856 4618
3857int 4619int
3858main () 4620main (void)
3859{ 4621{
3860 4622
3861 ; 4623 ;
3862 return 0; 4624 return 0;
3863} 4625}
3865ac_clean_files_save=$ac_clean_files 4627ac_clean_files_save=$ac_clean_files
3866ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4628ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3867# Try to create an executable without -o first, disregard a.out. 4629# Try to create an executable without -o first, disregard a.out.
3868# It will help us diagnose broken compilers, and finding out an intuition 4630# It will help us diagnose broken compilers, and finding out an intuition
3869# of exeext. 4631# of exeext.
3870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4632{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3871$as_echo_n "checking whether the C compiler works... " >&6; } 4633printf %s "checking whether the C compiler works... " >&6; }
3872ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4634ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3873 4635
3874# The possible output files: 4636# The possible output files:
3875ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4637ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3876 4638
3877ac_rmfiles= 4639ac_rmfiles=
3888case "(($ac_try" in 4650case "(($ac_try" in
3889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3890 *) ac_try_echo=$ac_try;; 4652 *) ac_try_echo=$ac_try;;
3891esac 4653esac
3892eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4654eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3893$as_echo "$ac_try_echo"; } >&5 4655printf "%s\n" "$ac_try_echo"; } >&5
3894 (eval "$ac_link_default") 2>&5 4656 (eval "$ac_link_default") 2>&5
3895 ac_status=$? 4657 ac_status=$?
3896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3897 test $ac_status = 0; }; then : 4659 test $ac_status = 0; }
4660then :
3898 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4661 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3899# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4662# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3900# in a Makefile. We should not override ac_cv_exeext if it was cached, 4663# in a Makefile. We should not override ac_cv_exeext if it was cached,
3901# so that the user can short-circuit this test for compilers unknown to 4664# so that the user can short-circuit this test for compilers unknown to
3902# Autoconf. 4665# Autoconf.
3909 [ab].out ) 4672 [ab].out )
3910 # We found the default executable, but exeext='' is most 4673 # We found the default executable, but exeext='' is most
3911 # certainly right. 4674 # certainly right.
3912 break;; 4675 break;;
3913 *.* ) 4676 *.* )
3914 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4677 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3915 then :; else 4678 then :; else
3916 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4679 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3917 fi 4680 fi
3918 # We set ac_cv_exeext here because the later test for it is not 4681 # We set ac_cv_exeext here because the later test for it is not
3919 # safe: cross compilers may not add the suffix if given an `-o' 4682 # safe: cross compilers may not add the suffix if given an `-o'
3925 break;; 4688 break;;
3926 esac 4689 esac
3927done 4690done
3928test "$ac_cv_exeext" = no && ac_cv_exeext= 4691test "$ac_cv_exeext" = no && ac_cv_exeext=
3929 4692
3930else 4693else $as_nop
3931 ac_file='' 4694 ac_file=''
3932fi 4695fi
3933if test -z "$ac_file"; then : 4696if test -z "$ac_file"
4697then :
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3935$as_echo "no" >&6; } 4699printf "%s\n" "no" >&6; }
3936$as_echo "$as_me: failed program was:" >&5 4700printf "%s\n" "$as_me: failed program was:" >&5
3937sed 's/^/| /' conftest.$ac_ext >&5 4701sed 's/^/| /' conftest.$ac_ext >&5
3938 4702
3939{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4703{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3940$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4704printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3941as_fn_error 77 "C compiler cannot create executables 4705as_fn_error 77 "C compiler cannot create executables
3942See \`config.log' for more details" "$LINENO" 5 ; } 4706See \`config.log' for more details" "$LINENO" 5; }
3943else 4707else $as_nop
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3945$as_echo "yes" >&6; } 4709printf "%s\n" "yes" >&6; }
3946fi 4710fi
3947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4711{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3948$as_echo_n "checking for C compiler default output file name... " >&6; } 4712printf %s "checking for C compiler default output file name... " >&6; }
3949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4713{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3950$as_echo "$ac_file" >&6; } 4714printf "%s\n" "$ac_file" >&6; }
3951ac_exeext=$ac_cv_exeext 4715ac_exeext=$ac_cv_exeext
3952 4716
3953rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4717rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3954ac_clean_files=$ac_clean_files_save 4718ac_clean_files=$ac_clean_files_save
3955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4719{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3956$as_echo_n "checking for suffix of executables... " >&6; } 4720printf %s "checking for suffix of executables... " >&6; }
3957if { { ac_try="$ac_link" 4721if { { ac_try="$ac_link"
3958case "(($ac_try" in 4722case "(($ac_try" in
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;; 4724 *) ac_try_echo=$ac_try;;
3961esac 4725esac
3962eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4726eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3963$as_echo "$ac_try_echo"; } >&5 4727printf "%s\n" "$ac_try_echo"; } >&5
3964 (eval "$ac_link") 2>&5 4728 (eval "$ac_link") 2>&5
3965 ac_status=$? 4729 ac_status=$?
3966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3967 test $ac_status = 0; }; then : 4731 test $ac_status = 0; }
4732then :
3968 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4733 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3969# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4734# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3970# work properly (i.e., refer to `conftest.exe'), while it won't with 4735# work properly (i.e., refer to `conftest.exe'), while it won't with
3971# `rm'. 4736# `rm'.
3972for ac_file in conftest.exe conftest conftest.*; do 4737for ac_file in conftest.exe conftest conftest.*; do
3976 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4741 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3977 break;; 4742 break;;
3978 * ) break;; 4743 * ) break;;
3979 esac 4744 esac
3980done 4745done
3981else 4746else $as_nop
3982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4747 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3983$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4748printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3984as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4749as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3985See \`config.log' for more details" "$LINENO" 5 ; } 4750See \`config.log' for more details" "$LINENO" 5; }
3986fi 4751fi
3987rm -f conftest conftest$ac_cv_exeext 4752rm -f conftest conftest$ac_cv_exeext
3988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4753{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3989$as_echo "$ac_cv_exeext" >&6; } 4754printf "%s\n" "$ac_cv_exeext" >&6; }
3990 4755
3991rm -f conftest.$ac_ext 4756rm -f conftest.$ac_ext
3992EXEEXT=$ac_cv_exeext 4757EXEEXT=$ac_cv_exeext
3993ac_exeext=$EXEEXT 4758ac_exeext=$EXEEXT
3994cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4759cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3995/* end confdefs.h. */ 4760/* end confdefs.h. */
3996#include <stdio.h> 4761#include <stdio.h>
3997int 4762int
3998main () 4763main (void)
3999{ 4764{
4000FILE *f = fopen ("conftest.out", "w"); 4765FILE *f = fopen ("conftest.out", "w");
4001 return ferror (f) || fclose (f) != 0; 4766 return ferror (f) || fclose (f) != 0;
4002 4767
4003 ; 4768 ;
4005} 4770}
4006_ACEOF 4771_ACEOF
4007ac_clean_files="$ac_clean_files conftest.out" 4772ac_clean_files="$ac_clean_files conftest.out"
4008# Check that the compiler produces executables we can run. If not, either 4773# Check that the compiler produces executables we can run. If not, either
4009# the compiler is broken, or we cross compile. 4774# the compiler is broken, or we cross compile.
4010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4775{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4011$as_echo_n "checking whether we are cross compiling... " >&6; } 4776printf %s "checking whether we are cross compiling... " >&6; }
4012if test "$cross_compiling" != yes; then 4777if test "$cross_compiling" != yes; then
4013 { { ac_try="$ac_link" 4778 { { ac_try="$ac_link"
4014case "(($ac_try" in 4779case "(($ac_try" in
4015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4016 *) ac_try_echo=$ac_try;; 4781 *) ac_try_echo=$ac_try;;
4017esac 4782esac
4018eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4783eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4019$as_echo "$ac_try_echo"; } >&5 4784printf "%s\n" "$ac_try_echo"; } >&5
4020 (eval "$ac_link") 2>&5 4785 (eval "$ac_link") 2>&5
4021 ac_status=$? 4786 ac_status=$?
4022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4023 test $ac_status = 0; } 4788 test $ac_status = 0; }
4024 if { ac_try='./conftest$ac_cv_exeext' 4789 if { ac_try='./conftest$ac_cv_exeext'
4025 { { case "(($ac_try" in 4790 { { case "(($ac_try" in
4026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;; 4792 *) ac_try_echo=$ac_try;;
4028esac 4793esac
4029eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4794eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4030$as_echo "$ac_try_echo"; } >&5 4795printf "%s\n" "$ac_try_echo"; } >&5
4031 (eval "$ac_try") 2>&5 4796 (eval "$ac_try") 2>&5
4032 ac_status=$? 4797 ac_status=$?
4033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4798 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4034 test $ac_status = 0; }; }; then 4799 test $ac_status = 0; }; }; then
4035 cross_compiling=no 4800 cross_compiling=no
4036 else 4801 else
4037 if test "$cross_compiling" = maybe; then 4802 if test "$cross_compiling" = maybe; then
4038 cross_compiling=yes 4803 cross_compiling=yes
4039 else 4804 else
4040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4805 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4806printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4042as_fn_error $? "cannot run C compiled programs. 4807as_fn_error 77 "cannot run C compiled programs.
4043If you meant to cross compile, use \`--host'. 4808If you meant to cross compile, use \`--host'.
4044See \`config.log' for more details" "$LINENO" 5 ; } 4809See \`config.log' for more details" "$LINENO" 5; }
4045 fi 4810 fi
4046 fi 4811 fi
4047fi 4812fi
4048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4813{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4049$as_echo "$cross_compiling" >&6; } 4814printf "%s\n" "$cross_compiling" >&6; }
4050 4815
4051rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4816rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4052ac_clean_files=$ac_clean_files_save 4817ac_clean_files=$ac_clean_files_save
4053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4818{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4054$as_echo_n "checking for suffix of object files... " >&6; } 4819printf %s "checking for suffix of object files... " >&6; }
4055if test "${ac_cv_objext+set}" = set; then : 4820if test ${ac_cv_objext+y}
4056 $as_echo_n "(cached) " >&6 4821then :
4057else 4822 printf %s "(cached) " >&6
4823else $as_nop
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059/* end confdefs.h. */ 4825/* end confdefs.h. */
4060 4826
4061int 4827int
4062main () 4828main (void)
4063{ 4829{
4064 4830
4065 ; 4831 ;
4066 return 0; 4832 return 0;
4067} 4833}
4071case "(($ac_try" in 4837case "(($ac_try" in
4072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4073 *) ac_try_echo=$ac_try;; 4839 *) ac_try_echo=$ac_try;;
4074esac 4840esac
4075eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4841eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4076$as_echo "$ac_try_echo"; } >&5 4842printf "%s\n" "$ac_try_echo"; } >&5
4077 (eval "$ac_compile") 2>&5 4843 (eval "$ac_compile") 2>&5
4078 ac_status=$? 4844 ac_status=$?
4079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4845 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4080 test $ac_status = 0; }; then : 4846 test $ac_status = 0; }
4847then :
4081 for ac_file in conftest.o conftest.obj conftest.*; do 4848 for ac_file in conftest.o conftest.obj conftest.*; do
4082 test -f "$ac_file" || continue; 4849 test -f "$ac_file" || continue;
4083 case $ac_file in 4850 case $ac_file in
4084 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4851 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4085 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4852 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4086 break;; 4853 break;;
4087 esac 4854 esac
4088done 4855done
4089else 4856else $as_nop
4090 $as_echo "$as_me: failed program was:" >&5 4857 printf "%s\n" "$as_me: failed program was:" >&5
4091sed 's/^/| /' conftest.$ac_ext >&5 4858sed 's/^/| /' conftest.$ac_ext >&5
4092 4859
4093{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4860{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4094$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4861printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4095as_fn_error $? "cannot compute suffix of object files: cannot compile 4862as_fn_error $? "cannot compute suffix of object files: cannot compile
4096See \`config.log' for more details" "$LINENO" 5 ; } 4863See \`config.log' for more details" "$LINENO" 5; }
4097fi 4864fi
4098rm -f conftest.$ac_cv_objext conftest.$ac_ext 4865rm -f conftest.$ac_cv_objext conftest.$ac_ext
4099fi 4866fi
4100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4867{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4101$as_echo "$ac_cv_objext" >&6; } 4868printf "%s\n" "$ac_cv_objext" >&6; }
4102OBJEXT=$ac_cv_objext 4869OBJEXT=$ac_cv_objext
4103ac_objext=$OBJEXT 4870ac_objext=$OBJEXT
4104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4871{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4105$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4872printf %s "checking whether the compiler supports GNU C... " >&6; }
4106if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4873if test ${ac_cv_c_compiler_gnu+y}
4107 $as_echo_n "(cached) " >&6 4874then :
4108else 4875 printf %s "(cached) " >&6
4876else $as_nop
4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110/* end confdefs.h. */ 4878/* end confdefs.h. */
4111 4879
4112int 4880int
4113main () 4881main (void)
4114{ 4882{
4115#ifndef __GNUC__ 4883#ifndef __GNUC__
4116 choke me 4884 choke me
4117#endif 4885#endif
4118 4886
4119 ; 4887 ;
4120 return 0; 4888 return 0;
4121} 4889}
4122_ACEOF 4890_ACEOF
4123if ac_fn_c_try_compile "$LINENO"; then : 4891if ac_fn_c_try_compile "$LINENO"
4892then :
4124 ac_compiler_gnu=yes 4893 ac_compiler_gnu=yes
4125else 4894else $as_nop
4126 ac_compiler_gnu=no 4895 ac_compiler_gnu=no
4127fi 4896fi
4128rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4897rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4129ac_cv_c_compiler_gnu=$ac_compiler_gnu 4898ac_cv_c_compiler_gnu=$ac_compiler_gnu
4130 4899
4131fi 4900fi
4132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4901{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4133$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4902printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4903ac_compiler_gnu=$ac_cv_c_compiler_gnu
4904
4134if test $ac_compiler_gnu = yes; then 4905if test $ac_compiler_gnu = yes; then
4135 GCC=yes 4906 GCC=yes
4136else 4907else
4137 GCC= 4908 GCC=
4138fi 4909fi
4139ac_test_CFLAGS=${CFLAGS+set} 4910ac_test_CFLAGS=${CFLAGS+y}
4140ac_save_CFLAGS=$CFLAGS 4911ac_save_CFLAGS=$CFLAGS
4141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4912{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4142$as_echo_n "checking whether $CC accepts -g... " >&6; } 4913printf %s "checking whether $CC accepts -g... " >&6; }
4143if test "${ac_cv_prog_cc_g+set}" = set; then : 4914if test ${ac_cv_prog_cc_g+y}
4144 $as_echo_n "(cached) " >&6 4915then :
4145else 4916 printf %s "(cached) " >&6
4917else $as_nop
4146 ac_save_c_werror_flag=$ac_c_werror_flag 4918 ac_save_c_werror_flag=$ac_c_werror_flag
4147 ac_c_werror_flag=yes 4919 ac_c_werror_flag=yes
4148 ac_cv_prog_cc_g=no 4920 ac_cv_prog_cc_g=no
4149 CFLAGS="-g" 4921 CFLAGS="-g"
4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151/* end confdefs.h. */ 4923/* end confdefs.h. */
4152 4924
4153int 4925int
4154main () 4926main (void)
4155{ 4927{
4156 4928
4157 ; 4929 ;
4158 return 0; 4930 return 0;
4159} 4931}
4160_ACEOF 4932_ACEOF
4161if ac_fn_c_try_compile "$LINENO"; then : 4933if ac_fn_c_try_compile "$LINENO"
4934then :
4162 ac_cv_prog_cc_g=yes 4935 ac_cv_prog_cc_g=yes
4163else 4936else $as_nop
4164 CFLAGS="" 4937 CFLAGS=""
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166/* end confdefs.h. */ 4939/* end confdefs.h. */
4167 4940
4168int 4941int
4169main () 4942main (void)
4170{ 4943{
4171 4944
4172 ; 4945 ;
4173 return 0; 4946 return 0;
4174} 4947}
4175_ACEOF 4948_ACEOF
4176if ac_fn_c_try_compile "$LINENO"; then : 4949if ac_fn_c_try_compile "$LINENO"
4950then :
4177 4951
4178else 4952else $as_nop
4179 ac_c_werror_flag=$ac_save_c_werror_flag 4953 ac_c_werror_flag=$ac_save_c_werror_flag
4180 CFLAGS="-g" 4954 CFLAGS="-g"
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182/* end confdefs.h. */ 4956/* end confdefs.h. */
4183 4957
4184int 4958int
4185main () 4959main (void)
4186{ 4960{
4187 4961
4188 ; 4962 ;
4189 return 0; 4963 return 0;
4190} 4964}
4191_ACEOF 4965_ACEOF
4192if ac_fn_c_try_compile "$LINENO"; then : 4966if ac_fn_c_try_compile "$LINENO"
4967then :
4193 ac_cv_prog_cc_g=yes 4968 ac_cv_prog_cc_g=yes
4194fi 4969fi
4195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4970rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4196fi 4971fi
4197rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4972rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4198fi 4973fi
4199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4974rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4200 ac_c_werror_flag=$ac_save_c_werror_flag 4975 ac_c_werror_flag=$ac_save_c_werror_flag
4201fi 4976fi
4202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4977{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4203$as_echo "$ac_cv_prog_cc_g" >&6; } 4978printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4204if test "$ac_test_CFLAGS" = set; then 4979if test $ac_test_CFLAGS; then
4205 CFLAGS=$ac_save_CFLAGS 4980 CFLAGS=$ac_save_CFLAGS
4206elif test $ac_cv_prog_cc_g = yes; then 4981elif test $ac_cv_prog_cc_g = yes; then
4207 if test "$GCC" = yes; then 4982 if test "$GCC" = yes; then
4208 CFLAGS="-g -O2" 4983 CFLAGS="-g -O2"
4209 else 4984 else
4214 CFLAGS="-O2" 4989 CFLAGS="-O2"
4215 else 4990 else
4216 CFLAGS= 4991 CFLAGS=
4217 fi 4992 fi
4218fi 4993fi
4994ac_prog_cc_stdc=no
4995if test x$ac_prog_cc_stdc = xno
4996then :
4997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4998printf %s "checking for $CC option to enable C11 features... " >&6; }
4999if test ${ac_cv_prog_cc_c11+y}
5000then :
5001 printf %s "(cached) " >&6
5002else $as_nop
5003 ac_cv_prog_cc_c11=no
5004ac_save_CC=$CC
5005cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5006/* end confdefs.h. */
5007$ac_c_conftest_c11_program
5008_ACEOF
5009for ac_arg in '' -std=gnu11
5010do
5011 CC="$ac_save_CC $ac_arg"
5012 if ac_fn_c_try_compile "$LINENO"
5013then :
5014 ac_cv_prog_cc_c11=$ac_arg
5015fi
5016rm -f core conftest.err conftest.$ac_objext conftest.beam
5017 test "x$ac_cv_prog_cc_c11" != "xno" && break
5018done
5019rm -f conftest.$ac_ext
5020CC=$ac_save_CC
5021fi
5022
5023if test "x$ac_cv_prog_cc_c11" = xno
5024then :
5025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5026printf "%s\n" "unsupported" >&6; }
5027else $as_nop
5028 if test "x$ac_cv_prog_cc_c11" = x
5029then :
5030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5031printf "%s\n" "none needed" >&6; }
5032else $as_nop
5033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5034printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5035 CC="$CC $ac_cv_prog_cc_c11"
5036fi
5037 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5038 ac_prog_cc_stdc=c11
5039fi
5040fi
5041if test x$ac_prog_cc_stdc = xno
5042then :
5043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5044printf %s "checking for $CC option to enable C99 features... " >&6; }
5045if test ${ac_cv_prog_cc_c99+y}
5046then :
5047 printf %s "(cached) " >&6
5048else $as_nop
5049 ac_cv_prog_cc_c99=no
5050ac_save_CC=$CC
5051cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5052/* end confdefs.h. */
5053$ac_c_conftest_c99_program
5054_ACEOF
5055for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5056do
5057 CC="$ac_save_CC $ac_arg"
5058 if ac_fn_c_try_compile "$LINENO"
5059then :
5060 ac_cv_prog_cc_c99=$ac_arg
5061fi
5062rm -f core conftest.err conftest.$ac_objext conftest.beam
5063 test "x$ac_cv_prog_cc_c99" != "xno" && break
5064done
5065rm -f conftest.$ac_ext
5066CC=$ac_save_CC
5067fi
5068
5069if test "x$ac_cv_prog_cc_c99" = xno
5070then :
5071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5072printf "%s\n" "unsupported" >&6; }
5073else $as_nop
5074 if test "x$ac_cv_prog_cc_c99" = x
5075then :
5076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5077printf "%s\n" "none needed" >&6; }
5078else $as_nop
5079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5080printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5081 CC="$CC $ac_cv_prog_cc_c99"
5082fi
5083 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5084 ac_prog_cc_stdc=c99
5085fi
5086fi
5087if test x$ac_prog_cc_stdc = xno
5088then :
4219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4220$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5090printf %s "checking for $CC option to enable C89 features... " >&6; }
4221if test "${ac_cv_prog_cc_c89+set}" = set; then : 5091if test ${ac_cv_prog_cc_c89+y}
4222 $as_echo_n "(cached) " >&6 5092then :
4223else 5093 printf %s "(cached) " >&6
5094else $as_nop
4224 ac_cv_prog_cc_c89=no 5095 ac_cv_prog_cc_c89=no
4225ac_save_CC=$CC 5096ac_save_CC=$CC
4226cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5097cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227/* end confdefs.h. */ 5098/* end confdefs.h. */
4228#include <stdarg.h> 5099$ac_c_conftest_c89_program
4229#include <stdio.h>
4230#include <sys/types.h>
4231#include <sys/stat.h>
4232/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4233struct buf { int x; };
4234FILE * (*rcsopen) (struct buf *, struct stat *, int);
4235static char *e (p, i)
4236 char **p;
4237 int i;
4238{
4239 return p[i];
4240}
4241static char *f (char * (*g) (char **, int), char **p, ...)
4242{
4243 char *s;
4244 va_list v;
4245 va_start (v,p);
4246 s = g (p, va_arg (v,int));
4247 va_end (v);
4248 return s;
4249}
4250
4251/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4252 function prototypes and stuff, but not '\xHH' hex character constants.
4253 These don't provoke an error unfortunately, instead are silently treated
4254 as 'x'. The following induces an error, until -std is added to get
4255 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4256 array size at least. It's necessary to write '\x00'==0 to get something
4257 that's true only with -std. */
4258int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4259
4260/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4261 inside strings and character constants. */
4262#define FOO(x) 'x'
4263int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4264
4265int test (int i, double x);
4266struct s1 {int (*f) (int a);};
4267struct s2 {int (*f) (double a);};
4268int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4269int argc;
4270char **argv;
4271int
4272main ()
4273{
4274return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4275 ;
4276 return 0;
4277}
4278_ACEOF 5100_ACEOF
4279for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5101for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4280 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4281do 5102do
4282 CC="$ac_save_CC $ac_arg" 5103 CC="$ac_save_CC $ac_arg"
4283 if ac_fn_c_try_compile "$LINENO"; then : 5104 if ac_fn_c_try_compile "$LINENO"
5105then :
4284 ac_cv_prog_cc_c89=$ac_arg 5106 ac_cv_prog_cc_c89=$ac_arg
4285fi 5107fi
4286rm -f core conftest.err conftest.$ac_objext 5108rm -f core conftest.err conftest.$ac_objext conftest.beam
4287 test "x$ac_cv_prog_cc_c89" != "xno" && break 5109 test "x$ac_cv_prog_cc_c89" != "xno" && break
4288done 5110done
4289rm -f conftest.$ac_ext 5111rm -f conftest.$ac_ext
4290CC=$ac_save_CC 5112CC=$ac_save_CC
4291
4292fi 5113fi
4293# AC_CACHE_VAL 5114
4294case "x$ac_cv_prog_cc_c89" in 5115if test "x$ac_cv_prog_cc_c89" = xno
4295 x) 5116then :
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4297$as_echo "none needed" >&6; } ;;
4298 xno)
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4300$as_echo "unsupported" >&6; } ;; 5118printf "%s\n" "unsupported" >&6; }
4301 *) 5119else $as_nop
5120 if test "x$ac_cv_prog_cc_c89" = x
5121then :
5122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5123printf "%s\n" "none needed" >&6; }
5124else $as_nop
5125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5126printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4302 CC="$CC $ac_cv_prog_cc_c89" 5127 CC="$CC $ac_cv_prog_cc_c89"
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5128fi
4304$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5129 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4305esac 5130 ac_prog_cc_stdc=c89
4306if test "x$ac_cv_prog_cc_c89" != xno; then : 5131fi
4307
4308fi 5132fi
4309 5133
4310ac_ext=c 5134ac_ext=c
4311ac_cpp='$CPP $CPPFLAGS' 5135ac_cpp='$CPP $CPPFLAGS'
4312ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5136ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4313ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5137ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4314ac_compiler_gnu=$ac_cv_c_compiler_gnu 5138ac_compiler_gnu=$ac_cv_c_compiler_gnu
4315 5139
5140
5141 ac_ext=c
5142ac_cpp='$CPP $CPPFLAGS'
5143ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5144ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5145ac_compiler_gnu=$ac_cv_c_compiler_gnu
5146{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5147printf %s "checking whether $CC understands -c and -o together... " >&6; }
5148if test ${am_cv_prog_cc_c_o+y}
5149then :
5150 printf %s "(cached) " >&6
5151else $as_nop
5152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5153/* end confdefs.h. */
5154
5155int
5156main (void)
5157{
5158
5159 ;
5160 return 0;
5161}
5162_ACEOF
5163 # Make sure it works both with $CC and with simple cc.
5164 # Following AC_PROG_CC_C_O, we do the test twice because some
5165 # compilers refuse to overwrite an existing .o file with -o,
5166 # though they will create one.
5167 am_cv_prog_cc_c_o=yes
5168 for am_i in 1 2; do
5169 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5170 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5171 ac_status=$?
5172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173 (exit $ac_status); } \
5174 && test -f conftest2.$ac_objext; then
5175 : OK
5176 else
5177 am_cv_prog_cc_c_o=no
5178 break
5179 fi
5180 done
5181 rm -f core conftest*
5182 unset am_i
5183fi
5184{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5185printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
5186if test "$am_cv_prog_cc_c_o" != yes; then
5187 # Losing compiler, so override with the script.
5188 # FIXME: It is wrong to rewrite CC.
5189 # But if we don't then we get into trouble of one sort or another.
5190 # A longer-term fix would be to have automake use am__CC in this case,
5191 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5192 CC="$am_aux_dir/compile $CC"
5193fi
5194ac_ext=c
5195ac_cpp='$CPP $CPPFLAGS'
5196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5198ac_compiler_gnu=$ac_cv_c_compiler_gnu
5199
5200
4316depcc="$CC" am_compiler_list= 5201depcc="$CC" am_compiler_list=
4317 5202
4318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5203{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4319$as_echo_n "checking dependency style of $depcc... " >&6; } 5204printf %s "checking dependency style of $depcc... " >&6; }
4320if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 5205if test ${am_cv_CC_dependencies_compiler_type+y}
4321 $as_echo_n "(cached) " >&6 5206then :
4322else 5207 printf %s "(cached) " >&6
5208else $as_nop
4323 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5209 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4324 # We make a subdir and do the tests there. Otherwise we can end up 5210 # We make a subdir and do the tests there. Otherwise we can end up
4325 # making bogus files that we don't know about and never remove. For 5211 # making bogus files that we don't know about and never remove. For
4326 # instance it was reported that on HP-UX the gcc test will end up 5212 # instance it was reported that on HP-UX the gcc test will end up
4327 # making a dummy file named `D' -- because `-MD' means `put the output 5213 # making a dummy file named 'D' -- because '-MD' means "put the output
4328 # in D'. 5214 # in D".
5215 rm -rf conftest.dir
4329 mkdir conftest.dir 5216 mkdir conftest.dir
4330 # Copy depcomp to subdir because otherwise we won't find it if we're 5217 # Copy depcomp to subdir because otherwise we won't find it if we're
4331 # using a relative directory. 5218 # using a relative directory.
4332 cp "$am_depcomp" conftest.dir 5219 cp "$am_depcomp" conftest.dir
4333 cd conftest.dir 5220 cd conftest.dir
4357 # overwrite some of them when testing with obscure command lines. 5244 # overwrite some of them when testing with obscure command lines.
4358 # This happens at least with the AIX C compiler. 5245 # This happens at least with the AIX C compiler.
4359 : > sub/conftest.c 5246 : > sub/conftest.c
4360 for i in 1 2 3 4 5 6; do 5247 for i in 1 2 3 4 5 6; do
4361 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5248 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4362 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 5249 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4363 # Solaris 8's {/usr,}/bin/sh. 5250 # Solaris 10 /bin/sh.
4364 touch sub/conftst$i.h 5251 echo '/* dummy */' > sub/conftst$i.h
4365 done 5252 done
4366 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5253 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4367 5254
4368 # We check with `-c' and `-o' for the sake of the "dashmstdout" 5255 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4369 # mode. It turns out that the SunPro C++ compiler does not properly 5256 # mode. It turns out that the SunPro C++ compiler does not properly
4370 # handle `-M -o', and we need to detect this. Also, some Intel 5257 # handle '-M -o', and we need to detect this. Also, some Intel
4371 # versions had trouble with output in subdirs 5258 # versions had trouble with output in subdirs.
4372 am__obj=sub/conftest.${OBJEXT-o} 5259 am__obj=sub/conftest.${OBJEXT-o}
4373 am__minus_obj="-o $am__obj" 5260 am__minus_obj="-o $am__obj"
4374 case $depmode in 5261 case $depmode in
4375 gcc) 5262 gcc)
4376 # This depmode causes a compiler race in universal mode. 5263 # This depmode causes a compiler race in universal mode.
4377 test "$am__universal" = false || continue 5264 test "$am__universal" = false || continue
4378 ;; 5265 ;;
4379 nosideeffect) 5266 nosideeffect)
4380 # after this tag, mechanisms are not by side-effect, so they'll 5267 # After this tag, mechanisms are not by side-effect, so they'll
4381 # only be used when explicitly requested 5268 # only be used when explicitly requested.
4382 if test "x$enable_dependency_tracking" = xyes; then 5269 if test "x$enable_dependency_tracking" = xyes; then
4383 continue 5270 continue
4384 else 5271 else
4385 break 5272 break
4386 fi 5273 fi
4387 ;; 5274 ;;
4388 msvisualcpp | msvcmsys) 5275 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4389 # This compiler won't grok `-c -o', but also, the minuso test has 5276 # This compiler won't grok '-c -o', but also, the minuso test has
4390 # not run yet. These depmodes are late enough in the game, and 5277 # not run yet. These depmodes are late enough in the game, and
4391 # so weak that their functioning should not be impacted. 5278 # so weak that their functioning should not be impacted.
4392 am__obj=conftest.${OBJEXT-o} 5279 am__obj=conftest.${OBJEXT-o}
4393 am__minus_obj= 5280 am__minus_obj=
4394 ;; 5281 ;;
4423else 5310else
4424 am_cv_CC_dependencies_compiler_type=none 5311 am_cv_CC_dependencies_compiler_type=none
4425fi 5312fi
4426 5313
4427fi 5314fi
4428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5315{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4429$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5316printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4430CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5317CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4431 5318
4432 if 5319 if
4433 test "x$enable_dependency_tracking" != xno \ 5320 test "x$enable_dependency_tracking" != xno \
4434 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5321 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4440fi 5327fi
4441 5328
4442 5329
4443 5330
4444# Check whether --with-gnu-ld was given. 5331# Check whether --with-gnu-ld was given.
4445if test "${with_gnu_ld+set}" = set; then : 5332if test ${with_gnu_ld+y}
5333then :
4446 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5334 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4447else 5335else $as_nop
4448 with_gnu_ld=no 5336 with_gnu_ld=no
4449fi 5337fi
4450 5338
4451ac_prog=ld 5339ac_prog=ld
4452if test "$GCC" = yes; then 5340if test "$GCC" = yes; then
4453 # Check if gcc -print-prog-name=ld gives a path. 5341 # Check if gcc -print-prog-name=ld gives a path.
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 5342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4455$as_echo_n "checking for ld used by GCC... " >&6; } 5343printf %s "checking for ld used by GCC... " >&6; }
4456 case $host in 5344 case $host in
4457 *-*-mingw*) 5345 *-*-mingw*)
4458 # gcc leaves a trailing carriage return which upsets mingw 5346 # gcc leaves a trailing carriage return which upsets mingw
4459 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5347 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4460 *) 5348 *)
4479 # If it is relative, then search for the first ld in PATH. 5367 # If it is relative, then search for the first ld in PATH.
4480 with_gnu_ld=unknown 5368 with_gnu_ld=unknown
4481 ;; 5369 ;;
4482 esac 5370 esac
4483elif test "$with_gnu_ld" = yes; then 5371elif test "$with_gnu_ld" = yes; then
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4485$as_echo_n "checking for GNU ld... " >&6; } 5373printf %s "checking for GNU ld... " >&6; }
4486else 5374else
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4488$as_echo_n "checking for non-GNU ld... " >&6; } 5376printf %s "checking for non-GNU ld... " >&6; }
4489fi 5377fi
4490if test "${acl_cv_path_LD+set}" = set; then : 5378if test ${acl_cv_path_LD+y}
4491 $as_echo_n "(cached) " >&6 5379then :
4492else 5380 printf %s "(cached) " >&6
5381else $as_nop
4493 if test -z "$LD"; then 5382 if test -z "$LD"; then
4494 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 5383 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4495 for ac_dir in $PATH; do 5384 for ac_dir in $PATH; do
4496 test -z "$ac_dir" && ac_dir=. 5385 test -z "$ac_dir" && ac_dir=.
4497 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5386 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4512fi 5401fi
4513fi 5402fi
4514 5403
4515LD="$acl_cv_path_LD" 5404LD="$acl_cv_path_LD"
4516if test -n "$LD"; then 5405if test -n "$LD"; then
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4518$as_echo "$LD" >&6; } 5407printf "%s\n" "$LD" >&6; }
4519else 5408else
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4521$as_echo "no" >&6; } 5410printf "%s\n" "no" >&6; }
4522fi 5411fi
4523test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5412test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5413{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4525$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5414printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
4526if test "${acl_cv_prog_gnu_ld+set}" = set; then : 5415if test ${acl_cv_prog_gnu_ld+y}
4527 $as_echo_n "(cached) " >&6 5416then :
4528else 5417 printf %s "(cached) " >&6
5418else $as_nop
4529 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 5419 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4530if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 5420if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4531 acl_cv_prog_gnu_ld=yes 5421 acl_cv_prog_gnu_ld=yes
4532else 5422else
4533 acl_cv_prog_gnu_ld=no 5423 acl_cv_prog_gnu_ld=no
4534fi 5424fi
4535fi 5425fi
4536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 5426{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4537$as_echo "$acl_cv_prog_gnu_ld" >&6; } 5427printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; }
4538with_gnu_ld=$acl_cv_prog_gnu_ld 5428with_gnu_ld=$acl_cv_prog_gnu_ld
4539 5429
4540 5430
4541 5431
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 5432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4543$as_echo_n "checking for shared library run path origin... " >&6; } 5433printf %s "checking for shared library run path origin... " >&6; }
4544if test "${acl_cv_rpath+set}" = set; then : 5434if test ${acl_cv_rpath+y}
4545 $as_echo_n "(cached) " >&6 5435then :
4546else 5436 printf %s "(cached) " >&6
5437else $as_nop
4547 5438
4548 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 5439 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4549 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 5440 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4550 . ./conftest.sh 5441 . ./conftest.sh
4551 rm -f ./conftest.sh 5442 rm -f ./conftest.sh
4552 acl_cv_rpath=done 5443 acl_cv_rpath=done
4553 5444
4554fi 5445fi
4555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 5446{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4556$as_echo "$acl_cv_rpath" >&6; } 5447printf "%s\n" "$acl_cv_rpath" >&6; }
4557 wl="$acl_cv_wl" 5448 wl="$acl_cv_wl"
4558 libext="$acl_cv_libext" 5449 libext="$acl_cv_libext"
4559 shlibext="$acl_cv_shlibext" 5450 shlibext="$acl_cv_shlibext"
4560 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 5451 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4561 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 5452 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4562 hardcode_direct="$acl_cv_hardcode_direct" 5453 hardcode_direct="$acl_cv_hardcode_direct"
4563 hardcode_minus_L="$acl_cv_hardcode_minus_L" 5454 hardcode_minus_L="$acl_cv_hardcode_minus_L"
4564 sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" 5455 sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec"
4565 sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" 5456 sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec"
4566 # Check whether --enable-rpath was given. 5457 # Check whether --enable-rpath was given.
4567if test "${enable_rpath+set}" = set; then : 5458if test ${enable_rpath+y}
5459then :
4568 enableval=$enable_rpath; : 5460 enableval=$enable_rpath; :
4569else 5461else $as_nop
4570 enable_rpath=yes 5462 enable_rpath=yes
4571fi 5463fi
4572 5464
4573 5465
4574 5466
4590 exec_prefix="$acl_save_exec_prefix" 5482 exec_prefix="$acl_save_exec_prefix"
4591 prefix="$acl_save_prefix" 5483 prefix="$acl_save_prefix"
4592 5484
4593 5485
4594# Check whether --with-libiconv-prefix was given. 5486# Check whether --with-libiconv-prefix was given.
4595if test "${with_libiconv_prefix+set}" = set; then : 5487if test ${with_libiconv_prefix+y}
5488then :
4596 withval=$with_libiconv_prefix; 5489 withval=$with_libiconv_prefix;
4597 if test "X$withval" = "Xno"; then 5490 if test "X$withval" = "Xno"; then
4598 use_additional=no 5491 use_additional=no
4599 else 5492 else
4600 if test "X$withval" = "X"; then 5493 if test "X$withval" = "X"; then
4968 5861
4969 5862
4970 5863
4971 5864
4972 5865
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 5866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4974$as_echo_n "checking whether NLS is requested... " >&6; } 5867printf %s "checking whether NLS is requested... " >&6; }
4975 # Check whether --enable-nls was given. 5868 # Check whether --enable-nls was given.
4976if test "${enable_nls+set}" = set; then : 5869if test ${enable_nls+y}
5870then :
4977 enableval=$enable_nls; USE_NLS=$enableval 5871 enableval=$enable_nls; USE_NLS=$enableval
4978else 5872else $as_nop
4979 USE_NLS=yes 5873 USE_NLS=yes
4980fi 5874fi
4981 5875
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 5876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4983$as_echo "$USE_NLS" >&6; } 5877printf "%s\n" "$USE_NLS" >&6; }
4984 5878
4985 5879
4986 5880
4987 LIBINTL= 5881 LIBINTL=
4988 LTLIBINTL= 5882 LTLIBINTL=
4994 5888
4995 5889
4996 5890
4997 5891
4998 5892
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5000$as_echo_n "checking for GNU gettext in libc... " >&6; } 5894printf %s "checking for GNU gettext in libc... " >&6; }
5001if test "${gt_cv_func_gnugettext1_libc+set}" = set; then : 5895if test ${gt_cv_func_gnugettext1_libc+y}
5002 $as_echo_n "(cached) " >&6 5896then :
5003else 5897 printf %s "(cached) " >&6
5898else $as_nop
5004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5005/* end confdefs.h. */ 5900/* end confdefs.h. */
5006#include <libintl.h> 5901#include <libintl.h>
5007extern int _nl_msg_cat_cntr; 5902extern int _nl_msg_cat_cntr;
5008extern int *_nl_domain_bindings; 5903extern int *_nl_domain_bindings;
5009int 5904int
5010main () 5905main (void)
5011{ 5906{
5012bindtextdomain ("", ""); 5907bindtextdomain ("", "");
5013return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings 5908return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
5014 ; 5909 ;
5015 return 0; 5910 return 0;
5016} 5911}
5017_ACEOF 5912_ACEOF
5018if ac_fn_c_try_link "$LINENO"; then : 5913if ac_fn_c_try_link "$LINENO"
5914then :
5019 gt_cv_func_gnugettext1_libc=yes 5915 gt_cv_func_gnugettext1_libc=yes
5020else 5916else $as_nop
5021 gt_cv_func_gnugettext1_libc=no 5917 gt_cv_func_gnugettext1_libc=no
5022fi 5918fi
5023rm -f core conftest.err conftest.$ac_objext \ 5919rm -f core conftest.err conftest.$ac_objext conftest.beam \
5024 conftest$ac_exeext conftest.$ac_ext 5920 conftest$ac_exeext conftest.$ac_ext
5025fi 5921fi
5026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5 5922{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
5027$as_echo "$gt_cv_func_gnugettext1_libc" >&6; } 5923printf "%s\n" "$gt_cv_func_gnugettext1_libc" >&6; }
5028 5924
5029 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then 5925 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
5030 5926
5031 5927
5032 5928
5055 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 5951 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5056 fi 5952 fi
5057 done 5953 done
5058 5954
5059 5955
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 5956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5061$as_echo_n "checking for iconv... " >&6; } 5957printf %s "checking for iconv... " >&6; }
5062if test "${am_cv_func_iconv+set}" = set; then : 5958if test ${am_cv_func_iconv+y}
5063 $as_echo_n "(cached) " >&6 5959then :
5064else 5960 printf %s "(cached) " >&6
5961else $as_nop
5065 5962
5066 am_cv_func_iconv="no, consider installing GNU libiconv" 5963 am_cv_func_iconv="no, consider installing GNU libiconv"
5067 am_cv_lib_iconv=no 5964 am_cv_lib_iconv=no
5068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5069/* end confdefs.h. */ 5966/* end confdefs.h. */
5070#include <stdlib.h> 5967#include <stdlib.h>
5071#include <iconv.h> 5968#include <iconv.h>
5072int 5969int
5073main () 5970main (void)
5074{ 5971{
5075iconv_t cd = iconv_open("",""); 5972iconv_t cd = iconv_open("","");
5076 iconv(cd,NULL,NULL,NULL,NULL); 5973 iconv(cd,NULL,NULL,NULL,NULL);
5077 iconv_close(cd); 5974 iconv_close(cd);
5078 ; 5975 ;
5079 return 0; 5976 return 0;
5080} 5977}
5081_ACEOF 5978_ACEOF
5082if ac_fn_c_try_link "$LINENO"; then : 5979if ac_fn_c_try_link "$LINENO"
5980then :
5083 am_cv_func_iconv=yes 5981 am_cv_func_iconv=yes
5084fi 5982fi
5085rm -f core conftest.err conftest.$ac_objext \ 5983rm -f core conftest.err conftest.$ac_objext conftest.beam \
5086 conftest$ac_exeext conftest.$ac_ext 5984 conftest$ac_exeext conftest.$ac_ext
5087 if test "$am_cv_func_iconv" != yes; then 5985 if test "$am_cv_func_iconv" != yes; then
5088 am_save_LIBS="$LIBS" 5986 am_save_LIBS="$LIBS"
5089 LIBS="$LIBS $LIBICONV" 5987 LIBS="$LIBS $LIBICONV"
5090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5091/* end confdefs.h. */ 5989/* end confdefs.h. */
5092#include <stdlib.h> 5990#include <stdlib.h>
5093#include <iconv.h> 5991#include <iconv.h>
5094int 5992int
5095main () 5993main (void)
5096{ 5994{
5097iconv_t cd = iconv_open("",""); 5995iconv_t cd = iconv_open("","");
5098 iconv(cd,NULL,NULL,NULL,NULL); 5996 iconv(cd,NULL,NULL,NULL,NULL);
5099 iconv_close(cd); 5997 iconv_close(cd);
5100 ; 5998 ;
5101 return 0; 5999 return 0;
5102} 6000}
5103_ACEOF 6001_ACEOF
5104if ac_fn_c_try_link "$LINENO"; then : 6002if ac_fn_c_try_link "$LINENO"
6003then :
5105 am_cv_lib_iconv=yes 6004 am_cv_lib_iconv=yes
5106 am_cv_func_iconv=yes 6005 am_cv_func_iconv=yes
5107fi 6006fi
5108rm -f core conftest.err conftest.$ac_objext \ 6007rm -f core conftest.err conftest.$ac_objext conftest.beam \
5109 conftest$ac_exeext conftest.$ac_ext 6008 conftest$ac_exeext conftest.$ac_ext
5110 LIBS="$am_save_LIBS" 6009 LIBS="$am_save_LIBS"
5111 fi 6010 fi
5112 6011
5113fi 6012fi
5114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 6013{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5115$as_echo "$am_cv_func_iconv" >&6; } 6014printf "%s\n" "$am_cv_func_iconv" >&6; }
5116 if test "$am_cv_func_iconv" = yes; then 6015 if test "$am_cv_func_iconv" = yes; then
5117 6016
5118$as_echo "#define HAVE_ICONV 1" >>confdefs.h 6017printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h
5119 6018
5120 fi 6019 fi
5121 if test "$am_cv_lib_iconv" = yes; then 6020 if test "$am_cv_lib_iconv" = yes; then
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 6021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5123$as_echo_n "checking how to link with libiconv... " >&6; } 6022printf %s "checking how to link with libiconv... " >&6; }
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 6023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5125$as_echo "$LIBICONV" >&6; } 6024printf "%s\n" "$LIBICONV" >&6; }
5126 else 6025 else
5127 CPPFLAGS="$am_save_CPPFLAGS" 6026 CPPFLAGS="$am_save_CPPFLAGS"
5128 LIBICONV= 6027 LIBICONV=
5129 LTLIBICONV= 6028 LTLIBICONV=
5130 fi 6029 fi
5147 exec_prefix="$acl_save_exec_prefix" 6046 exec_prefix="$acl_save_exec_prefix"
5148 prefix="$acl_save_prefix" 6047 prefix="$acl_save_prefix"
5149 6048
5150 6049
5151# Check whether --with-libintl-prefix was given. 6050# Check whether --with-libintl-prefix was given.
5152if test "${with_libintl_prefix+set}" = set; then : 6051if test ${with_libintl_prefix+y}
6052then :
5153 withval=$with_libintl_prefix; 6053 withval=$with_libintl_prefix;
5154 if test "X$withval" = "Xno"; then 6054 if test "X$withval" = "Xno"; then
5155 use_additional=no 6055 use_additional=no
5156 else 6056 else
5157 if test "X$withval" = "X"; then 6057 if test "X$withval" = "X"; then
5508 for found_dir in $ltrpathdirs; do 6408 for found_dir in $ltrpathdirs; do
5509 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 6409 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
5510 done 6410 done
5511 fi 6411 fi
5512 6412
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 6413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
5514$as_echo_n "checking for GNU gettext in libintl... " >&6; } 6414printf %s "checking for GNU gettext in libintl... " >&6; }
5515if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then : 6415if test ${gt_cv_func_gnugettext1_libintl+y}
5516 $as_echo_n "(cached) " >&6 6416then :
5517else 6417 printf %s "(cached) " >&6
6418else $as_nop
5518 gt_save_CPPFLAGS="$CPPFLAGS" 6419 gt_save_CPPFLAGS="$CPPFLAGS"
5519 CPPFLAGS="$CPPFLAGS $INCINTL" 6420 CPPFLAGS="$CPPFLAGS $INCINTL"
5520 gt_save_LIBS="$LIBS" 6421 gt_save_LIBS="$LIBS"
5521 LIBS="$LIBS $LIBINTL" 6422 LIBS="$LIBS $LIBINTL"
5522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5527#ifdef __cplusplus 6428#ifdef __cplusplus
5528"C" 6429"C"
5529#endif 6430#endif
5530const char *_nl_expand_alias (); 6431const char *_nl_expand_alias ();
5531int 6432int
5532main () 6433main (void)
5533{ 6434{
5534bindtextdomain ("", ""); 6435bindtextdomain ("", "");
5535return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) 6436return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
5536 ; 6437 ;
5537 return 0; 6438 return 0;
5538} 6439}
5539_ACEOF 6440_ACEOF
5540if ac_fn_c_try_link "$LINENO"; then : 6441if ac_fn_c_try_link "$LINENO"
6442then :
5541 gt_cv_func_gnugettext1_libintl=yes 6443 gt_cv_func_gnugettext1_libintl=yes
5542else 6444else $as_nop
5543 gt_cv_func_gnugettext1_libintl=no 6445 gt_cv_func_gnugettext1_libintl=no
5544fi 6446fi
5545rm -f core conftest.err conftest.$ac_objext \ 6447rm -f core conftest.err conftest.$ac_objext conftest.beam \
5546 conftest$ac_exeext conftest.$ac_ext 6448 conftest$ac_exeext conftest.$ac_ext
5547 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then 6449 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
5548 LIBS="$LIBS $LIBICONV" 6450 LIBS="$LIBS $LIBICONV"
5549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5550/* end confdefs.h. */ 6452/* end confdefs.h. */
5554#ifdef __cplusplus 6456#ifdef __cplusplus
5555"C" 6457"C"
5556#endif 6458#endif
5557const char *_nl_expand_alias (); 6459const char *_nl_expand_alias ();
5558int 6460int
5559main () 6461main (void)
5560{ 6462{
5561bindtextdomain ("", ""); 6463bindtextdomain ("", "");
5562return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) 6464return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
5563 ; 6465 ;
5564 return 0; 6466 return 0;
5565} 6467}
5566_ACEOF 6468_ACEOF
5567if ac_fn_c_try_link "$LINENO"; then : 6469if ac_fn_c_try_link "$LINENO"
6470then :
5568 LIBINTL="$LIBINTL $LIBICONV" 6471 LIBINTL="$LIBINTL $LIBICONV"
5569 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 6472 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
5570 gt_cv_func_gnugettext1_libintl=yes 6473 gt_cv_func_gnugettext1_libintl=yes
5571 6474
5572fi 6475fi
5573rm -f core conftest.err conftest.$ac_objext \ 6476rm -f core conftest.err conftest.$ac_objext conftest.beam \
5574 conftest$ac_exeext conftest.$ac_ext 6477 conftest$ac_exeext conftest.$ac_ext
5575 fi 6478 fi
5576 CPPFLAGS="$gt_save_CPPFLAGS" 6479 CPPFLAGS="$gt_save_CPPFLAGS"
5577 LIBS="$gt_save_LIBS" 6480 LIBS="$gt_save_LIBS"
5578fi 6481fi
5579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5 6482{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
5580$as_echo "$gt_cv_func_gnugettext1_libintl" >&6; } 6483printf "%s\n" "$gt_cv_func_gnugettext1_libintl" >&6; }
5581 fi 6484 fi
5582 6485
5583 if test "$gt_cv_func_gnugettext1_libc" = "yes" \ 6486 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
5584 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ 6487 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
5585 && test "$PACKAGE" != gettext; }; then 6488 && test "$PACKAGE" != gettext; }; then
5593 6496
5594 6497
5595 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 6498 if test "$gt_use_preinstalled_gnugettext" = "yes" \
5596 || test "$nls_cv_use_gnu_gettext" = "yes"; then 6499 || test "$nls_cv_use_gnu_gettext" = "yes"; then
5597 6500
5598$as_echo "#define ENABLE_NLS 1" >>confdefs.h 6501printf "%s\n" "#define ENABLE_NLS 1" >>confdefs.h
5599 6502
5600 else 6503 else
5601 USE_NLS=no 6504 USE_NLS=no
5602 fi 6505 fi
5603 fi 6506 fi
5604 6507
5605 if test "$USE_NLS" = "yes"; then 6508 if test "$USE_NLS" = "yes"; then
5606 6509
5607 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 6510 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5608 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then 6511 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 6512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
5610$as_echo_n "checking how to link with libintl... " >&6; } 6513printf %s "checking how to link with libintl... " >&6; }
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 6514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
5612$as_echo "$LIBINTL" >&6; } 6515printf "%s\n" "$LIBINTL" >&6; }
5613 6516
5614 for element in $INCINTL; do 6517 for element in $INCINTL; do
5615 haveit= 6518 haveit=
5616 for x in $CPPFLAGS; do 6519 for x in $CPPFLAGS; do
5617 6520
5634 done 6537 done
5635 6538
5636 fi 6539 fi
5637 6540
5638 6541
5639$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 6542printf "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h
5640 6543
5641 6544
5642$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 6545printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h
5643 6546
5644 fi 6547 fi
5645 6548
5646 POSUB=po 6549 POSUB=po
5647 fi 6550 fi
5659 6562
5660# Enable GNU extensions. 6563# Enable GNU extensions.
5661# Define this here, not in acconfig's @TOP@ section, since definitions 6564# Define this here, not in acconfig's @TOP@ section, since definitions
5662# in the latter don't make it into the configure-time tests. 6565# in the latter don't make it into the configure-time tests.
5663 6566
5664$as_echo "#define _GNU_SOURCE 1" >>confdefs.h 6567printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
5665 6568
5666 6569
5667# do NOT define POSIX_SOURCE, sicne this clashes with many BSDs 6570# do NOT define POSIX_SOURCE, sicne this clashes with many BSDs
5668 6571
5669ALL_LINGUAS="" 6572ALL_LINGUAS=""
5671ac_ext=c 6574ac_ext=c
5672ac_cpp='$CPP $CPPFLAGS' 6575ac_cpp='$CPP $CPPFLAGS'
5673ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6576ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5674ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6577ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5675ac_compiler_gnu=$ac_cv_c_compiler_gnu 6578ac_compiler_gnu=$ac_cv_c_compiler_gnu
5676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 6579{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5677$as_echo_n "checking how to run the C preprocessor... " >&6; } 6580printf %s "checking how to run the C preprocessor... " >&6; }
5678# On Suns, sometimes $CPP names a directory. 6581# On Suns, sometimes $CPP names a directory.
5679if test -n "$CPP" && test -d "$CPP"; then 6582if test -n "$CPP" && test -d "$CPP"; then
5680 CPP= 6583 CPP=
5681fi 6584fi
5682if test -z "$CPP"; then 6585if test -z "$CPP"; then
5683 if test "${ac_cv_prog_CPP+set}" = set; then : 6586 if test ${ac_cv_prog_CPP+y}
5684 $as_echo_n "(cached) " >&6 6587then :
5685else 6588 printf %s "(cached) " >&6
6589else $as_nop
5686 # Double quotes because CPP needs to be expanded 6590 # Double quotes because $CC needs to be expanded
5687 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6591 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
5688 do 6592 do
5689 ac_preproc_ok=false 6593 ac_preproc_ok=false
5690for ac_c_preproc_warn_flag in '' yes 6594for ac_c_preproc_warn_flag in '' yes
5691do 6595do
5692 # Use a header file that comes with gcc, so configuring glibc 6596 # Use a header file that comes with gcc, so configuring glibc
5693 # with a fresh cross-compiler works. 6597 # with a fresh cross-compiler works.
5694 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5695 # <limits.h> exists even on freestanding compilers.
5696 # On the NeXT, cc -E runs the code through the compiler's parser, 6598 # On the NeXT, cc -E runs the code through the compiler's parser,
5697 # not just through cpp. "Syntax error" is here to catch this case. 6599 # not just through cpp. "Syntax error" is here to catch this case.
5698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5699/* end confdefs.h. */ 6601/* end confdefs.h. */
5700#ifdef __STDC__
5701# include <limits.h> 6602#include <limits.h>
5702#else
5703# include <assert.h>
5704#endif
5705 Syntax error 6603 Syntax error
5706_ACEOF 6604_ACEOF
5707if ac_fn_c_try_cpp "$LINENO"; then : 6605if ac_fn_c_try_cpp "$LINENO"
6606then :
5708 6607
5709else 6608else $as_nop
5710 # Broken: fails on valid input. 6609 # Broken: fails on valid input.
5711continue 6610continue
5712fi 6611fi
5713rm -f conftest.err conftest.i conftest.$ac_ext 6612rm -f conftest.err conftest.i conftest.$ac_ext
5714 6613
5716 # can be detected and how. 6615 # can be detected and how.
5717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5718/* end confdefs.h. */ 6617/* end confdefs.h. */
5719#include <ac_nonexistent.h> 6618#include <ac_nonexistent.h>
5720_ACEOF 6619_ACEOF
5721if ac_fn_c_try_cpp "$LINENO"; then : 6620if ac_fn_c_try_cpp "$LINENO"
6621then :
5722 # Broken: success on invalid input. 6622 # Broken: success on invalid input.
5723continue 6623continue
5724else 6624else $as_nop
5725 # Passes both tests. 6625 # Passes both tests.
5726ac_preproc_ok=: 6626ac_preproc_ok=:
5727break 6627break
5728fi 6628fi
5729rm -f conftest.err conftest.i conftest.$ac_ext 6629rm -f conftest.err conftest.i conftest.$ac_ext
5730 6630
5731done 6631done
5732# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6632# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5733rm -f conftest.i conftest.err conftest.$ac_ext 6633rm -f conftest.i conftest.err conftest.$ac_ext
5734if $ac_preproc_ok; then : 6634if $ac_preproc_ok
6635then :
5735 break 6636 break
5736fi 6637fi
5737 6638
5738 done 6639 done
5739 ac_cv_prog_CPP=$CPP 6640 ac_cv_prog_CPP=$CPP
5741fi 6642fi
5742 CPP=$ac_cv_prog_CPP 6643 CPP=$ac_cv_prog_CPP
5743else 6644else
5744 ac_cv_prog_CPP=$CPP 6645 ac_cv_prog_CPP=$CPP
5745fi 6646fi
5746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 6647{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5747$as_echo "$CPP" >&6; } 6648printf "%s\n" "$CPP" >&6; }
5748ac_preproc_ok=false 6649ac_preproc_ok=false
5749for ac_c_preproc_warn_flag in '' yes 6650for ac_c_preproc_warn_flag in '' yes
5750do 6651do
5751 # Use a header file that comes with gcc, so configuring glibc 6652 # Use a header file that comes with gcc, so configuring glibc
5752 # with a fresh cross-compiler works. 6653 # with a fresh cross-compiler works.
5753 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5754 # <limits.h> exists even on freestanding compilers.
5755 # On the NeXT, cc -E runs the code through the compiler's parser, 6654 # On the NeXT, cc -E runs the code through the compiler's parser,
5756 # not just through cpp. "Syntax error" is here to catch this case. 6655 # not just through cpp. "Syntax error" is here to catch this case.
5757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5758/* end confdefs.h. */ 6657/* end confdefs.h. */
5759#ifdef __STDC__
5760# include <limits.h> 6658#include <limits.h>
5761#else
5762# include <assert.h>
5763#endif
5764 Syntax error 6659 Syntax error
5765_ACEOF 6660_ACEOF
5766if ac_fn_c_try_cpp "$LINENO"; then : 6661if ac_fn_c_try_cpp "$LINENO"
6662then :
5767 6663
5768else 6664else $as_nop
5769 # Broken: fails on valid input. 6665 # Broken: fails on valid input.
5770continue 6666continue
5771fi 6667fi
5772rm -f conftest.err conftest.i conftest.$ac_ext 6668rm -f conftest.err conftest.i conftest.$ac_ext
5773 6669
5775 # can be detected and how. 6671 # can be detected and how.
5776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5777/* end confdefs.h. */ 6673/* end confdefs.h. */
5778#include <ac_nonexistent.h> 6674#include <ac_nonexistent.h>
5779_ACEOF 6675_ACEOF
5780if ac_fn_c_try_cpp "$LINENO"; then : 6676if ac_fn_c_try_cpp "$LINENO"
6677then :
5781 # Broken: success on invalid input. 6678 # Broken: success on invalid input.
5782continue 6679continue
5783else 6680else $as_nop
5784 # Passes both tests. 6681 # Passes both tests.
5785ac_preproc_ok=: 6682ac_preproc_ok=:
5786break 6683break
5787fi 6684fi
5788rm -f conftest.err conftest.i conftest.$ac_ext 6685rm -f conftest.err conftest.i conftest.$ac_ext
5789 6686
5790done 6687done
5791# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6688# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5792rm -f conftest.i conftest.err conftest.$ac_ext 6689rm -f conftest.i conftest.err conftest.$ac_ext
5793if $ac_preproc_ok; then : 6690if $ac_preproc_ok
6691then :
5794 6692
5795else 6693else $as_nop
5796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6694 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5797$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6695printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5798as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 6696as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5799See \`config.log' for more details" "$LINENO" 5 ; } 6697See \`config.log' for more details" "$LINENO" 5; }
5800fi 6698fi
5801 6699
5802ac_ext=c 6700ac_ext=c
5803ac_cpp='$CPP $CPPFLAGS' 6701ac_cpp='$CPP $CPPFLAGS'
5804ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6702ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5805ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6703ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5806ac_compiler_gnu=$ac_cv_c_compiler_gnu 6704ac_compiler_gnu=$ac_cv_c_compiler_gnu
6705
6706
6707
6708
6709
6710
5807 6711
5808ac_ext=cpp 6712ac_ext=cpp
5809ac_cpp='$CXXCPP $CPPFLAGS' 6713ac_cpp='$CXXCPP $CPPFLAGS'
5810ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6714ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5811ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6715ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5813if test -z "$CXX"; then 6717if test -z "$CXX"; then
5814 if test -n "$CCC"; then 6718 if test -n "$CCC"; then
5815 CXX=$CCC 6719 CXX=$CCC
5816 else 6720 else
5817 if test -n "$ac_tool_prefix"; then 6721 if test -n "$ac_tool_prefix"; then
5818 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 6722 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5819 do 6723 do
5820 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5821set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6725set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6726{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823$as_echo_n "checking for $ac_word... " >&6; } 6727printf %s "checking for $ac_word... " >&6; }
5824if test "${ac_cv_prog_CXX+set}" = set; then : 6728if test ${ac_cv_prog_CXX+y}
5825 $as_echo_n "(cached) " >&6 6729then :
5826else 6730 printf %s "(cached) " >&6
6731else $as_nop
5827 if test -n "$CXX"; then 6732 if test -n "$CXX"; then
5828 ac_cv_prog_CXX="$CXX" # Let the user override the test. 6733 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5829else 6734else
5830as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6735as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831for as_dir in $PATH 6736for as_dir in $PATH
5832do 6737do
5833 IFS=$as_save_IFS 6738 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=. 6739 case $as_dir in #(((
6740 '') as_dir=./ ;;
6741 */) ;;
6742 *) as_dir=$as_dir/ ;;
6743 esac
5835 for ac_exec_ext in '' $ac_executable_extensions; do 6744 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6745 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5837 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 6746 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5839 break 2 6748 break 2
5840 fi 6749 fi
5841done 6750done
5842 done 6751 done
5843IFS=$as_save_IFS 6752IFS=$as_save_IFS
5844 6753
5845fi 6754fi
5846fi 6755fi
5847CXX=$ac_cv_prog_CXX 6756CXX=$ac_cv_prog_CXX
5848if test -n "$CXX"; then 6757if test -n "$CXX"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 6758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5850$as_echo "$CXX" >&6; } 6759printf "%s\n" "$CXX" >&6; }
5851else 6760else
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853$as_echo "no" >&6; } 6762printf "%s\n" "no" >&6; }
5854fi 6763fi
5855 6764
5856 6765
5857 test -n "$CXX" && break 6766 test -n "$CXX" && break
5858 done 6767 done
5859fi 6768fi
5860if test -z "$CXX"; then 6769if test -z "$CXX"; then
5861 ac_ct_CXX=$CXX 6770 ac_ct_CXX=$CXX
5862 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 6771 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5863do 6772do
5864 # Extract the first word of "$ac_prog", so it can be a program name with args. 6773 # Extract the first word of "$ac_prog", so it can be a program name with args.
5865set dummy $ac_prog; ac_word=$2 6774set dummy $ac_prog; ac_word=$2
5866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6775{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867$as_echo_n "checking for $ac_word... " >&6; } 6776printf %s "checking for $ac_word... " >&6; }
5868if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 6777if test ${ac_cv_prog_ac_ct_CXX+y}
5869 $as_echo_n "(cached) " >&6 6778then :
5870else 6779 printf %s "(cached) " >&6
6780else $as_nop
5871 if test -n "$ac_ct_CXX"; then 6781 if test -n "$ac_ct_CXX"; then
5872 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 6782 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5873else 6783else
5874as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6784as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875for as_dir in $PATH 6785for as_dir in $PATH
5876do 6786do
5877 IFS=$as_save_IFS 6787 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=. 6788 case $as_dir in #(((
6789 '') as_dir=./ ;;
6790 */) ;;
6791 *) as_dir=$as_dir/ ;;
6792 esac
5879 for ac_exec_ext in '' $ac_executable_extensions; do 6793 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6794 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_ac_ct_CXX="$ac_prog" 6795 ac_cv_prog_ac_ct_CXX="$ac_prog"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6796 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5883 break 2 6797 break 2
5884 fi 6798 fi
5885done 6799done
5886 done 6800 done
5887IFS=$as_save_IFS 6801IFS=$as_save_IFS
5888 6802
5889fi 6803fi
5890fi 6804fi
5891ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 6805ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5892if test -n "$ac_ct_CXX"; then 6806if test -n "$ac_ct_CXX"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 6807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5894$as_echo "$ac_ct_CXX" >&6; } 6808printf "%s\n" "$ac_ct_CXX" >&6; }
5895else 6809else
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897$as_echo "no" >&6; } 6811printf "%s\n" "no" >&6; }
5898fi 6812fi
5899 6813
5900 6814
5901 test -n "$ac_ct_CXX" && break 6815 test -n "$ac_ct_CXX" && break
5902done 6816done
5904 if test "x$ac_ct_CXX" = x; then 6818 if test "x$ac_ct_CXX" = x; then
5905 CXX="g++" 6819 CXX="g++"
5906 else 6820 else
5907 case $cross_compiling:$ac_tool_warned in 6821 case $cross_compiling:$ac_tool_warned in
5908yes:) 6822yes:)
5909{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6823{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5910$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6824printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5911ac_tool_warned=yes ;; 6825ac_tool_warned=yes ;;
5912esac 6826esac
5913 CXX=$ac_ct_CXX 6827 CXX=$ac_ct_CXX
5914 fi 6828 fi
5915fi 6829fi
5916 6830
5917 fi 6831 fi
5918fi 6832fi
5919# Provide some information about the compiler. 6833# Provide some information about the compiler.
5920$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 6834printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5921set X $ac_compile 6835set X $ac_compile
5922ac_compiler=$2 6836ac_compiler=$2
5923for ac_option in --version -v -V -qversion; do 6837for ac_option in --version -v -V -qversion; do
5924 { { ac_try="$ac_compiler $ac_option >&5" 6838 { { ac_try="$ac_compiler $ac_option >&5"
5925case "(($ac_try" in 6839case "(($ac_try" in
5926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5927 *) ac_try_echo=$ac_try;; 6841 *) ac_try_echo=$ac_try;;
5928esac 6842esac
5929eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 6843eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5930$as_echo "$ac_try_echo"; } >&5 6844printf "%s\n" "$ac_try_echo"; } >&5
5931 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 6845 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5932 ac_status=$? 6846 ac_status=$?
5933 if test -s conftest.err; then 6847 if test -s conftest.err; then
5934 sed '10a\ 6848 sed '10a\
5935... rest of stderr output deleted ... 6849... rest of stderr output deleted ...
5936 10q' conftest.err >conftest.er1 6850 10q' conftest.err >conftest.er1
5937 cat conftest.er1 >&5 6851 cat conftest.er1 >&5
5938 fi 6852 fi
5939 rm -f conftest.er1 conftest.err 6853 rm -f conftest.er1 conftest.err
5940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5941 test $ac_status = 0; } 6855 test $ac_status = 0; }
5942done 6856done
5943 6857
5944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 6858{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5945$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 6859printf %s "checking whether the compiler supports GNU C++... " >&6; }
5946if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 6860if test ${ac_cv_cxx_compiler_gnu+y}
5947 $as_echo_n "(cached) " >&6 6861then :
5948else 6862 printf %s "(cached) " >&6
6863else $as_nop
5949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5950/* end confdefs.h. */ 6865/* end confdefs.h. */
5951 6866
5952int 6867int
5953main () 6868main (void)
5954{ 6869{
5955#ifndef __GNUC__ 6870#ifndef __GNUC__
5956 choke me 6871 choke me
5957#endif 6872#endif
5958 6873
5959 ; 6874 ;
5960 return 0; 6875 return 0;
5961} 6876}
5962_ACEOF 6877_ACEOF
5963if ac_fn_cxx_try_compile "$LINENO"; then : 6878if ac_fn_cxx_try_compile "$LINENO"
6879then :
5964 ac_compiler_gnu=yes 6880 ac_compiler_gnu=yes
5965else 6881else $as_nop
5966 ac_compiler_gnu=no 6882 ac_compiler_gnu=no
5967fi 6883fi
5968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6884rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5969ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 6885ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5970 6886
5971fi 6887fi
5972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 6888{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5973$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 6889printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6890ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6891
5974if test $ac_compiler_gnu = yes; then 6892if test $ac_compiler_gnu = yes; then
5975 GXX=yes 6893 GXX=yes
5976else 6894else
5977 GXX= 6895 GXX=
5978fi 6896fi
5979ac_test_CXXFLAGS=${CXXFLAGS+set} 6897ac_test_CXXFLAGS=${CXXFLAGS+y}
5980ac_save_CXXFLAGS=$CXXFLAGS 6898ac_save_CXXFLAGS=$CXXFLAGS
5981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 6899{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5982$as_echo_n "checking whether $CXX accepts -g... " >&6; } 6900printf %s "checking whether $CXX accepts -g... " >&6; }
5983if test "${ac_cv_prog_cxx_g+set}" = set; then : 6901if test ${ac_cv_prog_cxx_g+y}
5984 $as_echo_n "(cached) " >&6 6902then :
5985else 6903 printf %s "(cached) " >&6
6904else $as_nop
5986 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 6905 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5987 ac_cxx_werror_flag=yes 6906 ac_cxx_werror_flag=yes
5988 ac_cv_prog_cxx_g=no 6907 ac_cv_prog_cxx_g=no
5989 CXXFLAGS="-g" 6908 CXXFLAGS="-g"
5990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5991/* end confdefs.h. */ 6910/* end confdefs.h. */
5992 6911
5993int 6912int
5994main () 6913main (void)
5995{ 6914{
5996 6915
5997 ; 6916 ;
5998 return 0; 6917 return 0;
5999} 6918}
6000_ACEOF 6919_ACEOF
6001if ac_fn_cxx_try_compile "$LINENO"; then : 6920if ac_fn_cxx_try_compile "$LINENO"
6921then :
6002 ac_cv_prog_cxx_g=yes 6922 ac_cv_prog_cxx_g=yes
6003else 6923else $as_nop
6004 CXXFLAGS="" 6924 CXXFLAGS=""
6005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6006/* end confdefs.h. */ 6926/* end confdefs.h. */
6007 6927
6008int 6928int
6009main () 6929main (void)
6010{ 6930{
6011 6931
6012 ; 6932 ;
6013 return 0; 6933 return 0;
6014} 6934}
6015_ACEOF 6935_ACEOF
6016if ac_fn_cxx_try_compile "$LINENO"; then : 6936if ac_fn_cxx_try_compile "$LINENO"
6937then :
6017 6938
6018else 6939else $as_nop
6019 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 6940 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6020 CXXFLAGS="-g" 6941 CXXFLAGS="-g"
6021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6022/* end confdefs.h. */ 6943/* end confdefs.h. */
6023 6944
6024int 6945int
6025main () 6946main (void)
6026{ 6947{
6027 6948
6028 ; 6949 ;
6029 return 0; 6950 return 0;
6030} 6951}
6031_ACEOF 6952_ACEOF
6032if ac_fn_cxx_try_compile "$LINENO"; then : 6953if ac_fn_cxx_try_compile "$LINENO"
6954then :
6033 ac_cv_prog_cxx_g=yes 6955 ac_cv_prog_cxx_g=yes
6034fi 6956fi
6035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6957rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6036fi 6958fi
6037rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6959rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6038fi 6960fi
6039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6961rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6040 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 6962 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6041fi 6963fi
6042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 6964{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6043$as_echo "$ac_cv_prog_cxx_g" >&6; } 6965printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6044if test "$ac_test_CXXFLAGS" = set; then 6966if test $ac_test_CXXFLAGS; then
6045 CXXFLAGS=$ac_save_CXXFLAGS 6967 CXXFLAGS=$ac_save_CXXFLAGS
6046elif test $ac_cv_prog_cxx_g = yes; then 6968elif test $ac_cv_prog_cxx_g = yes; then
6047 if test "$GXX" = yes; then 6969 if test "$GXX" = yes; then
6048 CXXFLAGS="-g -O2" 6970 CXXFLAGS="-g -O2"
6049 else 6971 else
6054 CXXFLAGS="-O2" 6976 CXXFLAGS="-O2"
6055 else 6977 else
6056 CXXFLAGS= 6978 CXXFLAGS=
6057 fi 6979 fi
6058fi 6980fi
6981ac_prog_cxx_stdcxx=no
6982if test x$ac_prog_cxx_stdcxx = xno
6983then :
6984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6985printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6986if test ${ac_cv_prog_cxx_11+y}
6987then :
6988 printf %s "(cached) " >&6
6989else $as_nop
6990 ac_cv_prog_cxx_11=no
6991ac_save_CXX=$CXX
6992cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6993/* end confdefs.h. */
6994$ac_cxx_conftest_cxx11_program
6995_ACEOF
6996for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6997do
6998 CXX="$ac_save_CXX $ac_arg"
6999 if ac_fn_cxx_try_compile "$LINENO"
7000then :
7001 ac_cv_prog_cxx_cxx11=$ac_arg
7002fi
7003rm -f core conftest.err conftest.$ac_objext conftest.beam
7004 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
7005done
7006rm -f conftest.$ac_ext
7007CXX=$ac_save_CXX
7008fi
7009
7010if test "x$ac_cv_prog_cxx_cxx11" = xno
7011then :
7012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
7013printf "%s\n" "unsupported" >&6; }
7014else $as_nop
7015 if test "x$ac_cv_prog_cxx_cxx11" = x
7016then :
7017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
7018printf "%s\n" "none needed" >&6; }
7019else $as_nop
7020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
7021printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
7022 CXX="$CXX $ac_cv_prog_cxx_cxx11"
7023fi
7024 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
7025 ac_prog_cxx_stdcxx=cxx11
7026fi
7027fi
7028if test x$ac_prog_cxx_stdcxx = xno
7029then :
7030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
7031printf %s "checking for $CXX option to enable C++98 features... " >&6; }
7032if test ${ac_cv_prog_cxx_98+y}
7033then :
7034 printf %s "(cached) " >&6
7035else $as_nop
7036 ac_cv_prog_cxx_98=no
7037ac_save_CXX=$CXX
7038cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7039/* end confdefs.h. */
7040$ac_cxx_conftest_cxx98_program
7041_ACEOF
7042for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
7043do
7044 CXX="$ac_save_CXX $ac_arg"
7045 if ac_fn_cxx_try_compile "$LINENO"
7046then :
7047 ac_cv_prog_cxx_cxx98=$ac_arg
7048fi
7049rm -f core conftest.err conftest.$ac_objext conftest.beam
7050 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
7051done
7052rm -f conftest.$ac_ext
7053CXX=$ac_save_CXX
7054fi
7055
7056if test "x$ac_cv_prog_cxx_cxx98" = xno
7057then :
7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
7059printf "%s\n" "unsupported" >&6; }
7060else $as_nop
7061 if test "x$ac_cv_prog_cxx_cxx98" = x
7062then :
7063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
7064printf "%s\n" "none needed" >&6; }
7065else $as_nop
7066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
7067printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
7068 CXX="$CXX $ac_cv_prog_cxx_cxx98"
7069fi
7070 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
7071 ac_prog_cxx_stdcxx=cxx98
7072fi
7073fi
7074
6059ac_ext=c 7075ac_ext=c
6060ac_cpp='$CPP $CPPFLAGS' 7076ac_cpp='$CPP $CPPFLAGS'
6061ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7077ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6062ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7078ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6063ac_compiler_gnu=$ac_cv_c_compiler_gnu 7079ac_compiler_gnu=$ac_cv_c_compiler_gnu
6064 7080
6065depcc="$CXX" am_compiler_list= 7081depcc="$CXX" am_compiler_list=
6066 7082
6067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 7083{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6068$as_echo_n "checking dependency style of $depcc... " >&6; } 7084printf %s "checking dependency style of $depcc... " >&6; }
6069if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 7085if test ${am_cv_CXX_dependencies_compiler_type+y}
6070 $as_echo_n "(cached) " >&6 7086then :
6071else 7087 printf %s "(cached) " >&6
7088else $as_nop
6072 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 7089 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6073 # We make a subdir and do the tests there. Otherwise we can end up 7090 # We make a subdir and do the tests there. Otherwise we can end up
6074 # making bogus files that we don't know about and never remove. For 7091 # making bogus files that we don't know about and never remove. For
6075 # instance it was reported that on HP-UX the gcc test will end up 7092 # instance it was reported that on HP-UX the gcc test will end up
6076 # making a dummy file named `D' -- because `-MD' means `put the output 7093 # making a dummy file named 'D' -- because '-MD' means "put the output
6077 # in D'. 7094 # in D".
7095 rm -rf conftest.dir
6078 mkdir conftest.dir 7096 mkdir conftest.dir
6079 # Copy depcomp to subdir because otherwise we won't find it if we're 7097 # Copy depcomp to subdir because otherwise we won't find it if we're
6080 # using a relative directory. 7098 # using a relative directory.
6081 cp "$am_depcomp" conftest.dir 7099 cp "$am_depcomp" conftest.dir
6082 cd conftest.dir 7100 cd conftest.dir
6106 # overwrite some of them when testing with obscure command lines. 7124 # overwrite some of them when testing with obscure command lines.
6107 # This happens at least with the AIX C compiler. 7125 # This happens at least with the AIX C compiler.
6108 : > sub/conftest.c 7126 : > sub/conftest.c
6109 for i in 1 2 3 4 5 6; do 7127 for i in 1 2 3 4 5 6; do
6110 echo '#include "conftst'$i'.h"' >> sub/conftest.c 7128 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6111 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 7129 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6112 # Solaris 8's {/usr,}/bin/sh. 7130 # Solaris 10 /bin/sh.
6113 touch sub/conftst$i.h 7131 echo '/* dummy */' > sub/conftst$i.h
6114 done 7132 done
6115 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 7133 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6116 7134
6117 # We check with `-c' and `-o' for the sake of the "dashmstdout" 7135 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6118 # mode. It turns out that the SunPro C++ compiler does not properly 7136 # mode. It turns out that the SunPro C++ compiler does not properly
6119 # handle `-M -o', and we need to detect this. Also, some Intel 7137 # handle '-M -o', and we need to detect this. Also, some Intel
6120 # versions had trouble with output in subdirs 7138 # versions had trouble with output in subdirs.
6121 am__obj=sub/conftest.${OBJEXT-o} 7139 am__obj=sub/conftest.${OBJEXT-o}
6122 am__minus_obj="-o $am__obj" 7140 am__minus_obj="-o $am__obj"
6123 case $depmode in 7141 case $depmode in
6124 gcc) 7142 gcc)
6125 # This depmode causes a compiler race in universal mode. 7143 # This depmode causes a compiler race in universal mode.
6126 test "$am__universal" = false || continue 7144 test "$am__universal" = false || continue
6127 ;; 7145 ;;
6128 nosideeffect) 7146 nosideeffect)
6129 # after this tag, mechanisms are not by side-effect, so they'll 7147 # After this tag, mechanisms are not by side-effect, so they'll
6130 # only be used when explicitly requested 7148 # only be used when explicitly requested.
6131 if test "x$enable_dependency_tracking" = xyes; then 7149 if test "x$enable_dependency_tracking" = xyes; then
6132 continue 7150 continue
6133 else 7151 else
6134 break 7152 break
6135 fi 7153 fi
6136 ;; 7154 ;;
6137 msvisualcpp | msvcmsys) 7155 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6138 # This compiler won't grok `-c -o', but also, the minuso test has 7156 # This compiler won't grok '-c -o', but also, the minuso test has
6139 # not run yet. These depmodes are late enough in the game, and 7157 # not run yet. These depmodes are late enough in the game, and
6140 # so weak that their functioning should not be impacted. 7158 # so weak that their functioning should not be impacted.
6141 am__obj=conftest.${OBJEXT-o} 7159 am__obj=conftest.${OBJEXT-o}
6142 am__minus_obj= 7160 am__minus_obj=
6143 ;; 7161 ;;
6172else 7190else
6173 am_cv_CXX_dependencies_compiler_type=none 7191 am_cv_CXX_dependencies_compiler_type=none
6174fi 7192fi
6175 7193
6176fi 7194fi
6177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 7195{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6178$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 7196printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
6179CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 7197CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6180 7198
6181 if 7199 if
6182 test "x$enable_dependency_tracking" != xno \ 7200 test "x$enable_dependency_tracking" != xno \
6183 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 7201 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6188 am__fastdepCXX_FALSE= 7206 am__fastdepCXX_FALSE=
6189fi 7207fi
6190 7208
6191 7209
6192 7210
6193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 7211{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6194$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 7212printf %s "checking for grep that handles long lines and -e... " >&6; }
6195if test "${ac_cv_path_GREP+set}" = set; then : 7213if test ${ac_cv_path_GREP+y}
6196 $as_echo_n "(cached) " >&6 7214then :
6197else 7215 printf %s "(cached) " >&6
7216else $as_nop
6198 if test -z "$GREP"; then 7217 if test -z "$GREP"; then
6199 ac_path_GREP_found=false 7218 ac_path_GREP_found=false
6200 # Loop through the user's path and test for each of PROGNAME-LIST 7219 # Loop through the user's path and test for each of PROGNAME-LIST
6201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6202for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 7221for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6203do 7222do
6204 IFS=$as_save_IFS 7223 IFS=$as_save_IFS
6205 test -z "$as_dir" && as_dir=. 7224 case $as_dir in #(((
7225 '') as_dir=./ ;;
7226 */) ;;
7227 *) as_dir=$as_dir/ ;;
7228 esac
6206 for ac_prog in grep ggrep; do 7229 for ac_prog in grep ggrep
7230 do
6207 for ac_exec_ext in '' $ac_executable_extensions; do 7231 for ac_exec_ext in '' $ac_executable_extensions; do
6208 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 7232 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6209 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 7233 as_fn_executable_p "$ac_path_GREP" || continue
6210# Check for GNU ac_path_GREP and select it if it is found. 7234# Check for GNU ac_path_GREP and select it if it is found.
6211 # Check for GNU $ac_path_GREP 7235 # Check for GNU $ac_path_GREP
6212case `"$ac_path_GREP" --version 2>&1` in 7236case `"$ac_path_GREP" --version 2>&1` in
6213*GNU*) 7237*GNU*)
6214 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 7238 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6215*) 7239*)
6216 ac_count=0 7240 ac_count=0
6217 $as_echo_n 0123456789 >"conftest.in" 7241 printf %s 0123456789 >"conftest.in"
6218 while : 7242 while :
6219 do 7243 do
6220 cat "conftest.in" "conftest.in" >"conftest.tmp" 7244 cat "conftest.in" "conftest.in" >"conftest.tmp"
6221 mv "conftest.tmp" "conftest.in" 7245 mv "conftest.tmp" "conftest.in"
6222 cp "conftest.in" "conftest.nl" 7246 cp "conftest.in" "conftest.nl"
6223 $as_echo 'GREP' >> "conftest.nl" 7247 printf "%s\n" 'GREP' >> "conftest.nl"
6224 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 7248 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6225 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7249 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6226 as_fn_arith $ac_count + 1 && ac_count=$as_val 7250 as_fn_arith $ac_count + 1 && ac_count=$as_val
6227 if test $ac_count -gt ${ac_path_GREP_max-0}; then 7251 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6228 # Best one so far, save it but keep looking for a better one 7252 # Best one so far, save it but keep looking for a better one
6246else 7270else
6247 ac_cv_path_GREP=$GREP 7271 ac_cv_path_GREP=$GREP
6248fi 7272fi
6249 7273
6250fi 7274fi
6251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 7275{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6252$as_echo "$ac_cv_path_GREP" >&6; } 7276printf "%s\n" "$ac_cv_path_GREP" >&6; }
6253 GREP="$ac_cv_path_GREP" 7277 GREP="$ac_cv_path_GREP"
6254 7278
6255 7279
6256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 7280{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6257$as_echo_n "checking for egrep... " >&6; } 7281printf %s "checking for egrep... " >&6; }
6258if test "${ac_cv_path_EGREP+set}" = set; then : 7282if test ${ac_cv_path_EGREP+y}
6259 $as_echo_n "(cached) " >&6 7283then :
6260else 7284 printf %s "(cached) " >&6
7285else $as_nop
6261 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 7286 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6262 then ac_cv_path_EGREP="$GREP -E" 7287 then ac_cv_path_EGREP="$GREP -E"
6263 else 7288 else
6264 if test -z "$EGREP"; then 7289 if test -z "$EGREP"; then
6265 ac_path_EGREP_found=false 7290 ac_path_EGREP_found=false
6266 # Loop through the user's path and test for each of PROGNAME-LIST 7291 # Loop through the user's path and test for each of PROGNAME-LIST
6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6268for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 7293for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6269do 7294do
6270 IFS=$as_save_IFS 7295 IFS=$as_save_IFS
6271 test -z "$as_dir" && as_dir=. 7296 case $as_dir in #(((
7297 '') as_dir=./ ;;
7298 */) ;;
7299 *) as_dir=$as_dir/ ;;
7300 esac
6272 for ac_prog in egrep; do 7301 for ac_prog in egrep
7302 do
6273 for ac_exec_ext in '' $ac_executable_extensions; do 7303 for ac_exec_ext in '' $ac_executable_extensions; do
6274 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 7304 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6275 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 7305 as_fn_executable_p "$ac_path_EGREP" || continue
6276# Check for GNU ac_path_EGREP and select it if it is found. 7306# Check for GNU ac_path_EGREP and select it if it is found.
6277 # Check for GNU $ac_path_EGREP 7307 # Check for GNU $ac_path_EGREP
6278case `"$ac_path_EGREP" --version 2>&1` in 7308case `"$ac_path_EGREP" --version 2>&1` in
6279*GNU*) 7309*GNU*)
6280 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 7310 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6281*) 7311*)
6282 ac_count=0 7312 ac_count=0
6283 $as_echo_n 0123456789 >"conftest.in" 7313 printf %s 0123456789 >"conftest.in"
6284 while : 7314 while :
6285 do 7315 do
6286 cat "conftest.in" "conftest.in" >"conftest.tmp" 7316 cat "conftest.in" "conftest.in" >"conftest.tmp"
6287 mv "conftest.tmp" "conftest.in" 7317 mv "conftest.tmp" "conftest.in"
6288 cp "conftest.in" "conftest.nl" 7318 cp "conftest.in" "conftest.nl"
6289 $as_echo 'EGREP' >> "conftest.nl" 7319 printf "%s\n" 'EGREP' >> "conftest.nl"
6290 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 7320 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6291 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7321 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6292 as_fn_arith $ac_count + 1 && ac_count=$as_val 7322 as_fn_arith $ac_count + 1 && ac_count=$as_val
6293 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 7323 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6294 # Best one so far, save it but keep looking for a better one 7324 # Best one so far, save it but keep looking for a better one
6313 ac_cv_path_EGREP=$EGREP 7343 ac_cv_path_EGREP=$EGREP
6314fi 7344fi
6315 7345
6316 fi 7346 fi
6317fi 7347fi
6318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 7348{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6319$as_echo "$ac_cv_path_EGREP" >&6; } 7349printf "%s\n" "$ac_cv_path_EGREP" >&6; }
6320 EGREP="$ac_cv_path_EGREP" 7350 EGREP="$ac_cv_path_EGREP"
6321 7351
6322 7352
6323if test $ac_cv_c_compiler_gnu = yes; then 7353if test $ac_cv_c_compiler_gnu = yes; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 7354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
6325$as_echo_n "checking whether $CC needs -traditional... " >&6; } 7355printf %s "checking whether $CC needs -traditional... " >&6; }
6326if test "${ac_cv_prog_gcc_traditional+set}" = set; then : 7356if test ${ac_cv_prog_gcc_traditional+y}
6327 $as_echo_n "(cached) " >&6 7357then :
6328else 7358 printf %s "(cached) " >&6
7359else $as_nop
6329 ac_pattern="Autoconf.*'x'" 7360 ac_pattern="Autoconf.*'x'"
6330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6331/* end confdefs.h. */ 7362/* end confdefs.h. */
6332#include <sgtty.h> 7363#include <sgtty.h>
6333Autoconf TIOCGETP 7364Autoconf TIOCGETP
6334_ACEOF 7365_ACEOF
6335if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7366if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6336 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 7367 $EGREP "$ac_pattern" >/dev/null 2>&1
7368then :
6337 ac_cv_prog_gcc_traditional=yes 7369 ac_cv_prog_gcc_traditional=yes
6338else 7370else $as_nop
6339 ac_cv_prog_gcc_traditional=no 7371 ac_cv_prog_gcc_traditional=no
6340fi 7372fi
6341rm -f conftest* 7373rm -rf conftest*
6342 7374
6343 7375
6344 if test $ac_cv_prog_gcc_traditional = no; then 7376 if test $ac_cv_prog_gcc_traditional = no; then
6345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6346/* end confdefs.h. */ 7378/* end confdefs.h. */
6347#include <termio.h> 7379#include <termio.h>
6348Autoconf TCGETA 7380Autoconf TCGETA
6349_ACEOF 7381_ACEOF
6350if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7382if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6351 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 7383 $EGREP "$ac_pattern" >/dev/null 2>&1
7384then :
6352 ac_cv_prog_gcc_traditional=yes 7385 ac_cv_prog_gcc_traditional=yes
6353fi 7386fi
6354rm -f conftest* 7387rm -rf conftest*
6355 7388
6356 fi 7389 fi
6357fi 7390fi
6358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 7391{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
6359$as_echo "$ac_cv_prog_gcc_traditional" >&6; } 7392printf "%s\n" "$ac_cv_prog_gcc_traditional" >&6; }
6360 if test $ac_cv_prog_gcc_traditional = yes; then 7393 if test $ac_cv_prog_gcc_traditional = yes; then
6361 CC="$CC -traditional" 7394 CC="$CC -traditional"
6362 fi 7395 fi
6363fi 7396fi
6364 7397
6365for ac_prog in gawk mawk nawk awk 7398for ac_prog in gawk mawk nawk awk
6366do 7399do
6367 # Extract the first word of "$ac_prog", so it can be a program name with args. 7400 # Extract the first word of "$ac_prog", so it can be a program name with args.
6368set dummy $ac_prog; ac_word=$2 7401set dummy $ac_prog; ac_word=$2
6369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7402{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6370$as_echo_n "checking for $ac_word... " >&6; } 7403printf %s "checking for $ac_word... " >&6; }
6371if test "${ac_cv_prog_AWK+set}" = set; then : 7404if test ${ac_cv_prog_AWK+y}
6372 $as_echo_n "(cached) " >&6 7405then :
6373else 7406 printf %s "(cached) " >&6
7407else $as_nop
6374 if test -n "$AWK"; then 7408 if test -n "$AWK"; then
6375 ac_cv_prog_AWK="$AWK" # Let the user override the test. 7409 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6376else 7410else
6377as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6378for as_dir in $PATH 7412for as_dir in $PATH
6379do 7413do
6380 IFS=$as_save_IFS 7414 IFS=$as_save_IFS
6381 test -z "$as_dir" && as_dir=. 7415 case $as_dir in #(((
7416 '') as_dir=./ ;;
7417 */) ;;
7418 *) as_dir=$as_dir/ ;;
7419 esac
6382 for ac_exec_ext in '' $ac_executable_extensions; do 7420 for ac_exec_ext in '' $ac_executable_extensions; do
6383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7421 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6384 ac_cv_prog_AWK="$ac_prog" 7422 ac_cv_prog_AWK="$ac_prog"
6385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6386 break 2 7424 break 2
6387 fi 7425 fi
6388done 7426done
6389 done 7427 done
6390IFS=$as_save_IFS 7428IFS=$as_save_IFS
6391 7429
6392fi 7430fi
6393fi 7431fi
6394AWK=$ac_cv_prog_AWK 7432AWK=$ac_cv_prog_AWK
6395if test -n "$AWK"; then 7433if test -n "$AWK"; then
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 7434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6397$as_echo "$AWK" >&6; } 7435printf "%s\n" "$AWK" >&6; }
6398else 7436else
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6400$as_echo "no" >&6; } 7438printf "%s\n" "no" >&6; }
6401fi 7439fi
6402 7440
6403 7441
6404 test -n "$AWK" && break 7442 test -n "$AWK" && break
6405done 7443done
6406 7444
6407 7445
6408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 7446{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6409$as_echo_n "checking whether ln -s works... " >&6; } 7447printf %s "checking whether ln -s works... " >&6; }
6410LN_S=$as_ln_s 7448LN_S=$as_ln_s
6411if test "$LN_S" = "ln -s"; then 7449if test "$LN_S" = "ln -s"; then
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6413$as_echo "yes" >&6; } 7451printf "%s\n" "yes" >&6; }
6414else 7452else
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 7453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6416$as_echo "no, using $LN_S" >&6; } 7454printf "%s\n" "no, using $LN_S" >&6; }
6417fi 7455fi
6418 7456
6419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 7457{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6420$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 7458printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6421set x ${MAKE-make} 7459set x ${MAKE-make}
6422ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 7460ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6423if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 7461if eval test \${ac_cv_prog_make_${ac_make}_set+y}
6424 $as_echo_n "(cached) " >&6 7462then :
6425else 7463 printf %s "(cached) " >&6
7464else $as_nop
6426 cat >conftest.make <<\_ACEOF 7465 cat >conftest.make <<\_ACEOF
6427SHELL = /bin/sh 7466SHELL = /bin/sh
6428all: 7467all:
6429 @echo '@@@%%%=$(MAKE)=@@@%%%' 7468 @echo '@@@%%%=$(MAKE)=@@@%%%'
6430_ACEOF 7469_ACEOF
6436 eval ac_cv_prog_make_${ac_make}_set=no;; 7475 eval ac_cv_prog_make_${ac_make}_set=no;;
6437esac 7476esac
6438rm -f conftest.make 7477rm -f conftest.make
6439fi 7478fi
6440if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 7479if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6442$as_echo "yes" >&6; } 7481printf "%s\n" "yes" >&6; }
6443 SET_MAKE= 7482 SET_MAKE=
6444else 7483else
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6446$as_echo "no" >&6; } 7485printf "%s\n" "no" >&6; }
6447 SET_MAKE="MAKE=${MAKE-make}" 7486 SET_MAKE="MAKE=${MAKE-make}"
6448fi 7487fi
6449 7488
6450if test -n "$ac_tool_prefix"; then 7489if test -n "$ac_tool_prefix"; then
6451 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7490 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6452set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7491set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7492{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6454$as_echo_n "checking for $ac_word... " >&6; } 7493printf %s "checking for $ac_word... " >&6; }
6455if test "${ac_cv_prog_RANLIB+set}" = set; then : 7494if test ${ac_cv_prog_RANLIB+y}
6456 $as_echo_n "(cached) " >&6 7495then :
6457else 7496 printf %s "(cached) " >&6
7497else $as_nop
6458 if test -n "$RANLIB"; then 7498 if test -n "$RANLIB"; then
6459 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7499 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6460else 7500else
6461as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7501as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6462for as_dir in $PATH 7502for as_dir in $PATH
6463do 7503do
6464 IFS=$as_save_IFS 7504 IFS=$as_save_IFS
6465 test -z "$as_dir" && as_dir=. 7505 case $as_dir in #(((
7506 '') as_dir=./ ;;
7507 */) ;;
7508 *) as_dir=$as_dir/ ;;
7509 esac
6466 for ac_exec_ext in '' $ac_executable_extensions; do 7510 for ac_exec_ext in '' $ac_executable_extensions; do
6467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7511 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6468 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7512 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7513 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6470 break 2 7514 break 2
6471 fi 7515 fi
6472done 7516done
6473 done 7517 done
6474IFS=$as_save_IFS 7518IFS=$as_save_IFS
6475 7519
6476fi 7520fi
6477fi 7521fi
6478RANLIB=$ac_cv_prog_RANLIB 7522RANLIB=$ac_cv_prog_RANLIB
6479if test -n "$RANLIB"; then 7523if test -n "$RANLIB"; then
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6481$as_echo "$RANLIB" >&6; } 7525printf "%s\n" "$RANLIB" >&6; }
6482else 7526else
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6484$as_echo "no" >&6; } 7528printf "%s\n" "no" >&6; }
6485fi 7529fi
6486 7530
6487 7531
6488fi 7532fi
6489if test -z "$ac_cv_prog_RANLIB"; then 7533if test -z "$ac_cv_prog_RANLIB"; then
6490 ac_ct_RANLIB=$RANLIB 7534 ac_ct_RANLIB=$RANLIB
6491 # Extract the first word of "ranlib", so it can be a program name with args. 7535 # Extract the first word of "ranlib", so it can be a program name with args.
6492set dummy ranlib; ac_word=$2 7536set dummy ranlib; ac_word=$2
6493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7537{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6494$as_echo_n "checking for $ac_word... " >&6; } 7538printf %s "checking for $ac_word... " >&6; }
6495if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 7539if test ${ac_cv_prog_ac_ct_RANLIB+y}
6496 $as_echo_n "(cached) " >&6 7540then :
6497else 7541 printf %s "(cached) " >&6
7542else $as_nop
6498 if test -n "$ac_ct_RANLIB"; then 7543 if test -n "$ac_ct_RANLIB"; then
6499 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7544 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6500else 7545else
6501as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7546as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6502for as_dir in $PATH 7547for as_dir in $PATH
6503do 7548do
6504 IFS=$as_save_IFS 7549 IFS=$as_save_IFS
6505 test -z "$as_dir" && as_dir=. 7550 case $as_dir in #(((
7551 '') as_dir=./ ;;
7552 */) ;;
7553 *) as_dir=$as_dir/ ;;
7554 esac
6506 for ac_exec_ext in '' $ac_executable_extensions; do 7555 for ac_exec_ext in '' $ac_executable_extensions; do
6507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7556 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6508 ac_cv_prog_ac_ct_RANLIB="ranlib" 7557 ac_cv_prog_ac_ct_RANLIB="ranlib"
6509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7558 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6510 break 2 7559 break 2
6511 fi 7560 fi
6512done 7561done
6513 done 7562 done
6514IFS=$as_save_IFS 7563IFS=$as_save_IFS
6515 7564
6516fi 7565fi
6517fi 7566fi
6518ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7567ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6519if test -n "$ac_ct_RANLIB"; then 7568if test -n "$ac_ct_RANLIB"; then
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6521$as_echo "$ac_ct_RANLIB" >&6; } 7570printf "%s\n" "$ac_ct_RANLIB" >&6; }
6522else 7571else
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6524$as_echo "no" >&6; } 7573printf "%s\n" "no" >&6; }
6525fi 7574fi
6526 7575
6527 if test "x$ac_ct_RANLIB" = x; then 7576 if test "x$ac_ct_RANLIB" = x; then
6528 RANLIB=":" 7577 RANLIB=":"
6529 else 7578 else
6530 case $cross_compiling:$ac_tool_warned in 7579 case $cross_compiling:$ac_tool_warned in
6531yes:) 7580yes:)
6532{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7581{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6533$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7582printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6534ac_tool_warned=yes ;; 7583ac_tool_warned=yes ;;
6535esac 7584esac
6536 RANLIB=$ac_ct_RANLIB 7585 RANLIB=$ac_ct_RANLIB
6537 fi 7586 fi
6538else 7587else
6539 RANLIB="$ac_cv_prog_RANLIB" 7588 RANLIB="$ac_cv_prog_RANLIB"
6540fi 7589fi
6541 7590
6542 7591
6543# Check whether --enable-iftype was given. 7592# Check whether --enable-iftype was given.
6544if test "${enable_iftype+set}" = set; then : 7593if test ${enable_iftype+y}
7594then :
6545 enableval=$enable_iftype; 7595 enableval=$enable_iftype;
6546 IFTYPE=`echo $enableval | sed s%/.*%%` 7596 IFTYPE=`echo $enableval | sed s%/.*%%`
6547 IFSUBTYPE=`echo $enableval | sed s%.*/%%` 7597 IFSUBTYPE=`echo $enableval | sed s%.*/%%`
6548 7598
6549 7599
6550fi 7600fi
6551 7601
6552 7602
6553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kernel networking interface type" >&5 7603{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kernel networking interface type" >&5
6554$as_echo_n "checking for kernel networking interface type... " >&6; } 7604printf %s "checking for kernel networking interface type... " >&6; }
6555 7605
6556if test "x$IFTYPE" = "x"; then 7606if test "x$IFTYPE" = "x"; then
6557 case $target_os in 7607 case $target_os in
6558 *linux*) 7608 *linux*)
6559 IFTYPE=native 7609 IFTYPE=native
6560 IFSUBTYPE=linux 7610 IFSUBTYPE=linux
6561 7611
6562$as_echo "#define HAVE_LINUX 1" >>confdefs.h 7612printf "%s\n" "#define HAVE_LINUX 1" >>confdefs.h
6563 7613
6564 ;; 7614 ;;
6565 *freebsd*) 7615 *freebsd*)
6566 IFTYPE=tincd 7616 IFTYPE=tincd
6567 IFSUBTYPE=freebsd 7617 IFSUBTYPE=freebsd
6568 7618
6569$as_echo "#define HAVE_FREEBSD 1" >>confdefs.h 7619printf "%s\n" "#define HAVE_FREEBSD 1" >>confdefs.h
6570 7620
6571 ;; 7621 ;;
6572 *darwin*) 7622 *darwin*)
6573 IFTYPE=native 7623 IFTYPE=native
6574 IFSUBTYPE=darwin 7624 IFSUBTYPE=darwin
6575 7625
6576$as_echo "#define HAVE_DARWIN 1" >>confdefs.h 7626printf "%s\n" "#define HAVE_DARWIN 1" >>confdefs.h
6577 7627
6578 ;; 7628 ;;
6579 *solaris*) 7629 *solaris*)
6580 IFTYPE=tincd 7630 IFTYPE=tincd
6581 IFSUBTYPE=solaris 7631 IFSUBTYPE=solaris
6582 7632
6583$as_echo "#define HAVE_SOLARIS 1" >>confdefs.h 7633printf "%s\n" "#define HAVE_SOLARIS 1" >>confdefs.h
6584 7634
6585 ;; 7635 ;;
6586 *openbsd*) 7636 *openbsd*)
6587 IFTYPE=tincd 7637 IFTYPE=tincd
6588 IFSUBTYPE=openbsd 7638 IFSUBTYPE=openbsd
6589 7639
6590$as_echo "#define HAVE_OPENBSD 1" >>confdefs.h 7640printf "%s\n" "#define HAVE_OPENBSD 1" >>confdefs.h
6591 7641
6592 ;; 7642 ;;
6593 *netbsd*) 7643 *netbsd*)
6594 IFTYPE=tincd 7644 IFTYPE=tincd
6595 IFSUBTYPE=netbsd 7645 IFSUBTYPE=netbsd
6596 7646
6597$as_echo "#define HAVE_NETBSD 1" >>confdefs.h 7647printf "%s\n" "#define HAVE_NETBSD 1" >>confdefs.h
6598 7648
6599 ;; 7649 ;;
6600 *cygwin*) 7650 *cygwin*)
6601 IFTYPE=native 7651 IFTYPE=native
6602 IFSUBTYPE=cygwin 7652 IFSUBTYPE=cygwin
6603 7653
6604$as_echo "#define HAVE_CYGWIN 1" >>confdefs.h 7654printf "%s\n" "#define HAVE_CYGWIN 1" >>confdefs.h
6605 7655
6606 ;; 7656 ;;
6607 *) 7657 *)
6608 as_fn_error $? "\"Unknown operating system.\"" "$LINENO" 5 7658 as_fn_error $? "\"Unknown operating system.\"" "$LINENO" 5
6609 ;; 7659 ;;
6610 esac 7660 esac
6611fi 7661fi
6612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IFTYPE/$IFSUBTYPE" >&5 7662{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IFTYPE/$IFSUBTYPE" >&5
6613$as_echo "$IFTYPE/$IFSUBTYPE" >&6; } 7663printf "%s\n" "$IFTYPE/$IFSUBTYPE" >&6; }
6614IFTYPE=$IFTYPE 7664IFTYPE=$IFTYPE
6615 7665
6616IFSUBTYPE=$IFSUBTYPE 7666IFSUBTYPE=$IFSUBTYPE
6617 7667
6618 7668
6619cat >>confdefs.h <<_ACEOF 7669printf "%s\n" "#define IFTYPE \"$IFTYPE\"" >>confdefs.h
6620#define IFTYPE "$IFTYPE"
6621_ACEOF
6622 7670
6623 7671
6624cat >>confdefs.h <<_ACEOF 7672printf "%s\n" "#define IFSUBTYPE \"$IFSUBTYPE\"" >>confdefs.h
6625#define IFSUBTYPE "$IFSUBTYPE"
6626_ACEOF
6627 7673
6628 7674
6629cat >confcache <<\_ACEOF 7675cat >confcache <<\_ACEOF
6630# This file is a shell script that caches the results of configure 7676# This file is a shell script that caches the results of configure
6631# tests run on this system so they can be shared between configure 7677# tests run on this system so they can be shared between configure
6651 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 7697 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6652 eval ac_val=\$$ac_var 7698 eval ac_val=\$$ac_var
6653 case $ac_val in #( 7699 case $ac_val in #(
6654 *${as_nl}*) 7700 *${as_nl}*)
6655 case $ac_var in #( 7701 case $ac_var in #(
6656 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 7702 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6657$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 7703printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6658 esac 7704 esac
6659 case $ac_var in #( 7705 case $ac_var in #(
6660 _ | IFS | as_nl) ;; #( 7706 _ | IFS | as_nl) ;; #(
6661 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 7707 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6662 *) { eval $ac_var=; unset $ac_var;} ;; 7708 *) { eval $ac_var=; unset $ac_var;} ;;
6682) | 7728) |
6683 sed ' 7729 sed '
6684 /^ac_cv_env_/b end 7730 /^ac_cv_env_/b end
6685 t clear 7731 t clear
6686 :clear 7732 :clear
6687 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7733 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
6688 t end 7734 t end
6689 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7735 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6690 :end' >>confcache 7736 :end' >>confcache
6691if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7737if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6692 if test -w "$cache_file"; then 7738 if test -w "$cache_file"; then
6693 test "x$cache_file" != "x/dev/null" && 7739 if test "x$cache_file" != "x/dev/null"; then
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 7740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6695$as_echo "$as_me: updating cache $cache_file" >&6;} 7741printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
7742 if test ! -f "$cache_file" || test -h "$cache_file"; then
6696 cat confcache >$cache_file 7743 cat confcache >"$cache_file"
7744 else
7745 case $cache_file in #(
7746 */* | ?:*)
7747 mv -f confcache "$cache_file"$$ &&
7748 mv -f "$cache_file"$$ "$cache_file" ;; #(
7749 *)
7750 mv -f confcache "$cache_file" ;;
7751 esac
7752 fi
7753 fi
6697 else 7754 else
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 7755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6699$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7756printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
6700 fi 7757 fi
6701fi 7758fi
6702rm -f confcache 7759rm -f confcache
6703 7760
6704 7761
6707ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7764ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6708ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7765ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6709ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7766ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6710 7767
6711 7768
6712ac_ext=cpp 7769ac_header= ac_cache=
6713ac_cpp='$CXXCPP $CPPFLAGS' 7770for ac_item in $ac_header_cxx_list
6714ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6715ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6716ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6718$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6719if test -z "$CXXCPP"; then
6720 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
6721 $as_echo_n "(cached) " >&6
6722else
6723 # Double quotes because CXXCPP needs to be expanded
6724 for CXXCPP in "$CXX -E" "/lib/cpp"
6725 do
6726 ac_preproc_ok=false
6727for ac_cxx_preproc_warn_flag in '' yes
6728do 7771do
6729 # Use a header file that comes with gcc, so configuring glibc 7772 if test $ac_cache; then
6730 # with a fresh cross-compiler works. 7773 ac_fn_cxx_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
6731 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7774 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
6732 # <limits.h> exists even on freestanding compilers. 7775 printf "%s\n" "#define $ac_item 1" >> confdefs.h
6733 # On the NeXT, cc -E runs the code through the compiler's parser, 7776 fi
6734 # not just through cpp. "Syntax error" is here to catch this case. 7777 ac_header= ac_cache=
6735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7778 elif test $ac_header; then
6736/* end confdefs.h. */ 7779 ac_cache=$ac_item
6737#ifdef __STDC__
6738# include <limits.h>
6739#else
6740# include <assert.h>
6741#endif
6742 Syntax error
6743_ACEOF
6744if ac_fn_cxx_try_cpp "$LINENO"; then :
6745
6746else 7780 else
6747 # Broken: fails on valid input. 7781 ac_header=$ac_item
6748continue 7782 fi
6749fi
6750rm -f conftest.err conftest.i conftest.$ac_ext
6751
6752 # OK, works on sane cases. Now check whether nonexistent headers
6753 # can be detected and how.
6754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6755/* end confdefs.h. */
6756#include <ac_nonexistent.h>
6757_ACEOF
6758if ac_fn_cxx_try_cpp "$LINENO"; then :
6759 # Broken: success on invalid input.
6760continue
6761else
6762 # Passes both tests.
6763ac_preproc_ok=:
6764break
6765fi
6766rm -f conftest.err conftest.i conftest.$ac_ext
6767
6768done 7783done
6769# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6770rm -f conftest.i conftest.err conftest.$ac_ext
6771if $ac_preproc_ok; then :
6772 break
6773fi
6774 7784
6775 done
6776 ac_cv_prog_CXXCPP=$CXXCPP
6777 7785
6778fi
6779 CXXCPP=$ac_cv_prog_CXXCPP
6780else
6781 ac_cv_prog_CXXCPP=$CXXCPP
6782fi
6783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6784$as_echo "$CXXCPP" >&6; }
6785ac_preproc_ok=false
6786for ac_cxx_preproc_warn_flag in '' yes
6787do
6788 # Use a header file that comes with gcc, so configuring glibc
6789 # with a fresh cross-compiler works.
6790 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6791 # <limits.h> exists even on freestanding compilers.
6792 # On the NeXT, cc -E runs the code through the compiler's parser,
6793 # not just through cpp. "Syntax error" is here to catch this case.
6794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6795/* end confdefs.h. */
6796#ifdef __STDC__
6797# include <limits.h>
6798#else
6799# include <assert.h>
6800#endif
6801 Syntax error
6802_ACEOF
6803if ac_fn_cxx_try_cpp "$LINENO"; then :
6804 7786
6805else
6806 # Broken: fails on valid input.
6807continue
6808fi
6809rm -f conftest.err conftest.i conftest.$ac_ext
6810 7787
6811 # OK, works on sane cases. Now check whether nonexistent headers
6812 # can be detected and how.
6813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6814/* end confdefs.h. */
6815#include <ac_nonexistent.h>
6816_ACEOF
6817if ac_fn_cxx_try_cpp "$LINENO"; then :
6818 # Broken: success on invalid input.
6819continue
6820else
6821 # Passes both tests.
6822ac_preproc_ok=:
6823break
6824fi
6825rm -f conftest.err conftest.i conftest.$ac_ext
6826 7788
6827done
6828# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6829rm -f conftest.i conftest.err conftest.$ac_ext
6830if $ac_preproc_ok; then :
6831 7789
6832else
6833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6834$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6835as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
6836See \`config.log' for more details" "$LINENO" 5 ; }
6837fi
6838 7790
6839ac_ext=cpp
6840ac_cpp='$CXXCPP $CPPFLAGS'
6841ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6842ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6843ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6844 7791
7792if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7793then :
6845 7794
6846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6847$as_echo_n "checking for ANSI C header files... " >&6; }
6848if test "${ac_cv_header_stdc+set}" = set; then :
6849 $as_echo_n "(cached) " >&6
6850else
6851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6852/* end confdefs.h. */
6853#include <stdlib.h>
6854#include <stdarg.h>
6855#include <string.h>
6856#include <float.h>
6857
6858int
6859main ()
6860{
6861
6862 ;
6863 return 0;
6864}
6865_ACEOF
6866if ac_fn_cxx_try_compile "$LINENO"; then :
6867 ac_cv_header_stdc=yes
6868else
6869 ac_cv_header_stdc=no
6870fi
6871rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6872
6873if test $ac_cv_header_stdc = yes; then
6874 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6876/* end confdefs.h. */
6877#include <string.h>
6878
6879_ACEOF
6880if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6881 $EGREP "memchr" >/dev/null 2>&1; then :
6882
6883else
6884 ac_cv_header_stdc=no
6885fi
6886rm -f conftest*
6887
6888fi
6889
6890if test $ac_cv_header_stdc = yes; then
6891 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6893/* end confdefs.h. */
6894#include <stdlib.h>
6895
6896_ACEOF
6897if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6898 $EGREP "free" >/dev/null 2>&1; then :
6899
6900else
6901 ac_cv_header_stdc=no
6902fi
6903rm -f conftest*
6904
6905fi
6906
6907if test $ac_cv_header_stdc = yes; then
6908 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6909 if test "$cross_compiling" = yes; then :
6910 :
6911else
6912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6913/* end confdefs.h. */
6914#include <ctype.h>
6915#include <stdlib.h>
6916#if ((' ' & 0x0FF) == 0x020)
6917# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6918# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6919#else
6920# define ISLOWER(c) \
6921 (('a' <= (c) && (c) <= 'i') \
6922 || ('j' <= (c) && (c) <= 'r') \
6923 || ('s' <= (c) && (c) <= 'z'))
6924# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6925#endif
6926
6927#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6928int
6929main ()
6930{
6931 int i;
6932 for (i = 0; i < 256; i++)
6933 if (XOR (islower (i), ISLOWER (i))
6934 || toupper (i) != TOUPPER (i))
6935 return 2;
6936 return 0;
6937}
6938_ACEOF
6939if ac_fn_cxx_try_run "$LINENO"; then :
6940
6941else
6942 ac_cv_header_stdc=no
6943fi
6944rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6945 conftest.$ac_objext conftest.beam conftest.$ac_ext
6946fi
6947
6948fi
6949fi
6950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6951$as_echo "$ac_cv_header_stdc" >&6; }
6952if test $ac_cv_header_stdc = yes; then
6953
6954$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7795printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
6955 7796
6956fi 7797fi
7798ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "$ac_includes_default"
7799if test "x$ac_cv_header_tr1_unordered_map" = xyes
7800then :
7801 printf "%s\n" "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
6957 7802
6958# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7803fi
6959for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7804ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "$ac_includes_default"
6960 inttypes.h stdint.h unistd.h 7805if test "x$ac_cv_header_ext_hash_map" = xyes
6961do : 7806then :
6962 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7807 printf "%s\n" "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
7808
7809fi
7810ac_fn_cxx_check_header_compile "$LINENO" "clocale" "ac_cv_header_clocale" "$ac_includes_default"
7811if test "x$ac_cv_header_clocale" = xyes
7812then :
7813 printf "%s\n" "#define HAVE_CLOCALE 1" >>confdefs.h
7814
7815fi
7816
7817
7818ac_fn_cxx_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
7819if test "x$ac_cv_header_fcntl_h" = xyes
7820then :
7821 printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
7822
7823fi
7824ac_fn_cxx_check_header_compile "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
7825if test "x$ac_cv_header_inttypes_h" = xyes
7826then :
7827 printf "%s\n" "#define HAVE_INTTYPES_H 1" >>confdefs.h
7828
7829fi
7830ac_fn_cxx_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
7831if test "x$ac_cv_header_limits_h" = xyes
7832then :
7833 printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
7834
7835fi
6963ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7836ac_fn_cxx_check_header_compile "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
6964" 7837if test "x$ac_cv_header_malloc_h" = xyes
6965if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7838then :
6966 cat >>confdefs.h <<_ACEOF 7839 printf "%s\n" "#define HAVE_MALLOC_H 1" >>confdefs.h
6967#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6968_ACEOF
6969 7840
6970fi 7841fi
7842ac_fn_cxx_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
7843if test "x$ac_cv_header_stdint_h" = xyes
7844then :
7845 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
6971 7846
6972done 7847fi
7848ac_fn_cxx_check_header_compile "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default"
7849if test "x$ac_cv_header_strings_h" = xyes
7850then :
7851 printf "%s\n" "#define HAVE_STRINGS_H 1" >>confdefs.h
6973 7852
7853fi
7854ac_fn_cxx_check_header_compile "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default"
7855if test "x$ac_cv_header_syslog_h" = xyes
7856then :
7857 printf "%s\n" "#define HAVE_SYSLOG_H 1" >>confdefs.h
6974 7858
6975for ac_header in tr1/unordered_map ext/hash_map clocale 7859fi
6976do : 7860ac_fn_cxx_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
6977 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7861if test "x$ac_cv_header_unistd_h" = xyes
7862then :
7863 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
7864
7865fi
7866ac_fn_cxx_check_header_compile "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default"
7867if test "x$ac_cv_header_sys_file_h" = xyes
7868then :
7869 printf "%s\n" "#define HAVE_SYS_FILE_H 1" >>confdefs.h
7870
7871fi
7872ac_fn_cxx_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
7873if test "x$ac_cv_header_sys_ioctl_h" = xyes
7874then :
7875 printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
7876
7877fi
7878ac_fn_cxx_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
7879if test "x$ac_cv_header_sys_param_h" = xyes
7880then :
7881 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
7882
7883fi
7884ac_fn_cxx_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
7885if test "x$ac_cv_header_sys_time_h" = xyes
7886then :
7887 printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
7888
7889fi
7890ac_fn_cxx_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
7891if test "x$ac_cv_header_netinet_in_systm_h" = xyes
7892then :
7893 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
7894
7895fi
7896ac_fn_cxx_check_header_compile "$LINENO" "sys/cygwin.h" "ac_cv_header_sys_cygwin_h" "$ac_includes_default"
7897if test "x$ac_cv_header_sys_cygwin_h" = xyes
7898then :
7899 printf "%s\n" "#define HAVE_SYS_CYGWIN_H 1" >>confdefs.h
7900
7901fi
6978ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 7902ac_fn_cxx_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
6979if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7903if test "x$ac_cv_header_sys_mman_h" = xyes
6980 cat >>confdefs.h <<_ACEOF 7904then :
6981#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7905 printf "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
6982_ACEOF
6983 7906
6984fi 7907fi
7908ac_fn_cxx_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
7909if test "x$ac_cv_header_netinet_in_h" = xyes
7910then :
7911 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
6985 7912
6986done
6987
6988
6989for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \
6990 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h \
6991 sys/mman.h netinet/in.h
6992do :
6993 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6994ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6995if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6996 cat >>confdefs.h <<_ACEOF
6997#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6998_ACEOF
6999
7000fi 7913fi
7001 7914
7002done
7003
7004for ac_header in arpa/inet.h net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h
7005do :
7006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7007ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " 7915ac_fn_cxx_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "
7008#include <sys/types.h> 7916#include <sys/types.h>
7009#include <sys/socket.h> 7917#include <sys/socket.h>
7010#ifdef HAVE_NETINET_IN_H 7918#ifdef HAVE_NETINET_IN_H
7011# include <netinet/in.h> 7919# include <netinet/in.h>
7012#endif 7920#endif
7016#ifdef HAVE_NETINET_IN_SYSTM_H 7924#ifdef HAVE_NETINET_IN_SYSTM_H
7017# include <netinet/in_systm.h> 7925# include <netinet/in_systm.h>
7018#endif 7926#endif
7019 7927
7020" 7928"
7021if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7929if test "x$ac_cv_header_arpa_inet_h" = xyes
7022 cat >>confdefs.h <<_ACEOF 7930then :
7023#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7931 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7024_ACEOF
7025 7932
7026fi 7933fi
7934ac_fn_cxx_check_header_compile "$LINENO" "net/ethernet.h" "ac_cv_header_net_ethernet_h" "
7935#include <sys/types.h>
7936#include <sys/socket.h>
7937#ifdef HAVE_NETINET_IN_H
7938# include <netinet/in.h>
7939#endif
7940#ifdef HAVE_ARPA_INET_H
7941# include <arpa/inet.h>
7942#endif
7943#ifdef HAVE_NETINET_IN_SYSTM_H
7944# include <netinet/in_systm.h>
7945#endif
7027 7946
7028done 7947"
7948if test "x$ac_cv_header_net_ethernet_h" = xyes
7949then :
7950 printf "%s\n" "#define HAVE_NET_ETHERNET_H 1" >>confdefs.h
7029 7951
7952fi
7953ac_fn_cxx_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
7954#include <sys/types.h>
7955#include <sys/socket.h>
7956#ifdef HAVE_NETINET_IN_H
7957# include <netinet/in.h>
7958#endif
7959#ifdef HAVE_ARPA_INET_H
7960# include <arpa/inet.h>
7961#endif
7962#ifdef HAVE_NETINET_IN_SYSTM_H
7963# include <netinet/in_systm.h>
7964#endif
7030 7965
7966"
7967if test "x$ac_cv_header_net_if_h" = xyes
7968then :
7969 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
7970
7971fi
7972ac_fn_cxx_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "
7973#include <sys/types.h>
7974#include <sys/socket.h>
7975#ifdef HAVE_NETINET_IN_H
7976# include <netinet/in.h>
7977#endif
7978#ifdef HAVE_ARPA_INET_H
7979# include <arpa/inet.h>
7980#endif
7981#ifdef HAVE_NETINET_IN_SYSTM_H
7982# include <netinet/in_systm.h>
7983#endif
7984
7985"
7986if test "x$ac_cv_header_netinet_ip_h" = xyes
7987then :
7988 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
7989
7990fi
7991ac_fn_cxx_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "
7992#include <sys/types.h>
7993#include <sys/socket.h>
7994#ifdef HAVE_NETINET_IN_H
7995# include <netinet/in.h>
7996#endif
7997#ifdef HAVE_ARPA_INET_H
7998# include <arpa/inet.h>
7999#endif
8000#ifdef HAVE_NETINET_IN_SYSTM_H
8001# include <netinet/in_systm.h>
8002#endif
8003
8004"
8005if test "x$ac_cv_header_netinet_tcp_h" = xyes
8006then :
8007 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8008
8009fi
8010ac_fn_cxx_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "
8011#include <sys/types.h>
8012#include <sys/socket.h>
8013#ifdef HAVE_NETINET_IN_H
8014# include <netinet/in.h>
8015#endif
8016#ifdef HAVE_ARPA_INET_H
8017# include <arpa/inet.h>
8018#endif
8019#ifdef HAVE_NETINET_IN_SYSTM_H
8020# include <netinet/in_systm.h>
8021#endif
8022
8023"
8024if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8025then :
8026 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8027
8028fi
8029
8030
7031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 8031{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7032$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 8032printf %s "checking for an ANSI C-conforming const... " >&6; }
7033if test "${ac_cv_c_const+set}" = set; then : 8033if test ${ac_cv_c_const+y}
7034 $as_echo_n "(cached) " >&6 8034then :
7035else 8035 printf %s "(cached) " >&6
8036else $as_nop
7036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7037/* end confdefs.h. */ 8038/* end confdefs.h. */
7038 8039
7039int 8040int
7040main () 8041main (void)
7041{ 8042{
7042/* FIXME: Include the comments suggested by Paul. */ 8043
7043#ifndef __cplusplus 8044#ifndef __cplusplus
7044 /* Ultrix mips cc rejects this. */ 8045 /* Ultrix mips cc rejects this sort of thing. */
7045 typedef int charset[2]; 8046 typedef int charset[2];
7046 const charset cs; 8047 const charset cs = { 0, 0 };
7047 /* SunOS 4.1.1 cc rejects this. */ 8048 /* SunOS 4.1.1 cc rejects this. */
7048 char const *const *pcpcc; 8049 char const *const *pcpcc;
7049 char **ppc; 8050 char **ppc;
7050 /* NEC SVR4.0.2 mips cc rejects this. */ 8051 /* NEC SVR4.0.2 mips cc rejects this. */
7051 struct point {int x, y;}; 8052 struct point {int x, y;};
7052 static struct point const zero = {0,0}; 8053 static struct point const zero = {0,0};
7053 /* AIX XL C 1.02.0.0 rejects this. 8054 /* IBM XL C 1.02.0.0 rejects this.
7054 It does not let you subtract one const X* pointer from another in 8055 It does not let you subtract one const X* pointer from another in
7055 an arm of an if-expression whose if-part is not a constant 8056 an arm of an if-expression whose if-part is not a constant
7056 expression */ 8057 expression */
7057 const char *g = "string"; 8058 const char *g = "string";
7058 pcpcc = &g + (g ? g-g : 0); 8059 pcpcc = &g + (g ? g-g : 0);
7059 /* HPUX 7.0 cc rejects these. */ 8060 /* HPUX 7.0 cc rejects these. */
7060 ++pcpcc; 8061 ++pcpcc;
7061 ppc = (char**) pcpcc; 8062 ppc = (char**) pcpcc;
7062 pcpcc = (char const *const *) ppc; 8063 pcpcc = (char const *const *) ppc;
7063 { /* SCO 3.2v4 cc rejects this. */ 8064 { /* SCO 3.2v4 cc rejects this sort of thing. */
7064 char *t; 8065 char tx;
8066 char *t = &tx;
7065 char const *s = 0 ? (char *) 0 : (char const *) 0; 8067 char const *s = 0 ? (char *) 0 : (char const *) 0;
7066 8068
7067 *t++ = 0; 8069 *t++ = 0;
7068 if (s) return 0; 8070 if (s) return 0;
7069 } 8071 }
7075 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 8077 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7076 typedef const int *iptr; 8078 typedef const int *iptr;
7077 iptr p = 0; 8079 iptr p = 0;
7078 ++p; 8080 ++p;
7079 } 8081 }
7080 { /* AIX XL C 1.02.0.0 rejects this saying 8082 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
7081 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 8083 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7082 struct s { int j; const int *ap[3]; }; 8084 struct s { int j; const int *ap[3]; } bx;
7083 struct s *b; b->j = 5; 8085 struct s *b = &bx; b->j = 5;
7084 } 8086 }
7085 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 8087 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7086 const int foo = 10; 8088 const int foo = 10;
7087 if (!foo) return 0; 8089 if (!foo) return 0;
7088 } 8090 }
7091 8093
7092 ; 8094 ;
7093 return 0; 8095 return 0;
7094} 8096}
7095_ACEOF 8097_ACEOF
7096if ac_fn_cxx_try_compile "$LINENO"; then : 8098if ac_fn_cxx_try_compile "$LINENO"
8099then :
7097 ac_cv_c_const=yes 8100 ac_cv_c_const=yes
7098else 8101else $as_nop
7099 ac_cv_c_const=no 8102 ac_cv_c_const=no
7100fi 8103fi
7101rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8104rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7102fi 8105fi
7103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 8106{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7104$as_echo "$ac_cv_c_const" >&6; } 8107printf "%s\n" "$ac_cv_c_const" >&6; }
7105if test $ac_cv_c_const = no; then 8108if test $ac_cv_c_const = no; then
7106 8109
7107$as_echo "#define const /**/" >>confdefs.h 8110printf "%s\n" "#define const /**/" >>confdefs.h
7108 8111
7109fi 8112fi
7110 8113
8114
7111ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 8115 ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default
8116"
7112if test "x$ac_cv_type_pid_t" = x""yes; then : 8117if test "x$ac_cv_type_pid_t" = xyes
8118then :
7113 8119
7114else 8120else $as_nop
7115 8121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7116cat >>confdefs.h <<_ACEOF
7117#define pid_t int
7118_ACEOF
7119
7120fi
7121
7122ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7123if test "x$ac_cv_type_size_t" = x""yes; then :
7124
7125else
7126
7127cat >>confdefs.h <<_ACEOF
7128#define size_t unsigned int
7129_ACEOF
7130
7131fi
7132
7133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
7134$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
7135if test "${ac_cv_header_time+set}" = set; then :
7136 $as_echo_n "(cached) " >&6
7137else
7138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7139/* end confdefs.h. */ 8122/* end confdefs.h. */
7140#include <sys/types.h> 8123
7141#include <sys/time.h> 8124 #if defined _WIN64 && !defined __CYGWIN__
7142#include <time.h> 8125 LLP64
8126 #endif
7143 8127
7144int 8128int
7145main () 8129main (void)
7146{ 8130{
7147if ((struct tm *) 0) 8131
7148return 0;
7149 ; 8132 ;
7150 return 0; 8133 return 0;
7151} 8134}
8135
7152_ACEOF 8136_ACEOF
7153if ac_fn_cxx_try_compile "$LINENO"; then : 8137if ac_fn_cxx_try_compile "$LINENO"
7154 ac_cv_header_time=yes 8138then :
7155else 8139 ac_pid_type='int'
7156 ac_cv_header_time=no 8140else $as_nop
8141 ac_pid_type='__int64'
7157fi 8142fi
7158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8143rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7159fi
7160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
7161$as_echo "$ac_cv_header_time" >&6; }
7162if test $ac_cv_header_time = yes; then
7163 8144
7164$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 8145printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h
7165 8146
7166fi
7167 8147
8148fi
8149
8150
8151ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8152if test "x$ac_cv_type_size_t" = xyes
8153then :
8154
8155else $as_nop
8156
8157printf "%s\n" "#define size_t unsigned int" >>confdefs.h
8158
8159fi
8160
8161
8162
8163
7168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 8164{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
7169$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 8165printf %s "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7170if test "${ac_cv_struct_tm+set}" = set; then : 8166if test ${ac_cv_struct_tm+y}
7171 $as_echo_n "(cached) " >&6 8167then :
7172else 8168 printf %s "(cached) " >&6
8169else $as_nop
7173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7174/* end confdefs.h. */ 8171/* end confdefs.h. */
7175#include <sys/types.h> 8172#include <sys/types.h>
7176#include <time.h> 8173#include <time.h>
7177 8174
7178int 8175int
7179main () 8176main (void)
7180{ 8177{
7181struct tm tm; 8178struct tm tm;
7182 int *p = &tm.tm_sec; 8179 int *p = &tm.tm_sec;
7183 return !p; 8180 return !p;
7184 ; 8181 ;
7185 return 0; 8182 return 0;
7186} 8183}
7187_ACEOF 8184_ACEOF
7188if ac_fn_cxx_try_compile "$LINENO"; then : 8185if ac_fn_cxx_try_compile "$LINENO"
8186then :
7189 ac_cv_struct_tm=time.h 8187 ac_cv_struct_tm=time.h
7190else 8188else $as_nop
7191 ac_cv_struct_tm=sys/time.h 8189 ac_cv_struct_tm=sys/time.h
7192fi 8190fi
7193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8191rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7194fi 8192fi
7195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 8193{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
7196$as_echo "$ac_cv_struct_tm" >&6; } 8194printf "%s\n" "$ac_cv_struct_tm" >&6; }
7197if test $ac_cv_struct_tm = sys/time.h; then 8195if test $ac_cv_struct_tm = sys/time.h; then
7198 8196
7199$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 8197printf "%s\n" "#define TM_IN_SYS_TIME 1" >>confdefs.h
7200 8198
7201fi 8199fi
7202 8200
7203 8201
7204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5 8202{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
7205$as_echo_n "checking for socklen_t... " >&6; } 8203printf %s "checking for socklen_t... " >&6; }
7206if test "${ac_cv_type_socklen_t+set}" = set; then : 8204if test ${ac_cv_type_socklen_t+y}
7207 $as_echo_n "(cached) " >&6 8205then :
7208else 8206 printf %s "(cached) " >&6
8207else $as_nop
7209 8208
7210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7211/* end confdefs.h. */ 8210/* end confdefs.h. */
7212#include <sys/types.h> 8211#include <sys/types.h>
7213 #include <sys/socket.h> 8212 #include <sys/socket.h>
7214int 8213int
7215main () 8214main (void)
7216{ 8215{
7217socklen_t len = 42; return len; 8216socklen_t len = 42; return len;
7218 ; 8217 ;
7219 return 0; 8218 return 0;
7220} 8219}
7221_ACEOF 8220_ACEOF
7222if ac_fn_cxx_try_compile "$LINENO"; then : 8221if ac_fn_cxx_try_compile "$LINENO"
8222then :
7223 ac_cv_type_socklen_t=yes 8223 ac_cv_type_socklen_t=yes
7224else 8224else $as_nop
7225 ac_cv_type_socklen_t=no 8225 ac_cv_type_socklen_t=no
7226fi 8226fi
7227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8227rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7228 8228
7229fi 8229fi
7230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_socklen_t" >&5 8230{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_socklen_t" >&5
7231$as_echo "$ac_cv_type_socklen_t" >&6; } 8231printf "%s\n" "$ac_cv_type_socklen_t" >&6; }
7232if test $ac_cv_type_socklen_t = yes; then 8232if test $ac_cv_type_socklen_t = yes; then
7233 8233
7234$as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h 8234printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h
7235 8235
7236fi 8236fi
7237 8237
7238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5 8238{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5
7239$as_echo_n "checking for struct addrinfo... " >&6; } 8239printf %s "checking for struct addrinfo... " >&6; }
7240if test "${ac_cv_struct_addrinfo+set}" = set; then : 8240if test ${ac_cv_struct_addrinfo+y}
7241 $as_echo_n "(cached) " >&6 8241then :
7242else 8242 printf %s "(cached) " >&6
8243else $as_nop
7243 8244
7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245/* end confdefs.h. */ 8246/* end confdefs.h. */
7246#include <sys/types.h> 8247#include <sys/types.h>
7247 #include <sys/socket.h> 8248 #include <sys/socket.h>
7248 #include <netdb.h> 8249 #include <netdb.h>
7249int 8250int
7250main () 8251main (void)
7251{ 8252{
7252struct addrinfo ai; ai.ai_family = AF_INET; return ai.ai_family; 8253struct addrinfo ai; ai.ai_family = AF_INET; return ai.ai_family;
7253 ; 8254 ;
7254 return 0; 8255 return 0;
7255} 8256}
7256_ACEOF 8257_ACEOF
7257if ac_fn_cxx_try_compile "$LINENO"; then : 8258if ac_fn_cxx_try_compile "$LINENO"
8259then :
7258 ac_cv_struct_addrinfo=yes 8260 ac_cv_struct_addrinfo=yes
7259else 8261else $as_nop
7260 ac_cv_struct_addrinfo=no 8262 ac_cv_struct_addrinfo=no
7261fi 8263fi
7262rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8264rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7263 8265
7264fi 8266fi
7265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_addrinfo" >&5 8267{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_addrinfo" >&5
7266$as_echo "$ac_cv_struct_addrinfo" >&6; } 8268printf "%s\n" "$ac_cv_struct_addrinfo" >&6; }
7267if test $ac_cv_struct_addrinfo = yes; then 8269if test $ac_cv_struct_addrinfo = yes; then
7268 8270
7269$as_echo "#define HAVE_STRUCT_ADDRINFO 1" >>confdefs.h 8271printf "%s\n" "#define HAVE_STRUCT_ADDRINFO 1" >>confdefs.h
7270 8272
7271fi 8273fi
7272
7273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
7274$as_echo_n "checking return type of signal handlers... " >&6; }
7275if test "${ac_cv_type_signal+set}" = set; then :
7276 $as_echo_n "(cached) " >&6
7277else
7278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279/* end confdefs.h. */
7280#include <sys/types.h>
7281#include <signal.h>
7282
7283int
7284main ()
7285{
7286return *(signal (0, 0)) (0) == 1;
7287 ;
7288 return 0;
7289}
7290_ACEOF
7291if ac_fn_cxx_try_compile "$LINENO"; then :
7292 ac_cv_type_signal=int
7293else
7294 ac_cv_type_signal=void
7295fi
7296rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7297fi
7298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
7299$as_echo "$ac_cv_type_signal" >&6; }
7300
7301cat >>confdefs.h <<_ACEOF
7302#define RETSIGTYPE $ac_cv_type_signal
7303_ACEOF
7304
7305
7306 8274
7307ac_ext=c 8275ac_ext=c
7308ac_cpp='$CPP $CPPFLAGS' 8276ac_cpp='$CPP $CPPFLAGS'
7309ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8277ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7310ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8278ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7311ac_compiler_gnu=$ac_cv_c_compiler_gnu 8279ac_compiler_gnu=$ac_cv_c_compiler_gnu
7312 8280
7313 8281
7314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8282ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
7315$as_echo_n "checking for ANSI C header files... " >&6; } 8283if test "x$ac_cv_func_asprintf" = xyes
7316if test "${ac_cv_header_stdc+set}" = set; then : 8284then :
7317 $as_echo_n "(cached) " >&6 8285 printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h
7318else
7319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7320/* end confdefs.h. */
7321#include <stdlib.h>
7322#include <stdarg.h>
7323#include <string.h>
7324#include <float.h>
7325 8286
7326int
7327main ()
7328{
7329
7330 ;
7331 return 0;
7332}
7333_ACEOF
7334if ac_fn_c_try_compile "$LINENO"; then :
7335 ac_cv_header_stdc=yes
7336else
7337 ac_cv_header_stdc=no
7338fi 8287fi
7339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8288ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon"
8289if test "x$ac_cv_func_daemon" = xyes
8290then :
8291 printf "%s\n" "#define HAVE_DAEMON 1" >>confdefs.h
7340 8292
7341if test $ac_cv_header_stdc = yes; then
7342 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7344/* end confdefs.h. */
7345#include <string.h>
7346
7347_ACEOF
7348if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7349 $EGREP "memchr" >/dev/null 2>&1; then :
7350
7351else
7352 ac_cv_header_stdc=no
7353fi 8293fi
7354rm -f conftest* 8294ac_fn_c_check_func "$LINENO" "get_current_dir_name" "ac_cv_func_get_current_dir_name"
8295if test "x$ac_cv_func_get_current_dir_name" = xyes
8296then :
8297 printf "%s\n" "#define HAVE_GET_CURRENT_DIR_NAME 1" >>confdefs.h
7355 8298
7356fi 8299fi
8300ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv"
8301if test "x$ac_cv_func_putenv" = xyes
8302then :
8303 printf "%s\n" "#define HAVE_PUTENV 1" >>confdefs.h
7357 8304
7358if test $ac_cv_header_stdc = yes; then
7359 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7361/* end confdefs.h. */
7362#include <stdlib.h>
7363
7364_ACEOF
7365if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7366 $EGREP "free" >/dev/null 2>&1; then :
7367
7368else
7369 ac_cv_header_stdc=no
7370fi 8305fi
7371rm -f conftest* 8306ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select"
8307if test "x$ac_cv_func_select" = xyes
8308then :
8309 printf "%s\n" "#define HAVE_SELECT 1" >>confdefs.h
7372 8310
7373fi 8311fi
8312ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
8313if test "x$ac_cv_func_strerror" = xyes
8314then :
8315 printf "%s\n" "#define HAVE_STRERROR 1" >>confdefs.h
7374 8316
7375if test $ac_cv_header_stdc = yes; then
7376 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7377 if test "$cross_compiling" = yes; then :
7378 :
7379else
7380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7381/* end confdefs.h. */
7382#include <ctype.h>
7383#include <stdlib.h>
7384#if ((' ' & 0x0FF) == 0x020)
7385# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7386# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7387#else
7388# define ISLOWER(c) \
7389 (('a' <= (c) && (c) <= 'i') \
7390 || ('j' <= (c) && (c) <= 'r') \
7391 || ('s' <= (c) && (c) <= 'z'))
7392# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7393#endif
7394
7395#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7396int
7397main ()
7398{
7399 int i;
7400 for (i = 0; i < 256; i++)
7401 if (XOR (islower (i), ISLOWER (i))
7402 || toupper (i) != TOUPPER (i))
7403 return 2;
7404 return 0;
7405}
7406_ACEOF
7407if ac_fn_c_try_run "$LINENO"; then :
7408
7409else
7410 ac_cv_header_stdc=no
7411fi 8317fi
7412rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8318ac_fn_c_check_func "$LINENO" "strsignal" "ac_cv_func_strsignal"
7413 conftest.$ac_objext conftest.beam conftest.$ac_ext 8319if test "x$ac_cv_func_strsignal" = xyes
7414fi 8320then :
8321 printf "%s\n" "#define HAVE_STRSIGNAL 1" >>confdefs.h
7415 8322
7416fi 8323fi
7417fi 8324ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
7418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8325if test "x$ac_cv_func_strtol" = xyes
7419$as_echo "$ac_cv_header_stdc" >&6; } 8326then :
7420if test $ac_cv_header_stdc = yes; then 8327 printf "%s\n" "#define HAVE_STRTOL 1" >>confdefs.h
7421 8328
7422$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7423
7424fi 8329fi
8330ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
8331if test "x$ac_cv_func_unsetenv" = xyes
8332then :
8333 printf "%s\n" "#define HAVE_UNSETENV 1" >>confdefs.h
7425 8334
7426
7427for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall
7428do :
7429 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7430ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7431if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7432 cat >>confdefs.h <<_ACEOF
7433#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7434_ACEOF
7435
7436fi 8335fi
7437done 8336ac_fn_c_check_func "$LINENO" "mlockall" "ac_cv_func_mlockall"
8337if test "x$ac_cv_func_mlockall" = xyes
8338then :
8339 printf "%s\n" "#define HAVE_MLOCKALL 1" >>confdefs.h
8340
8341fi
7438 8342
7439 8343
7440# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 8344# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7441# for constant arguments. Useless! 8345# for constant arguments. Useless!
7442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 8346{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
7443$as_echo_n "checking for working alloca.h... " >&6; } 8347printf %s "checking for working alloca.h... " >&6; }
7444if test "${ac_cv_working_alloca_h+set}" = set; then : 8348if test ${ac_cv_working_alloca_h+y}
7445 $as_echo_n "(cached) " >&6 8349then :
7446else 8350 printf %s "(cached) " >&6
8351else $as_nop
7447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7448/* end confdefs.h. */ 8353/* end confdefs.h. */
7449#include <alloca.h> 8354#include <alloca.h>
7450int 8355int
7451main () 8356main (void)
7452{ 8357{
7453char *p = (char *) alloca (2 * sizeof (int)); 8358char *p = (char *) alloca (2 * sizeof (int));
7454 if (p) return 0; 8359 if (p) return 0;
7455 ; 8360 ;
7456 return 0; 8361 return 0;
7457} 8362}
7458_ACEOF 8363_ACEOF
7459if ac_fn_c_try_link "$LINENO"; then : 8364if ac_fn_c_try_link "$LINENO"
8365then :
7460 ac_cv_working_alloca_h=yes 8366 ac_cv_working_alloca_h=yes
7461else 8367else $as_nop
7462 ac_cv_working_alloca_h=no 8368 ac_cv_working_alloca_h=no
7463fi 8369fi
7464rm -f core conftest.err conftest.$ac_objext \ 8370rm -f core conftest.err conftest.$ac_objext conftest.beam \
7465 conftest$ac_exeext conftest.$ac_ext 8371 conftest$ac_exeext conftest.$ac_ext
7466fi 8372fi
7467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 8373{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
7468$as_echo "$ac_cv_working_alloca_h" >&6; } 8374printf "%s\n" "$ac_cv_working_alloca_h" >&6; }
7469if test $ac_cv_working_alloca_h = yes; then 8375if test $ac_cv_working_alloca_h = yes; then
7470 8376
7471$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 8377printf "%s\n" "#define HAVE_ALLOCA_H 1" >>confdefs.h
7472 8378
7473fi 8379fi
7474 8380
7475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 8381{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
7476$as_echo_n "checking for alloca... " >&6; } 8382printf %s "checking for alloca... " >&6; }
7477if test "${ac_cv_func_alloca_works+set}" = set; then : 8383if test ${ac_cv_func_alloca_works+y}
7478 $as_echo_n "(cached) " >&6 8384then :
8385 printf %s "(cached) " >&6
8386else $as_nop
8387 if test $ac_cv_working_alloca_h = yes; then
8388 ac_cv_func_alloca_works=yes
7479else 8389else
7480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7481/* end confdefs.h. */ 8391/* end confdefs.h. */
8392#include <stdlib.h>
8393#include <stddef.h>
8394#ifndef alloca
7482#ifdef __GNUC__ 8395# ifdef __GNUC__
7483# define alloca __builtin_alloca 8396# define alloca __builtin_alloca
7484#else
7485# ifdef _MSC_VER 8397# elif defined _MSC_VER
7486# include <malloc.h> 8398# include <malloc.h>
7487# define alloca _alloca 8399# define alloca _alloca
7488# else 8400# else
7489# ifdef HAVE_ALLOCA_H 8401# ifdef __cplusplus
7490# include <alloca.h> 8402extern "C"
7491# else
7492# ifdef _AIX
7493 #pragma alloca
7494# else
7495# ifndef alloca /* predefined by HP cc +Olibcalls */
7496char *alloca ();
7497# endif
7498# endif
7499# endif 8403# endif
8404void *alloca (size_t);
7500# endif 8405# endif
7501#endif 8406#endif
7502 8407
7503int 8408int
7504main () 8409main (void)
7505{ 8410{
7506char *p = (char *) alloca (1); 8411char *p = (char *) alloca (1);
7507 if (p) return 0; 8412 if (p) return 0;
7508 ; 8413 ;
7509 return 0; 8414 return 0;
7510} 8415}
7511_ACEOF 8416_ACEOF
7512if ac_fn_c_try_link "$LINENO"; then : 8417if ac_fn_c_try_link "$LINENO"
8418then :
7513 ac_cv_func_alloca_works=yes 8419 ac_cv_func_alloca_works=yes
7514else 8420else $as_nop
7515 ac_cv_func_alloca_works=no 8421 ac_cv_func_alloca_works=no
7516fi 8422fi
7517rm -f core conftest.err conftest.$ac_objext \ 8423rm -f core conftest.err conftest.$ac_objext conftest.beam \
7518 conftest$ac_exeext conftest.$ac_ext 8424 conftest$ac_exeext conftest.$ac_ext
7519fi 8425fi
7520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 8426{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
7521$as_echo "$ac_cv_func_alloca_works" >&6; } 8427printf "%s\n" "$ac_cv_func_alloca_works" >&6; }
8428fi
7522 8429
7523if test $ac_cv_func_alloca_works = yes; then 8430if test $ac_cv_func_alloca_works = yes; then
7524 8431
7525$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 8432printf "%s\n" "#define HAVE_ALLOCA 1" >>confdefs.h
7526 8433
7527else 8434else
7528 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 8435 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
7529# that cause trouble. Some versions do not even contain alloca or 8436# that cause trouble. Some versions do not even contain alloca or
7530# contain a buggy version. If you still want to use their alloca, 8437# contain a buggy version. If you still want to use their alloca,
7531# use ar to extract alloca.o from them instead of compiling alloca.c. 8438# use ar to extract alloca.o from them instead of compiling alloca.c.
7532 8439
7533ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 8440ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
7534 8441
7535$as_echo "#define C_ALLOCA 1" >>confdefs.h 8442printf "%s\n" "#define C_ALLOCA 1" >>confdefs.h
7536 8443
7537 8444
7538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
7539$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
7540if test "${ac_cv_os_cray+set}" = set; then :
7541 $as_echo_n "(cached) " >&6
7542else
7543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7544/* end confdefs.h. */
7545#if defined CRAY && ! defined CRAY2
7546webecray
7547#else
7548wenotbecray
7549#endif
7550
7551_ACEOF
7552if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7553 $EGREP "webecray" >/dev/null 2>&1; then :
7554 ac_cv_os_cray=yes
7555else
7556 ac_cv_os_cray=no
7557fi
7558rm -f conftest*
7559
7560fi
7561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
7562$as_echo "$ac_cv_os_cray" >&6; }
7563if test $ac_cv_os_cray = yes; then
7564 for ac_func in _getb67 GETB67 getb67; do
7565 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7566ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7567if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7568
7569cat >>confdefs.h <<_ACEOF
7570#define CRAY_STACKSEG_END $ac_func
7571_ACEOF
7572
7573 break
7574fi
7575
7576 done
7577fi
7578
7579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 8445{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
7580$as_echo_n "checking stack direction for C alloca... " >&6; } 8446printf %s "checking stack direction for C alloca... " >&6; }
7581if test "${ac_cv_c_stack_direction+set}" = set; then : 8447if test ${ac_cv_c_stack_direction+y}
7582 $as_echo_n "(cached) " >&6 8448then :
7583else 8449 printf %s "(cached) " >&6
8450else $as_nop
7584 if test "$cross_compiling" = yes; then : 8451 if test "$cross_compiling" = yes
8452then :
7585 ac_cv_c_stack_direction=0 8453 ac_cv_c_stack_direction=0
7586else 8454else $as_nop
7587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7588/* end confdefs.h. */ 8456/* end confdefs.h. */
7589$ac_includes_default 8457$ac_includes_default
7590int 8458int
7591find_stack_direction () 8459find_stack_direction (int *addr, int depth)
7592{ 8460{
7593 static char *addr = 0; 8461 int dir, dummy = 0;
7594 auto char dummy;
7595 if (addr == 0) 8462 if (! addr)
7596 {
7597 addr = &dummy; 8463 addr = &dummy;
7598 return find_stack_direction (); 8464 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
7599 } 8465 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
7600 else 8466 return dir + dummy;
7601 return (&dummy > addr) ? 1 : -1;
7602} 8467}
7603 8468
7604int 8469int
7605main () 8470main (int argc, char **argv)
7606{ 8471{
7607 return find_stack_direction () < 0; 8472 return find_stack_direction (0, argc + !argv + 20) < 0;
7608} 8473}
7609_ACEOF 8474_ACEOF
7610if ac_fn_c_try_run "$LINENO"; then : 8475if ac_fn_c_try_run "$LINENO"
8476then :
7611 ac_cv_c_stack_direction=1 8477 ac_cv_c_stack_direction=1
7612else 8478else $as_nop
7613 ac_cv_c_stack_direction=-1 8479 ac_cv_c_stack_direction=-1
7614fi 8480fi
7615rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8481rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7616 conftest.$ac_objext conftest.beam conftest.$ac_ext 8482 conftest.$ac_objext conftest.beam conftest.$ac_ext
7617fi 8483fi
7618 8484
7619fi 8485fi
7620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 8486{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
7621$as_echo "$ac_cv_c_stack_direction" >&6; } 8487printf "%s\n" "$ac_cv_c_stack_direction" >&6; }
7622cat >>confdefs.h <<_ACEOF
7623#define STACK_DIRECTION $ac_cv_c_stack_direction 8488printf "%s\n" "#define STACK_DIRECTION $ac_cv_c_stack_direction" >>confdefs.h
7624_ACEOF
7625 8489
7626 8490
7627fi 8491fi
7628 8492
7629 8493
7630 8494
7631ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 8495ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
7632if test "x$ac_cv_func_socket" = x""yes; then : 8496if test "x$ac_cv_func_socket" = xyes
8497then :
7633 8498
7634else 8499else $as_nop
7635 8500
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 8501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7637$as_echo_n "checking for connect in -lsocket... " >&6; } 8502printf %s "checking for connect in -lsocket... " >&6; }
7638if test "${ac_cv_lib_socket_connect+set}" = set; then : 8503if test ${ac_cv_lib_socket_connect+y}
7639 $as_echo_n "(cached) " >&6 8504then :
7640else 8505 printf %s "(cached) " >&6
8506else $as_nop
7641 ac_check_lib_save_LIBS=$LIBS 8507 ac_check_lib_save_LIBS=$LIBS
7642LIBS="-lsocket $LIBS" 8508LIBS="-lsocket $LIBS"
7643cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8509cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7644/* end confdefs.h. */ 8510/* end confdefs.h. */
7645 8511
7646/* Override any GCC internal prototype to avoid an error. 8512/* Override any GCC internal prototype to avoid an error.
7647 Use char because int might match the return type of a GCC 8513 Use char because int might match the return type of a GCC
7648 builtin and then its argument prototype would still apply. */ 8514 builtin and then its argument prototype would still apply. */
7649#ifdef __cplusplus
7650extern "C"
7651#endif
7652char connect (); 8515char connect ();
7653int 8516int
7654main () 8517main (void)
7655{ 8518{
7656return connect (); 8519return connect ();
7657 ; 8520 ;
7658 return 0; 8521 return 0;
7659} 8522}
7660_ACEOF 8523_ACEOF
7661if ac_fn_c_try_link "$LINENO"; then : 8524if ac_fn_c_try_link "$LINENO"
8525then :
7662 ac_cv_lib_socket_connect=yes 8526 ac_cv_lib_socket_connect=yes
7663else 8527else $as_nop
7664 ac_cv_lib_socket_connect=no 8528 ac_cv_lib_socket_connect=no
7665fi 8529fi
7666rm -f core conftest.err conftest.$ac_objext \ 8530rm -f core conftest.err conftest.$ac_objext conftest.beam \
7667 conftest$ac_exeext conftest.$ac_ext 8531 conftest$ac_exeext conftest.$ac_ext
7668LIBS=$ac_check_lib_save_LIBS 8532LIBS=$ac_check_lib_save_LIBS
7669fi 8533fi
7670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 8534{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7671$as_echo "$ac_cv_lib_socket_connect" >&6; } 8535printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
7672if test "x$ac_cv_lib_socket_connect" = x""yes; then : 8536if test "x$ac_cv_lib_socket_connect" = xyes
7673 cat >>confdefs.h <<_ACEOF 8537then :
7674#define HAVE_LIBSOCKET 1 8538 printf "%s\n" "#define HAVE_LIBSOCKET 1" >>confdefs.h
7675_ACEOF
7676 8539
7677 LIBS="-lsocket $LIBS" 8540 LIBS="-lsocket $LIBS"
7678 8541
7679fi 8542fi
7680 8543
7681 8544
7682fi 8545fi
7683 8546
7684ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 8547ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7685if test "x$ac_cv_func_gethostbyname" = x""yes; then : 8548if test "x$ac_cv_func_gethostbyname" = xyes
8549then :
7686 8550
7687else 8551else $as_nop
7688 8552
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 8553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7690$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 8554printf %s "checking for gethostbyname in -lnsl... " >&6; }
7691if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : 8555if test ${ac_cv_lib_nsl_gethostbyname+y}
7692 $as_echo_n "(cached) " >&6 8556then :
7693else 8557 printf %s "(cached) " >&6
8558else $as_nop
7694 ac_check_lib_save_LIBS=$LIBS 8559 ac_check_lib_save_LIBS=$LIBS
7695LIBS="-lnsl $LIBS" 8560LIBS="-lnsl $LIBS"
7696cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8561cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7697/* end confdefs.h. */ 8562/* end confdefs.h. */
7698 8563
7699/* Override any GCC internal prototype to avoid an error. 8564/* Override any GCC internal prototype to avoid an error.
7700 Use char because int might match the return type of a GCC 8565 Use char because int might match the return type of a GCC
7701 builtin and then its argument prototype would still apply. */ 8566 builtin and then its argument prototype would still apply. */
7702#ifdef __cplusplus
7703extern "C"
7704#endif
7705char gethostbyname (); 8567char gethostbyname ();
7706int 8568int
7707main () 8569main (void)
7708{ 8570{
7709return gethostbyname (); 8571return gethostbyname ();
7710 ; 8572 ;
7711 return 0; 8573 return 0;
7712} 8574}
7713_ACEOF 8575_ACEOF
7714if ac_fn_c_try_link "$LINENO"; then : 8576if ac_fn_c_try_link "$LINENO"
8577then :
7715 ac_cv_lib_nsl_gethostbyname=yes 8578 ac_cv_lib_nsl_gethostbyname=yes
7716else 8579else $as_nop
7717 ac_cv_lib_nsl_gethostbyname=no 8580 ac_cv_lib_nsl_gethostbyname=no
7718fi 8581fi
7719rm -f core conftest.err conftest.$ac_objext \ 8582rm -f core conftest.err conftest.$ac_objext conftest.beam \
7720 conftest$ac_exeext conftest.$ac_ext 8583 conftest$ac_exeext conftest.$ac_ext
7721LIBS=$ac_check_lib_save_LIBS 8584LIBS=$ac_check_lib_save_LIBS
7722fi 8585fi
7723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 8586{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7724$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 8587printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
7725if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : 8588if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
7726 cat >>confdefs.h <<_ACEOF 8589then :
7727#define HAVE_LIBNSL 1 8590 printf "%s\n" "#define HAVE_LIBNSL 1" >>confdefs.h
7728_ACEOF
7729 8591
7730 LIBS="-lnsl $LIBS" 8592 LIBS="-lnsl $LIBS"
7731 8593
7732fi 8594fi
7733 8595
7734 8596
7735fi 8597fi
7736 8598
7737 8599
7738 8600
7739for ac_header in sys/inotify.h sys/epoll.h sys/event.h port.h poll.h sys/select.h sys/eventfd.h sys/signalfd.h 8601ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
7740do : 8602if test "x$ac_cv_header_sys_inotify_h" = xyes
7741 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8603then :
7742ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8604 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
7743if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7744 cat >>confdefs.h <<_ACEOF
7745#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7746_ACEOF
7747 8605
7748fi 8606fi
8607ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8608if test "x$ac_cv_header_sys_epoll_h" = xyes
8609then :
8610 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
7749 8611
7750done
7751
7752
7753for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd signalfd
7754do :
7755 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7756ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7757if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7758 cat >>confdefs.h <<_ACEOF
7759#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7760_ACEOF
7761
7762fi 8612fi
7763done 8613ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8614if test "x$ac_cv_header_sys_event_h" = xyes
8615then :
8616 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
7764 8617
8618fi
8619ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8620if test "x$ac_cv_header_port_h" = xyes
8621then :
8622 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
7765 8623
8624fi
8625ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
8626if test "x$ac_cv_header_poll_h" = xyes
8627then :
8628 printf "%s\n" "#define HAVE_POLL_H 1" >>confdefs.h
8629
8630fi
8631ac_fn_c_check_header_compile "$LINENO" "sys/timerfd.h" "ac_cv_header_sys_timerfd_h" "$ac_includes_default"
8632if test "x$ac_cv_header_sys_timerfd_h" = xyes
8633then :
8634 printf "%s\n" "#define HAVE_SYS_TIMERFD_H 1" >>confdefs.h
8635
8636fi
8637
8638ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
8639if test "x$ac_cv_header_sys_select_h" = xyes
8640then :
8641 printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
8642
8643fi
8644ac_fn_c_check_header_compile "$LINENO" "sys/eventfd.h" "ac_cv_header_sys_eventfd_h" "$ac_includes_default"
8645if test "x$ac_cv_header_sys_eventfd_h" = xyes
8646then :
8647 printf "%s\n" "#define HAVE_SYS_EVENTFD_H 1" >>confdefs.h
8648
8649fi
8650ac_fn_c_check_header_compile "$LINENO" "sys/signalfd.h" "ac_cv_header_sys_signalfd_h" "$ac_includes_default"
8651if test "x$ac_cv_header_sys_signalfd_h" = xyes
8652then :
8653 printf "%s\n" "#define HAVE_SYS_SIGNALFD_H 1" >>confdefs.h
8654
8655fi
8656ac_fn_c_check_header_compile "$LINENO" "linux/aio_abi.h" "ac_cv_header_linux_aio_abi_h" "$ac_includes_default"
8657if test "x$ac_cv_header_linux_aio_abi_h" = xyes
8658then :
8659 printf "%s\n" "#define HAVE_LINUX_AIO_ABI_H 1" >>confdefs.h
8660
8661fi
8662ac_fn_c_check_header_compile "$LINENO" "linux/fs.h" "ac_cv_header_linux_fs_h" "$ac_includes_default"
8663if test "x$ac_cv_header_linux_fs_h" = xyes
8664then :
8665 printf "%s\n" "#define HAVE_LINUX_FS_H 1" >>confdefs.h
8666
8667fi
8668
8669
8670ac_fn_c_check_func "$LINENO" "inotify_init" "ac_cv_func_inotify_init"
8671if test "x$ac_cv_func_inotify_init" = xyes
8672then :
8673 printf "%s\n" "#define HAVE_INOTIFY_INIT 1" >>confdefs.h
8674
8675fi
8676ac_fn_c_check_func "$LINENO" "epoll_ctl" "ac_cv_func_epoll_ctl"
8677if test "x$ac_cv_func_epoll_ctl" = xyes
8678then :
8679 printf "%s\n" "#define HAVE_EPOLL_CTL 1" >>confdefs.h
8680
8681fi
8682ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
8683if test "x$ac_cv_func_kqueue" = xyes
8684then :
8685 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
8686
8687fi
8688ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
8689if test "x$ac_cv_func_port_create" = xyes
8690then :
8691 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
8692
8693fi
8694ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
8695if test "x$ac_cv_func_poll" = xyes
8696then :
8697 printf "%s\n" "#define HAVE_POLL 1" >>confdefs.h
8698
8699fi
8700ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select"
8701if test "x$ac_cv_func_select" = xyes
8702then :
8703 printf "%s\n" "#define HAVE_SELECT 1" >>confdefs.h
8704
8705fi
8706ac_fn_c_check_func "$LINENO" "eventfd" "ac_cv_func_eventfd"
8707if test "x$ac_cv_func_eventfd" = xyes
8708then :
8709 printf "%s\n" "#define HAVE_EVENTFD 1" >>confdefs.h
8710
8711fi
8712ac_fn_c_check_func "$LINENO" "signalfd" "ac_cv_func_signalfd"
8713if test "x$ac_cv_func_signalfd" = xyes
8714then :
8715 printf "%s\n" "#define HAVE_SIGNALFD 1" >>confdefs.h
8716
8717fi
8718
8719
8720
7766for ac_func in clock_gettime 8721 for ac_func in clock_gettime
7767do : 8722do :
7768 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 8723 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
7769if test "x$ac_cv_func_clock_gettime" = x""yes; then : 8724if test "x$ac_cv_func_clock_gettime" = xyes
7770 cat >>confdefs.h <<_ACEOF 8725then :
7771#define HAVE_CLOCK_GETTIME 1 8726 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
7772_ACEOF
7773 8727
7774else 8728else $as_nop
7775 8729
7776 if test $(uname) = Linux; then 8730 if test $(uname) = Linux; then
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5 8731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
7778$as_echo_n "checking for clock_gettime syscall... " >&6; } 8732printf %s "checking for clock_gettime syscall... " >&6; }
7779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7780/* end confdefs.h. */ 8734/* end confdefs.h. */
7781#include <unistd.h> 8735#include <unistd.h>
7782 #include <sys/syscall.h> 8736 #include <sys/syscall.h>
7783 #include <time.h> 8737 #include <time.h>
7784int 8738int
7785main () 8739main (void)
7786{ 8740{
7787struct timespec ts; int status = syscall (SYS_clock_gettime, CLOCK_REALTIME, &ts) 8741struct timespec ts; int status = syscall (SYS_clock_gettime, CLOCK_REALTIME, &ts)
7788 ; 8742 ;
7789 return 0; 8743 return 0;
7790} 8744}
7791_ACEOF 8745_ACEOF
7792if ac_fn_c_try_link "$LINENO"; then : 8746if ac_fn_c_try_link "$LINENO"
8747then :
7793 ac_have_clock_syscall=1 8748 ac_have_clock_syscall=1
7794 8749
7795$as_echo "#define HAVE_CLOCK_SYSCALL 1" >>confdefs.h 8750printf "%s\n" "#define HAVE_CLOCK_SYSCALL 1" >>confdefs.h
7796 8751
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7798$as_echo "yes" >&6; } 8753printf "%s\n" "yes" >&6; }
7799else 8754else $as_nop
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7801$as_echo "no" >&6; } 8756printf "%s\n" "no" >&6; }
7802fi 8757fi
7803rm -f core conftest.err conftest.$ac_objext \ 8758rm -f core conftest.err conftest.$ac_objext conftest.beam \
7804 conftest$ac_exeext conftest.$ac_ext 8759 conftest$ac_exeext conftest.$ac_ext
7805 fi 8760 fi
7806 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then 8761 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 8762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
7808$as_echo_n "checking for clock_gettime in -lrt... " >&6; } 8763printf %s "checking for clock_gettime in -lrt... " >&6; }
7809if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then : 8764if test ${ac_cv_lib_rt_clock_gettime+y}
7810 $as_echo_n "(cached) " >&6 8765then :
7811else 8766 printf %s "(cached) " >&6
8767else $as_nop
7812 ac_check_lib_save_LIBS=$LIBS 8768 ac_check_lib_save_LIBS=$LIBS
7813LIBS="-lrt $LIBS" 8769LIBS="-lrt $LIBS"
7814cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8770cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7815/* end confdefs.h. */ 8771/* end confdefs.h. */
7816 8772
7817/* Override any GCC internal prototype to avoid an error. 8773/* Override any GCC internal prototype to avoid an error.
7818 Use char because int might match the return type of a GCC 8774 Use char because int might match the return type of a GCC
7819 builtin and then its argument prototype would still apply. */ 8775 builtin and then its argument prototype would still apply. */
7820#ifdef __cplusplus
7821extern "C"
7822#endif
7823char clock_gettime (); 8776char clock_gettime ();
7824int 8777int
7825main () 8778main (void)
7826{ 8779{
7827return clock_gettime (); 8780return clock_gettime ();
7828 ; 8781 ;
7829 return 0; 8782 return 0;
7830} 8783}
7831_ACEOF 8784_ACEOF
7832if ac_fn_c_try_link "$LINENO"; then : 8785if ac_fn_c_try_link "$LINENO"
8786then :
7833 ac_cv_lib_rt_clock_gettime=yes 8787 ac_cv_lib_rt_clock_gettime=yes
7834else 8788else $as_nop
7835 ac_cv_lib_rt_clock_gettime=no 8789 ac_cv_lib_rt_clock_gettime=no
7836fi 8790fi
7837rm -f core conftest.err conftest.$ac_objext \ 8791rm -f core conftest.err conftest.$ac_objext conftest.beam \
7838 conftest$ac_exeext conftest.$ac_ext 8792 conftest$ac_exeext conftest.$ac_ext
7839LIBS=$ac_check_lib_save_LIBS 8793LIBS=$ac_check_lib_save_LIBS
7840fi 8794fi
7841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 8795{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
7842$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 8796printf "%s\n" "$ac_cv_lib_rt_clock_gettime" >&6; }
7843if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : 8797if test "x$ac_cv_lib_rt_clock_gettime" = xyes
7844 cat >>confdefs.h <<_ACEOF 8798then :
7845#define HAVE_LIBRT 1 8799 printf "%s\n" "#define HAVE_LIBRT 1" >>confdefs.h
7846_ACEOF
7847 8800
7848 LIBS="-lrt $LIBS" 8801 LIBS="-lrt $LIBS"
7849 8802
7850fi 8803fi
7851 8804
7852 unset ac_cv_func_clock_gettime 8805 unset ac_cv_func_clock_gettime
7853 for ac_func in clock_gettime
7854do :
7855 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 8806 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
7856if test "x$ac_cv_func_clock_gettime" = x""yes; then : 8807if test "x$ac_cv_func_clock_gettime" = xyes
7857 cat >>confdefs.h <<_ACEOF 8808then :
7858#define HAVE_CLOCK_GETTIME 1 8809 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
7859_ACEOF
7860 8810
7861fi 8811fi
8812
8813 fi
8814
8815fi
8816
7862done 8817done
7863 8818
7864 fi
7865 8819
7866fi
7867done
7868
7869
7870for ac_func in nanosleep 8820 for ac_func in nanosleep
7871do : 8821do :
7872 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 8822 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7873if test "x$ac_cv_func_nanosleep" = x""yes; then : 8823if test "x$ac_cv_func_nanosleep" = xyes
7874 cat >>confdefs.h <<_ACEOF 8824then :
7875#define HAVE_NANOSLEEP 1 8825 printf "%s\n" "#define HAVE_NANOSLEEP 1" >>confdefs.h
7876_ACEOF
7877 8826
7878else 8827else $as_nop
7879 8828
7880 if test -z "$LIBEV_M4_AVOID_LIBRT"; then 8829 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 8830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
7882$as_echo_n "checking for nanosleep in -lrt... " >&6; } 8831printf %s "checking for nanosleep in -lrt... " >&6; }
7883if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : 8832if test ${ac_cv_lib_rt_nanosleep+y}
7884 $as_echo_n "(cached) " >&6 8833then :
7885else 8834 printf %s "(cached) " >&6
8835else $as_nop
7886 ac_check_lib_save_LIBS=$LIBS 8836 ac_check_lib_save_LIBS=$LIBS
7887LIBS="-lrt $LIBS" 8837LIBS="-lrt $LIBS"
7888cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8838cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7889/* end confdefs.h. */ 8839/* end confdefs.h. */
7890 8840
7891/* Override any GCC internal prototype to avoid an error. 8841/* Override any GCC internal prototype to avoid an error.
7892 Use char because int might match the return type of a GCC 8842 Use char because int might match the return type of a GCC
7893 builtin and then its argument prototype would still apply. */ 8843 builtin and then its argument prototype would still apply. */
7894#ifdef __cplusplus
7895extern "C"
7896#endif
7897char nanosleep (); 8844char nanosleep ();
7898int 8845int
7899main () 8846main (void)
7900{ 8847{
7901return nanosleep (); 8848return nanosleep ();
7902 ; 8849 ;
7903 return 0; 8850 return 0;
7904} 8851}
7905_ACEOF 8852_ACEOF
7906if ac_fn_c_try_link "$LINENO"; then : 8853if ac_fn_c_try_link "$LINENO"
8854then :
7907 ac_cv_lib_rt_nanosleep=yes 8855 ac_cv_lib_rt_nanosleep=yes
7908else 8856else $as_nop
7909 ac_cv_lib_rt_nanosleep=no 8857 ac_cv_lib_rt_nanosleep=no
7910fi 8858fi
7911rm -f core conftest.err conftest.$ac_objext \ 8859rm -f core conftest.err conftest.$ac_objext conftest.beam \
7912 conftest$ac_exeext conftest.$ac_ext 8860 conftest$ac_exeext conftest.$ac_ext
7913LIBS=$ac_check_lib_save_LIBS 8861LIBS=$ac_check_lib_save_LIBS
7914fi 8862fi
7915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 8863{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
7916$as_echo "$ac_cv_lib_rt_nanosleep" >&6; } 8864printf "%s\n" "$ac_cv_lib_rt_nanosleep" >&6; }
7917if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : 8865if test "x$ac_cv_lib_rt_nanosleep" = xyes
7918 cat >>confdefs.h <<_ACEOF 8866then :
7919#define HAVE_LIBRT 1 8867 printf "%s\n" "#define HAVE_LIBRT 1" >>confdefs.h
7920_ACEOF
7921 8868
7922 LIBS="-lrt $LIBS" 8869 LIBS="-lrt $LIBS"
7923 8870
7924fi 8871fi
7925 8872
7926 unset ac_cv_func_nanosleep 8873 unset ac_cv_func_nanosleep
7927 for ac_func in nanosleep
7928do :
7929 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 8874 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7930if test "x$ac_cv_func_nanosleep" = x""yes; then : 8875if test "x$ac_cv_func_nanosleep" = xyes
7931 cat >>confdefs.h <<_ACEOF 8876then :
7932#define HAVE_NANOSLEEP 1 8877 printf "%s\n" "#define HAVE_NANOSLEEP 1" >>confdefs.h
7933_ACEOF
7934 8878
7935fi 8879fi
8880
8881 fi
8882
8883fi
8884
7936done 8885done
7937 8886
7938 fi 8887ac_fn_c_check_type "$LINENO" "__kernel_rwf_t" "ac_cv_type___kernel_rwf_t" "#include <linux/fs.h>
8888"
8889if test "x$ac_cv_type___kernel_rwf_t" = xyes
8890then :
7939 8891
8892
8893printf "%s\n" "#define HAVE_KERNEL_RWF_T 1" >>confdefs.h
8894
8895
7940fi 8896fi
7941done
7942 8897
7943 8898
7944if test -z "$LIBEV_M4_AVOID_LIBM"; then 8899if test -z "$LIBEV_M4_AVOID_LIBM"; then
7945 LIBM=m 8900 LIBM=m
7946fi 8901fi
7947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 8902{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
7948$as_echo_n "checking for library containing floor... " >&6; } 8903printf %s "checking for library containing floor... " >&6; }
7949if test "${ac_cv_search_floor+set}" = set; then : 8904if test ${ac_cv_search_floor+y}
7950 $as_echo_n "(cached) " >&6 8905then :
7951else 8906 printf %s "(cached) " >&6
8907else $as_nop
7952 ac_func_search_save_LIBS=$LIBS 8908 ac_func_search_save_LIBS=$LIBS
7953cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8909cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7954/* end confdefs.h. */ 8910/* end confdefs.h. */
7955 8911
7956/* Override any GCC internal prototype to avoid an error. 8912/* Override any GCC internal prototype to avoid an error.
7957 Use char because int might match the return type of a GCC 8913 Use char because int might match the return type of a GCC
7958 builtin and then its argument prototype would still apply. */ 8914 builtin and then its argument prototype would still apply. */
7959#ifdef __cplusplus
7960extern "C"
7961#endif
7962char floor (); 8915char floor ();
7963int 8916int
7964main () 8917main (void)
7965{ 8918{
7966return floor (); 8919return floor ();
7967 ; 8920 ;
7968 return 0; 8921 return 0;
7969} 8922}
7970_ACEOF 8923_ACEOF
7971for ac_lib in '' $LIBM; do 8924for ac_lib in '' $LIBM
8925do
7972 if test -z "$ac_lib"; then 8926 if test -z "$ac_lib"; then
7973 ac_res="none required" 8927 ac_res="none required"
7974 else 8928 else
7975 ac_res=-l$ac_lib 8929 ac_res=-l$ac_lib
7976 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 8930 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7977 fi 8931 fi
7978 if ac_fn_c_try_link "$LINENO"; then : 8932 if ac_fn_c_try_link "$LINENO"
8933then :
7979 ac_cv_search_floor=$ac_res 8934 ac_cv_search_floor=$ac_res
7980fi 8935fi
7981rm -f core conftest.err conftest.$ac_objext \ 8936rm -f core conftest.err conftest.$ac_objext conftest.beam \
7982 conftest$ac_exeext 8937 conftest$ac_exeext
7983 if test "${ac_cv_search_floor+set}" = set; then : 8938 if test ${ac_cv_search_floor+y}
8939then :
7984 break 8940 break
7985fi 8941fi
7986done 8942done
7987if test "${ac_cv_search_floor+set}" = set; then : 8943if test ${ac_cv_search_floor+y}
8944then :
7988 8945
7989else 8946else $as_nop
7990 ac_cv_search_floor=no 8947 ac_cv_search_floor=no
7991fi 8948fi
7992rm conftest.$ac_ext 8949rm conftest.$ac_ext
7993LIBS=$ac_func_search_save_LIBS 8950LIBS=$ac_func_search_save_LIBS
7994fi 8951fi
7995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5 8952{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
7996$as_echo "$ac_cv_search_floor" >&6; } 8953printf "%s\n" "$ac_cv_search_floor" >&6; }
7997ac_res=$ac_cv_search_floor 8954ac_res=$ac_cv_search_floor
7998if test "$ac_res" != no; then : 8955if test "$ac_res" != no
8956then :
7999 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 8957 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8000 8958
8001$as_echo "#define HAVE_FLOOR 1" >>confdefs.h 8959printf "%s\n" "#define HAVE_FLOOR 1" >>confdefs.h
8002 8960
8003fi 8961fi
8004 8962
8005 8963
8006 8964
8038 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 8996 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8039 eval ac_val=\$$ac_var 8997 eval ac_val=\$$ac_var
8040 case $ac_val in #( 8998 case $ac_val in #(
8041 *${as_nl}*) 8999 *${as_nl}*)
8042 case $ac_var in #( 9000 case $ac_var in #(
8043 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 9001 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8044$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9002printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8045 esac 9003 esac
8046 case $ac_var in #( 9004 case $ac_var in #(
8047 _ | IFS | as_nl) ;; #( 9005 _ | IFS | as_nl) ;; #(
8048 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9006 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8049 *) { eval $ac_var=; unset $ac_var;} ;; 9007 *) { eval $ac_var=; unset $ac_var;} ;;
8069) | 9027) |
8070 sed ' 9028 sed '
8071 /^ac_cv_env_/b end 9029 /^ac_cv_env_/b end
8072 t clear 9030 t clear
8073 :clear 9031 :clear
8074 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 9032 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
8075 t end 9033 t end
8076 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9034 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8077 :end' >>confcache 9035 :end' >>confcache
8078if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9036if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8079 if test -w "$cache_file"; then 9037 if test -w "$cache_file"; then
8080 test "x$cache_file" != "x/dev/null" && 9038 if test "x$cache_file" != "x/dev/null"; then
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 9039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8082$as_echo "$as_me: updating cache $cache_file" >&6;} 9040printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
9041 if test ! -f "$cache_file" || test -h "$cache_file"; then
8083 cat confcache >$cache_file 9042 cat confcache >"$cache_file"
9043 else
9044 case $cache_file in #(
9045 */* | ?:*)
9046 mv -f confcache "$cache_file"$$ &&
9047 mv -f "$cache_file"$$ "$cache_file" ;; #(
9048 *)
9049 mv -f confcache "$cache_file" ;;
9050 esac
9051 fi
9052 fi
8084 else 9053 else
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 9054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8086$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 9055printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
8087 fi 9056 fi
8088fi 9057fi
8089rm -f confcache 9058rm -f confcache
8090 9059
8091 9060
8092 9061
8093# Check whether --with-kernel was given. 9062# Check whether --with-kernel was given.
8094if test "${with_kernel+set}" = set; then : 9063if test ${with_kernel+y}
9064then :
8095 withval=$with_kernel; kerneldir="$withval" 9065 withval=$with_kernel; kerneldir="$withval"
8096else 9066else $as_nop
8097 kerneldir="/usr/src/linux" 9067 kerneldir="/usr/src/linux"
8098 9068
8099fi 9069fi
8100 9070
8101 9071
8102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linux/if_tun.h" >&5 9072{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for linux/if_tun.h" >&5
8103$as_echo_n "checking for linux/if_tun.h... " >&6; } 9073printf %s "checking for linux/if_tun.h... " >&6; }
8104if test "${tinc_cv_linux_if_tun_h+set}" = set; then : 9074if test ${tinc_cv_linux_if_tun_h+y}
8105 $as_echo_n "(cached) " >&6 9075then :
8106else 9076 printf %s "(cached) " >&6
9077else $as_nop
8107 9078
8108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8109/* end confdefs.h. */ 9080/* end confdefs.h. */
8110#include "$kerneldir/include/linux/if_tun.h" 9081#include "$kerneldir/include/linux/if_tun.h"
8111int 9082int
8112main () 9083main (void)
8113{ 9084{
8114int a = IFF_TAP; 9085int a = IFF_TAP;
8115 ; 9086 ;
8116 return 0; 9087 return 0;
8117} 9088}
8118_ACEOF 9089_ACEOF
8119if ac_fn_cxx_try_compile "$LINENO"; then : 9090if ac_fn_cxx_try_compile "$LINENO"
9091then :
8120 if_tun_h="\"$kerneldir/include/linux/if_tun.h\"" 9092 if_tun_h="\"$kerneldir/include/linux/if_tun.h\""
8121else 9093else $as_nop
8122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8123/* end confdefs.h. */ 9095/* end confdefs.h. */
8124#include <linux/if_tun.h> 9096#include <linux/if_tun.h>
8125int 9097int
8126main () 9098main (void)
8127{ 9099{
8128int a = IFF_TAP; 9100int a = IFF_TAP;
8129 ; 9101 ;
8130 return 0; 9102 return 0;
8131} 9103}
8132_ACEOF 9104_ACEOF
8133if ac_fn_cxx_try_compile "$LINENO"; then : 9105if ac_fn_cxx_try_compile "$LINENO"
9106then :
8134 if_tun_h="default" 9107 if_tun_h="default"
8135else 9108else $as_nop
8136 if_tun_h="no" 9109 if_tun_h="no"
8137 9110
8138fi 9111fi
8139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9112rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8140 9113
8141fi 9114fi
8142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9115rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8143 9116
8144 if test $if_tun_h = no; then 9117 if test $if_tun_h = no; then
8145 tinc_cv_linux_if_tun_h=none 9118 tinc_cv_linux_if_tun_h=none
8146 else 9119 else
8147 tinc_cv_linux_if_tun_h="$if_tun_h" 9120 tinc_cv_linux_if_tun_h="$if_tun_h"
8148 fi 9121 fi
8149 9122
8150fi 9123fi
8151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tinc_cv_linux_if_tun_h" >&5 9124{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tinc_cv_linux_if_tun_h" >&5
8152$as_echo "$tinc_cv_linux_if_tun_h" >&6; } 9125printf "%s\n" "$tinc_cv_linux_if_tun_h" >&6; }
8153 9126
8154if test $tinc_cv_linux_if_tun_h != none; then 9127if test $tinc_cv_linux_if_tun_h != none; then
8155 9128
8156$as_echo "#define HAVE_TUNTAP 1" >>confdefs.h 9129printf "%s\n" "#define HAVE_TUNTAP 1" >>confdefs.h
8157 9130
8158 if test $tinc_cv_linux_if_tun_h != default; then 9131 if test $tinc_cv_linux_if_tun_h != default; then
8159 9132
8160cat >>confdefs.h <<_ACEOF
8161#define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h 9133printf "%s\n" "#define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h" >>confdefs.h
8162_ACEOF
8163 9134
8164 fi 9135 fi
8165fi 9136fi
8166 9137
8167 9138
8168 9139
8169 9140
8170 9141
8171 tinc_ac_save_CPPFLAGS="$CPPFLAGS"
8172 9142
8173 9143
8174# Check whether --with-openssl-include was given.
8175if test "${with_openssl_include+set}" = set; then :
8176 withval=$with_openssl_include; openssl_include="$withval"
8177 CFLAGS="$CFLAGS -I$withval"
8178 CPPFLAGS="$CPPFLAGS -I$withval"
8179 9144
8180fi
8181 9145
8182 9146
8183 9147
8184# Check whether --with-openssl-lib was given. 9148if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8185if test "${with_openssl_lib+set}" = set; then : 9149 if test -n "$ac_tool_prefix"; then
8186 withval=$with_openssl_lib; openssl_lib="$withval" 9150 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8187 LIBS="$LIBS -L$withval" 9151set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9152{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9153printf %s "checking for $ac_word... " >&6; }
9154if test ${ac_cv_path_PKG_CONFIG+y}
9155then :
9156 printf %s "(cached) " >&6
9157else $as_nop
9158 case $PKG_CONFIG in
9159 [\\/]* | ?:[\\/]*)
9160 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9161 ;;
9162 *)
9163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9164for as_dir in $PATH
9165do
9166 IFS=$as_save_IFS
9167 case $as_dir in #(((
9168 '') as_dir=./ ;;
9169 */) ;;
9170 *) as_dir=$as_dir/ ;;
9171 esac
9172 for ac_exec_ext in '' $ac_executable_extensions; do
9173 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9174 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
9175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9176 break 2
9177 fi
9178done
9179 done
9180IFS=$as_save_IFS
8188 9181
9182 ;;
9183esac
8189fi 9184fi
8190 9185PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8191 9186if test -n "$PKG_CONFIG"; then
8192 for ac_header in openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h openssl/pem.h 9187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8193do : 9188printf "%s\n" "$PKG_CONFIG" >&6; }
8194 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8195ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8196if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8197 cat >>confdefs.h <<_ACEOF
8198#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8199_ACEOF
8200
8201else 9189else
8202 as_fn_error $? "OpenSSL header files not found." "$LINENO" 5 ; break 9190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203 9191printf "%s\n" "no" >&6; }
8204fi 9192fi
8205 9193
9194
9195fi
9196if test -z "$ac_cv_path_PKG_CONFIG"; then
9197 ac_pt_PKG_CONFIG=$PKG_CONFIG
9198 # Extract the first word of "pkg-config", so it can be a program name with args.
9199set dummy pkg-config; ac_word=$2
9200{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9201printf %s "checking for $ac_word... " >&6; }
9202if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
9203then :
9204 printf %s "(cached) " >&6
9205else $as_nop
9206 case $ac_pt_PKG_CONFIG in
9207 [\\/]* | ?:[\\/]*)
9208 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9209 ;;
9210 *)
9211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9212for as_dir in $PATH
9213do
9214 IFS=$as_save_IFS
9215 case $as_dir in #(((
9216 '') as_dir=./ ;;
9217 */) ;;
9218 *) as_dir=$as_dir/ ;;
9219 esac
9220 for ac_exec_ext in '' $ac_executable_extensions; do
9221 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9222 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
9223 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9224 break 2
9225 fi
8206done 9226done
9227 done
9228IFS=$as_save_IFS
8207 9229
8208 9230 ;;
8209 CPPFLAGS="$tinc_ac_save_CPPFLAGS" 9231esac
8210 9232fi
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5 9233ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
8212$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; } 9234if test -n "$ac_pt_PKG_CONFIG"; then
8213if test "${ac_cv_lib_crypto_SHA1_Init+set}" = set; then : 9235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8214 $as_echo_n "(cached) " >&6 9236printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
8215else 9237else
8216 ac_check_lib_save_LIBS=$LIBS 9238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8217LIBS="-lcrypto $LIBS" 9239printf "%s\n" "no" >&6; }
8218cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9240fi
8219/* end confdefs.h. */
8220 9241
8221/* Override any GCC internal prototype to avoid an error. 9242 if test "x$ac_pt_PKG_CONFIG" = x; then
8222 Use char because int might match the return type of a GCC 9243 PKG_CONFIG=""
8223 builtin and then its argument prototype would still apply. */ 9244 else
8224#ifdef __cplusplus 9245 case $cross_compiling:$ac_tool_warned in
8225extern "C" 9246yes:)
8226#endif 9247{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8227char SHA1_Init (); 9248printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8228int 9249ac_tool_warned=yes ;;
8229main () 9250esac
8230{ 9251 PKG_CONFIG=$ac_pt_PKG_CONFIG
8231return SHA1_Init (); 9252 fi
8232 ;
8233 return 0;
8234}
8235_ACEOF
8236if ac_fn_cxx_try_link "$LINENO"; then :
8237 ac_cv_lib_crypto_SHA1_Init=yes
8238else 9253else
8239 ac_cv_lib_crypto_SHA1_Init=no 9254 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9255fi
9256
9257fi
9258if test -n "$PKG_CONFIG"; then
9259 _pkg_min_version=0.9.0
9260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9261printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9262 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9264printf "%s\n" "yes" >&6; }
9265 else
9266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9267printf "%s\n" "no" >&6; }
9268 PKG_CONFIG=""
8240fi 9269 fi
8241rm -f core conftest.err conftest.$ac_objext \
8242 conftest$ac_exeext conftest.$ac_ext
8243LIBS=$ac_check_lib_save_LIBS
8244fi 9270fi
8245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5 9271
8246$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; } 9272pkg_failed=no
8247if test "x$ac_cv_lib_crypto_SHA1_Init" = x""yes; then : 9273{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcrypto >= 1" >&5
8248 LIBS="$LIBS -lcrypto" 9274printf %s "checking for libcrypto >= 1... " >&6; }
9275
9276if test -n "$LIBCRYPTO_CFLAGS"; then
9277 pkg_cv_LIBCRYPTO_CFLAGS="$LIBCRYPTO_CFLAGS"
9278 elif test -n "$PKG_CONFIG"; then
9279 if test -n "$PKG_CONFIG" && \
9280 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5
9281 ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5
9282 ac_status=$?
9283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9284 test $ac_status = 0; }; then
9285 pkg_cv_LIBCRYPTO_CFLAGS=`$PKG_CONFIG --cflags "libcrypto >= 1" 2>/dev/null`
9286 test "x$?" != "x0" && pkg_failed=yes
8249else 9287else
8250 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5 9288 pkg_failed=yes
8251
8252fi 9289fi
8253 9290 else
8254 9291 pkg_failed=untried
8255 for ac_func in RAND_pseudo_bytes OPENSSL_add_all_algorithms_noconf OpenSSL_add_all_algorithms SSLeay_add_all_algorithms
8256do :
8257 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8258ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
8259if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8260 cat >>confdefs.h <<_ACEOF
8261#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8262_ACEOF
8263
8264fi 9292fi
8265done 9293if test -n "$LIBCRYPTO_LIBS"; then
8266 9294 pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS"
8267 9295 elif test -n "$PKG_CONFIG"; then
8268 ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 9296 if test -n "$PKG_CONFIG" && \
8269if test "x$ac_cv_func_dlopen" = x""yes; then : 9297 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5
8270 9298 ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5
9299 ac_status=$?
9300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9301 test $ac_status = 0; }; then
9302 pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= 1" 2>/dev/null`
9303 test "x$?" != "x0" && pkg_failed=yes
8271else 9304else
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 9305 pkg_failed=yes
8273$as_echo_n "checking for dlopen in -ldl... " >&6; } 9306fi
8274if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 9307 else
8275 $as_echo_n "(cached) " >&6 9308 pkg_failed=untried
9309fi
9310
9311
9312
9313if test $pkg_failed = yes; then
9314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9315printf "%s\n" "no" >&6; }
9316
9317if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9318 _pkg_short_errors_supported=yes
8276else 9319else
8277 ac_check_lib_save_LIBS=$LIBS 9320 _pkg_short_errors_supported=no
8278LIBS="-ldl $LIBS" 9321fi
8279cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9322 if test $_pkg_short_errors_supported = yes; then
8280/* end confdefs.h. */ 9323 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= 1" 2>&1`
9324 else
9325 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto >= 1" 2>&1`
9326 fi
9327 # Put the nasty error message in config.log where it belongs
9328 echo "$LIBCRYPTO_PKG_ERRORS" >&5
8281 9329
8282/* Override any GCC internal prototype to avoid an error. 9330 as_fn_error $? "Package requirements (libcrypto >= 1) were not met:
8283 Use char because int might match the return type of a GCC 9331
8284 builtin and then its argument prototype would still apply. */ 9332$LIBCRYPTO_PKG_ERRORS
8285#ifdef __cplusplus 9333
8286extern "C" 9334Consider adjusting the PKG_CONFIG_PATH environment variable if you
8287#endif 9335installed software in a non-standard prefix.
8288char dlopen (); 9336
8289int 9337Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS
8290main () 9338and LIBCRYPTO_LIBS to avoid the need to call pkg-config.
8291{ 9339See the pkg-config man page for more details." "$LINENO" 5
8292return dlopen (); 9340elif test $pkg_failed = untried; then
8293 ; 9341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8294 return 0; 9342printf "%s\n" "no" >&6; }
8295} 9343 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8296_ACEOF 9344printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8297if ac_fn_cxx_try_link "$LINENO"; then : 9345as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
8298 ac_cv_lib_dl_dlopen=yes 9346is in your PATH or set the PKG_CONFIG environment variable to the full
9347path to pkg-config.
9348
9349Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS
9350and LIBCRYPTO_LIBS to avoid the need to call pkg-config.
9351See the pkg-config man page for more details.
9352
9353To get pkg-config, see <http://pkg-config.freedesktop.org/>.
9354See \`config.log' for more details" "$LINENO" 5; }
8299else 9355else
8300 ac_cv_lib_dl_dlopen=no 9356 LIBCRYPTO_CFLAGS=$pkg_cv_LIBCRYPTO_CFLAGS
8301fi 9357 LIBCRYPTO_LIBS=$pkg_cv_LIBCRYPTO_LIBS
8302rm -f core conftest.err conftest.$ac_objext \ 9358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8303 conftest$ac_exeext conftest.$ac_ext 9359printf "%s\n" "yes" >&6; }
8304LIBS=$ac_check_lib_save_LIBS
8305fi
8306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
8307$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
8308if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
8309 LIBS="$LIBS -ldl"
8310else
8311 as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5
8312 9360
8313fi
8314
8315
8316fi
8317
8318
8319 ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate"
8320if test "x$ac_cv_func_inflate" = x""yes; then :
8321
8322else
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
8324$as_echo_n "checking for inflate in -lz... " >&6; }
8325if test "${ac_cv_lib_z_inflate+set}" = set; then :
8326 $as_echo_n "(cached) " >&6
8327else
8328 ac_check_lib_save_LIBS=$LIBS
8329LIBS="-lz $LIBS"
8330cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8331/* end confdefs.h. */
8332
8333/* Override any GCC internal prototype to avoid an error.
8334 Use char because int might match the return type of a GCC
8335 builtin and then its argument prototype would still apply. */
8336#ifdef __cplusplus
8337extern "C"
8338#endif
8339char inflate ();
8340int
8341main ()
8342{
8343return inflate ();
8344 ;
8345 return 0;
8346}
8347_ACEOF
8348if ac_fn_cxx_try_link "$LINENO"; then :
8349 ac_cv_lib_z_inflate=yes
8350else
8351 ac_cv_lib_z_inflate=no
8352fi
8353rm -f core conftest.err conftest.$ac_objext \
8354 conftest$ac_exeext conftest.$ac_ext
8355LIBS=$ac_check_lib_save_LIBS
8356fi
8357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
8358$as_echo "$ac_cv_lib_z_inflate" >&6; }
8359if test "x$ac_cv_lib_z_inflate" = x""yes; then :
8360 LIBS="$LIBS -lz"
8361else
8362 as_fn_error $? "OpenSSL depends on libz." "$LINENO" 5
8363
8364fi
8365
8366
8367fi
8368
8369
8370if test "x$openssl_include" != x; then
8371 CXXFLAGS="$CXXFLAGS -I$openssl_include"
8372fi 9361fi
8373 9362
8374# Check whether --enable-threads was given. 9363# Check whether --enable-threads was given.
8375if test "${enable_threads+set}" = set; then : 9364if test ${enable_threads+y}
9365then :
8376 enableval=$enable_threads; try_threads=$enableval 9366 enableval=$enable_threads; try_threads=$enableval
8377else 9367else $as_nop
8378 try_threads=yes 9368 try_threads=yes
8379 9369
8380fi 9370fi
8381 9371
8382 9372
8383if test "x$try_threads" = xyes; then 9373if test "x$try_threads" = xyes; then
8384 ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 9374 ac_fn_cxx_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8385if test "x$ac_cv_header_pthread_h" = x""yes; then : 9375if test "x$ac_cv_header_pthread_h" = xyes
9376then :
8386 9377
8387 LIBS="$LIBS -lpthread" 9378 LIBS="$LIBS -lpthread"
8388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8389/* end confdefs.h. */ 9380/* end confdefs.h. */
8390#include <pthread.h> 9381#include <pthread.h>
8391int 9382int
8392main () 9383main (void)
8393{ 9384{
8394pthread_t id; pthread_create (&id, 0, 0, 0); 9385pthread_t id; pthread_create (&id, 0, 0, 0);
8395 ; 9386 ;
8396 return 0; 9387 return 0;
8397} 9388}
8398_ACEOF 9389_ACEOF
8399if ac_fn_cxx_try_compile "$LINENO"; then : 9390if ac_fn_cxx_try_compile "$LINENO"
9391then :
8400 9392
8401cat >>confdefs.h <<_ACEOF 9393printf "%s\n" "#define ENABLE_PTHREADS 1" >>confdefs.h
8402#define ENABLE_PTHREADS 1
8403_ACEOF
8404 9394
8405 9395
8406fi 9396fi
8407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9397rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8408 9398
8409fi 9399fi
8410
8411 9400
8412fi 9401fi
8413 9402
8414# Check whether --enable-static-daemon was given. 9403# Check whether --enable-static-daemon was given.
8415if test "${enable_static_daemon+set}" = set; then : 9404if test ${enable_static_daemon+y}
9405then :
8416 enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static 9406 enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static
8417 9407
8418fi 9408fi
8419 9409
8420 9410
8430 9420
8431 9421
8432 9422
8433ICMP=1 9423ICMP=1
8434# Check whether --enable-icmp was given. 9424# Check whether --enable-icmp was given.
8435if test "${enable_icmp+set}" = set; then : 9425if test ${enable_icmp+y}
9426then :
8436 enableval=$enable_icmp; if test "x$enableval" = xno; then 9427 enableval=$enable_icmp; if test "x$enableval" = xno; then
8437 ICMP=0 9428 ICMP=0
8438 fi 9429 fi
8439 9430
8440fi 9431fi
8441 9432
8442if test "x$ICMP" = x1; then 9433if test "x$ICMP" = x1; then
8443 9434
8444cat >>confdefs.h <<_ACEOF 9435printf "%s\n" "#define ENABLE_ICMP 1" >>confdefs.h
8445#define ENABLE_ICMP 1
8446_ACEOF
8447 9436
8448fi 9437fi
8449 9438
8450TCP=1 9439TCP=1
8451# Check whether --enable-tcp was given. 9440# Check whether --enable-tcp was given.
8452if test "${enable_tcp+set}" = set; then : 9441if test ${enable_tcp+y}
9442then :
8453 enableval=$enable_tcp; if test "x$enableval" = xno; then 9443 enableval=$enable_tcp; if test "x$enableval" = xno; then
8454 TCP=0 9444 TCP=0
8455 fi 9445 fi
8456 9446
8457fi 9447fi
8458 9448
8459if test "x$TCP" = x1; then 9449if test "x$TCP" = x1; then
8460 9450
8461cat >>confdefs.h <<_ACEOF 9451printf "%s\n" "#define ENABLE_TCP 1" >>confdefs.h
8462#define ENABLE_TCP 1
8463_ACEOF
8464 9452
8465fi 9453fi
8466 9454
8467HTTP=1 9455HTTP=1
8468# Check whether --enable-http-proxy was given. 9456# Check whether --enable-http-proxy was given.
8469if test "${enable_http_proxy+set}" = set; then : 9457if test ${enable_http_proxy+y}
9458then :
8470 enableval=$enable_http_proxy; if test "x$enableval" = xno; then 9459 enableval=$enable_http_proxy; if test "x$enableval" = xno; then
8471 HTTP=0 9460 HTTP=0
8472 fi 9461 fi
8473 9462
8474fi 9463fi
8475 9464
8476if test "x$HTTP" = x1; then 9465if test "x$HTTP" = x1; then
8477 9466
8478cat >>confdefs.h <<_ACEOF 9467printf "%s\n" "#define ENABLE_HTTP_PROXY 1" >>confdefs.h
8479#define ENABLE_HTTP_PROXY 1
8480_ACEOF
8481 9468
8482fi 9469fi
8483 9470
8484# Check whether --enable-dns was given. 9471# Check whether --enable-dns was given.
8485if test "${enable_dns+set}" = set; then : 9472if test ${enable_dns+y}
9473then :
8486 enableval=$enable_dns; 9474 enableval=$enable_dns;
8487 ac_fn_cxx_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" 9475 ac_fn_cxx_check_header_compile "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
8488if test "x$ac_cv_header_gmp_h" = x""yes; then : 9476if test "x$ac_cv_header_gmp_h" = xyes
9477then :
8489 9478
8490else 9479else $as_nop
8491 as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5 9480 as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5
8492fi 9481fi
8493 9482
8494
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5 9483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5
8496$as_echo_n "checking for main in -lgmp... " >&6; } 9484printf %s "checking for main in -lgmp... " >&6; }
8497if test "${ac_cv_lib_gmp_main+set}" = set; then : 9485if test ${ac_cv_lib_gmp_main+y}
8498 $as_echo_n "(cached) " >&6 9486then :
8499else 9487 printf %s "(cached) " >&6
9488else $as_nop
8500 ac_check_lib_save_LIBS=$LIBS 9489 ac_check_lib_save_LIBS=$LIBS
8501LIBS="-lgmp $LIBS" 9490LIBS="-lgmp $LIBS"
8502cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9491cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8503/* end confdefs.h. */ 9492/* end confdefs.h. */
8504 9493
8505 9494namespace conftest {
9495 extern "C" int main ();
9496}
8506int 9497int
8507main () 9498main (void)
8508{ 9499{
8509return main (); 9500return conftest::main ();
8510 ; 9501 ;
8511 return 0; 9502 return 0;
8512} 9503}
8513_ACEOF 9504_ACEOF
8514if ac_fn_cxx_try_link "$LINENO"; then : 9505if ac_fn_cxx_try_link "$LINENO"
9506then :
8515 ac_cv_lib_gmp_main=yes 9507 ac_cv_lib_gmp_main=yes
8516else 9508else $as_nop
8517 ac_cv_lib_gmp_main=no 9509 ac_cv_lib_gmp_main=no
8518fi 9510fi
8519rm -f core conftest.err conftest.$ac_objext \ 9511rm -f core conftest.err conftest.$ac_objext conftest.beam \
8520 conftest$ac_exeext conftest.$ac_ext 9512 conftest$ac_exeext conftest.$ac_ext
8521LIBS=$ac_check_lib_save_LIBS 9513LIBS=$ac_check_lib_save_LIBS
8522fi 9514fi
8523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5 9515{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5
8524$as_echo "$ac_cv_lib_gmp_main" >&6; } 9516printf "%s\n" "$ac_cv_lib_gmp_main" >&6; }
8525if test "x$ac_cv_lib_gmp_main" = x""yes; then : 9517if test "x$ac_cv_lib_gmp_main" = xyes
8526 cat >>confdefs.h <<_ACEOF 9518then :
8527#define HAVE_LIBGMP 1 9519 printf "%s\n" "#define HAVE_LIBGMP 1" >>confdefs.h
8528_ACEOF
8529 9520
8530 LIBS="-lgmp $LIBS" 9521 LIBS="-lgmp $LIBS"
8531 9522
8532else 9523else $as_nop
8533 as_fn_error $? "libgmp not found, required for --enable-dns" "$LINENO" 5 9524 as_fn_error $? "libgmp not found, required for --enable-dns" "$LINENO" 5
8534fi 9525fi
8535 9526
8536 9527
8537 9528
8538cat >>confdefs.h <<_ACEOF 9529printf "%s\n" "#define ENABLE_DNS 1" >>confdefs.h
8539#define ENABLE_DNS 1
8540_ACEOF
8541 9530
8542 9531
8543 9532
8544fi 9533fi
8545 9534
8546 9535
9536RSA=3072
9537# Check whether --enable-rsa-length was given.
9538if test ${enable_rsa_length+y}
9539then :
9540 enableval=$enable_rsa_length; RSA=$enableval
9541
9542fi
9543
9544
9545printf "%s\n" "#define RSABITS $RSA" >>confdefs.h
9546
9547
8547HMAC=12 9548HMACSIZE=12
8548# Check whether --enable-hmac-length was given. 9549# Check whether --enable-hmac-length was given.
8549if test "${enable_hmac_length+set}" = set; then : 9550if test ${enable_hmac_length+y}
9551then :
8550 enableval=$enable_hmac_length; HMAC=$enableval 9552 enableval=$enable_hmac_length; HMACSIZE=$enableval
8551 9553
8552fi 9554fi
8553 9555
8554 9556
8555cat >>confdefs.h <<_ACEOF 9557printf "%s\n" "#define HMACLENGTH $HMACSIZE" >>confdefs.h
8556#define HMACLENGTH $HMAC
8557_ACEOF
8558
8559
8560RAND=8
8561# Check whether --enable-rand-length was given.
8562if test "${enable_rand_length+set}" = set; then :
8563 enableval=$enable_rand_length; RAND=$enableval
8564
8565fi
8566
8567
8568cat >>confdefs.h <<_ACEOF
8569#define RAND_SIZE $RAND
8570_ACEOF
8571 9558
8572 9559
8573MTU=1500 9560MTU=1500
8574# Check whether --enable-max-mtu was given. 9561# Check whether --enable-max-mtu was given.
8575if test "${enable_max_mtu+set}" = set; then : 9562if test ${enable_max_mtu+y}
9563then :
8576 enableval=$enable_max_mtu; MTU=$enableval 9564 enableval=$enable_max_mtu; MTU=$enableval
8577 9565
8578fi 9566fi
8579 9567
8580 9568
8581cat >>confdefs.h <<_ACEOF 9569printf "%s\n" "#define MAX_MTU ($MTU + 14)" >>confdefs.h
8582#define MAX_MTU ($MTU + 14)
8583_ACEOF
8584 9570
8585 9571
8586COMPRESS=1 9572COMPRESS=1
8587# Check whether --enable-compression was given. 9573# Check whether --enable-compression was given.
8588if test "${enable_compression+set}" = set; then : 9574if test ${enable_compression+y}
9575then :
8589 enableval=$enable_compression; if test "x$enableval" = xno; then 9576 enableval=$enable_compression; if test "x$enableval" = xno; then
8590 COMPRESS=0 9577 COMPRESS=0
8591 fi 9578 fi
8592 9579
8593fi 9580fi
8594 9581
8595 9582
8596cat >>confdefs.h <<_ACEOF 9583printf "%s\n" "#define ENABLE_COMPRESSION $COMPRESS" >>confdefs.h
8597#define ENABLE_COMPRESSION $COMPRESS
8598_ACEOF
8599 9584
8600 9585
8601CIPHER=aes_128_cbc 9586CIPHER=aes_128_ctr
8602# Check whether --enable-cipher was given. 9587# Check whether --enable-cipher was given.
8603if test "${enable_cipher+set}" = set; then : 9588if test ${enable_cipher+y}
9589then :
8604 enableval=$enable_cipher; if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi 9590 enableval=$enable_cipher; #if test "x$enableval" = xbf ; then CIPHER=bf_ctr ; fi
8605 if test "x$enableval" = xaes-128; then CIPHER=aes_128_cbc; fi 9591 if test "x$enableval" = xaes-128 ; then CIPHER=aes_128_ctr ; fi
8606 if test "x$enableval" = xaes-192; then CIPHER=aes_192_cbc; fi 9592 if test "x$enableval" = xaes-192 ; then CIPHER=aes_192_ctr ; fi
8607 if test "x$enableval" = xaes-256; then CIPHER=aes_256_cbc; fi 9593 if test "x$enableval" = xaes-256 ; then CIPHER=aes_256_ctr ; fi
9594 #if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_ctr; fi
9595 #if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_ctr; fi
8608 9596
8609fi 9597fi
8610 9598
8611 9599
8612cat >>confdefs.h <<_ACEOF 9600printf "%s\n" "#define ENABLE_CIPHER EVP_${CIPHER}" >>confdefs.h
8613#define ENABLE_CIPHER EVP_${CIPHER}
8614_ACEOF
8615 9601
8616 9602
8617DIGEST=ripemd160 9603HMAC=sha1
8618# Check whether --enable-digest was given. 9604# Check whether --enable-hmac-digest was given.
8619if test "${enable_digest+set}" = set; then : 9605if test ${enable_hmac_digest+y}
9606then :
9607 enableval=$enable_hmac_digest; if test "x$enableval" = xwhirlpool; then HMAC=whirlpool; fi
9608 if test "x$enableval" = xsha512 ; then HMAC=sha512 ; fi
9609 if test "x$enableval" = xsha256 ; then HMAC=sha256 ; fi
9610 if test "x$enableval" = xsha1 ; then HMAC=sha1 ; fi
9611 if test "x$enableval" = xripemd160; then HMAC=ripemd160; fi
9612
9613fi
9614
9615
9616printf "%s\n" "#define ENABLE_HMAC EVP_${HMAC}" >>confdefs.h
9617
9618
9619AUTH=sha512
9620# Check whether --enable-auth-digest was given.
9621if test ${enable_auth_digest+y}
9622then :
9623 enableval=$enable_auth_digest; if test "x$enableval" = xwhirlpool; then AUTH=whirlpool; fi
8620 enableval=$enable_digest; if test "x$enableval" = xsha512 ; then DIGEST=sha512 ; fi 9624 if test "x$enableval" = xsha512 ; then AUTH=sha512 ; fi
8621 if test "x$enableval" = xsha256 ; then DIGEST=sha256 ; fi 9625 if test "x$enableval" = xsha256 ; then AUTH=sha256 ; fi
8622 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi
8623 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi
8624 if test "x$enableval" = xmd5 ; then DIGEST=md5 ; fi
8625 if test "x$enableval" = xmd4 ; then DIGEST=md4 ; fi
8626 9626
8627fi 9627fi
8628 9628
8629 9629
8630cat >>confdefs.h <<_ACEOF 9630printf "%s\n" "#define ENABLE_AUTH EVP_${AUTH}" >>confdefs.h
8631#define ENABLE_DIGEST EVP_${DIGEST}
8632_ACEOF
8633 9631
8634 9632
8635if $CXX -v --help 2>&1 | grep -q fno-rtti; then 9633if $CXX -v --help 2>&1 | grep -q fno-rtti; then
8636 CXXFLAGS="$CXXFLAGS -fno-rtti" 9634 CXXFLAGS="$CXXFLAGS -fno-rtti"
8637fi 9635fi
8672 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 9670 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8673 eval ac_val=\$$ac_var 9671 eval ac_val=\$$ac_var
8674 case $ac_val in #( 9672 case $ac_val in #(
8675 *${as_nl}*) 9673 *${as_nl}*)
8676 case $ac_var in #( 9674 case $ac_var in #(
8677 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 9675 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8678$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9676printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8679 esac 9677 esac
8680 case $ac_var in #( 9678 case $ac_var in #(
8681 _ | IFS | as_nl) ;; #( 9679 _ | IFS | as_nl) ;; #(
8682 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9680 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8683 *) { eval $ac_var=; unset $ac_var;} ;; 9681 *) { eval $ac_var=; unset $ac_var;} ;;
8703) | 9701) |
8704 sed ' 9702 sed '
8705 /^ac_cv_env_/b end 9703 /^ac_cv_env_/b end
8706 t clear 9704 t clear
8707 :clear 9705 :clear
8708 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 9706 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
8709 t end 9707 t end
8710 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9708 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8711 :end' >>confcache 9709 :end' >>confcache
8712if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9710if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8713 if test -w "$cache_file"; then 9711 if test -w "$cache_file"; then
8714 test "x$cache_file" != "x/dev/null" && 9712 if test "x$cache_file" != "x/dev/null"; then
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 9713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8716$as_echo "$as_me: updating cache $cache_file" >&6;} 9714printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
9715 if test ! -f "$cache_file" || test -h "$cache_file"; then
8717 cat confcache >$cache_file 9716 cat confcache >"$cache_file"
9717 else
9718 case $cache_file in #(
9719 */* | ?:*)
9720 mv -f confcache "$cache_file"$$ &&
9721 mv -f "$cache_file"$$ "$cache_file" ;; #(
9722 *)
9723 mv -f confcache "$cache_file" ;;
9724 esac
9725 fi
9726 fi
8718 else 9727 else
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 9728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8720$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 9729printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
8721 fi 9730 fi
8722fi 9731fi
8723rm -f confcache 9732rm -f confcache
8724 9733
8725test "x$prefix" = xNONE && prefix=$ac_default_prefix 9734test "x$prefix" = xNONE && prefix=$ac_default_prefix
8732ac_ltlibobjs= 9741ac_ltlibobjs=
8733U= 9742U=
8734for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 9743for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8735 # 1. Remove the extension, and $U if already installed. 9744 # 1. Remove the extension, and $U if already installed.
8736 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9745 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8737 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 9746 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
8738 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9747 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8739 # will be set to the directory where LIBOBJS objects are built. 9748 # will be set to the directory where LIBOBJS objects are built.
8740 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9749 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8741 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 9750 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8742done 9751done
8743LIBOBJS=$ac_libobjs 9752LIBOBJS=$ac_libobjs
8744 9753
8745LTLIBOBJS=$ac_ltlibobjs 9754LTLIBOBJS=$ac_ltlibobjs
8746 9755
8747 9756
9757{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
9758printf %s "checking that generated files are newer than configure... " >&6; }
9759 if test -n "$am_sleep_pid"; then
9760 # Hide warnings about reused PIDs.
9761 wait $am_sleep_pid 2>/dev/null
9762 fi
9763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
9764printf "%s\n" "done" >&6; }
8748 if test -n "$EXEEXT"; then 9765 if test -n "$EXEEXT"; then
8749 am__EXEEXT_TRUE= 9766 am__EXEEXT_TRUE=
8750 am__EXEEXT_FALSE='#' 9767 am__EXEEXT_FALSE='#'
8751else 9768else
8752 am__EXEEXT_TRUE='#' 9769 am__EXEEXT_TRUE='#'
8772if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then 9789if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then
8773 as_fn_error $? "conditional \"ROHC\" was never defined. 9790 as_fn_error $? "conditional \"ROHC\" was never defined.
8774Usually this means the macro was only invoked conditionally." "$LINENO" 5 9791Usually this means the macro was only invoked conditionally." "$LINENO" 5
8775fi 9792fi
8776 9793
8777: ${CONFIG_STATUS=./config.status} 9794: "${CONFIG_STATUS=./config.status}"
8778ac_write_fail=0 9795ac_write_fail=0
8779ac_clean_files_save=$ac_clean_files 9796ac_clean_files_save=$ac_clean_files
8780ac_clean_files="$ac_clean_files $CONFIG_STATUS" 9797ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8781{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 9798{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8782$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9799printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
8783as_write_fail=0 9800as_write_fail=0
8784cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 9801cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8785#! $SHELL 9802#! $SHELL
8786# Generated by $as_me. 9803# Generated by $as_me.
8787# Run this file to recreate the current configuration. 9804# Run this file to recreate the current configuration.
8800## M4sh Initialization. ## 9817## M4sh Initialization. ##
8801## -------------------- ## 9818## -------------------- ##
8802 9819
8803# Be more Bourne compatible 9820# Be more Bourne compatible
8804DUALCASE=1; export DUALCASE # for MKS sh 9821DUALCASE=1; export DUALCASE # for MKS sh
9822as_nop=:
8805if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 9823if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
9824then :
8806 emulate sh 9825 emulate sh
8807 NULLCMD=: 9826 NULLCMD=:
8808 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 9827 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8809 # is contrary to our usage. Disable this feature. 9828 # is contrary to our usage. Disable this feature.
8810 alias -g '${1+"$@"}'='"$@"' 9829 alias -g '${1+"$@"}'='"$@"'
8811 setopt NO_GLOB_SUBST 9830 setopt NO_GLOB_SUBST
8812else 9831else $as_nop
8813 case `(set -o) 2>/dev/null` in #( 9832 case `(set -o) 2>/dev/null` in #(
8814 *posix*) : 9833 *posix*) :
8815 set -o posix ;; #( 9834 set -o posix ;; #(
8816 *) : 9835 *) :
8817 ;; 9836 ;;
8818esac 9837esac
8819fi 9838fi
8820 9839
8821 9840
9841
9842# Reset variables that may have inherited troublesome values from
9843# the environment.
9844
9845# IFS needs to be set, to space, tab, and newline, in precisely that order.
9846# (If _AS_PATH_WALK were called with IFS unset, it would have the
9847# side effect of setting IFS to empty, thus disabling word splitting.)
9848# Quoting is to prevent editors from complaining about space-tab.
8822as_nl=' 9849as_nl='
8823' 9850'
8824export as_nl 9851export as_nl
8825# Printing a long string crashes Solaris 7 /usr/bin/printf. 9852IFS=" "" $as_nl"
8826as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9853
8827as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9854PS1='$ '
8828as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9855PS2='> '
8829# Prefer a ksh shell builtin over an external printf program on Solaris, 9856PS4='+ '
8830# but without wasting forks for bash or zsh. 9857
8831if test -z "$BASH_VERSION$ZSH_VERSION" \ 9858# Ensure predictable behavior from utilities with locale-dependent output.
8832 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 9859LC_ALL=C
8833 as_echo='print -r --' 9860export LC_ALL
8834 as_echo_n='print -rn --' 9861LANGUAGE=C
8835elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9862export LANGUAGE
8836 as_echo='printf %s\n' 9863
8837 as_echo_n='printf %s' 9864# We cannot yet rely on "unset" to work, but we need these variables
8838else 9865# to be unset--not just set to an empty or harmless value--now, to
8839 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9866# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
8840 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9867# also avoids known problems related to "unset" and subshell syntax
8841 as_echo_n='/usr/ucb/echo -n' 9868# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
8842 else 9869for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
8843 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9870do eval test \${$as_var+y} \
8844 as_echo_n_body='eval 9871 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8845 arg=$1; 9872done
8846 case $arg in #( 9873
8847 *"$as_nl"*) 9874# Ensure that fds 0, 1, and 2 are open.
8848 expr "X$arg" : "X\\(.*\\)$as_nl"; 9875if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
8849 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9876if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
8850 esac; 9877if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
8851 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8852 '
8853 export as_echo_n_body
8854 as_echo_n='sh -c $as_echo_n_body as_echo'
8855 fi
8856 export as_echo_body
8857 as_echo='sh -c $as_echo_body as_echo'
8858fi
8859 9878
8860# The user is always right. 9879# The user is always right.
8861if test "${PATH_SEPARATOR+set}" != set; then 9880if ${PATH_SEPARATOR+false} :; then
8862 PATH_SEPARATOR=: 9881 PATH_SEPARATOR=:
8863 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9882 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8864 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9883 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8865 PATH_SEPARATOR=';' 9884 PATH_SEPARATOR=';'
8866 } 9885 }
8867fi 9886fi
8868 9887
8869 9888
8870# IFS
8871# We need space, tab and new line, in precisely that order. Quoting is
8872# there to prevent editors from complaining about space-tab.
8873# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8874# splitting by setting IFS to empty value.)
8875IFS=" "" $as_nl"
8876
8877# Find who we are. Look in the path if we contain no directory separator. 9889# Find who we are. Look in the path if we contain no directory separator.
9890as_myself=
8878case $0 in #(( 9891case $0 in #((
8879 *[\\/]* ) as_myself=$0 ;; 9892 *[\\/]* ) as_myself=$0 ;;
8880 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9893 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8881for as_dir in $PATH 9894for as_dir in $PATH
8882do 9895do
8883 IFS=$as_save_IFS 9896 IFS=$as_save_IFS
8884 test -z "$as_dir" && as_dir=. 9897 case $as_dir in #(((
9898 '') as_dir=./ ;;
9899 */) ;;
9900 *) as_dir=$as_dir/ ;;
9901 esac
8885 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9902 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
8886 done 9903 done
8887IFS=$as_save_IFS 9904IFS=$as_save_IFS
8888 9905
8889 ;; 9906 ;;
8890esac 9907esac
8892# in which case we are not to be found in the path. 9909# in which case we are not to be found in the path.
8893if test "x$as_myself" = x; then 9910if test "x$as_myself" = x; then
8894 as_myself=$0 9911 as_myself=$0
8895fi 9912fi
8896if test ! -f "$as_myself"; then 9913if test ! -f "$as_myself"; then
8897 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9914 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8898 exit 1 9915 exit 1
8899fi 9916fi
8900 9917
8901# Unset variables that we do not need and which cause bugs (e.g. in
8902# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8903# suppresses any "Segmentation fault" message there. '((' could
8904# trigger a bug in pdksh 5.2.14.
8905for as_var in BASH_ENV ENV MAIL MAILPATH
8906do eval test x\${$as_var+set} = xset \
8907 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8908done
8909PS1='$ '
8910PS2='> '
8911PS4='+ '
8912
8913# NLS nuisances.
8914LC_ALL=C
8915export LC_ALL
8916LANGUAGE=C
8917export LANGUAGE
8918
8919# CDPATH.
8920(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8921 9918
8922 9919
8923# as_fn_error STATUS ERROR [LINENO LOG_FD] 9920# as_fn_error STATUS ERROR [LINENO LOG_FD]
8924# ---------------------------------------- 9921# ----------------------------------------
8925# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9922# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8928as_fn_error () 9925as_fn_error ()
8929{ 9926{
8930 as_status=$1; test $as_status -eq 0 && as_status=1 9927 as_status=$1; test $as_status -eq 0 && as_status=1
8931 if test "$4"; then 9928 if test "$4"; then
8932 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9929 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8933 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 9930 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8934 fi 9931 fi
8935 $as_echo "$as_me: error: $2" >&2 9932 printf "%s\n" "$as_me: error: $2" >&2
8936 as_fn_exit $as_status 9933 as_fn_exit $as_status
8937} # as_fn_error 9934} # as_fn_error
9935
8938 9936
8939 9937
8940# as_fn_set_status STATUS 9938# as_fn_set_status STATUS
8941# ----------------------- 9939# -----------------------
8942# Set $? to STATUS, without forking. 9940# Set $? to STATUS, without forking.
8961as_fn_unset () 9959as_fn_unset ()
8962{ 9960{
8963 { eval $1=; unset $1;} 9961 { eval $1=; unset $1;}
8964} 9962}
8965as_unset=as_fn_unset 9963as_unset=as_fn_unset
9964
8966# as_fn_append VAR VALUE 9965# as_fn_append VAR VALUE
8967# ---------------------- 9966# ----------------------
8968# Append the text in VALUE to the end of the definition contained in VAR. Take 9967# Append the text in VALUE to the end of the definition contained in VAR. Take
8969# advantage of any shell optimizations that allow amortized linear growth over 9968# advantage of any shell optimizations that allow amortized linear growth over
8970# repeated appends, instead of the typical quadratic growth present in naive 9969# repeated appends, instead of the typical quadratic growth present in naive
8971# implementations. 9970# implementations.
8972if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 9971if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
9972then :
8973 eval 'as_fn_append () 9973 eval 'as_fn_append ()
8974 { 9974 {
8975 eval $1+=\$2 9975 eval $1+=\$2
8976 }' 9976 }'
8977else 9977else $as_nop
8978 as_fn_append () 9978 as_fn_append ()
8979 { 9979 {
8980 eval $1=\$$1\$2 9980 eval $1=\$$1\$2
8981 } 9981 }
8982fi # as_fn_append 9982fi # as_fn_append
8984# as_fn_arith ARG... 9984# as_fn_arith ARG...
8985# ------------------ 9985# ------------------
8986# Perform arithmetic evaluation on the ARGs, and store the result in the 9986# Perform arithmetic evaluation on the ARGs, and store the result in the
8987# global $as_val. Take advantage of shells that can avoid forks. The arguments 9987# global $as_val. Take advantage of shells that can avoid forks. The arguments
8988# must be portable across $(()) and expr. 9988# must be portable across $(()) and expr.
8989if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 9989if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
9990then :
8990 eval 'as_fn_arith () 9991 eval 'as_fn_arith ()
8991 { 9992 {
8992 as_val=$(( $* )) 9993 as_val=$(( $* ))
8993 }' 9994 }'
8994else 9995else $as_nop
8995 as_fn_arith () 9996 as_fn_arith ()
8996 { 9997 {
8997 as_val=`expr "$@" || test $? -eq 1` 9998 as_val=`expr "$@" || test $? -eq 1`
8998 } 9999 }
8999fi # as_fn_arith 10000fi # as_fn_arith
9020 10021
9021as_me=`$as_basename -- "$0" || 10022as_me=`$as_basename -- "$0" ||
9022$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 10023$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9023 X"$0" : 'X\(//\)$' \| \ 10024 X"$0" : 'X\(//\)$' \| \
9024 X"$0" : 'X\(/\)' \| . 2>/dev/null || 10025 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9025$as_echo X/"$0" | 10026printf "%s\n" X/"$0" |
9026 sed '/^.*\/\([^/][^/]*\)\/*$/{ 10027 sed '/^.*\/\([^/][^/]*\)\/*$/{
9027 s//\1/ 10028 s//\1/
9028 q 10029 q
9029 } 10030 }
9030 /^X\/\(\/\/\)$/{ 10031 /^X\/\(\/\/\)$/{
9042as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 10043as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9043as_cr_Letters=$as_cr_letters$as_cr_LETTERS 10044as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9044as_cr_digits='0123456789' 10045as_cr_digits='0123456789'
9045as_cr_alnum=$as_cr_Letters$as_cr_digits 10046as_cr_alnum=$as_cr_Letters$as_cr_digits
9046 10047
10048
10049# Determine whether it's possible to make 'echo' print without a newline.
10050# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
10051# for compatibility with existing Makefiles.
9047ECHO_C= ECHO_N= ECHO_T= 10052ECHO_C= ECHO_N= ECHO_T=
9048case `echo -n x` in #((((( 10053case `echo -n x` in #(((((
9049-n*) 10054-n*)
9050 case `echo 'xy\c'` in 10055 case `echo 'xy\c'` in
9051 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 10056 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9055 esac;; 10060 esac;;
9056*) 10061*)
9057 ECHO_N='-n';; 10062 ECHO_N='-n';;
9058esac 10063esac
9059 10064
10065# For backward compatibility with old third-party macros, we provide
10066# the shell variables $as_echo and $as_echo_n. New code should use
10067# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
10068as_echo='printf %s\n'
10069as_echo_n='printf %s'
10070
9060rm -f conf$$ conf$$.exe conf$$.file 10071rm -f conf$$ conf$$.exe conf$$.file
9061if test -d conf$$.dir; then 10072if test -d conf$$.dir; then
9062 rm -f conf$$.dir/conf$$.file 10073 rm -f conf$$.dir/conf$$.file
9063else 10074else
9064 rm -f conf$$.dir 10075 rm -f conf$$.dir
9068 if ln -s conf$$.file conf$$ 2>/dev/null; then 10079 if ln -s conf$$.file conf$$ 2>/dev/null; then
9069 as_ln_s='ln -s' 10080 as_ln_s='ln -s'
9070 # ... but there are two gotchas: 10081 # ... but there are two gotchas:
9071 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 10082 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9072 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 10083 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9073 # In both cases, we have to default to `cp -p'. 10084 # In both cases, we have to default to `cp -pR'.
9074 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10085 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9075 as_ln_s='cp -p' 10086 as_ln_s='cp -pR'
9076 elif ln conf$$.file conf$$ 2>/dev/null; then 10087 elif ln conf$$.file conf$$ 2>/dev/null; then
9077 as_ln_s=ln 10088 as_ln_s=ln
9078 else 10089 else
9079 as_ln_s='cp -p' 10090 as_ln_s='cp -pR'
9080 fi 10091 fi
9081else 10092else
9082 as_ln_s='cp -p' 10093 as_ln_s='cp -pR'
9083fi 10094fi
9084rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 10095rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9085rmdir conf$$.dir 2>/dev/null 10096rmdir conf$$.dir 2>/dev/null
9086 10097
9087 10098
9096 esac 10107 esac
9097 test -d "$as_dir" || eval $as_mkdir_p || { 10108 test -d "$as_dir" || eval $as_mkdir_p || {
9098 as_dirs= 10109 as_dirs=
9099 while :; do 10110 while :; do
9100 case $as_dir in #( 10111 case $as_dir in #(
9101 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10112 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9102 *) as_qdir=$as_dir;; 10113 *) as_qdir=$as_dir;;
9103 esac 10114 esac
9104 as_dirs="'$as_qdir' $as_dirs" 10115 as_dirs="'$as_qdir' $as_dirs"
9105 as_dir=`$as_dirname -- "$as_dir" || 10116 as_dir=`$as_dirname -- "$as_dir" ||
9106$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10117$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9107 X"$as_dir" : 'X\(//\)[^/]' \| \ 10118 X"$as_dir" : 'X\(//\)[^/]' \| \
9108 X"$as_dir" : 'X\(//\)$' \| \ 10119 X"$as_dir" : 'X\(//\)$' \| \
9109 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10120 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9110$as_echo X"$as_dir" | 10121printf "%s\n" X"$as_dir" |
9111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9112 s//\1/ 10123 s//\1/
9113 q 10124 q
9114 } 10125 }
9115 /^X\(\/\/\)[^/].*/{ 10126 /^X\(\/\/\)[^/].*/{
9137else 10148else
9138 test -d ./-p && rmdir ./-p 10149 test -d ./-p && rmdir ./-p
9139 as_mkdir_p=false 10150 as_mkdir_p=false
9140fi 10151fi
9141 10152
9142if test -x / >/dev/null 2>&1; then 10153
10154# as_fn_executable_p FILE
10155# -----------------------
10156# Test if FILE is an executable regular file.
10157as_fn_executable_p ()
10158{
10159 test -f "$1" && test -x "$1"
10160} # as_fn_executable_p
9143 as_test_x='test -x' 10161as_test_x='test -x'
9144else 10162as_executable_p=as_fn_executable_p
9145 if ls -dL / >/dev/null 2>&1; then
9146 as_ls_L_option=L
9147 else
9148 as_ls_L_option=
9149 fi
9150 as_test_x='
9151 eval sh -c '\''
9152 if test -d "$1"; then
9153 test -d "$1/.";
9154 else
9155 case $1 in #(
9156 -*)set "./$1";;
9157 esac;
9158 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9159 ???[sx]*):;;*)false;;esac;fi
9160 '\'' sh
9161 '
9162fi
9163as_executable_p=$as_test_x
9164 10163
9165# Sed expression to map a string onto a valid CPP name. 10164# Sed expression to map a string onto a valid CPP name.
9166as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 10165as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9167 10166
9168# Sed expression to map a string onto a valid variable name. 10167# Sed expression to map a string onto a valid variable name.
9179cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10178cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9180# Save the log message, to keep $0 and so on meaningful, and to 10179# Save the log message, to keep $0 and so on meaningful, and to
9181# report actual input values of CONFIG_FILES etc. instead of their 10180# report actual input values of CONFIG_FILES etc. instead of their
9182# values after options handling. 10181# values after options handling.
9183ac_log=" 10182ac_log="
9184This file was extended by $as_me, which was 10183This file was extended by gvpe $as_me 3.1, which was
9185generated by GNU Autoconf 2.67. Invocation command line was 10184generated by GNU Autoconf 2.71. Invocation command line was
9186 10185
9187 CONFIG_FILES = $CONFIG_FILES 10186 CONFIG_FILES = $CONFIG_FILES
9188 CONFIG_HEADERS = $CONFIG_HEADERS 10187 CONFIG_HEADERS = $CONFIG_HEADERS
9189 CONFIG_LINKS = $CONFIG_LINKS 10188 CONFIG_LINKS = $CONFIG_LINKS
9190 CONFIG_COMMANDS = $CONFIG_COMMANDS 10189 CONFIG_COMMANDS = $CONFIG_COMMANDS
9242$config_commands 10241$config_commands
9243 10242
9244Report bugs to the package provider." 10243Report bugs to the package provider."
9245 10244
9246_ACEOF 10245_ACEOF
10246ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
10247ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
9247cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10248cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9248ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 10249ac_cs_config='$ac_cs_config_escaped'
9249ac_cs_version="\\ 10250ac_cs_version="\\
9250config.status 10251gvpe config.status 3.1
9251configured by $0, generated by GNU Autoconf 2.67, 10252configured by $0, generated by GNU Autoconf 2.71,
9252 with options \\"\$ac_cs_config\\" 10253 with options \\"\$ac_cs_config\\"
9253 10254
9254Copyright (C) 2010 Free Software Foundation, Inc. 10255Copyright (C) 2021 Free Software Foundation, Inc.
9255This config.status script is free software; the Free Software Foundation 10256This config.status script is free software; the Free Software Foundation
9256gives unlimited permission to copy, distribute and modify it." 10257gives unlimited permission to copy, distribute and modify it."
9257 10258
9258ac_pwd='$ac_pwd' 10259ac_pwd='$ac_pwd'
9259srcdir='$srcdir' 10260srcdir='$srcdir'
9289 case $ac_option in 10290 case $ac_option in
9290 # Handling of the options. 10291 # Handling of the options.
9291 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 10292 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9292 ac_cs_recheck=: ;; 10293 ac_cs_recheck=: ;;
9293 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 10294 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9294 $as_echo "$ac_cs_version"; exit ;; 10295 printf "%s\n" "$ac_cs_version"; exit ;;
9295 --config | --confi | --conf | --con | --co | --c ) 10296 --config | --confi | --conf | --con | --co | --c )
9296 $as_echo "$ac_cs_config"; exit ;; 10297 printf "%s\n" "$ac_cs_config"; exit ;;
9297 --debug | --debu | --deb | --de | --d | -d ) 10298 --debug | --debu | --deb | --de | --d | -d )
9298 debug=: ;; 10299 debug=: ;;
9299 --file | --fil | --fi | --f ) 10300 --file | --fil | --fi | --f )
9300 $ac_shift 10301 $ac_shift
9301 case $ac_optarg in 10302 case $ac_optarg in
9302 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10303 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9303 '') as_fn_error $? "missing file argument" ;; 10304 '') as_fn_error $? "missing file argument" ;;
9304 esac 10305 esac
9305 as_fn_append CONFIG_FILES " '$ac_optarg'" 10306 as_fn_append CONFIG_FILES " '$ac_optarg'"
9306 ac_need_defaults=false;; 10307 ac_need_defaults=false;;
9307 --header | --heade | --head | --hea ) 10308 --header | --heade | --head | --hea )
9308 $ac_shift 10309 $ac_shift
9309 case $ac_optarg in 10310 case $ac_optarg in
9310 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10311 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9311 esac 10312 esac
9312 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 10313 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9313 ac_need_defaults=false;; 10314 ac_need_defaults=false;;
9314 --he | --h) 10315 --he | --h)
9315 # Conflict between --help and --header 10316 # Conflict between --help and --header
9316 as_fn_error $? "ambiguous option: \`$1' 10317 as_fn_error $? "ambiguous option: \`$1'
9317Try \`$0 --help' for more information.";; 10318Try \`$0 --help' for more information.";;
9318 --help | --hel | -h ) 10319 --help | --hel | -h )
9319 $as_echo "$ac_cs_usage"; exit ;; 10320 printf "%s\n" "$ac_cs_usage"; exit ;;
9320 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10321 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9321 | -silent | --silent | --silen | --sile | --sil | --si | --s) 10322 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9322 ac_cs_silent=: ;; 10323 ac_cs_silent=: ;;
9323 10324
9324 # This is an error. 10325 # This is an error.
9340fi 10341fi
9341 10342
9342_ACEOF 10343_ACEOF
9343cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10344cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9344if \$ac_cs_recheck; then 10345if \$ac_cs_recheck; then
9345 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 10346 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9346 shift 10347 shift
9347 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 10348 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
9348 CONFIG_SHELL='$SHELL' 10349 CONFIG_SHELL='$SHELL'
9349 export CONFIG_SHELL 10350 export CONFIG_SHELL
9350 exec "\$@" 10351 exec "\$@"
9351fi 10352fi
9352 10353
9356{ 10357{
9357 echo 10358 echo
9358 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 10359 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9359## Running $as_me. ## 10360## Running $as_me. ##
9360_ASBOX 10361_ASBOX
9361 $as_echo "$ac_log" 10362 printf "%s\n" "$ac_log"
9362} >&5 10363} >&5
9363 10364
9364_ACEOF 10365_ACEOF
9365cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10366cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9366# 10367#
9371 # from automake. 10372 # from automake.
9372 eval 'ALL_LINGUAS''="$ALL_LINGUAS"' 10373 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
9373 # Capture the value of LINGUAS because we need it to compute CATALOGS. 10374 # Capture the value of LINGUAS because we need it to compute CATALOGS.
9374 LINGUAS="${LINGUAS-%UNSET%}" 10375 LINGUAS="${LINGUAS-%UNSET%}"
9375 10376
9376AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 10377AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
9377 10378
9378_ACEOF 10379_ACEOF
9379 10380
9380cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10381cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9381 10382
9391 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 10392 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9392 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 10393 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9393 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 10394 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
9394 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 10395 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
9395 10396
9396 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 10397 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9397 esac 10398 esac
9398done 10399done
9399 10400
9400 10401
9401# If the user did not use the arguments to specify the items to instantiate, 10402# If the user did not use the arguments to specify the items to instantiate,
9402# then the envvar interface is used. Set only those that are not. 10403# then the envvar interface is used. Set only those that are not.
9403# We use the long form for the default assignment because of an extremely 10404# We use the long form for the default assignment because of an extremely
9404# bizarre bug on SunOS 4.1.3. 10405# bizarre bug on SunOS 4.1.3.
9405if $ac_need_defaults; then 10406if $ac_need_defaults; then
9406 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 10407 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
9407 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 10408 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
9408 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 10409 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
9409fi 10410fi
9410 10411
9411# Have a temporary directory for convenience. Make it in the build tree 10412# Have a temporary directory for convenience. Make it in the build tree
9412# simply because there is no reason against having it here, and in addition, 10413# simply because there is no reason against having it here, and in addition,
9413# creating and moving files from /tmp can sometimes cause problems. 10414# creating and moving files from /tmp can sometimes cause problems.
9414# Hook for its removal unless debugging. 10415# Hook for its removal unless debugging.
9415# Note that there is a small window in which the directory will not be cleaned: 10416# Note that there is a small window in which the directory will not be cleaned:
9416# after its creation but before its name has been assigned to `$tmp'. 10417# after its creation but before its name has been assigned to `$tmp'.
9417$debug || 10418$debug ||
9418{ 10419{
9419 tmp= 10420 tmp= ac_tmp=
9420 trap 'exit_status=$? 10421 trap 'exit_status=$?
10422 : "${ac_tmp:=$tmp}"
9421 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 10423 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9422' 0 10424' 0
9423 trap 'as_fn_exit 1' 1 2 13 15 10425 trap 'as_fn_exit 1' 1 2 13 15
9424} 10426}
9425# Create a (secure) tmp directory for tmp files. 10427# Create a (secure) tmp directory for tmp files.
9426 10428
9427{ 10429{
9428 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 10430 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9429 test -n "$tmp" && test -d "$tmp" 10431 test -d "$tmp"
9430} || 10432} ||
9431{ 10433{
9432 tmp=./conf$$-$RANDOM 10434 tmp=./conf$$-$RANDOM
9433 (umask 077 && mkdir "$tmp") 10435 (umask 077 && mkdir "$tmp")
9434} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 10436} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10437ac_tmp=$tmp
9435 10438
9436# Set up the scripts for CONFIG_FILES section. 10439# Set up the scripts for CONFIG_FILES section.
9437# No need to generate them if there are no CONFIG_FILES. 10440# No need to generate them if there are no CONFIG_FILES.
9438# This happens for instance with `./config.status config.h'. 10441# This happens for instance with `./config.status config.h'.
9439if test -n "$CONFIG_FILES"; then 10442if test -n "$CONFIG_FILES"; then
9451 ac_cs_awk_cr='\\r' 10454 ac_cs_awk_cr='\\r'
9452else 10455else
9453 ac_cs_awk_cr=$ac_cr 10456 ac_cs_awk_cr=$ac_cr
9454fi 10457fi
9455 10458
9456echo 'BEGIN {' >"$tmp/subs1.awk" && 10459echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9457_ACEOF 10460_ACEOF
9458 10461
9459 10462
9460{ 10463{
9461 echo "cat >conf$$subs.awk <<_ACEOF" && 10464 echo "cat >conf$$subs.awk <<_ACEOF" &&
9479 fi 10482 fi
9480done 10483done
9481rm -f conf$$subs.sh 10484rm -f conf$$subs.sh
9482 10485
9483cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10486cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9484cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 10487cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9485_ACEOF 10488_ACEOF
9486sed -n ' 10489sed -n '
9487h 10490h
9488s/^/S["/; s/!.*/"]=/ 10491s/^/S["/; s/!.*/"]=/
9489p 10492p
9527} 10530}
9528' >>$CONFIG_STATUS || ac_write_fail=1 10531' >>$CONFIG_STATUS || ac_write_fail=1
9529rm -f conf$$subs.awk 10532rm -f conf$$subs.awk
9530cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10533cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9531_ACAWK 10534_ACAWK
9532cat >>"\$tmp/subs1.awk" <<_ACAWK && 10535cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9533 for (key in S) S_is_set[key] = 1 10536 for (key in S) S_is_set[key] = 1
9534 FS = "" 10537 FS = ""
9535 10538
9536} 10539}
9537{ 10540{
9559cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10562cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9560if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 10563if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9561 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 10564 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9562else 10565else
9563 cat 10566 cat
9564fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 10567fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9565 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 10568 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9566_ACEOF 10569_ACEOF
9567 10570
9568# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 10571# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9569# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 10572# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9593 10596
9594# Set up the scripts for CONFIG_HEADERS section. 10597# Set up the scripts for CONFIG_HEADERS section.
9595# No need to generate them if there are no CONFIG_HEADERS. 10598# No need to generate them if there are no CONFIG_HEADERS.
9596# This happens for instance with `./config.status Makefile'. 10599# This happens for instance with `./config.status Makefile'.
9597if test -n "$CONFIG_HEADERS"; then 10600if test -n "$CONFIG_HEADERS"; then
9598cat >"$tmp/defines.awk" <<\_ACAWK || 10601cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9599BEGIN { 10602BEGIN {
9600_ACEOF 10603_ACEOF
9601 10604
9602# Transform confdefs.h into an awk script `defines.awk', embedded as 10605# Transform confdefs.h into an awk script `defines.awk', embedded as
9603# here-document in config.status, that substitutes the proper values into 10606# here-document in config.status, that substitutes the proper values into
9605 10608
9606# Create a delimiter string that does not exist in confdefs.h, to ease 10609# Create a delimiter string that does not exist in confdefs.h, to ease
9607# handling of long lines. 10610# handling of long lines.
9608ac_delim='%!_!# ' 10611ac_delim='%!_!# '
9609for ac_last_try in false false :; do 10612for ac_last_try in false false :; do
9610 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 10613 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9611 if test -z "$ac_t"; then 10614 if test -z "$ac_tt"; then
9612 break 10615 break
9613 elif $ac_last_try; then 10616 elif $ac_last_try; then
9614 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 10617 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9615 else 10618 else
9616 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10619 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9707 case $ac_tag in 10710 case $ac_tag in
9708 :[FHLC]) ac_mode=$ac_tag; continue;; 10711 :[FHLC]) ac_mode=$ac_tag; continue;;
9709 esac 10712 esac
9710 case $ac_mode$ac_tag in 10713 case $ac_mode$ac_tag in
9711 :[FHL]*:*);; 10714 :[FHL]*:*);;
9712 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 10715 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9713 :[FH]-) ac_tag=-:-;; 10716 :[FH]-) ac_tag=-:-;;
9714 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 10717 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9715 esac 10718 esac
9716 ac_save_IFS=$IFS 10719 ac_save_IFS=$IFS
9717 IFS=: 10720 IFS=:
9726 :[FH]) 10729 :[FH])
9727 ac_file_inputs= 10730 ac_file_inputs=
9728 for ac_f 10731 for ac_f
9729 do 10732 do
9730 case $ac_f in 10733 case $ac_f in
9731 -) ac_f="$tmp/stdin";; 10734 -) ac_f="$ac_tmp/stdin";;
9732 *) # Look for the file first in the build tree, then in the source tree 10735 *) # Look for the file first in the build tree, then in the source tree
9733 # (if the path is not absolute). The absolute path cannot be DOS-style, 10736 # (if the path is not absolute). The absolute path cannot be DOS-style,
9734 # because $ac_f cannot contain `:'. 10737 # because $ac_f cannot contain `:'.
9735 test -f "$ac_f" || 10738 test -f "$ac_f" ||
9736 case $ac_f in 10739 case $ac_f in
9737 [\\/$]*) false;; 10740 [\\/$]*) false;;
9738 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10741 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9739 esac || 10742 esac ||
9740 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 10743 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9741 esac 10744 esac
9742 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10745 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9743 as_fn_append ac_file_inputs " '$ac_f'" 10746 as_fn_append ac_file_inputs " '$ac_f'"
9744 done 10747 done
9745 10748
9746 # Let's still pretend it is `configure' which instantiates (i.e., don't 10749 # Let's still pretend it is `configure' which instantiates (i.e., don't
9747 # use $as_me), people would be surprised to read: 10750 # use $as_me), people would be surprised to read:
9748 # /* config.h. Generated by config.status. */ 10751 # /* config.h. Generated by config.status. */
9749 configure_input='Generated from '` 10752 configure_input='Generated from '`
9750 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10753 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9751 `' by configure.' 10754 `' by configure.'
9752 if test x"$ac_file" != x-; then 10755 if test x"$ac_file" != x-; then
9753 configure_input="$ac_file. $configure_input" 10756 configure_input="$ac_file. $configure_input"
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 10757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9755$as_echo "$as_me: creating $ac_file" >&6;} 10758printf "%s\n" "$as_me: creating $ac_file" >&6;}
9756 fi 10759 fi
9757 # Neutralize special characters interpreted by sed in replacement strings. 10760 # Neutralize special characters interpreted by sed in replacement strings.
9758 case $configure_input in #( 10761 case $configure_input in #(
9759 *\&* | *\|* | *\\* ) 10762 *\&* | *\|* | *\\* )
9760 ac_sed_conf_input=`$as_echo "$configure_input" | 10763 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
9761 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10764 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9762 *) ac_sed_conf_input=$configure_input;; 10765 *) ac_sed_conf_input=$configure_input;;
9763 esac 10766 esac
9764 10767
9765 case $ac_tag in 10768 case $ac_tag in
9766 *:-:* | *:-) cat >"$tmp/stdin" \ 10769 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9767 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 10770 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9768 esac 10771 esac
9769 ;; 10772 ;;
9770 esac 10773 esac
9771 10774
9772 ac_dir=`$as_dirname -- "$ac_file" || 10775 ac_dir=`$as_dirname -- "$ac_file" ||
9773$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10776$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9774 X"$ac_file" : 'X\(//\)[^/]' \| \ 10777 X"$ac_file" : 'X\(//\)[^/]' \| \
9775 X"$ac_file" : 'X\(//\)$' \| \ 10778 X"$ac_file" : 'X\(//\)$' \| \
9776 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10779 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9777$as_echo X"$ac_file" | 10780printf "%s\n" X"$ac_file" |
9778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9779 s//\1/ 10782 s//\1/
9780 q 10783 q
9781 } 10784 }
9782 /^X\(\/\/\)[^/].*/{ 10785 /^X\(\/\/\)[^/].*/{
9796 ac_builddir=. 10799 ac_builddir=.
9797 10800
9798case "$ac_dir" in 10801case "$ac_dir" in
9799.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10802.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9800*) 10803*)
9801 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10804 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
9802 # A ".." for each directory in $ac_dir_suffix. 10805 # A ".." for each directory in $ac_dir_suffix.
9803 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10806 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9804 case $ac_top_builddir_sub in 10807 case $ac_top_builddir_sub in
9805 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10808 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9806 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10809 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9807 esac ;; 10810 esac ;;
9808esac 10811esac
9860/@localedir@/p 10863/@localedir@/p
9861/@mandir@/p' 10864/@mandir@/p'
9862case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10865case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9863*datarootdir*) ac_datarootdir_seen=yes;; 10866*datarootdir*) ac_datarootdir_seen=yes;;
9864*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10867*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9866$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10869printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9867_ACEOF 10870_ACEOF
9868cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10871cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9869 ac_datarootdir_hack=' 10872 ac_datarootdir_hack='
9870 s&@datadir@&$datadir&g 10873 s&@datadir@&$datadir&g
9871 s&@docdir@&$docdir&g 10874 s&@docdir@&$docdir&g
9898s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 10901s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9899s&@INSTALL@&$ac_INSTALL&;t t 10902s&@INSTALL@&$ac_INSTALL&;t t
9900s&@MKDIR_P@&$ac_MKDIR_P&;t t 10903s&@MKDIR_P@&$ac_MKDIR_P&;t t
9901$ac_datarootdir_hack 10904$ac_datarootdir_hack
9902" 10905"
9903eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 10906eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9904 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10907 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9905 10908
9906test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10909test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9907 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 10910 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9908 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 10911 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10912 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9910which seems to be undefined. Please make sure it is defined" >&5 10914which seems to be undefined. Please make sure it is defined" >&5
9911$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10915printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9912which seems to be undefined. Please make sure it is defined" >&2;} 10916which seems to be undefined. Please make sure it is defined" >&2;}
9913 10917
9914 rm -f "$tmp/stdin" 10918 rm -f "$ac_tmp/stdin"
9915 case $ac_file in 10919 case $ac_file in
9916 -) cat "$tmp/out" && rm -f "$tmp/out";; 10920 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9917 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10921 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9918 esac \ 10922 esac \
9919 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10923 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9920 ;; 10924 ;;
9921 :H) 10925 :H)
9922 # 10926 #
9923 # CONFIG_HEADER 10927 # CONFIG_HEADER
9924 # 10928 #
9925 if test x"$ac_file" != x-; then 10929 if test x"$ac_file" != x-; then
9926 { 10930 {
9927 $as_echo "/* $configure_input */" \ 10931 printf "%s\n" "/* $configure_input */" >&1 \
9928 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10932 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9929 } >"$tmp/config.h" \ 10933 } >"$ac_tmp/config.h" \
9930 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10934 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9931 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10935 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 10936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9933$as_echo "$as_me: $ac_file is unchanged" >&6;} 10937printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
9934 else 10938 else
9935 rm -f "$ac_file" 10939 rm -f "$ac_file"
9936 mv "$tmp/config.h" "$ac_file" \ 10940 mv "$ac_tmp/config.h" "$ac_file" \
9937 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10941 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9938 fi 10942 fi
9939 else 10943 else
9940 $as_echo "/* $configure_input */" \ 10944 printf "%s\n" "/* $configure_input */" >&1 \
9941 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10945 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9942 || as_fn_error $? "could not create -" "$LINENO" 5 10946 || as_fn_error $? "could not create -" "$LINENO" 5
9943 fi 10947 fi
9944# Compute "$ac_file"'s index in $config_headers. 10948# Compute "$ac_file"'s index in $config_headers.
9945_am_arg="$ac_file" 10949_am_arg="$ac_file"
9946_am_stamp_count=1 10950_am_stamp_count=1
9955echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 10959echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9956$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10960$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9957 X"$_am_arg" : 'X\(//\)[^/]' \| \ 10961 X"$_am_arg" : 'X\(//\)[^/]' \| \
9958 X"$_am_arg" : 'X\(//\)$' \| \ 10962 X"$_am_arg" : 'X\(//\)$' \| \
9959 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 10963 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9960$as_echo X"$_am_arg" | 10964printf "%s\n" X"$_am_arg" |
9961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9962 s//\1/ 10966 s//\1/
9963 q 10967 q
9964 } 10968 }
9965 /^X\(\/\/\)[^/].*/{ 10969 /^X\(\/\/\)[^/].*/{
9975 q 10979 q
9976 } 10980 }
9977 s/.*/./; q'`/stamp-h$_am_stamp_count 10981 s/.*/./; q'`/stamp-h$_am_stamp_count
9978 ;; 10982 ;;
9979 10983
9980 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 10984 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9981$as_echo "$as_me: executing $ac_file commands" >&6;} 10985printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
9982 ;; 10986 ;;
9983 esac 10987 esac
9984 10988
9985 10989
9986 case $ac_file$ac_mode in 10990 case $ac_file$ac_mode in
10079 fi 11083 fi
10080 ;; 11084 ;;
10081 esac 11085 esac
10082 done ;; 11086 done ;;
10083 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 11087 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10084 # Autoconf 2.62 quotes --file arguments for eval, but not when files 11088 # Older Autoconf quotes --file arguments for eval, but not when files
10085 # are listed without --file. Let's play safe and only enable the eval 11089 # are listed without --file. Let's play safe and only enable the eval
10086 # if we detect the quoting. 11090 # if we detect the quoting.
11091 # TODO: see whether this extra hack can be removed once we start
11092 # requiring Autoconf 2.70 or later.
10087 case $CONFIG_FILES in 11093 case $CONFIG_FILES in #(
11094 *\'*) :
10088 *\'*) eval set x "$CONFIG_FILES" ;; 11095 eval set x "$CONFIG_FILES" ;; #(
11096 *) :
10089 *) set x $CONFIG_FILES ;; 11097 set x $CONFIG_FILES ;; #(
11098 *) :
11099 ;;
10090 esac 11100esac
10091 shift 11101 shift
11102 # Used to flag and report bootstrapping failures.
11103 am_rc=0
10092 for mf 11104 for am_mf
10093 do 11105 do
10094 # Strip MF so we end up with the name of the file. 11106 # Strip MF so we end up with the name of the file.
10095 mf=`echo "$mf" | sed -e 's/:.*$//'` 11107 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
10096 # Check whether this is an Automake generated Makefile or not. 11108 # Check whether this is an Automake generated Makefile which includes
10097 # We used to match only the files named `Makefile.in', but 11109 # dependency-tracking related rules and includes.
10098 # some people rename them; so instead we look at the file content.
10099 # Grep'ing the first line is not enough: some people post-process
10100 # each Makefile.in and add a new line on top of each file to say so.
10101 # Grep'ing the whole file is not good either: AIX grep has a line 11110 # Grep'ing the whole file directly is not great: AIX grep has a line
10102 # limit of 2048, but all sed's we know have understand at least 4000. 11111 # limit of 2048, but all sed's we know have understand at least 4000.
10103 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 11112 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
11113 || continue
10104 dirpart=`$as_dirname -- "$mf" || 11114 am_dirpart=`$as_dirname -- "$am_mf" ||
10105$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11115$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10106 X"$mf" : 'X\(//\)[^/]' \| \ 11116 X"$am_mf" : 'X\(//\)[^/]' \| \
10107 X"$mf" : 'X\(//\)$' \| \ 11117 X"$am_mf" : 'X\(//\)$' \| \
10108 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 11118 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
10109$as_echo X"$mf" | 11119printf "%s\n" X"$am_mf" |
10110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10111 s//\1/ 11121 s//\1/
10112 q 11122 q
10113 } 11123 }
10114 /^X\(\/\/\)[^/].*/{ 11124 /^X\(\/\/\)[^/].*/{
10122 /^X\(\/\).*/{ 11132 /^X\(\/\).*/{
10123 s//\1/ 11133 s//\1/
10124 q 11134 q
10125 } 11135 }
10126 s/.*/./; q'` 11136 s/.*/./; q'`
10127 else 11137 am_filepart=`$as_basename -- "$am_mf" ||
10128 continue
10129 fi
10130 # Extract the definition of DEPDIR, am__include, and am__quote
10131 # from the Makefile without running `make'.
10132 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10133 test -z "$DEPDIR" && continue
10134 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10135 test -z "am__include" && continue
10136 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10137 # When using ansi2knr, U may be empty or an underscore; expand it
10138 U=`sed -n 's/^U = //p' < "$mf"`
10139 # Find all dependency output files, they are included files with
10140 # $(DEPDIR) in their names. We invoke sed twice because it is the
10141 # simplest approach to changing $(DEPDIR) to its actual value in the
10142 # expansion.
10143 for file in `sed -n "
10144 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10145 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10146 # Make sure the directory exists.
10147 test -f "$dirpart/$file" && continue
10148 fdir=`$as_dirname -- "$file" ||
10149$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11138$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
10150 X"$file" : 'X\(//\)[^/]' \| \
10151 X"$file" : 'X\(//\)$' \| \ 11139 X"$am_mf" : 'X\(//\)$' \| \
10152 X"$file" : 'X\(/\)' \| . 2>/dev/null || 11140 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
10153$as_echo X"$file" | 11141printf "%s\n" X/"$am_mf" |
10154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11142 sed '/^.*\/\([^/][^/]*\)\/*$/{
10155 s//\1/ 11143 s//\1/
10156 q 11144 q
10157 } 11145 }
10158 /^X\(\/\/\)[^/].*/{ 11146 /^X\/\(\/\/\)$/{
10159 s//\1/ 11147 s//\1/
10160 q 11148 q
10161 } 11149 }
10162 /^X\(\/\/\)$/{
10163 s//\1/
10164 q
10165 }
10166 /^X\(\/\).*/{ 11150 /^X\/\(\/\).*/{
10167 s//\1/ 11151 s//\1/
10168 q 11152 q
10169 } 11153 }
10170 s/.*/./; q'` 11154 s/.*/./; q'`
10171 as_dir=$dirpart/$fdir; as_fn_mkdir_p 11155 { echo "$as_me:$LINENO: cd "$am_dirpart" \
10172 # echo "creating $dirpart/$file" 11156 && sed -e '/# am--include-marker/d' "$am_filepart" \
10173 echo '# dummy' > "$dirpart/$file" 11157 | $MAKE -f - am--depfiles" >&5
10174 done 11158 (cd "$am_dirpart" \
11159 && sed -e '/# am--include-marker/d' "$am_filepart" \
11160 | $MAKE -f - am--depfiles) >&5 2>&5
11161 ac_status=$?
11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163 (exit $ac_status); } || am_rc=$?
10175 done 11164 done
11165 if test $am_rc -ne 0; then
11166 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11167printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
11168as_fn_error $? "Something went wrong bootstrapping makefile fragments
11169 for automatic dependency tracking. If GNU make was not used, consider
11170 re-running the configure script with MAKE=\"gmake\" (or whatever is
11171 necessary). You can also try re-running configure with the
11172 '--disable-dependency-tracking' option to at least be able to build
11173 the package (albeit without support for automatic dependency tracking).
11174See \`config.log' for more details" "$LINENO" 5; }
11175 fi
11176 { am_dirpart=; unset am_dirpart;}
11177 { am_filepart=; unset am_filepart;}
11178 { am_mf=; unset am_mf;}
11179 { am_rc=; unset am_rc;}
11180 rm -f conftest-deps.mk
10176} 11181}
10177 ;; 11182 ;;
10178 11183
10179 esac 11184 esac
10180done # for ac_tag 11185done # for ac_tag
10207 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 11212 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10208 # would make configure fail if this is the last instruction. 11213 # would make configure fail if this is the last instruction.
10209 $ac_cs_success || as_fn_exit 1 11214 $ac_cs_success || as_fn_exit 1
10210fi 11215fi
10211if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 11216if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 11217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10213$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 11218printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10214fi 11219fi
10215 11220
10216 11221
10217echo 11222echo
10218echo "***" 11223echo "***"
10219echo "*** Configuration Summary" 11224echo "*** Configuration Summary"
10220echo "***" 11225echo "***"
10221echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" 11226echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
11227echo "*** RSA size: $RSA"
10222echo "*** Cipher used: $CIPHER" 11228echo "*** Cipher used: $CIPHER"
10223echo "*** Digest used: $DIGEST" 11229echo "*** Digest used: $DIGEST"
11230echo "*** Authdigest: $AUTH"
10224echo "*** HMAC length: $HMAC" 11231echo "*** HMAC length: $HMAC"
10225echo "*** RAND used: $RAND"
10226echo "*** Max. MTU: $MTU" 11232echo "*** Max. MTU: $MTU"
10227 11233
10228echo "***" 11234echo "***"
10229echo "*** Enable options:" 11235echo "*** Enable options:"
10230grep ENABLE_ config.h | sed -e 's/^/*** /' 11236grep ENABLE_ config.h | sed -e 's/^/*** /'
10231 11237
10232if test "x$DIGEST" = xmd4; then 11238if test "$HMACSIZE" -lt 12; then
10233echo "***" 11239echo "***"
10234echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
10235fi
10236
10237if test "x$DIGEST" = xmd5; then
10238echo "***"
10239echo "*** WARNING: The digest you have chosen ($DIGEST) is probably insecure"
10240fi
10241
10242if test "$HMAC" -lt 12; then
10243echo "***"
10244echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" 11240echo "*** WARNING: The hmac length you have chosen ($HMACSIZE) is quite insecure"
10245fi
10246
10247if test "$RAND" -lt 8; then
10248echo "***"
10249echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"
10250fi 11241fi
10251 11242
10252echo "***" 11243echo "***"
10253echo 11244echo
10254 11245
11246if pkg-config --exists 'libcrypto >= 1.1 libcrypto < 2.0'; then
11247 cat <<EOF
11248
11249***
11250*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING
11251***
11252*** You seem to configure gvpe with OpenSSL 1.1 or newer.
11253*** While this probably compiles, please note that this is not only
11254*** unsupported, but also discouraged.
11255***
11256*** It is recommended to use either OpenSSL 1.0, as long as that is still
11257*** supported, or LibreSSL (https://www.libressl.org/).
11258***
11259*** This is not a political issue - while porting GVPE to the newer
11260*** OpenSSL 1.1 API, I encountered two incompatible API changes that were
11261*** not documented, were not caught while compiling but caused security
11262*** issues. When reported, the reaction of the OpenSSL developers was to
11263*** update the documentation.
11264***
11265*** As a result, I lost all confidence in the ability and desire of
11266*** OpenSSL developers to create a safe API, and would highly recommend
11267*** switching to LibreSSL which explicitly avoids such braking changes.
11268***
11269*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING
11270***
11271*** Again, do not use OpenSSL 1.1 and complain if stuff breaks.
11272*** You have been warned, but your choice is respected.
11273***
11274
10255 11275
11276EOF
11277fi
11278
11279
11280

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines