Debian Codegraph @

texmf-dist/source/bibtex/urlbst/configure

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