Debian Codegraph @

check_hpasm/src/configure

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