Debian Codegraph @

contribs/qecode/configure

raw
1 #! /bin/sh
2 # From configure.ac Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for QECODE 1.2.
5 #
6 # Report bugs to <[email protected]>.
7 #
8 #
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
32 ;;
33 esac
34 fi
35
36
37 as_nl='
38 '
39 export as_nl
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='print -r --'
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo='printf %s\n'
52 as_echo_n='printf %s'
53 else
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
57 else
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59 as_echo_n_body='eval
60 arg=$1;
61 case $arg in #(
62 *"$as_nl"*)
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 esac;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 '
68 export as_echo_n_body
69 as_echo_n='sh -c $as_echo_n_body as_echo'
70 fi
71 export as_echo_body
72 as_echo='sh -c $as_echo_body as_echo'
73 fi
74
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
82 fi
83
84
85 # IFS
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
90 IFS=" "" $as_nl"
91
92 # Find who we are. Look in the path if we contain no directory separator.
93 as_myself=
94 case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103 IFS=$as_save_IFS
104
105 ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110 as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 _as_can_reexec=no; export _as_can_reexec;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
146 BASH_ENV=/dev/null
147 ENV=/dev/null
148 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 case $- in # ((((
150 *v*x* | *x*v* ) as_opts=-vx ;;
151 *v* ) as_opts=-v ;;
152 *x* ) as_opts=-x ;;
153 * ) as_opts= ;;
154 esac
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 as_fn_exit 255
160 fi
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec=; unset _as_can_reexec;}
163 if test "x$CONFIG_SHELL" = x; then
164 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165 emulate sh
166 NULLCMD=:
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
170 setopt NO_GLOB_SUBST
171 else
172 case \`(set -o) 2>/dev/null\` in #(
173 *posix*) :
174 set -o posix ;; #(
175 *) :
176 ;;
177 esac
178 fi
179 "
180 as_required="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
185
186 exitcode=0
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192
193 else
194 exitcode=1; echo positional parameters were not saved.
195 fi
196 test x\$exitcode = x0 || exit 1
197 test -x / || exit 1"
198 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
206 fi
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 do
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
218 /*)
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
227 fi
228 fi
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
238
239
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
261
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell [email protected] and
270 $0: [email protected] about your system,
271 $0: including any error possibly output before this
272 $0: message. Then install a modern shell, or manually run
273 $0: the script under such a shell if you do have one."
274 fi
275 exit 1
276 fi
277 fi
278 fi
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
284
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
292 {
293 { eval $1=; unset $1;}
294 }
295 as_unset=as_fn_unset
296
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
301 {
302 return $1
303 } # as_fn_set_status
304
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
309 {
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
314
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
319 {
320
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
344 q
345 }
346 /^X\(\/\/\)$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\).*/{
351 s//\1/
352 q
353 }
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361 } # as_fn_mkdir_p
362
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
367 {
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
378 {
379 eval $1+=\$2
380 }'
381 else
382 as_fn_append ()
383 {
384 eval $1=\$$1\$2
385 }
386 fi # as_fn_append
387
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
395 {
396 as_val=$(( $* ))
397 }'
398 else
399 as_fn_arith ()
400 {
401 as_val=`expr "$@" || test $? -eq 1`
402 }
403 fi # as_fn_arith
404
405
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
412 {
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 fi
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
421
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
427 fi
428
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
433 fi
434
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
439 fi
440
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\/\)$/{
451 s//\1/
452 q
453 }
454 /^X\/\(\/\).*/{
455 s//\1/
456 q
457 }
458 s/.*/./; q'`
459
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
474 p
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
480 b
481 :lineno
482 N
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
501 }
502
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
512 *)
513 ECHO_N='-n';;
514 esac
515
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
522 fi
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
536 fi
537 else
538 as_ln_s='cp -pR'
539 fi
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
542
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
548 fi
549
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
552
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
562
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568 #
569 # Initializations.
570 #
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
579
580 # Identity of this package.
581 PACKAGE_NAME='QECODE'
582 PACKAGE_TARNAME='qecode'
583 PACKAGE_VERSION='1.2'
584 PACKAGE_STRING='QECODE 1.2'
585 PACKAGE_BUGREPORT='[email protected]'
586 PACKAGE_URL=''
587
588 ac_unique_file="qecode.hh"
589 ac_subst_vars='LTLIBOBJS
590 LIBOBJS
591 QECODE
592 target_alias
593 host_alias
594 build_alias
595 LIBS
596 ECHO_T
597 ECHO_N
598 ECHO_C
599 DEFS
600 mandir
601 localedir
602 libdir
603 psdir
604 pdfdir
605 dvidir
606 htmldir
607 infodir
608 docdir
609 oldincludedir
610 includedir
611 localstatedir
612 sharedstatedir
613 sysconfdir
614 datadir
615 datarootdir
616 libexecdir
617 sbindir
618 bindir
619 program_transform_name
620 prefix
621 exec_prefix
622 PACKAGE_URL
623 PACKAGE_BUGREPORT
624 PACKAGE_STRING
625 PACKAGE_VERSION
626 PACKAGE_TARNAME
627 PACKAGE_NAME
628 PATH_SEPARATOR
629 SHELL'
630 ac_subst_files=''
631 ac_user_opts='
632 enable_option_checking
633 '
634 ac_precious_vars='build_alias
635 host_alias
636 target_alias'
637
638
639 # Initialize some variables set by options.
640 ac_init_help=
641 ac_init_version=false
642 ac_unrecognized_opts=
643 ac_unrecognized_sep=
644 # The variables have the same names as the options, with
645 # dashes changed to underlines.
646 cache_file=/dev/null
647 exec_prefix=NONE
648 no_create=
649 no_recursion=
650 prefix=NONE
651 program_prefix=NONE
652 program_suffix=NONE
653 program_transform_name=s,x,x,
654 silent=
655 site=
656 srcdir=
657 verbose=
658 x_includes=NONE
659 x_libraries=NONE
660
661 # Installation directory options.
662 # These are left unexpanded so users can "make install exec_prefix=/foo"
663 # and all the variables that are supposed to be based on exec_prefix
664 # by default will actually change.
665 # Use braces instead of parens because sh, perl, etc. also accept them.
666 # (The list follows the same order as the GNU Coding Standards.)
667 bindir='${exec_prefix}/bin'
668 sbindir='${exec_prefix}/sbin'
669 libexecdir='${exec_prefix}/libexec'
670 datarootdir='${prefix}/share'
671 datadir='${datarootdir}'
672 sysconfdir='${prefix}/etc'
673 sharedstatedir='${prefix}/com'
674 localstatedir='${prefix}/var'
675 includedir='${prefix}/include'
676 oldincludedir='/usr/include'
677 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
678 infodir='${datarootdir}/info'
679 htmldir='${docdir}'
680 dvidir='${docdir}'
681 pdfdir='${docdir}'
682 psdir='${docdir}'
683 libdir='${exec_prefix}/lib'
684 localedir='${datarootdir}/locale'
685 mandir='${datarootdir}/man'
686
687 ac_prev=
688 ac_dashdash=
689 for ac_option
690 do
691 # If the previous option needs an argument, assign it.
692 if test -n "$ac_prev"; then
693 eval $ac_prev=\$ac_option
694 ac_prev=
695 continue
696 fi
697
698 case $ac_option in
699 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
700 *=) ac_optarg= ;;
701 *) ac_optarg=yes ;;
702 esac
703
704 # Accept the important Cygnus configure options, so we can diagnose typos.
705
706 case $ac_dashdash$ac_option in
707 --)
708 ac_dashdash=yes ;;
709
710 -bindir | --bindir | --bindi | --bind | --bin | --bi)
711 ac_prev=bindir ;;
712 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
713 bindir=$ac_optarg ;;
714
715 -build | --build | --buil | --bui | --bu)
716 ac_prev=build_alias ;;
717 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
718 build_alias=$ac_optarg ;;
719
720 -cache-file | --cache-file | --cache-fil | --cache-fi \
721 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
722 ac_prev=cache_file ;;
723 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
724 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
725 cache_file=$ac_optarg ;;
726
727 --config-cache | -C)
728 cache_file=config.cache ;;
729
730 -datadir | --datadir | --datadi | --datad)
731 ac_prev=datadir ;;
732 -datadir=* | --datadir=* | --datadi=* | --datad=*)
733 datadir=$ac_optarg ;;
734
735 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
736 | --dataroo | --dataro | --datar)
737 ac_prev=datarootdir ;;
738 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
739 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
740 datarootdir=$ac_optarg ;;
741
742 -disable-* | --disable-*)
743 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
744 # Reject names that are not valid shell variable names.
745 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
746 as_fn_error $? "invalid feature name: $ac_useropt"
747 ac_useropt_orig=$ac_useropt
748 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
749 case $ac_user_opts in
750 *"
751 "enable_$ac_useropt"
752 "*) ;;
753 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
754 ac_unrecognized_sep=', ';;
755 esac
756 eval enable_$ac_useropt=no ;;
757
758 -docdir | --docdir | --docdi | --doc | --do)
759 ac_prev=docdir ;;
760 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
761 docdir=$ac_optarg ;;
762
763 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
764 ac_prev=dvidir ;;
765 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
766 dvidir=$ac_optarg ;;
767
768 -enable-* | --enable-*)
769 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
770 # Reject names that are not valid shell variable names.
771 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
772 as_fn_error $? "invalid feature name: $ac_useropt"
773 ac_useropt_orig=$ac_useropt
774 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
775 case $ac_user_opts in
776 *"
777 "enable_$ac_useropt"
778 "*) ;;
779 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
780 ac_unrecognized_sep=', ';;
781 esac
782 eval enable_$ac_useropt=\$ac_optarg ;;
783
784 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
785 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
786 | --exec | --exe | --ex)
787 ac_prev=exec_prefix ;;
788 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
789 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
790 | --exec=* | --exe=* | --ex=*)
791 exec_prefix=$ac_optarg ;;
792
793 -gas | --gas | --ga | --g)
794 # Obsolete; use --with-gas.
795 with_gas=yes ;;
796
797 -help | --help | --hel | --he | -h)
798 ac_init_help=long ;;
799 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
800 ac_init_help=recursive ;;
801 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
802 ac_init_help=short ;;
803
804 -host | --host | --hos | --ho)
805 ac_prev=host_alias ;;
806 -host=* | --host=* | --hos=* | --ho=*)
807 host_alias=$ac_optarg ;;
808
809 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
810 ac_prev=htmldir ;;
811 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
812 | --ht=*)
813 htmldir=$ac_optarg ;;
814
815 -includedir | --includedir | --includedi | --included | --include \
816 | --includ | --inclu | --incl | --inc)
817 ac_prev=includedir ;;
818 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
819 | --includ=* | --inclu=* | --incl=* | --inc=*)
820 includedir=$ac_optarg ;;
821
822 -infodir | --infodir | --infodi | --infod | --info | --inf)
823 ac_prev=infodir ;;
824 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
825 infodir=$ac_optarg ;;
826
827 -libdir | --libdir | --libdi | --libd)
828 ac_prev=libdir ;;
829 -libdir=* | --libdir=* | --libdi=* | --libd=*)
830 libdir=$ac_optarg ;;
831
832 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
833 | --libexe | --libex | --libe)
834 ac_prev=libexecdir ;;
835 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
836 | --libexe=* | --libex=* | --libe=*)
837 libexecdir=$ac_optarg ;;
838
839 -localedir | --localedir | --localedi | --localed | --locale)
840 ac_prev=localedir ;;
841 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
842 localedir=$ac_optarg ;;
843
844 -localstatedir | --localstatedir | --localstatedi | --localstated \
845 | --localstate | --localstat | --localsta | --localst | --locals)
846 ac_prev=localstatedir ;;
847 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
848 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
849 localstatedir=$ac_optarg ;;
850
851 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
852 ac_prev=mandir ;;
853 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
854 mandir=$ac_optarg ;;
855
856 -nfp | --nfp | --nf)
857 # Obsolete; use --without-fp.
858 with_fp=no ;;
859
860 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
861 | --no-cr | --no-c | -n)
862 no_create=yes ;;
863
864 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
865 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
866 no_recursion=yes ;;
867
868 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
869 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
870 | --oldin | --oldi | --old | --ol | --o)
871 ac_prev=oldincludedir ;;
872 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
873 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
874 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
875 oldincludedir=$ac_optarg ;;
876
877 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
878 ac_prev=prefix ;;
879 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
880 prefix=$ac_optarg ;;
881
882 -program-prefix | --program-prefix | --program-prefi | --program-pref \
883 | --program-pre | --program-pr | --program-p)
884 ac_prev=program_prefix ;;
885 -program-prefix=* | --program-prefix=* | --program-prefi=* \
886 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
887 program_prefix=$ac_optarg ;;
888
889 -program-suffix | --program-suffix | --program-suffi | --program-suff \
890 | --program-suf | --program-su | --program-s)
891 ac_prev=program_suffix ;;
892 -program-suffix=* | --program-suffix=* | --program-suffi=* \
893 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
894 program_suffix=$ac_optarg ;;
895
896 -program-transform-name | --program-transform-name \
897 | --program-transform-nam | --program-transform-na \
898 | --program-transform-n | --program-transform- \
899 | --program-transform | --program-transfor \
900 | --program-transfo | --program-transf \
901 | --program-trans | --program-tran \
902 | --progr-tra | --program-tr | --program-t)
903 ac_prev=program_transform_name ;;
904 -program-transform-name=* | --program-transform-name=* \
905 | --program-transform-nam=* | --program-transform-na=* \
906 | --program-transform-n=* | --program-transform-=* \
907 | --program-transform=* | --program-transfor=* \
908 | --program-transfo=* | --program-transf=* \
909 | --program-trans=* | --program-tran=* \
910 | --progr-tra=* | --program-tr=* | --program-t=*)
911 program_transform_name=$ac_optarg ;;
912
913 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
914 ac_prev=pdfdir ;;
915 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
916 pdfdir=$ac_optarg ;;
917
918 -psdir | --psdir | --psdi | --psd | --ps)
919 ac_prev=psdir ;;
920 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
921 psdir=$ac_optarg ;;
922
923 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
924 | -silent | --silent | --silen | --sile | --sil)
925 silent=yes ;;
926
927 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
928 ac_prev=sbindir ;;
929 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
930 | --sbi=* | --sb=*)
931 sbindir=$ac_optarg ;;
932
933 -sharedstatedir | --sharedstatedir | --sharedstatedi \
934 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
935 | --sharedst | --shareds | --shared | --share | --shar \
936 | --sha | --sh)
937 ac_prev=sharedstatedir ;;
938 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
939 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
940 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
941 | --sha=* | --sh=*)
942 sharedstatedir=$ac_optarg ;;
943
944 -site | --site | --sit)
945 ac_prev=site ;;
946 -site=* | --site=* | --sit=*)
947 site=$ac_optarg ;;
948
949 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
950 ac_prev=srcdir ;;
951 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
952 srcdir=$ac_optarg ;;
953
954 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
955 | --syscon | --sysco | --sysc | --sys | --sy)
956 ac_prev=sysconfdir ;;
957 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
958 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
959 sysconfdir=$ac_optarg ;;
960
961 -target | --target | --targe | --targ | --tar | --ta | --t)
962 ac_prev=target_alias ;;
963 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
964 target_alias=$ac_optarg ;;
965
966 -v | -verbose | --verbose | --verbos | --verbo | --verb)
967 verbose=yes ;;
968
969 -version | --version | --versio | --versi | --vers | -V)
970 ac_init_version=: ;;
971
972 -with-* | --with-*)
973 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
976 as_fn_error $? "invalid package name: $ac_useropt"
977 ac_useropt_orig=$ac_useropt
978 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979 case $ac_user_opts in
980 *"
981 "with_$ac_useropt"
982 "*) ;;
983 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
984 ac_unrecognized_sep=', ';;
985 esac
986 eval with_$ac_useropt=\$ac_optarg ;;
987
988 -without-* | --without-*)
989 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
992 as_fn_error $? "invalid package name: $ac_useropt"
993 ac_useropt_orig=$ac_useropt
994 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 case $ac_user_opts in
996 *"
997 "with_$ac_useropt"
998 "*) ;;
999 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1000 ac_unrecognized_sep=', ';;
1001 esac
1002 eval with_$ac_useropt=no ;;
1003
1004 --x)
1005 # Obsolete; use --with-x.
1006 with_x=yes ;;
1007
1008 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1009 | --x-incl | --x-inc | --x-in | --x-i)
1010 ac_prev=x_includes ;;
1011 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1012 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1013 x_includes=$ac_optarg ;;
1014
1015 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1016 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1017 ac_prev=x_libraries ;;
1018 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1019 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1020 x_libraries=$ac_optarg ;;
1021
1022 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1023 Try \`$0 --help' for more information"
1024 ;;
1025
1026 *=*)
1027 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1028 # Reject names that are not valid shell variable names.
1029 case $ac_envvar in #(
1030 '' | [0-9]* | *[!_$as_cr_alnum]* )
1031 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1032 esac
1033 eval $ac_envvar=\$ac_optarg
1034 export $ac_envvar ;;
1035
1036 *)
1037 # FIXME: should be removed in autoconf 3.0.
1038 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1039 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1040 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1041 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1042 ;;
1043
1044 esac
1045 done
1046
1047 if test -n "$ac_prev"; then
1048 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1049 as_fn_error $? "missing argument to $ac_option"
1050 fi
1051
1052 if test -n "$ac_unrecognized_opts"; then
1053 case $enable_option_checking in
1054 no) ;;
1055 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1056 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1057 esac
1058 fi
1059
1060 # Check all directory arguments for consistency.
1061 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1062 datadir sysconfdir sharedstatedir localstatedir includedir \
1063 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1064 libdir localedir mandir
1065 do
1066 eval ac_val=\$$ac_var
1067 # Remove trailing slashes.
1068 case $ac_val in
1069 */ )
1070 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1071 eval $ac_var=\$ac_val;;
1072 esac
1073 # Be sure to have absolute directory names.
1074 case $ac_val in
1075 [\\/$]* | ?:[\\/]* ) continue;;
1076 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1077 esac
1078 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1079 done
1080
1081 # There might be people who depend on the old broken behavior: `$host'
1082 # used to hold the argument of --host etc.
1083 # FIXME: To remove some day.
1084 build=$build_alias
1085 host=$host_alias
1086 target=$target_alias
1087
1088 # FIXME: To remove some day.
1089 if test "x$host_alias" != x; then
1090 if test "x$build_alias" = x; then
1091 cross_compiling=maybe
1092 elif test "x$build_alias" != "x$host_alias"; then
1093 cross_compiling=yes
1094 fi
1095 fi
1096
1097 ac_tool_prefix=
1098 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1099
1100 test "$silent" = yes && exec 6>/dev/null
1101
1102
1103 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1104 ac_ls_di=`ls -di .` &&
1105 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1106 as_fn_error $? "working directory cannot be determined"
1107 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1108 as_fn_error $? "pwd does not report name of working directory"
1109
1110
1111 # Find the source files, if location was not specified.
1112 if test -z "$srcdir"; then
1113 ac_srcdir_defaulted=yes
1114 # Try the directory containing this script, then the parent directory.
1115 ac_confdir=`$as_dirname -- "$as_myself" ||
1116 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1117 X"$as_myself" : 'X\(//\)[^/]' \| \
1118 X"$as_myself" : 'X\(//\)$' \| \
1119 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1120 $as_echo X"$as_myself" |
1121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1122 s//\1/
1123 q
1124 }
1125 /^X\(\/\/\)[^/].*/{
1126 s//\1/
1127 q
1128 }
1129 /^X\(\/\/\)$/{
1130 s//\1/
1131 q
1132 }
1133 /^X\(\/\).*/{
1134 s//\1/
1135 q
1136 }
1137 s/.*/./; q'`
1138 srcdir=$ac_confdir
1139 if test ! -r "$srcdir/$ac_unique_file"; then
1140 srcdir=..
1141 fi
1142 else
1143 ac_srcdir_defaulted=no
1144 fi
1145 if test ! -r "$srcdir/$ac_unique_file"; then
1146 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1147 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1148 fi
1149 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1150 ac_abs_confdir=`(
1151 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1152 pwd)`
1153 # When building in place, set srcdir=.
1154 if test "$ac_abs_confdir" = "$ac_pwd"; then
1155 srcdir=.
1156 fi
1157 # Remove unnecessary trailing slashes from srcdir.
1158 # Double slashes in file names in object file debugging info
1159 # mess up M-x gdb in Emacs.
1160 case $srcdir in
1161 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1162 esac
1163 for ac_var in $ac_precious_vars; do
1164 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1165 eval ac_env_${ac_var}_value=\$${ac_var}
1166 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1167 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1168 done
1169
1170 #
1171 # Report the --help message.
1172 #
1173 if test "$ac_init_help" = "long"; then
1174 # Omit some internal or obsolete options to make the list less imposing.
1175 # This message is too long to be a string in the A/UX 3.1 sh.
1176 cat <<_ACEOF
1177 \`configure' configures QECODE 1.2 to adapt to many kinds of systems.
1178
1179 Usage: $0 [OPTION]... [VAR=VALUE]...
1180
1181 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1182 VAR=VALUE. See below for descriptions of some of the useful variables.
1183
1184 Defaults for the options are specified in brackets.
1185
1186 Configuration:
1187 -h, --help display this help and exit
1188 --help=short display options specific to this package
1189 --help=recursive display the short help of all the included packages
1190 -V, --version display version information and exit
1191 -q, --quiet, --silent do not print \`checking ...' messages
1192 --cache-file=FILE cache test results in FILE [disabled]
1193 -C, --config-cache alias for \`--cache-file=config.cache'
1194 -n, --no-create do not create output files
1195 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1196
1197 Installation directories:
1198 --prefix=PREFIX install architecture-independent files in PREFIX
1199 [$ac_default_prefix]
1200 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1201 [PREFIX]
1202
1203 By default, \`make install' will install all the files in
1204 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1205 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1206 for instance \`--prefix=\$HOME'.
1207
1208 For better control, use the options below.
1209
1210 Fine tuning of the installation directories:
1211 --bindir=DIR user executables [EPREFIX/bin]
1212 --sbindir=DIR system admin executables [EPREFIX/sbin]
1213 --libexecdir=DIR program executables [EPREFIX/libexec]
1214 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1215 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1216 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1217 --libdir=DIR object code libraries [EPREFIX/lib]
1218 --includedir=DIR C header files [PREFIX/include]
1219 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1220 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1221 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1222 --infodir=DIR info documentation [DATAROOTDIR/info]
1223 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1224 --mandir=DIR man documentation [DATAROOTDIR/man]
1225 --docdir=DIR documentation root [DATAROOTDIR/doc/qecode]
1226 --htmldir=DIR html documentation [DOCDIR]
1227 --dvidir=DIR dvi documentation [DOCDIR]
1228 --pdfdir=DIR pdf documentation [DOCDIR]
1229 --psdir=DIR ps documentation [DOCDIR]
1230 _ACEOF
1231
1232 cat <<\_ACEOF
1233 _ACEOF
1234 fi
1235
1236 if test -n "$ac_init_help"; then
1237 case $ac_init_help in
1238 short | recursive ) echo "Configuration of QECODE 1.2:";;
1239 esac
1240 cat <<\_ACEOF
1241
1242 Report bugs to <[email protected]>.
1243 _ACEOF
1244 ac_status=$?
1245 fi
1246
1247 if test "$ac_init_help" = "recursive"; then
1248 # If there are subdirs, report their specific --help.
1249 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1250 test -d "$ac_dir" ||
1251 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1252 continue
1253 ac_builddir=.
1254
1255 case "$ac_dir" in
1256 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1257 *)
1258 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1259 # A ".." for each directory in $ac_dir_suffix.
1260 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1261 case $ac_top_builddir_sub in
1262 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1263 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1264 esac ;;
1265 esac
1266 ac_abs_top_builddir=$ac_pwd
1267 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1268 # for backward compatibility:
1269 ac_top_builddir=$ac_top_build_prefix
1270
1271 case $srcdir in
1272 .) # We are building in place.
1273 ac_srcdir=.
1274 ac_top_srcdir=$ac_top_builddir_sub
1275 ac_abs_top_srcdir=$ac_pwd ;;
1276 [\\/]* | ?:[\\/]* ) # Absolute name.
1277 ac_srcdir=$srcdir$ac_dir_suffix;
1278 ac_top_srcdir=$srcdir
1279 ac_abs_top_srcdir=$srcdir ;;
1280 *) # Relative name.
1281 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1282 ac_top_srcdir=$ac_top_build_prefix$srcdir
1283 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1284 esac
1285 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1286
1287 cd "$ac_dir" || { ac_status=$?; continue; }
1288 # Check for guested configure.
1289 if test -f "$ac_srcdir/configure.gnu"; then
1290 echo &&
1291 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1292 elif test -f "$ac_srcdir/configure"; then
1293 echo &&
1294 $SHELL "$ac_srcdir/configure" --help=recursive
1295 else
1296 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1297 fi || ac_status=$?
1298 cd "$ac_pwd" || { ac_status=$?; break; }
1299 done
1300 fi
1301
1302 test -n "$ac_init_help" && exit $ac_status
1303 if $ac_init_version; then
1304 cat <<\_ACEOF
1305 QECODE configure 1.2
1306 generated by GNU Autoconf 2.69
1307
1308 Copyright (C) 2012 Free Software Foundation, Inc.
1309 This configure script is free software; the Free Software Foundation
1310 gives unlimited permission to copy, distribute and modify it.
1311 _ACEOF
1312 exit
1313 fi
1314
1315 ## ------------------------ ##
1316 ## Autoconf initialization. ##
1317 ## ------------------------ ##
1318 cat >config.log <<_ACEOF
1319 This file contains any messages produced by compilers while
1320 running configure, to aid debugging if configure makes a mistake.
1321
1322 It was created by QECODE $as_me 1.2, which was
1323 generated by GNU Autoconf 2.69. Invocation command line was
1324
1325 $ $0 $@
1326
1327 _ACEOF
1328 exec 5>>config.log
1329 {
1330 cat <<_ASUNAME
1331 ## --------- ##
1332 ## Platform. ##
1333 ## --------- ##
1334
1335 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1336 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1337 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1338 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1339 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1340
1341 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1342 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1343
1344 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1345 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1346 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1347 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1348 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1349 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1350 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1351
1352 _ASUNAME
1353
1354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1355 for as_dir in $PATH
1356 do
1357 IFS=$as_save_IFS
1358 test -z "$as_dir" && as_dir=.
1359 $as_echo "PATH: $as_dir"
1360 done
1361 IFS=$as_save_IFS
1362
1363 } >&5
1364
1365 cat >&5 <<_ACEOF
1366
1367
1368 ## ----------- ##
1369 ## Core tests. ##
1370 ## ----------- ##
1371
1372 _ACEOF
1373
1374
1375 # Keep a trace of the command line.
1376 # Strip out --no-create and --no-recursion so they do not pile up.
1377 # Strip out --silent because we don't want to record it for future runs.
1378 # Also quote any args containing shell meta-characters.
1379 # Make two passes to allow for proper duplicate-argument suppression.
1380 ac_configure_args=
1381 ac_configure_args0=
1382 ac_configure_args1=
1383 ac_must_keep_next=false
1384 for ac_pass in 1 2
1385 do
1386 for ac_arg
1387 do
1388 case $ac_arg in
1389 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1390 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1391 | -silent | --silent | --silen | --sile | --sil)
1392 continue ;;
1393 *\'*)
1394 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1395 esac
1396 case $ac_pass in
1397 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1398 2)
1399 as_fn_append ac_configure_args1 " '$ac_arg'"
1400 if test $ac_must_keep_next = true; then
1401 ac_must_keep_next=false # Got value, back to normal.
1402 else
1403 case $ac_arg in
1404 *=* | --config-cache | -C | -disable-* | --disable-* \
1405 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1406 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1407 | -with-* | --with-* | -without-* | --without-* | --x)
1408 case "$ac_configure_args0 " in
1409 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1410 esac
1411 ;;
1412 -* ) ac_must_keep_next=true ;;
1413 esac
1414 fi
1415 as_fn_append ac_configure_args " '$ac_arg'"
1416 ;;
1417 esac
1418 done
1419 done
1420 { ac_configure_args0=; unset ac_configure_args0;}
1421 { ac_configure_args1=; unset ac_configure_args1;}
1422
1423 # When interrupted or exit'd, cleanup temporary files, and complete
1424 # config.log. We remove comments because anyway the quotes in there
1425 # would cause problems or look ugly.
1426 # WARNING: Use '\'' to represent an apostrophe within the trap.
1427 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1428 trap 'exit_status=$?
1429 # Save into config.log some information that might help in debugging.
1430 {
1431 echo
1432
1433 $as_echo "## ---------------- ##
1434 ## Cache variables. ##
1435 ## ---------------- ##"
1436 echo
1437 # The following way of writing the cache mishandles newlines in values,
1438 (
1439 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1440 eval ac_val=\$$ac_var
1441 case $ac_val in #(
1442 *${as_nl}*)
1443 case $ac_var in #(
1444 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1445 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1446 esac
1447 case $ac_var in #(
1448 _ | IFS | as_nl) ;; #(
1449 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1450 *) { eval $ac_var=; unset $ac_var;} ;;
1451 esac ;;
1452 esac
1453 done
1454 (set) 2>&1 |
1455 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1456 *${as_nl}ac_space=\ *)
1457 sed -n \
1458 "s/'\''/'\''\\\\'\'''\''/g;
1459 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1460 ;; #(
1461 *)
1462 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1463 ;;
1464 esac |
1465 sort
1466 )
1467 echo
1468
1469 $as_echo "## ----------------- ##
1470 ## Output variables. ##
1471 ## ----------------- ##"
1472 echo
1473 for ac_var in $ac_subst_vars
1474 do
1475 eval ac_val=\$$ac_var
1476 case $ac_val in
1477 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1478 esac
1479 $as_echo "$ac_var='\''$ac_val'\''"
1480 done | sort
1481 echo
1482
1483 if test -n "$ac_subst_files"; then
1484 $as_echo "## ------------------- ##
1485 ## File substitutions. ##
1486 ## ------------------- ##"
1487 echo
1488 for ac_var in $ac_subst_files
1489 do
1490 eval ac_val=\$$ac_var
1491 case $ac_val in
1492 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1493 esac
1494 $as_echo "$ac_var='\''$ac_val'\''"
1495 done | sort
1496 echo
1497 fi
1498
1499 if test -s confdefs.h; then
1500 $as_echo "## ----------- ##
1501 ## confdefs.h. ##
1502 ## ----------- ##"
1503 echo
1504 cat confdefs.h
1505 echo
1506 fi
1507 test "$ac_signal" != 0 &&
1508 $as_echo "$as_me: caught signal $ac_signal"
1509 $as_echo "$as_me: exit $exit_status"
1510 } >&5
1511 rm -f core *.core core.conftest.* &&
1512 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1513 exit $exit_status
1514 ' 0
1515 for ac_signal in 1 2 13 15; do
1516 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1517 done
1518 ac_signal=0
1519
1520 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1521 rm -f -r conftest* confdefs.h
1522
1523 $as_echo "/* confdefs.h */" > confdefs.h
1524
1525 # Predefined preprocessor variables.
1526
1527 cat >>confdefs.h <<_ACEOF
1528 #define PACKAGE_NAME "$PACKAGE_NAME"
1529 _ACEOF
1530
1531 cat >>confdefs.h <<_ACEOF
1532 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1533 _ACEOF
1534
1535 cat >>confdefs.h <<_ACEOF
1536 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1537 _ACEOF
1538
1539 cat >>confdefs.h <<_ACEOF
1540 #define PACKAGE_STRING "$PACKAGE_STRING"
1541 _ACEOF
1542
1543 cat >>confdefs.h <<_ACEOF
1544 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1545 _ACEOF
1546
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_URL "$PACKAGE_URL"
1549 _ACEOF
1550
1551
1552 # Let the site file select an alternate cache file if it wants to.
1553 # Prefer an explicitly selected file to automatically selected ones.
1554 ac_site_file1=NONE
1555 ac_site_file2=NONE
1556 if test -n "$CONFIG_SITE"; then
1557 # We do not want a PATH search for config.site.
1558 case $CONFIG_SITE in #((
1559 -*) ac_site_file1=./$CONFIG_SITE;;
1560 */*) ac_site_file1=$CONFIG_SITE;;
1561 *) ac_site_file1=./$CONFIG_SITE;;
1562 esac
1563 elif test "x$prefix" != xNONE; then
1564 ac_site_file1=$prefix/share/config.site
1565 ac_site_file2=$prefix/etc/config.site
1566 else
1567 ac_site_file1=$ac_default_prefix/share/config.site
1568 ac_site_file2=$ac_default_prefix/etc/config.site
1569 fi
1570 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1571 do
1572 test "x$ac_site_file" = xNONE && continue
1573 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1575 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1576 sed 's/^/| /' "$ac_site_file" >&5
1577 . "$ac_site_file" \
1578 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1580 as_fn_error $? "failed to load site script $ac_site_file
1581 See \`config.log' for more details" "$LINENO" 5; }
1582 fi
1583 done
1584
1585 if test -r "$cache_file"; then
1586 # Some versions of bash will fail to source /dev/null (special files
1587 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1588 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1590 $as_echo "$as_me: loading cache $cache_file" >&6;}
1591 case $cache_file in
1592 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1593 *) . "./$cache_file";;
1594 esac
1595 fi
1596 else
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1598 $as_echo "$as_me: creating cache $cache_file" >&6;}
1599 >$cache_file
1600 fi
1601
1602 # Check that the precious variables saved in the cache have kept the same
1603 # value.
1604 ac_cache_corrupted=false
1605 for ac_var in $ac_precious_vars; do
1606 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1607 eval ac_new_set=\$ac_env_${ac_var}_set
1608 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1609 eval ac_new_val=\$ac_env_${ac_var}_value
1610 case $ac_old_set,$ac_new_set in
1611 set,)
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1613 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1614 ac_cache_corrupted=: ;;
1615 ,set)
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1617 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1618 ac_cache_corrupted=: ;;
1619 ,);;
1620 *)
1621 if test "x$ac_old_val" != "x$ac_new_val"; then
1622 # differences in whitespace do not lead to failure.
1623 ac_old_val_w=`echo x $ac_old_val`
1624 ac_new_val_w=`echo x $ac_new_val`
1625 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1627 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1628 ac_cache_corrupted=:
1629 else
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1631 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1632 eval $ac_var=\$ac_old_val
1633 fi
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1635 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1637 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1638 fi;;
1639 esac
1640 # Pass precious variables to config.status.
1641 if test "$ac_new_set" = set; then
1642 case $ac_new_val in
1643 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1644 *) ac_arg=$ac_var=$ac_new_val ;;
1645 esac
1646 case " $ac_configure_args " in
1647 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1648 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1649 esac
1650 fi
1651 done
1652 if $ac_cache_corrupted; then
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1656 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1657 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1658 fi
1659 ## -------------------- ##
1660 ## Main body of script. ##
1661 ## -------------------- ##
1662
1663 ac_ext=c
1664 ac_cpp='$CPP $CPPFLAGS'
1665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1668
1669
1670
1671
1672 QECODE="qecode"
1673
1674
1675 ../../config.status --file Makefile.in:Makefile.in.in
1676
1677 ac_config_commands="$ac_config_commands Makefile.in"
1678
1679 ac_config_files="$ac_config_files Makefile"
1680
1681 cat >confcache <<\_ACEOF
1682 # This file is a shell script that caches the results of configure
1683 # tests run on this system so they can be shared between configure
1684 # scripts and configure runs, see configure's option --config-cache.
1685 # It is not useful on other systems. If it contains results you don't
1686 # want to keep, you may remove or edit it.
1687 #
1688 # config.status only pays attention to the cache file if you give it
1689 # the --recheck option to rerun configure.
1690 #
1691 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1692 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1693 # following values.
1694
1695 _ACEOF
1696
1697 # The following way of writing the cache mishandles newlines in values,
1698 # but we know of no workaround that is simple, portable, and efficient.
1699 # So, we kill variables containing newlines.
1700 # Ultrix sh set writes to stderr and can't be redirected directly,
1701 # and sets the high bit in the cache file unless we assign to the vars.
1702 (
1703 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1704 eval ac_val=\$$ac_var
1705 case $ac_val in #(
1706 *${as_nl}*)
1707 case $ac_var in #(
1708 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1709 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1710 esac
1711 case $ac_var in #(
1712 _ | IFS | as_nl) ;; #(
1713 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1714 *) { eval $ac_var=; unset $ac_var;} ;;
1715 esac ;;
1716 esac
1717 done
1718
1719 (set) 2>&1 |
1720 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1721 *${as_nl}ac_space=\ *)
1722 # `set' does not quote correctly, so add quotes: double-quote
1723 # substitution turns \\\\ into \\, and sed turns \\ into \.
1724 sed -n \
1725 "s/'/'\\\\''/g;
1726 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1727 ;; #(
1728 *)
1729 # `set' quotes correctly as required by POSIX, so do not add quotes.
1730 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1731 ;;
1732 esac |
1733 sort
1734 ) |
1735 sed '
1736 /^ac_cv_env_/b end
1737 t clear
1738 :clear
1739 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1740 t end
1741 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1742 :end' >>confcache
1743 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1744 if test -w "$cache_file"; then
1745 if test "x$cache_file" != "x/dev/null"; then
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1747 $as_echo "$as_me: updating cache $cache_file" >&6;}
1748 if test ! -f "$cache_file" || test -h "$cache_file"; then
1749 cat confcache >"$cache_file"
1750 else
1751 case $cache_file in #(
1752 */* | ?:*)
1753 mv -f confcache "$cache_file"$$ &&
1754 mv -f "$cache_file"$$ "$cache_file" ;; #(
1755 *)
1756 mv -f confcache "$cache_file" ;;
1757 esac
1758 fi
1759 fi
1760 else
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1762 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1763 fi
1764 fi
1765 rm -f confcache
1766
1767 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1768 # Let make expand exec_prefix.
1769 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1770
1771 # Transform confdefs.h into DEFS.
1772 # Protect against shell expansion while executing Makefile rules.
1773 # Protect against Makefile macro expansion.
1774 #
1775 # If the first sed substitution is executed (which looks for macros that
1776 # take arguments), then branch to the quote section. Otherwise,
1777 # look for a macro that doesn't take arguments.
1778 ac_script='
1779 :mline
1780 /\\$/{
1781 N
1782 s,\\\n,,
1783 b mline
1784 }
1785 t clear
1786 :clear
1787 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1788 t quote
1789 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1790 t quote
1791 b any
1792 :quote
1793 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1794 s/\[/\\&/g
1795 s/\]/\\&/g
1796 s/\$/$$/g
1797 H
1798 :any
1799 ${
1800 g
1801 s/^\n//
1802 s/\n/ /g
1803 p
1804 }
1805 '
1806 DEFS=`sed -n "$ac_script" confdefs.h`
1807
1808
1809 ac_libobjs=
1810 ac_ltlibobjs=
1811 U=
1812 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1813 # 1. Remove the extension, and $U if already installed.
1814 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1815 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1816 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1817 # will be set to the directory where LIBOBJS objects are built.
1818 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1819 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1820 done
1821 LIBOBJS=$ac_libobjs
1822
1823 LTLIBOBJS=$ac_ltlibobjs
1824
1825
1826
1827 : "${CONFIG_STATUS=./config.status}"
1828 ac_write_fail=0
1829 ac_clean_files_save=$ac_clean_files
1830 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1832 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1833 as_write_fail=0
1834 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1835 #! $SHELL
1836 # Generated by $as_me.
1837 # Run this file to recreate the current configuration.
1838 # Compiler output produced by configure, useful for debugging
1839 # configure, is in config.log if it exists.
1840
1841 debug=false
1842 ac_cs_recheck=false
1843 ac_cs_silent=false
1844
1845 SHELL=\${CONFIG_SHELL-$SHELL}
1846 export SHELL
1847 _ASEOF
1848 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
1849 ## -------------------- ##
1850 ## M4sh Initialization. ##
1851 ## -------------------- ##
1852
1853 # Be more Bourne compatible
1854 DUALCASE=1; export DUALCASE # for MKS sh
1855 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1856 emulate sh
1857 NULLCMD=:
1858 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1859 # is contrary to our usage. Disable this feature.
1860 alias -g '${1+"$@"}'='"$@"'
1861 setopt NO_GLOB_SUBST
1862 else
1863 case `(set -o) 2>/dev/null` in #(
1864 *posix*) :
1865 set -o posix ;; #(
1866 *) :
1867 ;;
1868 esac
1869 fi
1870
1871
1872 as_nl='
1873 '
1874 export as_nl
1875 # Printing a long string crashes Solaris 7 /usr/bin/printf.
1876 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1877 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
1878 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1879 # Prefer a ksh shell builtin over an external printf program on Solaris,
1880 # but without wasting forks for bash or zsh.
1881 if test -z "$BASH_VERSION$ZSH_VERSION" \
1882 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
1883 as_echo='print -r --'
1884 as_echo_n='print -rn --'
1885 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1886 as_echo='printf %s\n'
1887 as_echo_n='printf %s'
1888 else
1889 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
1890 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
1891 as_echo_n='/usr/ucb/echo -n'
1892 else
1893 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
1894 as_echo_n_body='eval
1895 arg=$1;
1896 case $arg in #(
1897 *"$as_nl"*)
1898 expr "X$arg" : "X\\(.*\\)$as_nl";
1899 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
1900 esac;
1901 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
1902 '
1903 export as_echo_n_body
1904 as_echo_n='sh -c $as_echo_n_body as_echo'
1905 fi
1906 export as_echo_body
1907 as_echo='sh -c $as_echo_body as_echo'
1908 fi
1909
1910 # The user is always right.
1911 if test "${PATH_SEPARATOR+set}" != set; then
1912 PATH_SEPARATOR=:
1913 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
1914 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
1915 PATH_SEPARATOR=';'
1916 }
1917 fi
1918
1919
1920 # IFS
1921 # We need space, tab and new line, in precisely that order. Quoting is
1922 # there to prevent editors from complaining about space-tab.
1923 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
1924 # splitting by setting IFS to empty value.)
1925 IFS=" "" $as_nl"
1926
1927 # Find who we are. Look in the path if we contain no directory separator.
1928 as_myself=
1929 case $0 in #((
1930 *[\\/]* ) as_myself=$0 ;;
1931 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1932 for as_dir in $PATH
1933 do
1934 IFS=$as_save_IFS
1935 test -z "$as_dir" && as_dir=.
1936 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1937 done
1938 IFS=$as_save_IFS
1939
1940 ;;
1941 esac
1942 # We did not find ourselves, most probably we were run as `sh COMMAND'
1943 # in which case we are not to be found in the path.
1944 if test "x$as_myself" = x; then
1945 as_myself=$0
1946 fi
1947 if test ! -f "$as_myself"; then
1948 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1949 exit 1
1950 fi
1951
1952 # Unset variables that we do not need and which cause bugs (e.g. in
1953 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
1954 # suppresses any "Segmentation fault" message there. '((' could
1955 # trigger a bug in pdksh 5.2.14.
1956 for as_var in BASH_ENV ENV MAIL MAILPATH
1957 do eval test x\${$as_var+set} = xset \
1958 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1959 done
1960 PS1='$ '
1961 PS2='> '
1962 PS4='+ '
1963
1964 # NLS nuisances.
1965 LC_ALL=C
1966 export LC_ALL
1967 LANGUAGE=C
1968 export LANGUAGE
1969
1970 # CDPATH.
1971 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1972
1973
1974 # as_fn_error STATUS ERROR [LINENO LOG_FD]
1975 # ----------------------------------------
1976 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
1977 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1978 # script with STATUS, using 1 if that was 0.
1979 as_fn_error ()
1980 {
1981 as_status=$1; test $as_status -eq 0 && as_status=1
1982 if test "$4"; then
1983 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1984 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1985 fi
1986 $as_echo "$as_me: error: $2" >&2
1987 as_fn_exit $as_status
1988 } # as_fn_error
1989
1990
1991 # as_fn_set_status STATUS
1992 # -----------------------
1993 # Set $? to STATUS, without forking.
1994 as_fn_set_status ()
1995 {
1996 return $1
1997 } # as_fn_set_status
1998
1999 # as_fn_exit STATUS
2000 # -----------------
2001 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2002 as_fn_exit ()
2003 {
2004 set +e
2005 as_fn_set_status $1
2006 exit $1
2007 } # as_fn_exit
2008
2009 # as_fn_unset VAR
2010 # ---------------
2011 # Portably unset VAR.
2012 as_fn_unset ()
2013 {
2014 { eval $1=; unset $1;}
2015 }
2016 as_unset=as_fn_unset
2017 # as_fn_append VAR VALUE
2018 # ----------------------
2019 # Append the text in VALUE to the end of the definition contained in VAR. Take
2020 # advantage of any shell optimizations that allow amortized linear growth over
2021 # repeated appends, instead of the typical quadratic growth present in naive
2022 # implementations.
2023 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2024 eval 'as_fn_append ()
2025 {
2026 eval $1+=\$2
2027 }'
2028 else
2029 as_fn_append ()
2030 {
2031 eval $1=\$$1\$2
2032 }
2033 fi # as_fn_append
2034
2035 # as_fn_arith ARG...
2036 # ------------------
2037 # Perform arithmetic evaluation on the ARGs, and store the result in the
2038 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2039 # must be portable across $(()) and expr.
2040 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2041 eval 'as_fn_arith ()
2042 {
2043 as_val=$(( $* ))
2044 }'
2045 else
2046 as_fn_arith ()
2047 {
2048 as_val=`expr "$@" || test $? -eq 1`
2049 }
2050 fi # as_fn_arith
2051
2052
2053 if expr a : '\(a\)' >/dev/null 2>&1 &&
2054 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2055 as_expr=expr
2056 else
2057 as_expr=false
2058 fi
2059
2060 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2061 as_basename=basename
2062 else
2063 as_basename=false
2064 fi
2065
2066 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2067 as_dirname=dirname
2068 else
2069 as_dirname=false
2070 fi
2071
2072 as_me=`$as_basename -- "$0" ||
2073 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2074 X"$0" : 'X\(//\)$' \| \
2075 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2076 $as_echo X/"$0" |
2077 sed '/^.*\/\([^/][^/]*\)\/*$/{
2078 s//\1/
2079 q
2080 }
2081 /^X\/\(\/\/\)$/{
2082 s//\1/
2083 q
2084 }
2085 /^X\/\(\/\).*/{
2086 s//\1/
2087 q
2088 }
2089 s/.*/./; q'`
2090
2091 # Avoid depending upon Character Ranges.
2092 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2093 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2094 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2095 as_cr_digits='0123456789'
2096 as_cr_alnum=$as_cr_Letters$as_cr_digits
2097
2098 ECHO_C= ECHO_N= ECHO_T=
2099 case `echo -n x` in #(((((
2100 -n*)
2101 case `echo 'xy\c'` in
2102 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2103 xy) ECHO_C='\c';;
2104 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2105 ECHO_T=' ';;
2106 esac;;
2107 *)
2108 ECHO_N='-n';;
2109 esac
2110
2111 rm -f conf$$ conf$$.exe conf$$.file
2112 if test -d conf$$.dir; then
2113 rm -f conf$$.dir/conf$$.file
2114 else
2115 rm -f conf$$.dir
2116 mkdir conf$$.dir 2>/dev/null
2117 fi
2118 if (echo >conf$$.file) 2>/dev/null; then
2119 if ln -s conf$$.file conf$$ 2>/dev/null; then
2120 as_ln_s='ln -s'
2121 # ... but there are two gotchas:
2122 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2123 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2124 # In both cases, we have to default to `cp -pR'.
2125 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2126 as_ln_s='cp -pR'
2127 elif ln conf$$.file conf$$ 2>/dev/null; then
2128 as_ln_s=ln
2129 else
2130 as_ln_s='cp -pR'
2131 fi
2132 else
2133 as_ln_s='cp -pR'
2134 fi
2135 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2136 rmdir conf$$.dir 2>/dev/null
2137
2138
2139 # as_fn_mkdir_p
2140 # -------------
2141 # Create "$as_dir" as a directory, including parents if necessary.
2142 as_fn_mkdir_p ()
2143 {
2144
2145 case $as_dir in #(
2146 -*) as_dir=./$as_dir;;
2147 esac
2148 test -d "$as_dir" || eval $as_mkdir_p || {
2149 as_dirs=
2150 while :; do
2151 case $as_dir in #(
2152 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2153 *) as_qdir=$as_dir;;
2154 esac
2155 as_dirs="'$as_qdir' $as_dirs"
2156 as_dir=`$as_dirname -- "$as_dir" ||
2157 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2158 X"$as_dir" : 'X\(//\)[^/]' \| \
2159 X"$as_dir" : 'X\(//\)$' \| \
2160 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2161 $as_echo X"$as_dir" |
2162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2163 s//\1/
2164 q
2165 }
2166 /^X\(\/\/\)[^/].*/{
2167 s//\1/
2168 q
2169 }
2170 /^X\(\/\/\)$/{
2171 s//\1/
2172 q
2173 }
2174 /^X\(\/\).*/{
2175 s//\1/
2176 q
2177 }
2178 s/.*/./; q'`
2179 test -d "$as_dir" && break
2180 done
2181 test -z "$as_dirs" || eval "mkdir $as_dirs"
2182 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2183
2184
2185 } # as_fn_mkdir_p
2186 if mkdir -p . 2>/dev/null; then
2187 as_mkdir_p='mkdir -p "$as_dir"'
2188 else
2189 test -d ./-p && rmdir ./-p
2190 as_mkdir_p=false
2191 fi
2192
2193
2194 # as_fn_executable_p FILE
2195 # -----------------------
2196 # Test if FILE is an executable regular file.
2197 as_fn_executable_p ()
2198 {
2199 test -f "$1" && test -x "$1"
2200 } # as_fn_executable_p
2201 as_test_x='test -x'
2202 as_executable_p=as_fn_executable_p
2203
2204 # Sed expression to map a string onto a valid CPP name.
2205 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2206
2207 # Sed expression to map a string onto a valid variable name.
2208 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2209
2210
2211 exec 6>&1
2212 ## ----------------------------------- ##
2213 ## Main body of $CONFIG_STATUS script. ##
2214 ## ----------------------------------- ##
2215 _ASEOF
2216 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2217
2218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2219 # Save the log message, to keep $0 and so on meaningful, and to
2220 # report actual input values of CONFIG_FILES etc. instead of their
2221 # values after options handling.
2222 ac_log="
2223 This file was extended by QECODE $as_me 1.2, which was
2224 generated by GNU Autoconf 2.69. Invocation command line was
2225
2226 CONFIG_FILES = $CONFIG_FILES
2227 CONFIG_HEADERS = $CONFIG_HEADERS
2228 CONFIG_LINKS = $CONFIG_LINKS
2229 CONFIG_COMMANDS = $CONFIG_COMMANDS
2230 $ $0 $@
2231
2232 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2233 "
2234
2235 _ACEOF
2236
2237 case $ac_config_files in *"
2238 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2239 esac
2240
2241
2242
2243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2244 # Files that config.status was made for.
2245 config_files="$ac_config_files"
2246 config_commands="$ac_config_commands"
2247
2248 _ACEOF
2249
2250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2251 ac_cs_usage="\
2252 \`$as_me' instantiates files and other configuration actions
2253 from templates according to the current configuration. Unless the files
2254 and actions are specified as TAGs, all are instantiated by default.
2255
2256 Usage: $0 [OPTION]... [TAG]...
2257
2258 -h, --help print this help, then exit
2259 -V, --version print version number and configuration settings, then exit
2260 --config print configuration, then exit
2261 -q, --quiet, --silent
2262 do not print progress messages
2263 -d, --debug don't remove temporary files
2264 --recheck update $as_me by reconfiguring in the same conditions
2265 --file=FILE[:TEMPLATE]
2266 instantiate the configuration file FILE
2267
2268 Configuration files:
2269 $config_files
2270
2271 Configuration commands:
2272 $config_commands
2273
2274 Report bugs to <[email protected]>."
2275
2276 _ACEOF
2277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2278 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2279 ac_cs_version="\\
2280 QECODE config.status 1.2
2281 configured by $0, generated by GNU Autoconf 2.69,
2282 with options \\"\$ac_cs_config\\"
2283
2284 Copyright (C) 2012 Free Software Foundation, Inc.
2285 This config.status script is free software; the Free Software Foundation
2286 gives unlimited permission to copy, distribute and modify it."
2287
2288 ac_pwd='$ac_pwd'
2289 srcdir='$srcdir'
2290 test -n "\$AWK" || AWK=awk
2291 _ACEOF
2292
2293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2294 # The default lists apply if the user does not specify any file.
2295 ac_need_defaults=:
2296 while test $# != 0
2297 do
2298 case $1 in
2299 --*=?*)
2300 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2301 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2302 ac_shift=:
2303 ;;
2304 --*=)
2305 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2306 ac_optarg=
2307 ac_shift=:
2308 ;;
2309 *)
2310 ac_option=$1
2311 ac_optarg=$2
2312 ac_shift=shift
2313 ;;
2314 esac
2315
2316 case $ac_option in
2317 # Handling of the options.
2318 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2319 ac_cs_recheck=: ;;
2320 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2321 $as_echo "$ac_cs_version"; exit ;;
2322 --config | --confi | --conf | --con | --co | --c )
2323 $as_echo "$ac_cs_config"; exit ;;
2324 --debug | --debu | --deb | --de | --d | -d )
2325 debug=: ;;
2326 --file | --fil | --fi | --f )
2327 $ac_shift
2328 case $ac_optarg in
2329 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2330 '') as_fn_error $? "missing file argument" ;;
2331 esac
2332 as_fn_append CONFIG_FILES " '$ac_optarg'"
2333 ac_need_defaults=false;;
2334 --he | --h | --help | --hel | -h )
2335 $as_echo "$ac_cs_usage"; exit ;;
2336 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2337 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2338 ac_cs_silent=: ;;
2339
2340 # This is an error.
2341 -*) as_fn_error $? "unrecognized option: \`$1'
2342 Try \`$0 --help' for more information." ;;
2343
2344 *) as_fn_append ac_config_targets " $1"
2345 ac_need_defaults=false ;;
2346
2347 esac
2348 shift
2349 done
2350
2351 ac_configure_extra_args=
2352
2353 if $ac_cs_silent; then
2354 exec 6>/dev/null
2355 ac_configure_extra_args="$ac_configure_extra_args --silent"
2356 fi
2357
2358 _ACEOF
2359 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2360 if \$ac_cs_recheck; then
2361 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2362 shift
2363 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2364 CONFIG_SHELL='$SHELL'
2365 export CONFIG_SHELL
2366 exec "\$@"
2367 fi
2368
2369 _ACEOF
2370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2371 exec 5>>config.log
2372 {
2373 echo
2374 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2375 ## Running $as_me. ##
2376 _ASBOX
2377 $as_echo "$ac_log"
2378 } >&5
2379
2380 _ACEOF
2381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2382 _ACEOF
2383
2384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2385
2386 # Handling of arguments.
2387 for ac_config_target in $ac_config_targets
2388 do
2389 case $ac_config_target in
2390 "Makefile.in") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.in" ;;
2391 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2392
2393 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2394 esac
2395 done
2396
2397
2398 # If the user did not use the arguments to specify the items to instantiate,
2399 # then the envvar interface is used. Set only those that are not.
2400 # We use the long form for the default assignment because of an extremely
2401 # bizarre bug on SunOS 4.1.3.
2402 if $ac_need_defaults; then
2403 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2404 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
2405 fi
2406
2407 # Have a temporary directory for convenience. Make it in the build tree
2408 # simply because there is no reason against having it here, and in addition,
2409 # creating and moving files from /tmp can sometimes cause problems.
2410 # Hook for its removal unless debugging.
2411 # Note that there is a small window in which the directory will not be cleaned:
2412 # after its creation but before its name has been assigned to `$tmp'.
2413 $debug ||
2414 {
2415 tmp= ac_tmp=
2416 trap 'exit_status=$?
2417 : "${ac_tmp:=$tmp}"
2418 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2419 ' 0
2420 trap 'as_fn_exit 1' 1 2 13 15
2421 }
2422 # Create a (secure) tmp directory for tmp files.
2423
2424 {
2425 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2426 test -d "$tmp"
2427 } ||
2428 {
2429 tmp=./conf$$-$RANDOM
2430 (umask 077 && mkdir "$tmp")
2431 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2432 ac_tmp=$tmp
2433
2434 # Set up the scripts for CONFIG_FILES section.
2435 # No need to generate them if there are no CONFIG_FILES.
2436 # This happens for instance with `./config.status config.h'.
2437 if test -n "$CONFIG_FILES"; then
2438
2439
2440 ac_cr=`echo X | tr X '\015'`
2441 # On cygwin, bash can eat \r inside `` if the user requested igncr.
2442 # But we know of no other shell where ac_cr would be empty at this
2443 # point, so we can use a bashism as a fallback.
2444 if test "x$ac_cr" = x; then
2445 eval ac_cr=\$\'\\r\'
2446 fi
2447 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2448 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2449 ac_cs_awk_cr='\\r'
2450 else
2451 ac_cs_awk_cr=$ac_cr
2452 fi
2453
2454 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
2455 _ACEOF
2456
2457
2458 {
2459 echo "cat >conf$$subs.awk <<_ACEOF" &&
2460 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2461 echo "_ACEOF"
2462 } >conf$$subs.sh ||
2463 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2464 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2465 ac_delim='%!_!# '
2466 for ac_last_try in false false false false false :; do
2467 . ./conf$$subs.sh ||
2468 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2469
2470 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2471 if test $ac_delim_n = $ac_delim_num; then
2472 break
2473 elif $ac_last_try; then
2474 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2475 else
2476 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2477 fi
2478 done
2479 rm -f conf$$subs.sh
2480
2481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2482 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
2483 _ACEOF
2484 sed -n '
2485 h
2486 s/^/S["/; s/!.*/"]=/
2487 p
2488 g
2489 s/^[^!]*!//
2490 :repl
2491 t repl
2492 s/'"$ac_delim"'$//
2493 t delim
2494 :nl
2495 h
2496 s/\(.\{148\}\)..*/\1/
2497 t more1
2498 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2499 p
2500 n
2501 b repl
2502 :more1
2503 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2504 p
2505 g
2506 s/.\{148\}//
2507 t nl
2508 :delim
2509 h
2510 s/\(.\{148\}\)..*/\1/
2511 t more2
2512 s/["\\]/\\&/g; s/^/"/; s/$/"/
2513 p
2514 b
2515 :more2
2516 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2517 p
2518 g
2519 s/.\{148\}//
2520 t delim
2521 ' <conf$$subs.awk | sed '
2522 /^[^""]/{
2523 N
2524 s/\n//
2525 }
2526 ' >>$CONFIG_STATUS || ac_write_fail=1
2527 rm -f conf$$subs.awk
2528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2529 _ACAWK
2530 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
2531 for (key in S) S_is_set[key] = 1
2532 FS = ""
2533
2534 }
2535 {
2536 line = $ 0
2537 nfields = split(line, field, "@")
2538 substed = 0
2539 len = length(field[1])
2540 for (i = 2; i < nfields; i++) {
2541 key = field[i]
2542 keylen = length(key)
2543 if (S_is_set[key]) {
2544 value = S[key]
2545 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2546 len += length(value) + length(field[++i])
2547 substed = 1
2548 } else
2549 len += 1 + keylen
2550 }
2551
2552 print line
2553 }
2554
2555 _ACAWK
2556 _ACEOF
2557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2558 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2559 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2560 else
2561 cat
2562 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
2563 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
2564 _ACEOF
2565
2566 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
2567 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
2568 # trailing colons and then remove the whole line if VPATH becomes empty
2569 # (actually we leave an empty line to preserve line numbers).
2570 if test "x$srcdir" = x.; then
2571 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
2572 h
2573 s///
2574 s/^/:/
2575 s/[ ]*$/:/
2576 s/:\$(srcdir):/:/g
2577 s/:\${srcdir}:/:/g
2578 s/:@srcdir@:/:/g
2579 s/^:*//
2580 s/:*$//
2581 x
2582 s/\(=[ ]*\).*/\1/
2583 G
2584 s/\n//
2585 s/^[^=]*=[ ]*$//
2586 }'
2587 fi
2588
2589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2590 fi # test -n "$CONFIG_FILES"
2591
2592
2593 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
2594 shift
2595 for ac_tag
2596 do
2597 case $ac_tag in
2598 :[FHLC]) ac_mode=$ac_tag; continue;;
2599 esac
2600 case $ac_mode$ac_tag in
2601 :[FHL]*:*);;
2602 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
2603 :[FH]-) ac_tag=-:-;;
2604 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2605 esac
2606 ac_save_IFS=$IFS
2607 IFS=:
2608 set x $ac_tag
2609 IFS=$ac_save_IFS
2610 shift
2611 ac_file=$1
2612 shift
2613
2614 case $ac_mode in
2615 :L) ac_source=$1;;
2616 :[FH])
2617 ac_file_inputs=
2618 for ac_f
2619 do
2620 case $ac_f in
2621 -) ac_f="$ac_tmp/stdin";;
2622 *) # Look for the file first in the build tree, then in the source tree
2623 # (if the path is not absolute). The absolute path cannot be DOS-style,
2624 # because $ac_f cannot contain `:'.
2625 test -f "$ac_f" ||
2626 case $ac_f in
2627 [\\/$]*) false;;
2628 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2629 esac ||
2630 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2631 esac
2632 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2633 as_fn_append ac_file_inputs " '$ac_f'"
2634 done
2635
2636 # Let's still pretend it is `configure' which instantiates (i.e., don't
2637 # use $as_me), people would be surprised to read:
2638 # /* config.h. Generated by config.status. */
2639 configure_input='Generated from '`
2640 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2641 `' by configure.'
2642 if test x"$ac_file" != x-; then
2643 configure_input="$ac_file. $configure_input"
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2645 $as_echo "$as_me: creating $ac_file" >&6;}
2646 fi
2647 # Neutralize special characters interpreted by sed in replacement strings.
2648 case $configure_input in #(
2649 *\&* | *\|* | *\\* )
2650 ac_sed_conf_input=`$as_echo "$configure_input" |
2651 sed 's/[\\\\&|]/\\\\&/g'`;; #(
2652 *) ac_sed_conf_input=$configure_input;;
2653 esac
2654
2655 case $ac_tag in
2656 *:-:* | *:-) cat >"$ac_tmp/stdin" \
2657 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
2658 esac
2659 ;;
2660 esac
2661
2662 ac_dir=`$as_dirname -- "$ac_file" ||
2663 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2664 X"$ac_file" : 'X\(//\)[^/]' \| \
2665 X"$ac_file" : 'X\(//\)$' \| \
2666 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2667 $as_echo X"$ac_file" |
2668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2669 s//\1/
2670 q
2671 }
2672 /^X\(\/\/\)[^/].*/{
2673 s//\1/
2674 q
2675 }
2676 /^X\(\/\/\)$/{
2677 s//\1/
2678 q
2679 }
2680 /^X\(\/\).*/{
2681 s//\1/
2682 q
2683 }
2684 s/.*/./; q'`
2685 as_dir="$ac_dir"; as_fn_mkdir_p
2686 ac_builddir=.
2687
2688 case "$ac_dir" in
2689 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2690 *)
2691 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2692 # A ".." for each directory in $ac_dir_suffix.
2693 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2694 case $ac_top_builddir_sub in
2695 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2696 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2697 esac ;;
2698 esac
2699 ac_abs_top_builddir=$ac_pwd
2700 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2701 # for backward compatibility:
2702 ac_top_builddir=$ac_top_build_prefix
2703
2704 case $srcdir in
2705 .) # We are building in place.
2706 ac_srcdir=.
2707 ac_top_srcdir=$ac_top_builddir_sub
2708 ac_abs_top_srcdir=$ac_pwd ;;
2709 [\\/]* | ?:[\\/]* ) # Absolute name.
2710 ac_srcdir=$srcdir$ac_dir_suffix;
2711 ac_top_srcdir=$srcdir
2712 ac_abs_top_srcdir=$srcdir ;;
2713 *) # Relative name.
2714 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2715 ac_top_srcdir=$ac_top_build_prefix$srcdir
2716 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2717 esac
2718 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2719
2720
2721 case $ac_mode in
2722 :F)
2723 #
2724 # CONFIG_FILE
2725 #
2726
2727 _ACEOF
2728
2729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2730 # If the template does not know about datarootdir, expand it.
2731 # FIXME: This hack should be removed a few years after 2.60.
2732 ac_datarootdir_hack=; ac_datarootdir_seen=
2733 ac_sed_dataroot='
2734 /datarootdir/ {
2735 p
2736 q
2737 }
2738 /@datadir@/p
2739 /@docdir@/p
2740 /@infodir@/p
2741 /@localedir@/p
2742 /@mandir@/p'
2743 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2744 *datarootdir*) ac_datarootdir_seen=yes;;
2745 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2747 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2748 _ACEOF
2749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2750 ac_datarootdir_hack='
2751 s&@datadir@&$datadir&g
2752 s&@docdir@&$docdir&g
2753 s&@infodir@&$infodir&g
2754 s&@localedir@&$localedir&g
2755 s&@mandir@&$mandir&g
2756 s&\\\${datarootdir}&$datarootdir&g' ;;
2757 esac
2758 _ACEOF
2759
2760 # Neutralize VPATH when `$srcdir' = `.'.
2761 # Shell code in configure.ac might set extrasub.
2762 # FIXME: do we really want to maintain this feature?
2763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2764 ac_sed_extra="$ac_vpsub
2765 $extrasub
2766 _ACEOF
2767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2768 :t
2769 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2770 s|@configure_input@|$ac_sed_conf_input|;t t
2771 s&@top_builddir@&$ac_top_builddir_sub&;t t
2772 s&@top_build_prefix@&$ac_top_build_prefix&;t t
2773 s&@srcdir@&$ac_srcdir&;t t
2774 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2775 s&@top_srcdir@&$ac_top_srcdir&;t t
2776 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2777 s&@builddir@&$ac_builddir&;t t
2778 s&@abs_builddir@&$ac_abs_builddir&;t t
2779 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2780 $ac_datarootdir_hack
2781 "
2782 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
2783 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2784
2785 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2786 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
2787 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
2788 "$ac_tmp/out"`; test -z "$ac_out"; } &&
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2790 which seems to be undefined. Please make sure it is defined" >&5
2791 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2792 which seems to be undefined. Please make sure it is defined" >&2;}
2793
2794 rm -f "$ac_tmp/stdin"
2795 case $ac_file in
2796 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
2797 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
2798 esac \
2799 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2800 ;;
2801
2802
2803 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
2804 $as_echo "$as_me: executing $ac_file commands" >&6;}
2805 ;;
2806 esac
2807
2808 done # for ac_tag
2809
2810
2811 as_fn_exit 0
2812 _ACEOF
2813 ac_clean_files=$ac_clean_files_save
2814
2815 test $ac_write_fail = 0 ||
2816 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
2817
2818
2819 # configure is writing to config.log, and then calls config.status.
2820 # config.status does its own redirection, appending to config.log.
2821 # Unfortunately, on DOS this fails, as config.log is still kept open
2822 # by configure, so config.status won't be able to write to it; its
2823 # output is simply discarded. So we exec the FD to /dev/null,
2824 # effectively closing config.log, so it can be properly (re)opened and
2825 # appended to by config.status. When coming back to configure, we
2826 # need to make the FD available again.
2827 if test "$no_create" != yes; then
2828 ac_cs_success=:
2829 ac_config_status_args=
2830 test "$silent" = yes &&
2831 ac_config_status_args="$ac_config_status_args --quiet"
2832 exec 5>/dev/null
2833 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2834 exec 5>>config.log
2835 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2836 # would make configure fail if this is the last instruction.
2837 $ac_cs_success || as_fn_exit 1
2838 fi
2839 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
2841 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
2842 fi
2843