Debian Codegraph @

texmf-dist/source/support/sqltex/configure

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