Debian Codegraph @

configure

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