diff options
| author | Po Lu | 2023-05-01 08:15:48 +0800 |
|---|---|---|
| committer | Po Lu | 2023-05-01 08:15:48 +0800 |
| commit | 9a7c645dd4ef38b72787e932d444a61ed4e04c63 (patch) | |
| tree | 9f2417c4bdda9751f01b943c2f60302cc6149484 /exec | |
| parent | 368f6f3942a1f8b9483763a6ac24b3b3021e92bf (diff) | |
| download | emacs-9a7c645dd4ef38b72787e932d444a61ed4e04c63.tar.gz emacs-9a7c645dd4ef38b72787e932d444a61ed4e04c63.zip | |
Remove exec/configure
* exec/configure: Remove file.
* .gitignore: Add exec/configure.
Diffstat (limited to 'exec')
| -rwxr-xr-x | exec/configure | 6940 |
1 files changed, 0 insertions, 6940 deletions
diff --git a/exec/configure b/exec/configure deleted file mode 100755 index 5074fa2570a..00000000000 --- a/exec/configure +++ /dev/null | |||
| @@ -1,6940 +0,0 @@ | |||
| 1 | #! /bin/sh | ||
| 2 | # Guess values for system-dependent variables and create Makefiles. | ||
| 3 | # Generated by GNU Autoconf 2.71 for libexec 30.0.50. | ||
| 4 | # | ||
| 5 | # Report bugs to <bug-gnu-emacs@gnu.org>. | ||
| 6 | # | ||
| 7 | # | ||
| 8 | # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, | ||
| 9 | # Inc. | ||
| 10 | # | ||
| 11 | # | ||
| 12 | # This configure script is free software; the Free Software Foundation | ||
| 13 | # gives unlimited permission to copy, distribute and modify it. | ||
| 14 | ## -------------------- ## | ||
| 15 | ## M4sh Initialization. ## | ||
| 16 | ## -------------------- ## | ||
| 17 | |||
| 18 | # Be more Bourne compatible | ||
| 19 | DUALCASE=1; export DUALCASE # for MKS sh | ||
| 20 | as_nop=: | ||
| 21 | if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 | ||
| 22 | then : | ||
| 23 | emulate sh | ||
| 24 | NULLCMD=: | ||
| 25 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
| 26 | # is contrary to our usage. Disable this feature. | ||
| 27 | alias -g '${1+"$@"}'='"$@"' | ||
| 28 | setopt NO_GLOB_SUBST | ||
| 29 | else $as_nop | ||
| 30 | case `(set -o) 2>/dev/null` in #( | ||
| 31 | *posix*) : | ||
| 32 | set -o posix ;; #( | ||
| 33 | *) : | ||
| 34 | ;; | ||
| 35 | esac | ||
| 36 | fi | ||
| 37 | |||
| 38 | |||
| 39 | |||
| 40 | # Reset variables that may have inherited troublesome values from | ||
| 41 | # the environment. | ||
| 42 | |||
| 43 | # IFS needs to be set, to space, tab, and newline, in precisely that order. | ||
| 44 | # (If _AS_PATH_WALK were called with IFS unset, it would have the | ||
| 45 | # side effect of setting IFS to empty, thus disabling word splitting.) | ||
| 46 | # Quoting is to prevent editors from complaining about space-tab. | ||
| 47 | as_nl=' | ||
| 48 | ' | ||
| 49 | export as_nl | ||
| 50 | IFS=" "" $as_nl" | ||
| 51 | |||
| 52 | PS1='$ ' | ||
| 53 | PS2='> ' | ||
| 54 | PS4='+ ' | ||
| 55 | |||
| 56 | # Ensure predictable behavior from utilities with locale-dependent output. | ||
| 57 | LC_ALL=C | ||
| 58 | export LC_ALL | ||
| 59 | LANGUAGE=C | ||
| 60 | export LANGUAGE | ||
| 61 | |||
| 62 | # We cannot yet rely on "unset" to work, but we need these variables | ||
| 63 | # to be unset--not just set to an empty or harmless value--now, to | ||
| 64 | # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct | ||
| 65 | # also avoids known problems related to "unset" and subshell syntax | ||
| 66 | # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). | ||
| 67 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH | ||
| 68 | do eval test \${$as_var+y} \ | ||
| 69 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
| 70 | done | ||
| 71 | |||
| 72 | # Ensure that fds 0, 1, and 2 are open. | ||
| 73 | if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi | ||
| 74 | if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi | ||
| 75 | if (exec 3>&2) ; then :; else exec 2>/dev/null; fi | ||
| 76 | |||
| 77 | # The user is always right. | ||
| 78 | if ${PATH_SEPARATOR+false} :; then | ||
| 79 | PATH_SEPARATOR=: | ||
| 80 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | ||
| 81 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | ||
| 82 | PATH_SEPARATOR=';' | ||
| 83 | } | ||
| 84 | fi | ||
| 85 | |||
| 86 | |||
| 87 | # Find who we are. Look in the path if we contain no directory separator. | ||
| 88 | as_myself= | ||
| 89 | case $0 in #(( | ||
| 90 | *[\\/]* ) as_myself=$0 ;; | ||
| 91 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 92 | for as_dir in $PATH | ||
| 93 | do | ||
| 94 | IFS=$as_save_IFS | ||
| 95 | case $as_dir in #((( | ||
| 96 | '') as_dir=./ ;; | ||
| 97 | */) ;; | ||
| 98 | *) as_dir=$as_dir/ ;; | ||
| 99 | esac | ||
| 100 | test -r "$as_dir$0" && as_myself=$as_dir$0 && break | ||
| 101 | done | ||
| 102 | IFS=$as_save_IFS | ||
| 103 | |||
| 104 | ;; | ||
| 105 | esac | ||
| 106 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
| 107 | # in which case we are not to be found in the path. | ||
| 108 | if test "x$as_myself" = x; then | ||
| 109 | as_myself=$0 | ||
| 110 | fi | ||
| 111 | if test ! -f "$as_myself"; then | ||
| 112 | printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
| 113 | exit 1 | ||
| 114 | fi | ||
| 115 | |||
| 116 | |||
| 117 | # Use a proper internal environment variable to ensure we don't fall | ||
| 118 | # into an infinite loop, continuously re-executing ourselves. | ||
| 119 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | ||
| 120 | _as_can_reexec=no; export _as_can_reexec; | ||
| 121 | # We cannot yet assume a decent shell, so we have to provide a | ||
| 122 | # neutralization value for shells without unset; and this also | ||
| 123 | # works around shells that cannot unset nonexistent variables. | ||
| 124 | # Preserve -v and -x to the replacement shell. | ||
| 125 | BASH_ENV=/dev/null | ||
| 126 | ENV=/dev/null | ||
| 127 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ||
| 128 | case $- in # (((( | ||
| 129 | *v*x* | *x*v* ) as_opts=-vx ;; | ||
| 130 | *v* ) as_opts=-v ;; | ||
| 131 | *x* ) as_opts=-x ;; | ||
| 132 | * ) as_opts= ;; | ||
| 133 | esac | ||
| 134 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | ||
| 135 | # Admittedly, this is quite paranoid, since all the known shells bail | ||
| 136 | # out after a failed `exec'. | ||
| 137 | printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 | ||
| 138 | exit 255 | ||
| 139 | fi | ||
| 140 | # We don't want this to propagate to other subprocesses. | ||
| 141 | { _as_can_reexec=; unset _as_can_reexec;} | ||
| 142 | if test "x$CONFIG_SHELL" = x; then | ||
| 143 | as_bourne_compatible="as_nop=: | ||
| 144 | if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 | ||
| 145 | then : | ||
| 146 | emulate sh | ||
| 147 | NULLCMD=: | ||
| 148 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | ||
| 149 | # is contrary to our usage. Disable this feature. | ||
| 150 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | ||
| 151 | setopt NO_GLOB_SUBST | ||
| 152 | else \$as_nop | ||
| 153 | case \`(set -o) 2>/dev/null\` in #( | ||
| 154 | *posix*) : | ||
| 155 | set -o posix ;; #( | ||
| 156 | *) : | ||
| 157 | ;; | ||
| 158 | esac | ||
| 159 | fi | ||
| 160 | " | ||
| 161 | as_required="as_fn_return () { (exit \$1); } | ||
| 162 | as_fn_success () { as_fn_return 0; } | ||
| 163 | as_fn_failure () { as_fn_return 1; } | ||
| 164 | as_fn_ret_success () { return 0; } | ||
| 165 | as_fn_ret_failure () { return 1; } | ||
| 166 | |||
| 167 | exitcode=0 | ||
| 168 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } | ||
| 169 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | ||
| 170 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | ||
| 171 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | ||
| 172 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ) | ||
| 173 | then : | ||
| 174 | |||
| 175 | else \$as_nop | ||
| 176 | exitcode=1; echo positional parameters were not saved. | ||
| 177 | fi | ||
| 178 | test x\$exitcode = x0 || exit 1 | ||
| 179 | blah=\$(echo \$(echo blah)) | ||
| 180 | test x\"\$blah\" = xblah || exit 1 | ||
| 181 | test -x / || exit 1" | ||
| 182 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | ||
| 183 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | ||
| 184 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | ||
| 185 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" | ||
| 186 | if (eval "$as_required") 2>/dev/null | ||
| 187 | then : | ||
| 188 | as_have_required=yes | ||
| 189 | else $as_nop | ||
| 190 | as_have_required=no | ||
| 191 | fi | ||
| 192 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null | ||
| 193 | then : | ||
| 194 | |||
| 195 | else $as_nop | ||
| 196 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 197 | as_found=false | ||
| 198 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
| 199 | do | ||
| 200 | IFS=$as_save_IFS | ||
| 201 | case $as_dir in #((( | ||
| 202 | '') as_dir=./ ;; | ||
| 203 | */) ;; | ||
| 204 | *) as_dir=$as_dir/ ;; | ||
| 205 | esac | ||
| 206 | as_found=: | ||
| 207 | case $as_dir in #( | ||
| 208 | /*) | ||
| 209 | for as_base in sh bash ksh sh5; do | ||
| 210 | # Try only shells that exist, to save several forks. | ||
| 211 | as_shell=$as_dir$as_base | ||
| 212 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
| 213 | as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null | ||
| 214 | then : | ||
| 215 | CONFIG_SHELL=$as_shell as_have_required=yes | ||
| 216 | if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null | ||
| 217 | then : | ||
| 218 | break 2 | ||
| 219 | fi | ||
| 220 | fi | ||
| 221 | done;; | ||
| 222 | esac | ||
| 223 | as_found=false | ||
| 224 | done | ||
| 225 | IFS=$as_save_IFS | ||
| 226 | if $as_found | ||
| 227 | then : | ||
| 228 | |||
| 229 | else $as_nop | ||
| 230 | if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | ||
| 231 | as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null | ||
| 232 | then : | ||
| 233 | CONFIG_SHELL=$SHELL as_have_required=yes | ||
| 234 | fi | ||
| 235 | fi | ||
| 236 | |||
| 237 | |||
| 238 | if test "x$CONFIG_SHELL" != x | ||
| 239 | then : | ||
| 240 | export CONFIG_SHELL | ||
| 241 | # We cannot yet assume a decent shell, so we have to provide a | ||
| 242 | # neutralization value for shells without unset; and this also | ||
| 243 | # works around shells that cannot unset nonexistent variables. | ||
| 244 | # Preserve -v and -x to the replacement shell. | ||
| 245 | BASH_ENV=/dev/null | ||
| 246 | ENV=/dev/null | ||
| 247 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ||
| 248 | case $- in # (((( | ||
| 249 | *v*x* | *x*v* ) as_opts=-vx ;; | ||
| 250 | *v* ) as_opts=-v ;; | ||
| 251 | *x* ) as_opts=-x ;; | ||
| 252 | * ) as_opts= ;; | ||
| 253 | esac | ||
| 254 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | ||
| 255 | # Admittedly, this is quite paranoid, since all the known shells bail | ||
| 256 | # out after a failed `exec'. | ||
| 257 | printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 | ||
| 258 | exit 255 | ||
| 259 | fi | ||
| 260 | |||
| 261 | if test x$as_have_required = xno | ||
| 262 | then : | ||
| 263 | printf "%s\n" "$0: This script requires a shell more modern than all" | ||
| 264 | printf "%s\n" "$0: the shells that I found on your system." | ||
| 265 | if test ${ZSH_VERSION+y} ; then | ||
| 266 | printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" | ||
| 267 | printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." | ||
| 268 | else | ||
| 269 | printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and | ||
| 270 | $0: bug-gnu-emacs@gnu.org about your system, including any | ||
| 271 | $0: error possibly output before this message. Then install | ||
| 272 | $0: a modern shell, or manually run the script under such a | ||
| 273 | $0: shell if you do have one." | ||
| 274 | fi | ||
| 275 | exit 1 | ||
| 276 | fi | ||
| 277 | fi | ||
| 278 | fi | ||
| 279 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
| 280 | export SHELL | ||
| 281 | # Unset more variables known to interfere with behavior of common tools. | ||
| 282 | CLICOLOR_FORCE= GREP_OPTIONS= | ||
| 283 | unset CLICOLOR_FORCE GREP_OPTIONS | ||
| 284 | |||
| 285 | ## --------------------- ## | ||
| 286 | ## M4sh Shell Functions. ## | ||
| 287 | ## --------------------- ## | ||
| 288 | # as_fn_unset VAR | ||
| 289 | # --------------- | ||
| 290 | # Portably unset VAR. | ||
| 291 | as_fn_unset () | ||
| 292 | { | ||
| 293 | { eval $1=; unset $1;} | ||
| 294 | } | ||
| 295 | as_unset=as_fn_unset | ||
| 296 | |||
| 297 | |||
| 298 | # as_fn_set_status STATUS | ||
| 299 | # ----------------------- | ||
| 300 | # Set $? to STATUS, without forking. | ||
| 301 | as_fn_set_status () | ||
| 302 | { | ||
| 303 | return $1 | ||
| 304 | } # as_fn_set_status | ||
| 305 | |||
| 306 | # as_fn_exit STATUS | ||
| 307 | # ----------------- | ||
| 308 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | ||
| 309 | as_fn_exit () | ||
| 310 | { | ||
| 311 | set +e | ||
| 312 | as_fn_set_status $1 | ||
| 313 | exit $1 | ||
| 314 | } # as_fn_exit | ||
| 315 | # as_fn_nop | ||
| 316 | # --------- | ||
| 317 | # Do nothing but, unlike ":", preserve the value of $?. | ||
| 318 | as_fn_nop () | ||
| 319 | { | ||
| 320 | return $? | ||
| 321 | } | ||
| 322 | as_nop=as_fn_nop | ||
| 323 | |||
| 324 | # as_fn_mkdir_p | ||
| 325 | # ------------- | ||
| 326 | # Create "$as_dir" as a directory, including parents if necessary. | ||
| 327 | as_fn_mkdir_p () | ||
| 328 | { | ||
| 329 | |||
| 330 | case $as_dir in #( | ||
| 331 | -*) as_dir=./$as_dir;; | ||
| 332 | esac | ||
| 333 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
| 334 | as_dirs= | ||
| 335 | while :; do | ||
| 336 | case $as_dir in #( | ||
| 337 | *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
| 338 | *) as_qdir=$as_dir;; | ||
| 339 | esac | ||
| 340 | as_dirs="'$as_qdir' $as_dirs" | ||
| 341 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 342 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 343 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 344 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 345 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
| 346 | printf "%s\n" X"$as_dir" | | ||
| 347 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 348 | s//\1/ | ||
| 349 | q | ||
| 350 | } | ||
| 351 | /^X\(\/\/\)[^/].*/{ | ||
| 352 | s//\1/ | ||
| 353 | q | ||
| 354 | } | ||
| 355 | /^X\(\/\/\)$/{ | ||
| 356 | s//\1/ | ||
| 357 | q | ||
| 358 | } | ||
| 359 | /^X\(\/\).*/{ | ||
| 360 | s//\1/ | ||
| 361 | q | ||
| 362 | } | ||
| 363 | s/.*/./; q'` | ||
| 364 | test -d "$as_dir" && break | ||
| 365 | done | ||
| 366 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
| 367 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | ||
| 368 | |||
| 369 | |||
| 370 | } # as_fn_mkdir_p | ||
| 371 | |||
| 372 | # as_fn_executable_p FILE | ||
| 373 | # ----------------------- | ||
| 374 | # Test if FILE is an executable regular file. | ||
| 375 | as_fn_executable_p () | ||
| 376 | { | ||
| 377 | test -f "$1" && test -x "$1" | ||
| 378 | } # as_fn_executable_p | ||
| 379 | # as_fn_append VAR VALUE | ||
| 380 | # ---------------------- | ||
| 381 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
| 382 | # advantage of any shell optimizations that allow amortized linear growth over | ||
| 383 | # repeated appends, instead of the typical quadratic growth present in naive | ||
| 384 | # implementations. | ||
| 385 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null | ||
| 386 | then : | ||
| 387 | eval 'as_fn_append () | ||
| 388 | { | ||
| 389 | eval $1+=\$2 | ||
| 390 | }' | ||
| 391 | else $as_nop | ||
| 392 | as_fn_append () | ||
| 393 | { | ||
| 394 | eval $1=\$$1\$2 | ||
| 395 | } | ||
| 396 | fi # as_fn_append | ||
| 397 | |||
| 398 | # as_fn_arith ARG... | ||
| 399 | # ------------------ | ||
| 400 | # Perform arithmetic evaluation on the ARGs, and store the result in the | ||
| 401 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | ||
| 402 | # must be portable across $(()) and expr. | ||
| 403 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null | ||
| 404 | then : | ||
| 405 | eval 'as_fn_arith () | ||
| 406 | { | ||
| 407 | as_val=$(( $* )) | ||
| 408 | }' | ||
| 409 | else $as_nop | ||
| 410 | as_fn_arith () | ||
| 411 | { | ||
| 412 | as_val=`expr "$@" || test $? -eq 1` | ||
| 413 | } | ||
| 414 | fi # as_fn_arith | ||
| 415 | |||
| 416 | # as_fn_nop | ||
| 417 | # --------- | ||
| 418 | # Do nothing but, unlike ":", preserve the value of $?. | ||
| 419 | as_fn_nop () | ||
| 420 | { | ||
| 421 | return $? | ||
| 422 | } | ||
| 423 | as_nop=as_fn_nop | ||
| 424 | |||
| 425 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | ||
| 426 | # ---------------------------------------- | ||
| 427 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
| 428 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
| 429 | # script with STATUS, using 1 if that was 0. | ||
| 430 | as_fn_error () | ||
| 431 | { | ||
| 432 | as_status=$1; test $as_status -eq 0 && as_status=1 | ||
| 433 | if test "$4"; then | ||
| 434 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 435 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | ||
| 436 | fi | ||
| 437 | printf "%s\n" "$as_me: error: $2" >&2 | ||
| 438 | as_fn_exit $as_status | ||
| 439 | } # as_fn_error | ||
| 440 | |||
| 441 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
| 442 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 443 | as_expr=expr | ||
| 444 | else | ||
| 445 | as_expr=false | ||
| 446 | fi | ||
| 447 | |||
| 448 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
| 449 | as_basename=basename | ||
| 450 | else | ||
| 451 | as_basename=false | ||
| 452 | fi | ||
| 453 | |||
| 454 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
| 455 | as_dirname=dirname | ||
| 456 | else | ||
| 457 | as_dirname=false | ||
| 458 | fi | ||
| 459 | |||
| 460 | as_me=`$as_basename -- "$0" || | ||
| 461 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
| 462 | X"$0" : 'X\(//\)$' \| \ | ||
| 463 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
| 464 | printf "%s\n" X/"$0" | | ||
| 465 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
| 466 | s//\1/ | ||
| 467 | q | ||
| 468 | } | ||
| 469 | /^X\/\(\/\/\)$/{ | ||
| 470 | s//\1/ | ||
| 471 | q | ||
| 472 | } | ||
| 473 | /^X\/\(\/\).*/{ | ||
| 474 | s//\1/ | ||
| 475 | q | ||
| 476 | } | ||
| 477 | s/.*/./; q'` | ||
| 478 | |||
| 479 | # Avoid depending upon Character Ranges. | ||
| 480 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 481 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 482 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 483 | as_cr_digits='0123456789' | ||
| 484 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 485 | |||
| 486 | |||
| 487 | as_lineno_1=$LINENO as_lineno_1a=$LINENO | ||
| 488 | as_lineno_2=$LINENO as_lineno_2a=$LINENO | ||
| 489 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | ||
| 490 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | ||
| 491 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | ||
| 492 | sed -n ' | ||
| 493 | p | ||
| 494 | /[$]LINENO/= | ||
| 495 | ' <$as_myself | | ||
| 496 | sed ' | ||
| 497 | s/[$]LINENO.*/&-/ | ||
| 498 | t lineno | ||
| 499 | b | ||
| 500 | :lineno | ||
| 501 | N | ||
| 502 | :loop | ||
| 503 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | ||
| 504 | t loop | ||
| 505 | s/-\n.*// | ||
| 506 | ' >$as_me.lineno && | ||
| 507 | chmod +x "$as_me.lineno" || | ||
| 508 | { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | ||
| 509 | |||
| 510 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | ||
| 511 | # already done that, so ensure we don't try to do so again and fall | ||
| 512 | # in an infinite loop. This has already happened in practice. | ||
| 513 | _as_can_reexec=no; export _as_can_reexec | ||
| 514 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
| 515 | # (the dirname of $[0] is not the place where we might find the | ||
| 516 | # original and so on. Autoconf is especially sensitive to this). | ||
| 517 | . "./$as_me.lineno" | ||
| 518 | # Exit status is that of the last command. | ||
| 519 | exit | ||
| 520 | } | ||
| 521 | |||
| 522 | |||
| 523 | # Determine whether it's possible to make 'echo' print without a newline. | ||
| 524 | # These variables are no longer used directly by Autoconf, but are AC_SUBSTed | ||
| 525 | # for compatibility with existing Makefiles. | ||
| 526 | ECHO_C= ECHO_N= ECHO_T= | ||
| 527 | case `echo -n x` in #((((( | ||
| 528 | -n*) | ||
| 529 | case `echo 'xy\c'` in | ||
| 530 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
| 531 | xy) ECHO_C='\c';; | ||
| 532 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
| 533 | ECHO_T=' ';; | ||
| 534 | esac;; | ||
| 535 | *) | ||
| 536 | ECHO_N='-n';; | ||
| 537 | esac | ||
| 538 | |||
| 539 | # For backward compatibility with old third-party macros, we provide | ||
| 540 | # the shell variables $as_echo and $as_echo_n. New code should use | ||
| 541 | # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. | ||
| 542 | as_echo='printf %s\n' | ||
| 543 | as_echo_n='printf %s' | ||
| 544 | |||
| 545 | |||
| 546 | rm -f conf$$ conf$$.exe conf$$.file | ||
| 547 | if test -d conf$$.dir; then | ||
| 548 | rm -f conf$$.dir/conf$$.file | ||
| 549 | else | ||
| 550 | rm -f conf$$.dir | ||
| 551 | mkdir conf$$.dir 2>/dev/null | ||
| 552 | fi | ||
| 553 | if (echo >conf$$.file) 2>/dev/null; then | ||
| 554 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
| 555 | as_ln_s='ln -s' | ||
| 556 | # ... but there are two gotchas: | ||
| 557 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | ||
| 558 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | ||
| 559 | # In both cases, we have to default to `cp -pR'. | ||
| 560 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ||
| 561 | as_ln_s='cp -pR' | ||
| 562 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
| 563 | as_ln_s=ln | ||
| 564 | else | ||
| 565 | as_ln_s='cp -pR' | ||
| 566 | fi | ||
| 567 | else | ||
| 568 | as_ln_s='cp -pR' | ||
| 569 | fi | ||
| 570 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | ||
| 571 | rmdir conf$$.dir 2>/dev/null | ||
| 572 | |||
| 573 | if mkdir -p . 2>/dev/null; then | ||
| 574 | as_mkdir_p='mkdir -p "$as_dir"' | ||
| 575 | else | ||
| 576 | test -d ./-p && rmdir ./-p | ||
| 577 | as_mkdir_p=false | ||
| 578 | fi | ||
| 579 | |||
| 580 | as_test_x='test -x' | ||
| 581 | as_executable_p=as_fn_executable_p | ||
| 582 | |||
| 583 | # Sed expression to map a string onto a valid CPP name. | ||
| 584 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
| 585 | |||
| 586 | # Sed expression to map a string onto a valid variable name. | ||
| 587 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
| 588 | |||
| 589 | |||
| 590 | test -n "$DJDIR" || exec 7<&0 </dev/null | ||
| 591 | exec 6>&1 | ||
| 592 | |||
| 593 | # Name of the host. | ||
| 594 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | ||
| 595 | # so uname gets run too. | ||
| 596 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ||
| 597 | |||
| 598 | # | ||
| 599 | # Initializations. | ||
| 600 | # | ||
| 601 | ac_default_prefix=/usr/local | ||
| 602 | ac_clean_files= | ||
| 603 | ac_config_libobj_dir=. | ||
| 604 | LIBOBJS= | ||
| 605 | cross_compiling=no | ||
| 606 | subdirs= | ||
| 607 | MFLAGS= | ||
| 608 | MAKEFLAGS= | ||
| 609 | |||
| 610 | # Identity of this package. | ||
| 611 | PACKAGE_NAME='libexec' | ||
| 612 | PACKAGE_TARNAME='libexec' | ||
| 613 | PACKAGE_VERSION='30.0.50' | ||
| 614 | PACKAGE_STRING='libexec 30.0.50' | ||
| 615 | PACKAGE_BUGREPORT='bug-gnu-emacs@gnu.org' | ||
| 616 | PACKAGE_URL='https://www.gnu.org/software/emacs/' | ||
| 617 | |||
| 618 | # Factoring default headers for most tests. | ||
| 619 | ac_includes_default="\ | ||
| 620 | #include <stddef.h> | ||
| 621 | #ifdef HAVE_STDIO_H | ||
| 622 | # include <stdio.h> | ||
| 623 | #endif | ||
| 624 | #ifdef HAVE_STDLIB_H | ||
| 625 | # include <stdlib.h> | ||
| 626 | #endif | ||
| 627 | #ifdef HAVE_STRING_H | ||
| 628 | # include <string.h> | ||
| 629 | #endif | ||
| 630 | #ifdef HAVE_INTTYPES_H | ||
| 631 | # include <inttypes.h> | ||
| 632 | #endif | ||
| 633 | #ifdef HAVE_STDINT_H | ||
| 634 | # include <stdint.h> | ||
| 635 | #endif | ||
| 636 | #ifdef HAVE_STRINGS_H | ||
| 637 | # include <strings.h> | ||
| 638 | #endif | ||
| 639 | #ifdef HAVE_SYS_TYPES_H | ||
| 640 | # include <sys/types.h> | ||
| 641 | #endif | ||
| 642 | #ifdef HAVE_SYS_STAT_H | ||
| 643 | # include <sys/stat.h> | ||
| 644 | #endif | ||
| 645 | #ifdef HAVE_UNISTD_H | ||
| 646 | # include <unistd.h> | ||
| 647 | #endif" | ||
| 648 | |||
| 649 | ac_header_c_list= | ||
| 650 | ac_subst_vars='LTLIBOBJS | ||
| 651 | LIBOBJS | ||
| 652 | OBJS | ||
| 653 | MIPS_N32 | ||
| 654 | exec_loader | ||
| 655 | AUTO_DEPEND | ||
| 656 | FIND_DELETE | ||
| 657 | ASFLAGS | ||
| 658 | ARFLAGS | ||
| 659 | LOADERFLAGS | ||
| 660 | AR | ||
| 661 | LD | ||
| 662 | AS | ||
| 663 | M4 | ||
| 664 | host_os | ||
| 665 | host_vendor | ||
| 666 | host_cpu | ||
| 667 | host | ||
| 668 | build_os | ||
| 669 | build_vendor | ||
| 670 | build_cpu | ||
| 671 | build | ||
| 672 | INSTALL_DATA | ||
| 673 | INSTALL_SCRIPT | ||
| 674 | INSTALL_PROGRAM | ||
| 675 | CPP | ||
| 676 | OBJEXT | ||
| 677 | EXEEXT | ||
| 678 | ac_ct_CC | ||
| 679 | CPPFLAGS | ||
| 680 | LDFLAGS | ||
| 681 | CFLAGS | ||
| 682 | CC | ||
| 683 | target_alias | ||
| 684 | host_alias | ||
| 685 | build_alias | ||
| 686 | LIBS | ||
| 687 | ECHO_T | ||
| 688 | ECHO_N | ||
| 689 | ECHO_C | ||
| 690 | DEFS | ||
| 691 | mandir | ||
| 692 | localedir | ||
| 693 | libdir | ||
| 694 | psdir | ||
| 695 | pdfdir | ||
| 696 | dvidir | ||
| 697 | htmldir | ||
| 698 | infodir | ||
| 699 | docdir | ||
| 700 | oldincludedir | ||
| 701 | includedir | ||
| 702 | runstatedir | ||
| 703 | localstatedir | ||
| 704 | sharedstatedir | ||
| 705 | sysconfdir | ||
| 706 | datadir | ||
| 707 | datarootdir | ||
| 708 | libexecdir | ||
| 709 | sbindir | ||
| 710 | bindir | ||
| 711 | program_transform_name | ||
| 712 | prefix | ||
| 713 | exec_prefix | ||
| 714 | PACKAGE_URL | ||
| 715 | PACKAGE_BUGREPORT | ||
| 716 | PACKAGE_STRING | ||
| 717 | PACKAGE_VERSION | ||
| 718 | PACKAGE_TARNAME | ||
| 719 | PACKAGE_NAME | ||
| 720 | PATH_SEPARATOR | ||
| 721 | SHELL' | ||
| 722 | ac_subst_files='' | ||
| 723 | ac_user_opts=' | ||
| 724 | enable_option_checking | ||
| 725 | ' | ||
| 726 | ac_precious_vars='build_alias | ||
| 727 | host_alias | ||
| 728 | target_alias | ||
| 729 | CC | ||
| 730 | CFLAGS | ||
| 731 | LDFLAGS | ||
| 732 | LIBS | ||
| 733 | CPPFLAGS | ||
| 734 | CPP | ||
| 735 | M4 | ||
| 736 | AS | ||
| 737 | LD | ||
| 738 | LOADERFLAGS | ||
| 739 | ARFLAGS | ||
| 740 | ASFLAGS' | ||
| 741 | |||
| 742 | |||
| 743 | # Initialize some variables set by options. | ||
| 744 | ac_init_help= | ||
| 745 | ac_init_version=false | ||
| 746 | ac_unrecognized_opts= | ||
| 747 | ac_unrecognized_sep= | ||
| 748 | # The variables have the same names as the options, with | ||
| 749 | # dashes changed to underlines. | ||
| 750 | cache_file=/dev/null | ||
| 751 | exec_prefix=NONE | ||
| 752 | no_create= | ||
| 753 | no_recursion= | ||
| 754 | prefix=NONE | ||
| 755 | program_prefix=NONE | ||
| 756 | program_suffix=NONE | ||
| 757 | program_transform_name=s,x,x, | ||
| 758 | silent= | ||
| 759 | site= | ||
| 760 | srcdir= | ||
| 761 | verbose= | ||
| 762 | x_includes=NONE | ||
| 763 | x_libraries=NONE | ||
| 764 | |||
| 765 | # Installation directory options. | ||
| 766 | # These are left unexpanded so users can "make install exec_prefix=/foo" | ||
| 767 | # and all the variables that are supposed to be based on exec_prefix | ||
| 768 | # by default will actually change. | ||
| 769 | # Use braces instead of parens because sh, perl, etc. also accept them. | ||
| 770 | # (The list follows the same order as the GNU Coding Standards.) | ||
| 771 | bindir='${exec_prefix}/bin' | ||
| 772 | sbindir='${exec_prefix}/sbin' | ||
| 773 | libexecdir='${exec_prefix}/libexec' | ||
| 774 | datarootdir='${prefix}/share' | ||
| 775 | datadir='${datarootdir}' | ||
| 776 | sysconfdir='${prefix}/etc' | ||
| 777 | sharedstatedir='${prefix}/com' | ||
| 778 | localstatedir='${prefix}/var' | ||
| 779 | runstatedir='${localstatedir}/run' | ||
| 780 | includedir='${prefix}/include' | ||
| 781 | oldincludedir='/usr/include' | ||
| 782 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | ||
| 783 | infodir='${datarootdir}/info' | ||
| 784 | htmldir='${docdir}' | ||
| 785 | dvidir='${docdir}' | ||
| 786 | pdfdir='${docdir}' | ||
| 787 | psdir='${docdir}' | ||
| 788 | libdir='${exec_prefix}/lib' | ||
| 789 | localedir='${datarootdir}/locale' | ||
| 790 | mandir='${datarootdir}/man' | ||
| 791 | |||
| 792 | ac_prev= | ||
| 793 | ac_dashdash= | ||
| 794 | for ac_option | ||
| 795 | do | ||
| 796 | # If the previous option needs an argument, assign it. | ||
| 797 | if test -n "$ac_prev"; then | ||
| 798 | eval $ac_prev=\$ac_option | ||
| 799 | ac_prev= | ||
| 800 | continue | ||
| 801 | fi | ||
| 802 | |||
| 803 | case $ac_option in | ||
| 804 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | ||
| 805 | *=) ac_optarg= ;; | ||
| 806 | *) ac_optarg=yes ;; | ||
| 807 | esac | ||
| 808 | |||
| 809 | case $ac_dashdash$ac_option in | ||
| 810 | --) | ||
| 811 | ac_dashdash=yes ;; | ||
| 812 | |||
| 813 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | ||
| 814 | ac_prev=bindir ;; | ||
| 815 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | ||
| 816 | bindir=$ac_optarg ;; | ||
| 817 | |||
| 818 | -build | --build | --buil | --bui | --bu) | ||
| 819 | ac_prev=build_alias ;; | ||
| 820 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | ||
| 821 | build_alias=$ac_optarg ;; | ||
| 822 | |||
| 823 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | ||
| 824 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | ||
| 825 | ac_prev=cache_file ;; | ||
| 826 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | ||
| 827 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | ||
| 828 | cache_file=$ac_optarg ;; | ||
| 829 | |||
| 830 | --config-cache | -C) | ||
| 831 | cache_file=config.cache ;; | ||
| 832 | |||
| 833 | -datadir | --datadir | --datadi | --datad) | ||
| 834 | ac_prev=datadir ;; | ||
| 835 | -datadir=* | --datadir=* | --datadi=* | --datad=*) | ||
| 836 | datadir=$ac_optarg ;; | ||
| 837 | |||
| 838 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | ||
| 839 | | --dataroo | --dataro | --datar) | ||
| 840 | ac_prev=datarootdir ;; | ||
| 841 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | ||
| 842 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | ||
| 843 | datarootdir=$ac_optarg ;; | ||
| 844 | |||
| 845 | -disable-* | --disable-*) | ||
| 846 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | ||
| 847 | # Reject names that are not valid shell variable names. | ||
| 848 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
| 849 | as_fn_error $? "invalid feature name: \`$ac_useropt'" | ||
| 850 | ac_useropt_orig=$ac_useropt | ||
| 851 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
| 852 | case $ac_user_opts in | ||
| 853 | *" | ||
| 854 | "enable_$ac_useropt" | ||
| 855 | "*) ;; | ||
| 856 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | ||
| 857 | ac_unrecognized_sep=', ';; | ||
| 858 | esac | ||
| 859 | eval enable_$ac_useropt=no ;; | ||
| 860 | |||
| 861 | -docdir | --docdir | --docdi | --doc | --do) | ||
| 862 | ac_prev=docdir ;; | ||
| 863 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | ||
| 864 | docdir=$ac_optarg ;; | ||
| 865 | |||
| 866 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | ||
| 867 | ac_prev=dvidir ;; | ||
| 868 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | ||
| 869 | dvidir=$ac_optarg ;; | ||
| 870 | |||
| 871 | -enable-* | --enable-*) | ||
| 872 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | ||
| 873 | # Reject names that are not valid shell variable names. | ||
| 874 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
| 875 | as_fn_error $? "invalid feature name: \`$ac_useropt'" | ||
| 876 | ac_useropt_orig=$ac_useropt | ||
| 877 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
| 878 | case $ac_user_opts in | ||
| 879 | *" | ||
| 880 | "enable_$ac_useropt" | ||
| 881 | "*) ;; | ||
| 882 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | ||
| 883 | ac_unrecognized_sep=', ';; | ||
| 884 | esac | ||
| 885 | eval enable_$ac_useropt=\$ac_optarg ;; | ||
| 886 | |||
| 887 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | ||
| 888 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | ||
| 889 | | --exec | --exe | --ex) | ||
| 890 | ac_prev=exec_prefix ;; | ||
| 891 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | ||
| 892 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | ||
| 893 | | --exec=* | --exe=* | --ex=*) | ||
| 894 | exec_prefix=$ac_optarg ;; | ||
| 895 | |||
| 896 | -gas | --gas | --ga | --g) | ||
| 897 | # Obsolete; use --with-gas. | ||
| 898 | with_gas=yes ;; | ||
| 899 | |||
| 900 | -help | --help | --hel | --he | -h) | ||
| 901 | ac_init_help=long ;; | ||
| 902 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | ||
| 903 | ac_init_help=recursive ;; | ||
| 904 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | ||
| 905 | ac_init_help=short ;; | ||
| 906 | |||
| 907 | -host | --host | --hos | --ho) | ||
| 908 | ac_prev=host_alias ;; | ||
| 909 | -host=* | --host=* | --hos=* | --ho=*) | ||
| 910 | host_alias=$ac_optarg ;; | ||
| 911 | |||
| 912 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | ||
| 913 | ac_prev=htmldir ;; | ||
| 914 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | ||
| 915 | | --ht=*) | ||
| 916 | htmldir=$ac_optarg ;; | ||
| 917 | |||
| 918 | -includedir | --includedir | --includedi | --included | --include \ | ||
| 919 | | --includ | --inclu | --incl | --inc) | ||
| 920 | ac_prev=includedir ;; | ||
| 921 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | ||
| 922 | | --includ=* | --inclu=* | --incl=* | --inc=*) | ||
| 923 | includedir=$ac_optarg ;; | ||
| 924 | |||
| 925 | -infodir | --infodir | --infodi | --infod | --info | --inf) | ||
| 926 | ac_prev=infodir ;; | ||
| 927 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | ||
| 928 | infodir=$ac_optarg ;; | ||
| 929 | |||
| 930 | -libdir | --libdir | --libdi | --libd) | ||
| 931 | ac_prev=libdir ;; | ||
| 932 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | ||
| 933 | libdir=$ac_optarg ;; | ||
| 934 | |||
| 935 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | ||
| 936 | | --libexe | --libex | --libe) | ||
| 937 | ac_prev=libexecdir ;; | ||
| 938 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | ||
| 939 | | --libexe=* | --libex=* | --libe=*) | ||
| 940 | libexecdir=$ac_optarg ;; | ||
| 941 | |||
| 942 | -localedir | --localedir | --localedi | --localed | --locale) | ||
| 943 | ac_prev=localedir ;; | ||
| 944 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | ||
| 945 | localedir=$ac_optarg ;; | ||
| 946 | |||
| 947 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | ||
| 948 | | --localstate | --localstat | --localsta | --localst | --locals) | ||
| 949 | ac_prev=localstatedir ;; | ||
| 950 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | ||
| 951 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | ||
| 952 | localstatedir=$ac_optarg ;; | ||
| 953 | |||
| 954 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | ||
| 955 | ac_prev=mandir ;; | ||
| 956 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | ||
| 957 | mandir=$ac_optarg ;; | ||
| 958 | |||
| 959 | -nfp | --nfp | --nf) | ||
| 960 | # Obsolete; use --without-fp. | ||
| 961 | with_fp=no ;; | ||
| 962 | |||
| 963 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | ||
| 964 | | --no-cr | --no-c | -n) | ||
| 965 | no_create=yes ;; | ||
| 966 | |||
| 967 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | ||
| 968 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | ||
| 969 | no_recursion=yes ;; | ||
| 970 | |||
| 971 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | ||
| 972 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | ||
| 973 | | --oldin | --oldi | --old | --ol | --o) | ||
| 974 | ac_prev=oldincludedir ;; | ||
| 975 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | ||
| 976 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | ||
| 977 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | ||
| 978 | oldincludedir=$ac_optarg ;; | ||
| 979 | |||
| 980 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | ||
| 981 | ac_prev=prefix ;; | ||
| 982 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | ||
| 983 | prefix=$ac_optarg ;; | ||
| 984 | |||
| 985 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | ||
| 986 | | --program-pre | --program-pr | --program-p) | ||
| 987 | ac_prev=program_prefix ;; | ||
| 988 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | ||
| 989 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | ||
| 990 | program_prefix=$ac_optarg ;; | ||
| 991 | |||
| 992 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | ||
| 993 | | --program-suf | --program-su | --program-s) | ||
| 994 | ac_prev=program_suffix ;; | ||
| 995 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | ||
| 996 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | ||
| 997 | program_suffix=$ac_optarg ;; | ||
| 998 | |||
| 999 | -program-transform-name | --program-transform-name \ | ||
| 1000 | | --program-transform-nam | --program-transform-na \ | ||
| 1001 | | --program-transform-n | --program-transform- \ | ||
| 1002 | | --program-transform | --program-transfor \ | ||
| 1003 | | --program-transfo | --program-transf \ | ||
| 1004 | | --program-trans | --program-tran \ | ||
| 1005 | | --progr-tra | --program-tr | --program-t) | ||
| 1006 | ac_prev=program_transform_name ;; | ||
| 1007 | -program-transform-name=* | --program-transform-name=* \ | ||
| 1008 | | --program-transform-nam=* | --program-transform-na=* \ | ||
| 1009 | | --program-transform-n=* | --program-transform-=* \ | ||
| 1010 | | --program-transform=* | --program-transfor=* \ | ||
| 1011 | | --program-transfo=* | --program-transf=* \ | ||
| 1012 | | --program-trans=* | --program-tran=* \ | ||
| 1013 | | --progr-tra=* | --program-tr=* | --program-t=*) | ||
| 1014 | program_transform_name=$ac_optarg ;; | ||
| 1015 | |||
| 1016 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | ||
| 1017 | ac_prev=pdfdir ;; | ||
| 1018 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | ||
| 1019 | pdfdir=$ac_optarg ;; | ||
| 1020 | |||
| 1021 | -psdir | --psdir | --psdi | --psd | --ps) | ||
| 1022 | ac_prev=psdir ;; | ||
| 1023 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | ||
| 1024 | psdir=$ac_optarg ;; | ||
| 1025 | |||
| 1026 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
| 1027 | | -silent | --silent | --silen | --sile | --sil) | ||
| 1028 | silent=yes ;; | ||
| 1029 | |||
| 1030 | -runstatedir | --runstatedir | --runstatedi | --runstated \ | ||
| 1031 | | --runstate | --runstat | --runsta | --runst | --runs \ | ||
| 1032 | | --run | --ru | --r) | ||
| 1033 | ac_prev=runstatedir ;; | ||
| 1034 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | ||
| 1035 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | ||
| 1036 | | --run=* | --ru=* | --r=*) | ||
| 1037 | runstatedir=$ac_optarg ;; | ||
| 1038 | |||
| 1039 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | ||
| 1040 | ac_prev=sbindir ;; | ||
| 1041 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | ||
| 1042 | | --sbi=* | --sb=*) | ||
| 1043 | sbindir=$ac_optarg ;; | ||
| 1044 | |||
| 1045 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | ||
| 1046 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | ||
| 1047 | | --sharedst | --shareds | --shared | --share | --shar \ | ||
| 1048 | | --sha | --sh) | ||
| 1049 | ac_prev=sharedstatedir ;; | ||
| 1050 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | ||
| 1051 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | ||
| 1052 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | ||
| 1053 | | --sha=* | --sh=*) | ||
| 1054 | sharedstatedir=$ac_optarg ;; | ||
| 1055 | |||
| 1056 | -site | --site | --sit) | ||
| 1057 | ac_prev=site ;; | ||
| 1058 | -site=* | --site=* | --sit=*) | ||
| 1059 | site=$ac_optarg ;; | ||
| 1060 | |||
| 1061 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | ||
| 1062 | ac_prev=srcdir ;; | ||
| 1063 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | ||
| 1064 | srcdir=$ac_optarg ;; | ||
| 1065 | |||
| 1066 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | ||
| 1067 | | --syscon | --sysco | --sysc | --sys | --sy) | ||
| 1068 | ac_prev=sysconfdir ;; | ||
| 1069 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | ||
| 1070 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | ||
| 1071 | sysconfdir=$ac_optarg ;; | ||
| 1072 | |||
| 1073 | -target | --target | --targe | --targ | --tar | --ta | --t) | ||
| 1074 | ac_prev=target_alias ;; | ||
| 1075 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | ||
| 1076 | target_alias=$ac_optarg ;; | ||
| 1077 | |||
| 1078 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | ||
| 1079 | verbose=yes ;; | ||
| 1080 | |||
| 1081 | -version | --version | --versio | --versi | --vers | -V) | ||
| 1082 | ac_init_version=: ;; | ||
| 1083 | |||
| 1084 | -with-* | --with-*) | ||
| 1085 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | ||
| 1086 | # Reject names that are not valid shell variable names. | ||
| 1087 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
| 1088 | as_fn_error $? "invalid package name: \`$ac_useropt'" | ||
| 1089 | ac_useropt_orig=$ac_useropt | ||
| 1090 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
| 1091 | case $ac_user_opts in | ||
| 1092 | *" | ||
| 1093 | "with_$ac_useropt" | ||
| 1094 | "*) ;; | ||
| 1095 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | ||
| 1096 | ac_unrecognized_sep=', ';; | ||
| 1097 | esac | ||
| 1098 | eval with_$ac_useropt=\$ac_optarg ;; | ||
| 1099 | |||
| 1100 | -without-* | --without-*) | ||
| 1101 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | ||
| 1102 | # Reject names that are not valid shell variable names. | ||
| 1103 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
| 1104 | as_fn_error $? "invalid package name: \`$ac_useropt'" | ||
| 1105 | ac_useropt_orig=$ac_useropt | ||
| 1106 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
| 1107 | case $ac_user_opts in | ||
| 1108 | *" | ||
| 1109 | "with_$ac_useropt" | ||
| 1110 | "*) ;; | ||
| 1111 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | ||
| 1112 | ac_unrecognized_sep=', ';; | ||
| 1113 | esac | ||
| 1114 | eval with_$ac_useropt=no ;; | ||
| 1115 | |||
| 1116 | --x) | ||
| 1117 | # Obsolete; use --with-x. | ||
| 1118 | with_x=yes ;; | ||
| 1119 | |||
| 1120 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | ||
| 1121 | | --x-incl | --x-inc | --x-in | --x-i) | ||
| 1122 | ac_prev=x_includes ;; | ||
| 1123 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | ||
| 1124 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | ||
| 1125 | x_includes=$ac_optarg ;; | ||
| 1126 | |||
| 1127 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | ||
| 1128 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | ||
| 1129 | ac_prev=x_libraries ;; | ||
| 1130 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | ||
| 1131 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | ||
| 1132 | x_libraries=$ac_optarg ;; | ||
| 1133 | |||
| 1134 | -*) as_fn_error $? "unrecognized option: \`$ac_option' | ||
| 1135 | Try \`$0 --help' for more information" | ||
| 1136 | ;; | ||
| 1137 | |||
| 1138 | *=*) | ||
| 1139 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | ||
| 1140 | # Reject names that are not valid shell variable names. | ||
| 1141 | case $ac_envvar in #( | ||
| 1142 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | ||
| 1143 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | ||
| 1144 | esac | ||
| 1145 | eval $ac_envvar=\$ac_optarg | ||
| 1146 | export $ac_envvar ;; | ||
| 1147 | |||
| 1148 | *) | ||
| 1149 | # FIXME: should be removed in autoconf 3.0. | ||
| 1150 | printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 | ||
| 1151 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | ||
| 1152 | printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 | ||
| 1153 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | ||
| 1154 | ;; | ||
| 1155 | |||
| 1156 | esac | ||
| 1157 | done | ||
| 1158 | |||
| 1159 | if test -n "$ac_prev"; then | ||
| 1160 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | ||
| 1161 | as_fn_error $? "missing argument to $ac_option" | ||
| 1162 | fi | ||
| 1163 | |||
| 1164 | if test -n "$ac_unrecognized_opts"; then | ||
| 1165 | case $enable_option_checking in | ||
| 1166 | no) ;; | ||
| 1167 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | ||
| 1168 | *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | ||
| 1169 | esac | ||
| 1170 | fi | ||
| 1171 | |||
| 1172 | # Check all directory arguments for consistency. | ||
| 1173 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | ||
| 1174 | datadir sysconfdir sharedstatedir localstatedir includedir \ | ||
| 1175 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | ||
| 1176 | libdir localedir mandir runstatedir | ||
| 1177 | do | ||
| 1178 | eval ac_val=\$$ac_var | ||
| 1179 | # Remove trailing slashes. | ||
| 1180 | case $ac_val in | ||
| 1181 | */ ) | ||
| 1182 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | ||
| 1183 | eval $ac_var=\$ac_val;; | ||
| 1184 | esac | ||
| 1185 | # Be sure to have absolute directory names. | ||
| 1186 | case $ac_val in | ||
| 1187 | [\\/$]* | ?:[\\/]* ) continue;; | ||
| 1188 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | ||
| 1189 | esac | ||
| 1190 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | ||
| 1191 | done | ||
| 1192 | |||
| 1193 | # There might be people who depend on the old broken behavior: `$host' | ||
| 1194 | # used to hold the argument of --host etc. | ||
| 1195 | # FIXME: To remove some day. | ||
| 1196 | build=$build_alias | ||
| 1197 | host=$host_alias | ||
| 1198 | target=$target_alias | ||
| 1199 | |||
| 1200 | # FIXME: To remove some day. | ||
| 1201 | if test "x$host_alias" != x; then | ||
| 1202 | if test "x$build_alias" = x; then | ||
| 1203 | cross_compiling=maybe | ||
| 1204 | elif test "x$build_alias" != "x$host_alias"; then | ||
| 1205 | cross_compiling=yes | ||
| 1206 | fi | ||
| 1207 | fi | ||
| 1208 | |||
| 1209 | ac_tool_prefix= | ||
| 1210 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
| 1211 | |||
| 1212 | test "$silent" = yes && exec 6>/dev/null | ||
| 1213 | |||
| 1214 | |||
| 1215 | ac_pwd=`pwd` && test -n "$ac_pwd" && | ||
| 1216 | ac_ls_di=`ls -di .` && | ||
| 1217 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | ||
| 1218 | as_fn_error $? "working directory cannot be determined" | ||
| 1219 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | ||
| 1220 | as_fn_error $? "pwd does not report name of working directory" | ||
| 1221 | |||
| 1222 | |||
| 1223 | # Find the source files, if location was not specified. | ||
| 1224 | if test -z "$srcdir"; then | ||
| 1225 | ac_srcdir_defaulted=yes | ||
| 1226 | # Try the directory containing this script, then the parent directory. | ||
| 1227 | ac_confdir=`$as_dirname -- "$as_myself" || | ||
| 1228 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 1229 | X"$as_myself" : 'X\(//\)[^/]' \| \ | ||
| 1230 | X"$as_myself" : 'X\(//\)$' \| \ | ||
| 1231 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | ||
| 1232 | printf "%s\n" X"$as_myself" | | ||
| 1233 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 1234 | s//\1/ | ||
| 1235 | q | ||
| 1236 | } | ||
| 1237 | /^X\(\/\/\)[^/].*/{ | ||
| 1238 | s//\1/ | ||
| 1239 | q | ||
| 1240 | } | ||
| 1241 | /^X\(\/\/\)$/{ | ||
| 1242 | s//\1/ | ||
| 1243 | q | ||
| 1244 | } | ||
| 1245 | /^X\(\/\).*/{ | ||
| 1246 | s//\1/ | ||
| 1247 | q | ||
| 1248 | } | ||
| 1249 | s/.*/./; q'` | ||
| 1250 | srcdir=$ac_confdir | ||
| 1251 | if test ! -r "$srcdir/$ac_unique_file"; then | ||
| 1252 | srcdir=.. | ||
| 1253 | fi | ||
| 1254 | else | ||
| 1255 | ac_srcdir_defaulted=no | ||
| 1256 | fi | ||
| 1257 | if test ! -r "$srcdir/$ac_unique_file"; then | ||
| 1258 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | ||
| 1259 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | ||
| 1260 | fi | ||
| 1261 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | ||
| 1262 | ac_abs_confdir=`( | ||
| 1263 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | ||
| 1264 | pwd)` | ||
| 1265 | # When building in place, set srcdir=. | ||
| 1266 | if test "$ac_abs_confdir" = "$ac_pwd"; then | ||
| 1267 | srcdir=. | ||
| 1268 | fi | ||
| 1269 | # Remove unnecessary trailing slashes from srcdir. | ||
| 1270 | # Double slashes in file names in object file debugging info | ||
| 1271 | # mess up M-x gdb in Emacs. | ||
| 1272 | case $srcdir in | ||
| 1273 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | ||
| 1274 | esac | ||
| 1275 | for ac_var in $ac_precious_vars; do | ||
| 1276 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | ||
| 1277 | eval ac_env_${ac_var}_value=\$${ac_var} | ||
| 1278 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | ||
| 1279 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | ||
| 1280 | done | ||
| 1281 | |||
| 1282 | # | ||
| 1283 | # Report the --help message. | ||
| 1284 | # | ||
| 1285 | if test "$ac_init_help" = "long"; then | ||
| 1286 | # Omit some internal or obsolete options to make the list less imposing. | ||
| 1287 | # This message is too long to be a string in the A/UX 3.1 sh. | ||
| 1288 | cat <<_ACEOF | ||
| 1289 | \`configure' configures libexec 30.0.50 to adapt to many kinds of systems. | ||
| 1290 | |||
| 1291 | Usage: $0 [OPTION]... [VAR=VALUE]... | ||
| 1292 | |||
| 1293 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | ||
| 1294 | VAR=VALUE. See below for descriptions of some of the useful variables. | ||
| 1295 | |||
| 1296 | Defaults for the options are specified in brackets. | ||
| 1297 | |||
| 1298 | Configuration: | ||
| 1299 | -h, --help display this help and exit | ||
| 1300 | --help=short display options specific to this package | ||
| 1301 | --help=recursive display the short help of all the included packages | ||
| 1302 | -V, --version display version information and exit | ||
| 1303 | -q, --quiet, --silent do not print \`checking ...' messages | ||
| 1304 | --cache-file=FILE cache test results in FILE [disabled] | ||
| 1305 | -C, --config-cache alias for \`--cache-file=config.cache' | ||
| 1306 | -n, --no-create do not create output files | ||
| 1307 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | ||
| 1308 | |||
| 1309 | Installation directories: | ||
| 1310 | --prefix=PREFIX install architecture-independent files in PREFIX | ||
| 1311 | [$ac_default_prefix] | ||
| 1312 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | ||
| 1313 | [PREFIX] | ||
| 1314 | |||
| 1315 | By default, \`make install' will install all the files in | ||
| 1316 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
| 1317 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
| 1318 | for instance \`--prefix=\$HOME'. | ||
| 1319 | |||
| 1320 | For better control, use the options below. | ||
| 1321 | |||
| 1322 | Fine tuning of the installation directories: | ||
| 1323 | --bindir=DIR user executables [EPREFIX/bin] | ||
| 1324 | --sbindir=DIR system admin executables [EPREFIX/sbin] | ||
| 1325 | --libexecdir=DIR program executables [EPREFIX/libexec] | ||
| 1326 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | ||
| 1327 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | ||
| 1328 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | ||
| 1329 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] | ||
| 1330 | --libdir=DIR object code libraries [EPREFIX/lib] | ||
| 1331 | --includedir=DIR C header files [PREFIX/include] | ||
| 1332 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | ||
| 1333 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | ||
| 1334 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | ||
| 1335 | --infodir=DIR info documentation [DATAROOTDIR/info] | ||
| 1336 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | ||
| 1337 | --mandir=DIR man documentation [DATAROOTDIR/man] | ||
| 1338 | --docdir=DIR documentation root [DATAROOTDIR/doc/libexec] | ||
| 1339 | --htmldir=DIR html documentation [DOCDIR] | ||
| 1340 | --dvidir=DIR dvi documentation [DOCDIR] | ||
| 1341 | --pdfdir=DIR pdf documentation [DOCDIR] | ||
| 1342 | --psdir=DIR ps documentation [DOCDIR] | ||
| 1343 | _ACEOF | ||
| 1344 | |||
| 1345 | cat <<\_ACEOF | ||
| 1346 | |||
| 1347 | System types: | ||
| 1348 | --build=BUILD configure for building on BUILD [guessed] | ||
| 1349 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | ||
| 1350 | _ACEOF | ||
| 1351 | fi | ||
| 1352 | |||
| 1353 | if test -n "$ac_init_help"; then | ||
| 1354 | case $ac_init_help in | ||
| 1355 | short | recursive ) echo "Configuration of libexec 30.0.50:";; | ||
| 1356 | esac | ||
| 1357 | cat <<\_ACEOF | ||
| 1358 | |||
| 1359 | Some influential environment variables: | ||
| 1360 | CC C compiler command | ||
| 1361 | CFLAGS C compiler flags | ||
| 1362 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | ||
| 1363 | nonstandard directory <lib dir> | ||
| 1364 | LIBS libraries to pass to the linker, e.g. -l<library> | ||
| 1365 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | ||
| 1366 | you have headers in a nonstandard directory <include dir> | ||
| 1367 | CPP C preprocessor | ||
| 1368 | M4 `m4' preprocessor command. | ||
| 1369 | AS `as' assembler command. | ||
| 1370 | LD `ld' linker command. | ||
| 1371 | LOADERFLAGS Flags used to link the loader. | ||
| 1372 | ARFLAGS Flags for the archiver. | ||
| 1373 | ASFLAGS Flags for the assembler. | ||
| 1374 | |||
| 1375 | Use these variables to override the choices made by `configure' or to help | ||
| 1376 | it to find libraries and programs with nonstandard names/locations. | ||
| 1377 | |||
| 1378 | Report bugs to <bug-gnu-emacs@gnu.org>. | ||
| 1379 | libexec home page: <https://www.gnu.org/software/emacs/>. | ||
| 1380 | _ACEOF | ||
| 1381 | ac_status=$? | ||
| 1382 | fi | ||
| 1383 | |||
| 1384 | if test "$ac_init_help" = "recursive"; then | ||
| 1385 | # If there are subdirs, report their specific --help. | ||
| 1386 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | ||
| 1387 | test -d "$ac_dir" || | ||
| 1388 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | ||
| 1389 | continue | ||
| 1390 | ac_builddir=. | ||
| 1391 | |||
| 1392 | case "$ac_dir" in | ||
| 1393 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
| 1394 | *) | ||
| 1395 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` | ||
| 1396 | # A ".." for each directory in $ac_dir_suffix. | ||
| 1397 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | ||
| 1398 | case $ac_top_builddir_sub in | ||
| 1399 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
| 1400 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | ||
| 1401 | esac ;; | ||
| 1402 | esac | ||
| 1403 | ac_abs_top_builddir=$ac_pwd | ||
| 1404 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
| 1405 | # for backward compatibility: | ||
| 1406 | ac_top_builddir=$ac_top_build_prefix | ||
| 1407 | |||
| 1408 | case $srcdir in | ||
| 1409 | .) # We are building in place. | ||
| 1410 | ac_srcdir=. | ||
| 1411 | ac_top_srcdir=$ac_top_builddir_sub | ||
| 1412 | ac_abs_top_srcdir=$ac_pwd ;; | ||
| 1413 | [\\/]* | ?:[\\/]* ) # Absolute name. | ||
| 1414 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
| 1415 | ac_top_srcdir=$srcdir | ||
| 1416 | ac_abs_top_srcdir=$srcdir ;; | ||
| 1417 | *) # Relative name. | ||
| 1418 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | ||
| 1419 | ac_top_srcdir=$ac_top_build_prefix$srcdir | ||
| 1420 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | ||
| 1421 | esac | ||
| 1422 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | ||
| 1423 | |||
| 1424 | cd "$ac_dir" || { ac_status=$?; continue; } | ||
| 1425 | # Check for configure.gnu first; this name is used for a wrapper for | ||
| 1426 | # Metaconfig's "Configure" on case-insensitive file systems. | ||
| 1427 | if test -f "$ac_srcdir/configure.gnu"; then | ||
| 1428 | echo && | ||
| 1429 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | ||
| 1430 | elif test -f "$ac_srcdir/configure"; then | ||
| 1431 | echo && | ||
| 1432 | $SHELL "$ac_srcdir/configure" --help=recursive | ||
| 1433 | else | ||
| 1434 | printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | ||
| 1435 | fi || ac_status=$? | ||
| 1436 | cd "$ac_pwd" || { ac_status=$?; break; } | ||
| 1437 | done | ||
| 1438 | fi | ||
| 1439 | |||
| 1440 | test -n "$ac_init_help" && exit $ac_status | ||
| 1441 | if $ac_init_version; then | ||
| 1442 | cat <<\_ACEOF | ||
| 1443 | libexec configure 30.0.50 | ||
| 1444 | generated by GNU Autoconf 2.71 | ||
| 1445 | |||
| 1446 | Copyright (C) 2021 Free Software Foundation, Inc. | ||
| 1447 | This configure script is free software; the Free Software Foundation | ||
| 1448 | gives unlimited permission to copy, distribute and modify it. | ||
| 1449 | _ACEOF | ||
| 1450 | exit | ||
| 1451 | fi | ||
| 1452 | |||
| 1453 | ## ------------------------ ## | ||
| 1454 | ## Autoconf initialization. ## | ||
| 1455 | ## ------------------------ ## | ||
| 1456 | |||
| 1457 | # ac_fn_c_try_compile LINENO | ||
| 1458 | # -------------------------- | ||
| 1459 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | ||
| 1460 | ac_fn_c_try_compile () | ||
| 1461 | { | ||
| 1462 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1463 | rm -f conftest.$ac_objext conftest.beam | ||
| 1464 | if { { ac_try="$ac_compile" | ||
| 1465 | case "(($ac_try" in | ||
| 1466 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1467 | *) ac_try_echo=$ac_try;; | ||
| 1468 | esac | ||
| 1469 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1470 | printf "%s\n" "$ac_try_echo"; } >&5 | ||
| 1471 | (eval "$ac_compile") 2>conftest.err | ||
| 1472 | ac_status=$? | ||
| 1473 | if test -s conftest.err; then | ||
| 1474 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1475 | cat conftest.er1 >&5 | ||
| 1476 | mv -f conftest.er1 conftest.err | ||
| 1477 | fi | ||
| 1478 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1479 | test $ac_status = 0; } && { | ||
| 1480 | test -z "$ac_c_werror_flag" || | ||
| 1481 | test ! -s conftest.err | ||
| 1482 | } && test -s conftest.$ac_objext | ||
| 1483 | then : | ||
| 1484 | ac_retval=0 | ||
| 1485 | else $as_nop | ||
| 1486 | printf "%s\n" "$as_me: failed program was:" >&5 | ||
| 1487 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1488 | |||
| 1489 | ac_retval=1 | ||
| 1490 | fi | ||
| 1491 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1492 | as_fn_set_status $ac_retval | ||
| 1493 | |||
| 1494 | } # ac_fn_c_try_compile | ||
| 1495 | |||
| 1496 | # ac_fn_c_try_cpp LINENO | ||
| 1497 | # ---------------------- | ||
| 1498 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | ||
| 1499 | ac_fn_c_try_cpp () | ||
| 1500 | { | ||
| 1501 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1502 | if { { ac_try="$ac_cpp conftest.$ac_ext" | ||
| 1503 | case "(($ac_try" in | ||
| 1504 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1505 | *) ac_try_echo=$ac_try;; | ||
| 1506 | esac | ||
| 1507 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1508 | printf "%s\n" "$ac_try_echo"; } >&5 | ||
| 1509 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | ||
| 1510 | ac_status=$? | ||
| 1511 | if test -s conftest.err; then | ||
| 1512 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1513 | cat conftest.er1 >&5 | ||
| 1514 | mv -f conftest.er1 conftest.err | ||
| 1515 | fi | ||
| 1516 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1517 | test $ac_status = 0; } > conftest.i && { | ||
| 1518 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 1519 | test ! -s conftest.err | ||
| 1520 | } | ||
| 1521 | then : | ||
| 1522 | ac_retval=0 | ||
| 1523 | else $as_nop | ||
| 1524 | printf "%s\n" "$as_me: failed program was:" >&5 | ||
| 1525 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1526 | |||
| 1527 | ac_retval=1 | ||
| 1528 | fi | ||
| 1529 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1530 | as_fn_set_status $ac_retval | ||
| 1531 | |||
| 1532 | } # ac_fn_c_try_cpp | ||
| 1533 | |||
| 1534 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | ||
| 1535 | # ------------------------------------------------------- | ||
| 1536 | # Tests whether HEADER exists and can be compiled using the include files in | ||
| 1537 | # INCLUDES, setting the cache variable VAR accordingly. | ||
| 1538 | ac_fn_c_check_header_compile () | ||
| 1539 | { | ||
| 1540 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1541 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1542 | printf %s "checking for $2... " >&6; } | ||
| 1543 | if eval test \${$3+y} | ||
| 1544 | then : | ||
| 1545 | printf %s "(cached) " >&6 | ||
| 1546 | else $as_nop | ||
| 1547 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1548 | /* end confdefs.h. */ | ||
| 1549 | $4 | ||
| 1550 | #include <$2> | ||
| 1551 | _ACEOF | ||
| 1552 | if ac_fn_c_try_compile "$LINENO" | ||
| 1553 | then : | ||
| 1554 | eval "$3=yes" | ||
| 1555 | else $as_nop | ||
| 1556 | eval "$3=no" | ||
| 1557 | fi | ||
| 1558 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 1559 | fi | ||
| 1560 | eval ac_res=\$$3 | ||
| 1561 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1562 | printf "%s\n" "$ac_res" >&6; } | ||
| 1563 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1564 | |||
| 1565 | } # ac_fn_c_check_header_compile | ||
| 1566 | |||
| 1567 | # ac_fn_c_find_uintX_t LINENO BITS VAR | ||
| 1568 | # ------------------------------------ | ||
| 1569 | # Finds an unsigned integer type with width BITS, setting cache variable VAR | ||
| 1570 | # accordingly. | ||
| 1571 | ac_fn_c_find_uintX_t () | ||
| 1572 | { | ||
| 1573 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1574 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 | ||
| 1575 | printf %s "checking for uint$2_t... " >&6; } | ||
| 1576 | if eval test \${$3+y} | ||
| 1577 | then : | ||
| 1578 | printf %s "(cached) " >&6 | ||
| 1579 | else $as_nop | ||
| 1580 | eval "$3=no" | ||
| 1581 | # Order is important - never check a type that is potentially smaller | ||
| 1582 | # than half of the expected target width. | ||
| 1583 | for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ | ||
| 1584 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do | ||
| 1585 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1586 | /* end confdefs.h. */ | ||
| 1587 | $ac_includes_default | ||
| 1588 | int | ||
| 1589 | main (void) | ||
| 1590 | { | ||
| 1591 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; | ||
| 1592 | test_array [0] = 0; | ||
| 1593 | return test_array [0]; | ||
| 1594 | |||
| 1595 | ; | ||
| 1596 | return 0; | ||
| 1597 | } | ||
| 1598 | _ACEOF | ||
| 1599 | if ac_fn_c_try_compile "$LINENO" | ||
| 1600 | then : | ||
| 1601 | case $ac_type in #( | ||
| 1602 | uint$2_t) : | ||
| 1603 | eval "$3=yes" ;; #( | ||
| 1604 | *) : | ||
| 1605 | eval "$3=\$ac_type" ;; | ||
| 1606 | esac | ||
| 1607 | fi | ||
| 1608 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 1609 | if eval test \"x\$"$3"\" = x"no" | ||
| 1610 | then : | ||
| 1611 | |||
| 1612 | else $as_nop | ||
| 1613 | break | ||
| 1614 | fi | ||
| 1615 | done | ||
| 1616 | fi | ||
| 1617 | eval ac_res=\$$3 | ||
| 1618 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1619 | printf "%s\n" "$ac_res" >&6; } | ||
| 1620 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1621 | |||
| 1622 | } # ac_fn_c_find_uintX_t | ||
| 1623 | |||
| 1624 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | ||
| 1625 | # ------------------------------------------- | ||
| 1626 | # Tests whether TYPE exists after having included INCLUDES, setting cache | ||
| 1627 | # variable VAR accordingly. | ||
| 1628 | ac_fn_c_check_type () | ||
| 1629 | { | ||
| 1630 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1631 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1632 | printf %s "checking for $2... " >&6; } | ||
| 1633 | if eval test \${$3+y} | ||
| 1634 | then : | ||
| 1635 | printf %s "(cached) " >&6 | ||
| 1636 | else $as_nop | ||
| 1637 | eval "$3=no" | ||
| 1638 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1639 | /* end confdefs.h. */ | ||
| 1640 | $4 | ||
| 1641 | int | ||
| 1642 | main (void) | ||
| 1643 | { | ||
| 1644 | if (sizeof ($2)) | ||
| 1645 | return 0; | ||
| 1646 | ; | ||
| 1647 | return 0; | ||
| 1648 | } | ||
| 1649 | _ACEOF | ||
| 1650 | if ac_fn_c_try_compile "$LINENO" | ||
| 1651 | then : | ||
| 1652 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1653 | /* end confdefs.h. */ | ||
| 1654 | $4 | ||
| 1655 | int | ||
| 1656 | main (void) | ||
| 1657 | { | ||
| 1658 | if (sizeof (($2))) | ||
| 1659 | return 0; | ||
| 1660 | ; | ||
| 1661 | return 0; | ||
| 1662 | } | ||
| 1663 | _ACEOF | ||
| 1664 | if ac_fn_c_try_compile "$LINENO" | ||
| 1665 | then : | ||
| 1666 | |||
| 1667 | else $as_nop | ||
| 1668 | eval "$3=yes" | ||
| 1669 | fi | ||
| 1670 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 1671 | fi | ||
| 1672 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 1673 | fi | ||
| 1674 | eval ac_res=\$$3 | ||
| 1675 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1676 | printf "%s\n" "$ac_res" >&6; } | ||
| 1677 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1678 | |||
| 1679 | } # ac_fn_c_check_type | ||
| 1680 | |||
| 1681 | # ac_fn_c_try_link LINENO | ||
| 1682 | # ----------------------- | ||
| 1683 | # Try to link conftest.$ac_ext, and return whether this succeeded. | ||
| 1684 | ac_fn_c_try_link () | ||
| 1685 | { | ||
| 1686 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1687 | rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext | ||
| 1688 | if { { ac_try="$ac_link" | ||
| 1689 | case "(($ac_try" in | ||
| 1690 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1691 | *) ac_try_echo=$ac_try;; | ||
| 1692 | esac | ||
| 1693 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1694 | printf "%s\n" "$ac_try_echo"; } >&5 | ||
| 1695 | (eval "$ac_link") 2>conftest.err | ||
| 1696 | ac_status=$? | ||
| 1697 | if test -s conftest.err; then | ||
| 1698 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1699 | cat conftest.er1 >&5 | ||
| 1700 | mv -f conftest.er1 conftest.err | ||
| 1701 | fi | ||
| 1702 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1703 | test $ac_status = 0; } && { | ||
| 1704 | test -z "$ac_c_werror_flag" || | ||
| 1705 | test ! -s conftest.err | ||
| 1706 | } && test -s conftest$ac_exeext && { | ||
| 1707 | test "$cross_compiling" = yes || | ||
| 1708 | test -x conftest$ac_exeext | ||
| 1709 | } | ||
| 1710 | then : | ||
| 1711 | ac_retval=0 | ||
| 1712 | else $as_nop | ||
| 1713 | printf "%s\n" "$as_me: failed program was:" >&5 | ||
| 1714 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1715 | |||
| 1716 | ac_retval=1 | ||
| 1717 | fi | ||
| 1718 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | ||
| 1719 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | ||
| 1720 | # interfere with the next link command; also delete a directory that is | ||
| 1721 | # left behind by Apple's compiler. We do this before executing the actions. | ||
| 1722 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
| 1723 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1724 | as_fn_set_status $ac_retval | ||
| 1725 | |||
| 1726 | } # ac_fn_c_try_link | ||
| 1727 | |||
| 1728 | # ac_fn_c_check_func LINENO FUNC VAR | ||
| 1729 | # ---------------------------------- | ||
| 1730 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | ||
| 1731 | ac_fn_c_check_func () | ||
| 1732 | { | ||
| 1733 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1734 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1735 | printf %s "checking for $2... " >&6; } | ||
| 1736 | if eval test \${$3+y} | ||
| 1737 | then : | ||
| 1738 | printf %s "(cached) " >&6 | ||
| 1739 | else $as_nop | ||
| 1740 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1741 | /* end confdefs.h. */ | ||
| 1742 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | ||
| 1743 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 1744 | #define $2 innocuous_$2 | ||
| 1745 | |||
| 1746 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 1747 | which can conflict with char $2 (); below. */ | ||
| 1748 | |||
| 1749 | #include <limits.h> | ||
| 1750 | #undef $2 | ||
| 1751 | |||
| 1752 | /* Override any GCC internal prototype to avoid an error. | ||
| 1753 | Use char because int might match the return type of a GCC | ||
| 1754 | builtin and then its argument prototype would still apply. */ | ||
| 1755 | #ifdef __cplusplus | ||
| 1756 | extern "C" | ||
| 1757 | #endif | ||
| 1758 | char $2 (); | ||
| 1759 | /* The GNU C library defines this for functions which it implements | ||
| 1760 | to always fail with ENOSYS. Some functions are actually named | ||
| 1761 | something starting with __ and the normal name is an alias. */ | ||
| 1762 | #if defined __stub_$2 || defined __stub___$2 | ||
| 1763 | choke me | ||
| 1764 | #endif | ||
| 1765 | |||
| 1766 | int | ||
| 1767 | main (void) | ||
| 1768 | { | ||
| 1769 | return $2 (); | ||
| 1770 | ; | ||
| 1771 | return 0; | ||
| 1772 | } | ||
| 1773 | _ACEOF | ||
| 1774 | if ac_fn_c_try_link "$LINENO" | ||
| 1775 | then : | ||
| 1776 | eval "$3=yes" | ||
| 1777 | else $as_nop | ||
| 1778 | eval "$3=no" | ||
| 1779 | fi | ||
| 1780 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ | ||
| 1781 | conftest$ac_exeext conftest.$ac_ext | ||
| 1782 | fi | ||
| 1783 | eval ac_res=\$$3 | ||
| 1784 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1785 | printf "%s\n" "$ac_res" >&6; } | ||
| 1786 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1787 | |||
| 1788 | } # ac_fn_c_check_func | ||
| 1789 | |||
| 1790 | # ac_fn_c_try_run LINENO | ||
| 1791 | # ---------------------- | ||
| 1792 | # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that | ||
| 1793 | # executables *can* be run. | ||
| 1794 | ac_fn_c_try_run () | ||
| 1795 | { | ||
| 1796 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1797 | if { { ac_try="$ac_link" | ||
| 1798 | case "(($ac_try" in | ||
| 1799 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1800 | *) ac_try_echo=$ac_try;; | ||
| 1801 | esac | ||
| 1802 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1803 | printf "%s\n" "$ac_try_echo"; } >&5 | ||
| 1804 | (eval "$ac_link") 2>&5 | ||
| 1805 | ac_status=$? | ||
| 1806 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1807 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | ||
| 1808 | { { case "(($ac_try" in | ||
| 1809 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1810 | *) ac_try_echo=$ac_try;; | ||
| 1811 | esac | ||
| 1812 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1813 | printf "%s\n" "$ac_try_echo"; } >&5 | ||
| 1814 | (eval "$ac_try") 2>&5 | ||
| 1815 | ac_status=$? | ||
| 1816 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1817 | test $ac_status = 0; }; } | ||
| 1818 | then : | ||
| 1819 | ac_retval=0 | ||
| 1820 | else $as_nop | ||
| 1821 | printf "%s\n" "$as_me: program exited with status $ac_status" >&5 | ||
| 1822 | printf "%s\n" "$as_me: failed program was:" >&5 | ||
| 1823 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1824 | |||
| 1825 | ac_retval=$ac_status | ||
| 1826 | fi | ||
| 1827 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
| 1828 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1829 | as_fn_set_status $ac_retval | ||
| 1830 | |||
| 1831 | } # ac_fn_c_try_run | ||
| 1832 | |||
| 1833 | # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES | ||
| 1834 | # ---------------------------------------------------- | ||
| 1835 | # Tries to find if the field MEMBER exists in type AGGR, after including | ||
| 1836 | # INCLUDES, setting cache variable VAR accordingly. | ||
| 1837 | ac_fn_c_check_member () | ||
| 1838 | { | ||
| 1839 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1840 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | ||
| 1841 | printf %s "checking for $2.$3... " >&6; } | ||
| 1842 | if eval test \${$4+y} | ||
| 1843 | then : | ||
| 1844 | printf %s "(cached) " >&6 | ||
| 1845 | else $as_nop | ||
| 1846 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1847 | /* end confdefs.h. */ | ||
| 1848 | $5 | ||
| 1849 | int | ||
| 1850 | main (void) | ||
| 1851 | { | ||
| 1852 | static $2 ac_aggr; | ||
| 1853 | if (ac_aggr.$3) | ||
| 1854 | return 0; | ||
| 1855 | ; | ||
| 1856 | return 0; | ||
| 1857 | } | ||
| 1858 | _ACEOF | ||
| 1859 | if ac_fn_c_try_compile "$LINENO" | ||
| 1860 | then : | ||
| 1861 | eval "$4=yes" | ||
| 1862 | else $as_nop | ||
| 1863 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1864 | /* end confdefs.h. */ | ||
| 1865 | $5 | ||
| 1866 | int | ||
| 1867 | main (void) | ||
| 1868 | { | ||
| 1869 | static $2 ac_aggr; | ||
| 1870 | if (sizeof ac_aggr.$3) | ||
| 1871 | return 0; | ||
| 1872 | ; | ||
| 1873 | return 0; | ||
| 1874 | } | ||
| 1875 | _ACEOF | ||
| 1876 | if ac_fn_c_try_compile "$LINENO" | ||
| 1877 | then : | ||
| 1878 | eval "$4=yes" | ||
| 1879 | else $as_nop | ||
| 1880 | eval "$4=no" | ||
| 1881 | fi | ||
| 1882 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 1883 | fi | ||
| 1884 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 1885 | fi | ||
| 1886 | eval ac_res=\$$4 | ||
| 1887 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1888 | printf "%s\n" "$ac_res" >&6; } | ||
| 1889 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1890 | |||
| 1891 | } # ac_fn_c_check_member | ||
| 1892 | |||
| 1893 | # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR | ||
| 1894 | # ------------------------------------------------------------------ | ||
| 1895 | # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR | ||
| 1896 | # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. | ||
| 1897 | ac_fn_check_decl () | ||
| 1898 | { | ||
| 1899 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1900 | as_decl_name=`echo $2|sed 's/ *(.*//'` | ||
| 1901 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 | ||
| 1902 | printf %s "checking whether $as_decl_name is declared... " >&6; } | ||
| 1903 | if eval test \${$3+y} | ||
| 1904 | then : | ||
| 1905 | printf %s "(cached) " >&6 | ||
| 1906 | else $as_nop | ||
| 1907 | as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` | ||
| 1908 | eval ac_save_FLAGS=\$$6 | ||
| 1909 | as_fn_append $6 " $5" | ||
| 1910 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1911 | /* end confdefs.h. */ | ||
| 1912 | $4 | ||
| 1913 | int | ||
| 1914 | main (void) | ||
| 1915 | { | ||
| 1916 | #ifndef $as_decl_name | ||
| 1917 | #ifdef __cplusplus | ||
| 1918 | (void) $as_decl_use; | ||
| 1919 | #else | ||
| 1920 | (void) $as_decl_name; | ||
| 1921 | #endif | ||
| 1922 | #endif | ||
| 1923 | |||
| 1924 | ; | ||
| 1925 | return 0; | ||
| 1926 | } | ||
| 1927 | _ACEOF | ||
| 1928 | if ac_fn_c_try_compile "$LINENO" | ||
| 1929 | then : | ||
| 1930 | eval "$3=yes" | ||
| 1931 | else $as_nop | ||
| 1932 | eval "$3=no" | ||
| 1933 | fi | ||
| 1934 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 1935 | eval $6=\$ac_save_FLAGS | ||
| 1936 | |||
| 1937 | fi | ||
| 1938 | eval ac_res=\$$3 | ||
| 1939 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1940 | printf "%s\n" "$ac_res" >&6; } | ||
| 1941 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1942 | |||
| 1943 | } # ac_fn_check_decl | ||
| 1944 | ac_configure_args_raw= | ||
| 1945 | for ac_arg | ||
| 1946 | do | ||
| 1947 | case $ac_arg in | ||
| 1948 | *\'*) | ||
| 1949 | ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
| 1950 | esac | ||
| 1951 | as_fn_append ac_configure_args_raw " '$ac_arg'" | ||
| 1952 | done | ||
| 1953 | |||
| 1954 | case $ac_configure_args_raw in | ||
| 1955 | *$as_nl*) | ||
| 1956 | ac_safe_unquote= ;; | ||
| 1957 | *) | ||
| 1958 | ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. | ||
| 1959 | ac_unsafe_a="$ac_unsafe_z#~" | ||
| 1960 | ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" | ||
| 1961 | ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; | ||
| 1962 | esac | ||
| 1963 | |||
| 1964 | cat >config.log <<_ACEOF | ||
| 1965 | This file contains any messages produced by compilers while | ||
| 1966 | running configure, to aid debugging if configure makes a mistake. | ||
| 1967 | |||
| 1968 | It was created by libexec $as_me 30.0.50, which was | ||
| 1969 | generated by GNU Autoconf 2.71. Invocation command line was | ||
| 1970 | |||
| 1971 | $ $0$ac_configure_args_raw | ||
| 1972 | |||
| 1973 | _ACEOF | ||
| 1974 | exec 5>>config.log | ||
| 1975 | { | ||
| 1976 | cat <<_ASUNAME | ||
| 1977 | ## --------- ## | ||
| 1978 | ## Platform. ## | ||
| 1979 | ## --------- ## | ||
| 1980 | |||
| 1981 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
| 1982 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
| 1983 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
| 1984 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
| 1985 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
| 1986 | |||
| 1987 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | ||
| 1988 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | ||
| 1989 | |||
| 1990 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | ||
| 1991 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | ||
| 1992 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | ||
| 1993 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | ||
| 1994 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | ||
| 1995 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | ||
| 1996 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | ||
| 1997 | |||
| 1998 | _ASUNAME | ||
| 1999 | |||
| 2000 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2001 | for as_dir in $PATH | ||
| 2002 | do | ||
| 2003 | IFS=$as_save_IFS | ||
| 2004 | case $as_dir in #((( | ||
| 2005 | '') as_dir=./ ;; | ||
| 2006 | */) ;; | ||
| 2007 | *) as_dir=$as_dir/ ;; | ||
| 2008 | esac | ||
| 2009 | printf "%s\n" "PATH: $as_dir" | ||
| 2010 | done | ||
| 2011 | IFS=$as_save_IFS | ||
| 2012 | |||
| 2013 | } >&5 | ||
| 2014 | |||
| 2015 | cat >&5 <<_ACEOF | ||
| 2016 | |||
| 2017 | |||
| 2018 | ## ----------- ## | ||
| 2019 | ## Core tests. ## | ||
| 2020 | ## ----------- ## | ||
| 2021 | |||
| 2022 | _ACEOF | ||
| 2023 | |||
| 2024 | |||
| 2025 | # Keep a trace of the command line. | ||
| 2026 | # Strip out --no-create and --no-recursion so they do not pile up. | ||
| 2027 | # Strip out --silent because we don't want to record it for future runs. | ||
| 2028 | # Also quote any args containing shell meta-characters. | ||
| 2029 | # Make two passes to allow for proper duplicate-argument suppression. | ||
| 2030 | ac_configure_args= | ||
| 2031 | ac_configure_args0= | ||
| 2032 | ac_configure_args1= | ||
| 2033 | ac_must_keep_next=false | ||
| 2034 | for ac_pass in 1 2 | ||
| 2035 | do | ||
| 2036 | for ac_arg | ||
| 2037 | do | ||
| 2038 | case $ac_arg in | ||
| 2039 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | ||
| 2040 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
| 2041 | | -silent | --silent | --silen | --sile | --sil) | ||
| 2042 | continue ;; | ||
| 2043 | *\'*) | ||
| 2044 | ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
| 2045 | esac | ||
| 2046 | case $ac_pass in | ||
| 2047 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | ||
| 2048 | 2) | ||
| 2049 | as_fn_append ac_configure_args1 " '$ac_arg'" | ||
| 2050 | if test $ac_must_keep_next = true; then | ||
| 2051 | ac_must_keep_next=false # Got value, back to normal. | ||
| 2052 | else | ||
| 2053 | case $ac_arg in | ||
| 2054 | *=* | --config-cache | -C | -disable-* | --disable-* \ | ||
| 2055 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | ||
| 2056 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | ||
| 2057 | | -with-* | --with-* | -without-* | --without-* | --x) | ||
| 2058 | case "$ac_configure_args0 " in | ||
| 2059 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | ||
| 2060 | esac | ||
| 2061 | ;; | ||
| 2062 | -* ) ac_must_keep_next=true ;; | ||
| 2063 | esac | ||
| 2064 | fi | ||
| 2065 | as_fn_append ac_configure_args " '$ac_arg'" | ||
| 2066 | ;; | ||
| 2067 | esac | ||
| 2068 | done | ||
| 2069 | done | ||
| 2070 | { ac_configure_args0=; unset ac_configure_args0;} | ||
| 2071 | { ac_configure_args1=; unset ac_configure_args1;} | ||
| 2072 | |||
| 2073 | # When interrupted or exit'd, cleanup temporary files, and complete | ||
| 2074 | # config.log. We remove comments because anyway the quotes in there | ||
| 2075 | # would cause problems or look ugly. | ||
| 2076 | # WARNING: Use '\'' to represent an apostrophe within the trap. | ||
| 2077 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | ||
| 2078 | trap 'exit_status=$? | ||
| 2079 | # Sanitize IFS. | ||
| 2080 | IFS=" "" $as_nl" | ||
| 2081 | # Save into config.log some information that might help in debugging. | ||
| 2082 | { | ||
| 2083 | echo | ||
| 2084 | |||
| 2085 | printf "%s\n" "## ---------------- ## | ||
| 2086 | ## Cache variables. ## | ||
| 2087 | ## ---------------- ##" | ||
| 2088 | echo | ||
| 2089 | # The following way of writing the cache mishandles newlines in values, | ||
| 2090 | ( | ||
| 2091 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | ||
| 2092 | eval ac_val=\$$ac_var | ||
| 2093 | case $ac_val in #( | ||
| 2094 | *${as_nl}*) | ||
| 2095 | case $ac_var in #( | ||
| 2096 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | ||
| 2097 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | ||
| 2098 | esac | ||
| 2099 | case $ac_var in #( | ||
| 2100 | _ | IFS | as_nl) ;; #( | ||
| 2101 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | ||
| 2102 | *) { eval $ac_var=; unset $ac_var;} ;; | ||
| 2103 | esac ;; | ||
| 2104 | esac | ||
| 2105 | done | ||
| 2106 | (set) 2>&1 | | ||
| 2107 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | ||
| 2108 | *${as_nl}ac_space=\ *) | ||
| 2109 | sed -n \ | ||
| 2110 | "s/'\''/'\''\\\\'\'''\''/g; | ||
| 2111 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | ||
| 2112 | ;; #( | ||
| 2113 | *) | ||
| 2114 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | ||
| 2115 | ;; | ||
| 2116 | esac | | ||
| 2117 | sort | ||
| 2118 | ) | ||
| 2119 | echo | ||
| 2120 | |||
| 2121 | printf "%s\n" "## ----------------- ## | ||
| 2122 | ## Output variables. ## | ||
| 2123 | ## ----------------- ##" | ||
| 2124 | echo | ||
| 2125 | for ac_var in $ac_subst_vars | ||
| 2126 | do | ||
| 2127 | eval ac_val=\$$ac_var | ||
| 2128 | case $ac_val in | ||
| 2129 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
| 2130 | esac | ||
| 2131 | printf "%s\n" "$ac_var='\''$ac_val'\''" | ||
| 2132 | done | sort | ||
| 2133 | echo | ||
| 2134 | |||
| 2135 | if test -n "$ac_subst_files"; then | ||
| 2136 | printf "%s\n" "## ------------------- ## | ||
| 2137 | ## File substitutions. ## | ||
| 2138 | ## ------------------- ##" | ||
| 2139 | echo | ||
| 2140 | for ac_var in $ac_subst_files | ||
| 2141 | do | ||
| 2142 | eval ac_val=\$$ac_var | ||
| 2143 | case $ac_val in | ||
| 2144 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
| 2145 | esac | ||
| 2146 | printf "%s\n" "$ac_var='\''$ac_val'\''" | ||
| 2147 | done | sort | ||
| 2148 | echo | ||
| 2149 | fi | ||
| 2150 | |||
| 2151 | if test -s confdefs.h; then | ||
| 2152 | printf "%s\n" "## ----------- ## | ||
| 2153 | ## confdefs.h. ## | ||
| 2154 | ## ----------- ##" | ||
| 2155 | echo | ||
| 2156 | cat confdefs.h | ||
| 2157 | echo | ||
| 2158 | fi | ||
| 2159 | test "$ac_signal" != 0 && | ||
| 2160 | printf "%s\n" "$as_me: caught signal $ac_signal" | ||
| 2161 | printf "%s\n" "$as_me: exit $exit_status" | ||
| 2162 | } >&5 | ||
| 2163 | rm -f core *.core core.conftest.* && | ||
| 2164 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | ||
| 2165 | exit $exit_status | ||
| 2166 | ' 0 | ||
| 2167 | for ac_signal in 1 2 13 15; do | ||
| 2168 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | ||
| 2169 | done | ||
| 2170 | ac_signal=0 | ||
| 2171 | |||
| 2172 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
| 2173 | rm -f -r conftest* confdefs.h | ||
| 2174 | |||
| 2175 | printf "%s\n" "/* confdefs.h */" > confdefs.h | ||
| 2176 | |||
| 2177 | # Predefined preprocessor variables. | ||
| 2178 | |||
| 2179 | printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h | ||
| 2180 | |||
| 2181 | printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h | ||
| 2182 | |||
| 2183 | printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h | ||
| 2184 | |||
| 2185 | printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h | ||
| 2186 | |||
| 2187 | printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h | ||
| 2188 | |||
| 2189 | printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h | ||
| 2190 | |||
| 2191 | |||
| 2192 | # Let the site file select an alternate cache file if it wants to. | ||
| 2193 | # Prefer an explicitly selected file to automatically selected ones. | ||
| 2194 | if test -n "$CONFIG_SITE"; then | ||
| 2195 | ac_site_files="$CONFIG_SITE" | ||
| 2196 | elif test "x$prefix" != xNONE; then | ||
| 2197 | ac_site_files="$prefix/share/config.site $prefix/etc/config.site" | ||
| 2198 | else | ||
| 2199 | ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | ||
| 2200 | fi | ||
| 2201 | |||
| 2202 | for ac_site_file in $ac_site_files | ||
| 2203 | do | ||
| 2204 | case $ac_site_file in #( | ||
| 2205 | */*) : | ||
| 2206 | ;; #( | ||
| 2207 | *) : | ||
| 2208 | ac_site_file=./$ac_site_file ;; | ||
| 2209 | esac | ||
| 2210 | if test -f "$ac_site_file" && test -r "$ac_site_file"; then | ||
| 2211 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | ||
| 2212 | printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} | ||
| 2213 | sed 's/^/| /' "$ac_site_file" >&5 | ||
| 2214 | . "$ac_site_file" \ | ||
| 2215 | || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 2216 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2217 | as_fn_error $? "failed to load site script $ac_site_file | ||
| 2218 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 2219 | fi | ||
| 2220 | done | ||
| 2221 | |||
| 2222 | if test -r "$cache_file"; then | ||
| 2223 | # Some versions of bash will fail to source /dev/null (special files | ||
| 2224 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. | ||
| 2225 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | ||
| 2226 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | ||
| 2227 | printf "%s\n" "$as_me: loading cache $cache_file" >&6;} | ||
| 2228 | case $cache_file in | ||
| 2229 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | ||
| 2230 | *) . "./$cache_file";; | ||
| 2231 | esac | ||
| 2232 | fi | ||
| 2233 | else | ||
| 2234 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | ||
| 2235 | printf "%s\n" "$as_me: creating cache $cache_file" >&6;} | ||
| 2236 | >$cache_file | ||
| 2237 | fi | ||
| 2238 | |||
| 2239 | # Test code for whether the C compiler supports C89 (global declarations) | ||
| 2240 | ac_c_conftest_c89_globals=' | ||
| 2241 | /* Does the compiler advertise C89 conformance? | ||
| 2242 | Do not test the value of __STDC__, because some compilers set it to 0 | ||
| 2243 | while being otherwise adequately conformant. */ | ||
| 2244 | #if !defined __STDC__ | ||
| 2245 | # error "Compiler does not advertise C89 conformance" | ||
| 2246 | #endif | ||
| 2247 | |||
| 2248 | #include <stddef.h> | ||
| 2249 | #include <stdarg.h> | ||
| 2250 | struct stat; | ||
| 2251 | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | ||
| 2252 | struct buf { int x; }; | ||
| 2253 | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | ||
| 2254 | static char *e (p, i) | ||
| 2255 | char **p; | ||
| 2256 | int i; | ||
| 2257 | { | ||
| 2258 | return p[i]; | ||
| 2259 | } | ||
| 2260 | static char *f (char * (*g) (char **, int), char **p, ...) | ||
| 2261 | { | ||
| 2262 | char *s; | ||
| 2263 | va_list v; | ||
| 2264 | va_start (v,p); | ||
| 2265 | s = g (p, va_arg (v,int)); | ||
| 2266 | va_end (v); | ||
| 2267 | return s; | ||
| 2268 | } | ||
| 2269 | |||
| 2270 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | ||
| 2271 | function prototypes and stuff, but not \xHH hex character constants. | ||
| 2272 | These do not provoke an error unfortunately, instead are silently treated | ||
| 2273 | as an "x". The following induces an error, until -std is added to get | ||
| 2274 | proper ANSI mode. Curiously \x00 != x always comes out true, for an | ||
| 2275 | array size at least. It is necessary to write \x00 == 0 to get something | ||
| 2276 | that is true only with -std. */ | ||
| 2277 | int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; | ||
| 2278 | |||
| 2279 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | ||
| 2280 | inside strings and character constants. */ | ||
| 2281 | #define FOO(x) '\''x'\'' | ||
| 2282 | int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; | ||
| 2283 | |||
| 2284 | int test (int i, double x); | ||
| 2285 | struct s1 {int (*f) (int a);}; | ||
| 2286 | struct s2 {int (*f) (double a);}; | ||
| 2287 | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | ||
| 2288 | int, int);' | ||
| 2289 | |||
| 2290 | # Test code for whether the C compiler supports C89 (body of main). | ||
| 2291 | ac_c_conftest_c89_main=' | ||
| 2292 | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | ||
| 2293 | ' | ||
| 2294 | |||
| 2295 | # Test code for whether the C compiler supports C99 (global declarations) | ||
| 2296 | ac_c_conftest_c99_globals=' | ||
| 2297 | // Does the compiler advertise C99 conformance? | ||
| 2298 | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | ||
| 2299 | # error "Compiler does not advertise C99 conformance" | ||
| 2300 | #endif | ||
| 2301 | |||
| 2302 | #include <stdbool.h> | ||
| 2303 | extern int puts (const char *); | ||
| 2304 | extern int printf (const char *, ...); | ||
| 2305 | extern int dprintf (int, const char *, ...); | ||
| 2306 | extern void *malloc (size_t); | ||
| 2307 | |||
| 2308 | // Check varargs macros. These examples are taken from C99 6.10.3.5. | ||
| 2309 | // dprintf is used instead of fprintf to avoid needing to declare | ||
| 2310 | // FILE and stderr. | ||
| 2311 | #define debug(...) dprintf (2, __VA_ARGS__) | ||
| 2312 | #define showlist(...) puts (#__VA_ARGS__) | ||
| 2313 | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | ||
| 2314 | static void | ||
| 2315 | test_varargs_macros (void) | ||
| 2316 | { | ||
| 2317 | int x = 1234; | ||
| 2318 | int y = 5678; | ||
| 2319 | debug ("Flag"); | ||
| 2320 | debug ("X = %d\n", x); | ||
| 2321 | showlist (The first, second, and third items.); | ||
| 2322 | report (x>y, "x is %d but y is %d", x, y); | ||
| 2323 | } | ||
| 2324 | |||
| 2325 | // Check long long types. | ||
| 2326 | #define BIG64 18446744073709551615ull | ||
| 2327 | #define BIG32 4294967295ul | ||
| 2328 | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | ||
| 2329 | #if !BIG_OK | ||
| 2330 | #error "your preprocessor is broken" | ||
| 2331 | #endif | ||
| 2332 | #if BIG_OK | ||
| 2333 | #else | ||
| 2334 | #error "your preprocessor is broken" | ||
| 2335 | #endif | ||
| 2336 | static long long int bignum = -9223372036854775807LL; | ||
| 2337 | static unsigned long long int ubignum = BIG64; | ||
| 2338 | |||
| 2339 | struct incomplete_array | ||
| 2340 | { | ||
| 2341 | int datasize; | ||
| 2342 | double data[]; | ||
| 2343 | }; | ||
| 2344 | |||
| 2345 | struct named_init { | ||
| 2346 | int number; | ||
| 2347 | const wchar_t *name; | ||
| 2348 | double average; | ||
| 2349 | }; | ||
| 2350 | |||
| 2351 | typedef const char *ccp; | ||
| 2352 | |||
| 2353 | static inline int | ||
| 2354 | test_restrict (ccp restrict text) | ||
| 2355 | { | ||
| 2356 | // See if C++-style comments work. | ||
| 2357 | // Iterate through items via the restricted pointer. | ||
| 2358 | // Also check for declarations in for loops. | ||
| 2359 | for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) | ||
| 2360 | continue; | ||
| 2361 | return 0; | ||
| 2362 | } | ||
| 2363 | |||
| 2364 | // Check varargs and va_copy. | ||
| 2365 | static bool | ||
| 2366 | test_varargs (const char *format, ...) | ||
| 2367 | { | ||
| 2368 | va_list args; | ||
| 2369 | va_start (args, format); | ||
| 2370 | va_list args_copy; | ||
| 2371 | va_copy (args_copy, args); | ||
| 2372 | |||
| 2373 | const char *str = ""; | ||
| 2374 | int number = 0; | ||
| 2375 | float fnumber = 0; | ||
| 2376 | |||
| 2377 | while (*format) | ||
| 2378 | { | ||
| 2379 | switch (*format++) | ||
| 2380 | { | ||
| 2381 | case '\''s'\'': // string | ||
| 2382 | str = va_arg (args_copy, const char *); | ||
| 2383 | break; | ||
| 2384 | case '\''d'\'': // int | ||
| 2385 | number = va_arg (args_copy, int); | ||
| 2386 | break; | ||
| 2387 | case '\''f'\'': // float | ||
| 2388 | fnumber = va_arg (args_copy, double); | ||
| 2389 | break; | ||
| 2390 | default: | ||
| 2391 | break; | ||
| 2392 | } | ||
| 2393 | } | ||
| 2394 | va_end (args_copy); | ||
| 2395 | va_end (args); | ||
| 2396 | |||
| 2397 | return *str && number && fnumber; | ||
| 2398 | } | ||
| 2399 | ' | ||
| 2400 | |||
| 2401 | # Test code for whether the C compiler supports C99 (body of main). | ||
| 2402 | ac_c_conftest_c99_main=' | ||
| 2403 | // Check bool. | ||
| 2404 | _Bool success = false; | ||
| 2405 | success |= (argc != 0); | ||
| 2406 | |||
| 2407 | // Check restrict. | ||
| 2408 | if (test_restrict ("String literal") == 0) | ||
| 2409 | success = true; | ||
| 2410 | char *restrict newvar = "Another string"; | ||
| 2411 | |||
| 2412 | // Check varargs. | ||
| 2413 | success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); | ||
| 2414 | test_varargs_macros (); | ||
| 2415 | |||
| 2416 | // Check flexible array members. | ||
| 2417 | struct incomplete_array *ia = | ||
| 2418 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ||
| 2419 | ia->datasize = 10; | ||
| 2420 | for (int i = 0; i < ia->datasize; ++i) | ||
| 2421 | ia->data[i] = i * 1.234; | ||
| 2422 | |||
| 2423 | // Check named initializers. | ||
| 2424 | struct named_init ni = { | ||
| 2425 | .number = 34, | ||
| 2426 | .name = L"Test wide string", | ||
| 2427 | .average = 543.34343, | ||
| 2428 | }; | ||
| 2429 | |||
| 2430 | ni.number = 58; | ||
| 2431 | |||
| 2432 | int dynamic_array[ni.number]; | ||
| 2433 | dynamic_array[0] = argv[0][0]; | ||
| 2434 | dynamic_array[ni.number - 1] = 543; | ||
| 2435 | |||
| 2436 | // work around unused variable warnings | ||
| 2437 | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' | ||
| 2438 | || dynamic_array[ni.number - 1] != 543); | ||
| 2439 | ' | ||
| 2440 | |||
| 2441 | # Test code for whether the C compiler supports C11 (global declarations) | ||
| 2442 | ac_c_conftest_c11_globals=' | ||
| 2443 | // Does the compiler advertise C11 conformance? | ||
| 2444 | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L | ||
| 2445 | # error "Compiler does not advertise C11 conformance" | ||
| 2446 | #endif | ||
| 2447 | |||
| 2448 | // Check _Alignas. | ||
| 2449 | char _Alignas (double) aligned_as_double; | ||
| 2450 | char _Alignas (0) no_special_alignment; | ||
| 2451 | extern char aligned_as_int; | ||
| 2452 | char _Alignas (0) _Alignas (int) aligned_as_int; | ||
| 2453 | |||
| 2454 | // Check _Alignof. | ||
| 2455 | enum | ||
| 2456 | { | ||
| 2457 | int_alignment = _Alignof (int), | ||
| 2458 | int_array_alignment = _Alignof (int[100]), | ||
| 2459 | char_alignment = _Alignof (char) | ||
| 2460 | }; | ||
| 2461 | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); | ||
| 2462 | |||
| 2463 | // Check _Noreturn. | ||
| 2464 | int _Noreturn does_not_return (void) { for (;;) continue; } | ||
| 2465 | |||
| 2466 | // Check _Static_assert. | ||
| 2467 | struct test_static_assert | ||
| 2468 | { | ||
| 2469 | int x; | ||
| 2470 | _Static_assert (sizeof (int) <= sizeof (long int), | ||
| 2471 | "_Static_assert does not work in struct"); | ||
| 2472 | long int y; | ||
| 2473 | }; | ||
| 2474 | |||
| 2475 | // Check UTF-8 literals. | ||
| 2476 | #define u8 syntax error! | ||
| 2477 | char const utf8_literal[] = u8"happens to be ASCII" "another string"; | ||
| 2478 | |||
| 2479 | // Check duplicate typedefs. | ||
| 2480 | typedef long *long_ptr; | ||
| 2481 | typedef long int *long_ptr; | ||
| 2482 | typedef long_ptr long_ptr; | ||
| 2483 | |||
| 2484 | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. | ||
| 2485 | struct anonymous | ||
| 2486 | { | ||
| 2487 | union { | ||
| 2488 | struct { int i; int j; }; | ||
| 2489 | struct { int k; long int l; } w; | ||
| 2490 | }; | ||
| 2491 | int m; | ||
| 2492 | } v1; | ||
| 2493 | ' | ||
| 2494 | |||
| 2495 | # Test code for whether the C compiler supports C11 (body of main). | ||
| 2496 | ac_c_conftest_c11_main=' | ||
| 2497 | _Static_assert ((offsetof (struct anonymous, i) | ||
| 2498 | == offsetof (struct anonymous, w.k)), | ||
| 2499 | "Anonymous union alignment botch"); | ||
| 2500 | v1.i = 2; | ||
| 2501 | v1.w.k = 5; | ||
| 2502 | ok |= v1.i != 5; | ||
| 2503 | ' | ||
| 2504 | |||
| 2505 | # Test code for whether the C compiler supports C11 (complete). | ||
| 2506 | ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} | ||
| 2507 | ${ac_c_conftest_c99_globals} | ||
| 2508 | ${ac_c_conftest_c11_globals} | ||
| 2509 | |||
| 2510 | int | ||
| 2511 | main (int argc, char **argv) | ||
| 2512 | { | ||
| 2513 | int ok = 0; | ||
| 2514 | ${ac_c_conftest_c89_main} | ||
| 2515 | ${ac_c_conftest_c99_main} | ||
| 2516 | ${ac_c_conftest_c11_main} | ||
| 2517 | return ok; | ||
| 2518 | } | ||
| 2519 | " | ||
| 2520 | |||
| 2521 | # Test code for whether the C compiler supports C99 (complete). | ||
| 2522 | ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} | ||
| 2523 | ${ac_c_conftest_c99_globals} | ||
| 2524 | |||
| 2525 | int | ||
| 2526 | main (int argc, char **argv) | ||
| 2527 | { | ||
| 2528 | int ok = 0; | ||
| 2529 | ${ac_c_conftest_c89_main} | ||
| 2530 | ${ac_c_conftest_c99_main} | ||
| 2531 | return ok; | ||
| 2532 | } | ||
| 2533 | " | ||
| 2534 | |||
| 2535 | # Test code for whether the C compiler supports C89 (complete). | ||
| 2536 | ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} | ||
| 2537 | |||
| 2538 | int | ||
| 2539 | main (int argc, char **argv) | ||
| 2540 | { | ||
| 2541 | int ok = 0; | ||
| 2542 | ${ac_c_conftest_c89_main} | ||
| 2543 | return ok; | ||
| 2544 | } | ||
| 2545 | " | ||
| 2546 | |||
| 2547 | as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" | ||
| 2548 | as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" | ||
| 2549 | as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" | ||
| 2550 | as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" | ||
| 2551 | as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" | ||
| 2552 | as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" | ||
| 2553 | as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" | ||
| 2554 | as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" | ||
| 2555 | as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" | ||
| 2556 | |||
| 2557 | # Auxiliary files required by this configure script. | ||
| 2558 | ac_aux_files="config.guess config.sub install-sh" | ||
| 2559 | |||
| 2560 | # Locations in which to look for auxiliary files. | ||
| 2561 | ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." | ||
| 2562 | |||
| 2563 | # Search for a directory containing all of the required auxiliary files, | ||
| 2564 | # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. | ||
| 2565 | # If we don't find one directory that contains all the files we need, | ||
| 2566 | # we report the set of missing files from the *first* directory in | ||
| 2567 | # $ac_aux_dir_candidates and give up. | ||
| 2568 | ac_missing_aux_files="" | ||
| 2569 | ac_first_candidate=: | ||
| 2570 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 | ||
| 2571 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2572 | as_found=false | ||
| 2573 | for as_dir in $ac_aux_dir_candidates | ||
| 2574 | do | ||
| 2575 | IFS=$as_save_IFS | ||
| 2576 | case $as_dir in #((( | ||
| 2577 | '') as_dir=./ ;; | ||
| 2578 | */) ;; | ||
| 2579 | *) as_dir=$as_dir/ ;; | ||
| 2580 | esac | ||
| 2581 | as_found=: | ||
| 2582 | |||
| 2583 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 | ||
| 2584 | ac_aux_dir_found=yes | ||
| 2585 | ac_install_sh= | ||
| 2586 | for ac_aux in $ac_aux_files | ||
| 2587 | do | ||
| 2588 | # As a special case, if "install-sh" is required, that requirement | ||
| 2589 | # can be satisfied by any of "install-sh", "install.sh", or "shtool", | ||
| 2590 | # and $ac_install_sh is set appropriately for whichever one is found. | ||
| 2591 | if test x"$ac_aux" = x"install-sh" | ||
| 2592 | then | ||
| 2593 | if test -f "${as_dir}install-sh"; then | ||
| 2594 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 | ||
| 2595 | ac_install_sh="${as_dir}install-sh -c" | ||
| 2596 | elif test -f "${as_dir}install.sh"; then | ||
| 2597 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 | ||
| 2598 | ac_install_sh="${as_dir}install.sh -c" | ||
| 2599 | elif test -f "${as_dir}shtool"; then | ||
| 2600 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 | ||
| 2601 | ac_install_sh="${as_dir}shtool install -c" | ||
| 2602 | else | ||
| 2603 | ac_aux_dir_found=no | ||
| 2604 | if $ac_first_candidate; then | ||
| 2605 | ac_missing_aux_files="${ac_missing_aux_files} install-sh" | ||
| 2606 | else | ||
| 2607 | break | ||
| 2608 | fi | ||
| 2609 | fi | ||
| 2610 | else | ||
| 2611 | if test -f "${as_dir}${ac_aux}"; then | ||
| 2612 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 | ||
| 2613 | else | ||
| 2614 | ac_aux_dir_found=no | ||
| 2615 | if $ac_first_candidate; then | ||
| 2616 | ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" | ||
| 2617 | else | ||
| 2618 | break | ||
| 2619 | fi | ||
| 2620 | fi | ||
| 2621 | fi | ||
| 2622 | done | ||
| 2623 | if test "$ac_aux_dir_found" = yes; then | ||
| 2624 | ac_aux_dir="$as_dir" | ||
| 2625 | break | ||
| 2626 | fi | ||
| 2627 | ac_first_candidate=false | ||
| 2628 | |||
| 2629 | as_found=false | ||
| 2630 | done | ||
| 2631 | IFS=$as_save_IFS | ||
| 2632 | if $as_found | ||
| 2633 | then : | ||
| 2634 | |||
| 2635 | else $as_nop | ||
| 2636 | as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 | ||
| 2637 | fi | ||
| 2638 | |||
| 2639 | |||
| 2640 | # These three variables are undocumented and unsupported, | ||
| 2641 | # and are intended to be withdrawn in a future Autoconf release. | ||
| 2642 | # They can cause serious problems if a builder's source tree is in a directory | ||
| 2643 | # whose full name contains unusual characters. | ||
| 2644 | if test -f "${ac_aux_dir}config.guess"; then | ||
| 2645 | ac_config_guess="$SHELL ${ac_aux_dir}config.guess" | ||
| 2646 | fi | ||
| 2647 | if test -f "${ac_aux_dir}config.sub"; then | ||
| 2648 | ac_config_sub="$SHELL ${ac_aux_dir}config.sub" | ||
| 2649 | fi | ||
| 2650 | if test -f "$ac_aux_dir/configure"; then | ||
| 2651 | ac_configure="$SHELL ${ac_aux_dir}configure" | ||
| 2652 | fi | ||
| 2653 | |||
| 2654 | # Check that the precious variables saved in the cache have kept the same | ||
| 2655 | # value. | ||
| 2656 | ac_cache_corrupted=false | ||
| 2657 | for ac_var in $ac_precious_vars; do | ||
| 2658 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | ||
| 2659 | eval ac_new_set=\$ac_env_${ac_var}_set | ||
| 2660 | eval ac_old_val=\$ac_cv_env_${ac_var}_value | ||
| 2661 | eval ac_new_val=\$ac_env_${ac_var}_value | ||
| 2662 | case $ac_old_set,$ac_new_set in | ||
| 2663 | set,) | ||
| 2664 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | ||
| 2665 | printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | ||
| 2666 | ac_cache_corrupted=: ;; | ||
| 2667 | ,set) | ||
| 2668 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | ||
| 2669 | printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | ||
| 2670 | ac_cache_corrupted=: ;; | ||
| 2671 | ,);; | ||
| 2672 | *) | ||
| 2673 | if test "x$ac_old_val" != "x$ac_new_val"; then | ||
| 2674 | # differences in whitespace do not lead to failure. | ||
| 2675 | ac_old_val_w=`echo x $ac_old_val` | ||
| 2676 | ac_new_val_w=`echo x $ac_new_val` | ||
| 2677 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | ||
| 2678 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | ||
| 2679 | printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | ||
| 2680 | ac_cache_corrupted=: | ||
| 2681 | else | ||
| 2682 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | ||
| 2683 | printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | ||
| 2684 | eval $ac_var=\$ac_old_val | ||
| 2685 | fi | ||
| 2686 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | ||
| 2687 | printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} | ||
| 2688 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | ||
| 2689 | printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} | ||
| 2690 | fi;; | ||
| 2691 | esac | ||
| 2692 | # Pass precious variables to config.status. | ||
| 2693 | if test "$ac_new_set" = set; then | ||
| 2694 | case $ac_new_val in | ||
| 2695 | *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
| 2696 | *) ac_arg=$ac_var=$ac_new_val ;; | ||
| 2697 | esac | ||
| 2698 | case " $ac_configure_args " in | ||
| 2699 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | ||
| 2700 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | ||
| 2701 | esac | ||
| 2702 | fi | ||
| 2703 | done | ||
| 2704 | if $ac_cache_corrupted; then | ||
| 2705 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 2706 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2707 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | ||
| 2708 | printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} | ||
| 2709 | as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' | ||
| 2710 | and start over" "$LINENO" 5 | ||
| 2711 | fi | ||
| 2712 | ## -------------------- ## | ||
| 2713 | ## Main body of script. ## | ||
| 2714 | ## -------------------- ## | ||
| 2715 | |||
| 2716 | ac_ext=c | ||
| 2717 | ac_cpp='$CPP $CPPFLAGS' | ||
| 2718 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 2719 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 2720 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 2721 | |||
| 2722 | |||
| 2723 | |||
| 2724 | |||
| 2725 | |||
| 2726 | |||
| 2727 | |||
| 2728 | |||
| 2729 | |||
| 2730 | |||
| 2731 | |||
| 2732 | |||
| 2733 | |||
| 2734 | |||
| 2735 | ac_ext=c | ||
| 2736 | ac_cpp='$CPP $CPPFLAGS' | ||
| 2737 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 2738 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 2739 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 2740 | if test -n "$ac_tool_prefix"; then | ||
| 2741 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | ||
| 2742 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | ||
| 2743 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 2744 | printf %s "checking for $ac_word... " >&6; } | ||
| 2745 | if test ${ac_cv_prog_CC+y} | ||
| 2746 | then : | ||
| 2747 | printf %s "(cached) " >&6 | ||
| 2748 | else $as_nop | ||
| 2749 | if test -n "$CC"; then | ||
| 2750 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 2751 | else | ||
| 2752 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2753 | for as_dir in $PATH | ||
| 2754 | do | ||
| 2755 | IFS=$as_save_IFS | ||
| 2756 | case $as_dir in #((( | ||
| 2757 | '') as_dir=./ ;; | ||
| 2758 | */) ;; | ||
| 2759 | *) as_dir=$as_dir/ ;; | ||
| 2760 | esac | ||
| 2761 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2762 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then | ||
| 2763 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | ||
| 2764 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 | ||
| 2765 | break 2 | ||
| 2766 | fi | ||
| 2767 | done | ||
| 2768 | done | ||
| 2769 | IFS=$as_save_IFS | ||
| 2770 | |||
| 2771 | fi | ||
| 2772 | fi | ||
| 2773 | CC=$ac_cv_prog_CC | ||
| 2774 | if test -n "$CC"; then | ||
| 2775 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
| 2776 | printf "%s\n" "$CC" >&6; } | ||
| 2777 | else | ||
| 2778 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2779 | printf "%s\n" "no" >&6; } | ||
| 2780 | fi | ||
| 2781 | |||
| 2782 | |||
| 2783 | fi | ||
| 2784 | if test -z "$ac_cv_prog_CC"; then | ||
| 2785 | ac_ct_CC=$CC | ||
| 2786 | # Extract the first word of "gcc", so it can be a program name with args. | ||
| 2787 | set dummy gcc; ac_word=$2 | ||
| 2788 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 2789 | printf %s "checking for $ac_word... " >&6; } | ||
| 2790 | if test ${ac_cv_prog_ac_ct_CC+y} | ||
| 2791 | then : | ||
| 2792 | printf %s "(cached) " >&6 | ||
| 2793 | else $as_nop | ||
| 2794 | if test -n "$ac_ct_CC"; then | ||
| 2795 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
| 2796 | else | ||
| 2797 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2798 | for as_dir in $PATH | ||
| 2799 | do | ||
| 2800 | IFS=$as_save_IFS | ||
| 2801 | case $as_dir in #((( | ||
| 2802 | '') as_dir=./ ;; | ||
| 2803 | */) ;; | ||
| 2804 | *) as_dir=$as_dir/ ;; | ||
| 2805 | esac | ||
| 2806 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2807 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then | ||
| 2808 | ac_cv_prog_ac_ct_CC="gcc" | ||
| 2809 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 | ||
| 2810 | break 2 | ||
| 2811 | fi | ||
| 2812 | done | ||
| 2813 | done | ||
| 2814 | IFS=$as_save_IFS | ||
| 2815 | |||
| 2816 | fi | ||
| 2817 | fi | ||
| 2818 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
| 2819 | if test -n "$ac_ct_CC"; then | ||
| 2820 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | ||
| 2821 | printf "%s\n" "$ac_ct_CC" >&6; } | ||
| 2822 | else | ||
| 2823 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2824 | printf "%s\n" "no" >&6; } | ||
| 2825 | fi | ||
| 2826 | |||
| 2827 | if test "x$ac_ct_CC" = x; then | ||
| 2828 | CC="" | ||
| 2829 | else | ||
| 2830 | case $cross_compiling:$ac_tool_warned in | ||
| 2831 | yes:) | ||
| 2832 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
| 2833 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
| 2834 | ac_tool_warned=yes ;; | ||
| 2835 | esac | ||
| 2836 | CC=$ac_ct_CC | ||
| 2837 | fi | ||
| 2838 | else | ||
| 2839 | CC="$ac_cv_prog_CC" | ||
| 2840 | fi | ||
| 2841 | |||
| 2842 | if test -z "$CC"; then | ||
| 2843 | if test -n "$ac_tool_prefix"; then | ||
| 2844 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | ||
| 2845 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | ||
| 2846 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 2847 | printf %s "checking for $ac_word... " >&6; } | ||
| 2848 | if test ${ac_cv_prog_CC+y} | ||
| 2849 | then : | ||
| 2850 | printf %s "(cached) " >&6 | ||
| 2851 | else $as_nop | ||
| 2852 | if test -n "$CC"; then | ||
| 2853 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 2854 | else | ||
| 2855 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2856 | for as_dir in $PATH | ||
| 2857 | do | ||
| 2858 | IFS=$as_save_IFS | ||
| 2859 | case $as_dir in #((( | ||
| 2860 | '') as_dir=./ ;; | ||
| 2861 | */) ;; | ||
| 2862 | *) as_dir=$as_dir/ ;; | ||
| 2863 | esac | ||
| 2864 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2865 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then | ||
| 2866 | ac_cv_prog_CC="${ac_tool_prefix}cc" | ||
| 2867 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 | ||
| 2868 | break 2 | ||
| 2869 | fi | ||
| 2870 | done | ||
| 2871 | done | ||
| 2872 | IFS=$as_save_IFS | ||
| 2873 | |||
| 2874 | fi | ||
| 2875 | fi | ||
| 2876 | CC=$ac_cv_prog_CC | ||
| 2877 | if test -n "$CC"; then | ||
| 2878 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
| 2879 | printf "%s\n" "$CC" >&6; } | ||
| 2880 | else | ||
| 2881 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2882 | printf "%s\n" "no" >&6; } | ||
| 2883 | fi | ||
| 2884 | |||
| 2885 | |||
| 2886 | fi | ||
| 2887 | fi | ||
| 2888 | if test -z "$CC"; then | ||
| 2889 | # Extract the first word of "cc", so it can be a program name with args. | ||
| 2890 | set dummy cc; ac_word=$2 | ||
| 2891 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 2892 | printf %s "checking for $ac_word... " >&6; } | ||
| 2893 | if test ${ac_cv_prog_CC+y} | ||
| 2894 | then : | ||
| 2895 | printf %s "(cached) " >&6 | ||
| 2896 | else $as_nop | ||
| 2897 | if test -n "$CC"; then | ||
| 2898 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 2899 | else | ||
| 2900 | ac_prog_rejected=no | ||
| 2901 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2902 | for as_dir in $PATH | ||
| 2903 | do | ||
| 2904 | IFS=$as_save_IFS | ||
| 2905 | case $as_dir in #((( | ||
| 2906 | '') as_dir=./ ;; | ||
| 2907 | */) ;; | ||
| 2908 | *) as_dir=$as_dir/ ;; | ||
| 2909 | esac | ||
| 2910 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2911 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then | ||
| 2912 | if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | ||
| 2913 | ac_prog_rejected=yes | ||
| 2914 | continue | ||
| 2915 | fi | ||
| 2916 | ac_cv_prog_CC="cc" | ||
| 2917 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 | ||
| 2918 | break 2 | ||
| 2919 | fi | ||
| 2920 | done | ||
| 2921 | done | ||
| 2922 | IFS=$as_save_IFS | ||
| 2923 | |||
| 2924 | if test $ac_prog_rejected = yes; then | ||
| 2925 | # We found a bogon in the path, so make sure we never use it. | ||
| 2926 | set dummy $ac_cv_prog_CC | ||
| 2927 | shift | ||
| 2928 | if test $# != 0; then | ||
| 2929 | # We chose a different compiler from the bogus one. | ||
| 2930 | # However, it has the same basename, so the bogon will be chosen | ||
| 2931 | # first if we set CC to just the basename; use the full file name. | ||
| 2932 | shift | ||
| 2933 | ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" | ||
| 2934 | fi | ||
| 2935 | fi | ||
| 2936 | fi | ||
| 2937 | fi | ||
| 2938 | CC=$ac_cv_prog_CC | ||
| 2939 | if test -n "$CC"; then | ||
| 2940 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
| 2941 | printf "%s\n" "$CC" >&6; } | ||
| 2942 | else | ||
| 2943 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2944 | printf "%s\n" "no" >&6; } | ||
| 2945 | fi | ||
| 2946 | |||
| 2947 | |||
| 2948 | fi | ||
| 2949 | if test -z "$CC"; then | ||
| 2950 | if test -n "$ac_tool_prefix"; then | ||
| 2951 | for ac_prog in cl.exe | ||
| 2952 | do | ||
| 2953 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | ||
| 2954 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||
| 2955 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 2956 | printf %s "checking for $ac_word... " >&6; } | ||
| 2957 | if test ${ac_cv_prog_CC+y} | ||
| 2958 | then : | ||
| 2959 | printf %s "(cached) " >&6 | ||
| 2960 | else $as_nop | ||
| 2961 | if test -n "$CC"; then | ||
| 2962 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 2963 | else | ||
| 2964 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2965 | for as_dir in $PATH | ||
| 2966 | do | ||
| 2967 | IFS=$as_save_IFS | ||
| 2968 | case $as_dir in #((( | ||
| 2969 | '') as_dir=./ ;; | ||
| 2970 | */) ;; | ||
| 2971 | *) as_dir=$as_dir/ ;; | ||
| 2972 | esac | ||
| 2973 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2974 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then | ||
| 2975 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | ||
| 2976 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 | ||
| 2977 | break 2 | ||
| 2978 | fi | ||
| 2979 | done | ||
| 2980 | done | ||
| 2981 | IFS=$as_save_IFS | ||
| 2982 | |||
| 2983 | fi | ||
| 2984 | fi | ||
| 2985 | CC=$ac_cv_prog_CC | ||
| 2986 | if test -n "$CC"; then | ||
| 2987 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
| 2988 | printf "%s\n" "$CC" >&6; } | ||
| 2989 | else | ||
| 2990 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2991 | printf "%s\n" "no" >&6; } | ||
| 2992 | fi | ||
| 2993 | |||
| 2994 | |||
| 2995 | test -n "$CC" && break | ||
| 2996 | done | ||
| 2997 | fi | ||
| 2998 | if test -z "$CC"; then | ||
| 2999 | ac_ct_CC=$CC | ||
| 3000 | for ac_prog in cl.exe | ||
| 3001 | do | ||
| 3002 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
| 3003 | set dummy $ac_prog; ac_word=$2 | ||
| 3004 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 3005 | printf %s "checking for $ac_word... " >&6; } | ||
| 3006 | if test ${ac_cv_prog_ac_ct_CC+y} | ||
| 3007 | then : | ||
| 3008 | printf %s "(cached) " >&6 | ||
| 3009 | else $as_nop | ||
| 3010 | if test -n "$ac_ct_CC"; then | ||
| 3011 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
| 3012 | else | ||
| 3013 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 3014 | for as_dir in $PATH | ||
| 3015 | do | ||
| 3016 | IFS=$as_save_IFS | ||
| 3017 | case $as_dir in #((( | ||
| 3018 | '') as_dir=./ ;; | ||
| 3019 | */) ;; | ||
| 3020 | *) as_dir=$as_dir/ ;; | ||
| 3021 | esac | ||
| 3022 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3023 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then | ||
| 3024 | ac_cv_prog_ac_ct_CC="$ac_prog" | ||
| 3025 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 | ||
| 3026 | break 2 | ||
| 3027 | fi | ||
| 3028 | done | ||
| 3029 | done | ||
| 3030 | IFS=$as_save_IFS | ||
| 3031 | |||
| 3032 | fi | ||
| 3033 | fi | ||
| 3034 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
| 3035 | if test -n "$ac_ct_CC"; then | ||
| 3036 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | ||
| 3037 | printf "%s\n" "$ac_ct_CC" >&6; } | ||
| 3038 | else | ||
| 3039 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 3040 | printf "%s\n" "no" >&6; } | ||
| 3041 | fi | ||
| 3042 | |||
| 3043 | |||
| 3044 | test -n "$ac_ct_CC" && break | ||
| 3045 | done | ||
| 3046 | |||
| 3047 | if test "x$ac_ct_CC" = x; then | ||
| 3048 | CC="" | ||
| 3049 | else | ||
| 3050 | case $cross_compiling:$ac_tool_warned in | ||
| 3051 | yes:) | ||
| 3052 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
| 3053 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
| 3054 | ac_tool_warned=yes ;; | ||
| 3055 | esac | ||
| 3056 | CC=$ac_ct_CC | ||
| 3057 | fi | ||
| 3058 | fi | ||
| 3059 | |||
| 3060 | fi | ||
| 3061 | if test -z "$CC"; then | ||
| 3062 | if test -n "$ac_tool_prefix"; then | ||
| 3063 | # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. | ||
| 3064 | set dummy ${ac_tool_prefix}clang; ac_word=$2 | ||
| 3065 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 3066 | printf %s "checking for $ac_word... " >&6; } | ||
| 3067 | if test ${ac_cv_prog_CC+y} | ||
| 3068 | then : | ||
| 3069 | printf %s "(cached) " >&6 | ||
| 3070 | else $as_nop | ||
| 3071 | if test -n "$CC"; then | ||
| 3072 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 3073 | else | ||
| 3074 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 3075 | for as_dir in $PATH | ||
| 3076 | do | ||
| 3077 | IFS=$as_save_IFS | ||
| 3078 | case $as_dir in #((( | ||
| 3079 | '') as_dir=./ ;; | ||
| 3080 | */) ;; | ||
| 3081 | *) as_dir=$as_dir/ ;; | ||
| 3082 | esac | ||
| 3083 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3084 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then | ||
| 3085 | ac_cv_prog_CC="${ac_tool_prefix}clang" | ||
| 3086 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 | ||
| 3087 | break 2 | ||
| 3088 | fi | ||
| 3089 | done | ||
| 3090 | done | ||
| 3091 | IFS=$as_save_IFS | ||
| 3092 | |||
| 3093 | fi | ||
| 3094 | fi | ||
| 3095 | CC=$ac_cv_prog_CC | ||
| 3096 | if test -n "$CC"; then | ||
| 3097 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
| 3098 | printf "%s\n" "$CC" >&6; } | ||
| 3099 | else | ||
| 3100 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 3101 | printf "%s\n" "no" >&6; } | ||
| 3102 | fi | ||
| 3103 | |||
| 3104 | |||
| 3105 | fi | ||
| 3106 | if test -z "$ac_cv_prog_CC"; then | ||
| 3107 | ac_ct_CC=$CC | ||
| 3108 | # Extract the first word of "clang", so it can be a program name with args. | ||
| 3109 | set dummy clang; ac_word=$2 | ||
| 3110 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 3111 | printf %s "checking for $ac_word... " >&6; } | ||
| 3112 | if test ${ac_cv_prog_ac_ct_CC+y} | ||
| 3113 | then : | ||
| 3114 | printf %s "(cached) " >&6 | ||
| 3115 | else $as_nop | ||
| 3116 | if test -n "$ac_ct_CC"; then | ||
| 3117 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
| 3118 | else | ||
| 3119 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 3120 | for as_dir in $PATH | ||
| 3121 | do | ||
| 3122 | IFS=$as_save_IFS | ||
| 3123 | case $as_dir in #((( | ||
| 3124 | '') as_dir=./ ;; | ||
| 3125 | */) ;; | ||
| 3126 | *) as_dir=$as_dir/ ;; | ||
| 3127 | esac | ||
| 3128 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3129 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then | ||
| 3130 | ac_cv_prog_ac_ct_CC="clang" | ||
| 3131 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 | ||
| 3132 | break 2 | ||
| 3133 | fi | ||
| 3134 | done | ||
| 3135 | done | ||
| 3136 | IFS=$as_save_IFS | ||
| 3137 | |||
| 3138 | fi | ||
| 3139 | fi | ||
| 3140 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
| 3141 | if test -n "$ac_ct_CC"; then | ||
| 3142 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | ||
| 3143 | printf "%s\n" "$ac_ct_CC" >&6; } | ||
| 3144 | else | ||
| 3145 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 3146 | printf "%s\n" "no" >&6; } | ||
| 3147 | fi | ||
| 3148 | |||
| 3149 | if test "x$ac_ct_CC" = x; then | ||
| 3150 | CC="" | ||
| 3151 | else | ||
| 3152 | case $cross_compiling:$ac_tool_warned in | ||
| 3153 | yes:) | ||
| 3154 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
| 3155 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
| 3156 | ac_tool_warned=yes ;; | ||
| 3157 | esac | ||
| 3158 | CC=$ac_ct_CC | ||
| 3159 | fi | ||
| 3160 | else | ||
| 3161 | CC="$ac_cv_prog_CC" | ||
| 3162 | fi | ||
| 3163 | |||
| 3164 | fi | ||
| 3165 | |||
| 3166 | |||
| 3167 | test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 3168 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 3169 | as_fn_error $? "no acceptable C compiler found in \$PATH | ||
| 3170 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 3171 | |||
| 3172 | # Provide some information about the compiler. | ||
| 3173 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | ||
| 3174 | set X $ac_compile | ||
| 3175 | ac_compiler=$2 | ||
| 3176 | for ac_option in --version -v -V -qversion -version; do | ||
| 3177 | { { ac_try="$ac_compiler $ac_option >&5" | ||
| 3178 | case "(($ac_try" in | ||
| 3179 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3180 | *) ac_try_echo=$ac_try;; | ||
| 3181 | esac | ||
| 3182 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 3183 | printf "%s\n" "$ac_try_echo"; } >&5 | ||
| 3184 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | ||
| 3185 | ac_status=$? | ||
| 3186 | if test -s conftest.err; then | ||
| 3187 | sed '10a\ | ||
| 3188 | ... rest of stderr output deleted ... | ||
| 3189 | 10q' conftest.err >conftest.er1 | ||
| 3190 | cat conftest.er1 >&5 | ||
| 3191 | fi | ||
| 3192 | rm -f conftest.er1 conftest.err | ||
| 3193 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 3194 | test $ac_status = 0; } | ||
| 3195 | done | ||
| 3196 | |||
| 3197 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3198 | /* end confdefs.h. */ | ||
| 3199 | |||
| 3200 | int | ||
| 3201 | main (void) | ||
| 3202 | { | ||
| 3203 | |||
| 3204 | ; | ||
| 3205 | return 0; | ||
| 3206 | } | ||
| 3207 | _ACEOF | ||
| 3208 | ac_clean_files_save=$ac_clean_files | ||
| 3209 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | ||
| 3210 | # Try to create an executable without -o first, disregard a.out. | ||
| 3211 | # It will help us diagnose broken compilers, and finding out an intuition | ||
| 3212 | # of exeext. | ||
| 3213 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | ||
| 3214 | printf %s "checking whether the C compiler works... " >&6; } | ||
| 3215 | ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ||
| 3216 | |||
| 3217 | # The possible output files: | ||
| 3218 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | ||
| 3219 | |||
| 3220 | ac_rmfiles= | ||
| 3221 | for ac_file in $ac_files | ||
| 3222 | do | ||
| 3223 | case $ac_file in | ||
| 3224 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | ||
| 3225 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | ||
| 3226 | esac | ||
| 3227 | done | ||
| 3228 | rm -f $ac_rmfiles | ||
| 3229 | |||
| 3230 | if { { ac_try="$ac_link_default" | ||
| 3231 | case "(($ac_try" in | ||
| 3232 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3233 | *) ac_try_echo=$ac_try;; | ||
| 3234 | esac | ||
| 3235 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 3236 | printf "%s\n" "$ac_try_echo"; } >&5 | ||
| 3237 | (eval "$ac_link_default") 2>&5 | ||
| 3238 | ac_status=$? | ||
| 3239 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 3240 | test $ac_status = 0; } | ||
| 3241 | then : | ||
| 3242 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | ||
| 3243 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | ||
| 3244 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | ||
| 3245 | # so that the user can short-circuit this test for compilers unknown to | ||
| 3246 | # Autoconf. | ||
| 3247 | for ac_file in $ac_files '' | ||
| 3248 | do | ||
| 3249 | test -f "$ac_file" || continue | ||
| 3250 | case $ac_file in | ||
| 3251 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | ||
| 3252 | ;; | ||
| 3253 | [ab].out ) | ||
| 3254 | # We found the default executable, but exeext='' is most | ||
| 3255 | # certainly right. | ||
| 3256 | break;; | ||
| 3257 | *.* ) | ||
| 3258 | if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; | ||
| 3259 | then :; else | ||
| 3260 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
| 3261 | fi | ||
| 3262 | # We set ac_cv_exeext here because the later test for it is not | ||
| 3263 | # safe: cross compilers may not add the suffix if given an `-o' | ||
| 3264 | # argument, so we may need to know it at that point already. | ||
| 3265 | # Even if this section looks crufty: it has the advantage of | ||
| 3266 | # actually working. | ||
| 3267 | break;; | ||
| 3268 | * ) | ||
| 3269 | break;; | ||
| 3270 | esac | ||
| 3271 | done | ||
| 3272 | test "$ac_cv_exeext" = no && ac_cv_exeext= | ||
| 3273 | |||
| 3274 | else $as_nop | ||
| 3275 | ac_file='' | ||
| 3276 | fi | ||
| 3277 | if test -z "$ac_file" | ||
| 3278 | then : | ||
| 3279 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 3280 | printf "%s\n" "no" >&6; } | ||
| 3281 | printf "%s\n" "$as_me: failed program was:" >&5 | ||
| 3282 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3283 | |||
| 3284 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 3285 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 3286 | as_fn_error 77 "C compiler cannot create executables | ||
| 3287 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 3288 | else $as_nop | ||
| 3289 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
| 3290 | printf "%s\n" "yes" >&6; } | ||
| 3291 | fi | ||
| 3292 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | ||
| 3293 | printf %s "checking for C compiler default output file name... " >&6; } | ||
| 3294 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | ||
| 3295 | printf "%s\n" "$ac_file" >&6; } | ||
| 3296 | ac_exeext=$ac_cv_exeext | ||
| 3297 | |||
| 3298 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | ||
| 3299 | ac_clean_files=$ac_clean_files_save | ||
| 3300 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | ||
| 3301 | printf %s "checking for suffix of executables... " >&6; } | ||
| 3302 | if { { ac_try="$ac_link" | ||
| 3303 | case "(($ac_try" in | ||
| 3304 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3305 | *) ac_try_echo=$ac_try;; | ||
| 3306 | esac | ||
| 3307 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 3308 | printf "%s\n" "$ac_try_echo"; } >&5 | ||
| 3309 | (eval "$ac_link") 2>&5 | ||
| 3310 | ac_status=$? | ||
| 3311 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 3312 | test $ac_status = 0; } | ||
| 3313 | then : | ||
| 3314 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | ||
| 3315 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | ||
| 3316 | # work properly (i.e., refer to `conftest.exe'), while it won't with | ||
| 3317 | # `rm'. | ||
| 3318 | for ac_file in conftest.exe conftest conftest.*; do | ||
| 3319 | test -f "$ac_file" || continue | ||
| 3320 | case $ac_file in | ||
| 3321 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | ||
| 3322 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
| 3323 | break;; | ||
| 3324 | * ) break;; | ||
| 3325 | esac | ||
| 3326 | done | ||
| 3327 | else $as_nop | ||
| 3328 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 3329 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 3330 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link | ||
| 3331 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 3332 | fi | ||
| 3333 | rm -f conftest conftest$ac_cv_exeext | ||
| 3334 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | ||
| 3335 | printf "%s\n" "$ac_cv_exeext" >&6; } | ||
| 3336 | |||
| 3337 | rm -f conftest.$ac_ext | ||
| 3338 | EXEEXT=$ac_cv_exeext | ||
| 3339 | ac_exeext=$EXEEXT | ||
| 3340 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3341 | /* end confdefs.h. */ | ||
| 3342 | #include <stdio.h> | ||
| 3343 | int | ||
| 3344 | main (void) | ||
| 3345 | { | ||
| 3346 | FILE *f = fopen ("conftest.out", "w"); | ||
| 3347 | return ferror (f) || fclose (f) != 0; | ||
| 3348 | |||
| 3349 | ; | ||
| 3350 | return 0; | ||
| 3351 | } | ||
| 3352 | _ACEOF | ||
| 3353 | ac_clean_files="$ac_clean_files conftest.out" | ||
| 3354 | # Check that the compiler produces executables we can run. If not, either | ||
| 3355 | # the compiler is broken, or we cross compile. | ||
| 3356 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | ||
| 3357 | printf %s "checking whether we are cross compiling... " >&6; } | ||
| 3358 | if test "$cross_compiling" != yes; then | ||
| 3359 | { { ac_try="$ac_link" | ||
| 3360 | case "(($ac_try" in | ||
| 3361 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3362 | *) ac_try_echo=$ac_try;; | ||
| 3363 | esac | ||
| 3364 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 3365 | printf "%s\n" "$ac_try_echo"; } >&5 | ||
| 3366 | (eval "$ac_link") 2>&5 | ||
| 3367 | ac_status=$? | ||
| 3368 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 3369 | test $ac_status = 0; } | ||
| 3370 | if { ac_try='./conftest$ac_cv_exeext' | ||
| 3371 | { { case "(($ac_try" in | ||
| 3372 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3373 | *) ac_try_echo=$ac_try;; | ||
| 3374 | esac | ||
| 3375 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 3376 | printf "%s\n" "$ac_try_echo"; } >&5 | ||
| 3377 | (eval "$ac_try") 2>&5 | ||
| 3378 | ac_status=$? | ||
| 3379 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 3380 | test $ac_status = 0; }; }; then | ||
| 3381 | cross_compiling=no | ||
| 3382 | else | ||
| 3383 | if test "$cross_compiling" = maybe; then | ||
| 3384 | cross_compiling=yes | ||
| 3385 | else | ||
| 3386 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 3387 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 3388 | as_fn_error 77 "cannot run C compiled programs. | ||
| 3389 | If you meant to cross compile, use \`--host'. | ||
| 3390 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 3391 | fi | ||
| 3392 | fi | ||
| 3393 | fi | ||
| 3394 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | ||
| 3395 | printf "%s\n" "$cross_compiling" >&6; } | ||
| 3396 | |||
| 3397 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | ||
| 3398 | ac_clean_files=$ac_clean_files_save | ||
| 3399 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | ||
| 3400 | printf %s "checking for suffix of object files... " >&6; } | ||
| 3401 | if test ${ac_cv_objext+y} | ||
| 3402 | then : | ||
| 3403 | printf %s "(cached) " >&6 | ||
| 3404 | else $as_nop | ||
| 3405 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3406 | /* end confdefs.h. */ | ||
| 3407 | |||
| 3408 | int | ||
| 3409 | main (void) | ||
| 3410 | { | ||
| 3411 | |||
| 3412 | ; | ||
| 3413 | return 0; | ||
| 3414 | } | ||
| 3415 | _ACEOF | ||
| 3416 | rm -f conftest.o conftest.obj | ||
| 3417 | if { { ac_try="$ac_compile" | ||
| 3418 | case "(($ac_try" in | ||
| 3419 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3420 | *) ac_try_echo=$ac_try;; | ||
| 3421 | esac | ||
| 3422 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 3423 | printf "%s\n" "$ac_try_echo"; } >&5 | ||
| 3424 | (eval "$ac_compile") 2>&5 | ||
| 3425 | ac_status=$? | ||
| 3426 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 3427 | test $ac_status = 0; } | ||
| 3428 | then : | ||
| 3429 | for ac_file in conftest.o conftest.obj conftest.*; do | ||
| 3430 | test -f "$ac_file" || continue; | ||
| 3431 | case $ac_file in | ||
| 3432 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | ||
| 3433 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | ||
| 3434 | break;; | ||
| 3435 | esac | ||
| 3436 | done | ||
| 3437 | else $as_nop | ||
| 3438 | printf "%s\n" "$as_me: failed program was:" >&5 | ||
| 3439 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3440 | |||
| 3441 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 3442 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 3443 | as_fn_error $? "cannot compute suffix of object files: cannot compile | ||
| 3444 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 3445 | fi | ||
| 3446 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
| 3447 | fi | ||
| 3448 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | ||
| 3449 | printf "%s\n" "$ac_cv_objext" >&6; } | ||
| 3450 | OBJEXT=$ac_cv_objext | ||
| 3451 | ac_objext=$OBJEXT | ||
| 3452 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 | ||
| 3453 | printf %s "checking whether the compiler supports GNU C... " >&6; } | ||
| 3454 | if test ${ac_cv_c_compiler_gnu+y} | ||
| 3455 | then : | ||
| 3456 | printf %s "(cached) " >&6 | ||
| 3457 | else $as_nop | ||
| 3458 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3459 | /* end confdefs.h. */ | ||
| 3460 | |||
| 3461 | int | ||
| 3462 | main (void) | ||
| 3463 | { | ||
| 3464 | #ifndef __GNUC__ | ||
| 3465 | choke me | ||
| 3466 | #endif | ||
| 3467 | |||
| 3468 | ; | ||
| 3469 | return 0; | ||
| 3470 | } | ||
| 3471 | _ACEOF | ||
| 3472 | if ac_fn_c_try_compile "$LINENO" | ||
| 3473 | then : | ||
| 3474 | ac_compiler_gnu=yes | ||
| 3475 | else $as_nop | ||
| 3476 | ac_compiler_gnu=no | ||
| 3477 | fi | ||
| 3478 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 3479 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | ||
| 3480 | |||
| 3481 | fi | ||
| 3482 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | ||
| 3483 | printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } | ||
| 3484 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 3485 | |||
| 3486 | if test $ac_compiler_gnu = yes; then | ||
| 3487 | GCC=yes | ||
| 3488 | else | ||
| 3489 | GCC= | ||
| 3490 | fi | ||
| 3491 | ac_test_CFLAGS=${CFLAGS+y} | ||
| 3492 | ac_save_CFLAGS=$CFLAGS | ||
| 3493 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | ||
| 3494 | printf %s "checking whether $CC accepts -g... " >&6; } | ||
| 3495 | if test ${ac_cv_prog_cc_g+y} | ||
| 3496 | then : | ||
| 3497 | printf %s "(cached) " >&6 | ||
| 3498 | else $as_nop | ||
| 3499 | ac_save_c_werror_flag=$ac_c_werror_flag | ||
| 3500 | ac_c_werror_flag=yes | ||
| 3501 | ac_cv_prog_cc_g=no | ||
| 3502 | CFLAGS="-g" | ||
| 3503 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3504 | /* end confdefs.h. */ | ||
| 3505 | |||
| 3506 | int | ||
| 3507 | main (void) | ||
| 3508 | { | ||
| 3509 | |||
| 3510 | ; | ||
| 3511 | return 0; | ||
| 3512 | } | ||
| 3513 | _ACEOF | ||
| 3514 | if ac_fn_c_try_compile "$LINENO" | ||
| 3515 | then : | ||
| 3516 | ac_cv_prog_cc_g=yes | ||
| 3517 | else $as_nop | ||
| 3518 | CFLAGS="" | ||
| 3519 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3520 | /* end confdefs.h. */ | ||
| 3521 | |||
| 3522 | int | ||
| 3523 | main (void) | ||
| 3524 | { | ||
| 3525 | |||
| 3526 | ; | ||
| 3527 | return 0; | ||
| 3528 | } | ||
| 3529 | _ACEOF | ||
| 3530 | if ac_fn_c_try_compile "$LINENO" | ||
| 3531 | then : | ||
| 3532 | |||
| 3533 | else $as_nop | ||
| 3534 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
| 3535 | CFLAGS="-g" | ||
| 3536 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3537 | /* end confdefs.h. */ | ||
| 3538 | |||
| 3539 | int | ||
| 3540 | main (void) | ||
| 3541 | { | ||
| 3542 | |||
| 3543 | ; | ||
| 3544 | return 0; | ||
| 3545 | } | ||
| 3546 | _ACEOF | ||
| 3547 | if ac_fn_c_try_compile "$LINENO" | ||
| 3548 | then : | ||
| 3549 | ac_cv_prog_cc_g=yes | ||
| 3550 | fi | ||
| 3551 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 3552 | fi | ||
| 3553 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 3554 | fi | ||
| 3555 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 3556 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
| 3557 | fi | ||
| 3558 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | ||
| 3559 | printf "%s\n" "$ac_cv_prog_cc_g" >&6; } | ||
| 3560 | if test $ac_test_CFLAGS; then | ||
| 3561 | CFLAGS=$ac_save_CFLAGS | ||
| 3562 | elif test $ac_cv_prog_cc_g = yes; then | ||
| 3563 | if test "$GCC" = yes; then | ||
| 3564 | CFLAGS="-g -O2" | ||
| 3565 | else | ||
| 3566 | CFLAGS="-g" | ||
| 3567 | fi | ||
| 3568 | else | ||
| 3569 | if test "$GCC" = yes; then | ||
| 3570 | CFLAGS="-O2" | ||
| 3571 | else | ||
| 3572 | CFLAGS= | ||
| 3573 | fi | ||
| 3574 | fi | ||
| 3575 | ac_prog_cc_stdc=no | ||
| 3576 | if test x$ac_prog_cc_stdc = xno | ||
| 3577 | then : | ||
| 3578 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 | ||
| 3579 | printf %s "checking for $CC option to enable C11 features... " >&6; } | ||
| 3580 | if test ${ac_cv_prog_cc_c11+y} | ||
| 3581 | then : | ||
| 3582 | printf %s "(cached) " >&6 | ||
| 3583 | else $as_nop | ||
| 3584 | ac_cv_prog_cc_c11=no | ||
| 3585 | ac_save_CC=$CC | ||
| 3586 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3587 | /* end confdefs.h. */ | ||
| 3588 | $ac_c_conftest_c11_program | ||
| 3589 | _ACEOF | ||
| 3590 | for ac_arg in '' -std=gnu11 | ||
| 3591 | do | ||
| 3592 | CC="$ac_save_CC $ac_arg" | ||
| 3593 | if ac_fn_c_try_compile "$LINENO" | ||
| 3594 | then : | ||
| 3595 | ac_cv_prog_cc_c11=$ac_arg | ||
| 3596 | fi | ||
| 3597 | rm -f core conftest.err conftest.$ac_objext conftest.beam | ||
| 3598 | test "x$ac_cv_prog_cc_c11" != "xno" && break | ||
| 3599 | done | ||
| 3600 | rm -f conftest.$ac_ext | ||
| 3601 | CC=$ac_save_CC | ||
| 3602 | fi | ||
| 3603 | |||
| 3604 | if test "x$ac_cv_prog_cc_c11" = xno | ||
| 3605 | then : | ||
| 3606 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | ||
| 3607 | printf "%s\n" "unsupported" >&6; } | ||
| 3608 | else $as_nop | ||
| 3609 | if test "x$ac_cv_prog_cc_c11" = x | ||
| 3610 | then : | ||
| 3611 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | ||
| 3612 | printf "%s\n" "none needed" >&6; } | ||
| 3613 | else $as_nop | ||
| 3614 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 | ||
| 3615 | printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } | ||
| 3616 | CC="$CC $ac_cv_prog_cc_c11" | ||
| 3617 | fi | ||
| 3618 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 | ||
| 3619 | ac_prog_cc_stdc=c11 | ||
| 3620 | fi | ||
| 3621 | fi | ||
| 3622 | if test x$ac_prog_cc_stdc = xno | ||
| 3623 | then : | ||
| 3624 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 | ||
| 3625 | printf %s "checking for $CC option to enable C99 features... " >&6; } | ||
| 3626 | if test ${ac_cv_prog_cc_c99+y} | ||
| 3627 | then : | ||
| 3628 | printf %s "(cached) " >&6 | ||
| 3629 | else $as_nop | ||
| 3630 | ac_cv_prog_cc_c99=no | ||
| 3631 | ac_save_CC=$CC | ||
| 3632 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3633 | /* end confdefs.h. */ | ||
| 3634 | $ac_c_conftest_c99_program | ||
| 3635 | _ACEOF | ||
| 3636 | for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= | ||
| 3637 | do | ||
| 3638 | CC="$ac_save_CC $ac_arg" | ||
| 3639 | if ac_fn_c_try_compile "$LINENO" | ||
| 3640 | then : | ||
| 3641 | ac_cv_prog_cc_c99=$ac_arg | ||
| 3642 | fi | ||
| 3643 | rm -f core conftest.err conftest.$ac_objext conftest.beam | ||
| 3644 | test "x$ac_cv_prog_cc_c99" != "xno" && break | ||
| 3645 | done | ||
| 3646 | rm -f conftest.$ac_ext | ||
| 3647 | CC=$ac_save_CC | ||
| 3648 | fi | ||
| 3649 | |||
| 3650 | if test "x$ac_cv_prog_cc_c99" = xno | ||
| 3651 | then : | ||
| 3652 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | ||
| 3653 | printf "%s\n" "unsupported" >&6; } | ||
| 3654 | else $as_nop | ||
| 3655 | if test "x$ac_cv_prog_cc_c99" = x | ||
| 3656 | then : | ||
| 3657 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | ||
| 3658 | printf "%s\n" "none needed" >&6; } | ||
| 3659 | else $as_nop | ||
| 3660 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 | ||
| 3661 | printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } | ||
| 3662 | CC="$CC $ac_cv_prog_cc_c99" | ||
| 3663 | fi | ||
| 3664 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 | ||
| 3665 | ac_prog_cc_stdc=c99 | ||
| 3666 | fi | ||
| 3667 | fi | ||
| 3668 | if test x$ac_prog_cc_stdc = xno | ||
| 3669 | then : | ||
| 3670 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 | ||
| 3671 | printf %s "checking for $CC option to enable C89 features... " >&6; } | ||
| 3672 | if test ${ac_cv_prog_cc_c89+y} | ||
| 3673 | then : | ||
| 3674 | printf %s "(cached) " >&6 | ||
| 3675 | else $as_nop | ||
| 3676 | ac_cv_prog_cc_c89=no | ||
| 3677 | ac_save_CC=$CC | ||
| 3678 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3679 | /* end confdefs.h. */ | ||
| 3680 | $ac_c_conftest_c89_program | ||
| 3681 | _ACEOF | ||
| 3682 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
| 3683 | do | ||
| 3684 | CC="$ac_save_CC $ac_arg" | ||
| 3685 | if ac_fn_c_try_compile "$LINENO" | ||
| 3686 | then : | ||
| 3687 | ac_cv_prog_cc_c89=$ac_arg | ||
| 3688 | fi | ||
| 3689 | rm -f core conftest.err conftest.$ac_objext conftest.beam | ||
| 3690 | test "x$ac_cv_prog_cc_c89" != "xno" && break | ||
| 3691 | done | ||
| 3692 | rm -f conftest.$ac_ext | ||
| 3693 | CC=$ac_save_CC | ||
| 3694 | fi | ||
| 3695 | |||
| 3696 | if test "x$ac_cv_prog_cc_c89" = xno | ||
| 3697 | then : | ||
| 3698 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | ||
| 3699 | printf "%s\n" "unsupported" >&6; } | ||
| 3700 | else $as_nop | ||
| 3701 | if test "x$ac_cv_prog_cc_c89" = x | ||
| 3702 | then : | ||
| 3703 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | ||
| 3704 | printf "%s\n" "none needed" >&6; } | ||
| 3705 | else $as_nop | ||
| 3706 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | ||
| 3707 | printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } | ||
| 3708 | CC="$CC $ac_cv_prog_cc_c89" | ||
| 3709 | fi | ||
| 3710 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 | ||
| 3711 | ac_prog_cc_stdc=c89 | ||
| 3712 | fi | ||
| 3713 | fi | ||
| 3714 | |||
| 3715 | ac_ext=c | ||
| 3716 | ac_cpp='$CPP $CPPFLAGS' | ||
| 3717 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 3718 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 3719 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 3720 | |||
| 3721 | ac_ext=c | ||
| 3722 | ac_cpp='$CPP $CPPFLAGS' | ||
| 3723 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 3724 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 3725 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 3726 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | ||
| 3727 | printf %s "checking how to run the C preprocessor... " >&6; } | ||
| 3728 | # On Suns, sometimes $CPP names a directory. | ||
| 3729 | if test -n "$CPP" && test -d "$CPP"; then | ||
| 3730 | CPP= | ||
| 3731 | fi | ||
| 3732 | if test -z "$CPP"; then | ||
| 3733 | if test ${ac_cv_prog_CPP+y} | ||
| 3734 | then : | ||
| 3735 | printf %s "(cached) " >&6 | ||
| 3736 | else $as_nop | ||
| 3737 | # Double quotes because $CC needs to be expanded | ||
| 3738 | for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp | ||
| 3739 | do | ||
| 3740 | ac_preproc_ok=false | ||
| 3741 | for ac_c_preproc_warn_flag in '' yes | ||
| 3742 | do | ||
| 3743 | # Use a header file that comes with gcc, so configuring glibc | ||
| 3744 | # with a fresh cross-compiler works. | ||
| 3745 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
| 3746 | # not just through cpp. "Syntax error" is here to catch this case. | ||
| 3747 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3748 | /* end confdefs.h. */ | ||
| 3749 | #include <limits.h> | ||
| 3750 | Syntax error | ||
| 3751 | _ACEOF | ||
| 3752 | if ac_fn_c_try_cpp "$LINENO" | ||
| 3753 | then : | ||
| 3754 | |||
| 3755 | else $as_nop | ||
| 3756 | # Broken: fails on valid input. | ||
| 3757 | continue | ||
| 3758 | fi | ||
| 3759 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
| 3760 | |||
| 3761 | # OK, works on sane cases. Now check whether nonexistent headers | ||
| 3762 | # can be detected and how. | ||
| 3763 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3764 | /* end confdefs.h. */ | ||
| 3765 | #include <ac_nonexistent.h> | ||
| 3766 | _ACEOF | ||
| 3767 | if ac_fn_c_try_cpp "$LINENO" | ||
| 3768 | then : | ||
| 3769 | # Broken: success on invalid input. | ||
| 3770 | continue | ||
| 3771 | else $as_nop | ||
| 3772 | # Passes both tests. | ||
| 3773 | ac_preproc_ok=: | ||
| 3774 | break | ||
| 3775 | fi | ||
| 3776 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
| 3777 | |||
| 3778 | done | ||
| 3779 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
| 3780 | rm -f conftest.i conftest.err conftest.$ac_ext | ||
| 3781 | if $ac_preproc_ok | ||
| 3782 | then : | ||
| 3783 | break | ||
| 3784 | fi | ||
| 3785 | |||
| 3786 | done | ||
| 3787 | ac_cv_prog_CPP=$CPP | ||
| 3788 | |||
| 3789 | fi | ||
| 3790 | CPP=$ac_cv_prog_CPP | ||
| 3791 | else | ||
| 3792 | ac_cv_prog_CPP=$CPP | ||
| 3793 | fi | ||
| 3794 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | ||
| 3795 | printf "%s\n" "$CPP" >&6; } | ||
| 3796 | ac_preproc_ok=false | ||
| 3797 | for ac_c_preproc_warn_flag in '' yes | ||
| 3798 | do | ||
| 3799 | # Use a header file that comes with gcc, so configuring glibc | ||
| 3800 | # with a fresh cross-compiler works. | ||
| 3801 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
| 3802 | # not just through cpp. "Syntax error" is here to catch this case. | ||
| 3803 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3804 | /* end confdefs.h. */ | ||
| 3805 | #include <limits.h> | ||
| 3806 | Syntax error | ||
| 3807 | _ACEOF | ||
| 3808 | if ac_fn_c_try_cpp "$LINENO" | ||
| 3809 | then : | ||
| 3810 | |||
| 3811 | else $as_nop | ||
| 3812 | # Broken: fails on valid input. | ||
| 3813 | continue | ||
| 3814 | fi | ||
| 3815 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
| 3816 | |||
| 3817 | # OK, works on sane cases. Now check whether nonexistent headers | ||
| 3818 | # can be detected and how. | ||
| 3819 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3820 | /* end confdefs.h. */ | ||
| 3821 | #include <ac_nonexistent.h> | ||
| 3822 | _ACEOF | ||
| 3823 | if ac_fn_c_try_cpp "$LINENO" | ||
| 3824 | then : | ||
| 3825 | # Broken: success on invalid input. | ||
| 3826 | continue | ||
| 3827 | else $as_nop | ||
| 3828 | # Passes both tests. | ||
| 3829 | ac_preproc_ok=: | ||
| 3830 | break | ||
| 3831 | fi | ||
| 3832 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
| 3833 | |||
| 3834 | done | ||
| 3835 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
| 3836 | rm -f conftest.i conftest.err conftest.$ac_ext | ||
| 3837 | if $ac_preproc_ok | ||
| 3838 | then : | ||
| 3839 | |||
| 3840 | else $as_nop | ||
| 3841 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 3842 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 3843 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | ||
| 3844 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 3845 | fi | ||
| 3846 | |||
| 3847 | ac_ext=c | ||
| 3848 | ac_cpp='$CPP $CPPFLAGS' | ||
| 3849 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 3850 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 3851 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 3852 | |||
| 3853 | |||
| 3854 | |||
| 3855 | # Find a good install program. We prefer a C program (faster), | ||
| 3856 | # so one script is as good as another. But avoid the broken or | ||
| 3857 | # incompatible versions: | ||
| 3858 | # SysV /etc/install, /usr/sbin/install | ||
| 3859 | # SunOS /usr/etc/install | ||
| 3860 | # IRIX /sbin/install | ||
| 3861 | # AIX /bin/install | ||
| 3862 | # AmigaOS /C/install, which installs bootblocks on floppy discs | ||
| 3863 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | ||
| 3864 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | ||
| 3865 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||
| 3866 | # OS/2's system install, which has a completely different semantic | ||
| 3867 | # ./install, which can be erroneously created by make from ./install.sh. | ||
| 3868 | # Reject install programs that cannot install multiple files. | ||
| 3869 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | ||
| 3870 | printf %s "checking for a BSD-compatible install... " >&6; } | ||
| 3871 | if test -z "$INSTALL"; then | ||
| 3872 | if test ${ac_cv_path_install+y} | ||
| 3873 | then : | ||
| 3874 | printf %s "(cached) " >&6 | ||
| 3875 | else $as_nop | ||
| 3876 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 3877 | for as_dir in $PATH | ||
| 3878 | do | ||
| 3879 | IFS=$as_save_IFS | ||
| 3880 | case $as_dir in #((( | ||
| 3881 | '') as_dir=./ ;; | ||
| 3882 | */) ;; | ||
| 3883 | *) as_dir=$as_dir/ ;; | ||
| 3884 | esac | ||
| 3885 | # Account for fact that we put trailing slashes in our PATH walk. | ||
| 3886 | case $as_dir in #(( | ||
| 3887 | ./ | /[cC]/* | \ | ||
| 3888 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | ||
| 3889 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | ||
| 3890 | /usr/ucb/* ) ;; | ||
| 3891 | *) | ||
| 3892 | # OSF1 and SCO ODT 3.0 have their own names for install. | ||
| 3893 | # Don't use installbsd from OSF since it installs stuff as root | ||
| 3894 | # by default. | ||
| 3895 | for ac_prog in ginstall scoinst install; do | ||
| 3896 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3897 | if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then | ||
| 3898 | if test $ac_prog = install && | ||
| 3899 | grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
| 3900 | # AIX install. It has an incompatible calling convention. | ||
| 3901 | : | ||
| 3902 | elif test $ac_prog = install && | ||
| 3903 | grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
| 3904 | # program-specific install script used by HP pwplus--don't use. | ||
| 3905 | : | ||
| 3906 | else | ||
| 3907 | rm -rf conftest.one conftest.two conftest.dir | ||
| 3908 | echo one > conftest.one | ||
| 3909 | echo two > conftest.two | ||
| 3910 | mkdir conftest.dir | ||
| 3911 | if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && | ||
| 3912 | test -s conftest.one && test -s conftest.two && | ||
| 3913 | test -s conftest.dir/conftest.one && | ||
| 3914 | test -s conftest.dir/conftest.two | ||
| 3915 | then | ||
| 3916 | ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" | ||
| 3917 | break 3 | ||
| 3918 | fi | ||
| 3919 | fi | ||
| 3920 | fi | ||
| 3921 | done | ||
| 3922 | done | ||
| 3923 | ;; | ||
| 3924 | esac | ||
| 3925 | |||
| 3926 | done | ||
| 3927 | IFS=$as_save_IFS | ||
| 3928 | |||
| 3929 | rm -rf conftest.one conftest.two conftest.dir | ||
| 3930 | |||
| 3931 | fi | ||
| 3932 | if test ${ac_cv_path_install+y}; then | ||
| 3933 | INSTALL=$ac_cv_path_install | ||
| 3934 | else | ||
| 3935 | # As a last resort, use the slow shell script. Don't cache a | ||
| 3936 | # value for INSTALL within a source directory, because that will | ||
| 3937 | # break other packages using the cache if that directory is | ||
| 3938 | # removed, or if the value is a relative name. | ||
| 3939 | INSTALL=$ac_install_sh | ||
| 3940 | fi | ||
| 3941 | fi | ||
| 3942 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | ||
| 3943 | printf "%s\n" "$INSTALL" >&6; } | ||
| 3944 | |||
| 3945 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | ||
| 3946 | # It thinks the first close brace ends the variable substitution. | ||
| 3947 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
| 3948 | |||
| 3949 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
| 3950 | |||
| 3951 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||
| 3952 | |||
| 3953 | |||
| 3954 | |||
| 3955 | ac_header= ac_cache= | ||
| 3956 | for ac_item in $ac_header_c_list | ||
| 3957 | do | ||
| 3958 | if test $ac_cache; then | ||
| 3959 | ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" | ||
| 3960 | if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then | ||
| 3961 | printf "%s\n" "#define $ac_item 1" >> confdefs.h | ||
| 3962 | fi | ||
| 3963 | ac_header= ac_cache= | ||
| 3964 | elif test $ac_header; then | ||
| 3965 | ac_cache=$ac_item | ||
| 3966 | else | ||
| 3967 | ac_header=$ac_item | ||
| 3968 | fi | ||
| 3969 | done | ||
| 3970 | |||
| 3971 | |||
| 3972 | |||
| 3973 | |||
| 3974 | |||
| 3975 | |||
| 3976 | |||
| 3977 | |||
| 3978 | if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes | ||
| 3979 | then : | ||
| 3980 | |||
| 3981 | printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h | ||
| 3982 | |||
| 3983 | fi | ||
| 3984 | ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" | ||
| 3985 | case $ac_cv_c_uint8_t in #( | ||
| 3986 | no|yes) ;; #( | ||
| 3987 | *) | ||
| 3988 | |||
| 3989 | printf "%s\n" "#define _UINT8_T 1" >>confdefs.h | ||
| 3990 | |||
| 3991 | |||
| 3992 | printf "%s\n" "#define uint8_t $ac_cv_c_uint8_t" >>confdefs.h | ||
| 3993 | ;; | ||
| 3994 | esac | ||
| 3995 | |||
| 3996 | ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" | ||
| 3997 | case $ac_cv_c_uint16_t in #( | ||
| 3998 | no|yes) ;; #( | ||
| 3999 | *) | ||
| 4000 | |||
| 4001 | |||
| 4002 | printf "%s\n" "#define uint16_t $ac_cv_c_uint16_t" >>confdefs.h | ||
| 4003 | ;; | ||
| 4004 | esac | ||
| 4005 | |||
| 4006 | ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" | ||
| 4007 | case $ac_cv_c_uint32_t in #( | ||
| 4008 | no|yes) ;; #( | ||
| 4009 | *) | ||
| 4010 | |||
| 4011 | printf "%s\n" "#define _UINT32_T 1" >>confdefs.h | ||
| 4012 | |||
| 4013 | |||
| 4014 | printf "%s\n" "#define uint32_t $ac_cv_c_uint32_t" >>confdefs.h | ||
| 4015 | ;; | ||
| 4016 | esac | ||
| 4017 | |||
| 4018 | ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" | ||
| 4019 | case $ac_cv_c_uint64_t in #( | ||
| 4020 | no|yes) ;; #( | ||
| 4021 | *) | ||
| 4022 | |||
| 4023 | printf "%s\n" "#define _UINT64_T 1" >>confdefs.h | ||
| 4024 | |||
| 4025 | |||
| 4026 | printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h | ||
| 4027 | ;; | ||
| 4028 | esac | ||
| 4029 | |||
| 4030 | |||
| 4031 | ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default" | ||
| 4032 | if test "x$ac_cv_type_uintptr_t" = xyes | ||
| 4033 | then : | ||
| 4034 | |||
| 4035 | printf "%s\n" "#define HAVE_UINTPTR_T 1" >>confdefs.h | ||
| 4036 | |||
| 4037 | else $as_nop | ||
| 4038 | for ac_type in 'unsigned int' 'unsigned long int' \ | ||
| 4039 | 'unsigned long long int'; do | ||
| 4040 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 4041 | /* end confdefs.h. */ | ||
| 4042 | $ac_includes_default | ||
| 4043 | int | ||
| 4044 | main (void) | ||
| 4045 | { | ||
| 4046 | static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))]; | ||
| 4047 | test_array [0] = 0; | ||
| 4048 | return test_array [0]; | ||
| 4049 | |||
| 4050 | ; | ||
| 4051 | return 0; | ||
| 4052 | } | ||
| 4053 | _ACEOF | ||
| 4054 | if ac_fn_c_try_compile "$LINENO" | ||
| 4055 | then : | ||
| 4056 | |||
| 4057 | printf "%s\n" "#define uintptr_t $ac_type" >>confdefs.h | ||
| 4058 | |||
| 4059 | ac_type= | ||
| 4060 | fi | ||
| 4061 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 4062 | test -z "$ac_type" && break | ||
| 4063 | done | ||
| 4064 | fi | ||
| 4065 | |||
| 4066 | |||
| 4067 | |||
| 4068 | ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default | ||
| 4069 | " | ||
| 4070 | if test "x$ac_cv_type_pid_t" = xyes | ||
| 4071 | then : | ||
| 4072 | |||
| 4073 | else $as_nop | ||
| 4074 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 4075 | /* end confdefs.h. */ | ||
| 4076 | |||
| 4077 | #if defined _WIN64 && !defined __CYGWIN__ | ||
| 4078 | LLP64 | ||
| 4079 | #endif | ||
| 4080 | |||
| 4081 | int | ||
| 4082 | main (void) | ||
| 4083 | { | ||
| 4084 | |||
| 4085 | ; | ||
| 4086 | return 0; | ||
| 4087 | } | ||
| 4088 | |||
| 4089 | _ACEOF | ||
| 4090 | if ac_fn_c_try_compile "$LINENO" | ||
| 4091 | then : | ||
| 4092 | ac_pid_type='int' | ||
| 4093 | else $as_nop | ||
| 4094 | ac_pid_type='__int64' | ||
| 4095 | fi | ||
| 4096 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 4097 | |||
| 4098 | printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h | ||
| 4099 | |||
| 4100 | |||
| 4101 | fi | ||
| 4102 | |||
| 4103 | |||
| 4104 | |||
| 4105 | ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" | ||
| 4106 | if test "x$ac_cv_type__Bool" = xyes | ||
| 4107 | then : | ||
| 4108 | |||
| 4109 | printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h | ||
| 4110 | |||
| 4111 | |||
| 4112 | fi | ||
| 4113 | |||
| 4114 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 | ||
| 4115 | printf %s "checking for stdbool.h that conforms to C99... " >&6; } | ||
| 4116 | if test ${ac_cv_header_stdbool_h+y} | ||
| 4117 | then : | ||
| 4118 | printf %s "(cached) " >&6 | ||
| 4119 | else $as_nop | ||
| 4120 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 4121 | /* end confdefs.h. */ | ||
| 4122 | #include <stdbool.h> | ||
| 4123 | |||
| 4124 | #ifndef __bool_true_false_are_defined | ||
| 4125 | #error "__bool_true_false_are_defined is not defined" | ||
| 4126 | #endif | ||
| 4127 | char a[__bool_true_false_are_defined == 1 ? 1 : -1]; | ||
| 4128 | |||
| 4129 | /* Regardless of whether this is C++ or "_Bool" is a | ||
| 4130 | valid type name, "true" and "false" should be usable | ||
| 4131 | in #if expressions and integer constant expressions, | ||
| 4132 | and "bool" should be a valid type name. */ | ||
| 4133 | |||
| 4134 | #if !true | ||
| 4135 | #error "'true' is not true" | ||
| 4136 | #endif | ||
| 4137 | #if true != 1 | ||
| 4138 | #error "'true' is not equal to 1" | ||
| 4139 | #endif | ||
| 4140 | char b[true == 1 ? 1 : -1]; | ||
| 4141 | char c[true]; | ||
| 4142 | |||
| 4143 | #if false | ||
| 4144 | #error "'false' is not false" | ||
| 4145 | #endif | ||
| 4146 | #if false != 0 | ||
| 4147 | #error "'false' is not equal to 0" | ||
| 4148 | #endif | ||
| 4149 | char d[false == 0 ? 1 : -1]; | ||
| 4150 | |||
| 4151 | enum { e = false, f = true, g = false * true, h = true * 256 }; | ||
| 4152 | |||
| 4153 | char i[(bool) 0.5 == true ? 1 : -1]; | ||
| 4154 | char j[(bool) 0.0 == false ? 1 : -1]; | ||
| 4155 | char k[sizeof (bool) > 0 ? 1 : -1]; | ||
| 4156 | |||
| 4157 | struct sb { bool s: 1; bool t; } s; | ||
| 4158 | char l[sizeof s.t > 0 ? 1 : -1]; | ||
| 4159 | |||
| 4160 | /* The following fails for | ||
| 4161 | HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ | ||
| 4162 | bool m[h]; | ||
| 4163 | char n[sizeof m == h * sizeof m[0] ? 1 : -1]; | ||
| 4164 | char o[-1 - (bool) 0 < 0 ? 1 : -1]; | ||
| 4165 | /* Catch a bug in an HP-UX C compiler. See | ||
| 4166 | https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html | ||
| 4167 | https://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html | ||
| 4168 | */ | ||
| 4169 | bool p = true; | ||
| 4170 | bool *pp = &p; | ||
| 4171 | |||
| 4172 | /* C 1999 specifies that bool, true, and false are to be | ||
| 4173 | macros, but C++ 2011 and later overrule this. */ | ||
| 4174 | #if __cplusplus < 201103 | ||
| 4175 | #ifndef bool | ||
| 4176 | #error "bool is not defined" | ||
| 4177 | #endif | ||
| 4178 | #ifndef false | ||
| 4179 | #error "false is not defined" | ||
| 4180 | #endif | ||
| 4181 | #ifndef true | ||
| 4182 | #error "true is not defined" | ||
| 4183 | #endif | ||
| 4184 | #endif | ||
| 4185 | |||
| 4186 | /* If _Bool is available, repeat with it all the tests | ||
| 4187 | above that used bool. */ | ||
| 4188 | #ifdef HAVE__BOOL | ||
| 4189 | struct sB { _Bool s: 1; _Bool t; } t; | ||
| 4190 | |||
| 4191 | char q[(_Bool) 0.5 == true ? 1 : -1]; | ||
| 4192 | char r[(_Bool) 0.0 == false ? 1 : -1]; | ||
| 4193 | char u[sizeof (_Bool) > 0 ? 1 : -1]; | ||
| 4194 | char v[sizeof t.t > 0 ? 1 : -1]; | ||
| 4195 | |||
| 4196 | _Bool w[h]; | ||
| 4197 | char x[sizeof m == h * sizeof m[0] ? 1 : -1]; | ||
| 4198 | char y[-1 - (_Bool) 0 < 0 ? 1 : -1]; | ||
| 4199 | _Bool z = true; | ||
| 4200 | _Bool *pz = &p; | ||
| 4201 | #endif | ||
| 4202 | |||
| 4203 | int | ||
| 4204 | main (void) | ||
| 4205 | { | ||
| 4206 | |||
| 4207 | bool ps = &s; | ||
| 4208 | *pp |= p; | ||
| 4209 | *pp |= ! p; | ||
| 4210 | |||
| 4211 | #ifdef HAVE__BOOL | ||
| 4212 | _Bool pt = &t; | ||
| 4213 | *pz |= z; | ||
| 4214 | *pz |= ! z; | ||
| 4215 | #endif | ||
| 4216 | |||
| 4217 | /* Refer to every declared value, so they cannot be | ||
| 4218 | discarded as unused. */ | ||
| 4219 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k | ||
| 4220 | + !l + !m + !n + !o + !p + !pp + !ps | ||
| 4221 | #ifdef HAVE__BOOL | ||
| 4222 | + !q + !r + !u + !v + !w + !x + !y + !z + !pt | ||
| 4223 | #endif | ||
| 4224 | ); | ||
| 4225 | |||
| 4226 | ; | ||
| 4227 | return 0; | ||
| 4228 | } | ||
| 4229 | _ACEOF | ||
| 4230 | if ac_fn_c_try_compile "$LINENO" | ||
| 4231 | then : | ||
| 4232 | ac_cv_header_stdbool_h=yes | ||
| 4233 | else $as_nop | ||
| 4234 | ac_cv_header_stdbool_h=no | ||
| 4235 | fi | ||
| 4236 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 4237 | fi | ||
| 4238 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 | ||
| 4239 | printf "%s\n" "$ac_cv_header_stdbool_h" >&6; } | ||
| 4240 | |||
| 4241 | if test $ac_cv_header_stdbool_h = yes; then | ||
| 4242 | |||
| 4243 | printf "%s\n" "#define HAVE_STDBOOL_H 1" >>confdefs.h | ||
| 4244 | |||
| 4245 | fi | ||
| 4246 | |||
| 4247 | ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" | ||
| 4248 | if test "x$ac_cv_func_getpagesize" = xyes | ||
| 4249 | then : | ||
| 4250 | |||
| 4251 | fi | ||
| 4252 | |||
| 4253 | |||
| 4254 | |||
| 4255 | |||
| 4256 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 | ||
| 4257 | printf %s "checking whether byte ordering is bigendian... " >&6; } | ||
| 4258 | if test ${ac_cv_c_bigendian+y} | ||
| 4259 | then : | ||
| 4260 | printf %s "(cached) " >&6 | ||
| 4261 | else $as_nop | ||
| 4262 | ac_cv_c_bigendian=unknown | ||
| 4263 | # See if we're dealing with a universal compiler. | ||
| 4264 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 4265 | /* end confdefs.h. */ | ||
| 4266 | #ifndef __APPLE_CC__ | ||
| 4267 | not a universal capable compiler | ||
| 4268 | #endif | ||
| 4269 | typedef int dummy; | ||
| 4270 | |||
| 4271 | _ACEOF | ||
| 4272 | if ac_fn_c_try_compile "$LINENO" | ||
| 4273 | then : | ||
| 4274 | |||
| 4275 | # Check for potential -arch flags. It is not universal unless | ||
| 4276 | # there are at least two -arch flags with different values. | ||
| 4277 | ac_arch= | ||
| 4278 | ac_prev= | ||
| 4279 | for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do | ||
| 4280 | if test -n "$ac_prev"; then | ||
| 4281 | case $ac_word in | ||
| 4282 | i?86 | x86_64 | ppc | ppc64) | ||
| 4283 | if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then | ||
| 4284 | ac_arch=$ac_word | ||
| 4285 | else | ||
| 4286 | ac_cv_c_bigendian=universal | ||
| 4287 | break | ||
| 4288 | fi | ||
| 4289 | ;; | ||
| 4290 | esac | ||
| 4291 | ac_prev= | ||
| 4292 | elif test "x$ac_word" = "x-arch"; then | ||
| 4293 | ac_prev=arch | ||
| 4294 | fi | ||
| 4295 | done | ||
| 4296 | fi | ||
| 4297 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 4298 | if test $ac_cv_c_bigendian = unknown; then | ||
| 4299 | # See if sys/param.h defines the BYTE_ORDER macro. | ||
| 4300 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 4301 | /* end confdefs.h. */ | ||
| 4302 | #include <sys/types.h> | ||
| 4303 | #include <sys/param.h> | ||
| 4304 | |||
| 4305 | int | ||
| 4306 | main (void) | ||
| 4307 | { | ||
| 4308 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ | ||
| 4309 | && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ | ||
| 4310 | && LITTLE_ENDIAN) | ||
| 4311 | bogus endian macros | ||
| 4312 | #endif | ||
| 4313 | |||
| 4314 | ; | ||
| 4315 | return 0; | ||
| 4316 | } | ||
| 4317 | _ACEOF | ||
| 4318 | if ac_fn_c_try_compile "$LINENO" | ||
| 4319 | then : | ||
| 4320 | # It does; now see whether it defined to BIG_ENDIAN or not. | ||
| 4321 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 4322 | /* end confdefs.h. */ | ||
| 4323 | #include <sys/types.h> | ||
| 4324 | #include <sys/param.h> | ||
| 4325 | |||
| 4326 | int | ||
| 4327 | main (void) | ||
| 4328 | { | ||
| 4329 | #if BYTE_ORDER != BIG_ENDIAN | ||
| 4330 | not big endian | ||
| 4331 | #endif | ||
| 4332 | |||
| 4333 | ; | ||
| 4334 | return 0; | ||
| 4335 | } | ||
| 4336 | _ACEOF | ||
| 4337 | if ac_fn_c_try_compile "$LINENO" | ||
| 4338 | then : | ||
| 4339 | ac_cv_c_bigendian=yes | ||
| 4340 | else $as_nop | ||
| 4341 | ac_cv_c_bigendian=no | ||
| 4342 | fi | ||
| 4343 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 4344 | fi | ||
| 4345 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 4346 | fi | ||
| 4347 | if test $ac_cv_c_bigendian = unknown; then | ||
| 4348 | # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). | ||
| 4349 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 4350 | /* end confdefs.h. */ | ||
| 4351 | #include <limits.h> | ||
| 4352 | |||
| 4353 | int | ||
| 4354 | main (void) | ||
| 4355 | { | ||
| 4356 | #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) | ||
| 4357 | bogus endian macros | ||
| 4358 | #endif | ||
| 4359 | |||
| 4360 | ; | ||
| 4361 | return 0; | ||
| 4362 | } | ||
| 4363 | _ACEOF | ||
| 4364 | if ac_fn_c_try_compile "$LINENO" | ||
| 4365 | then : | ||
| 4366 | # It does; now see whether it defined to _BIG_ENDIAN or not. | ||
| 4367 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 4368 | /* end confdefs.h. */ | ||
| 4369 | #include <limits.h> | ||
| 4370 | |||
| 4371 | int | ||
| 4372 | main (void) | ||
| 4373 | { | ||
| 4374 | #ifndef _BIG_ENDIAN | ||
| 4375 | not big endian | ||
| 4376 | #endif | ||
| 4377 | |||
| 4378 | ; | ||
| 4379 | return 0; | ||
| 4380 | } | ||
| 4381 | _ACEOF | ||
| 4382 | if ac_fn_c_try_compile "$LINENO" | ||
| 4383 | then : | ||
| 4384 | ac_cv_c_bigendian=yes | ||
| 4385 | else $as_nop | ||
| 4386 | ac_cv_c_bigendian=no | ||
| 4387 | fi | ||
| 4388 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 4389 | fi | ||
| 4390 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 4391 | fi | ||
| 4392 | if test $ac_cv_c_bigendian = unknown; then | ||
| 4393 | # Compile a test program. | ||
| 4394 | if test "$cross_compiling" = yes | ||
| 4395 | then : | ||
| 4396 | # Try to guess by grepping values from an object file. | ||
| 4397 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 4398 | /* end confdefs.h. */ | ||
| 4399 | unsigned short int ascii_mm[] = | ||
| 4400 | { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | ||
| 4401 | unsigned short int ascii_ii[] = | ||
| 4402 | { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | ||
| 4403 | int use_ascii (int i) { | ||
| 4404 | return ascii_mm[i] + ascii_ii[i]; | ||
| 4405 | } | ||
| 4406 | unsigned short int ebcdic_ii[] = | ||
| 4407 | { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | ||
| 4408 | unsigned short int ebcdic_mm[] = | ||
| 4409 | { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | ||
| 4410 | int use_ebcdic (int i) { | ||
| 4411 | return ebcdic_mm[i] + ebcdic_ii[i]; | ||
| 4412 | } | ||
| 4413 | extern int foo; | ||
| 4414 | |||
| 4415 | int | ||
| 4416 | main (void) | ||
| 4417 | { | ||
| 4418 | return use_ascii (foo) == use_ebcdic (foo); | ||
| 4419 | ; | ||
| 4420 | return 0; | ||
| 4421 | } | ||
| 4422 | _ACEOF | ||
| 4423 | if ac_fn_c_try_compile "$LINENO" | ||
| 4424 | then : | ||
| 4425 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then | ||
| 4426 | ac_cv_c_bigendian=yes | ||
| 4427 | fi | ||
| 4428 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | ||
| 4429 | if test "$ac_cv_c_bigendian" = unknown; then | ||
| 4430 | ac_cv_c_bigendian=no | ||
| 4431 | else | ||
| 4432 | # finding both strings is unlikely to happen, but who knows? | ||
| 4433 | ac_cv_c_bigendian=unknown | ||
| 4434 | fi | ||
| 4435 | fi | ||
| 4436 | fi | ||
| 4437 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 4438 | else $as_nop | ||
| 4439 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 4440 | /* end confdefs.h. */ | ||
| 4441 | $ac_includes_default | ||
| 4442 | int | ||
| 4443 | main (void) | ||
| 4444 | { | ||
| 4445 | |||
| 4446 | /* Are we little or big endian? From Harbison&Steele. */ | ||
| 4447 | union | ||
| 4448 | { | ||
| 4449 | long int l; | ||
| 4450 | char c[sizeof (long int)]; | ||
| 4451 | } u; | ||
| 4452 | u.l = 1; | ||
| 4453 | return u.c[sizeof (long int) - 1] == 1; | ||
| 4454 | |||
| 4455 | ; | ||
| 4456 | return 0; | ||
| 4457 | } | ||
| 4458 | _ACEOF | ||
| 4459 | if ac_fn_c_try_run "$LINENO" | ||
| 4460 | then : | ||
| 4461 | ac_cv_c_bigendian=no | ||
| 4462 | else $as_nop | ||
| 4463 | ac_cv_c_bigendian=yes | ||
| 4464 | fi | ||
| 4465 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
| 4466 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 4467 | fi | ||
| 4468 | |||
| 4469 | fi | ||
| 4470 | fi | ||
| 4471 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 | ||
| 4472 | printf "%s\n" "$ac_cv_c_bigendian" >&6; } | ||
| 4473 | case $ac_cv_c_bigendian in #( | ||
| 4474 | yes) | ||
| 4475 | printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h | ||
| 4476 | ;; #( | ||
| 4477 | no) | ||
| 4478 | ;; #( | ||
| 4479 | universal) | ||
| 4480 | |||
| 4481 | printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h | ||
| 4482 | |||
| 4483 | ;; #( | ||
| 4484 | *) | ||
| 4485 | as_fn_error $? "unknown endianness | ||
| 4486 | presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; | ||
| 4487 | esac | ||
| 4488 | |||
| 4489 | |||
| 4490 | |||
| 4491 | |||
| 4492 | |||
| 4493 | |||
| 4494 | |||
| 4495 | |||
| 4496 | |||
| 4497 | |||
| 4498 | |||
| 4499 | |||
| 4500 | |||
| 4501 | |||
| 4502 | |||
| 4503 | |||
| 4504 | |||
| 4505 | |||
| 4506 | |||
| 4507 | |||
| 4508 | |||
| 4509 | |||
| 4510 | # Make sure we can run config.sub. | ||
| 4511 | $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || | ||
| 4512 | as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 | ||
| 4513 | |||
| 4514 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | ||
| 4515 | printf %s "checking build system type... " >&6; } | ||
| 4516 | if test ${ac_cv_build+y} | ||
| 4517 | then : | ||
| 4518 | printf %s "(cached) " >&6 | ||
| 4519 | else $as_nop | ||
| 4520 | ac_build_alias=$build_alias | ||
| 4521 | test "x$ac_build_alias" = x && | ||
| 4522 | ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` | ||
| 4523 | test "x$ac_build_alias" = x && | ||
| 4524 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | ||
| 4525 | ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || | ||
| 4526 | as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 | ||
| 4527 | |||
| 4528 | fi | ||
| 4529 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | ||
| 4530 | printf "%s\n" "$ac_cv_build" >&6; } | ||
| 4531 | case $ac_cv_build in | ||
| 4532 | *-*-*) ;; | ||
| 4533 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | ||
| 4534 | esac | ||
| 4535 | build=$ac_cv_build | ||
| 4536 | ac_save_IFS=$IFS; IFS='-' | ||
| 4537 | set x $ac_cv_build | ||
| 4538 | shift | ||
| 4539 | build_cpu=$1 | ||
| 4540 | build_vendor=$2 | ||
| 4541 | shift; shift | ||
| 4542 | # Remember, the first character of IFS is used to create $*, | ||
| 4543 | # except with old shells: | ||
| 4544 | build_os=$* | ||
| 4545 | IFS=$ac_save_IFS | ||
| 4546 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | ||
| 4547 | |||
| 4548 | |||
| 4549 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | ||
| 4550 | printf %s "checking host system type... " >&6; } | ||
| 4551 | if test ${ac_cv_host+y} | ||
| 4552 | then : | ||
| 4553 | printf %s "(cached) " >&6 | ||
| 4554 | else $as_nop | ||
| 4555 | if test "x$host_alias" = x; then | ||
| 4556 | ac_cv_host=$ac_cv_build | ||
| 4557 | else | ||
| 4558 | ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || | ||
| 4559 | as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 | ||
| 4560 | fi | ||
| 4561 | |||
| 4562 | fi | ||
| 4563 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | ||
| 4564 | printf "%s\n" "$ac_cv_host" >&6; } | ||
| 4565 | case $ac_cv_host in | ||
| 4566 | *-*-*) ;; | ||
| 4567 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | ||
| 4568 | esac | ||
| 4569 | host=$ac_cv_host | ||
| 4570 | ac_save_IFS=$IFS; IFS='-' | ||
| 4571 | set x $ac_cv_host | ||
| 4572 | shift | ||
| 4573 | host_cpu=$1 | ||
| 4574 | host_vendor=$2 | ||
| 4575 | shift; shift | ||
| 4576 | # Remember, the first character of IFS is used to create $*, | ||
| 4577 | # except with old shells: | ||
| 4578 | host_os=$* | ||
| 4579 | IFS=$ac_save_IFS | ||
| 4580 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | ||
| 4581 | |||
| 4582 | |||
| 4583 | |||
| 4584 | # Look for required tools. | ||
| 4585 | |||
| 4586 | |||
| 4587 | |||
| 4588 | |||
| 4589 | |||
| 4590 | # Check for a working m4. | ||
| 4591 | for ac_prog in gm4 m4 | ||
| 4592 | do | ||
| 4593 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
| 4594 | set dummy $ac_prog; ac_word=$2 | ||
| 4595 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 4596 | printf %s "checking for $ac_word... " >&6; } | ||
| 4597 | if test ${ac_cv_prog_M4+y} | ||
| 4598 | then : | ||
| 4599 | printf %s "(cached) " >&6 | ||
| 4600 | else $as_nop | ||
| 4601 | if test -n "$M4"; then | ||
| 4602 | ac_cv_prog_M4="$M4" # Let the user override the test. | ||
| 4603 | else | ||
| 4604 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 4605 | for as_dir in $PATH | ||
| 4606 | do | ||
| 4607 | IFS=$as_save_IFS | ||
| 4608 | case $as_dir in #((( | ||
| 4609 | '') as_dir=./ ;; | ||
| 4610 | */) ;; | ||
| 4611 | *) as_dir=$as_dir/ ;; | ||
| 4612 | esac | ||
| 4613 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 4614 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then | ||
| 4615 | ac_cv_prog_M4="$ac_prog" | ||
| 4616 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 | ||
| 4617 | break 2 | ||
| 4618 | fi | ||
| 4619 | done | ||
| 4620 | done | ||
| 4621 | IFS=$as_save_IFS | ||
| 4622 | |||
| 4623 | fi | ||
| 4624 | fi | ||
| 4625 | M4=$ac_cv_prog_M4 | ||
| 4626 | if test -n "$M4"; then | ||
| 4627 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $M4" >&5 | ||
| 4628 | printf "%s\n" "$M4" >&6; } | ||
| 4629 | else | ||
| 4630 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 4631 | printf "%s\n" "no" >&6; } | ||
| 4632 | fi | ||
| 4633 | |||
| 4634 | |||
| 4635 | test -n "$M4" && break | ||
| 4636 | done | ||
| 4637 | test -n "$M4" || M4="as_fn_error $? "Cannot find m4" "$LINENO" 5" | ||
| 4638 | |||
| 4639 | |||
| 4640 | # Check for a working assembler. | ||
| 4641 | if test -n "$ac_tool_prefix"; then | ||
| 4642 | # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | ||
| 4643 | set dummy ${ac_tool_prefix}as; ac_word=$2 | ||
| 4644 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 4645 | printf %s "checking for $ac_word... " >&6; } | ||
| 4646 | if test ${ac_cv_prog_AS+y} | ||
| 4647 | then : | ||
| 4648 | printf %s "(cached) " >&6 | ||
| 4649 | else $as_nop | ||
| 4650 | if test -n "$AS"; then | ||
| 4651 | ac_cv_prog_AS="$AS" # Let the user override the test. | ||
| 4652 | else | ||
| 4653 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 4654 | for as_dir in $PATH | ||
| 4655 | do | ||
| 4656 | IFS=$as_save_IFS | ||
| 4657 | case $as_dir in #((( | ||
| 4658 | '') as_dir=./ ;; | ||
| 4659 | */) ;; | ||
| 4660 | *) as_dir=$as_dir/ ;; | ||
| 4661 | esac | ||
| 4662 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 4663 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then | ||
| 4664 | ac_cv_prog_AS="${ac_tool_prefix}as" | ||
| 4665 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 | ||
| 4666 | break 2 | ||
| 4667 | fi | ||
| 4668 | done | ||
| 4669 | done | ||
| 4670 | IFS=$as_save_IFS | ||
| 4671 | |||
| 4672 | fi | ||
| 4673 | fi | ||
| 4674 | AS=$ac_cv_prog_AS | ||
| 4675 | if test -n "$AS"; then | ||
| 4676 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 | ||
| 4677 | printf "%s\n" "$AS" >&6; } | ||
| 4678 | else | ||
| 4679 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 4680 | printf "%s\n" "no" >&6; } | ||
| 4681 | fi | ||
| 4682 | |||
| 4683 | |||
| 4684 | fi | ||
| 4685 | if test -z "$ac_cv_prog_AS"; then | ||
| 4686 | ac_ct_AS=$AS | ||
| 4687 | # Extract the first word of "as", so it can be a program name with args. | ||
| 4688 | set dummy as; ac_word=$2 | ||
| 4689 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 4690 | printf %s "checking for $ac_word... " >&6; } | ||
| 4691 | if test ${ac_cv_prog_ac_ct_AS+y} | ||
| 4692 | then : | ||
| 4693 | printf %s "(cached) " >&6 | ||
| 4694 | else $as_nop | ||
| 4695 | if test -n "$ac_ct_AS"; then | ||
| 4696 | ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. | ||
| 4697 | else | ||
| 4698 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 4699 | for as_dir in $PATH | ||
| 4700 | do | ||
| 4701 | IFS=$as_save_IFS | ||
| 4702 | case $as_dir in #((( | ||
| 4703 | '') as_dir=./ ;; | ||
| 4704 | */) ;; | ||
| 4705 | *) as_dir=$as_dir/ ;; | ||
| 4706 | esac | ||
| 4707 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 4708 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then | ||
| 4709 | ac_cv_prog_ac_ct_AS="as" | ||
| 4710 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 | ||
| 4711 | break 2 | ||
| 4712 | fi | ||
| 4713 | done | ||
| 4714 | done | ||
| 4715 | IFS=$as_save_IFS | ||
| 4716 | |||
| 4717 | fi | ||
| 4718 | fi | ||
| 4719 | ac_ct_AS=$ac_cv_prog_ac_ct_AS | ||
| 4720 | if test -n "$ac_ct_AS"; then | ||
| 4721 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 | ||
| 4722 | printf "%s\n" "$ac_ct_AS" >&6; } | ||
| 4723 | else | ||
| 4724 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 4725 | printf "%s\n" "no" >&6; } | ||
| 4726 | fi | ||
| 4727 | |||
| 4728 | if test "x$ac_ct_AS" = x; then | ||
| 4729 | AS="as_fn_error $? "Cannot find a working assembler" "$LINENO" 5" | ||
| 4730 | else | ||
| 4731 | case $cross_compiling:$ac_tool_warned in | ||
| 4732 | yes:) | ||
| 4733 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
| 4734 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
| 4735 | ac_tool_warned=yes ;; | ||
| 4736 | esac | ||
| 4737 | AS=$ac_ct_AS | ||
| 4738 | fi | ||
| 4739 | else | ||
| 4740 | AS="$ac_cv_prog_AS" | ||
| 4741 | fi | ||
| 4742 | |||
| 4743 | |||
| 4744 | # And ar. | ||
| 4745 | if test -n "$ac_tool_prefix"; then | ||
| 4746 | # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | ||
| 4747 | set dummy ${ac_tool_prefix}ar; ac_word=$2 | ||
| 4748 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 4749 | printf %s "checking for $ac_word... " >&6; } | ||
| 4750 | if test ${ac_cv_prog_AR+y} | ||
| 4751 | then : | ||
| 4752 | printf %s "(cached) " >&6 | ||
| 4753 | else $as_nop | ||
| 4754 | if test -n "$AR"; then | ||
| 4755 | ac_cv_prog_AR="$AR" # Let the user override the test. | ||
| 4756 | else | ||
| 4757 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 4758 | for as_dir in $PATH | ||
| 4759 | do | ||
| 4760 | IFS=$as_save_IFS | ||
| 4761 | case $as_dir in #((( | ||
| 4762 | '') as_dir=./ ;; | ||
| 4763 | */) ;; | ||
| 4764 | *) as_dir=$as_dir/ ;; | ||
| 4765 | esac | ||
| 4766 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 4767 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then | ||
| 4768 | ac_cv_prog_AR="${ac_tool_prefix}ar" | ||
| 4769 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 | ||
| 4770 | break 2 | ||
| 4771 | fi | ||
| 4772 | done | ||
| 4773 | done | ||
| 4774 | IFS=$as_save_IFS | ||
| 4775 | |||
| 4776 | fi | ||
| 4777 | fi | ||
| 4778 | AR=$ac_cv_prog_AR | ||
| 4779 | if test -n "$AR"; then | ||
| 4780 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 | ||
| 4781 | printf "%s\n" "$AR" >&6; } | ||
| 4782 | else | ||
| 4783 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 4784 | printf "%s\n" "no" >&6; } | ||
| 4785 | fi | ||
| 4786 | |||
| 4787 | |||
| 4788 | fi | ||
| 4789 | if test -z "$ac_cv_prog_AR"; then | ||
| 4790 | ac_ct_AR=$AR | ||
| 4791 | # Extract the first word of "ar", so it can be a program name with args. | ||
| 4792 | set dummy ar; ac_word=$2 | ||
| 4793 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 4794 | printf %s "checking for $ac_word... " >&6; } | ||
| 4795 | if test ${ac_cv_prog_ac_ct_AR+y} | ||
| 4796 | then : | ||
| 4797 | printf %s "(cached) " >&6 | ||
| 4798 | else $as_nop | ||
| 4799 | if test -n "$ac_ct_AR"; then | ||
| 4800 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. | ||
| 4801 | else | ||
| 4802 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 4803 | for as_dir in $PATH | ||
| 4804 | do | ||
| 4805 | IFS=$as_save_IFS | ||
| 4806 | case $as_dir in #((( | ||
| 4807 | '') as_dir=./ ;; | ||
| 4808 | */) ;; | ||
| 4809 | *) as_dir=$as_dir/ ;; | ||
| 4810 | esac | ||
| 4811 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 4812 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then | ||
| 4813 | ac_cv_prog_ac_ct_AR="ar" | ||
| 4814 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 | ||
| 4815 | break 2 | ||
| 4816 | fi | ||
| 4817 | done | ||
| 4818 | done | ||
| 4819 | IFS=$as_save_IFS | ||
| 4820 | |||
| 4821 | fi | ||
| 4822 | fi | ||
| 4823 | ac_ct_AR=$ac_cv_prog_ac_ct_AR | ||
| 4824 | if test -n "$ac_ct_AR"; then | ||
| 4825 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 | ||
| 4826 | printf "%s\n" "$ac_ct_AR" >&6; } | ||
| 4827 | else | ||
| 4828 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 4829 | printf "%s\n" "no" >&6; } | ||
| 4830 | fi | ||
| 4831 | |||
| 4832 | if test "x$ac_ct_AR" = x; then | ||
| 4833 | AR="as_fn_error $? "Cannot find a working ar" "$LINENO" 5" | ||
| 4834 | else | ||
| 4835 | case $cross_compiling:$ac_tool_warned in | ||
| 4836 | yes:) | ||
| 4837 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
| 4838 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
| 4839 | ac_tool_warned=yes ;; | ||
| 4840 | esac | ||
| 4841 | AR=$ac_ct_AR | ||
| 4842 | fi | ||
| 4843 | else | ||
| 4844 | AR="$ac_cv_prog_AR" | ||
| 4845 | fi | ||
| 4846 | |||
| 4847 | |||
| 4848 | # And ld. | ||
| 4849 | if test -n "$ac_tool_prefix"; then | ||
| 4850 | # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args. | ||
| 4851 | set dummy ${ac_tool_prefix}ld; ac_word=$2 | ||
| 4852 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 4853 | printf %s "checking for $ac_word... " >&6; } | ||
| 4854 | if test ${ac_cv_prog_LD+y} | ||
| 4855 | then : | ||
| 4856 | printf %s "(cached) " >&6 | ||
| 4857 | else $as_nop | ||
| 4858 | if test -n "$LD"; then | ||
| 4859 | ac_cv_prog_LD="$LD" # Let the user override the test. | ||
| 4860 | else | ||
| 4861 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 4862 | for as_dir in $PATH | ||
| 4863 | do | ||
| 4864 | IFS=$as_save_IFS | ||
| 4865 | case $as_dir in #((( | ||
| 4866 | '') as_dir=./ ;; | ||
| 4867 | */) ;; | ||
| 4868 | *) as_dir=$as_dir/ ;; | ||
| 4869 | esac | ||
| 4870 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 4871 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then | ||
| 4872 | ac_cv_prog_LD="${ac_tool_prefix}ld" | ||
| 4873 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 | ||
| 4874 | break 2 | ||
| 4875 | fi | ||
| 4876 | done | ||
| 4877 | done | ||
| 4878 | IFS=$as_save_IFS | ||
| 4879 | |||
| 4880 | fi | ||
| 4881 | fi | ||
| 4882 | LD=$ac_cv_prog_LD | ||
| 4883 | if test -n "$LD"; then | ||
| 4884 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 | ||
| 4885 | printf "%s\n" "$LD" >&6; } | ||
| 4886 | else | ||
| 4887 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 4888 | printf "%s\n" "no" >&6; } | ||
| 4889 | fi | ||
| 4890 | |||
| 4891 | |||
| 4892 | fi | ||
| 4893 | if test -z "$ac_cv_prog_LD"; then | ||
| 4894 | ac_ct_LD=$LD | ||
| 4895 | # Extract the first word of "ld", so it can be a program name with args. | ||
| 4896 | set dummy ld; ac_word=$2 | ||
| 4897 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 4898 | printf %s "checking for $ac_word... " >&6; } | ||
| 4899 | if test ${ac_cv_prog_ac_ct_LD+y} | ||
| 4900 | then : | ||
| 4901 | printf %s "(cached) " >&6 | ||
| 4902 | else $as_nop | ||
| 4903 | if test -n "$ac_ct_LD"; then | ||
| 4904 | ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test. | ||
| 4905 | else | ||
| 4906 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 4907 | for as_dir in $PATH | ||
| 4908 | do | ||
| 4909 | IFS=$as_save_IFS | ||
| 4910 | case $as_dir in #((( | ||
| 4911 | '') as_dir=./ ;; | ||
| 4912 | */) ;; | ||
| 4913 | *) as_dir=$as_dir/ ;; | ||
| 4914 | esac | ||
| 4915 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 4916 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then | ||
| 4917 | ac_cv_prog_ac_ct_LD="ld" | ||
| 4918 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 | ||
| 4919 | break 2 | ||
| 4920 | fi | ||
| 4921 | done | ||
| 4922 | done | ||
| 4923 | IFS=$as_save_IFS | ||
| 4924 | |||
| 4925 | fi | ||
| 4926 | fi | ||
| 4927 | ac_ct_LD=$ac_cv_prog_ac_ct_LD | ||
| 4928 | if test -n "$ac_ct_LD"; then | ||
| 4929 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5 | ||
| 4930 | printf "%s\n" "$ac_ct_LD" >&6; } | ||
| 4931 | else | ||
| 4932 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 4933 | printf "%s\n" "no" >&6; } | ||
| 4934 | fi | ||
| 4935 | |||
| 4936 | if test "x$ac_ct_LD" = x; then | ||
| 4937 | LD="as_fn_error $? "Cannot find a working linker" "$LINENO" 5" | ||
| 4938 | else | ||
| 4939 | case $cross_compiling:$ac_tool_warned in | ||
| 4940 | yes:) | ||
| 4941 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
| 4942 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
| 4943 | ac_tool_warned=yes ;; | ||
| 4944 | esac | ||
| 4945 | LD=$ac_ct_LD | ||
| 4946 | fi | ||
| 4947 | else | ||
| 4948 | LD="$ac_cv_prog_LD" | ||
| 4949 | fi | ||
| 4950 | |||
| 4951 | |||
| 4952 | # Now check if ld is a C compiler. | ||
| 4953 | LDPREFIX= | ||
| 4954 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ld is a C compiler" >&5 | ||
| 4955 | printf %s "checking whether ld is a C compiler... " >&6; } | ||
| 4956 | if test ${exec_cv_ld_is_cc+y} | ||
| 4957 | then : | ||
| 4958 | printf %s "(cached) " >&6 | ||
| 4959 | else $as_nop | ||
| 4960 | cat <<_ACEOF > conftest.c | ||
| 4961 | |||
| 4962 | int | ||
| 4963 | main (void) | ||
| 4964 | { | ||
| 4965 | |||
| 4966 | ; | ||
| 4967 | return 0; | ||
| 4968 | } | ||
| 4969 | _ACEOF | ||
| 4970 | exec_cv_ld_is_cc=yes | ||
| 4971 | $LD -c conftest.c -o conftest.$OBJEXT >&5 2>&1 \ | ||
| 4972 | || exec_cv_ld_is_cc=no | ||
| 4973 | rm -f conftest.c conftest.$OBJEXT | ||
| 4974 | fi | ||
| 4975 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $exec_cv_ld_is_cc" >&5 | ||
| 4976 | printf "%s\n" "$exec_cv_ld_is_cc" >&6; } | ||
| 4977 | |||
| 4978 | # And if as is a C compiler. | ||
| 4979 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether as is a C compiler" >&5 | ||
| 4980 | printf %s "checking whether as is a C compiler... " >&6; } | ||
| 4981 | if test ${exec_cv_as_is_cc+y} | ||
| 4982 | then : | ||
| 4983 | printf %s "(cached) " >&6 | ||
| 4984 | else $as_nop | ||
| 4985 | cat <<_ACEOF > conftest.c | ||
| 4986 | |||
| 4987 | int | ||
| 4988 | main (void) | ||
| 4989 | { | ||
| 4990 | |||
| 4991 | ; | ||
| 4992 | return 0; | ||
| 4993 | } | ||
| 4994 | _ACEOF | ||
| 4995 | exec_cv_as_is_cc=yes | ||
| 4996 | $AS -c conftest.c -o conftest.$OBJEXT >&5 2>&1 \ | ||
| 4997 | || exec_cv_as_is_cc=no | ||
| 4998 | rm -f conftest.c conftest.$OBJEXT | ||
| 4999 | fi | ||
| 5000 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $exec_cv_as_is_cc" >&5 | ||
| 5001 | printf "%s\n" "$exec_cv_as_is_cc" >&6; } | ||
| 5002 | |||
| 5003 | # If ld is a C compiler, pass `-nostdlib', `-nostartfiles', and | ||
| 5004 | # `-static'. Also, set LDPREFIX to -Wl, | ||
| 5005 | if test "x$exec_cv_ld_is_cc" = "xyes" | ||
| 5006 | then : | ||
| 5007 | LOADERFLAGS="$LOADERFLAGS -nostdlib -nostartfiles -static" | ||
| 5008 | LDPREFIX=-Wl, | ||
| 5009 | fi | ||
| 5010 | |||
| 5011 | # If as is a C compiler, add `-c' to ASFLAGS. | ||
| 5012 | if test "x$exec_cv_as_is_cc" = "xyes" | ||
| 5013 | then : | ||
| 5014 | ASFLAGS="$ASFLAGS -c" | ||
| 5015 | fi | ||
| 5016 | |||
| 5017 | |||
| 5018 | |||
| 5019 | |||
| 5020 | |||
| 5021 | # Determine the system type and define appropriate macros. | ||
| 5022 | exec_loader= | ||
| 5023 | is_mips= | ||
| 5024 | OBJS="exec.o trace.o" | ||
| 5025 | |||
| 5026 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 | ||
| 5027 | printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } | ||
| 5028 | if test ${ac_cv_c_undeclared_builtin_options+y} | ||
| 5029 | then : | ||
| 5030 | printf %s "(cached) " >&6 | ||
| 5031 | else $as_nop | ||
| 5032 | ac_save_CFLAGS=$CFLAGS | ||
| 5033 | ac_cv_c_undeclared_builtin_options='cannot detect' | ||
| 5034 | for ac_arg in '' -fno-builtin; do | ||
| 5035 | CFLAGS="$ac_save_CFLAGS $ac_arg" | ||
| 5036 | # This test program should *not* compile successfully. | ||
| 5037 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 5038 | /* end confdefs.h. */ | ||
| 5039 | |||
| 5040 | int | ||
| 5041 | main (void) | ||
| 5042 | { | ||
| 5043 | (void) strchr; | ||
| 5044 | ; | ||
| 5045 | return 0; | ||
| 5046 | } | ||
| 5047 | _ACEOF | ||
| 5048 | if ac_fn_c_try_compile "$LINENO" | ||
| 5049 | then : | ||
| 5050 | |||
| 5051 | else $as_nop | ||
| 5052 | # This test program should compile successfully. | ||
| 5053 | # No library function is consistently available on | ||
| 5054 | # freestanding implementations, so test against a dummy | ||
| 5055 | # declaration. Include always-available headers on the | ||
| 5056 | # off chance that they somehow elicit warnings. | ||
| 5057 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 5058 | /* end confdefs.h. */ | ||
| 5059 | #include <float.h> | ||
| 5060 | #include <limits.h> | ||
| 5061 | #include <stdarg.h> | ||
| 5062 | #include <stddef.h> | ||
| 5063 | extern void ac_decl (int, char *); | ||
| 5064 | |||
| 5065 | int | ||
| 5066 | main (void) | ||
| 5067 | { | ||
| 5068 | (void) ac_decl (0, (char *) 0); | ||
| 5069 | (void) ac_decl; | ||
| 5070 | |||
| 5071 | ; | ||
| 5072 | return 0; | ||
| 5073 | } | ||
| 5074 | _ACEOF | ||
| 5075 | if ac_fn_c_try_compile "$LINENO" | ||
| 5076 | then : | ||
| 5077 | if test x"$ac_arg" = x | ||
| 5078 | then : | ||
| 5079 | ac_cv_c_undeclared_builtin_options='none needed' | ||
| 5080 | else $as_nop | ||
| 5081 | ac_cv_c_undeclared_builtin_options=$ac_arg | ||
| 5082 | fi | ||
| 5083 | break | ||
| 5084 | fi | ||
| 5085 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 5086 | fi | ||
| 5087 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 5088 | done | ||
| 5089 | CFLAGS=$ac_save_CFLAGS | ||
| 5090 | |||
| 5091 | fi | ||
| 5092 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 | ||
| 5093 | printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } | ||
| 5094 | case $ac_cv_c_undeclared_builtin_options in #( | ||
| 5095 | 'cannot detect') : | ||
| 5096 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 5097 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 5098 | as_fn_error $? "cannot make $CC report undeclared builtins | ||
| 5099 | See \`config.log' for more details" "$LINENO" 5; } ;; #( | ||
| 5100 | 'none needed') : | ||
| 5101 | ac_c_undeclared_builtin_options='' ;; #( | ||
| 5102 | *) : | ||
| 5103 | ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; | ||
| 5104 | esac | ||
| 5105 | |||
| 5106 | case $host in #( | ||
| 5107 | x86_64-*linux*) : | ||
| 5108 | ac_fn_c_check_member "$LINENO" "struct user_regs_struct" "rdi" "ac_cv_member_struct_user_regs_struct_rdi" " | ||
| 5109 | #include <sys/user.h> | ||
| 5110 | |||
| 5111 | " | ||
| 5112 | if test "x$ac_cv_member_struct_user_regs_struct_rdi" = xyes | ||
| 5113 | then : | ||
| 5114 | printf "%s\n" "#define SYSCALL_HEADER <asm/unistd.h>" >>confdefs.h | ||
| 5115 | |||
| 5116 | printf "%s\n" "#define USER_HEADER <sys/user.h>" >>confdefs.h | ||
| 5117 | |||
| 5118 | printf "%s\n" "#define USER_REGS_STRUCT struct user_regs_struct" >>confdefs.h | ||
| 5119 | |||
| 5120 | printf "%s\n" "#define SYSCALL_NUM_REG orig_rax" >>confdefs.h | ||
| 5121 | |||
| 5122 | printf "%s\n" "#define SYSCALL_RET_REG rax" >>confdefs.h | ||
| 5123 | |||
| 5124 | printf "%s\n" "#define SYSCALL_ARG_REG rdi" >>confdefs.h | ||
| 5125 | |||
| 5126 | printf "%s\n" "#define SYSCALL_ARG1_REG rsi" >>confdefs.h | ||
| 5127 | |||
| 5128 | printf "%s\n" "#define STACK_POINTER rsp" >>confdefs.h | ||
| 5129 | |||
| 5130 | printf "%s\n" "#define EXEC_SYSCALL __NR_execve" >>confdefs.h | ||
| 5131 | |||
| 5132 | printf "%s\n" "#define USER_WORD uintptr_t" >>confdefs.h | ||
| 5133 | |||
| 5134 | printf "%s\n" "#define EXEC_64 1" >>confdefs.h | ||
| 5135 | |||
| 5136 | printf "%s\n" "#define ABI_RED_ZONE 128" >>confdefs.h | ||
| 5137 | |||
| 5138 | printf "%s\n" "#define EXECUTABLE_BASE 0x555555554000" >>confdefs.h | ||
| 5139 | |||
| 5140 | printf "%s\n" "#define INTERPRETER_BASE 0x600000000000" >>confdefs.h | ||
| 5141 | |||
| 5142 | printf "%s\n" "#define STACK_GROWS_DOWNWARDS 1" >>confdefs.h | ||
| 5143 | |||
| 5144 | printf "%s\n" "#define CLONE_SYSCALL __NR_clone" >>confdefs.h | ||
| 5145 | |||
| 5146 | |||
| 5147 | ac_fn_check_decl "$LINENO" "__NR_clone3" "ac_cv_have_decl___NR_clone3" " | ||
| 5148 | #include <asm/unistd.h> | ||
| 5149 | |||
| 5150 | " "$ac_c_undeclared_builtin_options" "CFLAGS" | ||
| 5151 | if test "x$ac_cv_have_decl___NR_clone3" = xyes | ||
| 5152 | then : | ||
| 5153 | printf "%s\n" "#define CLONE3_SYSCALL __NR_clone3" >>confdefs.h | ||
| 5154 | |||
| 5155 | fi | ||
| 5156 | |||
| 5157 | # Make sure the loader doesn't conflict with other position | ||
| 5158 | # dependent code. | ||
| 5159 | LOADERFLAGS="$LOADERFLAGS $LDPREFIX-Ttext=0x200000000000" | ||
| 5160 | exec_loader=loader-x86_64.s | ||
| 5161 | else $as_nop | ||
| 5162 | as_fn_error $? "Missing \`rdi' in user_regs_struct" "$LINENO" 5 | ||
| 5163 | fi | ||
| 5164 | ;; #( | ||
| 5165 | i[34567]86-*linux*) : | ||
| 5166 | ac_fn_c_check_member "$LINENO" "struct user_regs_struct" "edi" "ac_cv_member_struct_user_regs_struct_edi" " | ||
| 5167 | #include <sys/user.h> | ||
| 5168 | |||
| 5169 | " | ||
| 5170 | if test "x$ac_cv_member_struct_user_regs_struct_edi" = xyes | ||
| 5171 | then : | ||
| 5172 | printf "%s\n" "#define SYSCALL_HEADER <asm/unistd.h>" >>confdefs.h | ||
| 5173 | |||
| 5174 | printf "%s\n" "#define USER_HEADER <sys/user.h>" >>confdefs.h | ||
| 5175 | |||
| 5176 | printf "%s\n" "#define USER_REGS_STRUCT struct user_regs_struct" >>confdefs.h | ||
| 5177 | |||
| 5178 | printf "%s\n" "#define SYSCALL_NUM_REG orig_eax" >>confdefs.h | ||
| 5179 | |||
| 5180 | printf "%s\n" "#define SYSCALL_RET_REG eax" >>confdefs.h | ||
| 5181 | |||
| 5182 | printf "%s\n" "#define SYSCALL_ARG_REG ebx" >>confdefs.h | ||
| 5183 | |||
| 5184 | printf "%s\n" "#define SYSCALL_ARG1_REG ecx" >>confdefs.h | ||
| 5185 | |||
| 5186 | printf "%s\n" "#define STACK_POINTER esp" >>confdefs.h | ||
| 5187 | |||
| 5188 | printf "%s\n" "#define EXEC_SYSCALL __NR_execve" >>confdefs.h | ||
| 5189 | |||
| 5190 | printf "%s\n" "#define USER_WORD uintptr_t" >>confdefs.h | ||
| 5191 | |||
| 5192 | printf "%s\n" "#define EXECUTABLE_BASE 0x0f000000" >>confdefs.h | ||
| 5193 | |||
| 5194 | printf "%s\n" "#define INTERPRETER_BASE 0xaf000000" >>confdefs.h | ||
| 5195 | |||
| 5196 | printf "%s\n" "#define STACK_GROWS_DOWNWARDS 1" >>confdefs.h | ||
| 5197 | |||
| 5198 | printf "%s\n" "#define CLONE_SYSCALL __NR_clone" >>confdefs.h | ||
| 5199 | |||
| 5200 | |||
| 5201 | ac_fn_check_decl "$LINENO" "__NR_clone3" "ac_cv_have_decl___NR_clone3" " | ||
| 5202 | #include <asm/unistd.h> | ||
| 5203 | |||
| 5204 | " "$ac_c_undeclared_builtin_options" "CFLAGS" | ||
| 5205 | if test "x$ac_cv_have_decl___NR_clone3" = xyes | ||
| 5206 | then : | ||
| 5207 | printf "%s\n" "#define CLONE3_SYSCALL __NR_clone3" >>confdefs.h | ||
| 5208 | |||
| 5209 | fi | ||
| 5210 | |||
| 5211 | # Make sure the loader doesn't conflict with other position | ||
| 5212 | # dependent code. | ||
| 5213 | LOADERFLAGS="$LOADERFLAGS $LDPREFIX-Ttext=0xa0000000" | ||
| 5214 | exec_loader=loader-x86.s | ||
| 5215 | else $as_nop | ||
| 5216 | as_fn_error $? "Missing \`edi' in user_regs_struct" "$LINENO" 5 | ||
| 5217 | fi | ||
| 5218 | ;; #( | ||
| 5219 | aarch64-*linux*) : | ||
| 5220 | ac_fn_c_check_member "$LINENO" "struct user_regs_struct" "sp" "ac_cv_member_struct_user_regs_struct_sp" " | ||
| 5221 | #include <sys/user.h> | ||
| 5222 | |||
| 5223 | " | ||
| 5224 | if test "x$ac_cv_member_struct_user_regs_struct_sp" = xyes | ||
| 5225 | then : | ||
| 5226 | printf "%s\n" "#define SYSCALL_HEADER <asm/unistd.h>" >>confdefs.h | ||
| 5227 | |||
| 5228 | printf "%s\n" "#define USER_HEADER <sys/user.h>" >>confdefs.h | ||
| 5229 | |||
| 5230 | printf "%s\n" "#define USER_REGS_STRUCT struct user_regs_struct" >>confdefs.h | ||
| 5231 | |||
| 5232 | printf "%s\n" "#define SYSCALL_NUM_REG regs[8]" >>confdefs.h | ||
| 5233 | |||
| 5234 | printf "%s\n" "#define SYSCALL_RET_REG regs[0]" >>confdefs.h | ||
| 5235 | |||
| 5236 | printf "%s\n" "#define SYSCALL_ARG_REG regs[0]" >>confdefs.h | ||
| 5237 | |||
| 5238 | printf "%s\n" "#define SYSCALL_ARG1_REG regs[1]" >>confdefs.h | ||
| 5239 | |||
| 5240 | printf "%s\n" "#define STACK_POINTER sp" >>confdefs.h | ||
| 5241 | |||
| 5242 | printf "%s\n" "#define EXEC_SYSCALL __NR_execve" >>confdefs.h | ||
| 5243 | |||
| 5244 | printf "%s\n" "#define USER_WORD uintptr_t" >>confdefs.h | ||
| 5245 | |||
| 5246 | printf "%s\n" "#define EXEC_64 1" >>confdefs.h | ||
| 5247 | |||
| 5248 | printf "%s\n" "#define EXECUTABLE_BASE 0x3000000000" >>confdefs.h | ||
| 5249 | |||
| 5250 | printf "%s\n" "#define INTERPRETER_BASE 0x3f00000000" >>confdefs.h | ||
| 5251 | |||
| 5252 | printf "%s\n" "#define STACK_GROWS_DOWNWARDS 1" >>confdefs.h | ||
| 5253 | |||
| 5254 | printf "%s\n" "#define CLONE_SYSCALL __NR_clone" >>confdefs.h | ||
| 5255 | |||
| 5256 | |||
| 5257 | ac_fn_check_decl "$LINENO" "__NR_clone3" "ac_cv_have_decl___NR_clone3" " | ||
| 5258 | #include <asm/unistd.h> | ||
| 5259 | |||
| 5260 | " "$ac_c_undeclared_builtin_options" "CFLAGS" | ||
| 5261 | if test "x$ac_cv_have_decl___NR_clone3" = xyes | ||
| 5262 | then : | ||
| 5263 | printf "%s\n" "#define CLONE3_SYSCALL __NR_clone3" >>confdefs.h | ||
| 5264 | |||
| 5265 | fi | ||
| 5266 | |||
| 5267 | # Make sure the loader doesn't conflict with other position | ||
| 5268 | # dependent code. ARM places rather significant restrictions on | ||
| 5269 | # virtual addresses for a 64 bit architecture. | ||
| 5270 | LOADERFLAGS="$LOADERFLAGS $LDPREFIX-Ttext=0x2000000000" | ||
| 5271 | exec_loader=loader-aarch64.s | ||
| 5272 | else $as_nop | ||
| 5273 | as_fn_error $? "Missing \`sp' in user_regs_struct" "$LINENO" 5 | ||
| 5274 | fi | ||
| 5275 | ;; #( | ||
| 5276 | arm*linux*eabi* | armv7*linux*) : | ||
| 5277 | ac_fn_c_check_member "$LINENO" "struct user_regs" "uregs" "ac_cv_member_struct_user_regs_uregs" " | ||
| 5278 | #include <sys/user.h> | ||
| 5279 | |||
| 5280 | " | ||
| 5281 | if test "x$ac_cv_member_struct_user_regs_uregs" = xyes | ||
| 5282 | then : | ||
| 5283 | printf "%s\n" "#define SYSCALL_HEADER <asm/unistd.h>" >>confdefs.h | ||
| 5284 | |||
| 5285 | printf "%s\n" "#define USER_HEADER <sys/user.h>" >>confdefs.h | ||
| 5286 | |||
| 5287 | printf "%s\n" "#define USER_REGS_STRUCT struct user_regs" >>confdefs.h | ||
| 5288 | |||
| 5289 | printf "%s\n" "#define SYSCALL_NUM_REG uregs[7]" >>confdefs.h | ||
| 5290 | |||
| 5291 | printf "%s\n" "#define SYSCALL_RET_REG uregs[0]" >>confdefs.h | ||
| 5292 | |||
| 5293 | printf "%s\n" "#define SYSCALL_ARG_REG uregs[0]" >>confdefs.h | ||
| 5294 | |||
| 5295 | printf "%s\n" "#define SYSCALL_ARG1_REG uregs[1]" >>confdefs.h | ||
| 5296 | |||
| 5297 | printf "%s\n" "#define STACK_POINTER uregs[13]" >>confdefs.h | ||
| 5298 | |||
| 5299 | printf "%s\n" "#define EXEC_SYSCALL __NR_execve" >>confdefs.h | ||
| 5300 | |||
| 5301 | printf "%s\n" "#define USER_WORD uintptr_t" >>confdefs.h | ||
| 5302 | |||
| 5303 | printf "%s\n" "#define EXECUTABLE_BASE 0x0f000000" >>confdefs.h | ||
| 5304 | |||
| 5305 | printf "%s\n" "#define INTERPRETER_BASE 0x1f000000" >>confdefs.h | ||
| 5306 | |||
| 5307 | printf "%s\n" "#define STACK_GROWS_DOWNWARDS 1" >>confdefs.h | ||
| 5308 | |||
| 5309 | printf "%s\n" "#define CLONE_SYSCALL __NR_clone" >>confdefs.h | ||
| 5310 | |||
| 5311 | |||
| 5312 | ac_fn_check_decl "$LINENO" "__NR_clone3" "ac_cv_have_decl___NR_clone3" " | ||
| 5313 | #include <asm/unistd.h> | ||
| 5314 | |||
| 5315 | " "$ac_c_undeclared_builtin_options" "CFLAGS" | ||
| 5316 | if test "x$ac_cv_have_decl___NR_clone3" = xyes | ||
| 5317 | then : | ||
| 5318 | printf "%s\n" "#define CLONE3_SYSCALL __NR_clone3" >>confdefs.h | ||
| 5319 | |||
| 5320 | fi | ||
| 5321 | |||
| 5322 | LOADERFLAGS="$LOADERFLAGS $LDPREFIX-Ttext=0x20000000" | ||
| 5323 | exec_loader=loader-armeabi.s | ||
| 5324 | else $as_nop | ||
| 5325 | as_fn_error $? "Missing \`uregs' in user_regs_struct" "$LINENO" 5 | ||
| 5326 | fi | ||
| 5327 | ;; #( | ||
| 5328 | mipsel*linux*) : | ||
| 5329 | printf "%s\n" "#define SYSCALL_HEADER <asm/unistd.h>" >>confdefs.h | ||
| 5330 | |||
| 5331 | printf "%s\n" "#define USER_HEADER \"mipsel-user.h\"" >>confdefs.h | ||
| 5332 | |||
| 5333 | printf "%s\n" "#define USER_REGS_STRUCT struct mipsel_regs" >>confdefs.h | ||
| 5334 | |||
| 5335 | printf "%s\n" "#define SYSCALL_NUM_REG gregs[2]" >>confdefs.h | ||
| 5336 | # v0 | ||
| 5337 | printf "%s\n" "#define SYSCALL_RET_REG gregs[4]" >>confdefs.h | ||
| 5338 | # a0 | ||
| 5339 | printf "%s\n" "#define SYSCALL_ARG_REG gregs[4]" >>confdefs.h | ||
| 5340 | # a0 | ||
| 5341 | printf "%s\n" "#define SYSCALL_ARG1_REG gregs[5]" >>confdefs.h | ||
| 5342 | # a1 | ||
| 5343 | printf "%s\n" "#define STACK_POINTER gregs[29]" >>confdefs.h | ||
| 5344 | # sp | ||
| 5345 | printf "%s\n" "#define EXEC_SYSCALL __NR_execve" >>confdefs.h | ||
| 5346 | |||
| 5347 | printf "%s\n" "#define USER_WORD uintptr_t" >>confdefs.h | ||
| 5348 | |||
| 5349 | printf "%s\n" "#define EXECUTABLE_BASE 0x0f000000" >>confdefs.h | ||
| 5350 | |||
| 5351 | printf "%s\n" "#define INTERPRETER_BASE 0x1f000000" >>confdefs.h | ||
| 5352 | |||
| 5353 | printf "%s\n" "#define STACK_GROWS_DOWNWARDS 1" >>confdefs.h | ||
| 5354 | |||
| 5355 | printf "%s\n" "#define CLONE_SYSCALL __NR_clone" >>confdefs.h | ||
| 5356 | |||
| 5357 | ac_fn_check_decl "$LINENO" "_MIPS_SIM" "ac_cv_have_decl__MIPS_SIM" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" | ||
| 5358 | if test "x$ac_cv_have_decl__MIPS_SIM" = xyes | ||
| 5359 | then : | ||
| 5360 | |||
| 5361 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MIPS NABI calling convention is used" >&5 | ||
| 5362 | printf %s "checking whether MIPS NABI calling convention is used... " >&6; } | ||
| 5363 | if test ${exec_cv_mips_nabi+y} | ||
| 5364 | then : | ||
| 5365 | printf %s "(cached) " >&6 | ||
| 5366 | else $as_nop | ||
| 5367 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 5368 | /* end confdefs.h. */ | ||
| 5369 | |||
| 5370 | #include <sgidefs.h> | ||
| 5371 | |||
| 5372 | int | ||
| 5373 | main (void) | ||
| 5374 | { | ||
| 5375 | |||
| 5376 | #ifndef __mips64__ | ||
| 5377 | #if _MIPS_SIM == _ABIO32 | ||
| 5378 | OABI in use. | ||
| 5379 | #endif /* _MIPS_SIM == _ABIO32 */ | ||
| 5380 | #endif /* !__mips64__ */ | ||
| 5381 | |||
| 5382 | ; | ||
| 5383 | return 0; | ||
| 5384 | } | ||
| 5385 | _ACEOF | ||
| 5386 | if ac_fn_c_try_compile "$LINENO" | ||
| 5387 | then : | ||
| 5388 | exec_cv_mips_nabi=yes | ||
| 5389 | else $as_nop | ||
| 5390 | exec_cv_mips_nabi=no | ||
| 5391 | fi | ||
| 5392 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 5393 | fi | ||
| 5394 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $exec_cv_mips_nabi" >&5 | ||
| 5395 | printf "%s\n" "$exec_cv_mips_nabi" >&6; } | ||
| 5396 | |||
| 5397 | if test "x$exec_cv_mips_nabi" != "xno" | ||
| 5398 | then : | ||
| 5399 | |||
| 5400 | printf "%s\n" "#define MIPS_NABI 1" >>confdefs.h | ||
| 5401 | |||
| 5402 | else $as_nop | ||
| 5403 | OBJS="$OBJS mipsfpu.o" | ||
| 5404 | fi | ||
| 5405 | |||
| 5406 | else $as_nop | ||
| 5407 | as_fn_error $? "_MIPS_SIM could not be determined" "$LINENO" 5, | ||
| 5408 | [ | ||
| 5409 | #include <sgidefs.h> | ||
| 5410 | ] | ||
| 5411 | fi | ||
| 5412 | |||
| 5413 | ac_fn_check_decl "$LINENO" "__NR_clone3" "ac_cv_have_decl___NR_clone3" " | ||
| 5414 | #include <asm/unistd.h> | ||
| 5415 | |||
| 5416 | " "$ac_c_undeclared_builtin_options" "CFLAGS" | ||
| 5417 | if test "x$ac_cv_have_decl___NR_clone3" = xyes | ||
| 5418 | then : | ||
| 5419 | printf "%s\n" "#define CLONE3_SYSCALL __NR_clone3" >>confdefs.h | ||
| 5420 | |||
| 5421 | fi | ||
| 5422 | |||
| 5423 | LOADERFLAGS="$LOADERFLAGS $LDPREFIX-Ttext=0x20000000" | ||
| 5424 | is_mips=yes | ||
| 5425 | exec_loader=loader-mipsel.s ;; #( | ||
| 5426 | mips64el*linux*) : | ||
| 5427 | printf "%s\n" "#define SYSCALL_HEADER <asm/unistd.h>" >>confdefs.h | ||
| 5428 | |||
| 5429 | printf "%s\n" "#define USER_HEADER \"mipsel-user.h\"" >>confdefs.h | ||
| 5430 | |||
| 5431 | printf "%s\n" "#define USER_REGS_STRUCT struct mipsel_regs" >>confdefs.h | ||
| 5432 | |||
| 5433 | printf "%s\n" "#define SYSCALL_NUM_REG gregs[2]" >>confdefs.h | ||
| 5434 | # v0 | ||
| 5435 | printf "%s\n" "#define SYSCALL_RET_REG gregs[4]" >>confdefs.h | ||
| 5436 | # a0 | ||
| 5437 | printf "%s\n" "#define SYSCALL_ARG_REG gregs[4]" >>confdefs.h | ||
| 5438 | # a0 | ||
| 5439 | printf "%s\n" "#define SYSCALL_ARG1_REG gregs[5]" >>confdefs.h | ||
| 5440 | # a1 | ||
| 5441 | printf "%s\n" "#define STACK_POINTER gregs[29]" >>confdefs.h | ||
| 5442 | # sp | ||
| 5443 | printf "%s\n" "#define EXEC_SYSCALL __NR_execve" >>confdefs.h | ||
| 5444 | |||
| 5445 | printf "%s\n" "#define USER_WORD uintptr_t" >>confdefs.h | ||
| 5446 | |||
| 5447 | printf "%s\n" "#define EXEC_64 1" >>confdefs.h | ||
| 5448 | |||
| 5449 | printf "%s\n" "#define EXECUTABLE_BASE 0x400000" >>confdefs.h | ||
| 5450 | |||
| 5451 | printf "%s\n" "#define INTERPRETER_BASE 0x3f00000000" >>confdefs.h | ||
| 5452 | |||
| 5453 | printf "%s\n" "#define STACK_GROWS_DOWNWARDS 1" >>confdefs.h | ||
| 5454 | |||
| 5455 | printf "%s\n" "#define CLONE_SYSCALL __NR_clone" >>confdefs.h | ||
| 5456 | |||
| 5457 | |||
| 5458 | ac_fn_check_decl "$LINENO" "__NR_clone3" "ac_cv_have_decl___NR_clone3" " | ||
| 5459 | #include <asm/unistd.h> | ||
| 5460 | |||
| 5461 | " "$ac_c_undeclared_builtin_options" "CFLAGS" | ||
| 5462 | if test "x$ac_cv_have_decl___NR_clone3" = xyes | ||
| 5463 | then : | ||
| 5464 | printf "%s\n" "#define CLONE3_SYSCALL __NR_clone3" >>confdefs.h | ||
| 5465 | |||
| 5466 | fi | ||
| 5467 | |||
| 5468 | |||
| 5469 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MIPS NABI calling convention is used" >&5 | ||
| 5470 | printf %s "checking whether MIPS NABI calling convention is used... " >&6; } | ||
| 5471 | if test ${exec_cv_mips_nabi+y} | ||
| 5472 | then : | ||
| 5473 | printf %s "(cached) " >&6 | ||
| 5474 | else $as_nop | ||
| 5475 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 5476 | /* end confdefs.h. */ | ||
| 5477 | |||
| 5478 | #include <sgidefs.h> | ||
| 5479 | |||
| 5480 | int | ||
| 5481 | main (void) | ||
| 5482 | { | ||
| 5483 | |||
| 5484 | #ifndef __mips64__ | ||
| 5485 | #if _MIPS_SIM == _ABIO32 | ||
| 5486 | OABI in use. | ||
| 5487 | #endif /* _MIPS_SIM == _ABIO32 */ | ||
| 5488 | #endif /* !__mips64__ */ | ||
| 5489 | |||
| 5490 | ; | ||
| 5491 | return 0; | ||
| 5492 | } | ||
| 5493 | _ACEOF | ||
| 5494 | if ac_fn_c_try_compile "$LINENO" | ||
| 5495 | then : | ||
| 5496 | exec_cv_mips_nabi=yes | ||
| 5497 | else $as_nop | ||
| 5498 | exec_cv_mips_nabi=no | ||
| 5499 | fi | ||
| 5500 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 5501 | fi | ||
| 5502 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $exec_cv_mips_nabi" >&5 | ||
| 5503 | printf "%s\n" "$exec_cv_mips_nabi" >&6; } | ||
| 5504 | |||
| 5505 | if test "x$exec_cv_mips_nabi" != "xno" | ||
| 5506 | then : | ||
| 5507 | |||
| 5508 | printf "%s\n" "#define MIPS_NABI 1" >>confdefs.h | ||
| 5509 | |||
| 5510 | else $as_nop | ||
| 5511 | OBJS="$OBJS mipsfpu.o" | ||
| 5512 | fi | ||
| 5513 | |||
| 5514 | LOADERFLAGS="$LOADERFLAGS $LDPREFIX-Ttext=0x3e00000000" | ||
| 5515 | is_mips=yes | ||
| 5516 | exec_loader=loader-mips64el.s ;; #( | ||
| 5517 | *) : | ||
| 5518 | as_fn_error $? "Please port libexec to $host" "$LINENO" 5 ;; #( | ||
| 5519 | *) : | ||
| 5520 | ;; | ||
| 5521 | esac | ||
| 5522 | |||
| 5523 | MIPS_N32=$exec_cv_mips_nabi | ||
| 5524 | |||
| 5525 | |||
| 5526 | |||
| 5527 | |||
| 5528 | |||
| 5529 | # Make the assembler optimize for code size. Don't do this on MIPS, | ||
| 5530 | # as the assembler code manages branch delays manually. | ||
| 5531 | |||
| 5532 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether as understands -O" >&5 | ||
| 5533 | printf %s "checking whether as understands -O... " >&6; } | ||
| 5534 | if test ${exec_cv_as_O+y} | ||
| 5535 | then : | ||
| 5536 | printf %s "(cached) " >&6 | ||
| 5537 | else $as_nop | ||
| 5538 | exec_cv_as_O=no | ||
| 5539 | cat <<_ACEOF >conftest.s | ||
| 5540 | .section text | ||
| 5541 | .global _start | ||
| 5542 | _start: | ||
| 5543 | |||
| 5544 | _ACEOF | ||
| 5545 | $AS $ASFLAGS -O conftest.s -o conftest.$OBJEXT \ | ||
| 5546 | >&5 2>&1 \ | ||
| 5547 | && exec_cv_as_O=yes | ||
| 5548 | rm -f conftest.s conftest.$OBJEXT | ||
| 5549 | fi | ||
| 5550 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $exec_cv_as_O" >&5 | ||
| 5551 | printf "%s\n" "$exec_cv_as_O" >&6; } | ||
| 5552 | |||
| 5553 | if test "$exec_cv_as_O" = "yes" \ | ||
| 5554 | && test "$is_mips" != "yes" | ||
| 5555 | then : | ||
| 5556 | ASFLAGS="$ASFLAGS -O" | ||
| 5557 | fi | ||
| 5558 | |||
| 5559 | # Make the assembler generate debug information. | ||
| 5560 | |||
| 5561 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether as understands -g" >&5 | ||
| 5562 | printf %s "checking whether as understands -g... " >&6; } | ||
| 5563 | if test ${exec_cv_as_g+y} | ||
| 5564 | then : | ||
| 5565 | printf %s "(cached) " >&6 | ||
| 5566 | else $as_nop | ||
| 5567 | exec_cv_as_g=no | ||
| 5568 | cat <<_ACEOF >conftest.s | ||
| 5569 | .section text | ||
| 5570 | .global _start | ||
| 5571 | _start: | ||
| 5572 | |||
| 5573 | _ACEOF | ||
| 5574 | $AS $ASFLAGS -g conftest.s -o conftest.$OBJEXT \ | ||
| 5575 | >&5 2>&1 \ | ||
| 5576 | && exec_cv_as_g=yes | ||
| 5577 | rm -f conftest.s conftest.$OBJEXT | ||
| 5578 | fi | ||
| 5579 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $exec_cv_as_g" >&5 | ||
| 5580 | printf "%s\n" "$exec_cv_as_g" >&6; } | ||
| 5581 | if test "$exec_cv_as_g" = "yes" | ||
| 5582 | then : | ||
| 5583 | ASFLAGS="$ASFLAGS -g" | ||
| 5584 | fi | ||
| 5585 | |||
| 5586 | # Check for the ability to automatically generate dependencies for C | ||
| 5587 | # source files. | ||
| 5588 | AUTO_DEPEND=no | ||
| 5589 | if test "x$GCC" = xyes | ||
| 5590 | then : | ||
| 5591 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -MMD -MF" >&5 | ||
| 5592 | printf %s "checking whether gcc understands -MMD -MF... " >&6; } | ||
| 5593 | if test ${exec_cv_autodepend+y} | ||
| 5594 | then : | ||
| 5595 | printf %s "(cached) " >&6 | ||
| 5596 | else $as_nop | ||
| 5597 | SAVE_CFLAGS="$CFLAGS" | ||
| 5598 | CFLAGS="$CFLAGS -MMD -MF deps.d -MP" | ||
| 5599 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 5600 | /* end confdefs.h. */ | ||
| 5601 | |||
| 5602 | int | ||
| 5603 | main (void) | ||
| 5604 | { | ||
| 5605 | |||
| 5606 | ; | ||
| 5607 | return 0; | ||
| 5608 | } | ||
| 5609 | _ACEOF | ||
| 5610 | if ac_fn_c_try_compile "$LINENO" | ||
| 5611 | then : | ||
| 5612 | exec_cv_autodepend=yes | ||
| 5613 | else $as_nop | ||
| 5614 | exec_cv_autodepend=no | ||
| 5615 | fi | ||
| 5616 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 5617 | CFLAGS="$SAVE_CFLAGS" | ||
| 5618 | test -f deps.d || emacs_cv_autodepend=no | ||
| 5619 | rm -rf deps.d | ||
| 5620 | fi | ||
| 5621 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $exec_cv_autodepend" >&5 | ||
| 5622 | printf "%s\n" "$exec_cv_autodepend" >&6; } | ||
| 5623 | if test "x$exec_cv_autodepend" = xyes | ||
| 5624 | then : | ||
| 5625 | AUTO_DEPEND=yes | ||
| 5626 | as_dir=deps; as_fn_mkdir_p | ||
| 5627 | fi | ||
| 5628 | fi | ||
| 5629 | |||
| 5630 | # Now check for some other stuff. | ||
| 5631 | |||
| 5632 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 'find' args to delete a file" >&5 | ||
| 5633 | printf %s "checking for 'find' args to delete a file... " >&6; } | ||
| 5634 | if test ${exec_cv_find_delete+y} | ||
| 5635 | then : | ||
| 5636 | printf %s "(cached) " >&6 | ||
| 5637 | else $as_nop | ||
| 5638 | if touch conftest.tmp && find conftest.tmp -delete 2>/dev/null && | ||
| 5639 | test ! -f conftest.tmp | ||
| 5640 | then : | ||
| 5641 | exec_cv_find_delete="-delete" | ||
| 5642 | else $as_nop | ||
| 5643 | exec_cv_find_delete="-exec rm -f {} ';'" | ||
| 5644 | fi | ||
| 5645 | fi | ||
| 5646 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $exec_cv_find_delete" >&5 | ||
| 5647 | printf "%s\n" "$exec_cv_find_delete" >&6; } | ||
| 5648 | FIND_DELETE=$exec_cv_find_delete | ||
| 5649 | |||
| 5650 | |||
| 5651 | ac_config_headers="$ac_config_headers config.h" | ||
| 5652 | |||
| 5653 | ac_config_files="$ac_config_files Makefile config-mips.m4" | ||
| 5654 | |||
| 5655 | |||
| 5656 | |||
| 5657 | |||
| 5658 | |||
| 5659 | |||
| 5660 | |||
| 5661 | |||
| 5662 | |||
| 5663 | |||
| 5664 | cat >confcache <<\_ACEOF | ||
| 5665 | # This file is a shell script that caches the results of configure | ||
| 5666 | # tests run on this system so they can be shared between configure | ||
| 5667 | # scripts and configure runs, see configure's option --config-cache. | ||
| 5668 | # It is not useful on other systems. If it contains results you don't | ||
| 5669 | # want to keep, you may remove or edit it. | ||
| 5670 | # | ||
| 5671 | # config.status only pays attention to the cache file if you give it | ||
| 5672 | # the --recheck option to rerun configure. | ||
| 5673 | # | ||
| 5674 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | ||
| 5675 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | ||
| 5676 | # following values. | ||
| 5677 | |||
| 5678 | _ACEOF | ||
| 5679 | |||
| 5680 | # The following way of writing the cache mishandles newlines in values, | ||
| 5681 | # but we know of no workaround that is simple, portable, and efficient. | ||
| 5682 | # So, we kill variables containing newlines. | ||
| 5683 | # Ultrix sh set writes to stderr and can't be redirected directly, | ||
| 5684 | # and sets the high bit in the cache file unless we assign to the vars. | ||
| 5685 | ( | ||
| 5686 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | ||
| 5687 | eval ac_val=\$$ac_var | ||
| 5688 | case $ac_val in #( | ||
| 5689 | *${as_nl}*) | ||
| 5690 | case $ac_var in #( | ||
| 5691 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | ||
| 5692 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | ||
| 5693 | esac | ||
| 5694 | case $ac_var in #( | ||
| 5695 | _ | IFS | as_nl) ;; #( | ||
| 5696 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | ||
| 5697 | *) { eval $ac_var=; unset $ac_var;} ;; | ||
| 5698 | esac ;; | ||
| 5699 | esac | ||
| 5700 | done | ||
| 5701 | |||
| 5702 | (set) 2>&1 | | ||
| 5703 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | ||
| 5704 | *${as_nl}ac_space=\ *) | ||
| 5705 | # `set' does not quote correctly, so add quotes: double-quote | ||
| 5706 | # substitution turns \\\\ into \\, and sed turns \\ into \. | ||
| 5707 | sed -n \ | ||
| 5708 | "s/'/'\\\\''/g; | ||
| 5709 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | ||
| 5710 | ;; #( | ||
| 5711 | *) | ||
| 5712 | # `set' quotes correctly as required by POSIX, so do not add quotes. | ||
| 5713 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | ||
| 5714 | ;; | ||
| 5715 | esac | | ||
| 5716 | sort | ||
| 5717 | ) | | ||
| 5718 | sed ' | ||
| 5719 | /^ac_cv_env_/b end | ||
| 5720 | t clear | ||
| 5721 | :clear | ||
| 5722 | s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ | ||
| 5723 | t end | ||
| 5724 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | ||
| 5725 | :end' >>confcache | ||
| 5726 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | ||
| 5727 | if test -w "$cache_file"; then | ||
| 5728 | if test "x$cache_file" != "x/dev/null"; then | ||
| 5729 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | ||
| 5730 | printf "%s\n" "$as_me: updating cache $cache_file" >&6;} | ||
| 5731 | if test ! -f "$cache_file" || test -h "$cache_file"; then | ||
| 5732 | cat confcache >"$cache_file" | ||
| 5733 | else | ||
| 5734 | case $cache_file in #( | ||
| 5735 | */* | ?:*) | ||
| 5736 | mv -f confcache "$cache_file"$$ && | ||
| 5737 | mv -f "$cache_file"$$ "$cache_file" ;; #( | ||
| 5738 | *) | ||
| 5739 | mv -f confcache "$cache_file" ;; | ||
| 5740 | esac | ||
| 5741 | fi | ||
| 5742 | fi | ||
| 5743 | else | ||
| 5744 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | ||
| 5745 | printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} | ||
| 5746 | fi | ||
| 5747 | fi | ||
| 5748 | rm -f confcache | ||
| 5749 | |||
| 5750 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | ||
| 5751 | # Let make expand exec_prefix. | ||
| 5752 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | ||
| 5753 | |||
| 5754 | DEFS=-DHAVE_CONFIG_H | ||
| 5755 | |||
| 5756 | ac_libobjs= | ||
| 5757 | ac_ltlibobjs= | ||
| 5758 | U= | ||
| 5759 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | ||
| 5760 | # 1. Remove the extension, and $U if already installed. | ||
| 5761 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | ||
| 5762 | ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` | ||
| 5763 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | ||
| 5764 | # will be set to the directory where LIBOBJS objects are built. | ||
| 5765 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | ||
| 5766 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | ||
| 5767 | done | ||
| 5768 | LIBOBJS=$ac_libobjs | ||
| 5769 | |||
| 5770 | LTLIBOBJS=$ac_ltlibobjs | ||
| 5771 | |||
| 5772 | |||
| 5773 | |||
| 5774 | |||
| 5775 | : "${CONFIG_STATUS=./config.status}" | ||
| 5776 | ac_write_fail=0 | ||
| 5777 | ac_clean_files_save=$ac_clean_files | ||
| 5778 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | ||
| 5779 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | ||
| 5780 | printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} | ||
| 5781 | as_write_fail=0 | ||
| 5782 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | ||
| 5783 | #! $SHELL | ||
| 5784 | # Generated by $as_me. | ||
| 5785 | # Run this file to recreate the current configuration. | ||
| 5786 | # Compiler output produced by configure, useful for debugging | ||
| 5787 | # configure, is in config.log if it exists. | ||
| 5788 | |||
| 5789 | debug=false | ||
| 5790 | ac_cs_recheck=false | ||
| 5791 | ac_cs_silent=false | ||
| 5792 | |||
| 5793 | SHELL=\${CONFIG_SHELL-$SHELL} | ||
| 5794 | export SHELL | ||
| 5795 | _ASEOF | ||
| 5796 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | ||
| 5797 | ## -------------------- ## | ||
| 5798 | ## M4sh Initialization. ## | ||
| 5799 | ## -------------------- ## | ||
| 5800 | |||
| 5801 | # Be more Bourne compatible | ||
| 5802 | DUALCASE=1; export DUALCASE # for MKS sh | ||
| 5803 | as_nop=: | ||
| 5804 | if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 | ||
| 5805 | then : | ||
| 5806 | emulate sh | ||
| 5807 | NULLCMD=: | ||
| 5808 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
| 5809 | # is contrary to our usage. Disable this feature. | ||
| 5810 | alias -g '${1+"$@"}'='"$@"' | ||
| 5811 | setopt NO_GLOB_SUBST | ||
| 5812 | else $as_nop | ||
| 5813 | case `(set -o) 2>/dev/null` in #( | ||
| 5814 | *posix*) : | ||
| 5815 | set -o posix ;; #( | ||
| 5816 | *) : | ||
| 5817 | ;; | ||
| 5818 | esac | ||
| 5819 | fi | ||
| 5820 | |||
| 5821 | |||
| 5822 | |||
| 5823 | # Reset variables that may have inherited troublesome values from | ||
| 5824 | # the environment. | ||
| 5825 | |||
| 5826 | # IFS needs to be set, to space, tab, and newline, in precisely that order. | ||
| 5827 | # (If _AS_PATH_WALK were called with IFS unset, it would have the | ||
| 5828 | # side effect of setting IFS to empty, thus disabling word splitting.) | ||
| 5829 | # Quoting is to prevent editors from complaining about space-tab. | ||
| 5830 | as_nl=' | ||
| 5831 | ' | ||
| 5832 | export as_nl | ||
| 5833 | IFS=" "" $as_nl" | ||
| 5834 | |||
| 5835 | PS1='$ ' | ||
| 5836 | PS2='> ' | ||
| 5837 | PS4='+ ' | ||
| 5838 | |||
| 5839 | # Ensure predictable behavior from utilities with locale-dependent output. | ||
| 5840 | LC_ALL=C | ||
| 5841 | export LC_ALL | ||
| 5842 | LANGUAGE=C | ||
| 5843 | export LANGUAGE | ||
| 5844 | |||
| 5845 | # We cannot yet rely on "unset" to work, but we need these variables | ||
| 5846 | # to be unset--not just set to an empty or harmless value--now, to | ||
| 5847 | # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct | ||
| 5848 | # also avoids known problems related to "unset" and subshell syntax | ||
| 5849 | # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). | ||
| 5850 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH | ||
| 5851 | do eval test \${$as_var+y} \ | ||
| 5852 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
| 5853 | done | ||
| 5854 | |||
| 5855 | # Ensure that fds 0, 1, and 2 are open. | ||
| 5856 | if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi | ||
| 5857 | if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi | ||
| 5858 | if (exec 3>&2) ; then :; else exec 2>/dev/null; fi | ||
| 5859 | |||
| 5860 | # The user is always right. | ||
| 5861 | if ${PATH_SEPARATOR+false} :; then | ||
| 5862 | PATH_SEPARATOR=: | ||
| 5863 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | ||
| 5864 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | ||
| 5865 | PATH_SEPARATOR=';' | ||
| 5866 | } | ||
| 5867 | fi | ||
| 5868 | |||
| 5869 | |||
| 5870 | # Find who we are. Look in the path if we contain no directory separator. | ||
| 5871 | as_myself= | ||
| 5872 | case $0 in #(( | ||
| 5873 | *[\\/]* ) as_myself=$0 ;; | ||
| 5874 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 5875 | for as_dir in $PATH | ||
| 5876 | do | ||
| 5877 | IFS=$as_save_IFS | ||
| 5878 | case $as_dir in #((( | ||
| 5879 | '') as_dir=./ ;; | ||
| 5880 | */) ;; | ||
| 5881 | *) as_dir=$as_dir/ ;; | ||
| 5882 | esac | ||
| 5883 | test -r "$as_dir$0" && as_myself=$as_dir$0 && break | ||
| 5884 | done | ||
| 5885 | IFS=$as_save_IFS | ||
| 5886 | |||
| 5887 | ;; | ||
| 5888 | esac | ||
| 5889 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
| 5890 | # in which case we are not to be found in the path. | ||
| 5891 | if test "x$as_myself" = x; then | ||
| 5892 | as_myself=$0 | ||
| 5893 | fi | ||
| 5894 | if test ! -f "$as_myself"; then | ||
| 5895 | printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
| 5896 | exit 1 | ||
| 5897 | fi | ||
| 5898 | |||
| 5899 | |||
| 5900 | |||
| 5901 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | ||
| 5902 | # ---------------------------------------- | ||
| 5903 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
| 5904 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
| 5905 | # script with STATUS, using 1 if that was 0. | ||
| 5906 | as_fn_error () | ||
| 5907 | { | ||
| 5908 | as_status=$1; test $as_status -eq 0 && as_status=1 | ||
| 5909 | if test "$4"; then | ||
| 5910 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 5911 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | ||
| 5912 | fi | ||
| 5913 | printf "%s\n" "$as_me: error: $2" >&2 | ||
| 5914 | as_fn_exit $as_status | ||
| 5915 | } # as_fn_error | ||
| 5916 | |||
| 5917 | |||
| 5918 | |||
| 5919 | # as_fn_set_status STATUS | ||
| 5920 | # ----------------------- | ||
| 5921 | # Set $? to STATUS, without forking. | ||
| 5922 | as_fn_set_status () | ||
| 5923 | { | ||
| 5924 | return $1 | ||
| 5925 | } # as_fn_set_status | ||
| 5926 | |||
| 5927 | # as_fn_exit STATUS | ||
| 5928 | # ----------------- | ||
| 5929 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | ||
| 5930 | as_fn_exit () | ||
| 5931 | { | ||
| 5932 | set +e | ||
| 5933 | as_fn_set_status $1 | ||
| 5934 | exit $1 | ||
| 5935 | } # as_fn_exit | ||
| 5936 | |||
| 5937 | # as_fn_unset VAR | ||
| 5938 | # --------------- | ||
| 5939 | # Portably unset VAR. | ||
| 5940 | as_fn_unset () | ||
| 5941 | { | ||
| 5942 | { eval $1=; unset $1;} | ||
| 5943 | } | ||
| 5944 | as_unset=as_fn_unset | ||
| 5945 | |||
| 5946 | # as_fn_append VAR VALUE | ||
| 5947 | # ---------------------- | ||
| 5948 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
| 5949 | # advantage of any shell optimizations that allow amortized linear growth over | ||
| 5950 | # repeated appends, instead of the typical quadratic growth present in naive | ||
| 5951 | # implementations. | ||
| 5952 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null | ||
| 5953 | then : | ||
| 5954 | eval 'as_fn_append () | ||
| 5955 | { | ||
| 5956 | eval $1+=\$2 | ||
| 5957 | }' | ||
| 5958 | else $as_nop | ||
| 5959 | as_fn_append () | ||
| 5960 | { | ||
| 5961 | eval $1=\$$1\$2 | ||
| 5962 | } | ||
| 5963 | fi # as_fn_append | ||
| 5964 | |||
| 5965 | # as_fn_arith ARG... | ||
| 5966 | # ------------------ | ||
| 5967 | # Perform arithmetic evaluation on the ARGs, and store the result in the | ||
| 5968 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | ||
| 5969 | # must be portable across $(()) and expr. | ||
| 5970 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null | ||
| 5971 | then : | ||
| 5972 | eval 'as_fn_arith () | ||
| 5973 | { | ||
| 5974 | as_val=$(( $* )) | ||
| 5975 | }' | ||
| 5976 | else $as_nop | ||
| 5977 | as_fn_arith () | ||
| 5978 | { | ||
| 5979 | as_val=`expr "$@" || test $? -eq 1` | ||
| 5980 | } | ||
| 5981 | fi # as_fn_arith | ||
| 5982 | |||
| 5983 | |||
| 5984 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
| 5985 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 5986 | as_expr=expr | ||
| 5987 | else | ||
| 5988 | as_expr=false | ||
| 5989 | fi | ||
| 5990 | |||
| 5991 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
| 5992 | as_basename=basename | ||
| 5993 | else | ||
| 5994 | as_basename=false | ||
| 5995 | fi | ||
| 5996 | |||
| 5997 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
| 5998 | as_dirname=dirname | ||
| 5999 | else | ||
| 6000 | as_dirname=false | ||
| 6001 | fi | ||
| 6002 | |||
| 6003 | as_me=`$as_basename -- "$0" || | ||
| 6004 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
| 6005 | X"$0" : 'X\(//\)$' \| \ | ||
| 6006 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
| 6007 | printf "%s\n" X/"$0" | | ||
| 6008 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
| 6009 | s//\1/ | ||
| 6010 | q | ||
| 6011 | } | ||
| 6012 | /^X\/\(\/\/\)$/{ | ||
| 6013 | s//\1/ | ||
| 6014 | q | ||
| 6015 | } | ||
| 6016 | /^X\/\(\/\).*/{ | ||
| 6017 | s//\1/ | ||
| 6018 | q | ||
| 6019 | } | ||
| 6020 | s/.*/./; q'` | ||
| 6021 | |||
| 6022 | # Avoid depending upon Character Ranges. | ||
| 6023 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 6024 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 6025 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 6026 | as_cr_digits='0123456789' | ||
| 6027 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 6028 | |||
| 6029 | |||
| 6030 | # Determine whether it's possible to make 'echo' print without a newline. | ||
| 6031 | # These variables are no longer used directly by Autoconf, but are AC_SUBSTed | ||
| 6032 | # for compatibility with existing Makefiles. | ||
| 6033 | ECHO_C= ECHO_N= ECHO_T= | ||
| 6034 | case `echo -n x` in #((((( | ||
| 6035 | -n*) | ||
| 6036 | case `echo 'xy\c'` in | ||
| 6037 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
| 6038 | xy) ECHO_C='\c';; | ||
| 6039 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
| 6040 | ECHO_T=' ';; | ||
| 6041 | esac;; | ||
| 6042 | *) | ||
| 6043 | ECHO_N='-n';; | ||
| 6044 | esac | ||
| 6045 | |||
| 6046 | # For backward compatibility with old third-party macros, we provide | ||
| 6047 | # the shell variables $as_echo and $as_echo_n. New code should use | ||
| 6048 | # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. | ||
| 6049 | as_echo='printf %s\n' | ||
| 6050 | as_echo_n='printf %s' | ||
| 6051 | |||
| 6052 | rm -f conf$$ conf$$.exe conf$$.file | ||
| 6053 | if test -d conf$$.dir; then | ||
| 6054 | rm -f conf$$.dir/conf$$.file | ||
| 6055 | else | ||
| 6056 | rm -f conf$$.dir | ||
| 6057 | mkdir conf$$.dir 2>/dev/null | ||
| 6058 | fi | ||
| 6059 | if (echo >conf$$.file) 2>/dev/null; then | ||
| 6060 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
| 6061 | as_ln_s='ln -s' | ||
| 6062 | # ... but there are two gotchas: | ||
| 6063 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | ||
| 6064 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | ||
| 6065 | # In both cases, we have to default to `cp -pR'. | ||
| 6066 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ||
| 6067 | as_ln_s='cp -pR' | ||
| 6068 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
| 6069 | as_ln_s=ln | ||
| 6070 | else | ||
| 6071 | as_ln_s='cp -pR' | ||
| 6072 | fi | ||
| 6073 | else | ||
| 6074 | as_ln_s='cp -pR' | ||
| 6075 | fi | ||
| 6076 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | ||
| 6077 | rmdir conf$$.dir 2>/dev/null | ||
| 6078 | |||
| 6079 | |||
| 6080 | # as_fn_mkdir_p | ||
| 6081 | # ------------- | ||
| 6082 | # Create "$as_dir" as a directory, including parents if necessary. | ||
| 6083 | as_fn_mkdir_p () | ||
| 6084 | { | ||
| 6085 | |||
| 6086 | case $as_dir in #( | ||
| 6087 | -*) as_dir=./$as_dir;; | ||
| 6088 | esac | ||
| 6089 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
| 6090 | as_dirs= | ||
| 6091 | while :; do | ||
| 6092 | case $as_dir in #( | ||
| 6093 | *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
| 6094 | *) as_qdir=$as_dir;; | ||
| 6095 | esac | ||
| 6096 | as_dirs="'$as_qdir' $as_dirs" | ||
| 6097 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 6098 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 6099 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 6100 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 6101 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
| 6102 | printf "%s\n" X"$as_dir" | | ||
| 6103 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 6104 | s//\1/ | ||
| 6105 | q | ||
| 6106 | } | ||
| 6107 | /^X\(\/\/\)[^/].*/{ | ||
| 6108 | s//\1/ | ||
| 6109 | q | ||
| 6110 | } | ||
| 6111 | /^X\(\/\/\)$/{ | ||
| 6112 | s//\1/ | ||
| 6113 | q | ||
| 6114 | } | ||
| 6115 | /^X\(\/\).*/{ | ||
| 6116 | s//\1/ | ||
| 6117 | q | ||
| 6118 | } | ||
| 6119 | s/.*/./; q'` | ||
| 6120 | test -d "$as_dir" && break | ||
| 6121 | done | ||
| 6122 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
| 6123 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | ||
| 6124 | |||
| 6125 | |||
| 6126 | } # as_fn_mkdir_p | ||
| 6127 | if mkdir -p . 2>/dev/null; then | ||
| 6128 | as_mkdir_p='mkdir -p "$as_dir"' | ||
| 6129 | else | ||
| 6130 | test -d ./-p && rmdir ./-p | ||
| 6131 | as_mkdir_p=false | ||
| 6132 | fi | ||
| 6133 | |||
| 6134 | |||
| 6135 | # as_fn_executable_p FILE | ||
| 6136 | # ----------------------- | ||
| 6137 | # Test if FILE is an executable regular file. | ||
| 6138 | as_fn_executable_p () | ||
| 6139 | { | ||
| 6140 | test -f "$1" && test -x "$1" | ||
| 6141 | } # as_fn_executable_p | ||
| 6142 | as_test_x='test -x' | ||
| 6143 | as_executable_p=as_fn_executable_p | ||
| 6144 | |||
| 6145 | # Sed expression to map a string onto a valid CPP name. | ||
| 6146 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
| 6147 | |||
| 6148 | # Sed expression to map a string onto a valid variable name. | ||
| 6149 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
| 6150 | |||
| 6151 | |||
| 6152 | exec 6>&1 | ||
| 6153 | ## ----------------------------------- ## | ||
| 6154 | ## Main body of $CONFIG_STATUS script. ## | ||
| 6155 | ## ----------------------------------- ## | ||
| 6156 | _ASEOF | ||
| 6157 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | ||
| 6158 | |||
| 6159 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 6160 | # Save the log message, to keep $0 and so on meaningful, and to | ||
| 6161 | # report actual input values of CONFIG_FILES etc. instead of their | ||
| 6162 | # values after options handling. | ||
| 6163 | ac_log=" | ||
| 6164 | This file was extended by libexec $as_me 30.0.50, which was | ||
| 6165 | generated by GNU Autoconf 2.71. Invocation command line was | ||
| 6166 | |||
| 6167 | CONFIG_FILES = $CONFIG_FILES | ||
| 6168 | CONFIG_HEADERS = $CONFIG_HEADERS | ||
| 6169 | CONFIG_LINKS = $CONFIG_LINKS | ||
| 6170 | CONFIG_COMMANDS = $CONFIG_COMMANDS | ||
| 6171 | $ $0 $@ | ||
| 6172 | |||
| 6173 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
| 6174 | " | ||
| 6175 | |||
| 6176 | _ACEOF | ||
| 6177 | |||
| 6178 | case $ac_config_files in *" | ||
| 6179 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | ||
| 6180 | esac | ||
| 6181 | |||
| 6182 | case $ac_config_headers in *" | ||
| 6183 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | ||
| 6184 | esac | ||
| 6185 | |||
| 6186 | |||
| 6187 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 6188 | # Files that config.status was made for. | ||
| 6189 | config_files="$ac_config_files" | ||
| 6190 | config_headers="$ac_config_headers" | ||
| 6191 | |||
| 6192 | _ACEOF | ||
| 6193 | |||
| 6194 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 6195 | ac_cs_usage="\ | ||
| 6196 | \`$as_me' instantiates files and other configuration actions | ||
| 6197 | from templates according to the current configuration. Unless the files | ||
| 6198 | and actions are specified as TAGs, all are instantiated by default. | ||
| 6199 | |||
| 6200 | Usage: $0 [OPTION]... [TAG]... | ||
| 6201 | |||
| 6202 | -h, --help print this help, then exit | ||
| 6203 | -V, --version print version number and configuration settings, then exit | ||
| 6204 | --config print configuration, then exit | ||
| 6205 | -q, --quiet, --silent | ||
| 6206 | do not print progress messages | ||
| 6207 | -d, --debug don't remove temporary files | ||
| 6208 | --recheck update $as_me by reconfiguring in the same conditions | ||
| 6209 | --file=FILE[:TEMPLATE] | ||
| 6210 | instantiate the configuration file FILE | ||
| 6211 | --header=FILE[:TEMPLATE] | ||
| 6212 | instantiate the configuration header FILE | ||
| 6213 | |||
| 6214 | Configuration files: | ||
| 6215 | $config_files | ||
| 6216 | |||
| 6217 | Configuration headers: | ||
| 6218 | $config_headers | ||
| 6219 | |||
| 6220 | Report bugs to <bug-gnu-emacs@gnu.org>. | ||
| 6221 | libexec home page: <https://www.gnu.org/software/emacs/>." | ||
| 6222 | |||
| 6223 | _ACEOF | ||
| 6224 | ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` | ||
| 6225 | ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` | ||
| 6226 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 6227 | ac_cs_config='$ac_cs_config_escaped' | ||
| 6228 | ac_cs_version="\\ | ||
| 6229 | libexec config.status 30.0.50 | ||
| 6230 | configured by $0, generated by GNU Autoconf 2.71, | ||
| 6231 | with options \\"\$ac_cs_config\\" | ||
| 6232 | |||
| 6233 | Copyright (C) 2021 Free Software Foundation, Inc. | ||
| 6234 | This config.status script is free software; the Free Software Foundation | ||
| 6235 | gives unlimited permission to copy, distribute and modify it." | ||
| 6236 | |||
| 6237 | ac_pwd='$ac_pwd' | ||
| 6238 | srcdir='$srcdir' | ||
| 6239 | INSTALL='$INSTALL' | ||
| 6240 | test -n "\$AWK" || AWK=awk | ||
| 6241 | _ACEOF | ||
| 6242 | |||
| 6243 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 6244 | # The default lists apply if the user does not specify any file. | ||
| 6245 | ac_need_defaults=: | ||
| 6246 | while test $# != 0 | ||
| 6247 | do | ||
| 6248 | case $1 in | ||
| 6249 | --*=?*) | ||
| 6250 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | ||
| 6251 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | ||
| 6252 | ac_shift=: | ||
| 6253 | ;; | ||
| 6254 | --*=) | ||
| 6255 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | ||
| 6256 | ac_optarg= | ||
| 6257 | ac_shift=: | ||
| 6258 | ;; | ||
| 6259 | *) | ||
| 6260 | ac_option=$1 | ||
| 6261 | ac_optarg=$2 | ||
| 6262 | ac_shift=shift | ||
| 6263 | ;; | ||
| 6264 | esac | ||
| 6265 | |||
| 6266 | case $ac_option in | ||
| 6267 | # Handling of the options. | ||
| 6268 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | ||
| 6269 | ac_cs_recheck=: ;; | ||
| 6270 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | ||
| 6271 | printf "%s\n" "$ac_cs_version"; exit ;; | ||
| 6272 | --config | --confi | --conf | --con | --co | --c ) | ||
| 6273 | printf "%s\n" "$ac_cs_config"; exit ;; | ||
| 6274 | --debug | --debu | --deb | --de | --d | -d ) | ||
| 6275 | debug=: ;; | ||
| 6276 | --file | --fil | --fi | --f ) | ||
| 6277 | $ac_shift | ||
| 6278 | case $ac_optarg in | ||
| 6279 | *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
| 6280 | '') as_fn_error $? "missing file argument" ;; | ||
| 6281 | esac | ||
| 6282 | as_fn_append CONFIG_FILES " '$ac_optarg'" | ||
| 6283 | ac_need_defaults=false;; | ||
| 6284 | --header | --heade | --head | --hea ) | ||
| 6285 | $ac_shift | ||
| 6286 | case $ac_optarg in | ||
| 6287 | *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
| 6288 | esac | ||
| 6289 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" | ||
| 6290 | ac_need_defaults=false;; | ||
| 6291 | --he | --h) | ||
| 6292 | # Conflict between --help and --header | ||
| 6293 | as_fn_error $? "ambiguous option: \`$1' | ||
| 6294 | Try \`$0 --help' for more information.";; | ||
| 6295 | --help | --hel | -h ) | ||
| 6296 | printf "%s\n" "$ac_cs_usage"; exit ;; | ||
| 6297 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
| 6298 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | ||
| 6299 | ac_cs_silent=: ;; | ||
| 6300 | |||
| 6301 | # This is an error. | ||
| 6302 | -*) as_fn_error $? "unrecognized option: \`$1' | ||
| 6303 | Try \`$0 --help' for more information." ;; | ||
| 6304 | |||
| 6305 | *) as_fn_append ac_config_targets " $1" | ||
| 6306 | ac_need_defaults=false ;; | ||
| 6307 | |||
| 6308 | esac | ||
| 6309 | shift | ||
| 6310 | done | ||
| 6311 | |||
| 6312 | ac_configure_extra_args= | ||
| 6313 | |||
| 6314 | if $ac_cs_silent; then | ||
| 6315 | exec 6>/dev/null | ||
| 6316 | ac_configure_extra_args="$ac_configure_extra_args --silent" | ||
| 6317 | fi | ||
| 6318 | |||
| 6319 | _ACEOF | ||
| 6320 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 6321 | if \$ac_cs_recheck; then | ||
| 6322 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | ||
| 6323 | shift | ||
| 6324 | \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 | ||
| 6325 | CONFIG_SHELL='$SHELL' | ||
| 6326 | export CONFIG_SHELL | ||
| 6327 | exec "\$@" | ||
| 6328 | fi | ||
| 6329 | |||
| 6330 | _ACEOF | ||
| 6331 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 6332 | exec 5>>config.log | ||
| 6333 | { | ||
| 6334 | echo | ||
| 6335 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | ||
| 6336 | ## Running $as_me. ## | ||
| 6337 | _ASBOX | ||
| 6338 | printf "%s\n" "$ac_log" | ||
| 6339 | } >&5 | ||
| 6340 | |||
| 6341 | _ACEOF | ||
| 6342 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 6343 | _ACEOF | ||
| 6344 | |||
| 6345 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 6346 | |||
| 6347 | # Handling of arguments. | ||
| 6348 | for ac_config_target in $ac_config_targets | ||
| 6349 | do | ||
| 6350 | case $ac_config_target in | ||
| 6351 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | ||
| 6352 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | ||
| 6353 | "config-mips.m4") CONFIG_FILES="$CONFIG_FILES config-mips.m4" ;; | ||
| 6354 | |||
| 6355 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | ||
| 6356 | esac | ||
| 6357 | done | ||
| 6358 | |||
| 6359 | |||
| 6360 | # If the user did not use the arguments to specify the items to instantiate, | ||
| 6361 | # then the envvar interface is used. Set only those that are not. | ||
| 6362 | # We use the long form for the default assignment because of an extremely | ||
| 6363 | # bizarre bug on SunOS 4.1.3. | ||
| 6364 | if $ac_need_defaults; then | ||
| 6365 | test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files | ||
| 6366 | test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers | ||
| 6367 | fi | ||
| 6368 | |||
| 6369 | # Have a temporary directory for convenience. Make it in the build tree | ||
| 6370 | # simply because there is no reason against having it here, and in addition, | ||
| 6371 | # creating and moving files from /tmp can sometimes cause problems. | ||
| 6372 | # Hook for its removal unless debugging. | ||
| 6373 | # Note that there is a small window in which the directory will not be cleaned: | ||
| 6374 | # after its creation but before its name has been assigned to `$tmp'. | ||
| 6375 | $debug || | ||
| 6376 | { | ||
| 6377 | tmp= ac_tmp= | ||
| 6378 | trap 'exit_status=$? | ||
| 6379 | : "${ac_tmp:=$tmp}" | ||
| 6380 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | ||
| 6381 | ' 0 | ||
| 6382 | trap 'as_fn_exit 1' 1 2 13 15 | ||
| 6383 | } | ||
| 6384 | # Create a (secure) tmp directory for tmp files. | ||
| 6385 | |||
| 6386 | { | ||
| 6387 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | ||
| 6388 | test -d "$tmp" | ||
| 6389 | } || | ||
| 6390 | { | ||
| 6391 | tmp=./conf$$-$RANDOM | ||
| 6392 | (umask 077 && mkdir "$tmp") | ||
| 6393 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | ||
| 6394 | ac_tmp=$tmp | ||
| 6395 | |||
| 6396 | # Set up the scripts for CONFIG_FILES section. | ||
| 6397 | # No need to generate them if there are no CONFIG_FILES. | ||
| 6398 | # This happens for instance with `./config.status config.h'. | ||
| 6399 | if test -n "$CONFIG_FILES"; then | ||
| 6400 | |||
| 6401 | |||
| 6402 | ac_cr=`echo X | tr X '\015'` | ||
| 6403 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | ||
| 6404 | # But we know of no other shell where ac_cr would be empty at this | ||
| 6405 | # point, so we can use a bashism as a fallback. | ||
| 6406 | if test "x$ac_cr" = x; then | ||
| 6407 | eval ac_cr=\$\'\\r\' | ||
| 6408 | fi | ||
| 6409 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | ||
| 6410 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | ||
| 6411 | ac_cs_awk_cr='\\r' | ||
| 6412 | else | ||
| 6413 | ac_cs_awk_cr=$ac_cr | ||
| 6414 | fi | ||
| 6415 | |||
| 6416 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | ||
| 6417 | _ACEOF | ||
| 6418 | |||
| 6419 | |||
| 6420 | { | ||
| 6421 | echo "cat >conf$$subs.awk <<_ACEOF" && | ||
| 6422 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | ||
| 6423 | echo "_ACEOF" | ||
| 6424 | } >conf$$subs.sh || | ||
| 6425 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | ||
| 6426 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | ||
| 6427 | ac_delim='%!_!# ' | ||
| 6428 | for ac_last_try in false false false false false :; do | ||
| 6429 | . ./conf$$subs.sh || | ||
| 6430 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | ||
| 6431 | |||
| 6432 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | ||
| 6433 | if test $ac_delim_n = $ac_delim_num; then | ||
| 6434 | break | ||
| 6435 | elif $ac_last_try; then | ||
| 6436 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | ||
| 6437 | else | ||
| 6438 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | ||
| 6439 | fi | ||
| 6440 | done | ||
| 6441 | rm -f conf$$subs.sh | ||
| 6442 | |||
| 6443 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 6444 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | ||
| 6445 | _ACEOF | ||
| 6446 | sed -n ' | ||
| 6447 | h | ||
| 6448 | s/^/S["/; s/!.*/"]=/ | ||
| 6449 | p | ||
| 6450 | g | ||
| 6451 | s/^[^!]*!// | ||
| 6452 | :repl | ||
| 6453 | t repl | ||
| 6454 | s/'"$ac_delim"'$// | ||
| 6455 | t delim | ||
| 6456 | :nl | ||
| 6457 | h | ||
| 6458 | s/\(.\{148\}\)..*/\1/ | ||
| 6459 | t more1 | ||
| 6460 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | ||
| 6461 | p | ||
| 6462 | n | ||
| 6463 | b repl | ||
| 6464 | :more1 | ||
| 6465 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
| 6466 | p | ||
| 6467 | g | ||
| 6468 | s/.\{148\}// | ||
| 6469 | t nl | ||
| 6470 | :delim | ||
| 6471 | h | ||
| 6472 | s/\(.\{148\}\)..*/\1/ | ||
| 6473 | t more2 | ||
| 6474 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | ||
| 6475 | p | ||
| 6476 | b | ||
| 6477 | :more2 | ||
| 6478 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
| 6479 | p | ||
| 6480 | g | ||
| 6481 | s/.\{148\}// | ||
| 6482 | t delim | ||
| 6483 | ' <conf$$subs.awk | sed ' | ||
| 6484 | /^[^""]/{ | ||
| 6485 | N | ||
| 6486 | s/\n// | ||
| 6487 | } | ||
| 6488 | ' >>$CONFIG_STATUS || ac_write_fail=1 | ||
| 6489 | rm -f conf$$subs.awk | ||
| 6490 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 6491 | _ACAWK | ||
| 6492 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | ||
| 6493 | for (key in S) S_is_set[key] = 1 | ||
| 6494 | FS = "" | ||
| 6495 | |||
| 6496 | } | ||
| 6497 | { | ||
| 6498 | line = $ 0 | ||
| 6499 | nfields = split(line, field, "@") | ||
| 6500 | substed = 0 | ||
| 6501 | len = length(field[1]) | ||
| 6502 | for (i = 2; i < nfields; i++) { | ||
| 6503 | key = field[i] | ||
| 6504 | keylen = length(key) | ||
| 6505 | if (S_is_set[key]) { | ||
| 6506 | value = S[key] | ||
| 6507 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | ||
| 6508 | len += length(value) + length(field[++i]) | ||
| 6509 | substed = 1 | ||
| 6510 | } else | ||
| 6511 | len += 1 + keylen | ||
| 6512 | } | ||
| 6513 | |||
| 6514 | print line | ||
| 6515 | } | ||
| 6516 | |||
| 6517 | _ACAWK | ||
| 6518 | _ACEOF | ||
| 6519 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 6520 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | ||
| 6521 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | ||
| 6522 | else | ||
| 6523 | cat | ||
| 6524 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | ||
| 6525 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | ||
| 6526 | _ACEOF | ||
| 6527 | |||
| 6528 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | ||
| 6529 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | ||
| 6530 | # trailing colons and then remove the whole line if VPATH becomes empty | ||
| 6531 | # (actually we leave an empty line to preserve line numbers). | ||
| 6532 | if test "x$srcdir" = x.; then | ||
| 6533 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | ||
| 6534 | h | ||
| 6535 | s/// | ||
| 6536 | s/^/:/ | ||
| 6537 | s/[ ]*$/:/ | ||
| 6538 | s/:\$(srcdir):/:/g | ||
| 6539 | s/:\${srcdir}:/:/g | ||
| 6540 | s/:@srcdir@:/:/g | ||
| 6541 | s/^:*// | ||
| 6542 | s/:*$// | ||
| 6543 | x | ||
| 6544 | s/\(=[ ]*\).*/\1/ | ||
| 6545 | G | ||
| 6546 | s/\n// | ||
| 6547 | s/^[^=]*=[ ]*$// | ||
| 6548 | }' | ||
| 6549 | fi | ||
| 6550 | |||
| 6551 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 6552 | fi # test -n "$CONFIG_FILES" | ||
| 6553 | |||
| 6554 | # Set up the scripts for CONFIG_HEADERS section. | ||
| 6555 | # No need to generate them if there are no CONFIG_HEADERS. | ||
| 6556 | # This happens for instance with `./config.status Makefile'. | ||
| 6557 | if test -n "$CONFIG_HEADERS"; then | ||
| 6558 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || | ||
| 6559 | BEGIN { | ||
| 6560 | _ACEOF | ||
| 6561 | |||
| 6562 | # Transform confdefs.h into an awk script `defines.awk', embedded as | ||
| 6563 | # here-document in config.status, that substitutes the proper values into | ||
| 6564 | # config.h.in to produce config.h. | ||
| 6565 | |||
| 6566 | # Create a delimiter string that does not exist in confdefs.h, to ease | ||
| 6567 | # handling of long lines. | ||
| 6568 | ac_delim='%!_!# ' | ||
| 6569 | for ac_last_try in false false :; do | ||
| 6570 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` | ||
| 6571 | if test -z "$ac_tt"; then | ||
| 6572 | break | ||
| 6573 | elif $ac_last_try; then | ||
| 6574 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | ||
| 6575 | else | ||
| 6576 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | ||
| 6577 | fi | ||
| 6578 | done | ||
| 6579 | |||
| 6580 | # For the awk script, D is an array of macro values keyed by name, | ||
| 6581 | # likewise P contains macro parameters if any. Preserve backslash | ||
| 6582 | # newline sequences. | ||
| 6583 | |||
| 6584 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | ||
| 6585 | sed -n ' | ||
| 6586 | s/.\{148\}/&'"$ac_delim"'/g | ||
| 6587 | t rset | ||
| 6588 | :rset | ||
| 6589 | s/^[ ]*#[ ]*define[ ][ ]*/ / | ||
| 6590 | t def | ||
| 6591 | d | ||
| 6592 | :def | ||
| 6593 | s/\\$// | ||
| 6594 | t bsnl | ||
| 6595 | s/["\\]/\\&/g | ||
| 6596 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
| 6597 | D["\1"]=" \3"/p | ||
| 6598 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | ||
| 6599 | d | ||
| 6600 | :bsnl | ||
| 6601 | s/["\\]/\\&/g | ||
| 6602 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
| 6603 | D["\1"]=" \3\\\\\\n"\\/p | ||
| 6604 | t cont | ||
| 6605 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | ||
| 6606 | t cont | ||
| 6607 | d | ||
| 6608 | :cont | ||
| 6609 | n | ||
| 6610 | s/.\{148\}/&'"$ac_delim"'/g | ||
| 6611 | t clear | ||
| 6612 | :clear | ||
| 6613 | s/\\$// | ||
| 6614 | t bsnlc | ||
| 6615 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | ||
| 6616 | d | ||
| 6617 | :bsnlc | ||
| 6618 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | ||
| 6619 | b cont | ||
| 6620 | ' <confdefs.h | sed ' | ||
| 6621 | s/'"$ac_delim"'/"\\\ | ||
| 6622 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | ||
| 6623 | |||
| 6624 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 6625 | for (key in D) D_is_set[key] = 1 | ||
| 6626 | FS = "" | ||
| 6627 | } | ||
| 6628 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | ||
| 6629 | line = \$ 0 | ||
| 6630 | split(line, arg, " ") | ||
| 6631 | if (arg[1] == "#") { | ||
| 6632 | defundef = arg[2] | ||
| 6633 | mac1 = arg[3] | ||
| 6634 | } else { | ||
| 6635 | defundef = substr(arg[1], 2) | ||
| 6636 | mac1 = arg[2] | ||
| 6637 | } | ||
| 6638 | split(mac1, mac2, "(") #) | ||
| 6639 | macro = mac2[1] | ||
| 6640 | prefix = substr(line, 1, index(line, defundef) - 1) | ||
| 6641 | if (D_is_set[macro]) { | ||
| 6642 | # Preserve the white space surrounding the "#". | ||
| 6643 | print prefix "define", macro P[macro] D[macro] | ||
| 6644 | next | ||
| 6645 | } else { | ||
| 6646 | # Replace #undef with comments. This is necessary, for example, | ||
| 6647 | # in the case of _POSIX_SOURCE, which is predefined and required | ||
| 6648 | # on some systems where configure will not decide to define it. | ||
| 6649 | if (defundef == "undef") { | ||
| 6650 | print "/*", prefix defundef, macro, "*/" | ||
| 6651 | next | ||
| 6652 | } | ||
| 6653 | } | ||
| 6654 | } | ||
| 6655 | { print } | ||
| 6656 | _ACAWK | ||
| 6657 | _ACEOF | ||
| 6658 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 6659 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | ||
| 6660 | fi # test -n "$CONFIG_HEADERS" | ||
| 6661 | |||
| 6662 | |||
| 6663 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " | ||
| 6664 | shift | ||
| 6665 | for ac_tag | ||
| 6666 | do | ||
| 6667 | case $ac_tag in | ||
| 6668 | :[FHLC]) ac_mode=$ac_tag; continue;; | ||
| 6669 | esac | ||
| 6670 | case $ac_mode$ac_tag in | ||
| 6671 | :[FHL]*:*);; | ||
| 6672 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | ||
| 6673 | :[FH]-) ac_tag=-:-;; | ||
| 6674 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | ||
| 6675 | esac | ||
| 6676 | ac_save_IFS=$IFS | ||
| 6677 | IFS=: | ||
| 6678 | set x $ac_tag | ||
| 6679 | IFS=$ac_save_IFS | ||
| 6680 | shift | ||
| 6681 | ac_file=$1 | ||
| 6682 | shift | ||
| 6683 | |||
| 6684 | case $ac_mode in | ||
| 6685 | :L) ac_source=$1;; | ||
| 6686 | :[FH]) | ||
| 6687 | ac_file_inputs= | ||
| 6688 | for ac_f | ||
| 6689 | do | ||
| 6690 | case $ac_f in | ||
| 6691 | -) ac_f="$ac_tmp/stdin";; | ||
| 6692 | *) # Look for the file first in the build tree, then in the source tree | ||
| 6693 | # (if the path is not absolute). The absolute path cannot be DOS-style, | ||
| 6694 | # because $ac_f cannot contain `:'. | ||
| 6695 | test -f "$ac_f" || | ||
| 6696 | case $ac_f in | ||
| 6697 | [\\/$]*) false;; | ||
| 6698 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | ||
| 6699 | esac || | ||
| 6700 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | ||
| 6701 | esac | ||
| 6702 | case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | ||
| 6703 | as_fn_append ac_file_inputs " '$ac_f'" | ||
| 6704 | done | ||
| 6705 | |||
| 6706 | # Let's still pretend it is `configure' which instantiates (i.e., don't | ||
| 6707 | # use $as_me), people would be surprised to read: | ||
| 6708 | # /* config.h. Generated by config.status. */ | ||
| 6709 | configure_input='Generated from '` | ||
| 6710 | printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | ||
| 6711 | `' by configure.' | ||
| 6712 | if test x"$ac_file" != x-; then | ||
| 6713 | configure_input="$ac_file. $configure_input" | ||
| 6714 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | ||
| 6715 | printf "%s\n" "$as_me: creating $ac_file" >&6;} | ||
| 6716 | fi | ||
| 6717 | # Neutralize special characters interpreted by sed in replacement strings. | ||
| 6718 | case $configure_input in #( | ||
| 6719 | *\&* | *\|* | *\\* ) | ||
| 6720 | ac_sed_conf_input=`printf "%s\n" "$configure_input" | | ||
| 6721 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | ||
| 6722 | *) ac_sed_conf_input=$configure_input;; | ||
| 6723 | esac | ||
| 6724 | |||
| 6725 | case $ac_tag in | ||
| 6726 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ | ||
| 6727 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | ||
| 6728 | esac | ||
| 6729 | ;; | ||
| 6730 | esac | ||
| 6731 | |||
| 6732 | ac_dir=`$as_dirname -- "$ac_file" || | ||
| 6733 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 6734 | X"$ac_file" : 'X\(//\)[^/]' \| \ | ||
| 6735 | X"$ac_file" : 'X\(//\)$' \| \ | ||
| 6736 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | ||
| 6737 | printf "%s\n" X"$ac_file" | | ||
| 6738 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 6739 | s//\1/ | ||
| 6740 | q | ||
| 6741 | } | ||
| 6742 | /^X\(\/\/\)[^/].*/{ | ||
| 6743 | s//\1/ | ||
| 6744 | q | ||
| 6745 | } | ||
| 6746 | /^X\(\/\/\)$/{ | ||
| 6747 | s//\1/ | ||
| 6748 | q | ||
| 6749 | } | ||
| 6750 | /^X\(\/\).*/{ | ||
| 6751 | s//\1/ | ||
| 6752 | q | ||
| 6753 | } | ||
| 6754 | s/.*/./; q'` | ||
| 6755 | as_dir="$ac_dir"; as_fn_mkdir_p | ||
| 6756 | ac_builddir=. | ||
| 6757 | |||
| 6758 | case "$ac_dir" in | ||
| 6759 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
| 6760 | *) | ||
| 6761 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` | ||
| 6762 | # A ".." for each directory in $ac_dir_suffix. | ||
| 6763 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | ||
| 6764 | case $ac_top_builddir_sub in | ||
| 6765 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
| 6766 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | ||
| 6767 | esac ;; | ||
| 6768 | esac | ||
| 6769 | ac_abs_top_builddir=$ac_pwd | ||
| 6770 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
| 6771 | # for backward compatibility: | ||
| 6772 | ac_top_builddir=$ac_top_build_prefix | ||
| 6773 | |||
| 6774 | case $srcdir in | ||
| 6775 | .) # We are building in place. | ||
| 6776 | ac_srcdir=. | ||
| 6777 | ac_top_srcdir=$ac_top_builddir_sub | ||
| 6778 | ac_abs_top_srcdir=$ac_pwd ;; | ||
| 6779 | [\\/]* | ?:[\\/]* ) # Absolute name. | ||
| 6780 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
| 6781 | ac_top_srcdir=$srcdir | ||
| 6782 | ac_abs_top_srcdir=$srcdir ;; | ||
| 6783 | *) # Relative name. | ||
| 6784 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | ||
| 6785 | ac_top_srcdir=$ac_top_build_prefix$srcdir | ||
| 6786 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | ||
| 6787 | esac | ||
| 6788 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | ||
| 6789 | |||
| 6790 | |||
| 6791 | case $ac_mode in | ||
| 6792 | :F) | ||
| 6793 | # | ||
| 6794 | # CONFIG_FILE | ||
| 6795 | # | ||
| 6796 | |||
| 6797 | case $INSTALL in | ||
| 6798 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | ||
| 6799 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | ||
| 6800 | esac | ||
| 6801 | _ACEOF | ||
| 6802 | |||
| 6803 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 6804 | # If the template does not know about datarootdir, expand it. | ||
| 6805 | # FIXME: This hack should be removed a few years after 2.60. | ||
| 6806 | ac_datarootdir_hack=; ac_datarootdir_seen= | ||
| 6807 | ac_sed_dataroot=' | ||
| 6808 | /datarootdir/ { | ||
| 6809 | p | ||
| 6810 | q | ||
| 6811 | } | ||
| 6812 | /@datadir@/p | ||
| 6813 | /@docdir@/p | ||
| 6814 | /@infodir@/p | ||
| 6815 | /@localedir@/p | ||
| 6816 | /@mandir@/p' | ||
| 6817 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | ||
| 6818 | *datarootdir*) ac_datarootdir_seen=yes;; | ||
| 6819 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | ||
| 6820 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | ||
| 6821 | printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | ||
| 6822 | _ACEOF | ||
| 6823 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 6824 | ac_datarootdir_hack=' | ||
| 6825 | s&@datadir@&$datadir&g | ||
| 6826 | s&@docdir@&$docdir&g | ||
| 6827 | s&@infodir@&$infodir&g | ||
| 6828 | s&@localedir@&$localedir&g | ||
| 6829 | s&@mandir@&$mandir&g | ||
| 6830 | s&\\\${datarootdir}&$datarootdir&g' ;; | ||
| 6831 | esac | ||
| 6832 | _ACEOF | ||
| 6833 | |||
| 6834 | # Neutralize VPATH when `$srcdir' = `.'. | ||
| 6835 | # Shell code in configure.ac might set extrasub. | ||
| 6836 | # FIXME: do we really want to maintain this feature? | ||
| 6837 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 6838 | ac_sed_extra="$ac_vpsub | ||
| 6839 | $extrasub | ||
| 6840 | _ACEOF | ||
| 6841 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 6842 | :t | ||
| 6843 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | ||
| 6844 | s|@configure_input@|$ac_sed_conf_input|;t t | ||
| 6845 | s&@top_builddir@&$ac_top_builddir_sub&;t t | ||
| 6846 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | ||
| 6847 | s&@srcdir@&$ac_srcdir&;t t | ||
| 6848 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | ||
| 6849 | s&@top_srcdir@&$ac_top_srcdir&;t t | ||
| 6850 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | ||
| 6851 | s&@builddir@&$ac_builddir&;t t | ||
| 6852 | s&@abs_builddir@&$ac_abs_builddir&;t t | ||
| 6853 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | ||
| 6854 | s&@INSTALL@&$ac_INSTALL&;t t | ||
| 6855 | $ac_datarootdir_hack | ||
| 6856 | " | ||
| 6857 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | ||
| 6858 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
| 6859 | |||
| 6860 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | ||
| 6861 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | ||
| 6862 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | ||
| 6863 | "$ac_tmp/out"`; test -z "$ac_out"; } && | ||
| 6864 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | ||
| 6865 | which seems to be undefined. Please make sure it is defined" >&5 | ||
| 6866 | printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | ||
| 6867 | which seems to be undefined. Please make sure it is defined" >&2;} | ||
| 6868 | |||
| 6869 | rm -f "$ac_tmp/stdin" | ||
| 6870 | case $ac_file in | ||
| 6871 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | ||
| 6872 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | ||
| 6873 | esac \ | ||
| 6874 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
| 6875 | ;; | ||
| 6876 | :H) | ||
| 6877 | # | ||
| 6878 | # CONFIG_HEADER | ||
| 6879 | # | ||
| 6880 | if test x"$ac_file" != x-; then | ||
| 6881 | { | ||
| 6882 | printf "%s\n" "/* $configure_input */" >&1 \ | ||
| 6883 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" | ||
| 6884 | } >"$ac_tmp/config.h" \ | ||
| 6885 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
| 6886 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then | ||
| 6887 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | ||
| 6888 | printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} | ||
| 6889 | else | ||
| 6890 | rm -f "$ac_file" | ||
| 6891 | mv "$ac_tmp/config.h" "$ac_file" \ | ||
| 6892 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
| 6893 | fi | ||
| 6894 | else | ||
| 6895 | printf "%s\n" "/* $configure_input */" >&1 \ | ||
| 6896 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ | ||
| 6897 | || as_fn_error $? "could not create -" "$LINENO" 5 | ||
| 6898 | fi | ||
| 6899 | ;; | ||
| 6900 | |||
| 6901 | |||
| 6902 | esac | ||
| 6903 | |||
| 6904 | done # for ac_tag | ||
| 6905 | |||
| 6906 | |||
| 6907 | as_fn_exit 0 | ||
| 6908 | _ACEOF | ||
| 6909 | ac_clean_files=$ac_clean_files_save | ||
| 6910 | |||
| 6911 | test $ac_write_fail = 0 || | ||
| 6912 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | ||
| 6913 | |||
| 6914 | |||
| 6915 | # configure is writing to config.log, and then calls config.status. | ||
| 6916 | # config.status does its own redirection, appending to config.log. | ||
| 6917 | # Unfortunately, on DOS this fails, as config.log is still kept open | ||
| 6918 | # by configure, so config.status won't be able to write to it; its | ||
| 6919 | # output is simply discarded. So we exec the FD to /dev/null, | ||
| 6920 | # effectively closing config.log, so it can be properly (re)opened and | ||
| 6921 | # appended to by config.status. When coming back to configure, we | ||
| 6922 | # need to make the FD available again. | ||
| 6923 | if test "$no_create" != yes; then | ||
| 6924 | ac_cs_success=: | ||
| 6925 | ac_config_status_args= | ||
| 6926 | test "$silent" = yes && | ||
| 6927 | ac_config_status_args="$ac_config_status_args --quiet" | ||
| 6928 | exec 5>/dev/null | ||
| 6929 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | ||
| 6930 | exec 5>>config.log | ||
| 6931 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | ||
| 6932 | # would make configure fail if this is the last instruction. | ||
| 6933 | $ac_cs_success || as_fn_exit 1 | ||
| 6934 | fi | ||
| 6935 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | ||
| 6936 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | ||
| 6937 | printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | ||
| 6938 | fi | ||
| 6939 | |||
| 6940 | |||