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