1 | #! /bin/sh |
---|
2 | # Guess values for system-dependent variables and create Makefiles. |
---|
3 | # Generated by GNU Autoconf 2.69 for PhyML 20130708. |
---|
4 | # |
---|
5 | # Modified for arb build (was: dont warn; modified: warn again) |
---|
6 | # |
---|
7 | # Report bugs to <s.guindon@auckland.ac.nz>. |
---|
8 | # |
---|
9 | # |
---|
10 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
---|
11 | # |
---|
12 | # |
---|
13 | # This configure script is free software; the Free Software Foundation |
---|
14 | # gives unlimited permission to copy, distribute and modify it. |
---|
15 | ## -------------------- ## |
---|
16 | ## M4sh Initialization. ## |
---|
17 | ## -------------------- ## |
---|
18 | |
---|
19 | # Be more Bourne compatible |
---|
20 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
21 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
22 | emulate sh |
---|
23 | NULLCMD=: |
---|
24 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
25 | # is contrary to our usage. Disable this feature. |
---|
26 | alias -g '${1+"$@"}'='"$@"' |
---|
27 | setopt NO_GLOB_SUBST |
---|
28 | else |
---|
29 | case `(set -o) 2>/dev/null` in #( |
---|
30 | *posix*) : |
---|
31 | set -o posix ;; #( |
---|
32 | *) : |
---|
33 | ;; |
---|
34 | esac |
---|
35 | fi |
---|
36 | |
---|
37 | |
---|
38 | as_nl=' |
---|
39 | ' |
---|
40 | export as_nl |
---|
41 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
42 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
43 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
44 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
45 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
46 | # but without wasting forks for bash or zsh. |
---|
47 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
48 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
49 | as_echo='print -r --' |
---|
50 | as_echo_n='print -rn --' |
---|
51 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
52 | as_echo='printf %s\n' |
---|
53 | as_echo_n='printf %s' |
---|
54 | else |
---|
55 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
56 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
57 | as_echo_n='/usr/ucb/echo -n' |
---|
58 | else |
---|
59 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
60 | as_echo_n_body='eval |
---|
61 | arg=$1; |
---|
62 | case $arg in #( |
---|
63 | *"$as_nl"*) |
---|
64 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
65 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
66 | esac; |
---|
67 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
68 | ' |
---|
69 | export as_echo_n_body |
---|
70 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
71 | fi |
---|
72 | export as_echo_body |
---|
73 | as_echo='sh -c $as_echo_body as_echo' |
---|
74 | fi |
---|
75 | |
---|
76 | # The user is always right. |
---|
77 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
78 | PATH_SEPARATOR=: |
---|
79 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
80 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
81 | PATH_SEPARATOR=';' |
---|
82 | } |
---|
83 | fi |
---|
84 | |
---|
85 | |
---|
86 | # IFS |
---|
87 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
88 | # there to prevent editors from complaining about space-tab. |
---|
89 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
90 | # splitting by setting IFS to empty value.) |
---|
91 | IFS=" "" $as_nl" |
---|
92 | |
---|
93 | # Find who we are. Look in the path if we contain no directory separator. |
---|
94 | as_myself= |
---|
95 | case $0 in #(( |
---|
96 | *[\\/]* ) as_myself=$0 ;; |
---|
97 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
98 | for as_dir in $PATH |
---|
99 | do |
---|
100 | IFS=$as_save_IFS |
---|
101 | test -z "$as_dir" && as_dir=. |
---|
102 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
103 | done |
---|
104 | IFS=$as_save_IFS |
---|
105 | |
---|
106 | ;; |
---|
107 | esac |
---|
108 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
109 | # in which case we are not to be found in the path. |
---|
110 | if test "x$as_myself" = x; then |
---|
111 | as_myself=$0 |
---|
112 | fi |
---|
113 | if test ! -f "$as_myself"; then |
---|
114 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
115 | exit 1 |
---|
116 | fi |
---|
117 | |
---|
118 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
119 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
120 | # suppresses any "Segmentation fault" message there. '((' could |
---|
121 | # trigger a bug in pdksh 5.2.14. |
---|
122 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
123 | do eval test x\${$as_var+set} = xset \ |
---|
124 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
125 | done |
---|
126 | PS1='$ ' |
---|
127 | PS2='> ' |
---|
128 | PS4='+ ' |
---|
129 | |
---|
130 | # NLS nuisances. |
---|
131 | LC_ALL=C |
---|
132 | export LC_ALL |
---|
133 | LANGUAGE=C |
---|
134 | export LANGUAGE |
---|
135 | |
---|
136 | # CDPATH. |
---|
137 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
138 | |
---|
139 | # Use a proper internal environment variable to ensure we don't fall |
---|
140 | # into an infinite loop, continuously re-executing ourselves. |
---|
141 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
---|
142 | _as_can_reexec=no; export _as_can_reexec; |
---|
143 | # We cannot yet assume a decent shell, so we have to provide a |
---|
144 | # neutralization value for shells without unset; and this also |
---|
145 | # works around shells that cannot unset nonexistent variables. |
---|
146 | # Preserve -v and -x to the replacement shell. |
---|
147 | BASH_ENV=/dev/null |
---|
148 | ENV=/dev/null |
---|
149 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
150 | case $- in # (((( |
---|
151 | *v*x* | *x*v* ) as_opts=-vx ;; |
---|
152 | *v* ) as_opts=-v ;; |
---|
153 | *x* ) as_opts=-x ;; |
---|
154 | * ) as_opts= ;; |
---|
155 | esac |
---|
156 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
---|
157 | # Admittedly, this is quite paranoid, since all the known shells bail |
---|
158 | # out after a failed `exec'. |
---|
159 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
---|
160 | as_fn_exit 255 |
---|
161 | fi |
---|
162 | # We don't want this to propagate to other subprocesses. |
---|
163 | { _as_can_reexec=; unset _as_can_reexec;} |
---|
164 | if test "x$CONFIG_SHELL" = x; then |
---|
165 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
---|
166 | emulate sh |
---|
167 | NULLCMD=: |
---|
168 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
---|
169 | # is contrary to our usage. Disable this feature. |
---|
170 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
---|
171 | setopt NO_GLOB_SUBST |
---|
172 | else |
---|
173 | case \`(set -o) 2>/dev/null\` in #( |
---|
174 | *posix*) : |
---|
175 | set -o posix ;; #( |
---|
176 | *) : |
---|
177 | ;; |
---|
178 | esac |
---|
179 | fi |
---|
180 | " |
---|
181 | as_required="as_fn_return () { (exit \$1); } |
---|
182 | as_fn_success () { as_fn_return 0; } |
---|
183 | as_fn_failure () { as_fn_return 1; } |
---|
184 | as_fn_ret_success () { return 0; } |
---|
185 | as_fn_ret_failure () { return 1; } |
---|
186 | |
---|
187 | exitcode=0 |
---|
188 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
---|
189 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
---|
190 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
---|
191 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
---|
192 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
---|
193 | |
---|
194 | else |
---|
195 | exitcode=1; echo positional parameters were not saved. |
---|
196 | fi |
---|
197 | test x\$exitcode = x0 || exit 1 |
---|
198 | test -x / || exit 1" |
---|
199 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
---|
200 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
---|
201 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
---|
202 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
---|
203 | test \$(( 1 + 1 )) = 2 || exit 1" |
---|
204 | if (eval "$as_required") 2>/dev/null; then : |
---|
205 | as_have_required=yes |
---|
206 | else |
---|
207 | as_have_required=no |
---|
208 | fi |
---|
209 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
---|
210 | |
---|
211 | else |
---|
212 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
213 | as_found=false |
---|
214 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
215 | do |
---|
216 | IFS=$as_save_IFS |
---|
217 | test -z "$as_dir" && as_dir=. |
---|
218 | as_found=: |
---|
219 | case $as_dir in #( |
---|
220 | /*) |
---|
221 | for as_base in sh bash ksh sh5; do |
---|
222 | # Try only shells that exist, to save several forks. |
---|
223 | as_shell=$as_dir/$as_base |
---|
224 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
---|
225 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
226 | CONFIG_SHELL=$as_shell as_have_required=yes |
---|
227 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
228 | break 2 |
---|
229 | fi |
---|
230 | fi |
---|
231 | done;; |
---|
232 | esac |
---|
233 | as_found=false |
---|
234 | done |
---|
235 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
---|
236 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
---|
237 | CONFIG_SHELL=$SHELL as_have_required=yes |
---|
238 | fi; } |
---|
239 | IFS=$as_save_IFS |
---|
240 | |
---|
241 | |
---|
242 | if test "x$CONFIG_SHELL" != x; then : |
---|
243 | export CONFIG_SHELL |
---|
244 | # We cannot yet assume a decent shell, so we have to provide a |
---|
245 | # neutralization value for shells without unset; and this also |
---|
246 | # works around shells that cannot unset nonexistent variables. |
---|
247 | # Preserve -v and -x to the replacement shell. |
---|
248 | BASH_ENV=/dev/null |
---|
249 | ENV=/dev/null |
---|
250 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
251 | case $- in # (((( |
---|
252 | *v*x* | *x*v* ) as_opts=-vx ;; |
---|
253 | *v* ) as_opts=-v ;; |
---|
254 | *x* ) as_opts=-x ;; |
---|
255 | * ) as_opts= ;; |
---|
256 | esac |
---|
257 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
---|
258 | # Admittedly, this is quite paranoid, since all the known shells bail |
---|
259 | # out after a failed `exec'. |
---|
260 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
---|
261 | exit 255 |
---|
262 | fi |
---|
263 | |
---|
264 | if test x$as_have_required = xno; then : |
---|
265 | $as_echo "$0: This script requires a shell more modern than all" |
---|
266 | $as_echo "$0: the shells that I found on your system." |
---|
267 | if test x${ZSH_VERSION+set} = xset ; then |
---|
268 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
---|
269 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
---|
270 | else |
---|
271 | $as_echo "$0: Please tell bug-autoconf@gnu.org and |
---|
272 | $0: s.guindon@auckland.ac.nz about your system, including |
---|
273 | $0: any error possibly output before this message. Then |
---|
274 | $0: install a modern shell, or manually run the script |
---|
275 | $0: under such a shell if you do have one." |
---|
276 | fi |
---|
277 | exit 1 |
---|
278 | fi |
---|
279 | fi |
---|
280 | fi |
---|
281 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
282 | export SHELL |
---|
283 | # Unset more variables known to interfere with behavior of common tools. |
---|
284 | CLICOLOR_FORCE= GREP_OPTIONS= |
---|
285 | unset CLICOLOR_FORCE GREP_OPTIONS |
---|
286 | |
---|
287 | ## --------------------- ## |
---|
288 | ## M4sh Shell Functions. ## |
---|
289 | ## --------------------- ## |
---|
290 | # as_fn_unset VAR |
---|
291 | # --------------- |
---|
292 | # Portably unset VAR. |
---|
293 | as_fn_unset () |
---|
294 | { |
---|
295 | { eval $1=; unset $1;} |
---|
296 | } |
---|
297 | as_unset=as_fn_unset |
---|
298 | |
---|
299 | # as_fn_set_status STATUS |
---|
300 | # ----------------------- |
---|
301 | # Set $? to STATUS, without forking. |
---|
302 | as_fn_set_status () |
---|
303 | { |
---|
304 | return $1 |
---|
305 | } # as_fn_set_status |
---|
306 | |
---|
307 | # as_fn_exit STATUS |
---|
308 | # ----------------- |
---|
309 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
310 | as_fn_exit () |
---|
311 | { |
---|
312 | set +e |
---|
313 | as_fn_set_status $1 |
---|
314 | exit $1 |
---|
315 | } # as_fn_exit |
---|
316 | |
---|
317 | # as_fn_mkdir_p |
---|
318 | # ------------- |
---|
319 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
320 | as_fn_mkdir_p () |
---|
321 | { |
---|
322 | |
---|
323 | case $as_dir in #( |
---|
324 | -*) as_dir=./$as_dir;; |
---|
325 | esac |
---|
326 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
327 | as_dirs= |
---|
328 | while :; do |
---|
329 | case $as_dir in #( |
---|
330 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
331 | *) as_qdir=$as_dir;; |
---|
332 | esac |
---|
333 | as_dirs="'$as_qdir' $as_dirs" |
---|
334 | as_dir=`$as_dirname -- "$as_dir" || |
---|
335 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
336 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
337 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
338 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
339 | $as_echo X"$as_dir" | |
---|
340 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
341 | s//\1/ |
---|
342 | q |
---|
343 | } |
---|
344 | /^X\(\/\/\)[^/].*/{ |
---|
345 | s//\1/ |
---|
346 | q |
---|
347 | } |
---|
348 | /^X\(\/\/\)$/{ |
---|
349 | s//\1/ |
---|
350 | q |
---|
351 | } |
---|
352 | /^X\(\/\).*/{ |
---|
353 | s//\1/ |
---|
354 | q |
---|
355 | } |
---|
356 | s/.*/./; q'` |
---|
357 | test -d "$as_dir" && break |
---|
358 | done |
---|
359 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
360 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
361 | |
---|
362 | |
---|
363 | } # as_fn_mkdir_p |
---|
364 | |
---|
365 | # as_fn_executable_p FILE |
---|
366 | # ----------------------- |
---|
367 | # Test if FILE is an executable regular file. |
---|
368 | as_fn_executable_p () |
---|
369 | { |
---|
370 | test -f "$1" && test -x "$1" |
---|
371 | } # as_fn_executable_p |
---|
372 | # as_fn_append VAR VALUE |
---|
373 | # ---------------------- |
---|
374 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
375 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
376 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
377 | # implementations. |
---|
378 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
379 | eval 'as_fn_append () |
---|
380 | { |
---|
381 | eval $1+=\$2 |
---|
382 | }' |
---|
383 | else |
---|
384 | as_fn_append () |
---|
385 | { |
---|
386 | eval $1=\$$1\$2 |
---|
387 | } |
---|
388 | fi # as_fn_append |
---|
389 | |
---|
390 | # as_fn_arith ARG... |
---|
391 | # ------------------ |
---|
392 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
393 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
394 | # must be portable across $(()) and expr. |
---|
395 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
396 | eval 'as_fn_arith () |
---|
397 | { |
---|
398 | as_val=$(( $* )) |
---|
399 | }' |
---|
400 | else |
---|
401 | as_fn_arith () |
---|
402 | { |
---|
403 | as_val=`expr "$@" || test $? -eq 1` |
---|
404 | } |
---|
405 | fi # as_fn_arith |
---|
406 | |
---|
407 | |
---|
408 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
409 | # ---------------------------------------- |
---|
410 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
411 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
412 | # script with STATUS, using 1 if that was 0. |
---|
413 | as_fn_error () |
---|
414 | { |
---|
415 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
416 | if test "$4"; then |
---|
417 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
418 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
419 | fi |
---|
420 | $as_echo "$as_me: error: $2" >&2 |
---|
421 | as_fn_exit $as_status |
---|
422 | } # as_fn_error |
---|
423 | |
---|
424 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
425 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
426 | as_expr=expr |
---|
427 | else |
---|
428 | as_expr=false |
---|
429 | fi |
---|
430 | |
---|
431 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
432 | as_basename=basename |
---|
433 | else |
---|
434 | as_basename=false |
---|
435 | fi |
---|
436 | |
---|
437 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
438 | as_dirname=dirname |
---|
439 | else |
---|
440 | as_dirname=false |
---|
441 | fi |
---|
442 | |
---|
443 | as_me=`$as_basename -- "$0" || |
---|
444 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
445 | X"$0" : 'X\(//\)$' \| \ |
---|
446 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
447 | $as_echo X/"$0" | |
---|
448 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
449 | s//\1/ |
---|
450 | q |
---|
451 | } |
---|
452 | /^X\/\(\/\/\)$/{ |
---|
453 | s//\1/ |
---|
454 | q |
---|
455 | } |
---|
456 | /^X\/\(\/\).*/{ |
---|
457 | s//\1/ |
---|
458 | q |
---|
459 | } |
---|
460 | s/.*/./; q'` |
---|
461 | |
---|
462 | # Avoid depending upon Character Ranges. |
---|
463 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
464 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
465 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
466 | as_cr_digits='0123456789' |
---|
467 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
468 | |
---|
469 | |
---|
470 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
---|
471 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
---|
472 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
---|
473 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
---|
474 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
---|
475 | sed -n ' |
---|
476 | p |
---|
477 | /[$]LINENO/= |
---|
478 | ' <$as_myself | |
---|
479 | sed ' |
---|
480 | s/[$]LINENO.*/&-/ |
---|
481 | t lineno |
---|
482 | b |
---|
483 | :lineno |
---|
484 | N |
---|
485 | :loop |
---|
486 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
487 | t loop |
---|
488 | s/-\n.*// |
---|
489 | ' >$as_me.lineno && |
---|
490 | chmod +x "$as_me.lineno" || |
---|
491 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
---|
492 | |
---|
493 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
---|
494 | # already done that, so ensure we don't try to do so again and fall |
---|
495 | # in an infinite loop. This has already happened in practice. |
---|
496 | _as_can_reexec=no; export _as_can_reexec |
---|
497 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
498 | # (the dirname of $[0] is not the place where we might find the |
---|
499 | # original and so on. Autoconf is especially sensitive to this). |
---|
500 | . "./$as_me.lineno" |
---|
501 | # Exit status is that of the last command. |
---|
502 | exit |
---|
503 | } |
---|
504 | |
---|
505 | ECHO_C= ECHO_N= ECHO_T= |
---|
506 | case `echo -n x` in #((((( |
---|
507 | -n*) |
---|
508 | case `echo 'xy\c'` in |
---|
509 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
510 | xy) ECHO_C='\c';; |
---|
511 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
512 | ECHO_T=' ';; |
---|
513 | esac;; |
---|
514 | *) |
---|
515 | ECHO_N='-n';; |
---|
516 | esac |
---|
517 | |
---|
518 | rm -f conf$$ conf$$.exe conf$$.file |
---|
519 | if test -d conf$$.dir; then |
---|
520 | rm -f conf$$.dir/conf$$.file |
---|
521 | else |
---|
522 | rm -f conf$$.dir |
---|
523 | mkdir conf$$.dir 2>/dev/null |
---|
524 | fi |
---|
525 | if (echo >conf$$.file) 2>/dev/null; then |
---|
526 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
527 | as_ln_s='ln -s' |
---|
528 | # ... but there are two gotchas: |
---|
529 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
530 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
531 | # In both cases, we have to default to `cp -pR'. |
---|
532 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
533 | as_ln_s='cp -pR' |
---|
534 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
535 | as_ln_s=ln |
---|
536 | else |
---|
537 | as_ln_s='cp -pR' |
---|
538 | fi |
---|
539 | else |
---|
540 | as_ln_s='cp -pR' |
---|
541 | fi |
---|
542 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
543 | rmdir conf$$.dir 2>/dev/null |
---|
544 | |
---|
545 | if mkdir -p . 2>/dev/null; then |
---|
546 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
547 | else |
---|
548 | test -d ./-p && rmdir ./-p |
---|
549 | as_mkdir_p=false |
---|
550 | fi |
---|
551 | |
---|
552 | as_test_x='test -x' |
---|
553 | as_executable_p=as_fn_executable_p |
---|
554 | |
---|
555 | # Sed expression to map a string onto a valid CPP name. |
---|
556 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
557 | |
---|
558 | # Sed expression to map a string onto a valid variable name. |
---|
559 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
560 | |
---|
561 | |
---|
562 | test -n "$DJDIR" || exec 7<&0 </dev/null |
---|
563 | exec 6>&1 |
---|
564 | |
---|
565 | # Name of the host. |
---|
566 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
---|
567 | # so uname gets run too. |
---|
568 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
569 | |
---|
570 | # |
---|
571 | # Initializations. |
---|
572 | # |
---|
573 | ac_default_prefix=/usr/local |
---|
574 | ac_clean_files= |
---|
575 | ac_config_libobj_dir=. |
---|
576 | LIBOBJS= |
---|
577 | cross_compiling=no |
---|
578 | subdirs= |
---|
579 | MFLAGS= |
---|
580 | MAKEFLAGS= |
---|
581 | |
---|
582 | # Identity of this package. |
---|
583 | PACKAGE_NAME='PhyML' |
---|
584 | PACKAGE_TARNAME='phyml' |
---|
585 | PACKAGE_VERSION='20130708' |
---|
586 | PACKAGE_STRING='PhyML 20130708' |
---|
587 | PACKAGE_BUGREPORT='s.guindon@auckland.ac.nz' |
---|
588 | PACKAGE_URL='' |
---|
589 | |
---|
590 | ac_unique_file="src/simu.c" |
---|
591 | # Factoring default headers for most tests. |
---|
592 | ac_includes_default="\ |
---|
593 | #include <stdio.h> |
---|
594 | #ifdef HAVE_SYS_TYPES_H |
---|
595 | # include <sys/types.h> |
---|
596 | #endif |
---|
597 | #ifdef HAVE_SYS_STAT_H |
---|
598 | # include <sys/stat.h> |
---|
599 | #endif |
---|
600 | #ifdef STDC_HEADERS |
---|
601 | # include <stdlib.h> |
---|
602 | # include <stddef.h> |
---|
603 | #else |
---|
604 | # ifdef HAVE_STDLIB_H |
---|
605 | # include <stdlib.h> |
---|
606 | # endif |
---|
607 | #endif |
---|
608 | #ifdef HAVE_STRING_H |
---|
609 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
---|
610 | # include <memory.h> |
---|
611 | # endif |
---|
612 | # include <string.h> |
---|
613 | #endif |
---|
614 | #ifdef HAVE_STRINGS_H |
---|
615 | # include <strings.h> |
---|
616 | #endif |
---|
617 | #ifdef HAVE_INTTYPES_H |
---|
618 | # include <inttypes.h> |
---|
619 | #endif |
---|
620 | #ifdef HAVE_STDINT_H |
---|
621 | # include <stdint.h> |
---|
622 | #endif |
---|
623 | #ifdef HAVE_UNISTD_H |
---|
624 | # include <unistd.h> |
---|
625 | #endif" |
---|
626 | |
---|
627 | ac_subst_vars='am__EXEEXT_FALSE |
---|
628 | am__EXEEXT_TRUE |
---|
629 | LTLIBOBJS |
---|
630 | WANT_CHECKPOINT_FALSE |
---|
631 | WANT_CHECKPOINT_TRUE |
---|
632 | WANT_GEO_FALSE |
---|
633 | WANT_GEO_TRUE |
---|
634 | WANT_SERGEII_FALSE |
---|
635 | WANT_SERGEII_TRUE |
---|
636 | WANT_EVOLVE_FALSE |
---|
637 | WANT_EVOLVE_TRUE |
---|
638 | WANT_TEST_FALSE |
---|
639 | WANT_TEST_TRUE |
---|
640 | WANT_RF_FALSE |
---|
641 | WANT_RF_TRUE |
---|
642 | WANT_M4_FALSE |
---|
643 | WANT_M4_TRUE |
---|
644 | WANT_PHYCONT_FALSE |
---|
645 | WANT_PHYCONT_TRUE |
---|
646 | WANT_RWRAP_FALSE |
---|
647 | WANT_RWRAP_TRUE |
---|
648 | WANT_PART_FALSE |
---|
649 | WANT_PART_TRUE |
---|
650 | WANT_TIPORDER_FALSE |
---|
651 | WANT_TIPORDER_TRUE |
---|
652 | WANT_PHYTIME_FALSE |
---|
653 | WANT_PHYTIME_TRUE |
---|
654 | WANT_MPI_FALSE |
---|
655 | WANT_MPI_TRUE |
---|
656 | LIBOBJS |
---|
657 | HAVE_PDFLATEX_FALSE |
---|
658 | HAVE_PDFLATEX_TRUE |
---|
659 | LATEX |
---|
660 | PDFLATEX |
---|
661 | EGREP |
---|
662 | GREP |
---|
663 | CPP |
---|
664 | am__fastdepCC_FALSE |
---|
665 | am__fastdepCC_TRUE |
---|
666 | CCDEPMODE |
---|
667 | am__nodep |
---|
668 | AMDEPBACKSLASH |
---|
669 | AMDEP_FALSE |
---|
670 | AMDEP_TRUE |
---|
671 | am__quote |
---|
672 | am__include |
---|
673 | DEPDIR |
---|
674 | OBJEXT |
---|
675 | EXEEXT |
---|
676 | ac_ct_CC |
---|
677 | CPPFLAGS |
---|
678 | LDFLAGS |
---|
679 | CFLAGS |
---|
680 | CC |
---|
681 | host_os |
---|
682 | host_vendor |
---|
683 | host_cpu |
---|
684 | host |
---|
685 | build_os |
---|
686 | build_vendor |
---|
687 | build_cpu |
---|
688 | build |
---|
689 | AM_BACKSLASH |
---|
690 | AM_DEFAULT_VERBOSITY |
---|
691 | AM_DEFAULT_V |
---|
692 | AM_V |
---|
693 | am__untar |
---|
694 | am__tar |
---|
695 | AMTAR |
---|
696 | am__leading_dot |
---|
697 | SET_MAKE |
---|
698 | AWK |
---|
699 | mkdir_p |
---|
700 | MKDIR_P |
---|
701 | INSTALL_STRIP_PROGRAM |
---|
702 | STRIP |
---|
703 | install_sh |
---|
704 | MAKEINFO |
---|
705 | AUTOHEADER |
---|
706 | AUTOMAKE |
---|
707 | AUTOCONF |
---|
708 | ACLOCAL |
---|
709 | VERSION |
---|
710 | PACKAGE |
---|
711 | CYGPATH_W |
---|
712 | am__isrc |
---|
713 | INSTALL_DATA |
---|
714 | INSTALL_SCRIPT |
---|
715 | INSTALL_PROGRAM |
---|
716 | target_alias |
---|
717 | host_alias |
---|
718 | build_alias |
---|
719 | LIBS |
---|
720 | ECHO_T |
---|
721 | ECHO_N |
---|
722 | ECHO_C |
---|
723 | DEFS |
---|
724 | mandir |
---|
725 | localedir |
---|
726 | libdir |
---|
727 | psdir |
---|
728 | pdfdir |
---|
729 | dvidir |
---|
730 | htmldir |
---|
731 | infodir |
---|
732 | docdir |
---|
733 | oldincludedir |
---|
734 | includedir |
---|
735 | localstatedir |
---|
736 | sharedstatedir |
---|
737 | sysconfdir |
---|
738 | datadir |
---|
739 | datarootdir |
---|
740 | libexecdir |
---|
741 | sbindir |
---|
742 | bindir |
---|
743 | program_transform_name |
---|
744 | prefix |
---|
745 | exec_prefix |
---|
746 | PACKAGE_URL |
---|
747 | PACKAGE_BUGREPORT |
---|
748 | PACKAGE_STRING |
---|
749 | PACKAGE_VERSION |
---|
750 | PACKAGE_TARNAME |
---|
751 | PACKAGE_NAME |
---|
752 | PATH_SEPARATOR |
---|
753 | SHELL' |
---|
754 | ac_subst_files='' |
---|
755 | ac_user_opts=' |
---|
756 | enable_option_checking |
---|
757 | enable_silent_rules |
---|
758 | enable_dependency_tracking |
---|
759 | enable_debug |
---|
760 | enable_gprof |
---|
761 | enable_mpi |
---|
762 | enable_win |
---|
763 | enable_phytime |
---|
764 | enable_tiporder |
---|
765 | enable_part |
---|
766 | enable_rwrap |
---|
767 | enable_phycont |
---|
768 | enable_m4 |
---|
769 | enable_rf |
---|
770 | enable_test |
---|
771 | enable_evolve |
---|
772 | enable_sergeii |
---|
773 | enable_geo |
---|
774 | enable_checkpoint |
---|
775 | ' |
---|
776 | ac_precious_vars='build_alias |
---|
777 | host_alias |
---|
778 | target_alias |
---|
779 | CC |
---|
780 | CFLAGS |
---|
781 | LDFLAGS |
---|
782 | LIBS |
---|
783 | CPPFLAGS |
---|
784 | CPP' |
---|
785 | |
---|
786 | |
---|
787 | # Initialize some variables set by options. |
---|
788 | ac_init_help= |
---|
789 | ac_init_version=false |
---|
790 | ac_unrecognized_opts= |
---|
791 | ac_unrecognized_sep= |
---|
792 | # The variables have the same names as the options, with |
---|
793 | # dashes changed to underlines. |
---|
794 | cache_file=/dev/null |
---|
795 | exec_prefix=NONE |
---|
796 | no_create= |
---|
797 | no_recursion= |
---|
798 | prefix=NONE |
---|
799 | program_prefix=NONE |
---|
800 | program_suffix=NONE |
---|
801 | program_transform_name=s,x,x, |
---|
802 | silent= |
---|
803 | site= |
---|
804 | srcdir= |
---|
805 | verbose= |
---|
806 | x_includes=NONE |
---|
807 | x_libraries=NONE |
---|
808 | |
---|
809 | # Installation directory options. |
---|
810 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
811 | # and all the variables that are supposed to be based on exec_prefix |
---|
812 | # by default will actually change. |
---|
813 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
814 | # (The list follows the same order as the GNU Coding Standards.) |
---|
815 | bindir='${exec_prefix}/bin' |
---|
816 | sbindir='${exec_prefix}/sbin' |
---|
817 | libexecdir='${exec_prefix}/libexec' |
---|
818 | datarootdir='${prefix}/share' |
---|
819 | datadir='${datarootdir}' |
---|
820 | sysconfdir='${prefix}/etc' |
---|
821 | sharedstatedir='${prefix}/com' |
---|
822 | localstatedir='${prefix}/var' |
---|
823 | includedir='${prefix}/include' |
---|
824 | oldincludedir='/usr/include' |
---|
825 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
---|
826 | infodir='${datarootdir}/info' |
---|
827 | htmldir='${docdir}' |
---|
828 | dvidir='${docdir}' |
---|
829 | pdfdir='${docdir}' |
---|
830 | psdir='${docdir}' |
---|
831 | libdir='${exec_prefix}/lib' |
---|
832 | localedir='${datarootdir}/locale' |
---|
833 | mandir='${datarootdir}/man' |
---|
834 | |
---|
835 | ac_prev= |
---|
836 | ac_dashdash= |
---|
837 | for ac_option |
---|
838 | do |
---|
839 | # If the previous option needs an argument, assign it. |
---|
840 | if test -n "$ac_prev"; then |
---|
841 | eval $ac_prev=\$ac_option |
---|
842 | ac_prev= |
---|
843 | continue |
---|
844 | fi |
---|
845 | |
---|
846 | case $ac_option in |
---|
847 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
848 | *=) ac_optarg= ;; |
---|
849 | *) ac_optarg=yes ;; |
---|
850 | esac |
---|
851 | |
---|
852 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
853 | |
---|
854 | case $ac_dashdash$ac_option in |
---|
855 | --) |
---|
856 | ac_dashdash=yes ;; |
---|
857 | |
---|
858 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
859 | ac_prev=bindir ;; |
---|
860 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
861 | bindir=$ac_optarg ;; |
---|
862 | |
---|
863 | -build | --build | --buil | --bui | --bu) |
---|
864 | ac_prev=build_alias ;; |
---|
865 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
866 | build_alias=$ac_optarg ;; |
---|
867 | |
---|
868 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
869 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
870 | ac_prev=cache_file ;; |
---|
871 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
872 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
873 | cache_file=$ac_optarg ;; |
---|
874 | |
---|
875 | --config-cache | -C) |
---|
876 | cache_file=config.cache ;; |
---|
877 | |
---|
878 | -datadir | --datadir | --datadi | --datad) |
---|
879 | ac_prev=datadir ;; |
---|
880 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
881 | datadir=$ac_optarg ;; |
---|
882 | |
---|
883 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
884 | | --dataroo | --dataro | --datar) |
---|
885 | ac_prev=datarootdir ;; |
---|
886 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
887 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
888 | datarootdir=$ac_optarg ;; |
---|
889 | |
---|
890 | -disable-* | --disable-*) |
---|
891 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
892 | # Reject names that are not valid shell variable names. |
---|
893 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
894 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
895 | ac_useropt_orig=$ac_useropt |
---|
896 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
897 | case $ac_user_opts in |
---|
898 | *" |
---|
899 | "enable_$ac_useropt" |
---|
900 | "*) ;; |
---|
901 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
---|
902 | ac_unrecognized_sep=', ';; |
---|
903 | esac |
---|
904 | eval enable_$ac_useropt=no ;; |
---|
905 | |
---|
906 | -docdir | --docdir | --docdi | --doc | --do) |
---|
907 | ac_prev=docdir ;; |
---|
908 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
909 | docdir=$ac_optarg ;; |
---|
910 | |
---|
911 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
912 | ac_prev=dvidir ;; |
---|
913 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
914 | dvidir=$ac_optarg ;; |
---|
915 | |
---|
916 | -enable-* | --enable-*) |
---|
917 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
918 | # Reject names that are not valid shell variable names. |
---|
919 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
920 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
921 | ac_useropt_orig=$ac_useropt |
---|
922 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
923 | case $ac_user_opts in |
---|
924 | *" |
---|
925 | "enable_$ac_useropt" |
---|
926 | "*) ;; |
---|
927 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
---|
928 | ac_unrecognized_sep=', ';; |
---|
929 | esac |
---|
930 | eval enable_$ac_useropt=\$ac_optarg ;; |
---|
931 | |
---|
932 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
933 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
934 | | --exec | --exe | --ex) |
---|
935 | ac_prev=exec_prefix ;; |
---|
936 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
937 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
938 | | --exec=* | --exe=* | --ex=*) |
---|
939 | exec_prefix=$ac_optarg ;; |
---|
940 | |
---|
941 | -gas | --gas | --ga | --g) |
---|
942 | # Obsolete; use --with-gas. |
---|
943 | with_gas=yes ;; |
---|
944 | |
---|
945 | -help | --help | --hel | --he | -h) |
---|
946 | ac_init_help=long ;; |
---|
947 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
948 | ac_init_help=recursive ;; |
---|
949 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
950 | ac_init_help=short ;; |
---|
951 | |
---|
952 | -host | --host | --hos | --ho) |
---|
953 | ac_prev=host_alias ;; |
---|
954 | -host=* | --host=* | --hos=* | --ho=*) |
---|
955 | host_alias=$ac_optarg ;; |
---|
956 | |
---|
957 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
958 | ac_prev=htmldir ;; |
---|
959 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
960 | | --ht=*) |
---|
961 | htmldir=$ac_optarg ;; |
---|
962 | |
---|
963 | -includedir | --includedir | --includedi | --included | --include \ |
---|
964 | | --includ | --inclu | --incl | --inc) |
---|
965 | ac_prev=includedir ;; |
---|
966 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
967 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
968 | includedir=$ac_optarg ;; |
---|
969 | |
---|
970 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
971 | ac_prev=infodir ;; |
---|
972 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
973 | infodir=$ac_optarg ;; |
---|
974 | |
---|
975 | -libdir | --libdir | --libdi | --libd) |
---|
976 | ac_prev=libdir ;; |
---|
977 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
978 | libdir=$ac_optarg ;; |
---|
979 | |
---|
980 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
981 | | --libexe | --libex | --libe) |
---|
982 | ac_prev=libexecdir ;; |
---|
983 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
984 | | --libexe=* | --libex=* | --libe=*) |
---|
985 | libexecdir=$ac_optarg ;; |
---|
986 | |
---|
987 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
988 | ac_prev=localedir ;; |
---|
989 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
990 | localedir=$ac_optarg ;; |
---|
991 | |
---|
992 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
993 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
994 | ac_prev=localstatedir ;; |
---|
995 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
996 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
997 | localstatedir=$ac_optarg ;; |
---|
998 | |
---|
999 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
1000 | ac_prev=mandir ;; |
---|
1001 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
1002 | mandir=$ac_optarg ;; |
---|
1003 | |
---|
1004 | -nfp | --nfp | --nf) |
---|
1005 | # Obsolete; use --without-fp. |
---|
1006 | with_fp=no ;; |
---|
1007 | |
---|
1008 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
1009 | | --no-cr | --no-c | -n) |
---|
1010 | no_create=yes ;; |
---|
1011 | |
---|
1012 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
1013 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
1014 | no_recursion=yes ;; |
---|
1015 | |
---|
1016 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
1017 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
1018 | | --oldin | --oldi | --old | --ol | --o) |
---|
1019 | ac_prev=oldincludedir ;; |
---|
1020 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
1021 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
1022 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
1023 | oldincludedir=$ac_optarg ;; |
---|
1024 | |
---|
1025 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
1026 | ac_prev=prefix ;; |
---|
1027 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
1028 | prefix=$ac_optarg ;; |
---|
1029 | |
---|
1030 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
1031 | | --program-pre | --program-pr | --program-p) |
---|
1032 | ac_prev=program_prefix ;; |
---|
1033 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
1034 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
1035 | program_prefix=$ac_optarg ;; |
---|
1036 | |
---|
1037 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
1038 | | --program-suf | --program-su | --program-s) |
---|
1039 | ac_prev=program_suffix ;; |
---|
1040 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
1041 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
1042 | program_suffix=$ac_optarg ;; |
---|
1043 | |
---|
1044 | -program-transform-name | --program-transform-name \ |
---|
1045 | | --program-transform-nam | --program-transform-na \ |
---|
1046 | | --program-transform-n | --program-transform- \ |
---|
1047 | | --program-transform | --program-transfor \ |
---|
1048 | | --program-transfo | --program-transf \ |
---|
1049 | | --program-trans | --program-tran \ |
---|
1050 | | --progr-tra | --program-tr | --program-t) |
---|
1051 | ac_prev=program_transform_name ;; |
---|
1052 | -program-transform-name=* | --program-transform-name=* \ |
---|
1053 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
1054 | | --program-transform-n=* | --program-transform-=* \ |
---|
1055 | | --program-transform=* | --program-transfor=* \ |
---|
1056 | | --program-transfo=* | --program-transf=* \ |
---|
1057 | | --program-trans=* | --program-tran=* \ |
---|
1058 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
1059 | program_transform_name=$ac_optarg ;; |
---|
1060 | |
---|
1061 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
1062 | ac_prev=pdfdir ;; |
---|
1063 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
1064 | pdfdir=$ac_optarg ;; |
---|
1065 | |
---|
1066 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
1067 | ac_prev=psdir ;; |
---|
1068 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
1069 | psdir=$ac_optarg ;; |
---|
1070 | |
---|
1071 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1072 | | -silent | --silent | --silen | --sile | --sil) |
---|
1073 | silent=yes ;; |
---|
1074 | |
---|
1075 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
1076 | ac_prev=sbindir ;; |
---|
1077 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
1078 | | --sbi=* | --sb=*) |
---|
1079 | sbindir=$ac_optarg ;; |
---|
1080 | |
---|
1081 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
1082 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
1083 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
1084 | | --sha | --sh) |
---|
1085 | ac_prev=sharedstatedir ;; |
---|
1086 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
1087 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
1088 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
1089 | | --sha=* | --sh=*) |
---|
1090 | sharedstatedir=$ac_optarg ;; |
---|
1091 | |
---|
1092 | -site | --site | --sit) |
---|
1093 | ac_prev=site ;; |
---|
1094 | -site=* | --site=* | --sit=*) |
---|
1095 | site=$ac_optarg ;; |
---|
1096 | |
---|
1097 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
1098 | ac_prev=srcdir ;; |
---|
1099 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
1100 | srcdir=$ac_optarg ;; |
---|
1101 | |
---|
1102 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
1103 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
1104 | ac_prev=sysconfdir ;; |
---|
1105 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
1106 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
1107 | sysconfdir=$ac_optarg ;; |
---|
1108 | |
---|
1109 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
1110 | ac_prev=target_alias ;; |
---|
1111 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
1112 | target_alias=$ac_optarg ;; |
---|
1113 | |
---|
1114 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
1115 | verbose=yes ;; |
---|
1116 | |
---|
1117 | -version | --version | --versio | --versi | --vers | -V) |
---|
1118 | ac_init_version=: ;; |
---|
1119 | |
---|
1120 | -with-* | --with-*) |
---|
1121 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
1122 | # Reject names that are not valid shell variable names. |
---|
1123 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
1124 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
1125 | ac_useropt_orig=$ac_useropt |
---|
1126 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
1127 | case $ac_user_opts in |
---|
1128 | *" |
---|
1129 | "with_$ac_useropt" |
---|
1130 | "*) ;; |
---|
1131 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
---|
1132 | ac_unrecognized_sep=', ';; |
---|
1133 | esac |
---|
1134 | eval with_$ac_useropt=\$ac_optarg ;; |
---|
1135 | |
---|
1136 | -without-* | --without-*) |
---|
1137 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
1138 | # Reject names that are not valid shell variable names. |
---|
1139 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
1140 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
1141 | ac_useropt_orig=$ac_useropt |
---|
1142 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
1143 | case $ac_user_opts in |
---|
1144 | *" |
---|
1145 | "with_$ac_useropt" |
---|
1146 | "*) ;; |
---|
1147 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
---|
1148 | ac_unrecognized_sep=', ';; |
---|
1149 | esac |
---|
1150 | eval with_$ac_useropt=no ;; |
---|
1151 | |
---|
1152 | --x) |
---|
1153 | # Obsolete; use --with-x. |
---|
1154 | with_x=yes ;; |
---|
1155 | |
---|
1156 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
1157 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
1158 | ac_prev=x_includes ;; |
---|
1159 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
1160 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
1161 | x_includes=$ac_optarg ;; |
---|
1162 | |
---|
1163 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
1164 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
1165 | ac_prev=x_libraries ;; |
---|
1166 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
1167 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
1168 | x_libraries=$ac_optarg ;; |
---|
1169 | |
---|
1170 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
---|
1171 | Try \`$0 --help' for more information" |
---|
1172 | ;; |
---|
1173 | |
---|
1174 | *=*) |
---|
1175 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
1176 | # Reject names that are not valid shell variable names. |
---|
1177 | case $ac_envvar in #( |
---|
1178 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
---|
1179 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
---|
1180 | esac |
---|
1181 | eval $ac_envvar=\$ac_optarg |
---|
1182 | export $ac_envvar ;; |
---|
1183 | |
---|
1184 | *) |
---|
1185 | # FIXME: should be removed in autoconf 3.0. |
---|
1186 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
1187 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
1188 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
1189 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
---|
1190 | ;; |
---|
1191 | |
---|
1192 | esac |
---|
1193 | done |
---|
1194 | |
---|
1195 | if test -n "$ac_prev"; then |
---|
1196 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
1197 | as_fn_error $? "missing argument to $ac_option" |
---|
1198 | fi |
---|
1199 | |
---|
1200 | if test -n "$ac_unrecognized_opts"; then |
---|
1201 | case $enable_option_checking in |
---|
1202 | no) ;; |
---|
1203 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
---|
1204 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
---|
1205 | esac |
---|
1206 | fi |
---|
1207 | |
---|
1208 | # Check all directory arguments for consistency. |
---|
1209 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
1210 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
1211 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
1212 | libdir localedir mandir |
---|
1213 | do |
---|
1214 | eval ac_val=\$$ac_var |
---|
1215 | # Remove trailing slashes. |
---|
1216 | case $ac_val in |
---|
1217 | */ ) |
---|
1218 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
---|
1219 | eval $ac_var=\$ac_val;; |
---|
1220 | esac |
---|
1221 | # Be sure to have absolute directory names. |
---|
1222 | case $ac_val in |
---|
1223 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
1224 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
1225 | esac |
---|
1226 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
---|
1227 | done |
---|
1228 | |
---|
1229 | # There might be people who depend on the old broken behavior: `$host' |
---|
1230 | # used to hold the argument of --host etc. |
---|
1231 | # FIXME: To remove some day. |
---|
1232 | build=$build_alias |
---|
1233 | host=$host_alias |
---|
1234 | target=$target_alias |
---|
1235 | |
---|
1236 | # FIXME: To remove some day. |
---|
1237 | if test "x$host_alias" != x; then |
---|
1238 | if test "x$build_alias" = x; then |
---|
1239 | cross_compiling=maybe |
---|
1240 | elif test "x$build_alias" != "x$host_alias"; then |
---|
1241 | cross_compiling=yes |
---|
1242 | fi |
---|
1243 | fi |
---|
1244 | |
---|
1245 | ac_tool_prefix= |
---|
1246 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
1247 | |
---|
1248 | test "$silent" = yes && exec 6>/dev/null |
---|
1249 | |
---|
1250 | |
---|
1251 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
1252 | ac_ls_di=`ls -di .` && |
---|
1253 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
1254 | as_fn_error $? "working directory cannot be determined" |
---|
1255 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
1256 | as_fn_error $? "pwd does not report name of working directory" |
---|
1257 | |
---|
1258 | |
---|
1259 | # Find the source files, if location was not specified. |
---|
1260 | if test -z "$srcdir"; then |
---|
1261 | ac_srcdir_defaulted=yes |
---|
1262 | # Try the directory containing this script, then the parent directory. |
---|
1263 | ac_confdir=`$as_dirname -- "$as_myself" || |
---|
1264 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
1265 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
---|
1266 | X"$as_myself" : 'X\(//\)$' \| \ |
---|
1267 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
---|
1268 | $as_echo X"$as_myself" | |
---|
1269 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
1270 | s//\1/ |
---|
1271 | q |
---|
1272 | } |
---|
1273 | /^X\(\/\/\)[^/].*/{ |
---|
1274 | s//\1/ |
---|
1275 | q |
---|
1276 | } |
---|
1277 | /^X\(\/\/\)$/{ |
---|
1278 | s//\1/ |
---|
1279 | q |
---|
1280 | } |
---|
1281 | /^X\(\/\).*/{ |
---|
1282 | s//\1/ |
---|
1283 | q |
---|
1284 | } |
---|
1285 | s/.*/./; q'` |
---|
1286 | srcdir=$ac_confdir |
---|
1287 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1288 | srcdir=.. |
---|
1289 | fi |
---|
1290 | else |
---|
1291 | ac_srcdir_defaulted=no |
---|
1292 | fi |
---|
1293 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1294 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
1295 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
---|
1296 | fi |
---|
1297 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
1298 | ac_abs_confdir=`( |
---|
1299 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
---|
1300 | pwd)` |
---|
1301 | # When building in place, set srcdir=. |
---|
1302 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
1303 | srcdir=. |
---|
1304 | fi |
---|
1305 | # Remove unnecessary trailing slashes from srcdir. |
---|
1306 | # Double slashes in file names in object file debugging info |
---|
1307 | # mess up M-x gdb in Emacs. |
---|
1308 | case $srcdir in |
---|
1309 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
1310 | esac |
---|
1311 | for ac_var in $ac_precious_vars; do |
---|
1312 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
1313 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
1314 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
1315 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
1316 | done |
---|
1317 | |
---|
1318 | # |
---|
1319 | # Report the --help message. |
---|
1320 | # |
---|
1321 | if test "$ac_init_help" = "long"; then |
---|
1322 | # Omit some internal or obsolete options to make the list less imposing. |
---|
1323 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
1324 | cat <<_ACEOF |
---|
1325 | \`configure' configures PhyML 20130708 to adapt to many kinds of systems. |
---|
1326 | |
---|
1327 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
1328 | |
---|
1329 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
1330 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
1331 | |
---|
1332 | Defaults for the options are specified in brackets. |
---|
1333 | |
---|
1334 | Configuration: |
---|
1335 | -h, --help display this help and exit |
---|
1336 | --help=short display options specific to this package |
---|
1337 | --help=recursive display the short help of all the included packages |
---|
1338 | -V, --version display version information and exit |
---|
1339 | -q, --quiet, --silent do not print \`checking ...' messages |
---|
1340 | --cache-file=FILE cache test results in FILE [disabled] |
---|
1341 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
1342 | -n, --no-create do not create output files |
---|
1343 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
1344 | |
---|
1345 | Installation directories: |
---|
1346 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
1347 | [$ac_default_prefix] |
---|
1348 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
1349 | [PREFIX] |
---|
1350 | |
---|
1351 | By default, \`make install' will install all the files in |
---|
1352 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
1353 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
1354 | for instance \`--prefix=\$HOME'. |
---|
1355 | |
---|
1356 | For better control, use the options below. |
---|
1357 | |
---|
1358 | Fine tuning of the installation directories: |
---|
1359 | --bindir=DIR user executables [EPREFIX/bin] |
---|
1360 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
1361 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
1362 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
1363 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
1364 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
1365 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
1366 | --includedir=DIR C header files [PREFIX/include] |
---|
1367 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
1368 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
1369 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
1370 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
1371 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
1372 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
1373 | --docdir=DIR documentation root [DATAROOTDIR/doc/phyml] |
---|
1374 | --htmldir=DIR html documentation [DOCDIR] |
---|
1375 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
1376 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
1377 | --psdir=DIR ps documentation [DOCDIR] |
---|
1378 | _ACEOF |
---|
1379 | |
---|
1380 | cat <<\_ACEOF |
---|
1381 | |
---|
1382 | Program names: |
---|
1383 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
1384 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
1385 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
---|
1386 | |
---|
1387 | System types: |
---|
1388 | --build=BUILD configure for building on BUILD [guessed] |
---|
1389 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
---|
1390 | _ACEOF |
---|
1391 | fi |
---|
1392 | |
---|
1393 | if test -n "$ac_init_help"; then |
---|
1394 | case $ac_init_help in |
---|
1395 | short | recursive ) echo "Configuration of PhyML 20130708:";; |
---|
1396 | esac |
---|
1397 | cat <<\_ACEOF |
---|
1398 | |
---|
1399 | Optional Features: |
---|
1400 | --disable-option-checking ignore unrecognized --enable/--with options |
---|
1401 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
1402 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
1403 | --enable-silent-rules less verbose build output (undo: `make V=1') |
---|
1404 | --disable-silent-rules verbose build output (undo: `make V=0') |
---|
1405 | --disable-dependency-tracking speeds up one-time build |
---|
1406 | --enable-dependency-tracking do not reject slow dependency extractors |
---|
1407 | --enable-debug Remove optimization options and add debug |
---|
1408 | informations. |
---|
1409 | --enable-gprof Remove optimization options and add profiling |
---|
1410 | informations. |
---|
1411 | --enable-mpi Compile with mpicc instead of gcc. |
---|
1412 | --enable-win Compile with mingw instead of gcc. |
---|
1413 | --enable-phytime Compile PhyTime |
---|
1414 | --enable-tiporder Compile tiporder |
---|
1415 | --enable-part Compile Part |
---|
1416 | --enable-rwrap Compile Rwrap |
---|
1417 | --enable-phycont Compile PhyCont |
---|
1418 | --enable-m4 Compile M4 |
---|
1419 | --enable-rf Compile RF |
---|
1420 | --enable-test Compile test |
---|
1421 | --enable-evolve Compile evolve |
---|
1422 | --enable-sergeii Compile sergeii |
---|
1423 | --enable-geo Compile geo |
---|
1424 | --enable-checkpoint Compile checkpoint |
---|
1425 | |
---|
1426 | Some influential environment variables: |
---|
1427 | CC C compiler command |
---|
1428 | CFLAGS C compiler flags |
---|
1429 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
1430 | nonstandard directory <lib dir> |
---|
1431 | LIBS libraries to pass to the linker, e.g. -l<library> |
---|
1432 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
---|
1433 | you have headers in a nonstandard directory <include dir> |
---|
1434 | CPP C preprocessor |
---|
1435 | |
---|
1436 | Use these variables to override the choices made by `configure' or to help |
---|
1437 | it to find libraries and programs with nonstandard names/locations. |
---|
1438 | |
---|
1439 | Report bugs to <s.guindon@auckland.ac.nz>. |
---|
1440 | _ACEOF |
---|
1441 | ac_status=$? |
---|
1442 | fi |
---|
1443 | |
---|
1444 | if test "$ac_init_help" = "recursive"; then |
---|
1445 | # If there are subdirs, report their specific --help. |
---|
1446 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
1447 | test -d "$ac_dir" || |
---|
1448 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
---|
1449 | continue |
---|
1450 | ac_builddir=. |
---|
1451 | |
---|
1452 | case "$ac_dir" in |
---|
1453 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1454 | *) |
---|
1455 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
1456 | # A ".." for each directory in $ac_dir_suffix. |
---|
1457 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
1458 | case $ac_top_builddir_sub in |
---|
1459 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1460 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
1461 | esac ;; |
---|
1462 | esac |
---|
1463 | ac_abs_top_builddir=$ac_pwd |
---|
1464 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
1465 | # for backward compatibility: |
---|
1466 | ac_top_builddir=$ac_top_build_prefix |
---|
1467 | |
---|
1468 | case $srcdir in |
---|
1469 | .) # We are building in place. |
---|
1470 | ac_srcdir=. |
---|
1471 | ac_top_srcdir=$ac_top_builddir_sub |
---|
1472 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
1473 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
1474 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
1475 | ac_top_srcdir=$srcdir |
---|
1476 | ac_abs_top_srcdir=$srcdir ;; |
---|
1477 | *) # Relative name. |
---|
1478 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
1479 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
1480 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
1481 | esac |
---|
1482 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
1483 | |
---|
1484 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
1485 | # Check for guested configure. |
---|
1486 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
1487 | echo && |
---|
1488 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
1489 | elif test -f "$ac_srcdir/configure"; then |
---|
1490 | echo && |
---|
1491 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
1492 | else |
---|
1493 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
1494 | fi || ac_status=$? |
---|
1495 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
1496 | done |
---|
1497 | fi |
---|
1498 | |
---|
1499 | test -n "$ac_init_help" && exit $ac_status |
---|
1500 | if $ac_init_version; then |
---|
1501 | cat <<\_ACEOF |
---|
1502 | PhyML configure 20130708 |
---|
1503 | generated by GNU Autoconf 2.69 |
---|
1504 | |
---|
1505 | Copyright (C) 2012 Free Software Foundation, Inc. |
---|
1506 | This configure script is free software; the Free Software Foundation |
---|
1507 | gives unlimited permission to copy, distribute and modify it. |
---|
1508 | _ACEOF |
---|
1509 | exit |
---|
1510 | fi |
---|
1511 | |
---|
1512 | ## ------------------------ ## |
---|
1513 | ## Autoconf initialization. ## |
---|
1514 | ## ------------------------ ## |
---|
1515 | |
---|
1516 | # ac_fn_c_try_compile LINENO |
---|
1517 | # -------------------------- |
---|
1518 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
---|
1519 | ac_fn_c_try_compile () |
---|
1520 | { |
---|
1521 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1522 | rm -f conftest.$ac_objext |
---|
1523 | if { { ac_try="$ac_compile" |
---|
1524 | case "(($ac_try" in |
---|
1525 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1526 | *) ac_try_echo=$ac_try;; |
---|
1527 | esac |
---|
1528 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1529 | $as_echo "$ac_try_echo"; } >&5 |
---|
1530 | (eval "$ac_compile") 2>conftest.err |
---|
1531 | ac_status=$? |
---|
1532 | if test -s conftest.err; then |
---|
1533 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
1534 | cat conftest.er1 >&5 |
---|
1535 | mv -f conftest.er1 conftest.err |
---|
1536 | fi |
---|
1537 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1538 | test $ac_status = 0; } && { |
---|
1539 | test -z "$ac_c_werror_flag" || |
---|
1540 | test ! -s conftest.err |
---|
1541 | } && test -s conftest.$ac_objext; then : |
---|
1542 | ac_retval=0 |
---|
1543 | else |
---|
1544 | $as_echo "$as_me: failed program was:" >&5 |
---|
1545 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1546 | |
---|
1547 | ac_retval=1 |
---|
1548 | fi |
---|
1549 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1550 | as_fn_set_status $ac_retval |
---|
1551 | |
---|
1552 | } # ac_fn_c_try_compile |
---|
1553 | |
---|
1554 | # ac_fn_c_try_link LINENO |
---|
1555 | # ----------------------- |
---|
1556 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
---|
1557 | ac_fn_c_try_link () |
---|
1558 | { |
---|
1559 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1560 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
1561 | if { { ac_try="$ac_link" |
---|
1562 | case "(($ac_try" in |
---|
1563 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1564 | *) ac_try_echo=$ac_try;; |
---|
1565 | esac |
---|
1566 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1567 | $as_echo "$ac_try_echo"; } >&5 |
---|
1568 | (eval "$ac_link") 2>conftest.err |
---|
1569 | ac_status=$? |
---|
1570 | if test -s conftest.err; then |
---|
1571 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
1572 | cat conftest.er1 >&5 |
---|
1573 | mv -f conftest.er1 conftest.err |
---|
1574 | fi |
---|
1575 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1576 | test $ac_status = 0; } && { |
---|
1577 | test -z "$ac_c_werror_flag" || |
---|
1578 | test ! -s conftest.err |
---|
1579 | } && test -s conftest$ac_exeext && { |
---|
1580 | test "$cross_compiling" = yes || |
---|
1581 | test -x conftest$ac_exeext |
---|
1582 | }; then : |
---|
1583 | ac_retval=0 |
---|
1584 | else |
---|
1585 | $as_echo "$as_me: failed program was:" >&5 |
---|
1586 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1587 | |
---|
1588 | ac_retval=1 |
---|
1589 | fi |
---|
1590 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
---|
1591 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
---|
1592 | # interfere with the next link command; also delete a directory that is |
---|
1593 | # left behind by Apple's compiler. We do this before executing the actions. |
---|
1594 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
---|
1595 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1596 | as_fn_set_status $ac_retval |
---|
1597 | |
---|
1598 | } # ac_fn_c_try_link |
---|
1599 | |
---|
1600 | # ac_fn_c_try_cpp LINENO |
---|
1601 | # ---------------------- |
---|
1602 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
---|
1603 | ac_fn_c_try_cpp () |
---|
1604 | { |
---|
1605 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1606 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
---|
1607 | case "(($ac_try" in |
---|
1608 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1609 | *) ac_try_echo=$ac_try;; |
---|
1610 | esac |
---|
1611 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1612 | $as_echo "$ac_try_echo"; } >&5 |
---|
1613 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
---|
1614 | ac_status=$? |
---|
1615 | if test -s conftest.err; then |
---|
1616 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
1617 | cat conftest.er1 >&5 |
---|
1618 | mv -f conftest.er1 conftest.err |
---|
1619 | fi |
---|
1620 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1621 | test $ac_status = 0; } > conftest.i && { |
---|
1622 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
1623 | test ! -s conftest.err |
---|
1624 | }; then : |
---|
1625 | ac_retval=0 |
---|
1626 | else |
---|
1627 | $as_echo "$as_me: failed program was:" >&5 |
---|
1628 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1629 | |
---|
1630 | ac_retval=1 |
---|
1631 | fi |
---|
1632 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1633 | as_fn_set_status $ac_retval |
---|
1634 | |
---|
1635 | } # ac_fn_c_try_cpp |
---|
1636 | |
---|
1637 | # ac_fn_c_try_run LINENO |
---|
1638 | # ---------------------- |
---|
1639 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
---|
1640 | # that executables *can* be run. |
---|
1641 | ac_fn_c_try_run () |
---|
1642 | { |
---|
1643 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1644 | if { { ac_try="$ac_link" |
---|
1645 | case "(($ac_try" in |
---|
1646 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1647 | *) ac_try_echo=$ac_try;; |
---|
1648 | esac |
---|
1649 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1650 | $as_echo "$ac_try_echo"; } >&5 |
---|
1651 | (eval "$ac_link") 2>&5 |
---|
1652 | ac_status=$? |
---|
1653 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1654 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
---|
1655 | { { case "(($ac_try" in |
---|
1656 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
1657 | *) ac_try_echo=$ac_try;; |
---|
1658 | esac |
---|
1659 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
1660 | $as_echo "$ac_try_echo"; } >&5 |
---|
1661 | (eval "$ac_try") 2>&5 |
---|
1662 | ac_status=$? |
---|
1663 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
1664 | test $ac_status = 0; }; }; then : |
---|
1665 | ac_retval=0 |
---|
1666 | else |
---|
1667 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
---|
1668 | $as_echo "$as_me: failed program was:" >&5 |
---|
1669 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1670 | |
---|
1671 | ac_retval=$ac_status |
---|
1672 | fi |
---|
1673 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
---|
1674 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1675 | as_fn_set_status $ac_retval |
---|
1676 | |
---|
1677 | } # ac_fn_c_try_run |
---|
1678 | |
---|
1679 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
---|
1680 | # ------------------------------------------------------- |
---|
1681 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
---|
1682 | # the include files in INCLUDES and setting the cache variable VAR |
---|
1683 | # accordingly. |
---|
1684 | ac_fn_c_check_header_mongrel () |
---|
1685 | { |
---|
1686 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1687 | if eval \${$3+:} false; then : |
---|
1688 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
1689 | $as_echo_n "checking for $2... " >&6; } |
---|
1690 | if eval \${$3+:} false; then : |
---|
1691 | $as_echo_n "(cached) " >&6 |
---|
1692 | fi |
---|
1693 | eval ac_res=\$$3 |
---|
1694 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
1695 | $as_echo "$ac_res" >&6; } |
---|
1696 | else |
---|
1697 | # Is the header compilable? |
---|
1698 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
---|
1699 | $as_echo_n "checking $2 usability... " >&6; } |
---|
1700 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1701 | /* end confdefs.h. */ |
---|
1702 | $4 |
---|
1703 | #include <$2> |
---|
1704 | _ACEOF |
---|
1705 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
1706 | ac_header_compiler=yes |
---|
1707 | else |
---|
1708 | ac_header_compiler=no |
---|
1709 | fi |
---|
1710 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
1711 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
---|
1712 | $as_echo "$ac_header_compiler" >&6; } |
---|
1713 | |
---|
1714 | # Is the header present? |
---|
1715 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
---|
1716 | $as_echo_n "checking $2 presence... " >&6; } |
---|
1717 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1718 | /* end confdefs.h. */ |
---|
1719 | #include <$2> |
---|
1720 | _ACEOF |
---|
1721 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
1722 | ac_header_preproc=yes |
---|
1723 | else |
---|
1724 | ac_header_preproc=no |
---|
1725 | fi |
---|
1726 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
1727 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
---|
1728 | $as_echo "$ac_header_preproc" >&6; } |
---|
1729 | |
---|
1730 | # So? What about this header? |
---|
1731 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
---|
1732 | yes:no: ) |
---|
1733 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
1734 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
1735 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
---|
1736 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
---|
1737 | ;; |
---|
1738 | no:yes:* ) |
---|
1739 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
---|
1740 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
---|
1741 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
---|
1742 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
---|
1743 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
---|
1744 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
---|
1745 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
---|
1746 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
1747 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
---|
1748 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
---|
1749 | ( $as_echo "## --------------------------------------- ## |
---|
1750 | ## Report this to s.guindon@auckland.ac.nz ## |
---|
1751 | ## --------------------------------------- ##" |
---|
1752 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
---|
1753 | ;; |
---|
1754 | esac |
---|
1755 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
1756 | $as_echo_n "checking for $2... " >&6; } |
---|
1757 | if eval \${$3+:} false; then : |
---|
1758 | $as_echo_n "(cached) " >&6 |
---|
1759 | else |
---|
1760 | eval "$3=\$ac_header_compiler" |
---|
1761 | fi |
---|
1762 | eval ac_res=\$$3 |
---|
1763 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
1764 | $as_echo "$ac_res" >&6; } |
---|
1765 | fi |
---|
1766 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1767 | |
---|
1768 | } # ac_fn_c_check_header_mongrel |
---|
1769 | |
---|
1770 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
---|
1771 | # ------------------------------------------------------- |
---|
1772 | # Tests whether HEADER exists and can be compiled using the include files in |
---|
1773 | # INCLUDES, setting the cache variable VAR accordingly. |
---|
1774 | ac_fn_c_check_header_compile () |
---|
1775 | { |
---|
1776 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1777 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
1778 | $as_echo_n "checking for $2... " >&6; } |
---|
1779 | if eval \${$3+:} false; then : |
---|
1780 | $as_echo_n "(cached) " >&6 |
---|
1781 | else |
---|
1782 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1783 | /* end confdefs.h. */ |
---|
1784 | $4 |
---|
1785 | #include <$2> |
---|
1786 | _ACEOF |
---|
1787 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
1788 | eval "$3=yes" |
---|
1789 | else |
---|
1790 | eval "$3=no" |
---|
1791 | fi |
---|
1792 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
1793 | fi |
---|
1794 | eval ac_res=\$$3 |
---|
1795 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
1796 | $as_echo "$ac_res" >&6; } |
---|
1797 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1798 | |
---|
1799 | } # ac_fn_c_check_header_compile |
---|
1800 | |
---|
1801 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
---|
1802 | # ------------------------------------------- |
---|
1803 | # Tests whether TYPE exists after having included INCLUDES, setting cache |
---|
1804 | # variable VAR accordingly. |
---|
1805 | ac_fn_c_check_type () |
---|
1806 | { |
---|
1807 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1808 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
1809 | $as_echo_n "checking for $2... " >&6; } |
---|
1810 | if eval \${$3+:} false; then : |
---|
1811 | $as_echo_n "(cached) " >&6 |
---|
1812 | else |
---|
1813 | eval "$3=no" |
---|
1814 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1815 | /* end confdefs.h. */ |
---|
1816 | $4 |
---|
1817 | int |
---|
1818 | main () |
---|
1819 | { |
---|
1820 | if (sizeof ($2)) |
---|
1821 | return 0; |
---|
1822 | ; |
---|
1823 | return 0; |
---|
1824 | } |
---|
1825 | _ACEOF |
---|
1826 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
1827 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1828 | /* end confdefs.h. */ |
---|
1829 | $4 |
---|
1830 | int |
---|
1831 | main () |
---|
1832 | { |
---|
1833 | if (sizeof (($2))) |
---|
1834 | return 0; |
---|
1835 | ; |
---|
1836 | return 0; |
---|
1837 | } |
---|
1838 | _ACEOF |
---|
1839 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
1840 | |
---|
1841 | else |
---|
1842 | eval "$3=yes" |
---|
1843 | fi |
---|
1844 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
1845 | fi |
---|
1846 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
1847 | fi |
---|
1848 | eval ac_res=\$$3 |
---|
1849 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
1850 | $as_echo "$ac_res" >&6; } |
---|
1851 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1852 | |
---|
1853 | } # ac_fn_c_check_type |
---|
1854 | |
---|
1855 | # ac_fn_c_check_func LINENO FUNC VAR |
---|
1856 | # ---------------------------------- |
---|
1857 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
---|
1858 | ac_fn_c_check_func () |
---|
1859 | { |
---|
1860 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
1861 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
1862 | $as_echo_n "checking for $2... " >&6; } |
---|
1863 | if eval \${$3+:} false; then : |
---|
1864 | $as_echo_n "(cached) " >&6 |
---|
1865 | else |
---|
1866 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
1867 | /* end confdefs.h. */ |
---|
1868 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
---|
1869 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
1870 | #define $2 innocuous_$2 |
---|
1871 | |
---|
1872 | /* System header to define __stub macros and hopefully few prototypes, |
---|
1873 | which can conflict with char $2 (); below. |
---|
1874 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
1875 | <limits.h> exists even on freestanding compilers. */ |
---|
1876 | |
---|
1877 | #ifdef __STDC__ |
---|
1878 | # include <limits.h> |
---|
1879 | #else |
---|
1880 | # include <assert.h> |
---|
1881 | #endif |
---|
1882 | |
---|
1883 | #undef $2 |
---|
1884 | |
---|
1885 | /* Override any GCC internal prototype to avoid an error. |
---|
1886 | Use char because int might match the return type of a GCC |
---|
1887 | builtin and then its argument prototype would still apply. */ |
---|
1888 | #ifdef __cplusplus |
---|
1889 | extern "C" |
---|
1890 | #endif |
---|
1891 | char $2 (); |
---|
1892 | /* The GNU C library defines this for functions which it implements |
---|
1893 | to always fail with ENOSYS. Some functions are actually named |
---|
1894 | something starting with __ and the normal name is an alias. */ |
---|
1895 | #if defined __stub_$2 || defined __stub___$2 |
---|
1896 | choke me |
---|
1897 | #endif |
---|
1898 | |
---|
1899 | int |
---|
1900 | main () |
---|
1901 | { |
---|
1902 | return $2 (); |
---|
1903 | ; |
---|
1904 | return 0; |
---|
1905 | } |
---|
1906 | _ACEOF |
---|
1907 | if ac_fn_c_try_link "$LINENO"; then : |
---|
1908 | eval "$3=yes" |
---|
1909 | else |
---|
1910 | eval "$3=no" |
---|
1911 | fi |
---|
1912 | rm -f core conftest.err conftest.$ac_objext \ |
---|
1913 | conftest$ac_exeext conftest.$ac_ext |
---|
1914 | fi |
---|
1915 | eval ac_res=\$$3 |
---|
1916 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
1917 | $as_echo "$ac_res" >&6; } |
---|
1918 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
1919 | |
---|
1920 | } # ac_fn_c_check_func |
---|
1921 | cat >config.log <<_ACEOF |
---|
1922 | This file contains any messages produced by compilers while |
---|
1923 | running configure, to aid debugging if configure makes a mistake. |
---|
1924 | |
---|
1925 | It was created by PhyML $as_me 20130708, which was |
---|
1926 | generated by GNU Autoconf 2.69. Invocation command line was |
---|
1927 | |
---|
1928 | $ $0 $@ |
---|
1929 | |
---|
1930 | _ACEOF |
---|
1931 | exec 5>>config.log |
---|
1932 | { |
---|
1933 | cat <<_ASUNAME |
---|
1934 | ## --------- ## |
---|
1935 | ## Platform. ## |
---|
1936 | ## --------- ## |
---|
1937 | |
---|
1938 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
1939 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
1940 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
1941 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
1942 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
1943 | |
---|
1944 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
1945 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
1946 | |
---|
1947 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
1948 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
1949 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
1950 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
1951 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
1952 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
1953 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
1954 | |
---|
1955 | _ASUNAME |
---|
1956 | |
---|
1957 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1958 | for as_dir in $PATH |
---|
1959 | do |
---|
1960 | IFS=$as_save_IFS |
---|
1961 | test -z "$as_dir" && as_dir=. |
---|
1962 | $as_echo "PATH: $as_dir" |
---|
1963 | done |
---|
1964 | IFS=$as_save_IFS |
---|
1965 | |
---|
1966 | } >&5 |
---|
1967 | |
---|
1968 | cat >&5 <<_ACEOF |
---|
1969 | |
---|
1970 | |
---|
1971 | ## ----------- ## |
---|
1972 | ## Core tests. ## |
---|
1973 | ## ----------- ## |
---|
1974 | |
---|
1975 | _ACEOF |
---|
1976 | |
---|
1977 | |
---|
1978 | # Keep a trace of the command line. |
---|
1979 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
1980 | # Strip out --silent because we don't want to record it for future runs. |
---|
1981 | # Also quote any args containing shell meta-characters. |
---|
1982 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
1983 | ac_configure_args= |
---|
1984 | ac_configure_args0= |
---|
1985 | ac_configure_args1= |
---|
1986 | ac_must_keep_next=false |
---|
1987 | for ac_pass in 1 2 |
---|
1988 | do |
---|
1989 | for ac_arg |
---|
1990 | do |
---|
1991 | case $ac_arg in |
---|
1992 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
1993 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1994 | | -silent | --silent | --silen | --sile | --sil) |
---|
1995 | continue ;; |
---|
1996 | *\'*) |
---|
1997 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1998 | esac |
---|
1999 | case $ac_pass in |
---|
2000 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
---|
2001 | 2) |
---|
2002 | as_fn_append ac_configure_args1 " '$ac_arg'" |
---|
2003 | if test $ac_must_keep_next = true; then |
---|
2004 | ac_must_keep_next=false # Got value, back to normal. |
---|
2005 | else |
---|
2006 | case $ac_arg in |
---|
2007 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
2008 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
2009 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
2010 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
2011 | case "$ac_configure_args0 " in |
---|
2012 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
2013 | esac |
---|
2014 | ;; |
---|
2015 | -* ) ac_must_keep_next=true ;; |
---|
2016 | esac |
---|
2017 | fi |
---|
2018 | as_fn_append ac_configure_args " '$ac_arg'" |
---|
2019 | ;; |
---|
2020 | esac |
---|
2021 | done |
---|
2022 | done |
---|
2023 | { ac_configure_args0=; unset ac_configure_args0;} |
---|
2024 | { ac_configure_args1=; unset ac_configure_args1;} |
---|
2025 | |
---|
2026 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
2027 | # config.log. We remove comments because anyway the quotes in there |
---|
2028 | # would cause problems or look ugly. |
---|
2029 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
2030 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
2031 | trap 'exit_status=$? |
---|
2032 | # Save into config.log some information that might help in debugging. |
---|
2033 | { |
---|
2034 | echo |
---|
2035 | |
---|
2036 | $as_echo "## ---------------- ## |
---|
2037 | ## Cache variables. ## |
---|
2038 | ## ---------------- ##" |
---|
2039 | echo |
---|
2040 | # The following way of writing the cache mishandles newlines in values, |
---|
2041 | ( |
---|
2042 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
2043 | eval ac_val=\$$ac_var |
---|
2044 | case $ac_val in #( |
---|
2045 | *${as_nl}*) |
---|
2046 | case $ac_var in #( |
---|
2047 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
2048 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
2049 | esac |
---|
2050 | case $ac_var in #( |
---|
2051 | _ | IFS | as_nl) ;; #( |
---|
2052 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
2053 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
2054 | esac ;; |
---|
2055 | esac |
---|
2056 | done |
---|
2057 | (set) 2>&1 | |
---|
2058 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
2059 | *${as_nl}ac_space=\ *) |
---|
2060 | sed -n \ |
---|
2061 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
2062 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
2063 | ;; #( |
---|
2064 | *) |
---|
2065 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
2066 | ;; |
---|
2067 | esac | |
---|
2068 | sort |
---|
2069 | ) |
---|
2070 | echo |
---|
2071 | |
---|
2072 | $as_echo "## ----------------- ## |
---|
2073 | ## Output variables. ## |
---|
2074 | ## ----------------- ##" |
---|
2075 | echo |
---|
2076 | for ac_var in $ac_subst_vars |
---|
2077 | do |
---|
2078 | eval ac_val=\$$ac_var |
---|
2079 | case $ac_val in |
---|
2080 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
2081 | esac |
---|
2082 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
2083 | done | sort |
---|
2084 | echo |
---|
2085 | |
---|
2086 | if test -n "$ac_subst_files"; then |
---|
2087 | $as_echo "## ------------------- ## |
---|
2088 | ## File substitutions. ## |
---|
2089 | ## ------------------- ##" |
---|
2090 | echo |
---|
2091 | for ac_var in $ac_subst_files |
---|
2092 | do |
---|
2093 | eval ac_val=\$$ac_var |
---|
2094 | case $ac_val in |
---|
2095 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
2096 | esac |
---|
2097 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
2098 | done | sort |
---|
2099 | echo |
---|
2100 | fi |
---|
2101 | |
---|
2102 | if test -s confdefs.h; then |
---|
2103 | $as_echo "## ----------- ## |
---|
2104 | ## confdefs.h. ## |
---|
2105 | ## ----------- ##" |
---|
2106 | echo |
---|
2107 | cat confdefs.h |
---|
2108 | echo |
---|
2109 | fi |
---|
2110 | test "$ac_signal" != 0 && |
---|
2111 | $as_echo "$as_me: caught signal $ac_signal" |
---|
2112 | $as_echo "$as_me: exit $exit_status" |
---|
2113 | } >&5 |
---|
2114 | rm -f core *.core core.conftest.* && |
---|
2115 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
2116 | exit $exit_status |
---|
2117 | ' 0 |
---|
2118 | for ac_signal in 1 2 13 15; do |
---|
2119 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
---|
2120 | done |
---|
2121 | ac_signal=0 |
---|
2122 | |
---|
2123 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
2124 | rm -f -r conftest* confdefs.h |
---|
2125 | |
---|
2126 | $as_echo "/* confdefs.h */" > confdefs.h |
---|
2127 | |
---|
2128 | # Predefined preprocessor variables. |
---|
2129 | |
---|
2130 | cat >>confdefs.h <<_ACEOF |
---|
2131 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
2132 | _ACEOF |
---|
2133 | |
---|
2134 | cat >>confdefs.h <<_ACEOF |
---|
2135 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
2136 | _ACEOF |
---|
2137 | |
---|
2138 | cat >>confdefs.h <<_ACEOF |
---|
2139 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
2140 | _ACEOF |
---|
2141 | |
---|
2142 | cat >>confdefs.h <<_ACEOF |
---|
2143 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
2144 | _ACEOF |
---|
2145 | |
---|
2146 | cat >>confdefs.h <<_ACEOF |
---|
2147 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
2148 | _ACEOF |
---|
2149 | |
---|
2150 | cat >>confdefs.h <<_ACEOF |
---|
2151 | #define PACKAGE_URL "$PACKAGE_URL" |
---|
2152 | _ACEOF |
---|
2153 | |
---|
2154 | |
---|
2155 | # Let the site file select an alternate cache file if it wants to. |
---|
2156 | # Prefer an explicitly selected file to automatically selected ones. |
---|
2157 | ac_site_file1=NONE |
---|
2158 | ac_site_file2=NONE |
---|
2159 | if test -n "$CONFIG_SITE"; then |
---|
2160 | # We do not want a PATH search for config.site. |
---|
2161 | case $CONFIG_SITE in #(( |
---|
2162 | -*) ac_site_file1=./$CONFIG_SITE;; |
---|
2163 | */*) ac_site_file1=$CONFIG_SITE;; |
---|
2164 | *) ac_site_file1=./$CONFIG_SITE;; |
---|
2165 | esac |
---|
2166 | elif test "x$prefix" != xNONE; then |
---|
2167 | ac_site_file1=$prefix/share/config.site |
---|
2168 | ac_site_file2=$prefix/etc/config.site |
---|
2169 | else |
---|
2170 | ac_site_file1=$ac_default_prefix/share/config.site |
---|
2171 | ac_site_file2=$ac_default_prefix/etc/config.site |
---|
2172 | fi |
---|
2173 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
---|
2174 | do |
---|
2175 | test "x$ac_site_file" = xNONE && continue |
---|
2176 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
---|
2177 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
---|
2178 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
2179 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
2180 | . "$ac_site_file" \ |
---|
2181 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
2182 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2183 | as_fn_error $? "failed to load site script $ac_site_file |
---|
2184 | See \`config.log' for more details" "$LINENO" 5; } |
---|
2185 | fi |
---|
2186 | done |
---|
2187 | |
---|
2188 | if test -r "$cache_file"; then |
---|
2189 | # Some versions of bash will fail to source /dev/null (special files |
---|
2190 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
---|
2191 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
---|
2192 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
---|
2193 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
---|
2194 | case $cache_file in |
---|
2195 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
2196 | *) . "./$cache_file";; |
---|
2197 | esac |
---|
2198 | fi |
---|
2199 | else |
---|
2200 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
---|
2201 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
---|
2202 | >$cache_file |
---|
2203 | fi |
---|
2204 | |
---|
2205 | # Check that the precious variables saved in the cache have kept the same |
---|
2206 | # value. |
---|
2207 | ac_cache_corrupted=false |
---|
2208 | for ac_var in $ac_precious_vars; do |
---|
2209 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
2210 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
2211 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
2212 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
2213 | case $ac_old_set,$ac_new_set in |
---|
2214 | set,) |
---|
2215 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
2216 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
2217 | ac_cache_corrupted=: ;; |
---|
2218 | ,set) |
---|
2219 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
---|
2220 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
2221 | ac_cache_corrupted=: ;; |
---|
2222 | ,);; |
---|
2223 | *) |
---|
2224 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
2225 | # differences in whitespace do not lead to failure. |
---|
2226 | ac_old_val_w=`echo x $ac_old_val` |
---|
2227 | ac_new_val_w=`echo x $ac_new_val` |
---|
2228 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
---|
2229 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
2230 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
2231 | ac_cache_corrupted=: |
---|
2232 | else |
---|
2233 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
---|
2234 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
---|
2235 | eval $ac_var=\$ac_old_val |
---|
2236 | fi |
---|
2237 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
---|
2238 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
---|
2239 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
---|
2240 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
---|
2241 | fi;; |
---|
2242 | esac |
---|
2243 | # Pass precious variables to config.status. |
---|
2244 | if test "$ac_new_set" = set; then |
---|
2245 | case $ac_new_val in |
---|
2246 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
2247 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
2248 | esac |
---|
2249 | case " $ac_configure_args " in |
---|
2250 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
2251 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
---|
2252 | esac |
---|
2253 | fi |
---|
2254 | done |
---|
2255 | if $ac_cache_corrupted; then |
---|
2256 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
2257 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2258 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
---|
2259 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
2260 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
---|
2261 | fi |
---|
2262 | ## -------------------- ## |
---|
2263 | ## Main body of script. ## |
---|
2264 | ## -------------------- ## |
---|
2265 | |
---|
2266 | ac_ext=c |
---|
2267 | ac_cpp='$CPP $CPPFLAGS' |
---|
2268 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2269 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2270 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2271 | |
---|
2272 | |
---|
2273 | am__api_version='1.11' |
---|
2274 | |
---|
2275 | ac_aux_dir= |
---|
2276 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
---|
2277 | if test -f "$ac_dir/install-sh"; then |
---|
2278 | ac_aux_dir=$ac_dir |
---|
2279 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
2280 | break |
---|
2281 | elif test -f "$ac_dir/install.sh"; then |
---|
2282 | ac_aux_dir=$ac_dir |
---|
2283 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
2284 | break |
---|
2285 | elif test -f "$ac_dir/shtool"; then |
---|
2286 | ac_aux_dir=$ac_dir |
---|
2287 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
2288 | break |
---|
2289 | fi |
---|
2290 | done |
---|
2291 | if test -z "$ac_aux_dir"; then |
---|
2292 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
---|
2293 | fi |
---|
2294 | |
---|
2295 | # These three variables are undocumented and unsupported, |
---|
2296 | # and are intended to be withdrawn in a future Autoconf release. |
---|
2297 | # They can cause serious problems if a builder's source tree is in a directory |
---|
2298 | # whose full name contains unusual characters. |
---|
2299 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
---|
2300 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
---|
2301 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
---|
2302 | |
---|
2303 | |
---|
2304 | # Find a good install program. We prefer a C program (faster), |
---|
2305 | # so one script is as good as another. But avoid the broken or |
---|
2306 | # incompatible versions: |
---|
2307 | # SysV /etc/install, /usr/sbin/install |
---|
2308 | # SunOS /usr/etc/install |
---|
2309 | # IRIX /sbin/install |
---|
2310 | # AIX /bin/install |
---|
2311 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
2312 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
2313 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
2314 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
2315 | # OS/2's system install, which has a completely different semantic |
---|
2316 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
2317 | # Reject install programs that cannot install multiple files. |
---|
2318 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
---|
2319 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
---|
2320 | if test -z "$INSTALL"; then |
---|
2321 | if ${ac_cv_path_install+:} false; then : |
---|
2322 | $as_echo_n "(cached) " >&6 |
---|
2323 | else |
---|
2324 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2325 | for as_dir in $PATH |
---|
2326 | do |
---|
2327 | IFS=$as_save_IFS |
---|
2328 | test -z "$as_dir" && as_dir=. |
---|
2329 | # Account for people who put trailing slashes in PATH elements. |
---|
2330 | case $as_dir/ in #(( |
---|
2331 | ./ | .// | /[cC]/* | \ |
---|
2332 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
2333 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
---|
2334 | /usr/ucb/* ) ;; |
---|
2335 | *) |
---|
2336 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
2337 | # Don't use installbsd from OSF since it installs stuff as root |
---|
2338 | # by default. |
---|
2339 | for ac_prog in ginstall scoinst install; do |
---|
2340 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2341 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
---|
2342 | if test $ac_prog = install && |
---|
2343 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
2344 | # AIX install. It has an incompatible calling convention. |
---|
2345 | : |
---|
2346 | elif test $ac_prog = install && |
---|
2347 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
2348 | # program-specific install script used by HP pwplus--don't use. |
---|
2349 | : |
---|
2350 | else |
---|
2351 | rm -rf conftest.one conftest.two conftest.dir |
---|
2352 | echo one > conftest.one |
---|
2353 | echo two > conftest.two |
---|
2354 | mkdir conftest.dir |
---|
2355 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
---|
2356 | test -s conftest.one && test -s conftest.two && |
---|
2357 | test -s conftest.dir/conftest.one && |
---|
2358 | test -s conftest.dir/conftest.two |
---|
2359 | then |
---|
2360 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
2361 | break 3 |
---|
2362 | fi |
---|
2363 | fi |
---|
2364 | fi |
---|
2365 | done |
---|
2366 | done |
---|
2367 | ;; |
---|
2368 | esac |
---|
2369 | |
---|
2370 | done |
---|
2371 | IFS=$as_save_IFS |
---|
2372 | |
---|
2373 | rm -rf conftest.one conftest.two conftest.dir |
---|
2374 | |
---|
2375 | fi |
---|
2376 | if test "${ac_cv_path_install+set}" = set; then |
---|
2377 | INSTALL=$ac_cv_path_install |
---|
2378 | else |
---|
2379 | # As a last resort, use the slow shell script. Don't cache a |
---|
2380 | # value for INSTALL within a source directory, because that will |
---|
2381 | # break other packages using the cache if that directory is |
---|
2382 | # removed, or if the value is a relative name. |
---|
2383 | INSTALL=$ac_install_sh |
---|
2384 | fi |
---|
2385 | fi |
---|
2386 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
---|
2387 | $as_echo "$INSTALL" >&6; } |
---|
2388 | |
---|
2389 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
2390 | # It thinks the first close brace ends the variable substitution. |
---|
2391 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
2392 | |
---|
2393 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
2394 | |
---|
2395 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
2396 | |
---|
2397 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
---|
2398 | $as_echo_n "checking whether build environment is sane... " >&6; } |
---|
2399 | # Just in case |
---|
2400 | sleep 1 |
---|
2401 | echo timestamp > conftest.file |
---|
2402 | # Reject unsafe characters in $srcdir or the absolute working directory |
---|
2403 | # name. Accept space and tab only in the latter. |
---|
2404 | am_lf=' |
---|
2405 | ' |
---|
2406 | case `pwd` in |
---|
2407 | *[\\\"\#\$\&\'\`$am_lf]*) |
---|
2408 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
---|
2409 | esac |
---|
2410 | case $srcdir in |
---|
2411 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
---|
2412 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
---|
2413 | esac |
---|
2414 | |
---|
2415 | # Do `set' in a subshell so we don't clobber the current shell's |
---|
2416 | # arguments. Must try -L first in case configure is actually a |
---|
2417 | # symlink; some systems play weird games with the mod time of symlinks |
---|
2418 | # (eg FreeBSD returns the mod time of the symlink's containing |
---|
2419 | # directory). |
---|
2420 | if ( |
---|
2421 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
---|
2422 | if test "$*" = "X"; then |
---|
2423 | # -L didn't work. |
---|
2424 | set X `ls -t "$srcdir/configure" conftest.file` |
---|
2425 | fi |
---|
2426 | rm -f conftest.file |
---|
2427 | if test "$*" != "X $srcdir/configure conftest.file" \ |
---|
2428 | && test "$*" != "X conftest.file $srcdir/configure"; then |
---|
2429 | |
---|
2430 | # If neither matched, then we have a broken ls. This can happen |
---|
2431 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
---|
2432 | # broken ls alias from the environment. This has actually |
---|
2433 | # happened. Such a system could not be considered "sane". |
---|
2434 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
---|
2435 | alias in your environment" "$LINENO" 5 |
---|
2436 | fi |
---|
2437 | |
---|
2438 | test "$2" = conftest.file |
---|
2439 | ) |
---|
2440 | then |
---|
2441 | # Ok. |
---|
2442 | : |
---|
2443 | else |
---|
2444 | as_fn_error $? "newly created file is older than distributed files! |
---|
2445 | Check your system clock" "$LINENO" 5 |
---|
2446 | fi |
---|
2447 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
2448 | $as_echo "yes" >&6; } |
---|
2449 | test "$program_prefix" != NONE && |
---|
2450 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
---|
2451 | # Use a double $ so make ignores it. |
---|
2452 | test "$program_suffix" != NONE && |
---|
2453 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
---|
2454 | # Double any \ or $. |
---|
2455 | # By default was `s,x,x', remove it if useless. |
---|
2456 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
---|
2457 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
---|
2458 | |
---|
2459 | # expand $ac_aux_dir to an absolute path |
---|
2460 | am_aux_dir=`cd $ac_aux_dir && pwd` |
---|
2461 | |
---|
2462 | if test x"${MISSING+set}" != xset; then |
---|
2463 | case $am_aux_dir in |
---|
2464 | *\ * | *\ *) |
---|
2465 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
---|
2466 | *) |
---|
2467 | MISSING="\${SHELL} $am_aux_dir/missing" ;; |
---|
2468 | esac |
---|
2469 | fi |
---|
2470 | # Use eval to expand $SHELL |
---|
2471 | if eval "$MISSING --run true"; then |
---|
2472 | am_missing_run="$MISSING --run " |
---|
2473 | else |
---|
2474 | am_missing_run= |
---|
2475 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
---|
2476 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
---|
2477 | fi |
---|
2478 | |
---|
2479 | if test x"${install_sh}" != xset; then |
---|
2480 | case $am_aux_dir in |
---|
2481 | *\ * | *\ *) |
---|
2482 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
---|
2483 | *) |
---|
2484 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
---|
2485 | esac |
---|
2486 | fi |
---|
2487 | |
---|
2488 | # Installed binaries are usually stripped using `strip' when the user |
---|
2489 | # run `make install-strip'. However `strip' might not be the right |
---|
2490 | # tool to use in cross-compilation environments, therefore Automake |
---|
2491 | # will honor the `STRIP' environment variable to overrule this program. |
---|
2492 | if test "$cross_compiling" != no; then |
---|
2493 | if test -n "$ac_tool_prefix"; then |
---|
2494 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
---|
2495 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
---|
2496 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2497 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2498 | if ${ac_cv_prog_STRIP+:} false; then : |
---|
2499 | $as_echo_n "(cached) " >&6 |
---|
2500 | else |
---|
2501 | if test -n "$STRIP"; then |
---|
2502 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
---|
2503 | else |
---|
2504 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2505 | for as_dir in $PATH |
---|
2506 | do |
---|
2507 | IFS=$as_save_IFS |
---|
2508 | test -z "$as_dir" && as_dir=. |
---|
2509 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2510 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2511 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
---|
2512 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2513 | break 2 |
---|
2514 | fi |
---|
2515 | done |
---|
2516 | done |
---|
2517 | IFS=$as_save_IFS |
---|
2518 | |
---|
2519 | fi |
---|
2520 | fi |
---|
2521 | STRIP=$ac_cv_prog_STRIP |
---|
2522 | if test -n "$STRIP"; then |
---|
2523 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
---|
2524 | $as_echo "$STRIP" >&6; } |
---|
2525 | else |
---|
2526 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2527 | $as_echo "no" >&6; } |
---|
2528 | fi |
---|
2529 | |
---|
2530 | |
---|
2531 | fi |
---|
2532 | if test -z "$ac_cv_prog_STRIP"; then |
---|
2533 | ac_ct_STRIP=$STRIP |
---|
2534 | # Extract the first word of "strip", so it can be a program name with args. |
---|
2535 | set dummy strip; ac_word=$2 |
---|
2536 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2537 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2538 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
---|
2539 | $as_echo_n "(cached) " >&6 |
---|
2540 | else |
---|
2541 | if test -n "$ac_ct_STRIP"; then |
---|
2542 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
---|
2543 | else |
---|
2544 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2545 | for as_dir in $PATH |
---|
2546 | do |
---|
2547 | IFS=$as_save_IFS |
---|
2548 | test -z "$as_dir" && as_dir=. |
---|
2549 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2550 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2551 | ac_cv_prog_ac_ct_STRIP="strip" |
---|
2552 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2553 | break 2 |
---|
2554 | fi |
---|
2555 | done |
---|
2556 | done |
---|
2557 | IFS=$as_save_IFS |
---|
2558 | |
---|
2559 | fi |
---|
2560 | fi |
---|
2561 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
---|
2562 | if test -n "$ac_ct_STRIP"; then |
---|
2563 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
---|
2564 | $as_echo "$ac_ct_STRIP" >&6; } |
---|
2565 | else |
---|
2566 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2567 | $as_echo "no" >&6; } |
---|
2568 | fi |
---|
2569 | |
---|
2570 | if test "x$ac_ct_STRIP" = x; then |
---|
2571 | STRIP=":" |
---|
2572 | else |
---|
2573 | case $cross_compiling:$ac_tool_warned in |
---|
2574 | yes:) |
---|
2575 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
2576 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
2577 | ac_tool_warned=yes ;; |
---|
2578 | esac |
---|
2579 | STRIP=$ac_ct_STRIP |
---|
2580 | fi |
---|
2581 | else |
---|
2582 | STRIP="$ac_cv_prog_STRIP" |
---|
2583 | fi |
---|
2584 | |
---|
2585 | fi |
---|
2586 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
---|
2587 | |
---|
2588 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
---|
2589 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
---|
2590 | if test -z "$MKDIR_P"; then |
---|
2591 | if ${ac_cv_path_mkdir+:} false; then : |
---|
2592 | $as_echo_n "(cached) " >&6 |
---|
2593 | else |
---|
2594 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2595 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
---|
2596 | do |
---|
2597 | IFS=$as_save_IFS |
---|
2598 | test -z "$as_dir" && as_dir=. |
---|
2599 | for ac_prog in mkdir gmkdir; do |
---|
2600 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2601 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
---|
2602 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
---|
2603 | 'mkdir (GNU coreutils) '* | \ |
---|
2604 | 'mkdir (coreutils) '* | \ |
---|
2605 | 'mkdir (fileutils) '4.1*) |
---|
2606 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
---|
2607 | break 3;; |
---|
2608 | esac |
---|
2609 | done |
---|
2610 | done |
---|
2611 | done |
---|
2612 | IFS=$as_save_IFS |
---|
2613 | |
---|
2614 | fi |
---|
2615 | |
---|
2616 | test -d ./--version && rmdir ./--version |
---|
2617 | if test "${ac_cv_path_mkdir+set}" = set; then |
---|
2618 | MKDIR_P="$ac_cv_path_mkdir -p" |
---|
2619 | else |
---|
2620 | # As a last resort, use the slow shell script. Don't cache a |
---|
2621 | # value for MKDIR_P within a source directory, because that will |
---|
2622 | # break other packages using the cache if that directory is |
---|
2623 | # removed, or if the value is a relative name. |
---|
2624 | MKDIR_P="$ac_install_sh -d" |
---|
2625 | fi |
---|
2626 | fi |
---|
2627 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
---|
2628 | $as_echo "$MKDIR_P" >&6; } |
---|
2629 | |
---|
2630 | mkdir_p="$MKDIR_P" |
---|
2631 | case $mkdir_p in |
---|
2632 | [\\/$]* | ?:[\\/]*) ;; |
---|
2633 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
---|
2634 | esac |
---|
2635 | |
---|
2636 | for ac_prog in gawk mawk nawk awk |
---|
2637 | do |
---|
2638 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
2639 | set dummy $ac_prog; ac_word=$2 |
---|
2640 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2641 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2642 | if ${ac_cv_prog_AWK+:} false; then : |
---|
2643 | $as_echo_n "(cached) " >&6 |
---|
2644 | else |
---|
2645 | if test -n "$AWK"; then |
---|
2646 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
---|
2647 | else |
---|
2648 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2649 | for as_dir in $PATH |
---|
2650 | do |
---|
2651 | IFS=$as_save_IFS |
---|
2652 | test -z "$as_dir" && as_dir=. |
---|
2653 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2654 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2655 | ac_cv_prog_AWK="$ac_prog" |
---|
2656 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2657 | break 2 |
---|
2658 | fi |
---|
2659 | done |
---|
2660 | done |
---|
2661 | IFS=$as_save_IFS |
---|
2662 | |
---|
2663 | fi |
---|
2664 | fi |
---|
2665 | AWK=$ac_cv_prog_AWK |
---|
2666 | if test -n "$AWK"; then |
---|
2667 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
---|
2668 | $as_echo "$AWK" >&6; } |
---|
2669 | else |
---|
2670 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2671 | $as_echo "no" >&6; } |
---|
2672 | fi |
---|
2673 | |
---|
2674 | |
---|
2675 | test -n "$AWK" && break |
---|
2676 | done |
---|
2677 | |
---|
2678 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
---|
2679 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
---|
2680 | set x ${MAKE-make} |
---|
2681 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
---|
2682 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
---|
2683 | $as_echo_n "(cached) " >&6 |
---|
2684 | else |
---|
2685 | cat >conftest.make <<\_ACEOF |
---|
2686 | SHELL = /bin/sh |
---|
2687 | all: |
---|
2688 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
---|
2689 | _ACEOF |
---|
2690 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
---|
2691 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
---|
2692 | *@@@%%%=?*=@@@%%%*) |
---|
2693 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
---|
2694 | *) |
---|
2695 | eval ac_cv_prog_make_${ac_make}_set=no;; |
---|
2696 | esac |
---|
2697 | rm -f conftest.make |
---|
2698 | fi |
---|
2699 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
---|
2700 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
2701 | $as_echo "yes" >&6; } |
---|
2702 | SET_MAKE= |
---|
2703 | else |
---|
2704 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
2705 | $as_echo "no" >&6; } |
---|
2706 | SET_MAKE="MAKE=${MAKE-make}" |
---|
2707 | fi |
---|
2708 | |
---|
2709 | rm -rf .tst 2>/dev/null |
---|
2710 | mkdir .tst 2>/dev/null |
---|
2711 | if test -d .tst; then |
---|
2712 | am__leading_dot=. |
---|
2713 | else |
---|
2714 | am__leading_dot=_ |
---|
2715 | fi |
---|
2716 | rmdir .tst 2>/dev/null |
---|
2717 | |
---|
2718 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
---|
2719 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
---|
2720 | # is not polluted with repeated "-I." |
---|
2721 | am__isrc=' -I$(srcdir)' |
---|
2722 | # test to see if srcdir already configured |
---|
2723 | if test -f $srcdir/config.status; then |
---|
2724 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
---|
2725 | fi |
---|
2726 | fi |
---|
2727 | |
---|
2728 | # test whether we have cygpath |
---|
2729 | if test -z "$CYGPATH_W"; then |
---|
2730 | if (cygpath --version) >/dev/null 2>/dev/null; then |
---|
2731 | CYGPATH_W='cygpath -w' |
---|
2732 | else |
---|
2733 | CYGPATH_W=echo |
---|
2734 | fi |
---|
2735 | fi |
---|
2736 | |
---|
2737 | |
---|
2738 | # Define the identity of the package. |
---|
2739 | PACKAGE='phyml' |
---|
2740 | VERSION='20130708' |
---|
2741 | |
---|
2742 | |
---|
2743 | cat >>confdefs.h <<_ACEOF |
---|
2744 | #define PACKAGE "$PACKAGE" |
---|
2745 | _ACEOF |
---|
2746 | |
---|
2747 | |
---|
2748 | cat >>confdefs.h <<_ACEOF |
---|
2749 | #define VERSION "$VERSION" |
---|
2750 | _ACEOF |
---|
2751 | |
---|
2752 | # Some tools Automake needs. |
---|
2753 | |
---|
2754 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
---|
2755 | |
---|
2756 | |
---|
2757 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
---|
2758 | |
---|
2759 | |
---|
2760 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
---|
2761 | |
---|
2762 | |
---|
2763 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
---|
2764 | |
---|
2765 | |
---|
2766 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
---|
2767 | |
---|
2768 | # We need awk for the "check" target. The system "awk" is bad on |
---|
2769 | # some platforms. |
---|
2770 | # Always define AMTAR for backward compatibility. Yes, it's still used |
---|
2771 | # in the wild :-( We should find a proper way to deprecate it ... |
---|
2772 | AMTAR='$${TAR-tar}' |
---|
2773 | |
---|
2774 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
---|
2775 | |
---|
2776 | |
---|
2777 | |
---|
2778 | |
---|
2779 | |
---|
2780 | # Check whether --enable-silent-rules was given. |
---|
2781 | if test "${enable_silent_rules+set}" = set; then : |
---|
2782 | enableval=$enable_silent_rules; |
---|
2783 | fi |
---|
2784 | |
---|
2785 | case $enable_silent_rules in |
---|
2786 | yes) AM_DEFAULT_VERBOSITY=0;; |
---|
2787 | no) AM_DEFAULT_VERBOSITY=1;; |
---|
2788 | *) AM_DEFAULT_VERBOSITY=1;; |
---|
2789 | esac |
---|
2790 | am_make=${MAKE-make} |
---|
2791 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
---|
2792 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
---|
2793 | if ${am_cv_make_support_nested_variables+:} false; then : |
---|
2794 | $as_echo_n "(cached) " >&6 |
---|
2795 | else |
---|
2796 | if $as_echo 'TRUE=$(BAR$(V)) |
---|
2797 | BAR0=false |
---|
2798 | BAR1=true |
---|
2799 | V=1 |
---|
2800 | am__doit: |
---|
2801 | @$(TRUE) |
---|
2802 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
---|
2803 | am_cv_make_support_nested_variables=yes |
---|
2804 | else |
---|
2805 | am_cv_make_support_nested_variables=no |
---|
2806 | fi |
---|
2807 | fi |
---|
2808 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
---|
2809 | $as_echo "$am_cv_make_support_nested_variables" >&6; } |
---|
2810 | if test $am_cv_make_support_nested_variables = yes; then |
---|
2811 | AM_V='$(V)' |
---|
2812 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
---|
2813 | else |
---|
2814 | AM_V=$AM_DEFAULT_VERBOSITY |
---|
2815 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
---|
2816 | fi |
---|
2817 | AM_BACKSLASH='\' |
---|
2818 | |
---|
2819 | |
---|
2820 | |
---|
2821 | ac_config_headers="$ac_config_headers config.h" |
---|
2822 | |
---|
2823 | |
---|
2824 | |
---|
2825 | $as_echo "#define UNIX 1" >>confdefs.h |
---|
2826 | |
---|
2827 | |
---|
2828 | $as_echo "#define DEBUG 1" >>confdefs.h |
---|
2829 | |
---|
2830 | |
---|
2831 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
---|
2832 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
---|
2833 | # is not polluted with repeated "-I." |
---|
2834 | am__isrc=' -I$(srcdir)' |
---|
2835 | # test to see if srcdir already configured |
---|
2836 | if test -f $srcdir/config.status; then |
---|
2837 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
---|
2838 | fi |
---|
2839 | fi |
---|
2840 | |
---|
2841 | # test whether we have cygpath |
---|
2842 | if test -z "$CYGPATH_W"; then |
---|
2843 | if (cygpath --version) >/dev/null 2>/dev/null; then |
---|
2844 | CYGPATH_W='cygpath -w' |
---|
2845 | else |
---|
2846 | CYGPATH_W=echo |
---|
2847 | fi |
---|
2848 | fi |
---|
2849 | |
---|
2850 | |
---|
2851 | # Define the identity of the package. |
---|
2852 | PACKAGE='phyml' |
---|
2853 | VERSION='20130708' |
---|
2854 | |
---|
2855 | |
---|
2856 | cat >>confdefs.h <<_ACEOF |
---|
2857 | #define PACKAGE "$PACKAGE" |
---|
2858 | _ACEOF |
---|
2859 | |
---|
2860 | |
---|
2861 | cat >>confdefs.h <<_ACEOF |
---|
2862 | #define VERSION "$VERSION" |
---|
2863 | _ACEOF |
---|
2864 | |
---|
2865 | # Some tools Automake needs. |
---|
2866 | |
---|
2867 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
---|
2868 | |
---|
2869 | |
---|
2870 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
---|
2871 | |
---|
2872 | |
---|
2873 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
---|
2874 | |
---|
2875 | |
---|
2876 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
---|
2877 | |
---|
2878 | |
---|
2879 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
---|
2880 | |
---|
2881 | # We need awk for the "check" target. The system "awk" is bad on |
---|
2882 | # some platforms. |
---|
2883 | # Always define AMTAR for backward compatibility. Yes, it's still used |
---|
2884 | # in the wild :-( We should find a proper way to deprecate it ... |
---|
2885 | AMTAR='$${TAR-tar}' |
---|
2886 | |
---|
2887 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
---|
2888 | |
---|
2889 | |
---|
2890 | |
---|
2891 | |
---|
2892 | |
---|
2893 | # Make sure we can run config.sub. |
---|
2894 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
---|
2895 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
---|
2896 | |
---|
2897 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
---|
2898 | $as_echo_n "checking build system type... " >&6; } |
---|
2899 | if ${ac_cv_build+:} false; then : |
---|
2900 | $as_echo_n "(cached) " >&6 |
---|
2901 | else |
---|
2902 | ac_build_alias=$build_alias |
---|
2903 | test "x$ac_build_alias" = x && |
---|
2904 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
---|
2905 | test "x$ac_build_alias" = x && |
---|
2906 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
---|
2907 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
---|
2908 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
---|
2909 | |
---|
2910 | fi |
---|
2911 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
---|
2912 | $as_echo "$ac_cv_build" >&6; } |
---|
2913 | case $ac_cv_build in |
---|
2914 | *-*-*) ;; |
---|
2915 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
---|
2916 | esac |
---|
2917 | build=$ac_cv_build |
---|
2918 | ac_save_IFS=$IFS; IFS='-' |
---|
2919 | set x $ac_cv_build |
---|
2920 | shift |
---|
2921 | build_cpu=$1 |
---|
2922 | build_vendor=$2 |
---|
2923 | shift; shift |
---|
2924 | # Remember, the first character of IFS is used to create $*, |
---|
2925 | # except with old shells: |
---|
2926 | build_os=$* |
---|
2927 | IFS=$ac_save_IFS |
---|
2928 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
---|
2929 | |
---|
2930 | |
---|
2931 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
---|
2932 | $as_echo_n "checking host system type... " >&6; } |
---|
2933 | if ${ac_cv_host+:} false; then : |
---|
2934 | $as_echo_n "(cached) " >&6 |
---|
2935 | else |
---|
2936 | if test "x$host_alias" = x; then |
---|
2937 | ac_cv_host=$ac_cv_build |
---|
2938 | else |
---|
2939 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
---|
2940 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
---|
2941 | fi |
---|
2942 | |
---|
2943 | fi |
---|
2944 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
---|
2945 | $as_echo "$ac_cv_host" >&6; } |
---|
2946 | case $ac_cv_host in |
---|
2947 | *-*-*) ;; |
---|
2948 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
---|
2949 | esac |
---|
2950 | host=$ac_cv_host |
---|
2951 | ac_save_IFS=$IFS; IFS='-' |
---|
2952 | set x $ac_cv_host |
---|
2953 | shift |
---|
2954 | host_cpu=$1 |
---|
2955 | host_vendor=$2 |
---|
2956 | shift; shift |
---|
2957 | # Remember, the first character of IFS is used to create $*, |
---|
2958 | # except with old shells: |
---|
2959 | host_os=$* |
---|
2960 | IFS=$ac_save_IFS |
---|
2961 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
---|
2962 | |
---|
2963 | |
---|
2964 | |
---|
2965 | ac_ext=c |
---|
2966 | ac_cpp='$CPP $CPPFLAGS' |
---|
2967 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2968 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2969 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2970 | if test -n "$ac_tool_prefix"; then |
---|
2971 | for ac_prog in gcc |
---|
2972 | do |
---|
2973 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
2974 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
2975 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
2976 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2977 | if ${ac_cv_prog_CC+:} false; then : |
---|
2978 | $as_echo_n "(cached) " >&6 |
---|
2979 | else |
---|
2980 | if test -n "$CC"; then |
---|
2981 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2982 | else |
---|
2983 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2984 | for as_dir in $PATH |
---|
2985 | do |
---|
2986 | IFS=$as_save_IFS |
---|
2987 | test -z "$as_dir" && as_dir=. |
---|
2988 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2989 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2990 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
2991 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2992 | break 2 |
---|
2993 | fi |
---|
2994 | done |
---|
2995 | done |
---|
2996 | IFS=$as_save_IFS |
---|
2997 | |
---|
2998 | fi |
---|
2999 | fi |
---|
3000 | CC=$ac_cv_prog_CC |
---|
3001 | if test -n "$CC"; then |
---|
3002 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
3003 | $as_echo "$CC" >&6; } |
---|
3004 | else |
---|
3005 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3006 | $as_echo "no" >&6; } |
---|
3007 | fi |
---|
3008 | |
---|
3009 | |
---|
3010 | test -n "$CC" && break |
---|
3011 | done |
---|
3012 | fi |
---|
3013 | if test -z "$CC"; then |
---|
3014 | ac_ct_CC=$CC |
---|
3015 | for ac_prog in gcc |
---|
3016 | do |
---|
3017 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
3018 | set dummy $ac_prog; ac_word=$2 |
---|
3019 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
3020 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3021 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
---|
3022 | $as_echo_n "(cached) " >&6 |
---|
3023 | else |
---|
3024 | if test -n "$ac_ct_CC"; then |
---|
3025 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
3026 | else |
---|
3027 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3028 | for as_dir in $PATH |
---|
3029 | do |
---|
3030 | IFS=$as_save_IFS |
---|
3031 | test -z "$as_dir" && as_dir=. |
---|
3032 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3033 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3034 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
3035 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3036 | break 2 |
---|
3037 | fi |
---|
3038 | done |
---|
3039 | done |
---|
3040 | IFS=$as_save_IFS |
---|
3041 | |
---|
3042 | fi |
---|
3043 | fi |
---|
3044 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
3045 | if test -n "$ac_ct_CC"; then |
---|
3046 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
---|
3047 | $as_echo "$ac_ct_CC" >&6; } |
---|
3048 | else |
---|
3049 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3050 | $as_echo "no" >&6; } |
---|
3051 | fi |
---|
3052 | |
---|
3053 | |
---|
3054 | test -n "$ac_ct_CC" && break |
---|
3055 | done |
---|
3056 | |
---|
3057 | if test "x$ac_ct_CC" = x; then |
---|
3058 | CC="" |
---|
3059 | else |
---|
3060 | case $cross_compiling:$ac_tool_warned in |
---|
3061 | yes:) |
---|
3062 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
3063 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
3064 | ac_tool_warned=yes ;; |
---|
3065 | esac |
---|
3066 | CC=$ac_ct_CC |
---|
3067 | fi |
---|
3068 | fi |
---|
3069 | |
---|
3070 | |
---|
3071 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
3072 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3073 | as_fn_error $? "no acceptable C compiler found in \$PATH |
---|
3074 | See \`config.log' for more details" "$LINENO" 5; } |
---|
3075 | |
---|
3076 | # Provide some information about the compiler. |
---|
3077 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
---|
3078 | set X $ac_compile |
---|
3079 | ac_compiler=$2 |
---|
3080 | for ac_option in --version -v -V -qversion; do |
---|
3081 | { { ac_try="$ac_compiler $ac_option >&5" |
---|
3082 | case "(($ac_try" in |
---|
3083 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3084 | *) ac_try_echo=$ac_try;; |
---|
3085 | esac |
---|
3086 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3087 | $as_echo "$ac_try_echo"; } >&5 |
---|
3088 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
---|
3089 | ac_status=$? |
---|
3090 | if test -s conftest.err; then |
---|
3091 | sed '10a\ |
---|
3092 | ... rest of stderr output deleted ... |
---|
3093 | 10q' conftest.err >conftest.er1 |
---|
3094 | cat conftest.er1 >&5 |
---|
3095 | fi |
---|
3096 | rm -f conftest.er1 conftest.err |
---|
3097 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3098 | test $ac_status = 0; } |
---|
3099 | done |
---|
3100 | |
---|
3101 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3102 | /* end confdefs.h. */ |
---|
3103 | |
---|
3104 | int |
---|
3105 | main () |
---|
3106 | { |
---|
3107 | |
---|
3108 | ; |
---|
3109 | return 0; |
---|
3110 | } |
---|
3111 | _ACEOF |
---|
3112 | ac_clean_files_save=$ac_clean_files |
---|
3113 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
---|
3114 | # Try to create an executable without -o first, disregard a.out. |
---|
3115 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
3116 | # of exeext. |
---|
3117 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
---|
3118 | $as_echo_n "checking whether the C compiler works... " >&6; } |
---|
3119 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
3120 | |
---|
3121 | # The possible output files: |
---|
3122 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
---|
3123 | |
---|
3124 | ac_rmfiles= |
---|
3125 | for ac_file in $ac_files |
---|
3126 | do |
---|
3127 | case $ac_file in |
---|
3128 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
3129 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
---|
3130 | esac |
---|
3131 | done |
---|
3132 | rm -f $ac_rmfiles |
---|
3133 | |
---|
3134 | if { { ac_try="$ac_link_default" |
---|
3135 | case "(($ac_try" in |
---|
3136 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3137 | *) ac_try_echo=$ac_try;; |
---|
3138 | esac |
---|
3139 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3140 | $as_echo "$ac_try_echo"; } >&5 |
---|
3141 | (eval "$ac_link_default") 2>&5 |
---|
3142 | ac_status=$? |
---|
3143 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3144 | test $ac_status = 0; }; then : |
---|
3145 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
---|
3146 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
---|
3147 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
---|
3148 | # so that the user can short-circuit this test for compilers unknown to |
---|
3149 | # Autoconf. |
---|
3150 | for ac_file in $ac_files '' |
---|
3151 | do |
---|
3152 | test -f "$ac_file" || continue |
---|
3153 | case $ac_file in |
---|
3154 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
---|
3155 | ;; |
---|
3156 | [ab].out ) |
---|
3157 | # We found the default executable, but exeext='' is most |
---|
3158 | # certainly right. |
---|
3159 | break;; |
---|
3160 | *.* ) |
---|
3161 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
---|
3162 | then :; else |
---|
3163 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
3164 | fi |
---|
3165 | # We set ac_cv_exeext here because the later test for it is not |
---|
3166 | # safe: cross compilers may not add the suffix if given an `-o' |
---|
3167 | # argument, so we may need to know it at that point already. |
---|
3168 | # Even if this section looks crufty: it has the advantage of |
---|
3169 | # actually working. |
---|
3170 | break;; |
---|
3171 | * ) |
---|
3172 | break;; |
---|
3173 | esac |
---|
3174 | done |
---|
3175 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
---|
3176 | |
---|
3177 | else |
---|
3178 | ac_file='' |
---|
3179 | fi |
---|
3180 | if test -z "$ac_file"; then : |
---|
3181 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
3182 | $as_echo "no" >&6; } |
---|
3183 | $as_echo "$as_me: failed program was:" >&5 |
---|
3184 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3185 | |
---|
3186 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
3187 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3188 | as_fn_error 77 "C compiler cannot create executables |
---|
3189 | See \`config.log' for more details" "$LINENO" 5; } |
---|
3190 | else |
---|
3191 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
3192 | $as_echo "yes" >&6; } |
---|
3193 | fi |
---|
3194 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
---|
3195 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
---|
3196 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
---|
3197 | $as_echo "$ac_file" >&6; } |
---|
3198 | ac_exeext=$ac_cv_exeext |
---|
3199 | |
---|
3200 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
---|
3201 | ac_clean_files=$ac_clean_files_save |
---|
3202 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
---|
3203 | $as_echo_n "checking for suffix of executables... " >&6; } |
---|
3204 | if { { ac_try="$ac_link" |
---|
3205 | case "(($ac_try" in |
---|
3206 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3207 | *) ac_try_echo=$ac_try;; |
---|
3208 | esac |
---|
3209 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3210 | $as_echo "$ac_try_echo"; } >&5 |
---|
3211 | (eval "$ac_link") 2>&5 |
---|
3212 | ac_status=$? |
---|
3213 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3214 | test $ac_status = 0; }; then : |
---|
3215 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
3216 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
3217 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
3218 | # `rm'. |
---|
3219 | for ac_file in conftest.exe conftest conftest.*; do |
---|
3220 | test -f "$ac_file" || continue |
---|
3221 | case $ac_file in |
---|
3222 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
3223 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
3224 | break;; |
---|
3225 | * ) break;; |
---|
3226 | esac |
---|
3227 | done |
---|
3228 | else |
---|
3229 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
3230 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3231 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
---|
3232 | See \`config.log' for more details" "$LINENO" 5; } |
---|
3233 | fi |
---|
3234 | rm -f conftest conftest$ac_cv_exeext |
---|
3235 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
---|
3236 | $as_echo "$ac_cv_exeext" >&6; } |
---|
3237 | |
---|
3238 | rm -f conftest.$ac_ext |
---|
3239 | EXEEXT=$ac_cv_exeext |
---|
3240 | ac_exeext=$EXEEXT |
---|
3241 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3242 | /* end confdefs.h. */ |
---|
3243 | #include <stdio.h> |
---|
3244 | int |
---|
3245 | main () |
---|
3246 | { |
---|
3247 | FILE *f = fopen ("conftest.out", "w"); |
---|
3248 | return ferror (f) || fclose (f) != 0; |
---|
3249 | |
---|
3250 | ; |
---|
3251 | return 0; |
---|
3252 | } |
---|
3253 | _ACEOF |
---|
3254 | ac_clean_files="$ac_clean_files conftest.out" |
---|
3255 | # Check that the compiler produces executables we can run. If not, either |
---|
3256 | # the compiler is broken, or we cross compile. |
---|
3257 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
---|
3258 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
---|
3259 | if test "$cross_compiling" != yes; then |
---|
3260 | { { ac_try="$ac_link" |
---|
3261 | case "(($ac_try" in |
---|
3262 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3263 | *) ac_try_echo=$ac_try;; |
---|
3264 | esac |
---|
3265 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3266 | $as_echo "$ac_try_echo"; } >&5 |
---|
3267 | (eval "$ac_link") 2>&5 |
---|
3268 | ac_status=$? |
---|
3269 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3270 | test $ac_status = 0; } |
---|
3271 | if { ac_try='./conftest$ac_cv_exeext' |
---|
3272 | { { case "(($ac_try" in |
---|
3273 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3274 | *) ac_try_echo=$ac_try;; |
---|
3275 | esac |
---|
3276 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3277 | $as_echo "$ac_try_echo"; } >&5 |
---|
3278 | (eval "$ac_try") 2>&5 |
---|
3279 | ac_status=$? |
---|
3280 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3281 | test $ac_status = 0; }; }; then |
---|
3282 | cross_compiling=no |
---|
3283 | else |
---|
3284 | if test "$cross_compiling" = maybe; then |
---|
3285 | cross_compiling=yes |
---|
3286 | else |
---|
3287 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
3288 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3289 | as_fn_error $? "cannot run C compiled programs. |
---|
3290 | If you meant to cross compile, use \`--host'. |
---|
3291 | See \`config.log' for more details" "$LINENO" 5; } |
---|
3292 | fi |
---|
3293 | fi |
---|
3294 | fi |
---|
3295 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
---|
3296 | $as_echo "$cross_compiling" >&6; } |
---|
3297 | |
---|
3298 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
---|
3299 | ac_clean_files=$ac_clean_files_save |
---|
3300 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
---|
3301 | $as_echo_n "checking for suffix of object files... " >&6; } |
---|
3302 | if ${ac_cv_objext+:} false; then : |
---|
3303 | $as_echo_n "(cached) " >&6 |
---|
3304 | else |
---|
3305 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3306 | /* end confdefs.h. */ |
---|
3307 | |
---|
3308 | int |
---|
3309 | main () |
---|
3310 | { |
---|
3311 | |
---|
3312 | ; |
---|
3313 | return 0; |
---|
3314 | } |
---|
3315 | _ACEOF |
---|
3316 | rm -f conftest.o conftest.obj |
---|
3317 | if { { ac_try="$ac_compile" |
---|
3318 | case "(($ac_try" in |
---|
3319 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3320 | *) ac_try_echo=$ac_try;; |
---|
3321 | esac |
---|
3322 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
3323 | $as_echo "$ac_try_echo"; } >&5 |
---|
3324 | (eval "$ac_compile") 2>&5 |
---|
3325 | ac_status=$? |
---|
3326 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
3327 | test $ac_status = 0; }; then : |
---|
3328 | for ac_file in conftest.o conftest.obj conftest.*; do |
---|
3329 | test -f "$ac_file" || continue; |
---|
3330 | case $ac_file in |
---|
3331 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
---|
3332 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
3333 | break;; |
---|
3334 | esac |
---|
3335 | done |
---|
3336 | else |
---|
3337 | $as_echo "$as_me: failed program was:" >&5 |
---|
3338 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3339 | |
---|
3340 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
3341 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3342 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
---|
3343 | See \`config.log' for more details" "$LINENO" 5; } |
---|
3344 | fi |
---|
3345 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
3346 | fi |
---|
3347 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
---|
3348 | $as_echo "$ac_cv_objext" >&6; } |
---|
3349 | OBJEXT=$ac_cv_objext |
---|
3350 | ac_objext=$OBJEXT |
---|
3351 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
---|
3352 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
---|
3353 | if ${ac_cv_c_compiler_gnu+:} false; then : |
---|
3354 | $as_echo_n "(cached) " >&6 |
---|
3355 | else |
---|
3356 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3357 | /* end confdefs.h. */ |
---|
3358 | |
---|
3359 | int |
---|
3360 | main () |
---|
3361 | { |
---|
3362 | #ifndef __GNUC__ |
---|
3363 | choke me |
---|
3364 | #endif |
---|
3365 | |
---|
3366 | ; |
---|
3367 | return 0; |
---|
3368 | } |
---|
3369 | _ACEOF |
---|
3370 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
3371 | ac_compiler_gnu=yes |
---|
3372 | else |
---|
3373 | ac_compiler_gnu=no |
---|
3374 | fi |
---|
3375 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3376 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
3377 | |
---|
3378 | fi |
---|
3379 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
---|
3380 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
---|
3381 | if test $ac_compiler_gnu = yes; then |
---|
3382 | GCC=yes |
---|
3383 | else |
---|
3384 | GCC= |
---|
3385 | fi |
---|
3386 | ac_test_CFLAGS=${CFLAGS+set} |
---|
3387 | ac_save_CFLAGS=$CFLAGS |
---|
3388 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
---|
3389 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
---|
3390 | if ${ac_cv_prog_cc_g+:} false; then : |
---|
3391 | $as_echo_n "(cached) " >&6 |
---|
3392 | else |
---|
3393 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
3394 | ac_c_werror_flag=yes |
---|
3395 | ac_cv_prog_cc_g=no |
---|
3396 | CFLAGS="-g" |
---|
3397 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3398 | /* end confdefs.h. */ |
---|
3399 | |
---|
3400 | int |
---|
3401 | main () |
---|
3402 | { |
---|
3403 | |
---|
3404 | ; |
---|
3405 | return 0; |
---|
3406 | } |
---|
3407 | _ACEOF |
---|
3408 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
3409 | ac_cv_prog_cc_g=yes |
---|
3410 | else |
---|
3411 | CFLAGS="" |
---|
3412 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3413 | /* end confdefs.h. */ |
---|
3414 | |
---|
3415 | int |
---|
3416 | main () |
---|
3417 | { |
---|
3418 | |
---|
3419 | ; |
---|
3420 | return 0; |
---|
3421 | } |
---|
3422 | _ACEOF |
---|
3423 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
3424 | |
---|
3425 | else |
---|
3426 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
3427 | CFLAGS="-g" |
---|
3428 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3429 | /* end confdefs.h. */ |
---|
3430 | |
---|
3431 | int |
---|
3432 | main () |
---|
3433 | { |
---|
3434 | |
---|
3435 | ; |
---|
3436 | return 0; |
---|
3437 | } |
---|
3438 | _ACEOF |
---|
3439 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
3440 | ac_cv_prog_cc_g=yes |
---|
3441 | fi |
---|
3442 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3443 | fi |
---|
3444 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3445 | fi |
---|
3446 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3447 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
3448 | fi |
---|
3449 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
---|
3450 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
---|
3451 | if test "$ac_test_CFLAGS" = set; then |
---|
3452 | CFLAGS=$ac_save_CFLAGS |
---|
3453 | elif test $ac_cv_prog_cc_g = yes; then |
---|
3454 | if test "$GCC" = yes; then |
---|
3455 | CFLAGS="-g -O2" |
---|
3456 | else |
---|
3457 | CFLAGS="-g" |
---|
3458 | fi |
---|
3459 | else |
---|
3460 | if test "$GCC" = yes; then |
---|
3461 | CFLAGS="-O2" |
---|
3462 | else |
---|
3463 | CFLAGS= |
---|
3464 | fi |
---|
3465 | fi |
---|
3466 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
---|
3467 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
---|
3468 | if ${ac_cv_prog_cc_c89+:} false; then : |
---|
3469 | $as_echo_n "(cached) " >&6 |
---|
3470 | else |
---|
3471 | ac_cv_prog_cc_c89=no |
---|
3472 | ac_save_CC=$CC |
---|
3473 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3474 | /* end confdefs.h. */ |
---|
3475 | #include <stdarg.h> |
---|
3476 | #include <stdio.h> |
---|
3477 | struct stat; |
---|
3478 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
3479 | struct buf { int x; }; |
---|
3480 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
3481 | static char *e (p, i) |
---|
3482 | char **p; |
---|
3483 | int i; |
---|
3484 | { |
---|
3485 | return p[i]; |
---|
3486 | } |
---|
3487 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
3488 | { |
---|
3489 | char *s; |
---|
3490 | va_list v; |
---|
3491 | va_start (v,p); |
---|
3492 | s = g (p, va_arg (v,int)); |
---|
3493 | va_end (v); |
---|
3494 | return s; |
---|
3495 | } |
---|
3496 | |
---|
3497 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
3498 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
3499 | These don't provoke an error unfortunately, instead are silently treated |
---|
3500 | as 'x'. The following induces an error, until -std is added to get |
---|
3501 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
3502 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
3503 | that's true only with -std. */ |
---|
3504 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
3505 | |
---|
3506 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
3507 | inside strings and character constants. */ |
---|
3508 | #define FOO(x) 'x' |
---|
3509 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
3510 | |
---|
3511 | int test (int i, double x); |
---|
3512 | struct s1 {int (*f) (int a);}; |
---|
3513 | struct s2 {int (*f) (double a);}; |
---|
3514 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
3515 | int argc; |
---|
3516 | char **argv; |
---|
3517 | int |
---|
3518 | main () |
---|
3519 | { |
---|
3520 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
3521 | ; |
---|
3522 | return 0; |
---|
3523 | } |
---|
3524 | _ACEOF |
---|
3525 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
3526 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
3527 | do |
---|
3528 | CC="$ac_save_CC $ac_arg" |
---|
3529 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
3530 | ac_cv_prog_cc_c89=$ac_arg |
---|
3531 | fi |
---|
3532 | rm -f core conftest.err conftest.$ac_objext |
---|
3533 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
3534 | done |
---|
3535 | rm -f conftest.$ac_ext |
---|
3536 | CC=$ac_save_CC |
---|
3537 | |
---|
3538 | fi |
---|
3539 | # AC_CACHE_VAL |
---|
3540 | case "x$ac_cv_prog_cc_c89" in |
---|
3541 | x) |
---|
3542 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
---|
3543 | $as_echo "none needed" >&6; } ;; |
---|
3544 | xno) |
---|
3545 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
---|
3546 | $as_echo "unsupported" >&6; } ;; |
---|
3547 | *) |
---|
3548 | CC="$CC $ac_cv_prog_cc_c89" |
---|
3549 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
---|
3550 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
---|
3551 | esac |
---|
3552 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
---|
3553 | |
---|
3554 | fi |
---|
3555 | |
---|
3556 | ac_ext=c |
---|
3557 | ac_cpp='$CPP $CPPFLAGS' |
---|
3558 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3559 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3560 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3561 | DEPDIR="${am__leading_dot}deps" |
---|
3562 | |
---|
3563 | ac_config_commands="$ac_config_commands depfiles" |
---|
3564 | |
---|
3565 | |
---|
3566 | am_make=${MAKE-make} |
---|
3567 | cat > confinc << 'END' |
---|
3568 | am__doit: |
---|
3569 | @echo this is the am__doit target |
---|
3570 | .PHONY: am__doit |
---|
3571 | END |
---|
3572 | # If we don't find an include directive, just comment out the code. |
---|
3573 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
---|
3574 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
---|
3575 | am__include="#" |
---|
3576 | am__quote= |
---|
3577 | _am_result=none |
---|
3578 | # First try GNU make style include. |
---|
3579 | echo "include confinc" > confmf |
---|
3580 | # Ignore all kinds of additional output from `make'. |
---|
3581 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
3582 | *the\ am__doit\ target*) |
---|
3583 | am__include=include |
---|
3584 | am__quote= |
---|
3585 | _am_result=GNU |
---|
3586 | ;; |
---|
3587 | esac |
---|
3588 | # Now try BSD make style include. |
---|
3589 | if test "$am__include" = "#"; then |
---|
3590 | echo '.include "confinc"' > confmf |
---|
3591 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
3592 | *the\ am__doit\ target*) |
---|
3593 | am__include=.include |
---|
3594 | am__quote="\"" |
---|
3595 | _am_result=BSD |
---|
3596 | ;; |
---|
3597 | esac |
---|
3598 | fi |
---|
3599 | |
---|
3600 | |
---|
3601 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
---|
3602 | $as_echo "$_am_result" >&6; } |
---|
3603 | rm -f confinc confmf |
---|
3604 | |
---|
3605 | # Check whether --enable-dependency-tracking was given. |
---|
3606 | if test "${enable_dependency_tracking+set}" = set; then : |
---|
3607 | enableval=$enable_dependency_tracking; |
---|
3608 | fi |
---|
3609 | |
---|
3610 | if test "x$enable_dependency_tracking" != xno; then |
---|
3611 | am_depcomp="$ac_aux_dir/depcomp" |
---|
3612 | AMDEPBACKSLASH='\' |
---|
3613 | am__nodep='_no' |
---|
3614 | fi |
---|
3615 | if test "x$enable_dependency_tracking" != xno; then |
---|
3616 | AMDEP_TRUE= |
---|
3617 | AMDEP_FALSE='#' |
---|
3618 | else |
---|
3619 | AMDEP_TRUE='#' |
---|
3620 | AMDEP_FALSE= |
---|
3621 | fi |
---|
3622 | |
---|
3623 | |
---|
3624 | |
---|
3625 | depcc="$CC" am_compiler_list= |
---|
3626 | |
---|
3627 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
---|
3628 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
---|
3629 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
---|
3630 | $as_echo_n "(cached) " >&6 |
---|
3631 | else |
---|
3632 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
3633 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
3634 | # making bogus files that we don't know about and never remove. For |
---|
3635 | # instance it was reported that on HP-UX the gcc test will end up |
---|
3636 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
3637 | # in D'. |
---|
3638 | rm -rf conftest.dir |
---|
3639 | mkdir conftest.dir |
---|
3640 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
3641 | # using a relative directory. |
---|
3642 | cp "$am_depcomp" conftest.dir |
---|
3643 | cd conftest.dir |
---|
3644 | # We will build objects and dependencies in a subdirectory because |
---|
3645 | # it helps to detect inapplicable dependency modes. For instance |
---|
3646 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
3647 | # side effect of compilation, but ICC will put the dependencies in |
---|
3648 | # the current directory while Tru64 will put them in the object |
---|
3649 | # directory. |
---|
3650 | mkdir sub |
---|
3651 | |
---|
3652 | am_cv_CC_dependencies_compiler_type=none |
---|
3653 | if test "$am_compiler_list" = ""; then |
---|
3654 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
3655 | fi |
---|
3656 | am__universal=false |
---|
3657 | case " $depcc " in #( |
---|
3658 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
---|
3659 | esac |
---|
3660 | |
---|
3661 | for depmode in $am_compiler_list; do |
---|
3662 | # Setup a source with many dependencies, because some compilers |
---|
3663 | # like to wrap large dependency lists on column 80 (with \), and |
---|
3664 | # we should not choose a depcomp mode which is confused by this. |
---|
3665 | # |
---|
3666 | # We need to recreate these files for each test, as the compiler may |
---|
3667 | # overwrite some of them when testing with obscure command lines. |
---|
3668 | # This happens at least with the AIX C compiler. |
---|
3669 | : > sub/conftest.c |
---|
3670 | for i in 1 2 3 4 5 6; do |
---|
3671 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
3672 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
---|
3673 | # Solaris 8's {/usr,}/bin/sh. |
---|
3674 | touch sub/conftst$i.h |
---|
3675 | done |
---|
3676 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
3677 | |
---|
3678 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
---|
3679 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
3680 | # handle `-M -o', and we need to detect this. Also, some Intel |
---|
3681 | # versions had trouble with output in subdirs |
---|
3682 | am__obj=sub/conftest.${OBJEXT-o} |
---|
3683 | am__minus_obj="-o $am__obj" |
---|
3684 | case $depmode in |
---|
3685 | gcc) |
---|
3686 | # This depmode causes a compiler race in universal mode. |
---|
3687 | test "$am__universal" = false || continue |
---|
3688 | ;; |
---|
3689 | nosideeffect) |
---|
3690 | # after this tag, mechanisms are not by side-effect, so they'll |
---|
3691 | # only be used when explicitly requested |
---|
3692 | if test "x$enable_dependency_tracking" = xyes; then |
---|
3693 | continue |
---|
3694 | else |
---|
3695 | break |
---|
3696 | fi |
---|
3697 | ;; |
---|
3698 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
---|
3699 | # This compiler won't grok `-c -o', but also, the minuso test has |
---|
3700 | # not run yet. These depmodes are late enough in the game, and |
---|
3701 | # so weak that their functioning should not be impacted. |
---|
3702 | am__obj=conftest.${OBJEXT-o} |
---|
3703 | am__minus_obj= |
---|
3704 | ;; |
---|
3705 | none) break ;; |
---|
3706 | esac |
---|
3707 | if depmode=$depmode \ |
---|
3708 | source=sub/conftest.c object=$am__obj \ |
---|
3709 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
3710 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
---|
3711 | >/dev/null 2>conftest.err && |
---|
3712 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
---|
3713 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
3714 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
---|
3715 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
3716 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
3717 | # or remarks (even with -Werror). So we grep stderr for any message |
---|
3718 | # that says an option was ignored or not supported. |
---|
3719 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
---|
3720 | # icc: Command line warning: ignoring option '-M'; no argument required |
---|
3721 | # The diagnosis changed in icc 8.0: |
---|
3722 | # icc: Command line remark: option '-MP' not supported |
---|
3723 | if (grep 'ignoring option' conftest.err || |
---|
3724 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
---|
3725 | am_cv_CC_dependencies_compiler_type=$depmode |
---|
3726 | break |
---|
3727 | fi |
---|
3728 | fi |
---|
3729 | done |
---|
3730 | |
---|
3731 | cd .. |
---|
3732 | rm -rf conftest.dir |
---|
3733 | else |
---|
3734 | am_cv_CC_dependencies_compiler_type=none |
---|
3735 | fi |
---|
3736 | |
---|
3737 | fi |
---|
3738 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
---|
3739 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
---|
3740 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
---|
3741 | |
---|
3742 | if |
---|
3743 | test "x$enable_dependency_tracking" != xno \ |
---|
3744 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
---|
3745 | am__fastdepCC_TRUE= |
---|
3746 | am__fastdepCC_FALSE='#' |
---|
3747 | else |
---|
3748 | am__fastdepCC_TRUE='#' |
---|
3749 | am__fastdepCC_FALSE= |
---|
3750 | fi |
---|
3751 | |
---|
3752 | |
---|
3753 | depcc="$CC" am_compiler_list= |
---|
3754 | |
---|
3755 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
---|
3756 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
---|
3757 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
---|
3758 | $as_echo_n "(cached) " >&6 |
---|
3759 | else |
---|
3760 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
3761 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
3762 | # making bogus files that we don't know about and never remove. For |
---|
3763 | # instance it was reported that on HP-UX the gcc test will end up |
---|
3764 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
3765 | # in D'. |
---|
3766 | rm -rf conftest.dir |
---|
3767 | mkdir conftest.dir |
---|
3768 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
3769 | # using a relative directory. |
---|
3770 | cp "$am_depcomp" conftest.dir |
---|
3771 | cd conftest.dir |
---|
3772 | # We will build objects and dependencies in a subdirectory because |
---|
3773 | # it helps to detect inapplicable dependency modes. For instance |
---|
3774 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
3775 | # side effect of compilation, but ICC will put the dependencies in |
---|
3776 | # the current directory while Tru64 will put them in the object |
---|
3777 | # directory. |
---|
3778 | mkdir sub |
---|
3779 | |
---|
3780 | am_cv_CC_dependencies_compiler_type=none |
---|
3781 | if test "$am_compiler_list" = ""; then |
---|
3782 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
3783 | fi |
---|
3784 | am__universal=false |
---|
3785 | case " $depcc " in #( |
---|
3786 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
---|
3787 | esac |
---|
3788 | |
---|
3789 | for depmode in $am_compiler_list; do |
---|
3790 | # Setup a source with many dependencies, because some compilers |
---|
3791 | # like to wrap large dependency lists on column 80 (with \), and |
---|
3792 | # we should not choose a depcomp mode which is confused by this. |
---|
3793 | # |
---|
3794 | # We need to recreate these files for each test, as the compiler may |
---|
3795 | # overwrite some of them when testing with obscure command lines. |
---|
3796 | # This happens at least with the AIX C compiler. |
---|
3797 | : > sub/conftest.c |
---|
3798 | for i in 1 2 3 4 5 6; do |
---|
3799 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
3800 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
---|
3801 | # Solaris 8's {/usr,}/bin/sh. |
---|
3802 | touch sub/conftst$i.h |
---|
3803 | done |
---|
3804 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
3805 | |
---|
3806 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
---|
3807 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
3808 | # handle `-M -o', and we need to detect this. Also, some Intel |
---|
3809 | # versions had trouble with output in subdirs |
---|
3810 | am__obj=sub/conftest.${OBJEXT-o} |
---|
3811 | am__minus_obj="-o $am__obj" |
---|
3812 | case $depmode in |
---|
3813 | gcc) |
---|
3814 | # This depmode causes a compiler race in universal mode. |
---|
3815 | test "$am__universal" = false || continue |
---|
3816 | ;; |
---|
3817 | nosideeffect) |
---|
3818 | # after this tag, mechanisms are not by side-effect, so they'll |
---|
3819 | # only be used when explicitly requested |
---|
3820 | if test "x$enable_dependency_tracking" = xyes; then |
---|
3821 | continue |
---|
3822 | else |
---|
3823 | break |
---|
3824 | fi |
---|
3825 | ;; |
---|
3826 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
---|
3827 | # This compiler won't grok `-c -o', but also, the minuso test has |
---|
3828 | # not run yet. These depmodes are late enough in the game, and |
---|
3829 | # so weak that their functioning should not be impacted. |
---|
3830 | am__obj=conftest.${OBJEXT-o} |
---|
3831 | am__minus_obj= |
---|
3832 | ;; |
---|
3833 | none) break ;; |
---|
3834 | esac |
---|
3835 | if depmode=$depmode \ |
---|
3836 | source=sub/conftest.c object=$am__obj \ |
---|
3837 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
3838 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
---|
3839 | >/dev/null 2>conftest.err && |
---|
3840 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
---|
3841 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
3842 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
---|
3843 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
3844 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
3845 | # or remarks (even with -Werror). So we grep stderr for any message |
---|
3846 | # that says an option was ignored or not supported. |
---|
3847 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
---|
3848 | # icc: Command line warning: ignoring option '-M'; no argument required |
---|
3849 | # The diagnosis changed in icc 8.0: |
---|
3850 | # icc: Command line remark: option '-MP' not supported |
---|
3851 | if (grep 'ignoring option' conftest.err || |
---|
3852 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
---|
3853 | am_cv_CC_dependencies_compiler_type=$depmode |
---|
3854 | break |
---|
3855 | fi |
---|
3856 | fi |
---|
3857 | done |
---|
3858 | |
---|
3859 | cd .. |
---|
3860 | rm -rf conftest.dir |
---|
3861 | else |
---|
3862 | am_cv_CC_dependencies_compiler_type=none |
---|
3863 | fi |
---|
3864 | |
---|
3865 | fi |
---|
3866 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
---|
3867 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
---|
3868 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
---|
3869 | |
---|
3870 | if |
---|
3871 | test "x$enable_dependency_tracking" != xno \ |
---|
3872 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
---|
3873 | am__fastdepCC_TRUE= |
---|
3874 | am__fastdepCC_FALSE='#' |
---|
3875 | else |
---|
3876 | am__fastdepCC_TRUE='#' |
---|
3877 | am__fastdepCC_FALSE= |
---|
3878 | fi |
---|
3879 | |
---|
3880 | |
---|
3881 | |
---|
3882 | # Checks for libraries. |
---|
3883 | |
---|
3884 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5 |
---|
3885 | $as_echo_n "checking for log in -lm... " >&6; } |
---|
3886 | if ${ac_cv_lib_m_log+:} false; then : |
---|
3887 | $as_echo_n "(cached) " >&6 |
---|
3888 | else |
---|
3889 | ac_check_lib_save_LIBS=$LIBS |
---|
3890 | LIBS="-lm $LIBS" |
---|
3891 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3892 | /* end confdefs.h. */ |
---|
3893 | |
---|
3894 | /* Override any GCC internal prototype to avoid an error. |
---|
3895 | Use char because int might match the return type of a GCC |
---|
3896 | builtin and then its argument prototype would still apply. */ |
---|
3897 | #ifdef __cplusplus |
---|
3898 | extern "C" |
---|
3899 | #endif |
---|
3900 | char log (); |
---|
3901 | int |
---|
3902 | main () |
---|
3903 | { |
---|
3904 | return log (); |
---|
3905 | ; |
---|
3906 | return 0; |
---|
3907 | } |
---|
3908 | _ACEOF |
---|
3909 | if ac_fn_c_try_link "$LINENO"; then : |
---|
3910 | ac_cv_lib_m_log=yes |
---|
3911 | else |
---|
3912 | ac_cv_lib_m_log=no |
---|
3913 | fi |
---|
3914 | rm -f core conftest.err conftest.$ac_objext \ |
---|
3915 | conftest$ac_exeext conftest.$ac_ext |
---|
3916 | LIBS=$ac_check_lib_save_LIBS |
---|
3917 | fi |
---|
3918 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5 |
---|
3919 | $as_echo "$ac_cv_lib_m_log" >&6; } |
---|
3920 | if test "x$ac_cv_lib_m_log" = xyes; then : |
---|
3921 | cat >>confdefs.h <<_ACEOF |
---|
3922 | #define HAVE_LIBM 1 |
---|
3923 | _ACEOF |
---|
3924 | |
---|
3925 | LIBS="-lm $LIBS" |
---|
3926 | |
---|
3927 | fi |
---|
3928 | |
---|
3929 | |
---|
3930 | # Checks for header files. |
---|
3931 | ac_ext=c |
---|
3932 | ac_cpp='$CPP $CPPFLAGS' |
---|
3933 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3934 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3935 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3936 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
---|
3937 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
---|
3938 | # On Suns, sometimes $CPP names a directory. |
---|
3939 | if test -n "$CPP" && test -d "$CPP"; then |
---|
3940 | CPP= |
---|
3941 | fi |
---|
3942 | if test -z "$CPP"; then |
---|
3943 | if ${ac_cv_prog_CPP+:} false; then : |
---|
3944 | $as_echo_n "(cached) " >&6 |
---|
3945 | else |
---|
3946 | # Double quotes because CPP needs to be expanded |
---|
3947 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
3948 | do |
---|
3949 | ac_preproc_ok=false |
---|
3950 | for ac_c_preproc_warn_flag in '' yes |
---|
3951 | do |
---|
3952 | # Use a header file that comes with gcc, so configuring glibc |
---|
3953 | # with a fresh cross-compiler works. |
---|
3954 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3955 | # <limits.h> exists even on freestanding compilers. |
---|
3956 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
3957 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
3958 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3959 | /* end confdefs.h. */ |
---|
3960 | #ifdef __STDC__ |
---|
3961 | # include <limits.h> |
---|
3962 | #else |
---|
3963 | # include <assert.h> |
---|
3964 | #endif |
---|
3965 | Syntax error |
---|
3966 | _ACEOF |
---|
3967 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
3968 | |
---|
3969 | else |
---|
3970 | # Broken: fails on valid input. |
---|
3971 | continue |
---|
3972 | fi |
---|
3973 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
3974 | |
---|
3975 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
3976 | # can be detected and how. |
---|
3977 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
3978 | /* end confdefs.h. */ |
---|
3979 | #include <ac_nonexistent.h> |
---|
3980 | _ACEOF |
---|
3981 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
3982 | # Broken: success on invalid input. |
---|
3983 | continue |
---|
3984 | else |
---|
3985 | # Passes both tests. |
---|
3986 | ac_preproc_ok=: |
---|
3987 | break |
---|
3988 | fi |
---|
3989 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
3990 | |
---|
3991 | done |
---|
3992 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
3993 | rm -f conftest.i conftest.err conftest.$ac_ext |
---|
3994 | if $ac_preproc_ok; then : |
---|
3995 | break |
---|
3996 | fi |
---|
3997 | |
---|
3998 | done |
---|
3999 | ac_cv_prog_CPP=$CPP |
---|
4000 | |
---|
4001 | fi |
---|
4002 | CPP=$ac_cv_prog_CPP |
---|
4003 | else |
---|
4004 | ac_cv_prog_CPP=$CPP |
---|
4005 | fi |
---|
4006 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
---|
4007 | $as_echo "$CPP" >&6; } |
---|
4008 | ac_preproc_ok=false |
---|
4009 | for ac_c_preproc_warn_flag in '' yes |
---|
4010 | do |
---|
4011 | # Use a header file that comes with gcc, so configuring glibc |
---|
4012 | # with a fresh cross-compiler works. |
---|
4013 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
4014 | # <limits.h> exists even on freestanding compilers. |
---|
4015 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
4016 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
4017 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4018 | /* end confdefs.h. */ |
---|
4019 | #ifdef __STDC__ |
---|
4020 | # include <limits.h> |
---|
4021 | #else |
---|
4022 | # include <assert.h> |
---|
4023 | #endif |
---|
4024 | Syntax error |
---|
4025 | _ACEOF |
---|
4026 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
4027 | |
---|
4028 | else |
---|
4029 | # Broken: fails on valid input. |
---|
4030 | continue |
---|
4031 | fi |
---|
4032 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
4033 | |
---|
4034 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
4035 | # can be detected and how. |
---|
4036 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4037 | /* end confdefs.h. */ |
---|
4038 | #include <ac_nonexistent.h> |
---|
4039 | _ACEOF |
---|
4040 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
4041 | # Broken: success on invalid input. |
---|
4042 | continue |
---|
4043 | else |
---|
4044 | # Passes both tests. |
---|
4045 | ac_preproc_ok=: |
---|
4046 | break |
---|
4047 | fi |
---|
4048 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
4049 | |
---|
4050 | done |
---|
4051 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
4052 | rm -f conftest.i conftest.err conftest.$ac_ext |
---|
4053 | if $ac_preproc_ok; then : |
---|
4054 | |
---|
4055 | else |
---|
4056 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
4057 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
4058 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
---|
4059 | See \`config.log' for more details" "$LINENO" 5; } |
---|
4060 | fi |
---|
4061 | |
---|
4062 | ac_ext=c |
---|
4063 | ac_cpp='$CPP $CPPFLAGS' |
---|
4064 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
4065 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
4066 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
4067 | |
---|
4068 | |
---|
4069 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
---|
4070 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
---|
4071 | if ${ac_cv_path_GREP+:} false; then : |
---|
4072 | $as_echo_n "(cached) " >&6 |
---|
4073 | else |
---|
4074 | if test -z "$GREP"; then |
---|
4075 | ac_path_GREP_found=false |
---|
4076 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
4077 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4078 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
4079 | do |
---|
4080 | IFS=$as_save_IFS |
---|
4081 | test -z "$as_dir" && as_dir=. |
---|
4082 | for ac_prog in grep ggrep; do |
---|
4083 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4084 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
4085 | as_fn_executable_p "$ac_path_GREP" || continue |
---|
4086 | # Check for GNU ac_path_GREP and select it if it is found. |
---|
4087 | # Check for GNU $ac_path_GREP |
---|
4088 | case `"$ac_path_GREP" --version 2>&1` in |
---|
4089 | *GNU*) |
---|
4090 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
---|
4091 | *) |
---|
4092 | ac_count=0 |
---|
4093 | $as_echo_n 0123456789 >"conftest.in" |
---|
4094 | while : |
---|
4095 | do |
---|
4096 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
4097 | mv "conftest.tmp" "conftest.in" |
---|
4098 | cp "conftest.in" "conftest.nl" |
---|
4099 | $as_echo 'GREP' >> "conftest.nl" |
---|
4100 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
4101 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
4102 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
---|
4103 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
---|
4104 | # Best one so far, save it but keep looking for a better one |
---|
4105 | ac_cv_path_GREP="$ac_path_GREP" |
---|
4106 | ac_path_GREP_max=$ac_count |
---|
4107 | fi |
---|
4108 | # 10*(2^10) chars as input seems more than enough |
---|
4109 | test $ac_count -gt 10 && break |
---|
4110 | done |
---|
4111 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
4112 | esac |
---|
4113 | |
---|
4114 | $ac_path_GREP_found && break 3 |
---|
4115 | done |
---|
4116 | done |
---|
4117 | done |
---|
4118 | IFS=$as_save_IFS |
---|
4119 | if test -z "$ac_cv_path_GREP"; then |
---|
4120 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
---|
4121 | fi |
---|
4122 | else |
---|
4123 | ac_cv_path_GREP=$GREP |
---|
4124 | fi |
---|
4125 | |
---|
4126 | fi |
---|
4127 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
---|
4128 | $as_echo "$ac_cv_path_GREP" >&6; } |
---|
4129 | GREP="$ac_cv_path_GREP" |
---|
4130 | |
---|
4131 | |
---|
4132 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
---|
4133 | $as_echo_n "checking for egrep... " >&6; } |
---|
4134 | if ${ac_cv_path_EGREP+:} false; then : |
---|
4135 | $as_echo_n "(cached) " >&6 |
---|
4136 | else |
---|
4137 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
---|
4138 | then ac_cv_path_EGREP="$GREP -E" |
---|
4139 | else |
---|
4140 | if test -z "$EGREP"; then |
---|
4141 | ac_path_EGREP_found=false |
---|
4142 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
4143 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4144 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
4145 | do |
---|
4146 | IFS=$as_save_IFS |
---|
4147 | test -z "$as_dir" && as_dir=. |
---|
4148 | for ac_prog in egrep; do |
---|
4149 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4150 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
4151 | as_fn_executable_p "$ac_path_EGREP" || continue |
---|
4152 | # Check for GNU ac_path_EGREP and select it if it is found. |
---|
4153 | # Check for GNU $ac_path_EGREP |
---|
4154 | case `"$ac_path_EGREP" --version 2>&1` in |
---|
4155 | *GNU*) |
---|
4156 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
---|
4157 | *) |
---|
4158 | ac_count=0 |
---|
4159 | $as_echo_n 0123456789 >"conftest.in" |
---|
4160 | while : |
---|
4161 | do |
---|
4162 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
4163 | mv "conftest.tmp" "conftest.in" |
---|
4164 | cp "conftest.in" "conftest.nl" |
---|
4165 | $as_echo 'EGREP' >> "conftest.nl" |
---|
4166 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
4167 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
4168 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
---|
4169 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
---|
4170 | # Best one so far, save it but keep looking for a better one |
---|
4171 | ac_cv_path_EGREP="$ac_path_EGREP" |
---|
4172 | ac_path_EGREP_max=$ac_count |
---|
4173 | fi |
---|
4174 | # 10*(2^10) chars as input seems more than enough |
---|
4175 | test $ac_count -gt 10 && break |
---|
4176 | done |
---|
4177 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
4178 | esac |
---|
4179 | |
---|
4180 | $ac_path_EGREP_found && break 3 |
---|
4181 | done |
---|
4182 | done |
---|
4183 | done |
---|
4184 | IFS=$as_save_IFS |
---|
4185 | if test -z "$ac_cv_path_EGREP"; then |
---|
4186 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
---|
4187 | fi |
---|
4188 | else |
---|
4189 | ac_cv_path_EGREP=$EGREP |
---|
4190 | fi |
---|
4191 | |
---|
4192 | fi |
---|
4193 | fi |
---|
4194 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
---|
4195 | $as_echo "$ac_cv_path_EGREP" >&6; } |
---|
4196 | EGREP="$ac_cv_path_EGREP" |
---|
4197 | |
---|
4198 | |
---|
4199 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
---|
4200 | $as_echo_n "checking for ANSI C header files... " >&6; } |
---|
4201 | if ${ac_cv_header_stdc+:} false; then : |
---|
4202 | $as_echo_n "(cached) " >&6 |
---|
4203 | else |
---|
4204 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4205 | /* end confdefs.h. */ |
---|
4206 | #include <stdlib.h> |
---|
4207 | #include <stdarg.h> |
---|
4208 | #include <string.h> |
---|
4209 | #include <float.h> |
---|
4210 | |
---|
4211 | int |
---|
4212 | main () |
---|
4213 | { |
---|
4214 | |
---|
4215 | ; |
---|
4216 | return 0; |
---|
4217 | } |
---|
4218 | _ACEOF |
---|
4219 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
4220 | ac_cv_header_stdc=yes |
---|
4221 | else |
---|
4222 | ac_cv_header_stdc=no |
---|
4223 | fi |
---|
4224 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4225 | |
---|
4226 | if test $ac_cv_header_stdc = yes; then |
---|
4227 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
4228 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4229 | /* end confdefs.h. */ |
---|
4230 | #include <string.h> |
---|
4231 | |
---|
4232 | _ACEOF |
---|
4233 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
4234 | $EGREP "memchr" >/dev/null 2>&1; then : |
---|
4235 | |
---|
4236 | else |
---|
4237 | ac_cv_header_stdc=no |
---|
4238 | fi |
---|
4239 | rm -f conftest* |
---|
4240 | |
---|
4241 | fi |
---|
4242 | |
---|
4243 | if test $ac_cv_header_stdc = yes; then |
---|
4244 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
4245 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4246 | /* end confdefs.h. */ |
---|
4247 | #include <stdlib.h> |
---|
4248 | |
---|
4249 | _ACEOF |
---|
4250 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
4251 | $EGREP "free" >/dev/null 2>&1; then : |
---|
4252 | |
---|
4253 | else |
---|
4254 | ac_cv_header_stdc=no |
---|
4255 | fi |
---|
4256 | rm -f conftest* |
---|
4257 | |
---|
4258 | fi |
---|
4259 | |
---|
4260 | if test $ac_cv_header_stdc = yes; then |
---|
4261 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
4262 | if test "$cross_compiling" = yes; then : |
---|
4263 | : |
---|
4264 | else |
---|
4265 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4266 | /* end confdefs.h. */ |
---|
4267 | #include <ctype.h> |
---|
4268 | #include <stdlib.h> |
---|
4269 | #if ((' ' & 0x0FF) == 0x020) |
---|
4270 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
4271 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
4272 | #else |
---|
4273 | # define ISLOWER(c) \ |
---|
4274 | (('a' <= (c) && (c) <= 'i') \ |
---|
4275 | || ('j' <= (c) && (c) <= 'r') \ |
---|
4276 | || ('s' <= (c) && (c) <= 'z')) |
---|
4277 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
---|
4278 | #endif |
---|
4279 | |
---|
4280 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
4281 | int |
---|
4282 | main () |
---|
4283 | { |
---|
4284 | int i; |
---|
4285 | for (i = 0; i < 256; i++) |
---|
4286 | if (XOR (islower (i), ISLOWER (i)) |
---|
4287 | || toupper (i) != TOUPPER (i)) |
---|
4288 | return 2; |
---|
4289 | return 0; |
---|
4290 | } |
---|
4291 | _ACEOF |
---|
4292 | if ac_fn_c_try_run "$LINENO"; then : |
---|
4293 | |
---|
4294 | else |
---|
4295 | ac_cv_header_stdc=no |
---|
4296 | fi |
---|
4297 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
---|
4298 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
---|
4299 | fi |
---|
4300 | |
---|
4301 | fi |
---|
4302 | fi |
---|
4303 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
---|
4304 | $as_echo "$ac_cv_header_stdc" >&6; } |
---|
4305 | if test $ac_cv_header_stdc = yes; then |
---|
4306 | |
---|
4307 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
---|
4308 | |
---|
4309 | fi |
---|
4310 | |
---|
4311 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
---|
4312 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
---|
4313 | inttypes.h stdint.h unistd.h |
---|
4314 | do : |
---|
4315 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
4316 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
---|
4317 | " |
---|
4318 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
---|
4319 | cat >>confdefs.h <<_ACEOF |
---|
4320 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
4321 | _ACEOF |
---|
4322 | |
---|
4323 | fi |
---|
4324 | |
---|
4325 | done |
---|
4326 | |
---|
4327 | |
---|
4328 | for ac_header in float.h stdlib.h string.h unistd.h |
---|
4329 | do : |
---|
4330 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
4331 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
---|
4332 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
---|
4333 | cat >>confdefs.h <<_ACEOF |
---|
4334 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
4335 | _ACEOF |
---|
4336 | |
---|
4337 | fi |
---|
4338 | |
---|
4339 | done |
---|
4340 | |
---|
4341 | |
---|
4342 | # Checks for typedefs, structures, and compiler characteristics. |
---|
4343 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
---|
4344 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
---|
4345 | if ${ac_cv_c_const+:} false; then : |
---|
4346 | $as_echo_n "(cached) " >&6 |
---|
4347 | else |
---|
4348 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4349 | /* end confdefs.h. */ |
---|
4350 | |
---|
4351 | int |
---|
4352 | main () |
---|
4353 | { |
---|
4354 | |
---|
4355 | #ifndef __cplusplus |
---|
4356 | /* Ultrix mips cc rejects this sort of thing. */ |
---|
4357 | typedef int charset[2]; |
---|
4358 | const charset cs = { 0, 0 }; |
---|
4359 | /* SunOS 4.1.1 cc rejects this. */ |
---|
4360 | char const *const *pcpcc; |
---|
4361 | char **ppc; |
---|
4362 | /* NEC SVR4.0.2 mips cc rejects this. */ |
---|
4363 | struct point {int x, y;}; |
---|
4364 | static struct point const zero = {0,0}; |
---|
4365 | /* AIX XL C 1.02.0.0 rejects this. |
---|
4366 | It does not let you subtract one const X* pointer from another in |
---|
4367 | an arm of an if-expression whose if-part is not a constant |
---|
4368 | expression */ |
---|
4369 | const char *g = "string"; |
---|
4370 | pcpcc = &g + (g ? g-g : 0); |
---|
4371 | /* HPUX 7.0 cc rejects these. */ |
---|
4372 | ++pcpcc; |
---|
4373 | ppc = (char**) pcpcc; |
---|
4374 | pcpcc = (char const *const *) ppc; |
---|
4375 | { /* SCO 3.2v4 cc rejects this sort of thing. */ |
---|
4376 | char tx; |
---|
4377 | char *t = &tx; |
---|
4378 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
---|
4379 | |
---|
4380 | *t++ = 0; |
---|
4381 | if (s) return 0; |
---|
4382 | } |
---|
4383 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
---|
4384 | int x[] = {25, 17}; |
---|
4385 | const int *foo = &x[0]; |
---|
4386 | ++foo; |
---|
4387 | } |
---|
4388 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
---|
4389 | typedef const int *iptr; |
---|
4390 | iptr p = 0; |
---|
4391 | ++p; |
---|
4392 | } |
---|
4393 | { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying |
---|
4394 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
---|
4395 | struct s { int j; const int *ap[3]; } bx; |
---|
4396 | struct s *b = &bx; b->j = 5; |
---|
4397 | } |
---|
4398 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
---|
4399 | const int foo = 10; |
---|
4400 | if (!foo) return 0; |
---|
4401 | } |
---|
4402 | return !cs[0] && !zero.x; |
---|
4403 | #endif |
---|
4404 | |
---|
4405 | ; |
---|
4406 | return 0; |
---|
4407 | } |
---|
4408 | _ACEOF |
---|
4409 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
4410 | ac_cv_c_const=yes |
---|
4411 | else |
---|
4412 | ac_cv_c_const=no |
---|
4413 | fi |
---|
4414 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4415 | fi |
---|
4416 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
---|
4417 | $as_echo "$ac_cv_c_const" >&6; } |
---|
4418 | if test $ac_cv_c_const = no; then |
---|
4419 | |
---|
4420 | $as_echo "#define const /**/" >>confdefs.h |
---|
4421 | |
---|
4422 | fi |
---|
4423 | |
---|
4424 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
---|
4425 | $as_echo_n "checking for inline... " >&6; } |
---|
4426 | if ${ac_cv_c_inline+:} false; then : |
---|
4427 | $as_echo_n "(cached) " >&6 |
---|
4428 | else |
---|
4429 | ac_cv_c_inline=no |
---|
4430 | for ac_kw in inline __inline__ __inline; do |
---|
4431 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4432 | /* end confdefs.h. */ |
---|
4433 | #ifndef __cplusplus |
---|
4434 | typedef int foo_t; |
---|
4435 | static $ac_kw foo_t static_foo () {return 0; } |
---|
4436 | $ac_kw foo_t foo () {return 0; } |
---|
4437 | #endif |
---|
4438 | |
---|
4439 | _ACEOF |
---|
4440 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
4441 | ac_cv_c_inline=$ac_kw |
---|
4442 | fi |
---|
4443 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4444 | test "$ac_cv_c_inline" != no && break |
---|
4445 | done |
---|
4446 | |
---|
4447 | fi |
---|
4448 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
---|
4449 | $as_echo "$ac_cv_c_inline" >&6; } |
---|
4450 | |
---|
4451 | case $ac_cv_c_inline in |
---|
4452 | inline | yes) ;; |
---|
4453 | *) |
---|
4454 | case $ac_cv_c_inline in |
---|
4455 | no) ac_val=;; |
---|
4456 | *) ac_val=$ac_cv_c_inline;; |
---|
4457 | esac |
---|
4458 | cat >>confdefs.h <<_ACEOF |
---|
4459 | #ifndef __cplusplus |
---|
4460 | #define inline $ac_val |
---|
4461 | #endif |
---|
4462 | _ACEOF |
---|
4463 | ;; |
---|
4464 | esac |
---|
4465 | |
---|
4466 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
---|
4467 | if test "x$ac_cv_type_size_t" = xyes; then : |
---|
4468 | |
---|
4469 | else |
---|
4470 | |
---|
4471 | cat >>confdefs.h <<_ACEOF |
---|
4472 | #define size_t unsigned int |
---|
4473 | _ACEOF |
---|
4474 | |
---|
4475 | fi |
---|
4476 | |
---|
4477 | |
---|
4478 | # Check for presence of LaTeX and pdfLaTeX |
---|
4479 | for ac_prog in pdflatex |
---|
4480 | do |
---|
4481 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
4482 | set dummy $ac_prog; ac_word=$2 |
---|
4483 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4484 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4485 | if ${ac_cv_prog_PDFLATEX+:} false; then : |
---|
4486 | $as_echo_n "(cached) " >&6 |
---|
4487 | else |
---|
4488 | if test -n "$PDFLATEX"; then |
---|
4489 | ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test. |
---|
4490 | else |
---|
4491 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4492 | for as_dir in $PATH |
---|
4493 | do |
---|
4494 | IFS=$as_save_IFS |
---|
4495 | test -z "$as_dir" && as_dir=. |
---|
4496 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4497 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
4498 | ac_cv_prog_PDFLATEX="$ac_prog" |
---|
4499 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4500 | break 2 |
---|
4501 | fi |
---|
4502 | done |
---|
4503 | done |
---|
4504 | IFS=$as_save_IFS |
---|
4505 | |
---|
4506 | fi |
---|
4507 | fi |
---|
4508 | PDFLATEX=$ac_cv_prog_PDFLATEX |
---|
4509 | if test -n "$PDFLATEX"; then |
---|
4510 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5 |
---|
4511 | $as_echo "$PDFLATEX" >&6; } |
---|
4512 | else |
---|
4513 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4514 | $as_echo "no" >&6; } |
---|
4515 | fi |
---|
4516 | |
---|
4517 | |
---|
4518 | test -n "$PDFLATEX" && break |
---|
4519 | done |
---|
4520 | test -n "$PDFLATEX" || PDFLATEX="/bin/false" |
---|
4521 | |
---|
4522 | for ac_prog in latex |
---|
4523 | do |
---|
4524 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
4525 | set dummy $ac_prog; ac_word=$2 |
---|
4526 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
4527 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4528 | if ${ac_cv_prog_LATEX+:} false; then : |
---|
4529 | $as_echo_n "(cached) " >&6 |
---|
4530 | else |
---|
4531 | if test -n "$LATEX"; then |
---|
4532 | ac_cv_prog_LATEX="$LATEX" # Let the user override the test. |
---|
4533 | else |
---|
4534 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4535 | for as_dir in $PATH |
---|
4536 | do |
---|
4537 | IFS=$as_save_IFS |
---|
4538 | test -z "$as_dir" && as_dir=. |
---|
4539 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4540 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
4541 | ac_cv_prog_LATEX="$ac_prog" |
---|
4542 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4543 | break 2 |
---|
4544 | fi |
---|
4545 | done |
---|
4546 | done |
---|
4547 | IFS=$as_save_IFS |
---|
4548 | |
---|
4549 | fi |
---|
4550 | fi |
---|
4551 | LATEX=$ac_cv_prog_LATEX |
---|
4552 | if test -n "$LATEX"; then |
---|
4553 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5 |
---|
4554 | $as_echo "$LATEX" >&6; } |
---|
4555 | else |
---|
4556 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
4557 | $as_echo "no" >&6; } |
---|
4558 | fi |
---|
4559 | |
---|
4560 | |
---|
4561 | test -n "$LATEX" && break |
---|
4562 | done |
---|
4563 | test -n "$LATEX" || LATEX="/bin/false" |
---|
4564 | |
---|
4565 | if test "x$PDFLATEX" = x/bin/false || test "x$LATEX" = x/bin/false; then |
---|
4566 | enable_docs=no |
---|
4567 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Documentation will not be built!" >&5 |
---|
4568 | $as_echo "$as_me: WARNING: Documentation will not be built!" >&2;} |
---|
4569 | fi |
---|
4570 | |
---|
4571 | if test -n "$PDFLATEX"; then |
---|
4572 | HAVE_PDFLATEX_TRUE= |
---|
4573 | HAVE_PDFLATEX_FALSE='#' |
---|
4574 | else |
---|
4575 | HAVE_PDFLATEX_TRUE='#' |
---|
4576 | HAVE_PDFLATEX_FALSE= |
---|
4577 | fi |
---|
4578 | |
---|
4579 | |
---|
4580 | |
---|
4581 | |
---|
4582 | # Checks for library functions. |
---|
4583 | for ac_header in stdlib.h |
---|
4584 | do : |
---|
4585 | ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
---|
4586 | if test "x$ac_cv_header_stdlib_h" = xyes; then : |
---|
4587 | cat >>confdefs.h <<_ACEOF |
---|
4588 | #define HAVE_STDLIB_H 1 |
---|
4589 | _ACEOF |
---|
4590 | |
---|
4591 | fi |
---|
4592 | |
---|
4593 | done |
---|
4594 | |
---|
4595 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 |
---|
4596 | $as_echo_n "checking for GNU libc compatible malloc... " >&6; } |
---|
4597 | if ${ac_cv_func_malloc_0_nonnull+:} false; then : |
---|
4598 | $as_echo_n "(cached) " >&6 |
---|
4599 | else |
---|
4600 | if test "$cross_compiling" = yes; then : |
---|
4601 | ac_cv_func_malloc_0_nonnull=no |
---|
4602 | else |
---|
4603 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4604 | /* end confdefs.h. */ |
---|
4605 | #if defined STDC_HEADERS || defined HAVE_STDLIB_H |
---|
4606 | # include <stdlib.h> |
---|
4607 | #else |
---|
4608 | char *malloc (); |
---|
4609 | #endif |
---|
4610 | |
---|
4611 | int |
---|
4612 | main () |
---|
4613 | { |
---|
4614 | return ! malloc (0); |
---|
4615 | ; |
---|
4616 | return 0; |
---|
4617 | } |
---|
4618 | _ACEOF |
---|
4619 | if ac_fn_c_try_run "$LINENO"; then : |
---|
4620 | ac_cv_func_malloc_0_nonnull=yes |
---|
4621 | else |
---|
4622 | ac_cv_func_malloc_0_nonnull=no |
---|
4623 | fi |
---|
4624 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
---|
4625 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
---|
4626 | fi |
---|
4627 | |
---|
4628 | fi |
---|
4629 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 |
---|
4630 | $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } |
---|
4631 | if test $ac_cv_func_malloc_0_nonnull = yes; then : |
---|
4632 | |
---|
4633 | $as_echo "#define HAVE_MALLOC 1" >>confdefs.h |
---|
4634 | |
---|
4635 | else |
---|
4636 | $as_echo "#define HAVE_MALLOC 0" >>confdefs.h |
---|
4637 | |
---|
4638 | case " $LIBOBJS " in |
---|
4639 | *" malloc.$ac_objext "* ) ;; |
---|
4640 | *) LIBOBJS="$LIBOBJS malloc.$ac_objext" |
---|
4641 | ;; |
---|
4642 | esac |
---|
4643 | |
---|
4644 | |
---|
4645 | $as_echo "#define malloc rpl_malloc" >>confdefs.h |
---|
4646 | |
---|
4647 | fi |
---|
4648 | |
---|
4649 | |
---|
4650 | for ac_header in stdlib.h |
---|
4651 | do : |
---|
4652 | ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
---|
4653 | if test "x$ac_cv_header_stdlib_h" = xyes; then : |
---|
4654 | cat >>confdefs.h <<_ACEOF |
---|
4655 | #define HAVE_STDLIB_H 1 |
---|
4656 | _ACEOF |
---|
4657 | |
---|
4658 | fi |
---|
4659 | |
---|
4660 | done |
---|
4661 | |
---|
4662 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 |
---|
4663 | $as_echo_n "checking for GNU libc compatible realloc... " >&6; } |
---|
4664 | if ${ac_cv_func_realloc_0_nonnull+:} false; then : |
---|
4665 | $as_echo_n "(cached) " >&6 |
---|
4666 | else |
---|
4667 | if test "$cross_compiling" = yes; then : |
---|
4668 | ac_cv_func_realloc_0_nonnull=no |
---|
4669 | else |
---|
4670 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
4671 | /* end confdefs.h. */ |
---|
4672 | #if defined STDC_HEADERS || defined HAVE_STDLIB_H |
---|
4673 | # include <stdlib.h> |
---|
4674 | #else |
---|
4675 | char *realloc (); |
---|
4676 | #endif |
---|
4677 | |
---|
4678 | int |
---|
4679 | main () |
---|
4680 | { |
---|
4681 | return ! realloc (0, 0); |
---|
4682 | ; |
---|
4683 | return 0; |
---|
4684 | } |
---|
4685 | _ACEOF |
---|
4686 | if ac_fn_c_try_run "$LINENO"; then : |
---|
4687 | ac_cv_func_realloc_0_nonnull=yes |
---|
4688 | else |
---|
4689 | ac_cv_func_realloc_0_nonnull=no |
---|
4690 | fi |
---|
4691 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
---|
4692 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
---|
4693 | fi |
---|
4694 | |
---|
4695 | fi |
---|
4696 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5 |
---|
4697 | $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } |
---|
4698 | if test $ac_cv_func_realloc_0_nonnull = yes; then : |
---|
4699 | |
---|
4700 | $as_echo "#define HAVE_REALLOC 1" >>confdefs.h |
---|
4701 | |
---|
4702 | else |
---|
4703 | $as_echo "#define HAVE_REALLOC 0" >>confdefs.h |
---|
4704 | |
---|
4705 | case " $LIBOBJS " in |
---|
4706 | *" realloc.$ac_objext "* ) ;; |
---|
4707 | *) LIBOBJS="$LIBOBJS realloc.$ac_objext" |
---|
4708 | ;; |
---|
4709 | esac |
---|
4710 | |
---|
4711 | |
---|
4712 | $as_echo "#define realloc rpl_realloc" >>confdefs.h |
---|
4713 | |
---|
4714 | fi |
---|
4715 | |
---|
4716 | |
---|
4717 | if ${ac_cv_func_setvbuf_reversed+:} false; then : |
---|
4718 | $as_echo_n "(cached) " >&6 |
---|
4719 | else |
---|
4720 | ac_cv_func_setvbuf_reversed=no |
---|
4721 | fi |
---|
4722 | |
---|
4723 | |
---|
4724 | for ac_func in vprintf |
---|
4725 | do : |
---|
4726 | ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" |
---|
4727 | if test "x$ac_cv_func_vprintf" = xyes; then : |
---|
4728 | cat >>confdefs.h <<_ACEOF |
---|
4729 | #define HAVE_VPRINTF 1 |
---|
4730 | _ACEOF |
---|
4731 | |
---|
4732 | ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" |
---|
4733 | if test "x$ac_cv_func__doprnt" = xyes; then : |
---|
4734 | |
---|
4735 | $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h |
---|
4736 | |
---|
4737 | fi |
---|
4738 | |
---|
4739 | fi |
---|
4740 | done |
---|
4741 | |
---|
4742 | |
---|
4743 | for ac_func in floor pow rint sqrt strchr strstr |
---|
4744 | do : |
---|
4745 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
4746 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
---|
4747 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
---|
4748 | cat >>confdefs.h <<_ACEOF |
---|
4749 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
---|
4750 | _ACEOF |
---|
4751 | |
---|
4752 | fi |
---|
4753 | done |
---|
4754 | |
---|
4755 | |
---|
4756 | # Thanks to Shane Sturrock from Biomatters |
---|
4757 | #case "${host}" in |
---|
4758 | #*darwin*) |
---|
4759 | #AM_INIT_AUTOMAKE([no-dependencies]) |
---|
4760 | #ARCH_flag="-arch i386 -arch ppc -arch x86_64 -mmacosx-version-min=10.4" |
---|
4761 | #;; |
---|
4762 | #esac |
---|
4763 | |
---|
4764 | |
---|
4765 | |
---|
4766 | LDFLAGS="${ARGC_flag}" |
---|
4767 | |
---|
4768 | |
---|
4769 | # Check whether --enable-debug was given. |
---|
4770 | if test "${enable_debug+set}" = set; then : |
---|
4771 | enableval=$enable_debug; |
---|
4772 | fi |
---|
4773 | |
---|
4774 | if test "x$enable_debug" = "xyes"; then : |
---|
4775 | CFLAGS="-ansi -pedantic -Wall -std=c99 -O0 -g" |
---|
4776 | else |
---|
4777 | CFLAGS="-Wall -O2 -msse -fomit-frame-pointer -funroll-loops ${ARCH_flag}" |
---|
4778 | fi |
---|
4779 | |
---|
4780 | # Check whether --enable-gprof was given. |
---|
4781 | if test "${enable_gprof+set}" = set; then : |
---|
4782 | enableval=$enable_gprof; |
---|
4783 | fi |
---|
4784 | |
---|
4785 | if test "x$enable_gprof" = "xyes"; then : |
---|
4786 | CFLAGS="-ansi -pedantic -Wall -std=c99 -O0 -g -pg" |
---|
4787 | else |
---|
4788 | if test "x$enable_debug" = "xno"; then : |
---|
4789 | CFLAGS="-Wall -O2 -msse -fomit-frame-pointer -funroll-loops ${ARCH_flag}" |
---|
4790 | fi |
---|
4791 | fi |
---|
4792 | |
---|
4793 | # Check whether --enable-mpi was given. |
---|
4794 | if test "${enable_mpi+set}" = set; then : |
---|
4795 | enableval=$enable_mpi; |
---|
4796 | fi |
---|
4797 | |
---|
4798 | if test "x$enable_mpi" = "xyes"; then : |
---|
4799 | CC="mpicc" |
---|
4800 | fi |
---|
4801 | if test "x$enable_mpi" = "xyes"; then : |
---|
4802 | |
---|
4803 | $as_echo "#define MPI 1" >>confdefs.h |
---|
4804 | |
---|
4805 | fi |
---|
4806 | if test "x$enable_mpi" = "xyes"; then |
---|
4807 | WANT_MPI_TRUE= |
---|
4808 | WANT_MPI_FALSE='#' |
---|
4809 | else |
---|
4810 | WANT_MPI_TRUE='#' |
---|
4811 | WANT_MPI_FALSE= |
---|
4812 | fi |
---|
4813 | |
---|
4814 | |
---|
4815 | |
---|
4816 | # Check whether --enable-win was given. |
---|
4817 | if test "${enable_win+set}" = set; then : |
---|
4818 | enableval=$enable_win; |
---|
4819 | fi |
---|
4820 | |
---|
4821 | if test "x$enable_win" = "xyes"; then : |
---|
4822 | CC="i586-mingw32msvc-cc" |
---|
4823 | fi |
---|
4824 | |
---|
4825 | # Check whether --enable-phytime was given. |
---|
4826 | if test "${enable_phytime+set}" = set; then : |
---|
4827 | enableval=$enable_phytime; phytime=yes |
---|
4828 | else |
---|
4829 | phytime=no |
---|
4830 | fi |
---|
4831 | |
---|
4832 | if test "$phytime" = yes; then |
---|
4833 | WANT_PHYTIME_TRUE= |
---|
4834 | WANT_PHYTIME_FALSE='#' |
---|
4835 | else |
---|
4836 | WANT_PHYTIME_TRUE='#' |
---|
4837 | WANT_PHYTIME_FALSE= |
---|
4838 | fi |
---|
4839 | |
---|
4840 | if test "$phytime" = yes; then |
---|
4841 | |
---|
4842 | $as_echo "#define PHYTIME 1" >>confdefs.h |
---|
4843 | |
---|
4844 | fi |
---|
4845 | |
---|
4846 | # Check whether --enable-tiporder was given. |
---|
4847 | if test "${enable_tiporder+set}" = set; then : |
---|
4848 | enableval=$enable_tiporder; tiporder=yes |
---|
4849 | else |
---|
4850 | tiporder=no |
---|
4851 | fi |
---|
4852 | |
---|
4853 | if test "$tiporder" = yes; then |
---|
4854 | WANT_TIPORDER_TRUE= |
---|
4855 | WANT_TIPORDER_FALSE='#' |
---|
4856 | else |
---|
4857 | WANT_TIPORDER_TRUE='#' |
---|
4858 | WANT_TIPORDER_FALSE= |
---|
4859 | fi |
---|
4860 | |
---|
4861 | if test "$tiporder" = yes; then |
---|
4862 | |
---|
4863 | $as_echo "#define TIPORDER 1" >>confdefs.h |
---|
4864 | |
---|
4865 | fi |
---|
4866 | |
---|
4867 | # Check whether --enable-part was given. |
---|
4868 | if test "${enable_part+set}" = set; then : |
---|
4869 | enableval=$enable_part; part=yes |
---|
4870 | else |
---|
4871 | part=no |
---|
4872 | fi |
---|
4873 | |
---|
4874 | if test "$part" = yes; then |
---|
4875 | WANT_PART_TRUE= |
---|
4876 | WANT_PART_FALSE='#' |
---|
4877 | else |
---|
4878 | WANT_PART_TRUE='#' |
---|
4879 | WANT_PART_FALSE= |
---|
4880 | fi |
---|
4881 | |
---|
4882 | if test "$part" = yes; then |
---|
4883 | |
---|
4884 | $as_echo "#define PART 1" >>confdefs.h |
---|
4885 | |
---|
4886 | fi |
---|
4887 | |
---|
4888 | # Check whether --enable-rwrap was given. |
---|
4889 | if test "${enable_rwrap+set}" = set; then : |
---|
4890 | enableval=$enable_rwrap; rwrap=yes |
---|
4891 | else |
---|
4892 | rwrap=no |
---|
4893 | fi |
---|
4894 | |
---|
4895 | if test "$rwrap" = yes; then |
---|
4896 | WANT_RWRAP_TRUE= |
---|
4897 | WANT_RWRAP_FALSE='#' |
---|
4898 | else |
---|
4899 | WANT_RWRAP_TRUE='#' |
---|
4900 | WANT_RWRAP_FALSE= |
---|
4901 | fi |
---|
4902 | |
---|
4903 | if test "$rwrap" = yes; then |
---|
4904 | |
---|
4905 | $as_echo "#define RWRAP 1" >>confdefs.h |
---|
4906 | |
---|
4907 | fi |
---|
4908 | |
---|
4909 | # Check whether --enable-phycont was given. |
---|
4910 | if test "${enable_phycont+set}" = set; then : |
---|
4911 | enableval=$enable_phycont; phycont=yes |
---|
4912 | else |
---|
4913 | phycont=no |
---|
4914 | fi |
---|
4915 | |
---|
4916 | if test "$phycont" = yes; then |
---|
4917 | WANT_PHYCONT_TRUE= |
---|
4918 | WANT_PHYCONT_FALSE='#' |
---|
4919 | else |
---|
4920 | WANT_PHYCONT_TRUE='#' |
---|
4921 | WANT_PHYCONT_FALSE= |
---|
4922 | fi |
---|
4923 | |
---|
4924 | if test "$phycont" = yes; then |
---|
4925 | |
---|
4926 | $as_echo "#define PHYCONT 1" >>confdefs.h |
---|
4927 | |
---|
4928 | fi |
---|
4929 | |
---|
4930 | # Check whether --enable-m4 was given. |
---|
4931 | if test "${enable_m4+set}" = set; then : |
---|
4932 | enableval=$enable_m4; m4=yes |
---|
4933 | else |
---|
4934 | m4=no |
---|
4935 | fi |
---|
4936 | |
---|
4937 | if test "$m4" = yes; then |
---|
4938 | WANT_M4_TRUE= |
---|
4939 | WANT_M4_FALSE='#' |
---|
4940 | else |
---|
4941 | WANT_M4_TRUE='#' |
---|
4942 | WANT_M4_FALSE= |
---|
4943 | fi |
---|
4944 | |
---|
4945 | if test "$m4" = yes; then |
---|
4946 | |
---|
4947 | $as_echo "#define M4 1" >>confdefs.h |
---|
4948 | |
---|
4949 | fi |
---|
4950 | |
---|
4951 | # Check whether --enable-rf was given. |
---|
4952 | if test "${enable_rf+set}" = set; then : |
---|
4953 | enableval=$enable_rf; rf=yes |
---|
4954 | else |
---|
4955 | rf=no |
---|
4956 | fi |
---|
4957 | |
---|
4958 | if test "$rf" = yes; then |
---|
4959 | WANT_RF_TRUE= |
---|
4960 | WANT_RF_FALSE='#' |
---|
4961 | else |
---|
4962 | WANT_RF_TRUE='#' |
---|
4963 | WANT_RF_FALSE= |
---|
4964 | fi |
---|
4965 | |
---|
4966 | if test "$rf" = yes; then |
---|
4967 | |
---|
4968 | $as_echo "#define RF 1" >>confdefs.h |
---|
4969 | |
---|
4970 | fi |
---|
4971 | |
---|
4972 | # Check whether --enable-test was given. |
---|
4973 | if test "${enable_test+set}" = set; then : |
---|
4974 | enableval=$enable_test; test=yes |
---|
4975 | else |
---|
4976 | test=no |
---|
4977 | fi |
---|
4978 | |
---|
4979 | if test "$test" = yes; then |
---|
4980 | WANT_TEST_TRUE= |
---|
4981 | WANT_TEST_FALSE='#' |
---|
4982 | else |
---|
4983 | WANT_TEST_TRUE='#' |
---|
4984 | WANT_TEST_FALSE= |
---|
4985 | fi |
---|
4986 | |
---|
4987 | if test "$test" = yes; then |
---|
4988 | |
---|
4989 | $as_echo "#define TEST 1" >>confdefs.h |
---|
4990 | |
---|
4991 | fi |
---|
4992 | |
---|
4993 | # Check whether --enable-evolve was given. |
---|
4994 | if test "${enable_evolve+set}" = set; then : |
---|
4995 | enableval=$enable_evolve; evolve=yes |
---|
4996 | else |
---|
4997 | evolve=no |
---|
4998 | fi |
---|
4999 | |
---|
5000 | if test "$evolve" = yes; then |
---|
5001 | WANT_EVOLVE_TRUE= |
---|
5002 | WANT_EVOLVE_FALSE='#' |
---|
5003 | else |
---|
5004 | WANT_EVOLVE_TRUE='#' |
---|
5005 | WANT_EVOLVE_FALSE= |
---|
5006 | fi |
---|
5007 | |
---|
5008 | if test "$evolve" = yes; then |
---|
5009 | |
---|
5010 | $as_echo "#define EVOLVE 1" >>confdefs.h |
---|
5011 | |
---|
5012 | fi |
---|
5013 | |
---|
5014 | # Check whether --enable-sergeii was given. |
---|
5015 | if test "${enable_sergeii+set}" = set; then : |
---|
5016 | enableval=$enable_sergeii; sergeii=yes |
---|
5017 | else |
---|
5018 | sergeii=no |
---|
5019 | fi |
---|
5020 | |
---|
5021 | if test "$sergeii" = yes; then |
---|
5022 | WANT_SERGEII_TRUE= |
---|
5023 | WANT_SERGEII_FALSE='#' |
---|
5024 | else |
---|
5025 | WANT_SERGEII_TRUE='#' |
---|
5026 | WANT_SERGEII_FALSE= |
---|
5027 | fi |
---|
5028 | |
---|
5029 | if test "$sergeii" = yes; then |
---|
5030 | |
---|
5031 | $as_echo "#define SERGEII 1" >>confdefs.h |
---|
5032 | |
---|
5033 | fi |
---|
5034 | |
---|
5035 | # Check whether --enable-geo was given. |
---|
5036 | if test "${enable_geo+set}" = set; then : |
---|
5037 | enableval=$enable_geo; geo=yes |
---|
5038 | else |
---|
5039 | geo=no |
---|
5040 | fi |
---|
5041 | |
---|
5042 | if test "$geo" = yes; then |
---|
5043 | WANT_GEO_TRUE= |
---|
5044 | WANT_GEO_FALSE='#' |
---|
5045 | else |
---|
5046 | WANT_GEO_TRUE='#' |
---|
5047 | WANT_GEO_FALSE= |
---|
5048 | fi |
---|
5049 | |
---|
5050 | if test "$geo" = yes; then |
---|
5051 | |
---|
5052 | $as_echo "#define GEO 1" >>confdefs.h |
---|
5053 | |
---|
5054 | fi |
---|
5055 | |
---|
5056 | # Check whether --enable-checkpoint was given. |
---|
5057 | if test "${enable_checkpoint+set}" = set; then : |
---|
5058 | enableval=$enable_checkpoint; checkpoint=yes |
---|
5059 | else |
---|
5060 | checkpoint=no |
---|
5061 | fi |
---|
5062 | |
---|
5063 | if test "$checkpoint" = yes; then |
---|
5064 | WANT_CHECKPOINT_TRUE= |
---|
5065 | WANT_CHECKPOINT_FALSE='#' |
---|
5066 | else |
---|
5067 | WANT_CHECKPOINT_TRUE='#' |
---|
5068 | WANT_CHECKPOINT_FALSE= |
---|
5069 | fi |
---|
5070 | |
---|
5071 | if test "$checkpoint" = yes; then |
---|
5072 | |
---|
5073 | $as_echo "#define CHECKPOINT 1" >>confdefs.h |
---|
5074 | |
---|
5075 | fi |
---|
5076 | |
---|
5077 | |
---|
5078 | if test "$phytime" = no; then |
---|
5079 | if test "$tiporder" = no; then |
---|
5080 | if test "$part" = no; then |
---|
5081 | if test "$rwrap" = no; then |
---|
5082 | if test "$phycont" = no; then |
---|
5083 | if test "$m4" = no; then |
---|
5084 | if test "$test" = no; then |
---|
5085 | if test "$sergeii" = no; then |
---|
5086 | if test "$geo" = no; then |
---|
5087 | if test "$evolve" = no; then |
---|
5088 | if test "$checkpoint" = no; then |
---|
5089 | |
---|
5090 | $as_echo "#define PHYML 1" >>confdefs.h |
---|
5091 | |
---|
5092 | fi |
---|
5093 | fi |
---|
5094 | fi |
---|
5095 | fi |
---|
5096 | fi |
---|
5097 | fi |
---|
5098 | fi |
---|
5099 | fi |
---|
5100 | fi |
---|
5101 | fi |
---|
5102 | fi |
---|
5103 | |
---|
5104 | ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile" |
---|
5105 | |
---|
5106 | cat >confcache <<\_ACEOF |
---|
5107 | # This file is a shell script that caches the results of configure |
---|
5108 | # tests run on this system so they can be shared between configure |
---|
5109 | # scripts and configure runs, see configure's option --config-cache. |
---|
5110 | # It is not useful on other systems. If it contains results you don't |
---|
5111 | # want to keep, you may remove or edit it. |
---|
5112 | # |
---|
5113 | # config.status only pays attention to the cache file if you give it |
---|
5114 | # the --recheck option to rerun configure. |
---|
5115 | # |
---|
5116 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
5117 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
5118 | # following values. |
---|
5119 | |
---|
5120 | _ACEOF |
---|
5121 | |
---|
5122 | # The following way of writing the cache mishandles newlines in values, |
---|
5123 | # but we know of no workaround that is simple, portable, and efficient. |
---|
5124 | # So, we kill variables containing newlines. |
---|
5125 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
5126 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
5127 | ( |
---|
5128 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
5129 | eval ac_val=\$$ac_var |
---|
5130 | case $ac_val in #( |
---|
5131 | *${as_nl}*) |
---|
5132 | case $ac_var in #( |
---|
5133 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
5134 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
5135 | esac |
---|
5136 | case $ac_var in #( |
---|
5137 | _ | IFS | as_nl) ;; #( |
---|
5138 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
5139 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
5140 | esac ;; |
---|
5141 | esac |
---|
5142 | done |
---|
5143 | |
---|
5144 | (set) 2>&1 | |
---|
5145 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
5146 | *${as_nl}ac_space=\ *) |
---|
5147 | # `set' does not quote correctly, so add quotes: double-quote |
---|
5148 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
---|
5149 | sed -n \ |
---|
5150 | "s/'/'\\\\''/g; |
---|
5151 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
5152 | ;; #( |
---|
5153 | *) |
---|
5154 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
5155 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
5156 | ;; |
---|
5157 | esac | |
---|
5158 | sort |
---|
5159 | ) | |
---|
5160 | sed ' |
---|
5161 | /^ac_cv_env_/b end |
---|
5162 | t clear |
---|
5163 | :clear |
---|
5164 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
5165 | t end |
---|
5166 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
5167 | :end' >>confcache |
---|
5168 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
5169 | if test -w "$cache_file"; then |
---|
5170 | if test "x$cache_file" != "x/dev/null"; then |
---|
5171 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
---|
5172 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
---|
5173 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
---|
5174 | cat confcache >"$cache_file" |
---|
5175 | else |
---|
5176 | case $cache_file in #( |
---|
5177 | */* | ?:*) |
---|
5178 | mv -f confcache "$cache_file"$$ && |
---|
5179 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
---|
5180 | *) |
---|
5181 | mv -f confcache "$cache_file" ;; |
---|
5182 | esac |
---|
5183 | fi |
---|
5184 | fi |
---|
5185 | else |
---|
5186 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
---|
5187 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
5188 | fi |
---|
5189 | fi |
---|
5190 | rm -f confcache |
---|
5191 | |
---|
5192 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
5193 | # Let make expand exec_prefix. |
---|
5194 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
5195 | |
---|
5196 | DEFS=-DHAVE_CONFIG_H |
---|
5197 | |
---|
5198 | ac_libobjs= |
---|
5199 | ac_ltlibobjs= |
---|
5200 | U= |
---|
5201 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
5202 | # 1. Remove the extension, and $U if already installed. |
---|
5203 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
5204 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
---|
5205 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
5206 | # will be set to the directory where LIBOBJS objects are built. |
---|
5207 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
5208 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
5209 | done |
---|
5210 | LIBOBJS=$ac_libobjs |
---|
5211 | |
---|
5212 | LTLIBOBJS=$ac_ltlibobjs |
---|
5213 | |
---|
5214 | |
---|
5215 | if test -n "$EXEEXT"; then |
---|
5216 | am__EXEEXT_TRUE= |
---|
5217 | am__EXEEXT_FALSE='#' |
---|
5218 | else |
---|
5219 | am__EXEEXT_TRUE='#' |
---|
5220 | am__EXEEXT_FALSE= |
---|
5221 | fi |
---|
5222 | |
---|
5223 | if test -n "$EXEEXT"; then |
---|
5224 | am__EXEEXT_TRUE= |
---|
5225 | am__EXEEXT_FALSE='#' |
---|
5226 | else |
---|
5227 | am__EXEEXT_TRUE='#' |
---|
5228 | am__EXEEXT_FALSE= |
---|
5229 | fi |
---|
5230 | |
---|
5231 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
---|
5232 | as_fn_error $? "conditional \"AMDEP\" was never defined. |
---|
5233 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
5234 | fi |
---|
5235 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
---|
5236 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
---|
5237 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
5238 | fi |
---|
5239 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
---|
5240 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
---|
5241 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
5242 | fi |
---|
5243 | if test -z "${HAVE_PDFLATEX_TRUE}" && test -z "${HAVE_PDFLATEX_FALSE}"; then |
---|
5244 | as_fn_error $? "conditional \"HAVE_PDFLATEX\" was never defined. |
---|
5245 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
5246 | fi |
---|
5247 | if test -z "${WANT_MPI_TRUE}" && test -z "${WANT_MPI_FALSE}"; then |
---|
5248 | as_fn_error $? "conditional \"WANT_MPI\" was never defined. |
---|
5249 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
5250 | fi |
---|
5251 | if test -z "${WANT_PHYTIME_TRUE}" && test -z "${WANT_PHYTIME_FALSE}"; then |
---|
5252 | as_fn_error $? "conditional \"WANT_PHYTIME\" was never defined. |
---|
5253 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
5254 | fi |
---|
5255 | if test -z "${WANT_TIPORDER_TRUE}" && test -z "${WANT_TIPORDER_FALSE}"; then |
---|
5256 | as_fn_error $? "conditional \"WANT_TIPORDER\" was never defined. |
---|
5257 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
5258 | fi |
---|
5259 | if test -z "${WANT_PART_TRUE}" && test -z "${WANT_PART_FALSE}"; then |
---|
5260 | as_fn_error $? "conditional \"WANT_PART\" was never defined. |
---|
5261 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
5262 | fi |
---|
5263 | if test -z "${WANT_RWRAP_TRUE}" && test -z "${WANT_RWRAP_FALSE}"; then |
---|
5264 | as_fn_error $? "conditional \"WANT_RWRAP\" was never defined. |
---|
5265 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
5266 | fi |
---|
5267 | if test -z "${WANT_PHYCONT_TRUE}" && test -z "${WANT_PHYCONT_FALSE}"; then |
---|
5268 | as_fn_error $? "conditional \"WANT_PHYCONT\" was never defined. |
---|
5269 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
5270 | fi |
---|
5271 | if test -z "${WANT_M4_TRUE}" && test -z "${WANT_M4_FALSE}"; then |
---|
5272 | as_fn_error $? "conditional \"WANT_M4\" was never defined. |
---|
5273 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
5274 | fi |
---|
5275 | if test -z "${WANT_RF_TRUE}" && test -z "${WANT_RF_FALSE}"; then |
---|
5276 | as_fn_error $? "conditional \"WANT_RF\" was never defined. |
---|
5277 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
5278 | fi |
---|
5279 | if test -z "${WANT_TEST_TRUE}" && test -z "${WANT_TEST_FALSE}"; then |
---|
5280 | as_fn_error $? "conditional \"WANT_TEST\" was never defined. |
---|
5281 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
5282 | fi |
---|
5283 | if test -z "${WANT_EVOLVE_TRUE}" && test -z "${WANT_EVOLVE_FALSE}"; then |
---|
5284 | as_fn_error $? "conditional \"WANT_EVOLVE\" was never defined. |
---|
5285 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
5286 | fi |
---|
5287 | if test -z "${WANT_SERGEII_TRUE}" && test -z "${WANT_SERGEII_FALSE}"; then |
---|
5288 | as_fn_error $? "conditional \"WANT_SERGEII\" was never defined. |
---|
5289 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
5290 | fi |
---|
5291 | if test -z "${WANT_GEO_TRUE}" && test -z "${WANT_GEO_FALSE}"; then |
---|
5292 | as_fn_error $? "conditional \"WANT_GEO\" was never defined. |
---|
5293 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
5294 | fi |
---|
5295 | if test -z "${WANT_CHECKPOINT_TRUE}" && test -z "${WANT_CHECKPOINT_FALSE}"; then |
---|
5296 | as_fn_error $? "conditional \"WANT_CHECKPOINT\" was never defined. |
---|
5297 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
5298 | fi |
---|
5299 | |
---|
5300 | : "${CONFIG_STATUS=./config.status}" |
---|
5301 | ac_write_fail=0 |
---|
5302 | ac_clean_files_save=$ac_clean_files |
---|
5303 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
5304 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
---|
5305 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
5306 | as_write_fail=0 |
---|
5307 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
---|
5308 | #! $SHELL |
---|
5309 | # Generated by $as_me. |
---|
5310 | # Run this file to recreate the current configuration. |
---|
5311 | # Compiler output produced by configure, useful for debugging |
---|
5312 | # configure, is in config.log if it exists. |
---|
5313 | |
---|
5314 | debug=false |
---|
5315 | ac_cs_recheck=false |
---|
5316 | ac_cs_silent=false |
---|
5317 | |
---|
5318 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
5319 | export SHELL |
---|
5320 | _ASEOF |
---|
5321 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
---|
5322 | ## -------------------- ## |
---|
5323 | ## M4sh Initialization. ## |
---|
5324 | ## -------------------- ## |
---|
5325 | |
---|
5326 | # Be more Bourne compatible |
---|
5327 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
5328 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
5329 | emulate sh |
---|
5330 | NULLCMD=: |
---|
5331 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
5332 | # is contrary to our usage. Disable this feature. |
---|
5333 | alias -g '${1+"$@"}'='"$@"' |
---|
5334 | setopt NO_GLOB_SUBST |
---|
5335 | else |
---|
5336 | case `(set -o) 2>/dev/null` in #( |
---|
5337 | *posix*) : |
---|
5338 | set -o posix ;; #( |
---|
5339 | *) : |
---|
5340 | ;; |
---|
5341 | esac |
---|
5342 | fi |
---|
5343 | |
---|
5344 | |
---|
5345 | as_nl=' |
---|
5346 | ' |
---|
5347 | export as_nl |
---|
5348 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
5349 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
5350 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
5351 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
5352 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
5353 | # but without wasting forks for bash or zsh. |
---|
5354 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
5355 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
5356 | as_echo='print -r --' |
---|
5357 | as_echo_n='print -rn --' |
---|
5358 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
5359 | as_echo='printf %s\n' |
---|
5360 | as_echo_n='printf %s' |
---|
5361 | else |
---|
5362 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
5363 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
5364 | as_echo_n='/usr/ucb/echo -n' |
---|
5365 | else |
---|
5366 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
5367 | as_echo_n_body='eval |
---|
5368 | arg=$1; |
---|
5369 | case $arg in #( |
---|
5370 | *"$as_nl"*) |
---|
5371 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
5372 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
5373 | esac; |
---|
5374 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
5375 | ' |
---|
5376 | export as_echo_n_body |
---|
5377 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
5378 | fi |
---|
5379 | export as_echo_body |
---|
5380 | as_echo='sh -c $as_echo_body as_echo' |
---|
5381 | fi |
---|
5382 | |
---|
5383 | # The user is always right. |
---|
5384 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
5385 | PATH_SEPARATOR=: |
---|
5386 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
5387 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
5388 | PATH_SEPARATOR=';' |
---|
5389 | } |
---|
5390 | fi |
---|
5391 | |
---|
5392 | |
---|
5393 | # IFS |
---|
5394 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
5395 | # there to prevent editors from complaining about space-tab. |
---|
5396 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
5397 | # splitting by setting IFS to empty value.) |
---|
5398 | IFS=" "" $as_nl" |
---|
5399 | |
---|
5400 | # Find who we are. Look in the path if we contain no directory separator. |
---|
5401 | as_myself= |
---|
5402 | case $0 in #(( |
---|
5403 | *[\\/]* ) as_myself=$0 ;; |
---|
5404 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
5405 | for as_dir in $PATH |
---|
5406 | do |
---|
5407 | IFS=$as_save_IFS |
---|
5408 | test -z "$as_dir" && as_dir=. |
---|
5409 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
5410 | done |
---|
5411 | IFS=$as_save_IFS |
---|
5412 | |
---|
5413 | ;; |
---|
5414 | esac |
---|
5415 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
5416 | # in which case we are not to be found in the path. |
---|
5417 | if test "x$as_myself" = x; then |
---|
5418 | as_myself=$0 |
---|
5419 | fi |
---|
5420 | if test ! -f "$as_myself"; then |
---|
5421 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
5422 | exit 1 |
---|
5423 | fi |
---|
5424 | |
---|
5425 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
5426 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
5427 | # suppresses any "Segmentation fault" message there. '((' could |
---|
5428 | # trigger a bug in pdksh 5.2.14. |
---|
5429 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
5430 | do eval test x\${$as_var+set} = xset \ |
---|
5431 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
5432 | done |
---|
5433 | PS1='$ ' |
---|
5434 | PS2='> ' |
---|
5435 | PS4='+ ' |
---|
5436 | |
---|
5437 | # NLS nuisances. |
---|
5438 | LC_ALL=C |
---|
5439 | export LC_ALL |
---|
5440 | LANGUAGE=C |
---|
5441 | export LANGUAGE |
---|
5442 | |
---|
5443 | # CDPATH. |
---|
5444 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
5445 | |
---|
5446 | |
---|
5447 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
5448 | # ---------------------------------------- |
---|
5449 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
5450 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
5451 | # script with STATUS, using 1 if that was 0. |
---|
5452 | as_fn_error () |
---|
5453 | { |
---|
5454 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
5455 | if test "$4"; then |
---|
5456 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
5457 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
5458 | fi |
---|
5459 | $as_echo "$as_me: error: $2" >&2 |
---|
5460 | as_fn_exit $as_status |
---|
5461 | } # as_fn_error |
---|
5462 | |
---|
5463 | |
---|
5464 | # as_fn_set_status STATUS |
---|
5465 | # ----------------------- |
---|
5466 | # Set $? to STATUS, without forking. |
---|
5467 | as_fn_set_status () |
---|
5468 | { |
---|
5469 | return $1 |
---|
5470 | } # as_fn_set_status |
---|
5471 | |
---|
5472 | # as_fn_exit STATUS |
---|
5473 | # ----------------- |
---|
5474 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
5475 | as_fn_exit () |
---|
5476 | { |
---|
5477 | set +e |
---|
5478 | as_fn_set_status $1 |
---|
5479 | exit $1 |
---|
5480 | } # as_fn_exit |
---|
5481 | |
---|
5482 | # as_fn_unset VAR |
---|
5483 | # --------------- |
---|
5484 | # Portably unset VAR. |
---|
5485 | as_fn_unset () |
---|
5486 | { |
---|
5487 | { eval $1=; unset $1;} |
---|
5488 | } |
---|
5489 | as_unset=as_fn_unset |
---|
5490 | # as_fn_append VAR VALUE |
---|
5491 | # ---------------------- |
---|
5492 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
5493 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
5494 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
5495 | # implementations. |
---|
5496 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
5497 | eval 'as_fn_append () |
---|
5498 | { |
---|
5499 | eval $1+=\$2 |
---|
5500 | }' |
---|
5501 | else |
---|
5502 | as_fn_append () |
---|
5503 | { |
---|
5504 | eval $1=\$$1\$2 |
---|
5505 | } |
---|
5506 | fi # as_fn_append |
---|
5507 | |
---|
5508 | # as_fn_arith ARG... |
---|
5509 | # ------------------ |
---|
5510 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
5511 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
5512 | # must be portable across $(()) and expr. |
---|
5513 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
5514 | eval 'as_fn_arith () |
---|
5515 | { |
---|
5516 | as_val=$(( $* )) |
---|
5517 | }' |
---|
5518 | else |
---|
5519 | as_fn_arith () |
---|
5520 | { |
---|
5521 | as_val=`expr "$@" || test $? -eq 1` |
---|
5522 | } |
---|
5523 | fi # as_fn_arith |
---|
5524 | |
---|
5525 | |
---|
5526 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
5527 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
5528 | as_expr=expr |
---|
5529 | else |
---|
5530 | as_expr=false |
---|
5531 | fi |
---|
5532 | |
---|
5533 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
5534 | as_basename=basename |
---|
5535 | else |
---|
5536 | as_basename=false |
---|
5537 | fi |
---|
5538 | |
---|
5539 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
5540 | as_dirname=dirname |
---|
5541 | else |
---|
5542 | as_dirname=false |
---|
5543 | fi |
---|
5544 | |
---|
5545 | as_me=`$as_basename -- "$0" || |
---|
5546 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
5547 | X"$0" : 'X\(//\)$' \| \ |
---|
5548 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
5549 | $as_echo X/"$0" | |
---|
5550 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
5551 | s//\1/ |
---|
5552 | q |
---|
5553 | } |
---|
5554 | /^X\/\(\/\/\)$/{ |
---|
5555 | s//\1/ |
---|
5556 | q |
---|
5557 | } |
---|
5558 | /^X\/\(\/\).*/{ |
---|
5559 | s//\1/ |
---|
5560 | q |
---|
5561 | } |
---|
5562 | s/.*/./; q'` |
---|
5563 | |
---|
5564 | # Avoid depending upon Character Ranges. |
---|
5565 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
5566 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
5567 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
5568 | as_cr_digits='0123456789' |
---|
5569 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
5570 | |
---|
5571 | ECHO_C= ECHO_N= ECHO_T= |
---|
5572 | case `echo -n x` in #((((( |
---|
5573 | -n*) |
---|
5574 | case `echo 'xy\c'` in |
---|
5575 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
5576 | xy) ECHO_C='\c';; |
---|
5577 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
5578 | ECHO_T=' ';; |
---|
5579 | esac;; |
---|
5580 | *) |
---|
5581 | ECHO_N='-n';; |
---|
5582 | esac |
---|
5583 | |
---|
5584 | rm -f conf$$ conf$$.exe conf$$.file |
---|
5585 | if test -d conf$$.dir; then |
---|
5586 | rm -f conf$$.dir/conf$$.file |
---|
5587 | else |
---|
5588 | rm -f conf$$.dir |
---|
5589 | mkdir conf$$.dir 2>/dev/null |
---|
5590 | fi |
---|
5591 | if (echo >conf$$.file) 2>/dev/null; then |
---|
5592 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
5593 | as_ln_s='ln -s' |
---|
5594 | # ... but there are two gotchas: |
---|
5595 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
5596 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
5597 | # In both cases, we have to default to `cp -pR'. |
---|
5598 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
5599 | as_ln_s='cp -pR' |
---|
5600 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
5601 | as_ln_s=ln |
---|
5602 | else |
---|
5603 | as_ln_s='cp -pR' |
---|
5604 | fi |
---|
5605 | else |
---|
5606 | as_ln_s='cp -pR' |
---|
5607 | fi |
---|
5608 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
5609 | rmdir conf$$.dir 2>/dev/null |
---|
5610 | |
---|
5611 | |
---|
5612 | # as_fn_mkdir_p |
---|
5613 | # ------------- |
---|
5614 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
5615 | as_fn_mkdir_p () |
---|
5616 | { |
---|
5617 | |
---|
5618 | case $as_dir in #( |
---|
5619 | -*) as_dir=./$as_dir;; |
---|
5620 | esac |
---|
5621 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
5622 | as_dirs= |
---|
5623 | while :; do |
---|
5624 | case $as_dir in #( |
---|
5625 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
5626 | *) as_qdir=$as_dir;; |
---|
5627 | esac |
---|
5628 | as_dirs="'$as_qdir' $as_dirs" |
---|
5629 | as_dir=`$as_dirname -- "$as_dir" || |
---|
5630 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5631 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
5632 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
5633 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
5634 | $as_echo X"$as_dir" | |
---|
5635 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
5636 | s//\1/ |
---|
5637 | q |
---|
5638 | } |
---|
5639 | /^X\(\/\/\)[^/].*/{ |
---|
5640 | s//\1/ |
---|
5641 | q |
---|
5642 | } |
---|
5643 | /^X\(\/\/\)$/{ |
---|
5644 | s//\1/ |
---|
5645 | q |
---|
5646 | } |
---|
5647 | /^X\(\/\).*/{ |
---|
5648 | s//\1/ |
---|
5649 | q |
---|
5650 | } |
---|
5651 | s/.*/./; q'` |
---|
5652 | test -d "$as_dir" && break |
---|
5653 | done |
---|
5654 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
5655 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
5656 | |
---|
5657 | |
---|
5658 | } # as_fn_mkdir_p |
---|
5659 | if mkdir -p . 2>/dev/null; then |
---|
5660 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
5661 | else |
---|
5662 | test -d ./-p && rmdir ./-p |
---|
5663 | as_mkdir_p=false |
---|
5664 | fi |
---|
5665 | |
---|
5666 | |
---|
5667 | # as_fn_executable_p FILE |
---|
5668 | # ----------------------- |
---|
5669 | # Test if FILE is an executable regular file. |
---|
5670 | as_fn_executable_p () |
---|
5671 | { |
---|
5672 | test -f "$1" && test -x "$1" |
---|
5673 | } # as_fn_executable_p |
---|
5674 | as_test_x='test -x' |
---|
5675 | as_executable_p=as_fn_executable_p |
---|
5676 | |
---|
5677 | # Sed expression to map a string onto a valid CPP name. |
---|
5678 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
5679 | |
---|
5680 | # Sed expression to map a string onto a valid variable name. |
---|
5681 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
5682 | |
---|
5683 | |
---|
5684 | exec 6>&1 |
---|
5685 | ## ----------------------------------- ## |
---|
5686 | ## Main body of $CONFIG_STATUS script. ## |
---|
5687 | ## ----------------------------------- ## |
---|
5688 | _ASEOF |
---|
5689 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
---|
5690 | |
---|
5691 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5692 | # Save the log message, to keep $0 and so on meaningful, and to |
---|
5693 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
5694 | # values after options handling. |
---|
5695 | ac_log=" |
---|
5696 | This file was extended by PhyML $as_me 20130708, which was |
---|
5697 | generated by GNU Autoconf 2.69. Invocation command line was |
---|
5698 | |
---|
5699 | CONFIG_FILES = $CONFIG_FILES |
---|
5700 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
5701 | CONFIG_LINKS = $CONFIG_LINKS |
---|
5702 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
5703 | $ $0 $@ |
---|
5704 | |
---|
5705 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
5706 | " |
---|
5707 | |
---|
5708 | _ACEOF |
---|
5709 | |
---|
5710 | case $ac_config_files in *" |
---|
5711 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
---|
5712 | esac |
---|
5713 | |
---|
5714 | case $ac_config_headers in *" |
---|
5715 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
---|
5716 | esac |
---|
5717 | |
---|
5718 | |
---|
5719 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5720 | # Files that config.status was made for. |
---|
5721 | config_files="$ac_config_files" |
---|
5722 | config_headers="$ac_config_headers" |
---|
5723 | config_commands="$ac_config_commands" |
---|
5724 | |
---|
5725 | _ACEOF |
---|
5726 | |
---|
5727 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5728 | ac_cs_usage="\ |
---|
5729 | \`$as_me' instantiates files and other configuration actions |
---|
5730 | from templates according to the current configuration. Unless the files |
---|
5731 | and actions are specified as TAGs, all are instantiated by default. |
---|
5732 | |
---|
5733 | Usage: $0 [OPTION]... [TAG]... |
---|
5734 | |
---|
5735 | -h, --help print this help, then exit |
---|
5736 | -V, --version print version number and configuration settings, then exit |
---|
5737 | --config print configuration, then exit |
---|
5738 | -q, --quiet, --silent |
---|
5739 | do not print progress messages |
---|
5740 | -d, --debug don't remove temporary files |
---|
5741 | --recheck update $as_me by reconfiguring in the same conditions |
---|
5742 | --file=FILE[:TEMPLATE] |
---|
5743 | instantiate the configuration file FILE |
---|
5744 | --header=FILE[:TEMPLATE] |
---|
5745 | instantiate the configuration header FILE |
---|
5746 | |
---|
5747 | Configuration files: |
---|
5748 | $config_files |
---|
5749 | |
---|
5750 | Configuration headers: |
---|
5751 | $config_headers |
---|
5752 | |
---|
5753 | Configuration commands: |
---|
5754 | $config_commands |
---|
5755 | |
---|
5756 | Report bugs to <s.guindon@auckland.ac.nz>." |
---|
5757 | |
---|
5758 | _ACEOF |
---|
5759 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5760 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
---|
5761 | ac_cs_version="\\ |
---|
5762 | PhyML config.status 20130708 |
---|
5763 | configured by $0, generated by GNU Autoconf 2.69, |
---|
5764 | with options \\"\$ac_cs_config\\" |
---|
5765 | |
---|
5766 | Copyright (C) 2012 Free Software Foundation, Inc. |
---|
5767 | This config.status script is free software; the Free Software Foundation |
---|
5768 | gives unlimited permission to copy, distribute and modify it." |
---|
5769 | |
---|
5770 | ac_pwd='$ac_pwd' |
---|
5771 | srcdir='$srcdir' |
---|
5772 | INSTALL='$INSTALL' |
---|
5773 | MKDIR_P='$MKDIR_P' |
---|
5774 | AWK='$AWK' |
---|
5775 | test -n "\$AWK" || AWK=awk |
---|
5776 | _ACEOF |
---|
5777 | |
---|
5778 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5779 | # The default lists apply if the user does not specify any file. |
---|
5780 | ac_need_defaults=: |
---|
5781 | while test $# != 0 |
---|
5782 | do |
---|
5783 | case $1 in |
---|
5784 | --*=?*) |
---|
5785 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
5786 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
5787 | ac_shift=: |
---|
5788 | ;; |
---|
5789 | --*=) |
---|
5790 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
5791 | ac_optarg= |
---|
5792 | ac_shift=: |
---|
5793 | ;; |
---|
5794 | *) |
---|
5795 | ac_option=$1 |
---|
5796 | ac_optarg=$2 |
---|
5797 | ac_shift=shift |
---|
5798 | ;; |
---|
5799 | esac |
---|
5800 | |
---|
5801 | case $ac_option in |
---|
5802 | # Handling of the options. |
---|
5803 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
5804 | ac_cs_recheck=: ;; |
---|
5805 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
5806 | $as_echo "$ac_cs_version"; exit ;; |
---|
5807 | --config | --confi | --conf | --con | --co | --c ) |
---|
5808 | $as_echo "$ac_cs_config"; exit ;; |
---|
5809 | --debug | --debu | --deb | --de | --d | -d ) |
---|
5810 | debug=: ;; |
---|
5811 | --file | --fil | --fi | --f ) |
---|
5812 | $ac_shift |
---|
5813 | case $ac_optarg in |
---|
5814 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
5815 | '') as_fn_error $? "missing file argument" ;; |
---|
5816 | esac |
---|
5817 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
---|
5818 | ac_need_defaults=false;; |
---|
5819 | --header | --heade | --head | --hea ) |
---|
5820 | $ac_shift |
---|
5821 | case $ac_optarg in |
---|
5822 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
5823 | esac |
---|
5824 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
---|
5825 | ac_need_defaults=false;; |
---|
5826 | --he | --h) |
---|
5827 | # Conflict between --help and --header |
---|
5828 | as_fn_error $? "ambiguous option: \`$1' |
---|
5829 | Try \`$0 --help' for more information.";; |
---|
5830 | --help | --hel | -h ) |
---|
5831 | $as_echo "$ac_cs_usage"; exit ;; |
---|
5832 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
5833 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
5834 | ac_cs_silent=: ;; |
---|
5835 | |
---|
5836 | # This is an error. |
---|
5837 | -*) as_fn_error $? "unrecognized option: \`$1' |
---|
5838 | Try \`$0 --help' for more information." ;; |
---|
5839 | |
---|
5840 | *) as_fn_append ac_config_targets " $1" |
---|
5841 | ac_need_defaults=false ;; |
---|
5842 | |
---|
5843 | esac |
---|
5844 | shift |
---|
5845 | done |
---|
5846 | |
---|
5847 | ac_configure_extra_args= |
---|
5848 | |
---|
5849 | if $ac_cs_silent; then |
---|
5850 | exec 6>/dev/null |
---|
5851 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
5852 | fi |
---|
5853 | |
---|
5854 | _ACEOF |
---|
5855 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5856 | if \$ac_cs_recheck; then |
---|
5857 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
5858 | shift |
---|
5859 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
---|
5860 | CONFIG_SHELL='$SHELL' |
---|
5861 | export CONFIG_SHELL |
---|
5862 | exec "\$@" |
---|
5863 | fi |
---|
5864 | |
---|
5865 | _ACEOF |
---|
5866 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5867 | exec 5>>config.log |
---|
5868 | { |
---|
5869 | echo |
---|
5870 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
5871 | ## Running $as_me. ## |
---|
5872 | _ASBOX |
---|
5873 | $as_echo "$ac_log" |
---|
5874 | } >&5 |
---|
5875 | |
---|
5876 | _ACEOF |
---|
5877 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5878 | # |
---|
5879 | # INIT-COMMANDS |
---|
5880 | # |
---|
5881 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
---|
5882 | |
---|
5883 | _ACEOF |
---|
5884 | |
---|
5885 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5886 | |
---|
5887 | # Handling of arguments. |
---|
5888 | for ac_config_target in $ac_config_targets |
---|
5889 | do |
---|
5890 | case $ac_config_target in |
---|
5891 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
---|
5892 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
---|
5893 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
5894 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
---|
5895 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
---|
5896 | |
---|
5897 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
---|
5898 | esac |
---|
5899 | done |
---|
5900 | |
---|
5901 | |
---|
5902 | # If the user did not use the arguments to specify the items to instantiate, |
---|
5903 | # then the envvar interface is used. Set only those that are not. |
---|
5904 | # We use the long form for the default assignment because of an extremely |
---|
5905 | # bizarre bug on SunOS 4.1.3. |
---|
5906 | if $ac_need_defaults; then |
---|
5907 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
5908 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
5909 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
---|
5910 | fi |
---|
5911 | |
---|
5912 | # Have a temporary directory for convenience. Make it in the build tree |
---|
5913 | # simply because there is no reason against having it here, and in addition, |
---|
5914 | # creating and moving files from /tmp can sometimes cause problems. |
---|
5915 | # Hook for its removal unless debugging. |
---|
5916 | # Note that there is a small window in which the directory will not be cleaned: |
---|
5917 | # after its creation but before its name has been assigned to `$tmp'. |
---|
5918 | $debug || |
---|
5919 | { |
---|
5920 | tmp= ac_tmp= |
---|
5921 | trap 'exit_status=$? |
---|
5922 | : "${ac_tmp:=$tmp}" |
---|
5923 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
---|
5924 | ' 0 |
---|
5925 | trap 'as_fn_exit 1' 1 2 13 15 |
---|
5926 | } |
---|
5927 | # Create a (secure) tmp directory for tmp files. |
---|
5928 | |
---|
5929 | { |
---|
5930 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
5931 | test -d "$tmp" |
---|
5932 | } || |
---|
5933 | { |
---|
5934 | tmp=./conf$$-$RANDOM |
---|
5935 | (umask 077 && mkdir "$tmp") |
---|
5936 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
---|
5937 | ac_tmp=$tmp |
---|
5938 | |
---|
5939 | # Set up the scripts for CONFIG_FILES section. |
---|
5940 | # No need to generate them if there are no CONFIG_FILES. |
---|
5941 | # This happens for instance with `./config.status config.h'. |
---|
5942 | if test -n "$CONFIG_FILES"; then |
---|
5943 | |
---|
5944 | |
---|
5945 | ac_cr=`echo X | tr X '\015'` |
---|
5946 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
---|
5947 | # But we know of no other shell where ac_cr would be empty at this |
---|
5948 | # point, so we can use a bashism as a fallback. |
---|
5949 | if test "x$ac_cr" = x; then |
---|
5950 | eval ac_cr=\$\'\\r\' |
---|
5951 | fi |
---|
5952 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
---|
5953 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
---|
5954 | ac_cs_awk_cr='\\r' |
---|
5955 | else |
---|
5956 | ac_cs_awk_cr=$ac_cr |
---|
5957 | fi |
---|
5958 | |
---|
5959 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
---|
5960 | _ACEOF |
---|
5961 | |
---|
5962 | |
---|
5963 | { |
---|
5964 | echo "cat >conf$$subs.awk <<_ACEOF" && |
---|
5965 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
---|
5966 | echo "_ACEOF" |
---|
5967 | } >conf$$subs.sh || |
---|
5968 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
5969 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
---|
5970 | ac_delim='%!_!# ' |
---|
5971 | for ac_last_try in false false false false false :; do |
---|
5972 | . ./conf$$subs.sh || |
---|
5973 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
5974 | |
---|
5975 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
---|
5976 | if test $ac_delim_n = $ac_delim_num; then |
---|
5977 | break |
---|
5978 | elif $ac_last_try; then |
---|
5979 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
5980 | else |
---|
5981 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
5982 | fi |
---|
5983 | done |
---|
5984 | rm -f conf$$subs.sh |
---|
5985 | |
---|
5986 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5987 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
---|
5988 | _ACEOF |
---|
5989 | sed -n ' |
---|
5990 | h |
---|
5991 | s/^/S["/; s/!.*/"]=/ |
---|
5992 | p |
---|
5993 | g |
---|
5994 | s/^[^!]*!// |
---|
5995 | :repl |
---|
5996 | t repl |
---|
5997 | s/'"$ac_delim"'$// |
---|
5998 | t delim |
---|
5999 | :nl |
---|
6000 | h |
---|
6001 | s/\(.\{148\}\)..*/\1/ |
---|
6002 | t more1 |
---|
6003 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
---|
6004 | p |
---|
6005 | n |
---|
6006 | b repl |
---|
6007 | :more1 |
---|
6008 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
6009 | p |
---|
6010 | g |
---|
6011 | s/.\{148\}// |
---|
6012 | t nl |
---|
6013 | :delim |
---|
6014 | h |
---|
6015 | s/\(.\{148\}\)..*/\1/ |
---|
6016 | t more2 |
---|
6017 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
---|
6018 | p |
---|
6019 | b |
---|
6020 | :more2 |
---|
6021 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
6022 | p |
---|
6023 | g |
---|
6024 | s/.\{148\}// |
---|
6025 | t delim |
---|
6026 | ' <conf$$subs.awk | sed ' |
---|
6027 | /^[^""]/{ |
---|
6028 | N |
---|
6029 | s/\n// |
---|
6030 | } |
---|
6031 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
6032 | rm -f conf$$subs.awk |
---|
6033 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6034 | _ACAWK |
---|
6035 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
---|
6036 | for (key in S) S_is_set[key] = 1 |
---|
6037 | FS = "" |
---|
6038 | |
---|
6039 | } |
---|
6040 | { |
---|
6041 | line = $ 0 |
---|
6042 | nfields = split(line, field, "@") |
---|
6043 | substed = 0 |
---|
6044 | len = length(field[1]) |
---|
6045 | for (i = 2; i < nfields; i++) { |
---|
6046 | key = field[i] |
---|
6047 | keylen = length(key) |
---|
6048 | if (S_is_set[key]) { |
---|
6049 | value = S[key] |
---|
6050 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
---|
6051 | len += length(value) + length(field[++i]) |
---|
6052 | substed = 1 |
---|
6053 | } else |
---|
6054 | len += 1 + keylen |
---|
6055 | } |
---|
6056 | |
---|
6057 | print line |
---|
6058 | } |
---|
6059 | |
---|
6060 | _ACAWK |
---|
6061 | _ACEOF |
---|
6062 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6063 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
---|
6064 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
---|
6065 | else |
---|
6066 | cat |
---|
6067 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
---|
6068 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
---|
6069 | _ACEOF |
---|
6070 | |
---|
6071 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
---|
6072 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
---|
6073 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
6074 | # (actually we leave an empty line to preserve line numbers). |
---|
6075 | if test "x$srcdir" = x.; then |
---|
6076 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
---|
6077 | h |
---|
6078 | s/// |
---|
6079 | s/^/:/ |
---|
6080 | s/[ ]*$/:/ |
---|
6081 | s/:\$(srcdir):/:/g |
---|
6082 | s/:\${srcdir}:/:/g |
---|
6083 | s/:@srcdir@:/:/g |
---|
6084 | s/^:*// |
---|
6085 | s/:*$// |
---|
6086 | x |
---|
6087 | s/\(=[ ]*\).*/\1/ |
---|
6088 | G |
---|
6089 | s/\n// |
---|
6090 | s/^[^=]*=[ ]*$// |
---|
6091 | }' |
---|
6092 | fi |
---|
6093 | |
---|
6094 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6095 | fi # test -n "$CONFIG_FILES" |
---|
6096 | |
---|
6097 | # Set up the scripts for CONFIG_HEADERS section. |
---|
6098 | # No need to generate them if there are no CONFIG_HEADERS. |
---|
6099 | # This happens for instance with `./config.status Makefile'. |
---|
6100 | if test -n "$CONFIG_HEADERS"; then |
---|
6101 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
---|
6102 | BEGIN { |
---|
6103 | _ACEOF |
---|
6104 | |
---|
6105 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
---|
6106 | # here-document in config.status, that substitutes the proper values into |
---|
6107 | # config.h.in to produce config.h. |
---|
6108 | |
---|
6109 | # Create a delimiter string that does not exist in confdefs.h, to ease |
---|
6110 | # handling of long lines. |
---|
6111 | ac_delim='%!_!# ' |
---|
6112 | for ac_last_try in false false :; do |
---|
6113 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
---|
6114 | if test -z "$ac_tt"; then |
---|
6115 | break |
---|
6116 | elif $ac_last_try; then |
---|
6117 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
---|
6118 | else |
---|
6119 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
6120 | fi |
---|
6121 | done |
---|
6122 | |
---|
6123 | # For the awk script, D is an array of macro values keyed by name, |
---|
6124 | # likewise P contains macro parameters if any. Preserve backslash |
---|
6125 | # newline sequences. |
---|
6126 | |
---|
6127 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
---|
6128 | sed -n ' |
---|
6129 | s/.\{148\}/&'"$ac_delim"'/g |
---|
6130 | t rset |
---|
6131 | :rset |
---|
6132 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
---|
6133 | t def |
---|
6134 | d |
---|
6135 | :def |
---|
6136 | s/\\$// |
---|
6137 | t bsnl |
---|
6138 | s/["\\]/\\&/g |
---|
6139 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
6140 | D["\1"]=" \3"/p |
---|
6141 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
---|
6142 | d |
---|
6143 | :bsnl |
---|
6144 | s/["\\]/\\&/g |
---|
6145 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
6146 | D["\1"]=" \3\\\\\\n"\\/p |
---|
6147 | t cont |
---|
6148 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
---|
6149 | t cont |
---|
6150 | d |
---|
6151 | :cont |
---|
6152 | n |
---|
6153 | s/.\{148\}/&'"$ac_delim"'/g |
---|
6154 | t clear |
---|
6155 | :clear |
---|
6156 | s/\\$// |
---|
6157 | t bsnlc |
---|
6158 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
---|
6159 | d |
---|
6160 | :bsnlc |
---|
6161 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
---|
6162 | b cont |
---|
6163 | ' <confdefs.h | sed ' |
---|
6164 | s/'"$ac_delim"'/"\\\ |
---|
6165 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
6166 | |
---|
6167 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6168 | for (key in D) D_is_set[key] = 1 |
---|
6169 | FS = "" |
---|
6170 | } |
---|
6171 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
---|
6172 | line = \$ 0 |
---|
6173 | split(line, arg, " ") |
---|
6174 | if (arg[1] == "#") { |
---|
6175 | defundef = arg[2] |
---|
6176 | mac1 = arg[3] |
---|
6177 | } else { |
---|
6178 | defundef = substr(arg[1], 2) |
---|
6179 | mac1 = arg[2] |
---|
6180 | } |
---|
6181 | split(mac1, mac2, "(") #) |
---|
6182 | macro = mac2[1] |
---|
6183 | prefix = substr(line, 1, index(line, defundef) - 1) |
---|
6184 | if (D_is_set[macro]) { |
---|
6185 | # Preserve the white space surrounding the "#". |
---|
6186 | print prefix "define", macro P[macro] D[macro] |
---|
6187 | next |
---|
6188 | } else { |
---|
6189 | # Replace #undef with comments. This is necessary, for example, |
---|
6190 | # in the case of _POSIX_SOURCE, which is predefined and required |
---|
6191 | # on some systems where configure will not decide to define it. |
---|
6192 | if (defundef == "undef") { |
---|
6193 | print "/*", prefix defundef, macro, "*/" |
---|
6194 | next |
---|
6195 | } |
---|
6196 | } |
---|
6197 | } |
---|
6198 | { print } |
---|
6199 | _ACAWK |
---|
6200 | _ACEOF |
---|
6201 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6202 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
---|
6203 | fi # test -n "$CONFIG_HEADERS" |
---|
6204 | |
---|
6205 | |
---|
6206 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
---|
6207 | shift |
---|
6208 | for ac_tag |
---|
6209 | do |
---|
6210 | case $ac_tag in |
---|
6211 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
6212 | esac |
---|
6213 | case $ac_mode$ac_tag in |
---|
6214 | :[FHL]*:*);; |
---|
6215 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
---|
6216 | :[FH]-) ac_tag=-:-;; |
---|
6217 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
6218 | esac |
---|
6219 | ac_save_IFS=$IFS |
---|
6220 | IFS=: |
---|
6221 | set x $ac_tag |
---|
6222 | IFS=$ac_save_IFS |
---|
6223 | shift |
---|
6224 | ac_file=$1 |
---|
6225 | shift |
---|
6226 | |
---|
6227 | case $ac_mode in |
---|
6228 | :L) ac_source=$1;; |
---|
6229 | :[FH]) |
---|
6230 | ac_file_inputs= |
---|
6231 | for ac_f |
---|
6232 | do |
---|
6233 | case $ac_f in |
---|
6234 | -) ac_f="$ac_tmp/stdin";; |
---|
6235 | *) # Look for the file first in the build tree, then in the source tree |
---|
6236 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
6237 | # because $ac_f cannot contain `:'. |
---|
6238 | test -f "$ac_f" || |
---|
6239 | case $ac_f in |
---|
6240 | [\\/$]*) false;; |
---|
6241 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
6242 | esac || |
---|
6243 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
---|
6244 | esac |
---|
6245 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
---|
6246 | as_fn_append ac_file_inputs " '$ac_f'" |
---|
6247 | done |
---|
6248 | |
---|
6249 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
6250 | # use $as_me), people would be surprised to read: |
---|
6251 | # /* config.h. Generated by config.status. */ |
---|
6252 | configure_input='Generated from '` |
---|
6253 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
---|
6254 | `' by configure.' |
---|
6255 | if test x"$ac_file" != x-; then |
---|
6256 | configure_input="$ac_file. $configure_input" |
---|
6257 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
---|
6258 | $as_echo "$as_me: creating $ac_file" >&6;} |
---|
6259 | fi |
---|
6260 | # Neutralize special characters interpreted by sed in replacement strings. |
---|
6261 | case $configure_input in #( |
---|
6262 | *\&* | *\|* | *\\* ) |
---|
6263 | ac_sed_conf_input=`$as_echo "$configure_input" | |
---|
6264 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
---|
6265 | *) ac_sed_conf_input=$configure_input;; |
---|
6266 | esac |
---|
6267 | |
---|
6268 | case $ac_tag in |
---|
6269 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
---|
6270 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
---|
6271 | esac |
---|
6272 | ;; |
---|
6273 | esac |
---|
6274 | |
---|
6275 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
6276 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6277 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
6278 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
6279 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
6280 | $as_echo X"$ac_file" | |
---|
6281 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
6282 | s//\1/ |
---|
6283 | q |
---|
6284 | } |
---|
6285 | /^X\(\/\/\)[^/].*/{ |
---|
6286 | s//\1/ |
---|
6287 | q |
---|
6288 | } |
---|
6289 | /^X\(\/\/\)$/{ |
---|
6290 | s//\1/ |
---|
6291 | q |
---|
6292 | } |
---|
6293 | /^X\(\/\).*/{ |
---|
6294 | s//\1/ |
---|
6295 | q |
---|
6296 | } |
---|
6297 | s/.*/./; q'` |
---|
6298 | as_dir="$ac_dir"; as_fn_mkdir_p |
---|
6299 | ac_builddir=. |
---|
6300 | |
---|
6301 | case "$ac_dir" in |
---|
6302 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
6303 | *) |
---|
6304 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
6305 | # A ".." for each directory in $ac_dir_suffix. |
---|
6306 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
6307 | case $ac_top_builddir_sub in |
---|
6308 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
6309 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
6310 | esac ;; |
---|
6311 | esac |
---|
6312 | ac_abs_top_builddir=$ac_pwd |
---|
6313 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
6314 | # for backward compatibility: |
---|
6315 | ac_top_builddir=$ac_top_build_prefix |
---|
6316 | |
---|
6317 | case $srcdir in |
---|
6318 | .) # We are building in place. |
---|
6319 | ac_srcdir=. |
---|
6320 | ac_top_srcdir=$ac_top_builddir_sub |
---|
6321 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
6322 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
6323 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
6324 | ac_top_srcdir=$srcdir |
---|
6325 | ac_abs_top_srcdir=$srcdir ;; |
---|
6326 | *) # Relative name. |
---|
6327 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
6328 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
6329 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
6330 | esac |
---|
6331 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
6332 | |
---|
6333 | |
---|
6334 | case $ac_mode in |
---|
6335 | :F) |
---|
6336 | # |
---|
6337 | # CONFIG_FILE |
---|
6338 | # |
---|
6339 | |
---|
6340 | case $INSTALL in |
---|
6341 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
6342 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
6343 | esac |
---|
6344 | ac_MKDIR_P=$MKDIR_P |
---|
6345 | case $MKDIR_P in |
---|
6346 | [\\/$]* | ?:[\\/]* ) ;; |
---|
6347 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
---|
6348 | esac |
---|
6349 | _ACEOF |
---|
6350 | |
---|
6351 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6352 | # If the template does not know about datarootdir, expand it. |
---|
6353 | # FIXME: This hack should be removed a few years after 2.60. |
---|
6354 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
6355 | ac_sed_dataroot=' |
---|
6356 | /datarootdir/ { |
---|
6357 | p |
---|
6358 | q |
---|
6359 | } |
---|
6360 | /@datadir@/p |
---|
6361 | /@docdir@/p |
---|
6362 | /@infodir@/p |
---|
6363 | /@localedir@/p |
---|
6364 | /@mandir@/p' |
---|
6365 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
---|
6366 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
6367 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
6368 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
6369 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
6370 | _ACEOF |
---|
6371 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6372 | ac_datarootdir_hack=' |
---|
6373 | s&@datadir@&$datadir&g |
---|
6374 | s&@docdir@&$docdir&g |
---|
6375 | s&@infodir@&$infodir&g |
---|
6376 | s&@localedir@&$localedir&g |
---|
6377 | s&@mandir@&$mandir&g |
---|
6378 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
6379 | esac |
---|
6380 | _ACEOF |
---|
6381 | |
---|
6382 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
6383 | # Shell code in configure.ac might set extrasub. |
---|
6384 | # FIXME: do we really want to maintain this feature? |
---|
6385 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6386 | ac_sed_extra="$ac_vpsub |
---|
6387 | $extrasub |
---|
6388 | _ACEOF |
---|
6389 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6390 | :t |
---|
6391 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
6392 | s|@configure_input@|$ac_sed_conf_input|;t t |
---|
6393 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
6394 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
---|
6395 | s&@srcdir@&$ac_srcdir&;t t |
---|
6396 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
6397 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
6398 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
6399 | s&@builddir@&$ac_builddir&;t t |
---|
6400 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
6401 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
6402 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
6403 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
---|
6404 | $ac_datarootdir_hack |
---|
6405 | " |
---|
6406 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
---|
6407 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
6408 | |
---|
6409 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
6410 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
---|
6411 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
---|
6412 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
---|
6413 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
6414 | which seems to be undefined. Please make sure it is defined" >&5 |
---|
6415 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
6416 | which seems to be undefined. Please make sure it is defined" >&2;} |
---|
6417 | |
---|
6418 | rm -f "$ac_tmp/stdin" |
---|
6419 | case $ac_file in |
---|
6420 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
---|
6421 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
---|
6422 | esac \ |
---|
6423 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
6424 | ;; |
---|
6425 | :H) |
---|
6426 | # |
---|
6427 | # CONFIG_HEADER |
---|
6428 | # |
---|
6429 | if test x"$ac_file" != x-; then |
---|
6430 | { |
---|
6431 | $as_echo "/* $configure_input */" \ |
---|
6432 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
---|
6433 | } >"$ac_tmp/config.h" \ |
---|
6434 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
6435 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
---|
6436 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
---|
6437 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
---|
6438 | else |
---|
6439 | rm -f "$ac_file" |
---|
6440 | mv "$ac_tmp/config.h" "$ac_file" \ |
---|
6441 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
6442 | fi |
---|
6443 | else |
---|
6444 | $as_echo "/* $configure_input */" \ |
---|
6445 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
---|
6446 | || as_fn_error $? "could not create -" "$LINENO" 5 |
---|
6447 | fi |
---|
6448 | # Compute "$ac_file"'s index in $config_headers. |
---|
6449 | _am_arg="$ac_file" |
---|
6450 | _am_stamp_count=1 |
---|
6451 | for _am_header in $config_headers :; do |
---|
6452 | case $_am_header in |
---|
6453 | $_am_arg | $_am_arg:* ) |
---|
6454 | break ;; |
---|
6455 | * ) |
---|
6456 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
---|
6457 | esac |
---|
6458 | done |
---|
6459 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
---|
6460 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6461 | X"$_am_arg" : 'X\(//\)[^/]' \| \ |
---|
6462 | X"$_am_arg" : 'X\(//\)$' \| \ |
---|
6463 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
---|
6464 | $as_echo X"$_am_arg" | |
---|
6465 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
6466 | s//\1/ |
---|
6467 | q |
---|
6468 | } |
---|
6469 | /^X\(\/\/\)[^/].*/{ |
---|
6470 | s//\1/ |
---|
6471 | q |
---|
6472 | } |
---|
6473 | /^X\(\/\/\)$/{ |
---|
6474 | s//\1/ |
---|
6475 | q |
---|
6476 | } |
---|
6477 | /^X\(\/\).*/{ |
---|
6478 | s//\1/ |
---|
6479 | q |
---|
6480 | } |
---|
6481 | s/.*/./; q'`/stamp-h$_am_stamp_count |
---|
6482 | ;; |
---|
6483 | |
---|
6484 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
---|
6485 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
---|
6486 | ;; |
---|
6487 | esac |
---|
6488 | |
---|
6489 | |
---|
6490 | case $ac_file$ac_mode in |
---|
6491 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
---|
6492 | # Autoconf 2.62 quotes --file arguments for eval, but not when files |
---|
6493 | # are listed without --file. Let's play safe and only enable the eval |
---|
6494 | # if we detect the quoting. |
---|
6495 | case $CONFIG_FILES in |
---|
6496 | *\'*) eval set x "$CONFIG_FILES" ;; |
---|
6497 | *) set x $CONFIG_FILES ;; |
---|
6498 | esac |
---|
6499 | shift |
---|
6500 | for mf |
---|
6501 | do |
---|
6502 | # Strip MF so we end up with the name of the file. |
---|
6503 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
---|
6504 | # Check whether this is an Automake generated Makefile or not. |
---|
6505 | # We used to match only the files named `Makefile.in', but |
---|
6506 | # some people rename them; so instead we look at the file content. |
---|
6507 | # Grep'ing the first line is not enough: some people post-process |
---|
6508 | # each Makefile.in and add a new line on top of each file to say so. |
---|
6509 | # Grep'ing the whole file is not good either: AIX grep has a line |
---|
6510 | # limit of 2048, but all sed's we know have understand at least 4000. |
---|
6511 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
---|
6512 | dirpart=`$as_dirname -- "$mf" || |
---|
6513 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6514 | X"$mf" : 'X\(//\)[^/]' \| \ |
---|
6515 | X"$mf" : 'X\(//\)$' \| \ |
---|
6516 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
---|
6517 | $as_echo X"$mf" | |
---|
6518 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
6519 | s//\1/ |
---|
6520 | q |
---|
6521 | } |
---|
6522 | /^X\(\/\/\)[^/].*/{ |
---|
6523 | s//\1/ |
---|
6524 | q |
---|
6525 | } |
---|
6526 | /^X\(\/\/\)$/{ |
---|
6527 | s//\1/ |
---|
6528 | q |
---|
6529 | } |
---|
6530 | /^X\(\/\).*/{ |
---|
6531 | s//\1/ |
---|
6532 | q |
---|
6533 | } |
---|
6534 | s/.*/./; q'` |
---|
6535 | else |
---|
6536 | continue |
---|
6537 | fi |
---|
6538 | # Extract the definition of DEPDIR, am__include, and am__quote |
---|
6539 | # from the Makefile without running `make'. |
---|
6540 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
---|
6541 | test -z "$DEPDIR" && continue |
---|
6542 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
---|
6543 | test -z "am__include" && continue |
---|
6544 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
---|
6545 | # When using ansi2knr, U may be empty or an underscore; expand it |
---|
6546 | U=`sed -n 's/^U = //p' < "$mf"` |
---|
6547 | # Find all dependency output files, they are included files with |
---|
6548 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
---|
6549 | # simplest approach to changing $(DEPDIR) to its actual value in the |
---|
6550 | # expansion. |
---|
6551 | for file in `sed -n " |
---|
6552 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
---|
6553 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
---|
6554 | # Make sure the directory exists. |
---|
6555 | test -f "$dirpart/$file" && continue |
---|
6556 | fdir=`$as_dirname -- "$file" || |
---|
6557 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6558 | X"$file" : 'X\(//\)[^/]' \| \ |
---|
6559 | X"$file" : 'X\(//\)$' \| \ |
---|
6560 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
---|
6561 | $as_echo X"$file" | |
---|
6562 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
6563 | s//\1/ |
---|
6564 | q |
---|
6565 | } |
---|
6566 | /^X\(\/\/\)[^/].*/{ |
---|
6567 | s//\1/ |
---|
6568 | q |
---|
6569 | } |
---|
6570 | /^X\(\/\/\)$/{ |
---|
6571 | s//\1/ |
---|
6572 | q |
---|
6573 | } |
---|
6574 | /^X\(\/\).*/{ |
---|
6575 | s//\1/ |
---|
6576 | q |
---|
6577 | } |
---|
6578 | s/.*/./; q'` |
---|
6579 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
---|
6580 | # echo "creating $dirpart/$file" |
---|
6581 | echo '# dummy' > "$dirpart/$file" |
---|
6582 | done |
---|
6583 | done |
---|
6584 | } |
---|
6585 | ;; |
---|
6586 | |
---|
6587 | esac |
---|
6588 | done # for ac_tag |
---|
6589 | |
---|
6590 | |
---|
6591 | as_fn_exit 0 |
---|
6592 | _ACEOF |
---|
6593 | ac_clean_files=$ac_clean_files_save |
---|
6594 | |
---|
6595 | test $ac_write_fail = 0 || |
---|
6596 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
---|
6597 | |
---|
6598 | |
---|
6599 | # configure is writing to config.log, and then calls config.status. |
---|
6600 | # config.status does its own redirection, appending to config.log. |
---|
6601 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
6602 | # by configure, so config.status won't be able to write to it; its |
---|
6603 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
6604 | # effectively closing config.log, so it can be properly (re)opened and |
---|
6605 | # appended to by config.status. When coming back to configure, we |
---|
6606 | # need to make the FD available again. |
---|
6607 | if test "$no_create" != yes; then |
---|
6608 | ac_cs_success=: |
---|
6609 | ac_config_status_args= |
---|
6610 | test "$silent" = yes && |
---|
6611 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
6612 | exec 5>/dev/null |
---|
6613 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
6614 | exec 5>>config.log |
---|
6615 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
6616 | # would make configure fail if this is the last instruction. |
---|
6617 | $ac_cs_success || as_fn_exit 1 |
---|
6618 | fi |
---|
6619 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
---|
6620 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
---|
6621 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
---|
6622 | fi |
---|
6623 | |
---|