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