Debian Codegraph @

configure

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