| 1 | #! /bin/sh |
| 2 | # Guess values for system-dependent variables and create Makefiles. |
| 3 | # Generated by GNU Autoconf 2.71. |
| 4 | # |
| 5 | # |
| 6 | # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, |
| 7 | # Inc. |
| 8 | # |
| 9 | # |
| 10 | # This configure script is free software; the Free Software Foundation |
| 11 | # gives unlimited permission to copy, distribute and modify it. |
| 12 | ## -------------------- ## |
| 13 | ## M4sh Initialization. ## |
| 14 | ## -------------------- ## |
| 15 | |
| 16 | # Be more Bourne compatible |
| 17 | DUALCASE=1; export DUALCASE # for MKS sh |
| 18 | as_nop=: |
| 19 | if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 20 | then : |
| 21 | emulate sh |
| 22 | NULLCMD=: |
| 23 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 24 | # is contrary to our usage. Disable this feature. |
| 25 | alias -g '${1+"$@"}'='"$@"' |
| 26 | setopt NO_GLOB_SUBST |
| 27 | else $as_nop |
| 28 | case `(set -o) 2>/dev/null` in #( |
| 29 | *posix*) : |
| 30 | set -o posix ;; #( |
| 31 | *) : |
| 32 | ;; |
| 33 | esac |
| 34 | fi |
| 35 | |
| 36 | |
| 37 | |
| 38 | # Reset variables that may have inherited troublesome values from |
| 39 | # the environment. |
| 40 | |
| 41 | # IFS needs to be set, to space, tab, and newline, in precisely that order. |
| 42 | # (If _AS_PATH_WALK were called with IFS unset, it would have the |
| 43 | # side effect of setting IFS to empty, thus disabling word splitting.) |
| 44 | # Quoting is to prevent editors from complaining about space-tab. |
| 45 | as_nl=' |
| 46 | ' |
| 47 | export as_nl |
| 48 | IFS=" "" $as_nl" |
| 49 | |
| 50 | PS1='$ ' |
| 51 | PS2='> ' |
| 52 | PS4='+ ' |
| 53 | |
| 54 | # Ensure predictable behavior from utilities with locale-dependent output. |
| 55 | LC_ALL=C |
| 56 | export LC_ALL |
| 57 | LANGUAGE=C |
| 58 | export LANGUAGE |
| 59 | |
| 60 | # We cannot yet rely on "unset" to work, but we need these variables |
| 61 | # to be unset--not just set to an empty or harmless value--now, to |
| 62 | # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
| 63 | # also avoids known problems related to "unset" and subshell syntax |
| 64 | # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
| 65 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
| 66 | do eval test \${$as_var+y} \ |
| 67 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 68 | done |
| 69 | |
| 70 | # Ensure that fds 0, 1, and 2 are open. |
| 71 | if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
| 72 | if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
| 73 | if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
| 74 | |
| 75 | # The user is always right. |
| 76 | if ${PATH_SEPARATOR+false} :; then |
| 77 | PATH_SEPARATOR=: |
| 78 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 79 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 80 | PATH_SEPARATOR=';' |
| 81 | } |
| 82 | fi |
| 83 | |
| 84 | |
| 85 | # Find who we are. Look in the path if we contain no directory separator. |
| 86 | as_myself= |
| 87 | case $0 in #(( |
| 88 | *[\\/]* ) as_myself=$0 ;; |
| 89 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 90 | for as_dir in $PATH |
| 91 | do |
| 92 | IFS=$as_save_IFS |
| 93 | case $as_dir in #((( |
| 94 | '') as_dir=./ ;; |
| 95 | */) ;; |
| 96 | *) as_dir=$as_dir/ ;; |
| 97 | esac |
| 98 | test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 99 | done |
| 100 | IFS=$as_save_IFS |
| 101 | |
| 102 | ;; |
| 103 | esac |
| 104 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
| 105 | # in which case we are not to be found in the path. |
| 106 | if test "x$as_myself" = x; then |
| 107 | as_myself=$0 |
| 108 | fi |
| 109 | if test ! -f "$as_myself"; then |
| 110 | printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 111 | exit 1 |
| 112 | fi |
| 113 | |
| 114 | |
| 115 | # Use a proper internal environment variable to ensure we don't fall |
| 116 | # into an infinite loop, continuously re-executing ourselves. |
| 117 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
| 118 | _as_can_reexec=no; export _as_can_reexec; |
| 119 | # We cannot yet assume a decent shell, so we have to provide a |
| 120 | # neutralization value for shells without unset; and this also |
| 121 | # works around shells that cannot unset nonexistent variables. |
| 122 | # Preserve -v and -x to the replacement shell. |
| 123 | BASH_ENV=/dev/null |
| 124 | ENV=/dev/null |
| 125 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 126 | case $- in # (((( |
| 127 | *v*x* | *x*v* ) as_opts=-vx ;; |
| 128 | *v* ) as_opts=-v ;; |
| 129 | *x* ) as_opts=-x ;; |
| 130 | * ) as_opts= ;; |
| 131 | esac |
| 132 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 133 | # Admittedly, this is quite paranoid, since all the known shells bail |
| 134 | # out after a failed `exec'. |
| 135 | printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 136 | exit 255 |
| 137 | fi |
| 138 | # We don't want this to propagate to other subprocesses. |
| 139 | { _as_can_reexec=; unset _as_can_reexec;} |
| 140 | if test "x$CONFIG_SHELL" = x; then |
| 141 | as_bourne_compatible="as_nop=: |
| 142 | if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 143 | then : |
| 144 | emulate sh |
| 145 | NULLCMD=: |
| 146 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
| 147 | # is contrary to our usage. Disable this feature. |
| 148 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
| 149 | setopt NO_GLOB_SUBST |
| 150 | else \$as_nop |
| 151 | case \`(set -o) 2>/dev/null\` in #( |
| 152 | *posix*) : |
| 153 | set -o posix ;; #( |
| 154 | *) : |
| 155 | ;; |
| 156 | esac |
| 157 | fi |
| 158 | " |
| 159 | as_required="as_fn_return () { (exit \$1); } |
| 160 | as_fn_success () { as_fn_return 0; } |
| 161 | as_fn_failure () { as_fn_return 1; } |
| 162 | as_fn_ret_success () { return 0; } |
| 163 | as_fn_ret_failure () { return 1; } |
| 164 | |
| 165 | exitcode=0 |
| 166 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
| 167 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
| 168 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
| 169 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
| 170 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ) |
| 171 | then : |
| 172 | |
| 173 | else \$as_nop |
| 174 | exitcode=1; echo positional parameters were not saved. |
| 175 | fi |
| 176 | test x\$exitcode = x0 || exit 1 |
| 177 | blah=\$(echo \$(echo blah)) |
| 178 | test x\"\$blah\" = xblah || exit 1 |
| 179 | test -x / || exit 1" |
| 180 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| 181 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| 182 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
| 183 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" |
| 184 | if (eval "$as_required") 2>/dev/null |
| 185 | then : |
| 186 | as_have_required=yes |
| 187 | else $as_nop |
| 188 | as_have_required=no |
| 189 | fi |
| 190 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null |
| 191 | then : |
| 192 | |
| 193 | else $as_nop |
| 194 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 195 | as_found=false |
| 196 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 197 | do |
| 198 | IFS=$as_save_IFS |
| 199 | case $as_dir in #((( |
| 200 | '') as_dir=./ ;; |
| 201 | */) ;; |
| 202 | *) as_dir=$as_dir/ ;; |
| 203 | esac |
| 204 | as_found=: |
| 205 | case $as_dir in #( |
| 206 | /*) |
| 207 | for as_base in sh bash ksh sh5; do |
| 208 | # Try only shells that exist, to save several forks. |
| 209 | as_shell=$as_dir$as_base |
| 210 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
| 211 | as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null |
| 212 | then : |
| 213 | CONFIG_SHELL=$as_shell as_have_required=yes |
| 214 | if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null |
| 215 | then : |
| 216 | break 2 |
| 217 | fi |
| 218 | fi |
| 219 | done;; |
| 220 | esac |
| 221 | as_found=false |
| 222 | done |
| 223 | IFS=$as_save_IFS |
| 224 | if $as_found |
| 225 | then : |
| 226 | |
| 227 | else $as_nop |
| 228 | if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
| 229 | as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null |
| 230 | then : |
| 231 | CONFIG_SHELL=$SHELL as_have_required=yes |
| 232 | fi |
| 233 | fi |
| 234 | |
| 235 | |
| 236 | if test "x$CONFIG_SHELL" != x |
| 237 | then : |
| 238 | export CONFIG_SHELL |
| 239 | # We cannot yet assume a decent shell, so we have to provide a |
| 240 | # neutralization value for shells without unset; and this also |
| 241 | # works around shells that cannot unset nonexistent variables. |
| 242 | # Preserve -v and -x to the replacement shell. |
| 243 | BASH_ENV=/dev/null |
| 244 | ENV=/dev/null |
| 245 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 246 | case $- in # (((( |
| 247 | *v*x* | *x*v* ) as_opts=-vx ;; |
| 248 | *v* ) as_opts=-v ;; |
| 249 | *x* ) as_opts=-x ;; |
| 250 | * ) as_opts= ;; |
| 251 | esac |
| 252 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 253 | # Admittedly, this is quite paranoid, since all the known shells bail |
| 254 | # out after a failed `exec'. |
| 255 | printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 256 | exit 255 |
| 257 | fi |
| 258 | |
| 259 | if test x$as_have_required = xno |
| 260 | then : |
| 261 | printf "%s\n" "$0: This script requires a shell more modern than all" |
| 262 | printf "%s\n" "$0: the shells that I found on your system." |
| 263 | if test ${ZSH_VERSION+y} ; then |
| 264 | printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| 265 | printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." |
| 266 | else |
| 267 | printf "%s\n" "$0: Please tell [email protected] about your system, |
| 268 | $0: including any error possibly output before this |
| 269 | $0: message. Then install a modern shell, or manually run |
| 270 | $0: the script under such a shell if you do have one." |
| 271 | fi |
| 272 | exit 1 |
| 273 | fi |
| 274 | fi |
| 275 | fi |
| 276 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 277 | export SHELL |
| 278 | # Unset more variables known to interfere with behavior of common tools. |
| 279 | CLICOLOR_FORCE= GREP_OPTIONS= |
| 280 | unset CLICOLOR_FORCE GREP_OPTIONS |
| 281 | |
| 282 | ## --------------------- ## |
| 283 | ## M4sh Shell Functions. ## |
| 284 | ## --------------------- ## |
| 285 | # as_fn_unset VAR |
| 286 | # --------------- |
| 287 | # Portably unset VAR. |
| 288 | as_fn_unset () |
| 289 | { |
| 290 | { eval $1=; unset $1;} |
| 291 | } |
| 292 | as_unset=as_fn_unset |
| 293 | |
| 294 | |
| 295 | # as_fn_set_status STATUS |
| 296 | # ----------------------- |
| 297 | # Set $? to STATUS, without forking. |
| 298 | as_fn_set_status () |
| 299 | { |
| 300 | return $1 |
| 301 | } # as_fn_set_status |
| 302 | |
| 303 | # as_fn_exit STATUS |
| 304 | # ----------------- |
| 305 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 306 | as_fn_exit () |
| 307 | { |
| 308 | set +e |
| 309 | as_fn_set_status $1 |
| 310 | exit $1 |
| 311 | } # as_fn_exit |
| 312 | # as_fn_nop |
| 313 | # --------- |
| 314 | # Do nothing but, unlike ":", preserve the value of $?. |
| 315 | as_fn_nop () |
| 316 | { |
| 317 | return $? |
| 318 | } |
| 319 | as_nop=as_fn_nop |
| 320 | |
| 321 | # as_fn_mkdir_p |
| 322 | # ------------- |
| 323 | # Create "$as_dir" as a directory, including parents if necessary. |
| 324 | as_fn_mkdir_p () |
| 325 | { |
| 326 | |
| 327 | case $as_dir in #( |
| 328 | -*) as_dir=./$as_dir;; |
| 329 | esac |
| 330 | test -d "$as_dir" || eval $as_mkdir_p || { |
| 331 | as_dirs= |
| 332 | while :; do |
| 333 | case $as_dir in #( |
| 334 | *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 335 | *) as_qdir=$as_dir;; |
| 336 | esac |
| 337 | as_dirs="'$as_qdir' $as_dirs" |
| 338 | as_dir=`$as_dirname -- "$as_dir" || |
| 339 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 340 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 341 | X"$as_dir" : 'X\(//\)$' \| \ |
| 342 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 343 | printf "%s\n" X"$as_dir" | |
| 344 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 345 | s//\1/ |
| 346 | q |
| 347 | } |
| 348 | /^X\(\/\/\)[^/].*/{ |
| 349 | s//\1/ |
| 350 | q |
| 351 | } |
| 352 | /^X\(\/\/\)$/{ |
| 353 | s//\1/ |
| 354 | q |
| 355 | } |
| 356 | /^X\(\/\).*/{ |
| 357 | s//\1/ |
| 358 | q |
| 359 | } |
| 360 | s/.*/./; q'` |
| 361 | test -d "$as_dir" && break |
| 362 | done |
| 363 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 364 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 365 | |
| 366 | |
| 367 | } # as_fn_mkdir_p |
| 368 | |
| 369 | # as_fn_executable_p FILE |
| 370 | # ----------------------- |
| 371 | # Test if FILE is an executable regular file. |
| 372 | as_fn_executable_p () |
| 373 | { |
| 374 | test -f "$1" && test -x "$1" |
| 375 | } # as_fn_executable_p |
| 376 | # as_fn_append VAR VALUE |
| 377 | # ---------------------- |
| 378 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
| 379 | # advantage of any shell optimizations that allow amortized linear growth over |
| 380 | # repeated appends, instead of the typical quadratic growth present in naive |
| 381 | # implementations. |
| 382 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
| 383 | then : |
| 384 | eval 'as_fn_append () |
| 385 | { |
| 386 | eval $1+=\$2 |
| 387 | }' |
| 388 | else $as_nop |
| 389 | as_fn_append () |
| 390 | { |
| 391 | eval $1=\$$1\$2 |
| 392 | } |
| 393 | fi # as_fn_append |
| 394 | |
| 395 | # as_fn_arith ARG... |
| 396 | # ------------------ |
| 397 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
| 398 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 399 | # must be portable across $(()) and expr. |
| 400 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
| 401 | then : |
| 402 | eval 'as_fn_arith () |
| 403 | { |
| 404 | as_val=$(( $* )) |
| 405 | }' |
| 406 | else $as_nop |
| 407 | as_fn_arith () |
| 408 | { |
| 409 | as_val=`expr "$@" || test $? -eq 1` |
| 410 | } |
| 411 | fi # as_fn_arith |
| 412 | |
| 413 | # as_fn_nop |
| 414 | # --------- |
| 415 | # Do nothing but, unlike ":", preserve the value of $?. |
| 416 | as_fn_nop () |
| 417 | { |
| 418 | return $? |
| 419 | } |
| 420 | as_nop=as_fn_nop |
| 421 | # as_fn_nop |
| 422 | # --------- |
| 423 | # Do nothing but, unlike ":", preserve the value of $?. |
| 424 | as_fn_nop () |
| 425 | { |
| 426 | return $? |
| 427 | } |
| 428 | as_nop=as_fn_nop |
| 429 | # as_fn_nop |
| 430 | # --------- |
| 431 | # Do nothing but, unlike ":", preserve the value of $?. |
| 432 | as_fn_nop () |
| 433 | { |
| 434 | return $? |
| 435 | } |
| 436 | as_nop=as_fn_nop |
| 437 | |
| 438 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 439 | # ---------------------------------------- |
| 440 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 441 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 442 | # script with STATUS, using 1 if that was 0. |
| 443 | as_fn_error () |
| 444 | { |
| 445 | as_status=$1; test $as_status -eq 0 && as_status=1 |
| 446 | if test "$4"; then |
| 447 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 448 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 449 | fi |
| 450 | printf "%s\n" "$as_me: error: $2" >&2 |
| 451 | as_fn_exit $as_status |
| 452 | } # as_fn_error |
| 453 | |
| 454 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 455 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 456 | as_expr=expr |
| 457 | else |
| 458 | as_expr=false |
| 459 | fi |
| 460 | |
| 461 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 462 | as_basename=basename |
| 463 | else |
| 464 | as_basename=false |
| 465 | fi |
| 466 | |
| 467 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 468 | as_dirname=dirname |
| 469 | else |
| 470 | as_dirname=false |
| 471 | fi |
| 472 | |
| 473 | as_me=`$as_basename -- "$0" || |
| 474 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 475 | X"$0" : 'X\(//\)$' \| \ |
| 476 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 477 | printf "%s\n" X/"$0" | |
| 478 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 479 | s//\1/ |
| 480 | q |
| 481 | } |
| 482 | /^X\/\(\/\/\)$/{ |
| 483 | s//\1/ |
| 484 | q |
| 485 | } |
| 486 | /^X\/\(\/\).*/{ |
| 487 | s//\1/ |
| 488 | q |
| 489 | } |
| 490 | s/.*/./; q'` |
| 491 | |
| 492 | # Avoid depending upon Character Ranges. |
| 493 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 494 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 495 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 496 | as_cr_digits='0123456789' |
| 497 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 498 | |
| 499 | |
| 500 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
| 501 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
| 502 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
| 503 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
| 504 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
| 505 | sed -n ' |
| 506 | p |
| 507 | /[$]LINENO/= |
| 508 | ' <$as_myself | |
| 509 | sed ' |
| 510 | s/[$]LINENO.*/&-/ |
| 511 | t lineno |
| 512 | b |
| 513 | :lineno |
| 514 | N |
| 515 | :loop |
| 516 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 517 | t loop |
| 518 | s/-\n.*// |
| 519 | ' >$as_me.lineno && |
| 520 | chmod +x "$as_me.lineno" || |
| 521 | { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
| 522 | |
| 523 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
| 524 | # already done that, so ensure we don't try to do so again and fall |
| 525 | # in an infinite loop. This has already happened in practice. |
| 526 | _as_can_reexec=no; export _as_can_reexec |
| 527 | # Don't try to exec as it changes $[0], causing all sort of problems |
| 528 | # (the dirname of $[0] is not the place where we might find the |
| 529 | # original and so on. Autoconf is especially sensitive to this). |
| 530 | . "./$as_me.lineno" |
| 531 | # Exit status is that of the last command. |
| 532 | exit |
| 533 | } |
| 534 | |
| 535 | |
| 536 | # Determine whether it's possible to make 'echo' print without a newline. |
| 537 | # These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
| 538 | # for compatibility with existing Makefiles. |
| 539 | ECHO_C= ECHO_N= ECHO_T= |
| 540 | case `echo -n x` in #((((( |
| 541 | -n*) |
| 542 | case `echo 'xy\c'` in |
| 543 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 544 | xy) ECHO_C='\c';; |
| 545 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 546 | ECHO_T=' ';; |
| 547 | esac;; |
| 548 | *) |
| 549 | ECHO_N='-n';; |
| 550 | esac |
| 551 | |
| 552 | # For backward compatibility with old third-party macros, we provide |
| 553 | # the shell variables $as_echo and $as_echo_n. New code should use |
| 554 | # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
| 555 | as_echo='printf %s\n' |
| 556 | as_echo_n='printf %s' |
| 557 | |
| 558 | |
| 559 | rm -f conf$$ conf$$.exe conf$$.file |
| 560 | if test -d conf$$.dir; then |
| 561 | rm -f conf$$.dir/conf$$.file |
| 562 | else |
| 563 | rm -f conf$$.dir |
| 564 | mkdir conf$$.dir 2>/dev/null |
| 565 | fi |
| 566 | if (echo >conf$$.file) 2>/dev/null; then |
| 567 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 568 | as_ln_s='ln -s' |
| 569 | # ... but there are two gotchas: |
| 570 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 571 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 572 | # In both cases, we have to default to `cp -pR'. |
| 573 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 574 | as_ln_s='cp -pR' |
| 575 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 576 | as_ln_s=ln |
| 577 | else |
| 578 | as_ln_s='cp -pR' |
| 579 | fi |
| 580 | else |
| 581 | as_ln_s='cp -pR' |
| 582 | fi |
| 583 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 584 | rmdir conf$$.dir 2>/dev/null |
| 585 | |
| 586 | if mkdir -p . 2>/dev/null; then |
| 587 | as_mkdir_p='mkdir -p "$as_dir"' |
| 588 | else |
| 589 | test -d ./-p && rmdir ./-p |
| 590 | as_mkdir_p=false |
| 591 | fi |
| 592 | |
| 593 | as_test_x='test -x' |
| 594 | as_executable_p=as_fn_executable_p |
| 595 | |
| 596 | # Sed expression to map a string onto a valid CPP name. |
| 597 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 598 | |
| 599 | # Sed expression to map a string onto a valid variable name. |
| 600 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 601 | |
| 602 | |
| 603 | test -n "$DJDIR" || exec 7<&0 </dev/null |
| 604 | exec 6>&1 |
| 605 | |
| 606 | # Name of the host. |
| 607 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
| 608 | # so uname gets run too. |
| 609 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 610 | |
| 611 | # |
| 612 | # Initializations. |
| 613 | # |
| 614 | ac_default_prefix=/usr/local |
| 615 | ac_clean_files= |
| 616 | ac_config_libobj_dir=. |
| 617 | LIBOBJS= |
| 618 | cross_compiling=no |
| 619 | subdirs= |
| 620 | MFLAGS= |
| 621 | MAKEFLAGS= |
| 622 | |
| 623 | # Identity of this package. |
| 624 | PACKAGE_NAME='' |
| 625 | PACKAGE_TARNAME='' |
| 626 | PACKAGE_VERSION='' |
| 627 | PACKAGE_STRING='' |
| 628 | PACKAGE_BUGREPORT='' |
| 629 | PACKAGE_URL='' |
| 630 | |
| 631 | ac_unique_file="DESCRIPTION" |
| 632 | ac_subst_vars='LTLIBOBJS |
| 633 | LIBOBJS |
| 634 | EXT_LIBS |
| 635 | EXTERNAL_ZMQ_LDFLAGS |
| 636 | EXTERNAL_ZMQ_INCLUDE |
| 637 | INTERNAL_ZMQ_LIBDIR |
| 638 | INTERNAL_ZMQ_INCLUDEDIR |
| 639 | ENABLE_INTERNAL_ZMQ |
| 640 | SYSTEM_ZMQ_LIBDIR |
| 641 | SYSTEM_ZMQ_INCLUDEDIR |
| 642 | GET_SYSTEM_ZMQ_430 |
| 643 | GET_SYSTEM_ZMQ |
| 644 | GET_PKG_CONFIG |
| 645 | ZMQ_POLLER |
| 646 | ZMQ_LDFLAGS |
| 647 | ZMQ_INCLUDE |
| 648 | zmq_4_1_6_LIBS |
| 649 | zmq_4_1_6_CFLAGS |
| 650 | zmq_LIBS |
| 651 | zmq_CFLAGS |
| 652 | PKG_CONFIG |
| 653 | target_alias |
| 654 | host_alias |
| 655 | build_alias |
| 656 | LIBS |
| 657 | ECHO_T |
| 658 | ECHO_N |
| 659 | ECHO_C |
| 660 | DEFS |
| 661 | mandir |
| 662 | localedir |
| 663 | libdir |
| 664 | psdir |
| 665 | pdfdir |
| 666 | dvidir |
| 667 | htmldir |
| 668 | infodir |
| 669 | docdir |
| 670 | oldincludedir |
| 671 | includedir |
| 672 | runstatedir |
| 673 | localstatedir |
| 674 | sharedstatedir |
| 675 | sysconfdir |
| 676 | datadir |
| 677 | datarootdir |
| 678 | libexecdir |
| 679 | sbindir |
| 680 | bindir |
| 681 | program_transform_name |
| 682 | prefix |
| 683 | exec_prefix |
| 684 | PACKAGE_URL |
| 685 | PACKAGE_BUGREPORT |
| 686 | PACKAGE_STRING |
| 687 | PACKAGE_VERSION |
| 688 | PACKAGE_TARNAME |
| 689 | PACKAGE_NAME |
| 690 | PATH_SEPARATOR |
| 691 | SHELL' |
| 692 | ac_subst_files='' |
| 693 | ac_user_opts=' |
| 694 | enable_option_checking |
| 695 | enable_internal_zmq |
| 696 | ' |
| 697 | ac_precious_vars='build_alias |
| 698 | host_alias |
| 699 | target_alias |
| 700 | PKG_CONFIG |
| 701 | zmq_CFLAGS |
| 702 | zmq_LIBS |
| 703 | zmq_4_1_6_CFLAGS |
| 704 | zmq_4_1_6_LIBS |
| 705 | ZMQ_INCLUDE |
| 706 | ZMQ_LDFLAGS |
| 707 | ZMQ_POLLER' |
| 708 | |
| 709 | |
| 710 | # Initialize some variables set by options. |
| 711 | ac_init_help= |
| 712 | ac_init_version=false |
| 713 | ac_unrecognized_opts= |
| 714 | ac_unrecognized_sep= |
| 715 | # The variables have the same names as the options, with |
| 716 | # dashes changed to underlines. |
| 717 | cache_file=/dev/null |
| 718 | exec_prefix=NONE |
| 719 | no_create= |
| 720 | no_recursion= |
| 721 | prefix=NONE |
| 722 | program_prefix=NONE |
| 723 | program_suffix=NONE |
| 724 | program_transform_name=s,x,x, |
| 725 | silent= |
| 726 | site= |
| 727 | srcdir= |
| 728 | verbose= |
| 729 | x_includes=NONE |
| 730 | x_libraries=NONE |
| 731 | |
| 732 | # Installation directory options. |
| 733 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
| 734 | # and all the variables that are supposed to be based on exec_prefix |
| 735 | # by default will actually change. |
| 736 | # Use braces instead of parens because sh, perl, etc. also accept them. |
| 737 | # (The list follows the same order as the GNU Coding Standards.) |
| 738 | bindir='${exec_prefix}/bin' |
| 739 | sbindir='${exec_prefix}/sbin' |
| 740 | libexecdir='${exec_prefix}/libexec' |
| 741 | datarootdir='${prefix}/share' |
| 742 | datadir='${datarootdir}' |
| 743 | sysconfdir='${prefix}/etc' |
| 744 | sharedstatedir='${prefix}/com' |
| 745 | localstatedir='${prefix}/var' |
| 746 | runstatedir='${localstatedir}/run' |
| 747 | includedir='${prefix}/include' |
| 748 | oldincludedir='/usr/include' |
| 749 | docdir='${datarootdir}/doc/${PACKAGE}' |
| 750 | infodir='${datarootdir}/info' |
| 751 | htmldir='${docdir}' |
| 752 | dvidir='${docdir}' |
| 753 | pdfdir='${docdir}' |
| 754 | psdir='${docdir}' |
| 755 | libdir='${exec_prefix}/lib' |
| 756 | localedir='${datarootdir}/locale' |
| 757 | mandir='${datarootdir}/man' |
| 758 | |
| 759 | ac_prev= |
| 760 | ac_dashdash= |
| 761 | for ac_option |
| 762 | do |
| 763 | # If the previous option needs an argument, assign it. |
| 764 | if test -n "$ac_prev"; then |
| 765 | eval $ac_prev=\$ac_option |
| 766 | ac_prev= |
| 767 | continue |
| 768 | fi |
| 769 | |
| 770 | case $ac_option in |
| 771 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 772 | *=) ac_optarg= ;; |
| 773 | *) ac_optarg=yes ;; |
| 774 | esac |
| 775 | |
| 776 | case $ac_dashdash$ac_option in |
| 777 | --) |
| 778 | ac_dashdash=yes ;; |
| 779 | |
| 780 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 781 | ac_prev=bindir ;; |
| 782 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 783 | bindir=$ac_optarg ;; |
| 784 | |
| 785 | -build | --build | --buil | --bui | --bu) |
| 786 | ac_prev=build_alias ;; |
| 787 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 788 | build_alias=$ac_optarg ;; |
| 789 | |
| 790 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 791 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 792 | ac_prev=cache_file ;; |
| 793 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 794 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 795 | cache_file=$ac_optarg ;; |
| 796 | |
| 797 | --config-cache | -C) |
| 798 | cache_file=config.cache ;; |
| 799 | |
| 800 | -datadir | --datadir | --datadi | --datad) |
| 801 | ac_prev=datadir ;; |
| 802 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 803 | datadir=$ac_optarg ;; |
| 804 | |
| 805 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| 806 | | --dataroo | --dataro | --datar) |
| 807 | ac_prev=datarootdir ;; |
| 808 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
| 809 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
| 810 | datarootdir=$ac_optarg ;; |
| 811 | |
| 812 | -disable-* | --disable-*) |
| 813 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 814 | # Reject names that are not valid shell variable names. |
| 815 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 816 | as_fn_error $? "invalid feature name: \`$ac_useropt'" |
| 817 | ac_useropt_orig=$ac_useropt |
| 818 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 819 | case $ac_user_opts in |
| 820 | *" |
| 821 | "enable_$ac_useropt" |
| 822 | "*) ;; |
| 823 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
| 824 | ac_unrecognized_sep=', ';; |
| 825 | esac |
| 826 | eval enable_$ac_useropt=no ;; |
| 827 | |
| 828 | -docdir | --docdir | --docdi | --doc | --do) |
| 829 | ac_prev=docdir ;; |
| 830 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| 831 | docdir=$ac_optarg ;; |
| 832 | |
| 833 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
| 834 | ac_prev=dvidir ;; |
| 835 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
| 836 | dvidir=$ac_optarg ;; |
| 837 | |
| 838 | -enable-* | --enable-*) |
| 839 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 840 | # Reject names that are not valid shell variable names. |
| 841 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 842 | as_fn_error $? "invalid feature name: \`$ac_useropt'" |
| 843 | ac_useropt_orig=$ac_useropt |
| 844 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 845 | case $ac_user_opts in |
| 846 | *" |
| 847 | "enable_$ac_useropt" |
| 848 | "*) ;; |
| 849 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
| 850 | ac_unrecognized_sep=', ';; |
| 851 | esac |
| 852 | eval enable_$ac_useropt=\$ac_optarg ;; |
| 853 | |
| 854 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 855 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 856 | | --exec | --exe | --ex) |
| 857 | ac_prev=exec_prefix ;; |
| 858 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 859 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 860 | | --exec=* | --exe=* | --ex=*) |
| 861 | exec_prefix=$ac_optarg ;; |
| 862 | |
| 863 | -gas | --gas | --ga | --g) |
| 864 | # Obsolete; use --with-gas. |
| 865 | with_gas=yes ;; |
| 866 | |
| 867 | -help | --help | --hel | --he | -h) |
| 868 | ac_init_help=long ;; |
| 869 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
| 870 | ac_init_help=recursive ;; |
| 871 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
| 872 | ac_init_help=short ;; |
| 873 | |
| 874 | -host | --host | --hos | --ho) |
| 875 | ac_prev=host_alias ;; |
| 876 | -host=* | --host=* | --hos=* | --ho=*) |
| 877 | host_alias=$ac_optarg ;; |
| 878 | |
| 879 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
| 880 | ac_prev=htmldir ;; |
| 881 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
| 882 | | --ht=*) |
| 883 | htmldir=$ac_optarg ;; |
| 884 | |
| 885 | -includedir | --includedir | --includedi | --included | --include \ |
| 886 | | --includ | --inclu | --incl | --inc) |
| 887 | ac_prev=includedir ;; |
| 888 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| 889 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
| 890 | includedir=$ac_optarg ;; |
| 891 | |
| 892 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
| 893 | ac_prev=infodir ;; |
| 894 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 895 | infodir=$ac_optarg ;; |
| 896 | |
| 897 | -libdir | --libdir | --libdi | --libd) |
| 898 | ac_prev=libdir ;; |
| 899 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 900 | libdir=$ac_optarg ;; |
| 901 | |
| 902 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| 903 | | --libexe | --libex | --libe) |
| 904 | ac_prev=libexecdir ;; |
| 905 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| 906 | | --libexe=* | --libex=* | --libe=*) |
| 907 | libexecdir=$ac_optarg ;; |
| 908 | |
| 909 | -localedir | --localedir | --localedi | --localed | --locale) |
| 910 | ac_prev=localedir ;; |
| 911 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
| 912 | localedir=$ac_optarg ;; |
| 913 | |
| 914 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 915 | | --localstate | --localstat | --localsta | --localst | --locals) |
| 916 | ac_prev=localstatedir ;; |
| 917 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 918 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| 919 | localstatedir=$ac_optarg ;; |
| 920 | |
| 921 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 922 | ac_prev=mandir ;; |
| 923 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 924 | mandir=$ac_optarg ;; |
| 925 | |
| 926 | -nfp | --nfp | --nf) |
| 927 | # Obsolete; use --without-fp. |
| 928 | with_fp=no ;; |
| 929 | |
| 930 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 931 | | --no-cr | --no-c | -n) |
| 932 | no_create=yes ;; |
| 933 | |
| 934 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 935 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 936 | no_recursion=yes ;; |
| 937 | |
| 938 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
| 939 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
| 940 | | --oldin | --oldi | --old | --ol | --o) |
| 941 | ac_prev=oldincludedir ;; |
| 942 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| 943 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| 944 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| 945 | oldincludedir=$ac_optarg ;; |
| 946 | |
| 947 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 948 | ac_prev=prefix ;; |
| 949 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 950 | prefix=$ac_optarg ;; |
| 951 | |
| 952 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| 953 | | --program-pre | --program-pr | --program-p) |
| 954 | ac_prev=program_prefix ;; |
| 955 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| 956 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| 957 | program_prefix=$ac_optarg ;; |
| 958 | |
| 959 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| 960 | | --program-suf | --program-su | --program-s) |
| 961 | ac_prev=program_suffix ;; |
| 962 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| 963 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| 964 | program_suffix=$ac_optarg ;; |
| 965 | |
| 966 | -program-transform-name | --program-transform-name \ |
| 967 | | --program-transform-nam | --program-transform-na \ |
| 968 | | --program-transform-n | --program-transform- \ |
| 969 | | --program-transform | --program-transfor \ |
| 970 | | --program-transfo | --program-transf \ |
| 971 | | --program-trans | --program-tran \ |
| 972 | | --progr-tra | --program-tr | --program-t) |
| 973 | ac_prev=program_transform_name ;; |
| 974 | -program-transform-name=* | --program-transform-name=* \ |
| 975 | | --program-transform-nam=* | --program-transform-na=* \ |
| 976 | | --program-transform-n=* | --program-transform-=* \ |
| 977 | | --program-transform=* | --program-transfor=* \ |
| 978 | | --program-transfo=* | --program-transf=* \ |
| 979 | | --program-trans=* | --program-tran=* \ |
| 980 | | --progr-tra=* | --program-tr=* | --program-t=*) |
| 981 | program_transform_name=$ac_optarg ;; |
| 982 | |
| 983 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| 984 | ac_prev=pdfdir ;; |
| 985 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
| 986 | pdfdir=$ac_optarg ;; |
| 987 | |
| 988 | -psdir | --psdir | --psdi | --psd | --ps) |
| 989 | ac_prev=psdir ;; |
| 990 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
| 991 | psdir=$ac_optarg ;; |
| 992 | |
| 993 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 994 | | -silent | --silent | --silen | --sile | --sil) |
| 995 | silent=yes ;; |
| 996 | |
| 997 | -runstatedir | --runstatedir | --runstatedi | --runstated \ |
| 998 | | --runstate | --runstat | --runsta | --runst | --runs \ |
| 999 | | --run | --ru | --r) |
| 1000 | ac_prev=runstatedir ;; |
| 1001 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
| 1002 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
| 1003 | | --run=* | --ru=* | --r=*) |
| 1004 | runstatedir=$ac_optarg ;; |
| 1005 | |
| 1006 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 1007 | ac_prev=sbindir ;; |
| 1008 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 1009 | | --sbi=* | --sb=*) |
| 1010 | sbindir=$ac_optarg ;; |
| 1011 | |
| 1012 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 1013 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| 1014 | | --sharedst | --shareds | --shared | --share | --shar \ |
| 1015 | | --sha | --sh) |
| 1016 | ac_prev=sharedstatedir ;; |
| 1017 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| 1018 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 1019 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 1020 | | --sha=* | --sh=*) |
| 1021 | sharedstatedir=$ac_optarg ;; |
| 1022 | |
| 1023 | -site | --site | --sit) |
| 1024 | ac_prev=site ;; |
| 1025 | -site=* | --site=* | --sit=*) |
| 1026 | site=$ac_optarg ;; |
| 1027 | |
| 1028 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 1029 | ac_prev=srcdir ;; |
| 1030 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 1031 | srcdir=$ac_optarg ;; |
| 1032 | |
| 1033 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| 1034 | | --syscon | --sysco | --sysc | --sys | --sy) |
| 1035 | ac_prev=sysconfdir ;; |
| 1036 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| 1037 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| 1038 | sysconfdir=$ac_optarg ;; |
| 1039 | |
| 1040 | -target | --target | --targe | --targ | --tar | --ta | --t) |
| 1041 | ac_prev=target_alias ;; |
| 1042 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 1043 | target_alias=$ac_optarg ;; |
| 1044 | |
| 1045 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 1046 | verbose=yes ;; |
| 1047 | |
| 1048 | -version | --version | --versio | --versi | --vers | -V) |
| 1049 | ac_init_version=: ;; |
| 1050 | |
| 1051 | -with-* | --with-*) |
| 1052 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1053 | # Reject names that are not valid shell variable names. |
| 1054 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1055 | as_fn_error $? "invalid package name: \`$ac_useropt'" |
| 1056 | ac_useropt_orig=$ac_useropt |
| 1057 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1058 | case $ac_user_opts in |
| 1059 | *" |
| 1060 | "with_$ac_useropt" |
| 1061 | "*) ;; |
| 1062 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
| 1063 | ac_unrecognized_sep=', ';; |
| 1064 | esac |
| 1065 | eval with_$ac_useropt=\$ac_optarg ;; |
| 1066 | |
| 1067 | -without-* | --without-*) |
| 1068 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1069 | # Reject names that are not valid shell variable names. |
| 1070 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1071 | as_fn_error $? "invalid package name: \`$ac_useropt'" |
| 1072 | ac_useropt_orig=$ac_useropt |
| 1073 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1074 | case $ac_user_opts in |
| 1075 | *" |
| 1076 | "with_$ac_useropt" |
| 1077 | "*) ;; |
| 1078 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
| 1079 | ac_unrecognized_sep=', ';; |
| 1080 | esac |
| 1081 | eval with_$ac_useropt=no ;; |
| 1082 | |
| 1083 | --x) |
| 1084 | # Obsolete; use --with-x. |
| 1085 | with_x=yes ;; |
| 1086 | |
| 1087 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| 1088 | | --x-incl | --x-inc | --x-in | --x-i) |
| 1089 | ac_prev=x_includes ;; |
| 1090 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 1091 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 1092 | x_includes=$ac_optarg ;; |
| 1093 | |
| 1094 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 1095 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 1096 | ac_prev=x_libraries ;; |
| 1097 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 1098 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1099 | x_libraries=$ac_optarg ;; |
| 1100 | |
| 1101 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
| 1102 | Try \`$0 --help' for more information" |
| 1103 | ;; |
| 1104 | |
| 1105 | *=*) |
| 1106 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| 1107 | # Reject names that are not valid shell variable names. |
| 1108 | case $ac_envvar in #( |
| 1109 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1110 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
| 1111 | esac |
| 1112 | eval $ac_envvar=\$ac_optarg |
| 1113 | export $ac_envvar ;; |
| 1114 | |
| 1115 | *) |
| 1116 | # FIXME: should be removed in autoconf 3.0. |
| 1117 | printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1118 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1119 | printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1120 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 1121 | ;; |
| 1122 | |
| 1123 | esac |
| 1124 | done |
| 1125 | |
| 1126 | if test -n "$ac_prev"; then |
| 1127 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1128 | as_fn_error $? "missing argument to $ac_option" |
| 1129 | fi |
| 1130 | |
| 1131 | if test -n "$ac_unrecognized_opts"; then |
| 1132 | case $enable_option_checking in |
| 1133 | no) ;; |
| 1134 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 1135 | *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1136 | esac |
| 1137 | fi |
| 1138 | |
| 1139 | # Check all directory arguments for consistency. |
| 1140 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1141 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1142 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1143 | libdir localedir mandir runstatedir |
| 1144 | do |
| 1145 | eval ac_val=\$$ac_var |
| 1146 | # Remove trailing slashes. |
| 1147 | case $ac_val in |
| 1148 | */ ) |
| 1149 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
| 1150 | eval $ac_var=\$ac_val;; |
| 1151 | esac |
| 1152 | # Be sure to have absolute directory names. |
| 1153 | case $ac_val in |
| 1154 | [\\/$]* | ?:[\\/]* ) continue;; |
| 1155 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1156 | esac |
| 1157 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
| 1158 | done |
| 1159 | |
| 1160 | # There might be people who depend on the old broken behavior: `$host' |
| 1161 | # used to hold the argument of --host etc. |
| 1162 | # FIXME: To remove some day. |
| 1163 | build=$build_alias |
| 1164 | host=$host_alias |
| 1165 | target=$target_alias |
| 1166 | |
| 1167 | # FIXME: To remove some day. |
| 1168 | if test "x$host_alias" != x; then |
| 1169 | if test "x$build_alias" = x; then |
| 1170 | cross_compiling=maybe |
| 1171 | elif test "x$build_alias" != "x$host_alias"; then |
| 1172 | cross_compiling=yes |
| 1173 | fi |
| 1174 | fi |
| 1175 | |
| 1176 | ac_tool_prefix= |
| 1177 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 1178 | |
| 1179 | test "$silent" = yes && exec 6>/dev/null |
| 1180 | |
| 1181 | |
| 1182 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1183 | ac_ls_di=`ls -di .` && |
| 1184 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1185 | as_fn_error $? "working directory cannot be determined" |
| 1186 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1187 | as_fn_error $? "pwd does not report name of working directory" |
| 1188 | |
| 1189 | |
| 1190 | # Find the source files, if location was not specified. |
| 1191 | if test -z "$srcdir"; then |
| 1192 | ac_srcdir_defaulted=yes |
| 1193 | # Try the directory containing this script, then the parent directory. |
| 1194 | ac_confdir=`$as_dirname -- "$as_myself" || |
| 1195 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1196 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
| 1197 | X"$as_myself" : 'X\(//\)$' \| \ |
| 1198 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
| 1199 | printf "%s\n" X"$as_myself" | |
| 1200 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1201 | s//\1/ |
| 1202 | q |
| 1203 | } |
| 1204 | /^X\(\/\/\)[^/].*/{ |
| 1205 | s//\1/ |
| 1206 | q |
| 1207 | } |
| 1208 | /^X\(\/\/\)$/{ |
| 1209 | s//\1/ |
| 1210 | q |
| 1211 | } |
| 1212 | /^X\(\/\).*/{ |
| 1213 | s//\1/ |
| 1214 | q |
| 1215 | } |
| 1216 | s/.*/./; q'` |
| 1217 | srcdir=$ac_confdir |
| 1218 | if test ! -r "$srcdir/$ac_unique_file"; then |
| 1219 | srcdir=.. |
| 1220 | fi |
| 1221 | else |
| 1222 | ac_srcdir_defaulted=no |
| 1223 | fi |
| 1224 | if test ! -r "$srcdir/$ac_unique_file"; then |
| 1225 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1226 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
| 1227 | fi |
| 1228 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1229 | ac_abs_confdir=`( |
| 1230 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
| 1231 | pwd)` |
| 1232 | # When building in place, set srcdir=. |
| 1233 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1234 | srcdir=. |
| 1235 | fi |
| 1236 | # Remove unnecessary trailing slashes from srcdir. |
| 1237 | # Double slashes in file names in object file debugging info |
| 1238 | # mess up M-x gdb in Emacs. |
| 1239 | case $srcdir in |
| 1240 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 1241 | esac |
| 1242 | for ac_var in $ac_precious_vars; do |
| 1243 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 1244 | eval ac_env_${ac_var}_value=\$${ac_var} |
| 1245 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 1246 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 1247 | done |
| 1248 | |
| 1249 | # |
| 1250 | # Report the --help message. |
| 1251 | # |
| 1252 | if test "$ac_init_help" = "long"; then |
| 1253 | # Omit some internal or obsolete options to make the list less imposing. |
| 1254 | # This message is too long to be a string in the A/UX 3.1 sh. |
| 1255 | cat <<_ACEOF |
| 1256 | \`configure' configures this package to adapt to many kinds of systems. |
| 1257 | |
| 1258 | Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1259 | |
| 1260 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
| 1261 | VAR=VALUE. See below for descriptions of some of the useful variables. |
| 1262 | |
| 1263 | Defaults for the options are specified in brackets. |
| 1264 | |
| 1265 | Configuration: |
| 1266 | -h, --help display this help and exit |
| 1267 | --help=short display options specific to this package |
| 1268 | --help=recursive display the short help of all the included packages |
| 1269 | -V, --version display version information and exit |
| 1270 | -q, --quiet, --silent do not print \`checking ...' messages |
| 1271 | --cache-file=FILE cache test results in FILE [disabled] |
| 1272 | -C, --config-cache alias for \`--cache-file=config.cache' |
| 1273 | -n, --no-create do not create output files |
| 1274 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 1275 | |
| 1276 | Installation directories: |
| 1277 | --prefix=PREFIX install architecture-independent files in PREFIX |
| 1278 | [$ac_default_prefix] |
| 1279 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 1280 | [PREFIX] |
| 1281 | |
| 1282 | By default, \`make install' will install all the files in |
| 1283 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| 1284 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
| 1285 | for instance \`--prefix=\$HOME'. |
| 1286 | |
| 1287 | For better control, use the options below. |
| 1288 | |
| 1289 | Fine tuning of the installation directories: |
| 1290 | --bindir=DIR user executables [EPREFIX/bin] |
| 1291 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
| 1292 | --libexecdir=DIR program executables [EPREFIX/libexec] |
| 1293 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 1294 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 1295 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 1296 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
| 1297 | --libdir=DIR object code libraries [EPREFIX/lib] |
| 1298 | --includedir=DIR C header files [PREFIX/include] |
| 1299 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1300 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 1301 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| 1302 | --infodir=DIR info documentation [DATAROOTDIR/info] |
| 1303 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| 1304 | --mandir=DIR man documentation [DATAROOTDIR/man] |
| 1305 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
| 1306 | --htmldir=DIR html documentation [DOCDIR] |
| 1307 | --dvidir=DIR dvi documentation [DOCDIR] |
| 1308 | --pdfdir=DIR pdf documentation [DOCDIR] |
| 1309 | --psdir=DIR ps documentation [DOCDIR] |
| 1310 | _ACEOF |
| 1311 | |
| 1312 | cat <<\_ACEOF |
| 1313 | _ACEOF |
| 1314 | fi |
| 1315 | |
| 1316 | if test -n "$ac_init_help"; then |
| 1317 | |
| 1318 | cat <<\_ACEOF |
| 1319 | |
| 1320 | Optional Features: |
| 1321 | --disable-option-checking ignore unrecognized --enable/--with options |
| 1322 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1323 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1324 | --enable-internal-zmq Enable internal ZeroMQ, default no. |
| 1325 | |
| 1326 | Some influential environment variables: |
| 1327 | PKG_CONFIG path to pkg-config utility |
| 1328 | zmq_CFLAGS C compiler flags for zmq, overriding pkg-config |
| 1329 | zmq_LIBS linker flags for zmq, overriding pkg-config |
| 1330 | zmq_4_1_6_CFLAGS |
| 1331 | C compiler flags for zmq_4_1_6, overriding pkg-config |
| 1332 | zmq_4_1_6_LIBS |
| 1333 | linker flags for zmq_4_1_6, overriding pkg-config |
| 1334 | ZMQ_INCLUDE |
| 1335 | ZMQ_LDFLAGS |
| 1336 | ZMQ_POLLER select |
| 1337 | |
| 1338 | Use these variables to override the choices made by `configure' or to help |
| 1339 | it to find libraries and programs with nonstandard names/locations. |
| 1340 | |
| 1341 | Report bugs to the package provider. |
| 1342 | _ACEOF |
| 1343 | ac_status=$? |
| 1344 | fi |
| 1345 | |
| 1346 | if test "$ac_init_help" = "recursive"; then |
| 1347 | # If there are subdirs, report their specific --help. |
| 1348 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 1349 | test -d "$ac_dir" || |
| 1350 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
| 1351 | continue |
| 1352 | ac_builddir=. |
| 1353 | |
| 1354 | case "$ac_dir" in |
| 1355 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1356 | *) |
| 1357 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
| 1358 | # A ".." for each directory in $ac_dir_suffix. |
| 1359 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 1360 | case $ac_top_builddir_sub in |
| 1361 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1362 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 1363 | esac ;; |
| 1364 | esac |
| 1365 | ac_abs_top_builddir=$ac_pwd |
| 1366 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 1367 | # for backward compatibility: |
| 1368 | ac_top_builddir=$ac_top_build_prefix |
| 1369 | |
| 1370 | case $srcdir in |
| 1371 | .) # We are building in place. |
| 1372 | ac_srcdir=. |
| 1373 | ac_top_srcdir=$ac_top_builddir_sub |
| 1374 | ac_abs_top_srcdir=$ac_pwd ;; |
| 1375 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 1376 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 1377 | ac_top_srcdir=$srcdir |
| 1378 | ac_abs_top_srcdir=$srcdir ;; |
| 1379 | *) # Relative name. |
| 1380 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 1381 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 1382 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 1383 | esac |
| 1384 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 1385 | |
| 1386 | cd "$ac_dir" || { ac_status=$?; continue; } |
| 1387 | # Check for configure.gnu first; this name is used for a wrapper for |
| 1388 | # Metaconfig's "Configure" on case-insensitive file systems. |
| 1389 | if test -f "$ac_srcdir/configure.gnu"; then |
| 1390 | echo && |
| 1391 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 1392 | elif test -f "$ac_srcdir/configure"; then |
| 1393 | echo && |
| 1394 | $SHELL "$ac_srcdir/configure" --help=recursive |
| 1395 | else |
| 1396 | printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1397 | fi || ac_status=$? |
| 1398 | cd "$ac_pwd" || { ac_status=$?; break; } |
| 1399 | done |
| 1400 | fi |
| 1401 | |
| 1402 | test -n "$ac_init_help" && exit $ac_status |
| 1403 | if $ac_init_version; then |
| 1404 | cat <<\_ACEOF |
| 1405 | configure |
| 1406 | generated by GNU Autoconf 2.71 |
| 1407 | |
| 1408 | Copyright (C) 2021 Free Software Foundation, Inc. |
| 1409 | This configure script is free software; the Free Software Foundation |
| 1410 | gives unlimited permission to copy, distribute and modify it. |
| 1411 | _ACEOF |
| 1412 | exit |
| 1413 | fi |
| 1414 | |
| 1415 | ## ------------------------ ## |
| 1416 | ## Autoconf initialization. ## |
| 1417 | ## ------------------------ ## |
| 1418 | ac_configure_args_raw= |
| 1419 | for ac_arg |
| 1420 | do |
| 1421 | case $ac_arg in |
| 1422 | *\'*) |
| 1423 | ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1424 | esac |
| 1425 | as_fn_append ac_configure_args_raw " '$ac_arg'" |
| 1426 | done |
| 1427 | |
| 1428 | case $ac_configure_args_raw in |
| 1429 | *$as_nl*) |
| 1430 | ac_safe_unquote= ;; |
| 1431 | *) |
| 1432 | ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. |
| 1433 | ac_unsafe_a="$ac_unsafe_z#~" |
| 1434 | ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" |
| 1435 | ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; |
| 1436 | esac |
| 1437 | |
| 1438 | cat >config.log <<_ACEOF |
| 1439 | This file contains any messages produced by compilers while |
| 1440 | running configure, to aid debugging if configure makes a mistake. |
| 1441 | |
| 1442 | It was created by $as_me, which was |
| 1443 | generated by GNU Autoconf 2.71. Invocation command line was |
| 1444 | |
| 1445 | $ $0$ac_configure_args_raw |
| 1446 | |
| 1447 | _ACEOF |
| 1448 | exec 5>>config.log |
| 1449 | { |
| 1450 | cat <<_ASUNAME |
| 1451 | ## --------- ## |
| 1452 | ## Platform. ## |
| 1453 | ## --------- ## |
| 1454 | |
| 1455 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 1456 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
| 1457 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
| 1458 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
| 1459 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
| 1460 | |
| 1461 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
| 1462 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
| 1463 | |
| 1464 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
| 1465 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
| 1466 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
| 1467 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
| 1468 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
| 1469 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
| 1470 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| 1471 | |
| 1472 | _ASUNAME |
| 1473 | |
| 1474 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1475 | for as_dir in $PATH |
| 1476 | do |
| 1477 | IFS=$as_save_IFS |
| 1478 | case $as_dir in #((( |
| 1479 | '') as_dir=./ ;; |
| 1480 | */) ;; |
| 1481 | *) as_dir=$as_dir/ ;; |
| 1482 | esac |
| 1483 | printf "%s\n" "PATH: $as_dir" |
| 1484 | done |
| 1485 | IFS=$as_save_IFS |
| 1486 | |
| 1487 | } >&5 |
| 1488 | |
| 1489 | cat >&5 <<_ACEOF |
| 1490 | |
| 1491 | |
| 1492 | ## ----------- ## |
| 1493 | ## Core tests. ## |
| 1494 | ## ----------- ## |
| 1495 | |
| 1496 | _ACEOF |
| 1497 | |
| 1498 | |
| 1499 | # Keep a trace of the command line. |
| 1500 | # Strip out --no-create and --no-recursion so they do not pile up. |
| 1501 | # Strip out --silent because we don't want to record it for future runs. |
| 1502 | # Also quote any args containing shell meta-characters. |
| 1503 | # Make two passes to allow for proper duplicate-argument suppression. |
| 1504 | ac_configure_args= |
| 1505 | ac_configure_args0= |
| 1506 | ac_configure_args1= |
| 1507 | ac_must_keep_next=false |
| 1508 | for ac_pass in 1 2 |
| 1509 | do |
| 1510 | for ac_arg |
| 1511 | do |
| 1512 | case $ac_arg in |
| 1513 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| 1514 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1515 | | -silent | --silent | --silen | --sile | --sil) |
| 1516 | continue ;; |
| 1517 | *\'*) |
| 1518 | ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1519 | esac |
| 1520 | case $ac_pass in |
| 1521 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
| 1522 | 2) |
| 1523 | as_fn_append ac_configure_args1 " '$ac_arg'" |
| 1524 | if test $ac_must_keep_next = true; then |
| 1525 | ac_must_keep_next=false # Got value, back to normal. |
| 1526 | else |
| 1527 | case $ac_arg in |
| 1528 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
| 1529 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 1530 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 1531 | | -with-* | --with-* | -without-* | --without-* | --x) |
| 1532 | case "$ac_configure_args0 " in |
| 1533 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 1534 | esac |
| 1535 | ;; |
| 1536 | -* ) ac_must_keep_next=true ;; |
| 1537 | esac |
| 1538 | fi |
| 1539 | as_fn_append ac_configure_args " '$ac_arg'" |
| 1540 | ;; |
| 1541 | esac |
| 1542 | done |
| 1543 | done |
| 1544 | { ac_configure_args0=; unset ac_configure_args0;} |
| 1545 | { ac_configure_args1=; unset ac_configure_args1;} |
| 1546 | |
| 1547 | # When interrupted or exit'd, cleanup temporary files, and complete |
| 1548 | # config.log. We remove comments because anyway the quotes in there |
| 1549 | # would cause problems or look ugly. |
| 1550 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
| 1551 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 1552 | trap 'exit_status=$? |
| 1553 | # Sanitize IFS. |
| 1554 | IFS=" "" $as_nl" |
| 1555 | # Save into config.log some information that might help in debugging. |
| 1556 | { |
| 1557 | echo |
| 1558 | |
| 1559 | printf "%s\n" "## ---------------- ## |
| 1560 | ## Cache variables. ## |
| 1561 | ## ---------------- ##" |
| 1562 | echo |
| 1563 | # The following way of writing the cache mishandles newlines in values, |
| 1564 | ( |
| 1565 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
| 1566 | eval ac_val=\$$ac_var |
| 1567 | case $ac_val in #( |
| 1568 | *${as_nl}*) |
| 1569 | case $ac_var in #( |
| 1570 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 1571 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 1572 | esac |
| 1573 | case $ac_var in #( |
| 1574 | _ | IFS | as_nl) ;; #( |
| 1575 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 1576 | *) { eval $ac_var=; unset $ac_var;} ;; |
| 1577 | esac ;; |
| 1578 | esac |
| 1579 | done |
| 1580 | (set) 2>&1 | |
| 1581 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 1582 | *${as_nl}ac_space=\ *) |
| 1583 | sed -n \ |
| 1584 | "s/'\''/'\''\\\\'\'''\''/g; |
| 1585 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| 1586 | ;; #( |
| 1587 | *) |
| 1588 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 1589 | ;; |
| 1590 | esac | |
| 1591 | sort |
| 1592 | ) |
| 1593 | echo |
| 1594 | |
| 1595 | printf "%s\n" "## ----------------- ## |
| 1596 | ## Output variables. ## |
| 1597 | ## ----------------- ##" |
| 1598 | echo |
| 1599 | for ac_var in $ac_subst_vars |
| 1600 | do |
| 1601 | eval ac_val=\$$ac_var |
| 1602 | case $ac_val in |
| 1603 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1604 | esac |
| 1605 | printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 1606 | done | sort |
| 1607 | echo |
| 1608 | |
| 1609 | if test -n "$ac_subst_files"; then |
| 1610 | printf "%s\n" "## ------------------- ## |
| 1611 | ## File substitutions. ## |
| 1612 | ## ------------------- ##" |
| 1613 | echo |
| 1614 | for ac_var in $ac_subst_files |
| 1615 | do |
| 1616 | eval ac_val=\$$ac_var |
| 1617 | case $ac_val in |
| 1618 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1619 | esac |
| 1620 | printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 1621 | done | sort |
| 1622 | echo |
| 1623 | fi |
| 1624 | |
| 1625 | if test -s confdefs.h; then |
| 1626 | printf "%s\n" "## ----------- ## |
| 1627 | ## confdefs.h. ## |
| 1628 | ## ----------- ##" |
| 1629 | echo |
| 1630 | cat confdefs.h |
| 1631 | echo |
| 1632 | fi |
| 1633 | test "$ac_signal" != 0 && |
| 1634 | printf "%s\n" "$as_me: caught signal $ac_signal" |
| 1635 | printf "%s\n" "$as_me: exit $exit_status" |
| 1636 | } >&5 |
| 1637 | rm -f core *.core core.conftest.* && |
| 1638 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 1639 | exit $exit_status |
| 1640 | ' 0 |
| 1641 | for ac_signal in 1 2 13 15; do |
| 1642 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
| 1643 | done |
| 1644 | ac_signal=0 |
| 1645 | |
| 1646 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 1647 | rm -f -r conftest* confdefs.h |
| 1648 | |
| 1649 | printf "%s\n" "/* confdefs.h */" > confdefs.h |
| 1650 | |
| 1651 | # Predefined preprocessor variables. |
| 1652 | |
| 1653 | printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h |
| 1654 | |
| 1655 | printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h |
| 1656 | |
| 1657 | printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h |
| 1658 | |
| 1659 | printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h |
| 1660 | |
| 1661 | printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h |
| 1662 | |
| 1663 | printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h |
| 1664 | |
| 1665 | |
| 1666 | # Let the site file select an alternate cache file if it wants to. |
| 1667 | # Prefer an explicitly selected file to automatically selected ones. |
| 1668 | if test -n "$CONFIG_SITE"; then |
| 1669 | ac_site_files="$CONFIG_SITE" |
| 1670 | elif test "x$prefix" != xNONE; then |
| 1671 | ac_site_files="$prefix/share/config.site $prefix/etc/config.site" |
| 1672 | else |
| 1673 | ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
| 1674 | fi |
| 1675 | |
| 1676 | for ac_site_file in $ac_site_files |
| 1677 | do |
| 1678 | case $ac_site_file in #( |
| 1679 | */*) : |
| 1680 | ;; #( |
| 1681 | *) : |
| 1682 | ac_site_file=./$ac_site_file ;; |
| 1683 | esac |
| 1684 | if test -f "$ac_site_file" && test -r "$ac_site_file"; then |
| 1685 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 1686 | printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} |
| 1687 | sed 's/^/| /' "$ac_site_file" >&5 |
| 1688 | . "$ac_site_file" \ |
| 1689 | || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 1690 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 1691 | as_fn_error $? "failed to load site script $ac_site_file |
| 1692 | See \`config.log' for more details" "$LINENO" 5; } |
| 1693 | fi |
| 1694 | done |
| 1695 | |
| 1696 | if test -r "$cache_file"; then |
| 1697 | # Some versions of bash will fail to source /dev/null (special files |
| 1698 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
| 1699 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
| 1700 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 1701 | printf "%s\n" "$as_me: loading cache $cache_file" >&6;} |
| 1702 | case $cache_file in |
| 1703 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 1704 | *) . "./$cache_file";; |
| 1705 | esac |
| 1706 | fi |
| 1707 | else |
| 1708 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
| 1709 | printf "%s\n" "$as_me: creating cache $cache_file" >&6;} |
| 1710 | >$cache_file |
| 1711 | fi |
| 1712 | |
| 1713 | # Check that the precious variables saved in the cache have kept the same |
| 1714 | # value. |
| 1715 | ac_cache_corrupted=false |
| 1716 | for ac_var in $ac_precious_vars; do |
| 1717 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 1718 | eval ac_new_set=\$ac_env_${ac_var}_set |
| 1719 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 1720 | eval ac_new_val=\$ac_env_${ac_var}_value |
| 1721 | case $ac_old_set,$ac_new_set in |
| 1722 | set,) |
| 1723 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 1724 | printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 1725 | ac_cache_corrupted=: ;; |
| 1726 | ,set) |
| 1727 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
| 1728 | printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 1729 | ac_cache_corrupted=: ;; |
| 1730 | ,);; |
| 1731 | *) |
| 1732 | if test "x$ac_old_val" != "x$ac_new_val"; then |
| 1733 | # differences in whitespace do not lead to failure. |
| 1734 | ac_old_val_w=`echo x $ac_old_val` |
| 1735 | ac_new_val_w=`echo x $ac_new_val` |
| 1736 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
| 1737 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
| 1738 | printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 1739 | ac_cache_corrupted=: |
| 1740 | else |
| 1741 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| 1742 | printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| 1743 | eval $ac_var=\$ac_old_val |
| 1744 | fi |
| 1745 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
| 1746 | printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} |
| 1747 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
| 1748 | printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} |
| 1749 | fi;; |
| 1750 | esac |
| 1751 | # Pass precious variables to config.status. |
| 1752 | if test "$ac_new_set" = set; then |
| 1753 | case $ac_new_val in |
| 1754 | *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1755 | *) ac_arg=$ac_var=$ac_new_val ;; |
| 1756 | esac |
| 1757 | case " $ac_configure_args " in |
| 1758 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 1759 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
| 1760 | esac |
| 1761 | fi |
| 1762 | done |
| 1763 | if $ac_cache_corrupted; then |
| 1764 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 1765 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 1766 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 1767 | printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 1768 | as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' |
| 1769 | and start over" "$LINENO" 5 |
| 1770 | fi |
| 1771 | ## -------------------- ## |
| 1772 | ## Main body of script. ## |
| 1773 | ## -------------------- ## |
| 1774 | |
| 1775 | ac_ext=c |
| 1776 | ac_cpp='$CPP $CPPFLAGS' |
| 1777 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1778 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1779 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1780 | |
| 1781 | |
| 1782 | |
| 1783 | |
| 1784 | chmod +x ./src/zmqsrc/autogen.sh |
| 1785 | chmod +x ./src/zmqsrc/configure |
| 1786 | chmod +x ./src/zmqsrc/version.sh |
| 1787 | chmod +x ./src/zmqsrc/config/compile |
| 1788 | chmod +x ./src/zmqsrc/config/config.guess |
| 1789 | chmod +x ./src/zmqsrc/config/config.sub |
| 1790 | chmod +x ./src/zmqsrc/config/depcomp |
| 1791 | chmod +x ./src/zmqsrc/config/install-sh |
| 1792 | chmod +x ./src/zmqsrc/config/missing |
| 1793 | |
| 1794 | : ${R_HOME=‘R RHOME‘} |
| 1795 | if test -z "${R_HOME}"; then |
| 1796 | echo "could not determine R_HOME" |
| 1797 | exit 1 |
| 1798 | fi |
| 1799 | R_SCMD="${R_HOME}/bin/Rscript -e" |
| 1800 | |
| 1801 | # Check whether --enable-internal-zmq was given. |
| 1802 | if test ${enable_internal_zmq+y} |
| 1803 | then : |
| 1804 | enableval=$enable_internal_zmq; ENABLE_INTERNAL_ZMQ="yes" |
| 1805 | else $as_nop |
| 1806 | ENABLE_INTERNAL_ZMQ="no" |
| 1807 | fi |
| 1808 | |
| 1809 | |
| 1810 | GET_PKG_CONFIG="no" |
| 1811 | GET_SYSTEM_ZMQ="no" |
| 1812 | GET_SYSTEM_ZMQ_416="no" |
| 1813 | GET_SYSTEM_ZMQ_430="no" |
| 1814 | # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- |
| 1815 | # |
| 1816 | # Copyright © 2004 Scott James Remnant <[email protected]>. |
| 1817 | # |
| 1818 | # This program is free software; you can redistribute it and/or modify |
| 1819 | # it under the terms of the GNU General Public License as published by |
| 1820 | # the Free Software Foundation; either version 2 of the License, or |
| 1821 | # (at your option) any later version. |
| 1822 | # |
| 1823 | # This program is distributed in the hope that it will be useful, but |
| 1824 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1825 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1826 | # General Public License for more details. |
| 1827 | # |
| 1828 | # You should have received a copy of the GNU General Public License |
| 1829 | # along with this program; if not, write to the Free Software |
| 1830 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 1831 | # |
| 1832 | # As a special exception to the GNU General Public License, if you |
| 1833 | # distribute this file as part of a program that contains a |
| 1834 | # configuration script generated by Autoconf, you may include it under |
| 1835 | # the same distribution terms that you use for the rest of that program. |
| 1836 | |
| 1837 | # PKG_PROG_PKG_CONFIG([MIN-VERSION]) |
| 1838 | # ---------------------------------- |
| 1839 | # PKG_PROG_PKG_CONFIG |
| 1840 | |
| 1841 | # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
| 1842 | # |
| 1843 | # Check to see whether a particular set of modules exists. Similar |
| 1844 | # to PKG_CHECK_MODULES(), but does not set variables or print errors. |
| 1845 | # |
| 1846 | # |
| 1847 | # Similar to PKG_CHECK_MODULES, make sure that the first instance of |
| 1848 | # this or PKG_CHECK_MODULES is called, or make sure to call |
| 1849 | # PKG_CHECK_EXISTS manually |
| 1850 | # -------------------------------------------------------------- |
| 1851 | |
| 1852 | |
| 1853 | |
| 1854 | # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) |
| 1855 | # --------------------------------------------- |
| 1856 | # _PKG_CONFIG |
| 1857 | |
| 1858 | # _PKG_SHORT_ERRORS_SUPPORTED |
| 1859 | # ----------------------------- |
| 1860 | # _PKG_SHORT_ERRORS_SUPPORTED |
| 1861 | |
| 1862 | |
| 1863 | # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], |
| 1864 | # [ACTION-IF-NOT-FOUND]) |
| 1865 | # |
| 1866 | # |
| 1867 | # Note that if there is a possibility the first call to |
| 1868 | # PKG_CHECK_MODULES might not happen, you should be sure to include an |
| 1869 | # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac |
| 1870 | # |
| 1871 | # |
| 1872 | # -------------------------------------------------------------- |
| 1873 | # PKG_CHECK_MODULES |
| 1874 | |
| 1875 | |
| 1876 | |
| 1877 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
| 1878 | if test -n "$ac_tool_prefix"; then |
| 1879 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
| 1880 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
| 1881 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 1882 | printf %s "checking for $ac_word... " >&6; } |
| 1883 | if test ${ac_cv_path_PKG_CONFIG+y} |
| 1884 | then : |
| 1885 | printf %s "(cached) " >&6 |
| 1886 | else $as_nop |
| 1887 | case $PKG_CONFIG in |
| 1888 | [\\/]* | ?:[\\/]*) |
| 1889 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
| 1890 | ;; |
| 1891 | *) |
| 1892 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1893 | for as_dir in $PATH |
| 1894 | do |
| 1895 | IFS=$as_save_IFS |
| 1896 | case $as_dir in #((( |
| 1897 | '') as_dir=./ ;; |
| 1898 | */) ;; |
| 1899 | *) as_dir=$as_dir/ ;; |
| 1900 | esac |
| 1901 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 1902 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 1903 | ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 1904 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 1905 | break 2 |
| 1906 | fi |
| 1907 | done |
| 1908 | done |
| 1909 | IFS=$as_save_IFS |
| 1910 | |
| 1911 | ;; |
| 1912 | esac |
| 1913 | fi |
| 1914 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 1915 | if test -n "$PKG_CONFIG"; then |
| 1916 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 1917 | printf "%s\n" "$PKG_CONFIG" >&6; } |
| 1918 | else |
| 1919 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 1920 | printf "%s\n" "no" >&6; } |
| 1921 | fi |
| 1922 | |
| 1923 | |
| 1924 | fi |
| 1925 | if test -z "$ac_cv_path_PKG_CONFIG"; then |
| 1926 | ac_pt_PKG_CONFIG=$PKG_CONFIG |
| 1927 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 1928 | set dummy pkg-config; ac_word=$2 |
| 1929 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 1930 | printf %s "checking for $ac_word... " >&6; } |
| 1931 | if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} |
| 1932 | then : |
| 1933 | printf %s "(cached) " >&6 |
| 1934 | else $as_nop |
| 1935 | case $ac_pt_PKG_CONFIG in |
| 1936 | [\\/]* | ?:[\\/]*) |
| 1937 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
| 1938 | ;; |
| 1939 | *) |
| 1940 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1941 | for as_dir in $PATH |
| 1942 | do |
| 1943 | IFS=$as_save_IFS |
| 1944 | case $as_dir in #((( |
| 1945 | '') as_dir=./ ;; |
| 1946 | */) ;; |
| 1947 | *) as_dir=$as_dir/ ;; |
| 1948 | esac |
| 1949 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 1950 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 1951 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 1952 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 1953 | break 2 |
| 1954 | fi |
| 1955 | done |
| 1956 | done |
| 1957 | IFS=$as_save_IFS |
| 1958 | |
| 1959 | ;; |
| 1960 | esac |
| 1961 | fi |
| 1962 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
| 1963 | if test -n "$ac_pt_PKG_CONFIG"; then |
| 1964 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
| 1965 | printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } |
| 1966 | else |
| 1967 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 1968 | printf "%s\n" "no" >&6; } |
| 1969 | fi |
| 1970 | |
| 1971 | if test "x$ac_pt_PKG_CONFIG" = x; then |
| 1972 | PKG_CONFIG="" |
| 1973 | else |
| 1974 | case $cross_compiling:$ac_tool_warned in |
| 1975 | yes:) |
| 1976 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 1977 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 1978 | ac_tool_warned=yes ;; |
| 1979 | esac |
| 1980 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
| 1981 | fi |
| 1982 | else |
| 1983 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
| 1984 | fi |
| 1985 | |
| 1986 | fi |
| 1987 | if test -n "$PKG_CONFIG"; then |
| 1988 | _pkg_min_version=0.25 |
| 1989 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
| 1990 | printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
| 1991 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
| 1992 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 1993 | printf "%s\n" "yes" >&6; } |
| 1994 | else |
| 1995 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 1996 | printf "%s\n" "no" >&6; } |
| 1997 | PKG_CONFIG="" |
| 1998 | fi |
| 1999 | |
| 2000 | fi |
| 2001 | if test "X$PKG_CONFIG" != "X" ; then |
| 2002 | GET_PKG_CONFIG="yes" |
| 2003 | |
| 2004 | pkg_failed=no |
| 2005 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zmq" >&5 |
| 2006 | printf %s "checking for zmq... " >&6; } |
| 2007 | |
| 2008 | if test -n "$PKG_CONFIG"; then |
| 2009 | if test -n "$zmq_CFLAGS"; then |
| 2010 | pkg_cv_zmq_CFLAGS="$zmq_CFLAGS" |
| 2011 | else |
| 2012 | if test -n "$PKG_CONFIG" && \ |
| 2013 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzmq >= 4.0.4\""; } >&5 |
| 2014 | ($PKG_CONFIG --exists --print-errors "libzmq >= 4.0.4") 2>&5 |
| 2015 | ac_status=$? |
| 2016 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2017 | test $ac_status = 0; }; then |
| 2018 | pkg_cv_zmq_CFLAGS=`$PKG_CONFIG --cflags "libzmq >= 4.0.4" 2>/dev/null` |
| 2019 | else |
| 2020 | pkg_failed=yes |
| 2021 | fi |
| 2022 | fi |
| 2023 | else |
| 2024 | pkg_failed=untried |
| 2025 | fi |
| 2026 | if test -n "$PKG_CONFIG"; then |
| 2027 | if test -n "$zmq_LIBS"; then |
| 2028 | pkg_cv_zmq_LIBS="$zmq_LIBS" |
| 2029 | else |
| 2030 | if test -n "$PKG_CONFIG" && \ |
| 2031 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzmq >= 4.0.4\""; } >&5 |
| 2032 | ($PKG_CONFIG --exists --print-errors "libzmq >= 4.0.4") 2>&5 |
| 2033 | ac_status=$? |
| 2034 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2035 | test $ac_status = 0; }; then |
| 2036 | pkg_cv_zmq_LIBS=`$PKG_CONFIG --libs "libzmq >= 4.0.4" 2>/dev/null` |
| 2037 | else |
| 2038 | pkg_failed=yes |
| 2039 | fi |
| 2040 | fi |
| 2041 | else |
| 2042 | pkg_failed=untried |
| 2043 | fi |
| 2044 | |
| 2045 | |
| 2046 | |
| 2047 | if test $pkg_failed = yes; then |
| 2048 | |
| 2049 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 2050 | _pkg_short_errors_supported=yes |
| 2051 | else |
| 2052 | _pkg_short_errors_supported=no |
| 2053 | fi |
| 2054 | if test $_pkg_short_errors_supported = yes; then |
| 2055 | zmq_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libzmq >= 4.0.4"` |
| 2056 | else |
| 2057 | zmq_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libzmq >= 4.0.4"` |
| 2058 | fi |
| 2059 | # Put the nasty error message in config.log where it belongs |
| 2060 | echo "$zmq_PKG_ERRORS" >&5 |
| 2061 | |
| 2062 | GET_SYSTEM_ZMQ="no" |
| 2063 | elif test $pkg_failed = untried; then |
| 2064 | GET_SYSTEM_ZMQ="no" |
| 2065 | else |
| 2066 | zmq_CFLAGS=$pkg_cv_zmq_CFLAGS |
| 2067 | zmq_LIBS=$pkg_cv_zmq_LIBS |
| 2068 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2069 | printf "%s\n" "yes" >&6; } |
| 2070 | GET_SYSTEM_ZMQ="yes" |
| 2071 | fi |
| 2072 | |
| 2073 | |
| 2074 | pkg_failed=no |
| 2075 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zmq_4_1_6" >&5 |
| 2076 | printf %s "checking for zmq_4_1_6... " >&6; } |
| 2077 | |
| 2078 | if test -n "$PKG_CONFIG"; then |
| 2079 | if test -n "$zmq_4_1_6_CFLAGS"; then |
| 2080 | pkg_cv_zmq_4_1_6_CFLAGS="$zmq_4_1_6_CFLAGS" |
| 2081 | else |
| 2082 | if test -n "$PKG_CONFIG" && \ |
| 2083 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzmq = 4.1.6\""; } >&5 |
| 2084 | ($PKG_CONFIG --exists --print-errors "libzmq = 4.1.6") 2>&5 |
| 2085 | ac_status=$? |
| 2086 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2087 | test $ac_status = 0; }; then |
| 2088 | pkg_cv_zmq_4_1_6_CFLAGS=`$PKG_CONFIG --cflags "libzmq = 4.1.6" 2>/dev/null` |
| 2089 | else |
| 2090 | pkg_failed=yes |
| 2091 | fi |
| 2092 | fi |
| 2093 | else |
| 2094 | pkg_failed=untried |
| 2095 | fi |
| 2096 | if test -n "$PKG_CONFIG"; then |
| 2097 | if test -n "$zmq_4_1_6_LIBS"; then |
| 2098 | pkg_cv_zmq_4_1_6_LIBS="$zmq_4_1_6_LIBS" |
| 2099 | else |
| 2100 | if test -n "$PKG_CONFIG" && \ |
| 2101 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzmq = 4.1.6\""; } >&5 |
| 2102 | ($PKG_CONFIG --exists --print-errors "libzmq = 4.1.6") 2>&5 |
| 2103 | ac_status=$? |
| 2104 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2105 | test $ac_status = 0; }; then |
| 2106 | pkg_cv_zmq_4_1_6_LIBS=`$PKG_CONFIG --libs "libzmq = 4.1.6" 2>/dev/null` |
| 2107 | else |
| 2108 | pkg_failed=yes |
| 2109 | fi |
| 2110 | fi |
| 2111 | else |
| 2112 | pkg_failed=untried |
| 2113 | fi |
| 2114 | |
| 2115 | |
| 2116 | |
| 2117 | if test $pkg_failed = yes; then |
| 2118 | |
| 2119 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 2120 | _pkg_short_errors_supported=yes |
| 2121 | else |
| 2122 | _pkg_short_errors_supported=no |
| 2123 | fi |
| 2124 | if test $_pkg_short_errors_supported = yes; then |
| 2125 | zmq_4_1_6_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libzmq = 4.1.6"` |
| 2126 | else |
| 2127 | zmq_4_1_6_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libzmq = 4.1.6"` |
| 2128 | fi |
| 2129 | # Put the nasty error message in config.log where it belongs |
| 2130 | echo "$zmq_4_1_6_PKG_ERRORS" >&5 |
| 2131 | |
| 2132 | GET_SYSTEM_ZMQ_416="no" |
| 2133 | elif test $pkg_failed = untried; then |
| 2134 | GET_SYSTEM_ZMQ_416="no" |
| 2135 | else |
| 2136 | zmq_4_1_6_CFLAGS=$pkg_cv_zmq_4_1_6_CFLAGS |
| 2137 | zmq_4_1_6_LIBS=$pkg_cv_zmq_4_1_6_LIBS |
| 2138 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2139 | printf "%s\n" "yes" >&6; } |
| 2140 | GET_SYSTEM_ZMQ_416="yes" |
| 2141 | fi |
| 2142 | if test "X$GET_SYSTEM_ZMQ_416" = "Xyes" ; then |
| 2143 | GET_SYSTEM_ZMQ="no" |
| 2144 | fi |
| 2145 | |
| 2146 | |
| 2147 | pkg_failed=no |
| 2148 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zmq" >&5 |
| 2149 | printf %s "checking for zmq... " >&6; } |
| 2150 | |
| 2151 | if test -n "$PKG_CONFIG"; then |
| 2152 | if test -n "$zmq_CFLAGS"; then |
| 2153 | pkg_cv_zmq_CFLAGS="$zmq_CFLAGS" |
| 2154 | else |
| 2155 | if test -n "$PKG_CONFIG" && \ |
| 2156 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzmq >= 4.3.0\""; } >&5 |
| 2157 | ($PKG_CONFIG --exists --print-errors "libzmq >= 4.3.0") 2>&5 |
| 2158 | ac_status=$? |
| 2159 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2160 | test $ac_status = 0; }; then |
| 2161 | pkg_cv_zmq_CFLAGS=`$PKG_CONFIG --cflags "libzmq >= 4.3.0" 2>/dev/null` |
| 2162 | else |
| 2163 | pkg_failed=yes |
| 2164 | fi |
| 2165 | fi |
| 2166 | else |
| 2167 | pkg_failed=untried |
| 2168 | fi |
| 2169 | if test -n "$PKG_CONFIG"; then |
| 2170 | if test -n "$zmq_LIBS"; then |
| 2171 | pkg_cv_zmq_LIBS="$zmq_LIBS" |
| 2172 | else |
| 2173 | if test -n "$PKG_CONFIG" && \ |
| 2174 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzmq >= 4.3.0\""; } >&5 |
| 2175 | ($PKG_CONFIG --exists --print-errors "libzmq >= 4.3.0") 2>&5 |
| 2176 | ac_status=$? |
| 2177 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2178 | test $ac_status = 0; }; then |
| 2179 | pkg_cv_zmq_LIBS=`$PKG_CONFIG --libs "libzmq >= 4.3.0" 2>/dev/null` |
| 2180 | else |
| 2181 | pkg_failed=yes |
| 2182 | fi |
| 2183 | fi |
| 2184 | else |
| 2185 | pkg_failed=untried |
| 2186 | fi |
| 2187 | |
| 2188 | |
| 2189 | |
| 2190 | if test $pkg_failed = yes; then |
| 2191 | |
| 2192 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 2193 | _pkg_short_errors_supported=yes |
| 2194 | else |
| 2195 | _pkg_short_errors_supported=no |
| 2196 | fi |
| 2197 | if test $_pkg_short_errors_supported = yes; then |
| 2198 | zmq_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libzmq >= 4.3.0"` |
| 2199 | else |
| 2200 | zmq_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libzmq >= 4.3.0"` |
| 2201 | fi |
| 2202 | # Put the nasty error message in config.log where it belongs |
| 2203 | echo "$zmq_PKG_ERRORS" >&5 |
| 2204 | |
| 2205 | GET_SYSTEM_ZMQ_430="no" |
| 2206 | elif test $pkg_failed = untried; then |
| 2207 | GET_SYSTEM_ZMQ_430="no" |
| 2208 | else |
| 2209 | zmq_CFLAGS=$pkg_cv_zmq_CFLAGS |
| 2210 | zmq_LIBS=$pkg_cv_zmq_LIBS |
| 2211 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2212 | printf "%s\n" "yes" >&6; } |
| 2213 | GET_SYSTEM_ZMQ_430="yes" |
| 2214 | fi |
| 2215 | fi |
| 2216 | |
| 2217 | SYSTEM_ZMQ_INCLUDEDIR="" |
| 2218 | SYSTEM_ZMQ_LIBDIR="" |
| 2219 | if test "X$GET_PKG_CONFIG" = "Xyes" && test "X$GET_SYSTEM_ZMQ" = "Xyes" && test "X$ENABLE_INTERNAL_ZMQ" = "Xno" ; then |
| 2220 | SYSTEM_ZMQ_INCLUDEDIR=`$PKG_CONFIG --variable=includedir libzmq` |
| 2221 | SYSTEM_ZMQ_LIBDIR=`$PKG_CONFIG --variable=libdir libzmq` |
| 2222 | fi |
| 2223 | |
| 2224 | INTERNAL_ZMQ_INCLUDEDIR="./zmqsrc/include" |
| 2225 | INTERNAL_ZMQ_LIBDIR="./" |
| 2226 | |
| 2227 | |
| 2228 | if test ${ZMQ_INCLUDE+y} |
| 2229 | then : |
| 2230 | |
| 2231 | else $as_nop |
| 2232 | ZMQ_INCLUDE="" |
| 2233 | fi |
| 2234 | EXTERNAL_ZMQ_INCLUDE="${ZMQ_INCLUDE}" |
| 2235 | |
| 2236 | if test ${ZMQ_LDFLAGS+y} |
| 2237 | then : |
| 2238 | |
| 2239 | else $as_nop |
| 2240 | ZMQ_LDFLAGS="" |
| 2241 | fi |
| 2242 | EXTERNAL_ZMQ_LDFLAGS="${ZMQ_LDFLAGS}" |
| 2243 | |
| 2244 | ZMQ_INCLUDE="" |
| 2245 | ZMQ_LDFLAGS="" |
| 2246 | if test "X$EXTERNAL_ZMQ_INCLUDE" != "X" && test "X$EXTERNAL_ZMQ_LDFLAGS" != "X" ; then |
| 2247 | ZMQ_INCLUDE="${EXTERNAL_ZMQ_INCLUDE}" |
| 2248 | ZMQ_LDFLAGS="${EXTERNAL_ZMQ_LDFLAGS}" |
| 2249 | ENABLE_INTERNAL_ZMQ="no" |
| 2250 | else |
| 2251 | if test "X$ENABLE_INTERNAL_ZMQ" = "Xyes" ; then |
| 2252 | ZMQ_INCLUDE="-I${INTERNAL_ZMQ_INCLUDEDIR}" |
| 2253 | ZMQ_LDFLAGS="-L${INTERNAL_ZMQ_LIBDIR} -lzmq" |
| 2254 | else |
| 2255 | if test "X$SYSTEM_ZMQ_INCLUDEDIR" != "X" && test "X$SYSTEM_ZMQ_LIBDIR" != "X" ; then |
| 2256 | ZMQ_INCLUDE="-I${SYSTEM_ZMQ_INCLUDEDIR}" |
| 2257 | ZMQ_LDFLAGS="-L${SYSTEM_ZMQ_LIBDIR} -lzmq" |
| 2258 | else |
| 2259 | ZMQ_INCLUDE="-I${INTERNAL_ZMQ_INCLUDEDIR}" |
| 2260 | ZMQ_LDFLAGS="-L${INTERNAL_ZMQ_LIBDIR} -lzmq" |
| 2261 | fi |
| 2262 | fi |
| 2263 | fi |
| 2264 | |
| 2265 | if test "$ZMQ_INCLUDE" != "-I./zmqsrc/include" && test "$ZMQ_LDFLAGS" != "-L./ -lzmq" ; then |
| 2266 | EXT_LIBS="" |
| 2267 | else |
| 2268 | EXT_LIBS="\$(R_ZMQ)" |
| 2269 | fi |
| 2270 | |
| 2271 | |
| 2272 | if test ${ZMQ_POLLER+y} |
| 2273 | then : |
| 2274 | |
| 2275 | else $as_nop |
| 2276 | ZMQ_POLLER="" |
| 2277 | fi |
| 2278 | if test "X$ZMQ_POLLER" = "X" ; then |
| 2279 | ZMQ_POLLER="select" |
| 2280 | fi |
| 2281 | |
| 2282 | echo " " |
| 2283 | echo "****************** Results of pbdZMQ package configure *****************" |
| 2284 | echo " " |
| 2285 | echo ">> GET_PKG_CONFIG = ${GET_PKG_CONFIG}" |
| 2286 | echo ">> GET_SYSTEM_ZMQ = ${GET_SYSTEM_ZMQ}" |
| 2287 | echo ">> GET_SYSTEM_ZMQ_430 = ${GET_SYSTEM_ZMQ_430}" |
| 2288 | echo ">> PKG_CONFIG = ${PKG_CONFIG}" |
| 2289 | echo ">> SYSTEM_ZMQ_INCLUDEDIR = ${SYSTEM_ZMQ_INCLUDEDIR}" |
| 2290 | echo ">> SYSTEM_ZMQ_LIBDIR = ${SYSTEM_ZMQ_LIBDIR}" |
| 2291 | echo ">> ENABLE_INTERNAL_ZMQ = ${ENABLE_INTERNAL_ZMQ}" |
| 2292 | echo ">> INTERNAL_ZMQ_INCLUDEDIR = ${INTERNAL_ZMQ_INCLUDEDIR}" |
| 2293 | echo ">> INTERNAL_ZMQ_LIBDIR = ${INTERNAL_ZMQ_LIBDIR}" |
| 2294 | echo ">> EXTERNAL_ZMQ_INCLUDE = ${EXTERNAL_ZMQ_INCLUDE}" |
| 2295 | echo ">> EXTERNAL_ZMQ_LDFLAGS = ${EXTERNAL_ZMQ_LDFLAGS}" |
| 2296 | echo ">> ZMQ_INCLUDE = ${ZMQ_INCLUDE}" |
| 2297 | echo ">> ZMQ_LDFLAGS = ${ZMQ_LDFLAGS}" |
| 2298 | echo ">> EXT_LIBS = ${EXT_LIBS}" |
| 2299 | echo ">> ZMQ_POLLER = ${ZMQ_POLLER}" |
| 2300 | echo " " |
| 2301 | echo "************************************************************************" |
| 2302 | echo " " |
| 2303 | |
| 2304 | |
| 2305 | |
| 2306 | |
| 2307 | |
| 2308 | |
| 2309 | |
| 2310 | |
| 2311 | |
| 2312 | |
| 2313 | |
| 2314 | |
| 2315 | |
| 2316 | |
| 2317 | |
| 2318 | |
| 2319 | ac_config_files="$ac_config_files src/Makevars" |
| 2320 | |
| 2321 | cat >confcache <<\_ACEOF |
| 2322 | # This file is a shell script that caches the results of configure |
| 2323 | # tests run on this system so they can be shared between configure |
| 2324 | # scripts and configure runs, see configure's option --config-cache. |
| 2325 | # It is not useful on other systems. If it contains results you don't |
| 2326 | # want to keep, you may remove or edit it. |
| 2327 | # |
| 2328 | # config.status only pays attention to the cache file if you give it |
| 2329 | # the --recheck option to rerun configure. |
| 2330 | # |
| 2331 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
| 2332 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
| 2333 | # following values. |
| 2334 | |
| 2335 | _ACEOF |
| 2336 | |
| 2337 | # The following way of writing the cache mishandles newlines in values, |
| 2338 | # but we know of no workaround that is simple, portable, and efficient. |
| 2339 | # So, we kill variables containing newlines. |
| 2340 | # Ultrix sh set writes to stderr and can't be redirected directly, |
| 2341 | # and sets the high bit in the cache file unless we assign to the vars. |
| 2342 | ( |
| 2343 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 2344 | eval ac_val=\$$ac_var |
| 2345 | case $ac_val in #( |
| 2346 | *${as_nl}*) |
| 2347 | case $ac_var in #( |
| 2348 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 2349 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 2350 | esac |
| 2351 | case $ac_var in #( |
| 2352 | _ | IFS | as_nl) ;; #( |
| 2353 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 2354 | *) { eval $ac_var=; unset $ac_var;} ;; |
| 2355 | esac ;; |
| 2356 | esac |
| 2357 | done |
| 2358 | |
| 2359 | (set) 2>&1 | |
| 2360 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 2361 | *${as_nl}ac_space=\ *) |
| 2362 | # `set' does not quote correctly, so add quotes: double-quote |
| 2363 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
| 2364 | sed -n \ |
| 2365 | "s/'/'\\\\''/g; |
| 2366 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 2367 | ;; #( |
| 2368 | *) |
| 2369 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
| 2370 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 2371 | ;; |
| 2372 | esac | |
| 2373 | sort |
| 2374 | ) | |
| 2375 | sed ' |
| 2376 | /^ac_cv_env_/b end |
| 2377 | t clear |
| 2378 | :clear |
| 2379 | s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ |
| 2380 | t end |
| 2381 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 2382 | :end' >>confcache |
| 2383 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 2384 | if test -w "$cache_file"; then |
| 2385 | if test "x$cache_file" != "x/dev/null"; then |
| 2386 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 2387 | printf "%s\n" "$as_me: updating cache $cache_file" >&6;} |
| 2388 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 2389 | cat confcache >"$cache_file" |
| 2390 | else |
| 2391 | case $cache_file in #( |
| 2392 | */* | ?:*) |
| 2393 | mv -f confcache "$cache_file"$$ && |
| 2394 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
| 2395 | *) |
| 2396 | mv -f confcache "$cache_file" ;; |
| 2397 | esac |
| 2398 | fi |
| 2399 | fi |
| 2400 | else |
| 2401 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 2402 | printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 2403 | fi |
| 2404 | fi |
| 2405 | rm -f confcache |
| 2406 | |
| 2407 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 2408 | # Let make expand exec_prefix. |
| 2409 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 2410 | |
| 2411 | # Transform confdefs.h into DEFS. |
| 2412 | # Protect against shell expansion while executing Makefile rules. |
| 2413 | # Protect against Makefile macro expansion. |
| 2414 | # |
| 2415 | # If the first sed substitution is executed (which looks for macros that |
| 2416 | # take arguments), then branch to the quote section. Otherwise, |
| 2417 | # look for a macro that doesn't take arguments. |
| 2418 | ac_script=' |
| 2419 | :mline |
| 2420 | /\\$/{ |
| 2421 | N |
| 2422 | s,\\\n,, |
| 2423 | b mline |
| 2424 | } |
| 2425 | t clear |
| 2426 | :clear |
| 2427 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
| 2428 | t quote |
| 2429 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
| 2430 | t quote |
| 2431 | b any |
| 2432 | :quote |
| 2433 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
| 2434 | s/\[/\\&/g |
| 2435 | s/\]/\\&/g |
| 2436 | s/\$/$$/g |
| 2437 | H |
| 2438 | :any |
| 2439 | ${ |
| 2440 | g |
| 2441 | s/^\n// |
| 2442 | s/\n/ /g |
| 2443 | p |
| 2444 | } |
| 2445 | ' |
| 2446 | DEFS=`sed -n "$ac_script" confdefs.h` |
| 2447 | |
| 2448 | |
| 2449 | ac_libobjs= |
| 2450 | ac_ltlibobjs= |
| 2451 | U= |
| 2452 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 2453 | # 1. Remove the extension, and $U if already installed. |
| 2454 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 2455 | ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` |
| 2456 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 2457 | # will be set to the directory where LIBOBJS objects are built. |
| 2458 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 2459 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
| 2460 | done |
| 2461 | LIBOBJS=$ac_libobjs |
| 2462 | |
| 2463 | LTLIBOBJS=$ac_ltlibobjs |
| 2464 | |
| 2465 | |
| 2466 | |
| 2467 | : "${CONFIG_STATUS=./config.status}" |
| 2468 | ac_write_fail=0 |
| 2469 | ac_clean_files_save=$ac_clean_files |
| 2470 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 2471 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 2472 | printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} |
| 2473 | as_write_fail=0 |
| 2474 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
| 2475 | #! $SHELL |
| 2476 | # Generated by $as_me. |
| 2477 | # Run this file to recreate the current configuration. |
| 2478 | # Compiler output produced by configure, useful for debugging |
| 2479 | # configure, is in config.log if it exists. |
| 2480 | |
| 2481 | debug=false |
| 2482 | ac_cs_recheck=false |
| 2483 | ac_cs_silent=false |
| 2484 | |
| 2485 | SHELL=\${CONFIG_SHELL-$SHELL} |
| 2486 | export SHELL |
| 2487 | _ASEOF |
| 2488 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
| 2489 | ## -------------------- ## |
| 2490 | ## M4sh Initialization. ## |
| 2491 | ## -------------------- ## |
| 2492 | |
| 2493 | # Be more Bourne compatible |
| 2494 | DUALCASE=1; export DUALCASE # for MKS sh |
| 2495 | as_nop=: |
| 2496 | if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 2497 | then : |
| 2498 | emulate sh |
| 2499 | NULLCMD=: |
| 2500 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 2501 | # is contrary to our usage. Disable this feature. |
| 2502 | alias -g '${1+"$@"}'='"$@"' |
| 2503 | setopt NO_GLOB_SUBST |
| 2504 | else $as_nop |
| 2505 | case `(set -o) 2>/dev/null` in #( |
| 2506 | *posix*) : |
| 2507 | set -o posix ;; #( |
| 2508 | *) : |
| 2509 | ;; |
| 2510 | esac |
| 2511 | fi |
| 2512 | |
| 2513 | |
| 2514 | |
| 2515 | # Reset variables that may have inherited troublesome values from |
| 2516 | # the environment. |
| 2517 | |
| 2518 | # IFS needs to be set, to space, tab, and newline, in precisely that order. |
| 2519 | # (If _AS_PATH_WALK were called with IFS unset, it would have the |
| 2520 | # side effect of setting IFS to empty, thus disabling word splitting.) |
| 2521 | # Quoting is to prevent editors from complaining about space-tab. |
| 2522 | as_nl=' |
| 2523 | ' |
| 2524 | export as_nl |
| 2525 | IFS=" "" $as_nl" |
| 2526 | |
| 2527 | PS1='$ ' |
| 2528 | PS2='> ' |
| 2529 | PS4='+ ' |
| 2530 | |
| 2531 | # Ensure predictable behavior from utilities with locale-dependent output. |
| 2532 | LC_ALL=C |
| 2533 | export LC_ALL |
| 2534 | LANGUAGE=C |
| 2535 | export LANGUAGE |
| 2536 | |
| 2537 | # We cannot yet rely on "unset" to work, but we need these variables |
| 2538 | # to be unset--not just set to an empty or harmless value--now, to |
| 2539 | # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
| 2540 | # also avoids known problems related to "unset" and subshell syntax |
| 2541 | # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
| 2542 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
| 2543 | do eval test \${$as_var+y} \ |
| 2544 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 2545 | done |
| 2546 | |
| 2547 | # Ensure that fds 0, 1, and 2 are open. |
| 2548 | if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
| 2549 | if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
| 2550 | if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
| 2551 | |
| 2552 | # The user is always right. |
| 2553 | if ${PATH_SEPARATOR+false} :; then |
| 2554 | PATH_SEPARATOR=: |
| 2555 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 2556 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 2557 | PATH_SEPARATOR=';' |
| 2558 | } |
| 2559 | fi |
| 2560 | |
| 2561 | |
| 2562 | # Find who we are. Look in the path if we contain no directory separator. |
| 2563 | as_myself= |
| 2564 | case $0 in #(( |
| 2565 | *[\\/]* ) as_myself=$0 ;; |
| 2566 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2567 | for as_dir in $PATH |
| 2568 | do |
| 2569 | IFS=$as_save_IFS |
| 2570 | case $as_dir in #((( |
| 2571 | '') as_dir=./ ;; |
| 2572 | */) ;; |
| 2573 | *) as_dir=$as_dir/ ;; |
| 2574 | esac |
| 2575 | test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 2576 | done |
| 2577 | IFS=$as_save_IFS |
| 2578 | |
| 2579 | ;; |
| 2580 | esac |
| 2581 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
| 2582 | # in which case we are not to be found in the path. |
| 2583 | if test "x$as_myself" = x; then |
| 2584 | as_myself=$0 |
| 2585 | fi |
| 2586 | if test ! -f "$as_myself"; then |
| 2587 | printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 2588 | exit 1 |
| 2589 | fi |
| 2590 | |
| 2591 | |
| 2592 | |
| 2593 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 2594 | # ---------------------------------------- |
| 2595 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 2596 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 2597 | # script with STATUS, using 1 if that was 0. |
| 2598 | as_fn_error () |
| 2599 | { |
| 2600 | as_status=$1; test $as_status -eq 0 && as_status=1 |
| 2601 | if test "$4"; then |
| 2602 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2603 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 2604 | fi |
| 2605 | printf "%s\n" "$as_me: error: $2" >&2 |
| 2606 | as_fn_exit $as_status |
| 2607 | } # as_fn_error |
| 2608 | |
| 2609 | |
| 2610 | |
| 2611 | # as_fn_set_status STATUS |
| 2612 | # ----------------------- |
| 2613 | # Set $? to STATUS, without forking. |
| 2614 | as_fn_set_status () |
| 2615 | { |
| 2616 | return $1 |
| 2617 | } # as_fn_set_status |
| 2618 | |
| 2619 | # as_fn_exit STATUS |
| 2620 | # ----------------- |
| 2621 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 2622 | as_fn_exit () |
| 2623 | { |
| 2624 | set +e |
| 2625 | as_fn_set_status $1 |
| 2626 | exit $1 |
| 2627 | } # as_fn_exit |
| 2628 | |
| 2629 | # as_fn_unset VAR |
| 2630 | # --------------- |
| 2631 | # Portably unset VAR. |
| 2632 | as_fn_unset () |
| 2633 | { |
| 2634 | { eval $1=; unset $1;} |
| 2635 | } |
| 2636 | as_unset=as_fn_unset |
| 2637 | |
| 2638 | # as_fn_append VAR VALUE |
| 2639 | # ---------------------- |
| 2640 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
| 2641 | # advantage of any shell optimizations that allow amortized linear growth over |
| 2642 | # repeated appends, instead of the typical quadratic growth present in naive |
| 2643 | # implementations. |
| 2644 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
| 2645 | then : |
| 2646 | eval 'as_fn_append () |
| 2647 | { |
| 2648 | eval $1+=\$2 |
| 2649 | }' |
| 2650 | else $as_nop |
| 2651 | as_fn_append () |
| 2652 | { |
| 2653 | eval $1=\$$1\$2 |
| 2654 | } |
| 2655 | fi # as_fn_append |
| 2656 | |
| 2657 | # as_fn_arith ARG... |
| 2658 | # ------------------ |
| 2659 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
| 2660 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 2661 | # must be portable across $(()) and expr. |
| 2662 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
| 2663 | then : |
| 2664 | eval 'as_fn_arith () |
| 2665 | { |
| 2666 | as_val=$(( $* )) |
| 2667 | }' |
| 2668 | else $as_nop |
| 2669 | as_fn_arith () |
| 2670 | { |
| 2671 | as_val=`expr "$@" || test $? -eq 1` |
| 2672 | } |
| 2673 | fi # as_fn_arith |
| 2674 | |
| 2675 | |
| 2676 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 2677 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 2678 | as_expr=expr |
| 2679 | else |
| 2680 | as_expr=false |
| 2681 | fi |
| 2682 | |
| 2683 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 2684 | as_basename=basename |
| 2685 | else |
| 2686 | as_basename=false |
| 2687 | fi |
| 2688 | |
| 2689 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 2690 | as_dirname=dirname |
| 2691 | else |
| 2692 | as_dirname=false |
| 2693 | fi |
| 2694 | |
| 2695 | as_me=`$as_basename -- "$0" || |
| 2696 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 2697 | X"$0" : 'X\(//\)$' \| \ |
| 2698 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 2699 | printf "%s\n" X/"$0" | |
| 2700 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 2701 | s//\1/ |
| 2702 | q |
| 2703 | } |
| 2704 | /^X\/\(\/\/\)$/{ |
| 2705 | s//\1/ |
| 2706 | q |
| 2707 | } |
| 2708 | /^X\/\(\/\).*/{ |
| 2709 | s//\1/ |
| 2710 | q |
| 2711 | } |
| 2712 | s/.*/./; q'` |
| 2713 | |
| 2714 | # Avoid depending upon Character Ranges. |
| 2715 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 2716 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 2717 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 2718 | as_cr_digits='0123456789' |
| 2719 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 2720 | |
| 2721 | |
| 2722 | # Determine whether it's possible to make 'echo' print without a newline. |
| 2723 | # These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
| 2724 | # for compatibility with existing Makefiles. |
| 2725 | ECHO_C= ECHO_N= ECHO_T= |
| 2726 | case `echo -n x` in #((((( |
| 2727 | -n*) |
| 2728 | case `echo 'xy\c'` in |
| 2729 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 2730 | xy) ECHO_C='\c';; |
| 2731 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 2732 | ECHO_T=' ';; |
| 2733 | esac;; |
| 2734 | *) |
| 2735 | ECHO_N='-n';; |
| 2736 | esac |
| 2737 | |
| 2738 | # For backward compatibility with old third-party macros, we provide |
| 2739 | # the shell variables $as_echo and $as_echo_n. New code should use |
| 2740 | # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
| 2741 | as_echo='printf %s\n' |
| 2742 | as_echo_n='printf %s' |
| 2743 | |
| 2744 | rm -f conf$$ conf$$.exe conf$$.file |
| 2745 | if test -d conf$$.dir; then |
| 2746 | rm -f conf$$.dir/conf$$.file |
| 2747 | else |
| 2748 | rm -f conf$$.dir |
| 2749 | mkdir conf$$.dir 2>/dev/null |
| 2750 | fi |
| 2751 | if (echo >conf$$.file) 2>/dev/null; then |
| 2752 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 2753 | as_ln_s='ln -s' |
| 2754 | # ... but there are two gotchas: |
| 2755 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 2756 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 2757 | # In both cases, we have to default to `cp -pR'. |
| 2758 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 2759 | as_ln_s='cp -pR' |
| 2760 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 2761 | as_ln_s=ln |
| 2762 | else |
| 2763 | as_ln_s='cp -pR' |
| 2764 | fi |
| 2765 | else |
| 2766 | as_ln_s='cp -pR' |
| 2767 | fi |
| 2768 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 2769 | rmdir conf$$.dir 2>/dev/null |
| 2770 | |
| 2771 | |
| 2772 | # as_fn_mkdir_p |
| 2773 | # ------------- |
| 2774 | # Create "$as_dir" as a directory, including parents if necessary. |
| 2775 | as_fn_mkdir_p () |
| 2776 | { |
| 2777 | |
| 2778 | case $as_dir in #( |
| 2779 | -*) as_dir=./$as_dir;; |
| 2780 | esac |
| 2781 | test -d "$as_dir" || eval $as_mkdir_p || { |
| 2782 | as_dirs= |
| 2783 | while :; do |
| 2784 | case $as_dir in #( |
| 2785 | *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 2786 | *) as_qdir=$as_dir;; |
| 2787 | esac |
| 2788 | as_dirs="'$as_qdir' $as_dirs" |
| 2789 | as_dir=`$as_dirname -- "$as_dir" || |
| 2790 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 2791 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 2792 | X"$as_dir" : 'X\(//\)$' \| \ |
| 2793 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 2794 | printf "%s\n" X"$as_dir" | |
| 2795 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 2796 | s//\1/ |
| 2797 | q |
| 2798 | } |
| 2799 | /^X\(\/\/\)[^/].*/{ |
| 2800 | s//\1/ |
| 2801 | q |
| 2802 | } |
| 2803 | /^X\(\/\/\)$/{ |
| 2804 | s//\1/ |
| 2805 | q |
| 2806 | } |
| 2807 | /^X\(\/\).*/{ |
| 2808 | s//\1/ |
| 2809 | q |
| 2810 | } |
| 2811 | s/.*/./; q'` |
| 2812 | test -d "$as_dir" && break |
| 2813 | done |
| 2814 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 2815 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 2816 | |
| 2817 | |
| 2818 | } # as_fn_mkdir_p |
| 2819 | if mkdir -p . 2>/dev/null; then |
| 2820 | as_mkdir_p='mkdir -p "$as_dir"' |
| 2821 | else |
| 2822 | test -d ./-p && rmdir ./-p |
| 2823 | as_mkdir_p=false |
| 2824 | fi |
| 2825 | |
| 2826 | |
| 2827 | # as_fn_executable_p FILE |
| 2828 | # ----------------------- |
| 2829 | # Test if FILE is an executable regular file. |
| 2830 | as_fn_executable_p () |
| 2831 | { |
| 2832 | test -f "$1" && test -x "$1" |
| 2833 | } # as_fn_executable_p |
| 2834 | as_test_x='test -x' |
| 2835 | as_executable_p=as_fn_executable_p |
| 2836 | |
| 2837 | # Sed expression to map a string onto a valid CPP name. |
| 2838 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 2839 | |
| 2840 | # Sed expression to map a string onto a valid variable name. |
| 2841 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 2842 | |
| 2843 | |
| 2844 | exec 6>&1 |
| 2845 | ## ----------------------------------- ## |
| 2846 | ## Main body of $CONFIG_STATUS script. ## |
| 2847 | ## ----------------------------------- ## |
| 2848 | _ASEOF |
| 2849 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
| 2850 | |
| 2851 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 2852 | # Save the log message, to keep $0 and so on meaningful, and to |
| 2853 | # report actual input values of CONFIG_FILES etc. instead of their |
| 2854 | # values after options handling. |
| 2855 | ac_log=" |
| 2856 | This file was extended by $as_me, which was |
| 2857 | generated by GNU Autoconf 2.71. Invocation command line was |
| 2858 | |
| 2859 | CONFIG_FILES = $CONFIG_FILES |
| 2860 | CONFIG_HEADERS = $CONFIG_HEADERS |
| 2861 | CONFIG_LINKS = $CONFIG_LINKS |
| 2862 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 2863 | $ $0 $@ |
| 2864 | |
| 2865 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 2866 | " |
| 2867 | |
| 2868 | _ACEOF |
| 2869 | |
| 2870 | case $ac_config_files in *" |
| 2871 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
| 2872 | esac |
| 2873 | |
| 2874 | |
| 2875 | |
| 2876 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 2877 | # Files that config.status was made for. |
| 2878 | config_files="$ac_config_files" |
| 2879 | |
| 2880 | _ACEOF |
| 2881 | |
| 2882 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 2883 | ac_cs_usage="\ |
| 2884 | \`$as_me' instantiates files and other configuration actions |
| 2885 | from templates according to the current configuration. Unless the files |
| 2886 | and actions are specified as TAGs, all are instantiated by default. |
| 2887 | |
| 2888 | Usage: $0 [OPTION]... [TAG]... |
| 2889 | |
| 2890 | -h, --help print this help, then exit |
| 2891 | -V, --version print version number and configuration settings, then exit |
| 2892 | --config print configuration, then exit |
| 2893 | -q, --quiet, --silent |
| 2894 | do not print progress messages |
| 2895 | -d, --debug don't remove temporary files |
| 2896 | --recheck update $as_me by reconfiguring in the same conditions |
| 2897 | --file=FILE[:TEMPLATE] |
| 2898 | instantiate the configuration file FILE |
| 2899 | |
| 2900 | Configuration files: |
| 2901 | $config_files |
| 2902 | |
| 2903 | Report bugs to the package provider." |
| 2904 | |
| 2905 | _ACEOF |
| 2906 | ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` |
| 2907 | ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` |
| 2908 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 2909 | ac_cs_config='$ac_cs_config_escaped' |
| 2910 | ac_cs_version="\\ |
| 2911 | config.status |
| 2912 | configured by $0, generated by GNU Autoconf 2.71, |
| 2913 | with options \\"\$ac_cs_config\\" |
| 2914 | |
| 2915 | Copyright (C) 2021 Free Software Foundation, Inc. |
| 2916 | This config.status script is free software; the Free Software Foundation |
| 2917 | gives unlimited permission to copy, distribute and modify it." |
| 2918 | |
| 2919 | ac_pwd='$ac_pwd' |
| 2920 | srcdir='$srcdir' |
| 2921 | test -n "\$AWK" || AWK=awk |
| 2922 | _ACEOF |
| 2923 | |
| 2924 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 2925 | # The default lists apply if the user does not specify any file. |
| 2926 | ac_need_defaults=: |
| 2927 | while test $# != 0 |
| 2928 | do |
| 2929 | case $1 in |
| 2930 | --*=?*) |
| 2931 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 2932 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 2933 | ac_shift=: |
| 2934 | ;; |
| 2935 | --*=) |
| 2936 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 2937 | ac_optarg= |
| 2938 | ac_shift=: |
| 2939 | ;; |
| 2940 | *) |
| 2941 | ac_option=$1 |
| 2942 | ac_optarg=$2 |
| 2943 | ac_shift=shift |
| 2944 | ;; |
| 2945 | esac |
| 2946 | |
| 2947 | case $ac_option in |
| 2948 | # Handling of the options. |
| 2949 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 2950 | ac_cs_recheck=: ;; |
| 2951 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 2952 | printf "%s\n" "$ac_cs_version"; exit ;; |
| 2953 | --config | --confi | --conf | --con | --co | --c ) |
| 2954 | printf "%s\n" "$ac_cs_config"; exit ;; |
| 2955 | --debug | --debu | --deb | --de | --d | -d ) |
| 2956 | debug=: ;; |
| 2957 | --file | --fil | --fi | --f ) |
| 2958 | $ac_shift |
| 2959 | case $ac_optarg in |
| 2960 | *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2961 | '') as_fn_error $? "missing file argument" ;; |
| 2962 | esac |
| 2963 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 2964 | ac_need_defaults=false;; |
| 2965 | --he | --h | --help | --hel | -h ) |
| 2966 | printf "%s\n" "$ac_cs_usage"; exit ;; |
| 2967 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 2968 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 2969 | ac_cs_silent=: ;; |
| 2970 | |
| 2971 | # This is an error. |
| 2972 | -*) as_fn_error $? "unrecognized option: \`$1' |
| 2973 | Try \`$0 --help' for more information." ;; |
| 2974 | |
| 2975 | *) as_fn_append ac_config_targets " $1" |
| 2976 | ac_need_defaults=false ;; |
| 2977 | |
| 2978 | esac |
| 2979 | shift |
| 2980 | done |
| 2981 | |
| 2982 | ac_configure_extra_args= |
| 2983 | |
| 2984 | if $ac_cs_silent; then |
| 2985 | exec 6>/dev/null |
| 2986 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 2987 | fi |
| 2988 | |
| 2989 | _ACEOF |
| 2990 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 2991 | if \$ac_cs_recheck; then |
| 2992 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 2993 | shift |
| 2994 | \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 2995 | CONFIG_SHELL='$SHELL' |
| 2996 | export CONFIG_SHELL |
| 2997 | exec "\$@" |
| 2998 | fi |
| 2999 | |
| 3000 | _ACEOF |
| 3001 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 3002 | exec 5>>config.log |
| 3003 | { |
| 3004 | echo |
| 3005 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 3006 | ## Running $as_me. ## |
| 3007 | _ASBOX |
| 3008 | printf "%s\n" "$ac_log" |
| 3009 | } >&5 |
| 3010 | |
| 3011 | _ACEOF |
| 3012 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 3013 | _ACEOF |
| 3014 | |
| 3015 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 3016 | |
| 3017 | # Handling of arguments. |
| 3018 | for ac_config_target in $ac_config_targets |
| 3019 | do |
| 3020 | case $ac_config_target in |
| 3021 | "src/Makevars") CONFIG_FILES="$CONFIG_FILES src/Makevars" ;; |
| 3022 | |
| 3023 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 3024 | esac |
| 3025 | done |
| 3026 | |
| 3027 | |
| 3028 | # If the user did not use the arguments to specify the items to instantiate, |
| 3029 | # then the envvar interface is used. Set only those that are not. |
| 3030 | # We use the long form for the default assignment because of an extremely |
| 3031 | # bizarre bug on SunOS 4.1.3. |
| 3032 | if $ac_need_defaults; then |
| 3033 | test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files |
| 3034 | fi |
| 3035 | |
| 3036 | # Have a temporary directory for convenience. Make it in the build tree |
| 3037 | # simply because there is no reason against having it here, and in addition, |
| 3038 | # creating and moving files from /tmp can sometimes cause problems. |
| 3039 | # Hook for its removal unless debugging. |
| 3040 | # Note that there is a small window in which the directory will not be cleaned: |
| 3041 | # after its creation but before its name has been assigned to `$tmp'. |
| 3042 | $debug || |
| 3043 | { |
| 3044 | tmp= ac_tmp= |
| 3045 | trap 'exit_status=$? |
| 3046 | : "${ac_tmp:=$tmp}" |
| 3047 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
| 3048 | ' 0 |
| 3049 | trap 'as_fn_exit 1' 1 2 13 15 |
| 3050 | } |
| 3051 | # Create a (secure) tmp directory for tmp files. |
| 3052 | |
| 3053 | { |
| 3054 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 3055 | test -d "$tmp" |
| 3056 | } || |
| 3057 | { |
| 3058 | tmp=./conf$$-$RANDOM |
| 3059 | (umask 077 && mkdir "$tmp") |
| 3060 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| 3061 | ac_tmp=$tmp |
| 3062 | |
| 3063 | # Set up the scripts for CONFIG_FILES section. |
| 3064 | # No need to generate them if there are no CONFIG_FILES. |
| 3065 | # This happens for instance with `./config.status config.h'. |
| 3066 | if test -n "$CONFIG_FILES"; then |
| 3067 | |
| 3068 | |
| 3069 | ac_cr=`echo X | tr X '\015'` |
| 3070 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
| 3071 | # But we know of no other shell where ac_cr would be empty at this |
| 3072 | # point, so we can use a bashism as a fallback. |
| 3073 | if test "x$ac_cr" = x; then |
| 3074 | eval ac_cr=\$\'\\r\' |
| 3075 | fi |
| 3076 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 3077 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 3078 | ac_cs_awk_cr='\\r' |
| 3079 | else |
| 3080 | ac_cs_awk_cr=$ac_cr |
| 3081 | fi |
| 3082 | |
| 3083 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
| 3084 | _ACEOF |
| 3085 | |
| 3086 | |
| 3087 | { |
| 3088 | echo "cat >conf$$subs.awk <<_ACEOF" && |
| 3089 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 3090 | echo "_ACEOF" |
| 3091 | } >conf$$subs.sh || |
| 3092 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 3093 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
| 3094 | ac_delim='%!_!# ' |
| 3095 | for ac_last_try in false false false false false :; do |
| 3096 | . ./conf$$subs.sh || |
| 3097 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 3098 | |
| 3099 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
| 3100 | if test $ac_delim_n = $ac_delim_num; then |
| 3101 | break |
| 3102 | elif $ac_last_try; then |
| 3103 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 3104 | else |
| 3105 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 3106 | fi |
| 3107 | done |
| 3108 | rm -f conf$$subs.sh |
| 3109 | |
| 3110 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 3111 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 3112 | _ACEOF |
| 3113 | sed -n ' |
| 3114 | h |
| 3115 | s/^/S["/; s/!.*/"]=/ |
| 3116 | p |
| 3117 | g |
| 3118 | s/^[^!]*!// |
| 3119 | :repl |
| 3120 | t repl |
| 3121 | s/'"$ac_delim"'$// |
| 3122 | t delim |
| 3123 | :nl |
| 3124 | h |
| 3125 | s/\(.\{148\}\)..*/\1/ |
| 3126 | t more1 |
| 3127 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 3128 | p |
| 3129 | n |
| 3130 | b repl |
| 3131 | :more1 |
| 3132 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 3133 | p |
| 3134 | g |
| 3135 | s/.\{148\}// |
| 3136 | t nl |
| 3137 | :delim |
| 3138 | h |
| 3139 | s/\(.\{148\}\)..*/\1/ |
| 3140 | t more2 |
| 3141 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 3142 | p |
| 3143 | b |
| 3144 | :more2 |
| 3145 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 3146 | p |
| 3147 | g |
| 3148 | s/.\{148\}// |
| 3149 | t delim |
| 3150 | ' <conf$$subs.awk | sed ' |
| 3151 | /^[^""]/{ |
| 3152 | N |
| 3153 | s/\n// |
| 3154 | } |
| 3155 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
| 3156 | rm -f conf$$subs.awk |
| 3157 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 3158 | _ACAWK |
| 3159 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
| 3160 | for (key in S) S_is_set[key] = 1 |
| 3161 | FS = "" |
| 3162 | |
| 3163 | } |
| 3164 | { |
| 3165 | line = $ 0 |
| 3166 | nfields = split(line, field, "@") |
| 3167 | substed = 0 |
| 3168 | len = length(field[1]) |
| 3169 | for (i = 2; i < nfields; i++) { |
| 3170 | key = field[i] |
| 3171 | keylen = length(key) |
| 3172 | if (S_is_set[key]) { |
| 3173 | value = S[key] |
| 3174 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
| 3175 | len += length(value) + length(field[++i]) |
| 3176 | substed = 1 |
| 3177 | } else |
| 3178 | len += 1 + keylen |
| 3179 | } |
| 3180 | |
| 3181 | print line |
| 3182 | } |
| 3183 | |
| 3184 | _ACAWK |
| 3185 | _ACEOF |
| 3186 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 3187 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
| 3188 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 3189 | else |
| 3190 | cat |
| 3191 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
| 3192 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
| 3193 | _ACEOF |
| 3194 | |
| 3195 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
| 3196 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
| 3197 | # trailing colons and then remove the whole line if VPATH becomes empty |
| 3198 | # (actually we leave an empty line to preserve line numbers). |
| 3199 | if test "x$srcdir" = x.; then |
| 3200 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
| 3201 | h |
| 3202 | s/// |
| 3203 | s/^/:/ |
| 3204 | s/[ ]*$/:/ |
| 3205 | s/:\$(srcdir):/:/g |
| 3206 | s/:\${srcdir}:/:/g |
| 3207 | s/:@srcdir@:/:/g |
| 3208 | s/^:*// |
| 3209 | s/:*$// |
| 3210 | x |
| 3211 | s/\(=[ ]*\).*/\1/ |
| 3212 | G |
| 3213 | s/\n// |
| 3214 | s/^[^=]*=[ ]*$// |
| 3215 | }' |
| 3216 | fi |
| 3217 | |
| 3218 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 3219 | fi # test -n "$CONFIG_FILES" |
| 3220 | |
| 3221 | |
| 3222 | eval set X " :F $CONFIG_FILES " |
| 3223 | shift |
| 3224 | for ac_tag |
| 3225 | do |
| 3226 | case $ac_tag in |
| 3227 | :[FHLC]) ac_mode=$ac_tag; continue;; |
| 3228 | esac |
| 3229 | case $ac_mode$ac_tag in |
| 3230 | :[FHL]*:*);; |
| 3231 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 3232 | :[FH]-) ac_tag=-:-;; |
| 3233 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 3234 | esac |
| 3235 | ac_save_IFS=$IFS |
| 3236 | IFS=: |
| 3237 | set x $ac_tag |
| 3238 | IFS=$ac_save_IFS |
| 3239 | shift |
| 3240 | ac_file=$1 |
| 3241 | shift |
| 3242 | |
| 3243 | case $ac_mode in |
| 3244 | :L) ac_source=$1;; |
| 3245 | :[FH]) |
| 3246 | ac_file_inputs= |
| 3247 | for ac_f |
| 3248 | do |
| 3249 | case $ac_f in |
| 3250 | -) ac_f="$ac_tmp/stdin";; |
| 3251 | *) # Look for the file first in the build tree, then in the source tree |
| 3252 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
| 3253 | # because $ac_f cannot contain `:'. |
| 3254 | test -f "$ac_f" || |
| 3255 | case $ac_f in |
| 3256 | [\\/$]*) false;; |
| 3257 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 3258 | esac || |
| 3259 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 3260 | esac |
| 3261 | case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 3262 | as_fn_append ac_file_inputs " '$ac_f'" |
| 3263 | done |
| 3264 | |
| 3265 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
| 3266 | # use $as_me), people would be surprised to read: |
| 3267 | # /* config.h. Generated by config.status. */ |
| 3268 | configure_input='Generated from '` |
| 3269 | printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| 3270 | `' by configure.' |
| 3271 | if test x"$ac_file" != x-; then |
| 3272 | configure_input="$ac_file. $configure_input" |
| 3273 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
| 3274 | printf "%s\n" "$as_me: creating $ac_file" >&6;} |
| 3275 | fi |
| 3276 | # Neutralize special characters interpreted by sed in replacement strings. |
| 3277 | case $configure_input in #( |
| 3278 | *\&* | *\|* | *\\* ) |
| 3279 | ac_sed_conf_input=`printf "%s\n" "$configure_input" | |
| 3280 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
| 3281 | *) ac_sed_conf_input=$configure_input;; |
| 3282 | esac |
| 3283 | |
| 3284 | case $ac_tag in |
| 3285 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
| 3286 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
| 3287 | esac |
| 3288 | ;; |
| 3289 | esac |
| 3290 | |
| 3291 | ac_dir=`$as_dirname -- "$ac_file" || |
| 3292 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 3293 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 3294 | X"$ac_file" : 'X\(//\)$' \| \ |
| 3295 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 3296 | printf "%s\n" X"$ac_file" | |
| 3297 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 3298 | s//\1/ |
| 3299 | q |
| 3300 | } |
| 3301 | /^X\(\/\/\)[^/].*/{ |
| 3302 | s//\1/ |
| 3303 | q |
| 3304 | } |
| 3305 | /^X\(\/\/\)$/{ |
| 3306 | s//\1/ |
| 3307 | q |
| 3308 | } |
| 3309 | /^X\(\/\).*/{ |
| 3310 | s//\1/ |
| 3311 | q |
| 3312 | } |
| 3313 | s/.*/./; q'` |
| 3314 | as_dir="$ac_dir"; as_fn_mkdir_p |
| 3315 | ac_builddir=. |
| 3316 | |
| 3317 | case "$ac_dir" in |
| 3318 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 3319 | *) |
| 3320 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
| 3321 | # A ".." for each directory in $ac_dir_suffix. |
| 3322 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 3323 | case $ac_top_builddir_sub in |
| 3324 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 3325 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 3326 | esac ;; |
| 3327 | esac |
| 3328 | ac_abs_top_builddir=$ac_pwd |
| 3329 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 3330 | # for backward compatibility: |
| 3331 | ac_top_builddir=$ac_top_build_prefix |
| 3332 | |
| 3333 | case $srcdir in |
| 3334 | .) # We are building in place. |
| 3335 | ac_srcdir=. |
| 3336 | ac_top_srcdir=$ac_top_builddir_sub |
| 3337 | ac_abs_top_srcdir=$ac_pwd ;; |
| 3338 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 3339 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 3340 | ac_top_srcdir=$srcdir |
| 3341 | ac_abs_top_srcdir=$srcdir ;; |
| 3342 | *) # Relative name. |
| 3343 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 3344 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 3345 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 3346 | esac |
| 3347 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 3348 | |
| 3349 | |
| 3350 | case $ac_mode in |
| 3351 | :F) |
| 3352 | # |
| 3353 | # CONFIG_FILE |
| 3354 | # |
| 3355 | |
| 3356 | _ACEOF |
| 3357 | |
| 3358 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 3359 | # If the template does not know about datarootdir, expand it. |
| 3360 | # FIXME: This hack should be removed a few years after 2.60. |
| 3361 | ac_datarootdir_hack=; ac_datarootdir_seen= |
| 3362 | ac_sed_dataroot=' |
| 3363 | /datarootdir/ { |
| 3364 | p |
| 3365 | q |
| 3366 | } |
| 3367 | /@datadir@/p |
| 3368 | /@docdir@/p |
| 3369 | /@infodir@/p |
| 3370 | /@localedir@/p |
| 3371 | /@mandir@/p' |
| 3372 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 3373 | *datarootdir*) ac_datarootdir_seen=yes;; |
| 3374 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 3375 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 3376 | printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 3377 | _ACEOF |
| 3378 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 3379 | ac_datarootdir_hack=' |
| 3380 | s&@datadir@&$datadir&g |
| 3381 | s&@docdir@&$docdir&g |
| 3382 | s&@infodir@&$infodir&g |
| 3383 | s&@localedir@&$localedir&g |
| 3384 | s&@mandir@&$mandir&g |
| 3385 | s&\\\${datarootdir}&$datarootdir&g' ;; |
| 3386 | esac |
| 3387 | _ACEOF |
| 3388 | |
| 3389 | # Neutralize VPATH when `$srcdir' = `.'. |
| 3390 | # Shell code in configure.ac might set extrasub. |
| 3391 | # FIXME: do we really want to maintain this feature? |
| 3392 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 3393 | ac_sed_extra="$ac_vpsub |
| 3394 | $extrasub |
| 3395 | _ACEOF |
| 3396 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 3397 | :t |
| 3398 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 3399 | s|@configure_input@|$ac_sed_conf_input|;t t |
| 3400 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 3401 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
| 3402 | s&@srcdir@&$ac_srcdir&;t t |
| 3403 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 3404 | s&@top_srcdir@&$ac_top_srcdir&;t t |
| 3405 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 3406 | s&@builddir@&$ac_builddir&;t t |
| 3407 | s&@abs_builddir@&$ac_abs_builddir&;t t |
| 3408 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 3409 | $ac_datarootdir_hack |
| 3410 | " |
| 3411 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
| 3412 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 3413 | |
| 3414 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 3415 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| 3416 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| 3417 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
| 3418 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 3419 | which seems to be undefined. Please make sure it is defined" >&5 |
| 3420 | printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 3421 | which seems to be undefined. Please make sure it is defined" >&2;} |
| 3422 | |
| 3423 | rm -f "$ac_tmp/stdin" |
| 3424 | case $ac_file in |
| 3425 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
| 3426 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
| 3427 | esac \ |
| 3428 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 3429 | ;; |
| 3430 | |
| 3431 | |
| 3432 | |
| 3433 | esac |
| 3434 | |
| 3435 | done # for ac_tag |
| 3436 | |
| 3437 | |
| 3438 | as_fn_exit 0 |
| 3439 | _ACEOF |
| 3440 | ac_clean_files=$ac_clean_files_save |
| 3441 | |
| 3442 | test $ac_write_fail = 0 || |
| 3443 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 3444 | |
| 3445 | |
| 3446 | # configure is writing to config.log, and then calls config.status. |
| 3447 | # config.status does its own redirection, appending to config.log. |
| 3448 | # Unfortunately, on DOS this fails, as config.log is still kept open |
| 3449 | # by configure, so config.status won't be able to write to it; its |
| 3450 | # output is simply discarded. So we exec the FD to /dev/null, |
| 3451 | # effectively closing config.log, so it can be properly (re)opened and |
| 3452 | # appended to by config.status. When coming back to configure, we |
| 3453 | # need to make the FD available again. |
| 3454 | if test "$no_create" != yes; then |
| 3455 | ac_cs_success=: |
| 3456 | ac_config_status_args= |
| 3457 | test "$silent" = yes && |
| 3458 | ac_config_status_args="$ac_config_status_args --quiet" |
| 3459 | exec 5>/dev/null |
| 3460 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
| 3461 | exec 5>>config.log |
| 3462 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 3463 | # would make configure fail if this is the last instruction. |
| 3464 | $ac_cs_success || as_fn_exit 1 |
| 3465 | fi |
| 3466 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 3467 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 3468 | printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 3469 | fi |
| 3470 | |
| 3471 | ac_config_files="$ac_config_files src/build_zmq" |
| 3472 | |
| 3473 | cat >confcache <<\_ACEOF |
| 3474 | # This file is a shell script that caches the results of configure |
| 3475 | # tests run on this system so they can be shared between configure |
| 3476 | # scripts and configure runs, see configure's option --config-cache. |
| 3477 | # It is not useful on other systems. If it contains results you don't |
| 3478 | # want to keep, you may remove or edit it. |
| 3479 | # |
| 3480 | # config.status only pays attention to the cache file if you give it |
| 3481 | # the --recheck option to rerun configure. |
| 3482 | # |
| 3483 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
| 3484 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
| 3485 | # following values. |
| 3486 | |
| 3487 | _ACEOF |
| 3488 | |
| 3489 | # The following way of writing the cache mishandles newlines in values, |
| 3490 | # but we know of no workaround that is simple, portable, and efficient. |
| 3491 | # So, we kill variables containing newlines. |
| 3492 | # Ultrix sh set writes to stderr and can't be redirected directly, |
| 3493 | # and sets the high bit in the cache file unless we assign to the vars. |
| 3494 | ( |
| 3495 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 3496 | eval ac_val=\$$ac_var |
| 3497 | case $ac_val in #( |
| 3498 | *${as_nl}*) |
| 3499 | case $ac_var in #( |
| 3500 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 3501 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 3502 | esac |
| 3503 | case $ac_var in #( |
| 3504 | _ | IFS | as_nl) ;; #( |
| 3505 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 3506 | *) { eval $ac_var=; unset $ac_var;} ;; |
| 3507 | esac ;; |
| 3508 | esac |
| 3509 | done |
| 3510 | |
| 3511 | (set) 2>&1 | |
| 3512 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 3513 | *${as_nl}ac_space=\ *) |
| 3514 | # `set' does not quote correctly, so add quotes: double-quote |
| 3515 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
| 3516 | sed -n \ |
| 3517 | "s/'/'\\\\''/g; |
| 3518 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 3519 | ;; #( |
| 3520 | *) |
| 3521 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
| 3522 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 3523 | ;; |
| 3524 | esac | |
| 3525 | sort |
| 3526 | ) | |
| 3527 | sed ' |
| 3528 | /^ac_cv_env_/b end |
| 3529 | t clear |
| 3530 | :clear |
| 3531 | s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ |
| 3532 | t end |
| 3533 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 3534 | :end' >>confcache |
| 3535 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 3536 | if test -w "$cache_file"; then |
| 3537 | if test "x$cache_file" != "x/dev/null"; then |
| 3538 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 3539 | printf "%s\n" "$as_me: updating cache $cache_file" >&6;} |
| 3540 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 3541 | cat confcache >"$cache_file" |
| 3542 | else |
| 3543 | case $cache_file in #( |
| 3544 | */* | ?:*) |
| 3545 | mv -f confcache "$cache_file"$$ && |
| 3546 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
| 3547 | *) |
| 3548 | mv -f confcache "$cache_file" ;; |
| 3549 | esac |
| 3550 | fi |
| 3551 | fi |
| 3552 | else |
| 3553 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 3554 | printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 3555 | fi |
| 3556 | fi |
| 3557 | rm -f confcache |
| 3558 | |
| 3559 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 3560 | # Let make expand exec_prefix. |
| 3561 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 3562 | |
| 3563 | # Transform confdefs.h into DEFS. |
| 3564 | # Protect against shell expansion while executing Makefile rules. |
| 3565 | # Protect against Makefile macro expansion. |
| 3566 | # |
| 3567 | # If the first sed substitution is executed (which looks for macros that |
| 3568 | # take arguments), then branch to the quote section. Otherwise, |
| 3569 | # look for a macro that doesn't take arguments. |
| 3570 | ac_script=' |
| 3571 | :mline |
| 3572 | /\\$/{ |
| 3573 | N |
| 3574 | s,\\\n,, |
| 3575 | b mline |
| 3576 | } |
| 3577 | t clear |
| 3578 | :clear |
| 3579 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
| 3580 | t quote |
| 3581 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
| 3582 | t quote |
| 3583 | b any |
| 3584 | :quote |
| 3585 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
| 3586 | s/\[/\\&/g |
| 3587 | s/\]/\\&/g |
| 3588 | s/\$/$$/g |
| 3589 | H |
| 3590 | :any |
| 3591 | ${ |
| 3592 | g |
| 3593 | s/^\n// |
| 3594 | s/\n/ /g |
| 3595 | p |
| 3596 | } |
| 3597 | ' |
| 3598 | DEFS=`sed -n "$ac_script" confdefs.h` |
| 3599 | |
| 3600 | |
| 3601 | ac_libobjs= |
| 3602 | ac_ltlibobjs= |
| 3603 | U= |
| 3604 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 3605 | # 1. Remove the extension, and $U if already installed. |
| 3606 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 3607 | ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` |
| 3608 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 3609 | # will be set to the directory where LIBOBJS objects are built. |
| 3610 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 3611 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
| 3612 | done |
| 3613 | LIBOBJS=$ac_libobjs |
| 3614 | |
| 3615 | LTLIBOBJS=$ac_ltlibobjs |
| 3616 | |
| 3617 | |
| 3618 | |
| 3619 | : "${CONFIG_STATUS=./config.status}" |
| 3620 | ac_write_fail=0 |
| 3621 | ac_clean_files_save=$ac_clean_files |
| 3622 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 3623 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 3624 | printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} |
| 3625 | as_write_fail=0 |
| 3626 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
| 3627 | #! $SHELL |
| 3628 | # Generated by $as_me. |
| 3629 | # Run this file to recreate the current configuration. |
| 3630 | # Compiler output produced by configure, useful for debugging |
| 3631 | # configure, is in config.log if it exists. |
| 3632 | |
| 3633 | debug=false |
| 3634 | ac_cs_recheck=false |
| 3635 | ac_cs_silent=false |
| 3636 | |
| 3637 | SHELL=\${CONFIG_SHELL-$SHELL} |
| 3638 | export SHELL |
| 3639 | _ASEOF |
| 3640 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
| 3641 | ## -------------------- ## |
| 3642 | ## M4sh Initialization. ## |
| 3643 | ## -------------------- ## |
| 3644 | |
| 3645 | # Be more Bourne compatible |
| 3646 | DUALCASE=1; export DUALCASE # for MKS sh |
| 3647 | as_nop=: |
| 3648 | if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 3649 | then : |
| 3650 | emulate sh |
| 3651 | NULLCMD=: |
| 3652 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 3653 | # is contrary to our usage. Disable this feature. |
| 3654 | alias -g '${1+"$@"}'='"$@"' |
| 3655 | setopt NO_GLOB_SUBST |
| 3656 | else $as_nop |
| 3657 | case `(set -o) 2>/dev/null` in #( |
| 3658 | *posix*) : |
| 3659 | set -o posix ;; #( |
| 3660 | *) : |
| 3661 | ;; |
| 3662 | esac |
| 3663 | fi |
| 3664 | |
| 3665 | |
| 3666 | |
| 3667 | # Reset variables that may have inherited troublesome values from |
| 3668 | # the environment. |
| 3669 | |
| 3670 | # IFS needs to be set, to space, tab, and newline, in precisely that order. |
| 3671 | # (If _AS_PATH_WALK were called with IFS unset, it would have the |
| 3672 | # side effect of setting IFS to empty, thus disabling word splitting.) |
| 3673 | # Quoting is to prevent editors from complaining about space-tab. |
| 3674 | as_nl=' |
| 3675 | ' |
| 3676 | export as_nl |
| 3677 | IFS=" "" $as_nl" |
| 3678 | |
| 3679 | PS1='$ ' |
| 3680 | PS2='> ' |
| 3681 | PS4='+ ' |
| 3682 | |
| 3683 | # Ensure predictable behavior from utilities with locale-dependent output. |
| 3684 | LC_ALL=C |
| 3685 | export LC_ALL |
| 3686 | LANGUAGE=C |
| 3687 | export LANGUAGE |
| 3688 | |
| 3689 | # We cannot yet rely on "unset" to work, but we need these variables |
| 3690 | # to be unset--not just set to an empty or harmless value--now, to |
| 3691 | # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
| 3692 | # also avoids known problems related to "unset" and subshell syntax |
| 3693 | # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
| 3694 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
| 3695 | do eval test \${$as_var+y} \ |
| 3696 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 3697 | done |
| 3698 | |
| 3699 | # Ensure that fds 0, 1, and 2 are open. |
| 3700 | if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
| 3701 | if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
| 3702 | if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
| 3703 | |
| 3704 | # The user is always right. |
| 3705 | if ${PATH_SEPARATOR+false} :; then |
| 3706 | PATH_SEPARATOR=: |
| 3707 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 3708 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 3709 | PATH_SEPARATOR=';' |
| 3710 | } |
| 3711 | fi |
| 3712 | |
| 3713 | |
| 3714 | # Find who we are. Look in the path if we contain no directory separator. |
| 3715 | as_myself= |
| 3716 | case $0 in #(( |
| 3717 | *[\\/]* ) as_myself=$0 ;; |
| 3718 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3719 | for as_dir in $PATH |
| 3720 | do |
| 3721 | IFS=$as_save_IFS |
| 3722 | case $as_dir in #((( |
| 3723 | '') as_dir=./ ;; |
| 3724 | */) ;; |
| 3725 | *) as_dir=$as_dir/ ;; |
| 3726 | esac |
| 3727 | test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 3728 | done |
| 3729 | IFS=$as_save_IFS |
| 3730 | |
| 3731 | ;; |
| 3732 | esac |
| 3733 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
| 3734 | # in which case we are not to be found in the path. |
| 3735 | if test "x$as_myself" = x; then |
| 3736 | as_myself=$0 |
| 3737 | fi |
| 3738 | if test ! -f "$as_myself"; then |
| 3739 | printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 3740 | exit 1 |
| 3741 | fi |
| 3742 | |
| 3743 | |
| 3744 | |
| 3745 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 3746 | # ---------------------------------------- |
| 3747 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 3748 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 3749 | # script with STATUS, using 1 if that was 0. |
| 3750 | as_fn_error () |
| 3751 | { |
| 3752 | as_status=$1; test $as_status -eq 0 && as_status=1 |
| 3753 | if test "$4"; then |
| 3754 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 3755 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 3756 | fi |
| 3757 | printf "%s\n" "$as_me: error: $2" >&2 |
| 3758 | as_fn_exit $as_status |
| 3759 | } # as_fn_error |
| 3760 | |
| 3761 | |
| 3762 | |
| 3763 | # as_fn_set_status STATUS |
| 3764 | # ----------------------- |
| 3765 | # Set $? to STATUS, without forking. |
| 3766 | as_fn_set_status () |
| 3767 | { |
| 3768 | return $1 |
| 3769 | } # as_fn_set_status |
| 3770 | |
| 3771 | # as_fn_exit STATUS |
| 3772 | # ----------------- |
| 3773 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 3774 | as_fn_exit () |
| 3775 | { |
| 3776 | set +e |
| 3777 | as_fn_set_status $1 |
| 3778 | exit $1 |
| 3779 | } # as_fn_exit |
| 3780 | |
| 3781 | # as_fn_unset VAR |
| 3782 | # --------------- |
| 3783 | # Portably unset VAR. |
| 3784 | as_fn_unset () |
| 3785 | { |
| 3786 | { eval $1=; unset $1;} |
| 3787 | } |
| 3788 | as_unset=as_fn_unset |
| 3789 | |
| 3790 | # as_fn_append VAR VALUE |
| 3791 | # ---------------------- |
| 3792 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
| 3793 | # advantage of any shell optimizations that allow amortized linear growth over |
| 3794 | # repeated appends, instead of the typical quadratic growth present in naive |
| 3795 | # implementations. |
| 3796 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
| 3797 | then : |
| 3798 | eval 'as_fn_append () |
| 3799 | { |
| 3800 | eval $1+=\$2 |
| 3801 | }' |
| 3802 | else $as_nop |
| 3803 | as_fn_append () |
| 3804 | { |
| 3805 | eval $1=\$$1\$2 |
| 3806 | } |
| 3807 | fi # as_fn_append |
| 3808 | |
| 3809 | # as_fn_arith ARG... |
| 3810 | # ------------------ |
| 3811 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
| 3812 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 3813 | # must be portable across $(()) and expr. |
| 3814 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
| 3815 | then : |
| 3816 | eval 'as_fn_arith () |
| 3817 | { |
| 3818 | as_val=$(( $* )) |
| 3819 | }' |
| 3820 | else $as_nop |
| 3821 | as_fn_arith () |
| 3822 | { |
| 3823 | as_val=`expr "$@" || test $? -eq 1` |
| 3824 | } |
| 3825 | fi # as_fn_arith |
| 3826 | |
| 3827 | |
| 3828 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 3829 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 3830 | as_expr=expr |
| 3831 | else |
| 3832 | as_expr=false |
| 3833 | fi |
| 3834 | |
| 3835 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 3836 | as_basename=basename |
| 3837 | else |
| 3838 | as_basename=false |
| 3839 | fi |
| 3840 | |
| 3841 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 3842 | as_dirname=dirname |
| 3843 | else |
| 3844 | as_dirname=false |
| 3845 | fi |
| 3846 | |
| 3847 | as_me=`$as_basename -- "$0" || |
| 3848 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 3849 | X"$0" : 'X\(//\)$' \| \ |
| 3850 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 3851 | printf "%s\n" X/"$0" | |
| 3852 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 3853 | s//\1/ |
| 3854 | q |
| 3855 | } |
| 3856 | /^X\/\(\/\/\)$/{ |
| 3857 | s//\1/ |
| 3858 | q |
| 3859 | } |
| 3860 | /^X\/\(\/\).*/{ |
| 3861 | s//\1/ |
| 3862 | q |
| 3863 | } |
| 3864 | s/.*/./; q'` |
| 3865 | |
| 3866 | # Avoid depending upon Character Ranges. |
| 3867 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 3868 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 3869 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 3870 | as_cr_digits='0123456789' |
| 3871 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 3872 | |
| 3873 | |
| 3874 | # Determine whether it's possible to make 'echo' print without a newline. |
| 3875 | # These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
| 3876 | # for compatibility with existing Makefiles. |
| 3877 | ECHO_C= ECHO_N= ECHO_T= |
| 3878 | case `echo -n x` in #((((( |
| 3879 | -n*) |
| 3880 | case `echo 'xy\c'` in |
| 3881 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 3882 | xy) ECHO_C='\c';; |
| 3883 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 3884 | ECHO_T=' ';; |
| 3885 | esac;; |
| 3886 | *) |
| 3887 | ECHO_N='-n';; |
| 3888 | esac |
| 3889 | |
| 3890 | # For backward compatibility with old third-party macros, we provide |
| 3891 | # the shell variables $as_echo and $as_echo_n. New code should use |
| 3892 | # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
| 3893 | as_echo='printf %s\n' |
| 3894 | as_echo_n='printf %s' |
| 3895 | |
| 3896 | rm -f conf$$ conf$$.exe conf$$.file |
| 3897 | if test -d conf$$.dir; then |
| 3898 | rm -f conf$$.dir/conf$$.file |
| 3899 | else |
| 3900 | rm -f conf$$.dir |
| 3901 | mkdir conf$$.dir 2>/dev/null |
| 3902 | fi |
| 3903 | if (echo >conf$$.file) 2>/dev/null; then |
| 3904 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 3905 | as_ln_s='ln -s' |
| 3906 | # ... but there are two gotchas: |
| 3907 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 3908 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 3909 | # In both cases, we have to default to `cp -pR'. |
| 3910 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 3911 | as_ln_s='cp -pR' |
| 3912 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 3913 | as_ln_s=ln |
| 3914 | else |
| 3915 | as_ln_s='cp -pR' |
| 3916 | fi |
| 3917 | else |
| 3918 | as_ln_s='cp -pR' |
| 3919 | fi |
| 3920 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 3921 | rmdir conf$$.dir 2>/dev/null |
| 3922 | |
| 3923 | |
| 3924 | # as_fn_mkdir_p |
| 3925 | # ------------- |
| 3926 | # Create "$as_dir" as a directory, including parents if necessary. |
| 3927 | as_fn_mkdir_p () |
| 3928 | { |
| 3929 | |
| 3930 | case $as_dir in #( |
| 3931 | -*) as_dir=./$as_dir;; |
| 3932 | esac |
| 3933 | test -d "$as_dir" || eval $as_mkdir_p || { |
| 3934 | as_dirs= |
| 3935 | while :; do |
| 3936 | case $as_dir in #( |
| 3937 | *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 3938 | *) as_qdir=$as_dir;; |
| 3939 | esac |
| 3940 | as_dirs="'$as_qdir' $as_dirs" |
| 3941 | as_dir=`$as_dirname -- "$as_dir" || |
| 3942 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 3943 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 3944 | X"$as_dir" : 'X\(//\)$' \| \ |
| 3945 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 3946 | printf "%s\n" X"$as_dir" | |
| 3947 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 3948 | s//\1/ |
| 3949 | q |
| 3950 | } |
| 3951 | /^X\(\/\/\)[^/].*/{ |
| 3952 | s//\1/ |
| 3953 | q |
| 3954 | } |
| 3955 | /^X\(\/\/\)$/{ |
| 3956 | s//\1/ |
| 3957 | q |
| 3958 | } |
| 3959 | /^X\(\/\).*/{ |
| 3960 | s//\1/ |
| 3961 | q |
| 3962 | } |
| 3963 | s/.*/./; q'` |
| 3964 | test -d "$as_dir" && break |
| 3965 | done |
| 3966 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 3967 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 3968 | |
| 3969 | |
| 3970 | } # as_fn_mkdir_p |
| 3971 | if mkdir -p . 2>/dev/null; then |
| 3972 | as_mkdir_p='mkdir -p "$as_dir"' |
| 3973 | else |
| 3974 | test -d ./-p && rmdir ./-p |
| 3975 | as_mkdir_p=false |
| 3976 | fi |
| 3977 | |
| 3978 | |
| 3979 | # as_fn_executable_p FILE |
| 3980 | # ----------------------- |
| 3981 | # Test if FILE is an executable regular file. |
| 3982 | as_fn_executable_p () |
| 3983 | { |
| 3984 | test -f "$1" && test -x "$1" |
| 3985 | } # as_fn_executable_p |
| 3986 | as_test_x='test -x' |
| 3987 | as_executable_p=as_fn_executable_p |
| 3988 | |
| 3989 | # Sed expression to map a string onto a valid CPP name. |
| 3990 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 3991 | |
| 3992 | # Sed expression to map a string onto a valid variable name. |
| 3993 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 3994 | |
| 3995 | |
| 3996 | exec 6>&1 |
| 3997 | ## ----------------------------------- ## |
| 3998 | ## Main body of $CONFIG_STATUS script. ## |
| 3999 | ## ----------------------------------- ## |
| 4000 | _ASEOF |
| 4001 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
| 4002 | |
| 4003 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4004 | # Save the log message, to keep $0 and so on meaningful, and to |
| 4005 | # report actual input values of CONFIG_FILES etc. instead of their |
| 4006 | # values after options handling. |
| 4007 | ac_log=" |
| 4008 | This file was extended by $as_me, which was |
| 4009 | generated by GNU Autoconf 2.71. Invocation command line was |
| 4010 | |
| 4011 | CONFIG_FILES = $CONFIG_FILES |
| 4012 | CONFIG_HEADERS = $CONFIG_HEADERS |
| 4013 | CONFIG_LINKS = $CONFIG_LINKS |
| 4014 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 4015 | $ $0 $@ |
| 4016 | |
| 4017 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 4018 | " |
| 4019 | |
| 4020 | _ACEOF |
| 4021 | |
| 4022 | case $ac_config_files in *" |
| 4023 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
| 4024 | esac |
| 4025 | |
| 4026 | |
| 4027 | |
| 4028 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 4029 | # Files that config.status was made for. |
| 4030 | config_files="$ac_config_files" |
| 4031 | |
| 4032 | _ACEOF |
| 4033 | |
| 4034 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4035 | ac_cs_usage="\ |
| 4036 | \`$as_me' instantiates files and other configuration actions |
| 4037 | from templates according to the current configuration. Unless the files |
| 4038 | and actions are specified as TAGs, all are instantiated by default. |
| 4039 | |
| 4040 | Usage: $0 [OPTION]... [TAG]... |
| 4041 | |
| 4042 | -h, --help print this help, then exit |
| 4043 | -V, --version print version number and configuration settings, then exit |
| 4044 | --config print configuration, then exit |
| 4045 | -q, --quiet, --silent |
| 4046 | do not print progress messages |
| 4047 | -d, --debug don't remove temporary files |
| 4048 | --recheck update $as_me by reconfiguring in the same conditions |
| 4049 | --file=FILE[:TEMPLATE] |
| 4050 | instantiate the configuration file FILE |
| 4051 | |
| 4052 | Configuration files: |
| 4053 | $config_files |
| 4054 | |
| 4055 | Report bugs to the package provider." |
| 4056 | |
| 4057 | _ACEOF |
| 4058 | ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` |
| 4059 | ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` |
| 4060 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 4061 | ac_cs_config='$ac_cs_config_escaped' |
| 4062 | ac_cs_version="\\ |
| 4063 | config.status |
| 4064 | configured by $0, generated by GNU Autoconf 2.71, |
| 4065 | with options \\"\$ac_cs_config\\" |
| 4066 | |
| 4067 | Copyright (C) 2021 Free Software Foundation, Inc. |
| 4068 | This config.status script is free software; the Free Software Foundation |
| 4069 | gives unlimited permission to copy, distribute and modify it." |
| 4070 | |
| 4071 | ac_pwd='$ac_pwd' |
| 4072 | srcdir='$srcdir' |
| 4073 | test -n "\$AWK" || AWK=awk |
| 4074 | _ACEOF |
| 4075 | |
| 4076 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4077 | # The default lists apply if the user does not specify any file. |
| 4078 | ac_need_defaults=: |
| 4079 | while test $# != 0 |
| 4080 | do |
| 4081 | case $1 in |
| 4082 | --*=?*) |
| 4083 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 4084 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 4085 | ac_shift=: |
| 4086 | ;; |
| 4087 | --*=) |
| 4088 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 4089 | ac_optarg= |
| 4090 | ac_shift=: |
| 4091 | ;; |
| 4092 | *) |
| 4093 | ac_option=$1 |
| 4094 | ac_optarg=$2 |
| 4095 | ac_shift=shift |
| 4096 | ;; |
| 4097 | esac |
| 4098 | |
| 4099 | case $ac_option in |
| 4100 | # Handling of the options. |
| 4101 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 4102 | ac_cs_recheck=: ;; |
| 4103 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 4104 | printf "%s\n" "$ac_cs_version"; exit ;; |
| 4105 | --config | --confi | --conf | --con | --co | --c ) |
| 4106 | printf "%s\n" "$ac_cs_config"; exit ;; |
| 4107 | --debug | --debu | --deb | --de | --d | -d ) |
| 4108 | debug=: ;; |
| 4109 | --file | --fil | --fi | --f ) |
| 4110 | $ac_shift |
| 4111 | case $ac_optarg in |
| 4112 | *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 4113 | '') as_fn_error $? "missing file argument" ;; |
| 4114 | esac |
| 4115 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 4116 | ac_need_defaults=false;; |
| 4117 | --he | --h | --help | --hel | -h ) |
| 4118 | printf "%s\n" "$ac_cs_usage"; exit ;; |
| 4119 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 4120 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 4121 | ac_cs_silent=: ;; |
| 4122 | |
| 4123 | # This is an error. |
| 4124 | -*) as_fn_error $? "unrecognized option: \`$1' |
| 4125 | Try \`$0 --help' for more information." ;; |
| 4126 | |
| 4127 | *) as_fn_append ac_config_targets " $1" |
| 4128 | ac_need_defaults=false ;; |
| 4129 | |
| 4130 | esac |
| 4131 | shift |
| 4132 | done |
| 4133 | |
| 4134 | ac_configure_extra_args= |
| 4135 | |
| 4136 | if $ac_cs_silent; then |
| 4137 | exec 6>/dev/null |
| 4138 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 4139 | fi |
| 4140 | |
| 4141 | _ACEOF |
| 4142 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 4143 | if \$ac_cs_recheck; then |
| 4144 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 4145 | shift |
| 4146 | \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 4147 | CONFIG_SHELL='$SHELL' |
| 4148 | export CONFIG_SHELL |
| 4149 | exec "\$@" |
| 4150 | fi |
| 4151 | |
| 4152 | _ACEOF |
| 4153 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4154 | exec 5>>config.log |
| 4155 | { |
| 4156 | echo |
| 4157 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 4158 | ## Running $as_me. ## |
| 4159 | _ASBOX |
| 4160 | printf "%s\n" "$ac_log" |
| 4161 | } >&5 |
| 4162 | |
| 4163 | _ACEOF |
| 4164 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 4165 | _ACEOF |
| 4166 | |
| 4167 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4168 | |
| 4169 | # Handling of arguments. |
| 4170 | for ac_config_target in $ac_config_targets |
| 4171 | do |
| 4172 | case $ac_config_target in |
| 4173 | "src/Makevars") CONFIG_FILES="$CONFIG_FILES src/Makevars" ;; |
| 4174 | "src/build_zmq") CONFIG_FILES="$CONFIG_FILES src/build_zmq" ;; |
| 4175 | |
| 4176 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 4177 | esac |
| 4178 | done |
| 4179 | |
| 4180 | |
| 4181 | # If the user did not use the arguments to specify the items to instantiate, |
| 4182 | # then the envvar interface is used. Set only those that are not. |
| 4183 | # We use the long form for the default assignment because of an extremely |
| 4184 | # bizarre bug on SunOS 4.1.3. |
| 4185 | if $ac_need_defaults; then |
| 4186 | test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files |
| 4187 | fi |
| 4188 | |
| 4189 | # Have a temporary directory for convenience. Make it in the build tree |
| 4190 | # simply because there is no reason against having it here, and in addition, |
| 4191 | # creating and moving files from /tmp can sometimes cause problems. |
| 4192 | # Hook for its removal unless debugging. |
| 4193 | # Note that there is a small window in which the directory will not be cleaned: |
| 4194 | # after its creation but before its name has been assigned to `$tmp'. |
| 4195 | $debug || |
| 4196 | { |
| 4197 | tmp= ac_tmp= |
| 4198 | trap 'exit_status=$? |
| 4199 | : "${ac_tmp:=$tmp}" |
| 4200 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
| 4201 | ' 0 |
| 4202 | trap 'as_fn_exit 1' 1 2 13 15 |
| 4203 | } |
| 4204 | # Create a (secure) tmp directory for tmp files. |
| 4205 | |
| 4206 | { |
| 4207 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 4208 | test -d "$tmp" |
| 4209 | } || |
| 4210 | { |
| 4211 | tmp=./conf$$-$RANDOM |
| 4212 | (umask 077 && mkdir "$tmp") |
| 4213 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| 4214 | ac_tmp=$tmp |
| 4215 | |
| 4216 | # Set up the scripts for CONFIG_FILES section. |
| 4217 | # No need to generate them if there are no CONFIG_FILES. |
| 4218 | # This happens for instance with `./config.status config.h'. |
| 4219 | if test -n "$CONFIG_FILES"; then |
| 4220 | |
| 4221 | |
| 4222 | ac_cr=`echo X | tr X '\015'` |
| 4223 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
| 4224 | # But we know of no other shell where ac_cr would be empty at this |
| 4225 | # point, so we can use a bashism as a fallback. |
| 4226 | if test "x$ac_cr" = x; then |
| 4227 | eval ac_cr=\$\'\\r\' |
| 4228 | fi |
| 4229 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 4230 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 4231 | ac_cs_awk_cr='\\r' |
| 4232 | else |
| 4233 | ac_cs_awk_cr=$ac_cr |
| 4234 | fi |
| 4235 | |
| 4236 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
| 4237 | _ACEOF |
| 4238 | |
| 4239 | |
| 4240 | { |
| 4241 | echo "cat >conf$$subs.awk <<_ACEOF" && |
| 4242 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 4243 | echo "_ACEOF" |
| 4244 | } >conf$$subs.sh || |
| 4245 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 4246 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
| 4247 | ac_delim='%!_!# ' |
| 4248 | for ac_last_try in false false false false false :; do |
| 4249 | . ./conf$$subs.sh || |
| 4250 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 4251 | |
| 4252 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
| 4253 | if test $ac_delim_n = $ac_delim_num; then |
| 4254 | break |
| 4255 | elif $ac_last_try; then |
| 4256 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 4257 | else |
| 4258 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 4259 | fi |
| 4260 | done |
| 4261 | rm -f conf$$subs.sh |
| 4262 | |
| 4263 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 4264 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 4265 | _ACEOF |
| 4266 | sed -n ' |
| 4267 | h |
| 4268 | s/^/S["/; s/!.*/"]=/ |
| 4269 | p |
| 4270 | g |
| 4271 | s/^[^!]*!// |
| 4272 | :repl |
| 4273 | t repl |
| 4274 | s/'"$ac_delim"'$// |
| 4275 | t delim |
| 4276 | :nl |
| 4277 | h |
| 4278 | s/\(.\{148\}\)..*/\1/ |
| 4279 | t more1 |
| 4280 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 4281 | p |
| 4282 | n |
| 4283 | b repl |
| 4284 | :more1 |
| 4285 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 4286 | p |
| 4287 | g |
| 4288 | s/.\{148\}// |
| 4289 | t nl |
| 4290 | :delim |
| 4291 | h |
| 4292 | s/\(.\{148\}\)..*/\1/ |
| 4293 | t more2 |
| 4294 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 4295 | p |
| 4296 | b |
| 4297 | :more2 |
| 4298 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 4299 | p |
| 4300 | g |
| 4301 | s/.\{148\}// |
| 4302 | t delim |
| 4303 | ' <conf$$subs.awk | sed ' |
| 4304 | /^[^""]/{ |
| 4305 | N |
| 4306 | s/\n// |
| 4307 | } |
| 4308 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
| 4309 | rm -f conf$$subs.awk |
| 4310 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 4311 | _ACAWK |
| 4312 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
| 4313 | for (key in S) S_is_set[key] = 1 |
| 4314 | FS = "" |
| 4315 | |
| 4316 | } |
| 4317 | { |
| 4318 | line = $ 0 |
| 4319 | nfields = split(line, field, "@") |
| 4320 | substed = 0 |
| 4321 | len = length(field[1]) |
| 4322 | for (i = 2; i < nfields; i++) { |
| 4323 | key = field[i] |
| 4324 | keylen = length(key) |
| 4325 | if (S_is_set[key]) { |
| 4326 | value = S[key] |
| 4327 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
| 4328 | len += length(value) + length(field[++i]) |
| 4329 | substed = 1 |
| 4330 | } else |
| 4331 | len += 1 + keylen |
| 4332 | } |
| 4333 | |
| 4334 | print line |
| 4335 | } |
| 4336 | |
| 4337 | _ACAWK |
| 4338 | _ACEOF |
| 4339 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4340 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
| 4341 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 4342 | else |
| 4343 | cat |
| 4344 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
| 4345 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
| 4346 | _ACEOF |
| 4347 | |
| 4348 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
| 4349 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
| 4350 | # trailing colons and then remove the whole line if VPATH becomes empty |
| 4351 | # (actually we leave an empty line to preserve line numbers). |
| 4352 | if test "x$srcdir" = x.; then |
| 4353 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
| 4354 | h |
| 4355 | s/// |
| 4356 | s/^/:/ |
| 4357 | s/[ ]*$/:/ |
| 4358 | s/:\$(srcdir):/:/g |
| 4359 | s/:\${srcdir}:/:/g |
| 4360 | s/:@srcdir@:/:/g |
| 4361 | s/^:*// |
| 4362 | s/:*$// |
| 4363 | x |
| 4364 | s/\(=[ ]*\).*/\1/ |
| 4365 | G |
| 4366 | s/\n// |
| 4367 | s/^[^=]*=[ ]*$// |
| 4368 | }' |
| 4369 | fi |
| 4370 | |
| 4371 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4372 | fi # test -n "$CONFIG_FILES" |
| 4373 | |
| 4374 | |
| 4375 | eval set X " :F $CONFIG_FILES " |
| 4376 | shift |
| 4377 | for ac_tag |
| 4378 | do |
| 4379 | case $ac_tag in |
| 4380 | :[FHLC]) ac_mode=$ac_tag; continue;; |
| 4381 | esac |
| 4382 | case $ac_mode$ac_tag in |
| 4383 | :[FHL]*:*);; |
| 4384 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 4385 | :[FH]-) ac_tag=-:-;; |
| 4386 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 4387 | esac |
| 4388 | ac_save_IFS=$IFS |
| 4389 | IFS=: |
| 4390 | set x $ac_tag |
| 4391 | IFS=$ac_save_IFS |
| 4392 | shift |
| 4393 | ac_file=$1 |
| 4394 | shift |
| 4395 | |
| 4396 | case $ac_mode in |
| 4397 | :L) ac_source=$1;; |
| 4398 | :[FH]) |
| 4399 | ac_file_inputs= |
| 4400 | for ac_f |
| 4401 | do |
| 4402 | case $ac_f in |
| 4403 | -) ac_f="$ac_tmp/stdin";; |
| 4404 | *) # Look for the file first in the build tree, then in the source tree |
| 4405 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
| 4406 | # because $ac_f cannot contain `:'. |
| 4407 | test -f "$ac_f" || |
| 4408 | case $ac_f in |
| 4409 | [\\/$]*) false;; |
| 4410 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 4411 | esac || |
| 4412 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 4413 | esac |
| 4414 | case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 4415 | as_fn_append ac_file_inputs " '$ac_f'" |
| 4416 | done |
| 4417 | |
| 4418 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
| 4419 | # use $as_me), people would be surprised to read: |
| 4420 | # /* config.h. Generated by config.status. */ |
| 4421 | configure_input='Generated from '` |
| 4422 | printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| 4423 | `' by configure.' |
| 4424 | if test x"$ac_file" != x-; then |
| 4425 | configure_input="$ac_file. $configure_input" |
| 4426 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
| 4427 | printf "%s\n" "$as_me: creating $ac_file" >&6;} |
| 4428 | fi |
| 4429 | # Neutralize special characters interpreted by sed in replacement strings. |
| 4430 | case $configure_input in #( |
| 4431 | *\&* | *\|* | *\\* ) |
| 4432 | ac_sed_conf_input=`printf "%s\n" "$configure_input" | |
| 4433 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
| 4434 | *) ac_sed_conf_input=$configure_input;; |
| 4435 | esac |
| 4436 | |
| 4437 | case $ac_tag in |
| 4438 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
| 4439 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
| 4440 | esac |
| 4441 | ;; |
| 4442 | esac |
| 4443 | |
| 4444 | ac_dir=`$as_dirname -- "$ac_file" || |
| 4445 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 4446 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 4447 | X"$ac_file" : 'X\(//\)$' \| \ |
| 4448 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 4449 | printf "%s\n" X"$ac_file" | |
| 4450 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 4451 | s//\1/ |
| 4452 | q |
| 4453 | } |
| 4454 | /^X\(\/\/\)[^/].*/{ |
| 4455 | s//\1/ |
| 4456 | q |
| 4457 | } |
| 4458 | /^X\(\/\/\)$/{ |
| 4459 | s//\1/ |
| 4460 | q |
| 4461 | } |
| 4462 | /^X\(\/\).*/{ |
| 4463 | s//\1/ |
| 4464 | q |
| 4465 | } |
| 4466 | s/.*/./; q'` |
| 4467 | as_dir="$ac_dir"; as_fn_mkdir_p |
| 4468 | ac_builddir=. |
| 4469 | |
| 4470 | case "$ac_dir" in |
| 4471 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 4472 | *) |
| 4473 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
| 4474 | # A ".." for each directory in $ac_dir_suffix. |
| 4475 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 4476 | case $ac_top_builddir_sub in |
| 4477 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 4478 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 4479 | esac ;; |
| 4480 | esac |
| 4481 | ac_abs_top_builddir=$ac_pwd |
| 4482 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 4483 | # for backward compatibility: |
| 4484 | ac_top_builddir=$ac_top_build_prefix |
| 4485 | |
| 4486 | case $srcdir in |
| 4487 | .) # We are building in place. |
| 4488 | ac_srcdir=. |
| 4489 | ac_top_srcdir=$ac_top_builddir_sub |
| 4490 | ac_abs_top_srcdir=$ac_pwd ;; |
| 4491 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 4492 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 4493 | ac_top_srcdir=$srcdir |
| 4494 | ac_abs_top_srcdir=$srcdir ;; |
| 4495 | *) # Relative name. |
| 4496 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 4497 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 4498 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 4499 | esac |
| 4500 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 4501 | |
| 4502 | |
| 4503 | case $ac_mode in |
| 4504 | :F) |
| 4505 | # |
| 4506 | # CONFIG_FILE |
| 4507 | # |
| 4508 | |
| 4509 | _ACEOF |
| 4510 | |
| 4511 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4512 | # If the template does not know about datarootdir, expand it. |
| 4513 | # FIXME: This hack should be removed a few years after 2.60. |
| 4514 | ac_datarootdir_hack=; ac_datarootdir_seen= |
| 4515 | ac_sed_dataroot=' |
| 4516 | /datarootdir/ { |
| 4517 | p |
| 4518 | q |
| 4519 | } |
| 4520 | /@datadir@/p |
| 4521 | /@docdir@/p |
| 4522 | /@infodir@/p |
| 4523 | /@localedir@/p |
| 4524 | /@mandir@/p' |
| 4525 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 4526 | *datarootdir*) ac_datarootdir_seen=yes;; |
| 4527 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 4528 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 4529 | printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 4530 | _ACEOF |
| 4531 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 4532 | ac_datarootdir_hack=' |
| 4533 | s&@datadir@&$datadir&g |
| 4534 | s&@docdir@&$docdir&g |
| 4535 | s&@infodir@&$infodir&g |
| 4536 | s&@localedir@&$localedir&g |
| 4537 | s&@mandir@&$mandir&g |
| 4538 | s&\\\${datarootdir}&$datarootdir&g' ;; |
| 4539 | esac |
| 4540 | _ACEOF |
| 4541 | |
| 4542 | # Neutralize VPATH when `$srcdir' = `.'. |
| 4543 | # Shell code in configure.ac might set extrasub. |
| 4544 | # FIXME: do we really want to maintain this feature? |
| 4545 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 4546 | ac_sed_extra="$ac_vpsub |
| 4547 | $extrasub |
| 4548 | _ACEOF |
| 4549 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4550 | :t |
| 4551 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 4552 | s|@configure_input@|$ac_sed_conf_input|;t t |
| 4553 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 4554 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
| 4555 | s&@srcdir@&$ac_srcdir&;t t |
| 4556 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 4557 | s&@top_srcdir@&$ac_top_srcdir&;t t |
| 4558 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 4559 | s&@builddir@&$ac_builddir&;t t |
| 4560 | s&@abs_builddir@&$ac_abs_builddir&;t t |
| 4561 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 4562 | $ac_datarootdir_hack |
| 4563 | " |
| 4564 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
| 4565 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 4566 | |
| 4567 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 4568 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| 4569 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| 4570 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
| 4571 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 4572 | which seems to be undefined. Please make sure it is defined" >&5 |
| 4573 | printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 4574 | which seems to be undefined. Please make sure it is defined" >&2;} |
| 4575 | |
| 4576 | rm -f "$ac_tmp/stdin" |
| 4577 | case $ac_file in |
| 4578 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
| 4579 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
| 4580 | esac \ |
| 4581 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 4582 | ;; |
| 4583 | |
| 4584 | |
| 4585 | |
| 4586 | esac |
| 4587 | |
| 4588 | done # for ac_tag |
| 4589 | |
| 4590 | |
| 4591 | as_fn_exit 0 |
| 4592 | _ACEOF |
| 4593 | ac_clean_files=$ac_clean_files_save |
| 4594 | |
| 4595 | test $ac_write_fail = 0 || |
| 4596 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 4597 | |
| 4598 | |
| 4599 | # configure is writing to config.log, and then calls config.status. |
| 4600 | # config.status does its own redirection, appending to config.log. |
| 4601 | # Unfortunately, on DOS this fails, as config.log is still kept open |
| 4602 | # by configure, so config.status won't be able to write to it; its |
| 4603 | # output is simply discarded. So we exec the FD to /dev/null, |
| 4604 | # effectively closing config.log, so it can be properly (re)opened and |
| 4605 | # appended to by config.status. When coming back to configure, we |
| 4606 | # need to make the FD available again. |
| 4607 | if test "$no_create" != yes; then |
| 4608 | ac_cs_success=: |
| 4609 | ac_config_status_args= |
| 4610 | test "$silent" = yes && |
| 4611 | ac_config_status_args="$ac_config_status_args --quiet" |
| 4612 | exec 5>/dev/null |
| 4613 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
| 4614 | exec 5>>config.log |
| 4615 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 4616 | # would make configure fail if this is the last instruction. |
| 4617 | $ac_cs_success || as_fn_exit 1 |
| 4618 | fi |
| 4619 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 4620 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 4621 | printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 4622 | fi |
| 4623 | |
| 4624 | ac_config_files="$ac_config_files R/zzz.r" |
| 4625 | |
| 4626 | cat >confcache <<\_ACEOF |
| 4627 | # This file is a shell script that caches the results of configure |
| 4628 | # tests run on this system so they can be shared between configure |
| 4629 | # scripts and configure runs, see configure's option --config-cache. |
| 4630 | # It is not useful on other systems. If it contains results you don't |
| 4631 | # want to keep, you may remove or edit it. |
| 4632 | # |
| 4633 | # config.status only pays attention to the cache file if you give it |
| 4634 | # the --recheck option to rerun configure. |
| 4635 | # |
| 4636 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
| 4637 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
| 4638 | # following values. |
| 4639 | |
| 4640 | _ACEOF |
| 4641 | |
| 4642 | # The following way of writing the cache mishandles newlines in values, |
| 4643 | # but we know of no workaround that is simple, portable, and efficient. |
| 4644 | # So, we kill variables containing newlines. |
| 4645 | # Ultrix sh set writes to stderr and can't be redirected directly, |
| 4646 | # and sets the high bit in the cache file unless we assign to the vars. |
| 4647 | ( |
| 4648 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 4649 | eval ac_val=\$$ac_var |
| 4650 | case $ac_val in #( |
| 4651 | *${as_nl}*) |
| 4652 | case $ac_var in #( |
| 4653 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 4654 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 4655 | esac |
| 4656 | case $ac_var in #( |
| 4657 | _ | IFS | as_nl) ;; #( |
| 4658 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 4659 | *) { eval $ac_var=; unset $ac_var;} ;; |
| 4660 | esac ;; |
| 4661 | esac |
| 4662 | done |
| 4663 | |
| 4664 | (set) 2>&1 | |
| 4665 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 4666 | *${as_nl}ac_space=\ *) |
| 4667 | # `set' does not quote correctly, so add quotes: double-quote |
| 4668 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
| 4669 | sed -n \ |
| 4670 | "s/'/'\\\\''/g; |
| 4671 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 4672 | ;; #( |
| 4673 | *) |
| 4674 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
| 4675 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 4676 | ;; |
| 4677 | esac | |
| 4678 | sort |
| 4679 | ) | |
| 4680 | sed ' |
| 4681 | /^ac_cv_env_/b end |
| 4682 | t clear |
| 4683 | :clear |
| 4684 | s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ |
| 4685 | t end |
| 4686 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 4687 | :end' >>confcache |
| 4688 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 4689 | if test -w "$cache_file"; then |
| 4690 | if test "x$cache_file" != "x/dev/null"; then |
| 4691 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 4692 | printf "%s\n" "$as_me: updating cache $cache_file" >&6;} |
| 4693 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 4694 | cat confcache >"$cache_file" |
| 4695 | else |
| 4696 | case $cache_file in #( |
| 4697 | */* | ?:*) |
| 4698 | mv -f confcache "$cache_file"$$ && |
| 4699 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
| 4700 | *) |
| 4701 | mv -f confcache "$cache_file" ;; |
| 4702 | esac |
| 4703 | fi |
| 4704 | fi |
| 4705 | else |
| 4706 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 4707 | printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 4708 | fi |
| 4709 | fi |
| 4710 | rm -f confcache |
| 4711 | |
| 4712 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 4713 | # Let make expand exec_prefix. |
| 4714 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 4715 | |
| 4716 | # Transform confdefs.h into DEFS. |
| 4717 | # Protect against shell expansion while executing Makefile rules. |
| 4718 | # Protect against Makefile macro expansion. |
| 4719 | # |
| 4720 | # If the first sed substitution is executed (which looks for macros that |
| 4721 | # take arguments), then branch to the quote section. Otherwise, |
| 4722 | # look for a macro that doesn't take arguments. |
| 4723 | ac_script=' |
| 4724 | :mline |
| 4725 | /\\$/{ |
| 4726 | N |
| 4727 | s,\\\n,, |
| 4728 | b mline |
| 4729 | } |
| 4730 | t clear |
| 4731 | :clear |
| 4732 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
| 4733 | t quote |
| 4734 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
| 4735 | t quote |
| 4736 | b any |
| 4737 | :quote |
| 4738 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
| 4739 | s/\[/\\&/g |
| 4740 | s/\]/\\&/g |
| 4741 | s/\$/$$/g |
| 4742 | H |
| 4743 | :any |
| 4744 | ${ |
| 4745 | g |
| 4746 | s/^\n// |
| 4747 | s/\n/ /g |
| 4748 | p |
| 4749 | } |
| 4750 | ' |
| 4751 | DEFS=`sed -n "$ac_script" confdefs.h` |
| 4752 | |
| 4753 | |
| 4754 | ac_libobjs= |
| 4755 | ac_ltlibobjs= |
| 4756 | U= |
| 4757 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 4758 | # 1. Remove the extension, and $U if already installed. |
| 4759 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 4760 | ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` |
| 4761 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 4762 | # will be set to the directory where LIBOBJS objects are built. |
| 4763 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 4764 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
| 4765 | done |
| 4766 | LIBOBJS=$ac_libobjs |
| 4767 | |
| 4768 | LTLIBOBJS=$ac_ltlibobjs |
| 4769 | |
| 4770 | |
| 4771 | |
| 4772 | : "${CONFIG_STATUS=./config.status}" |
| 4773 | ac_write_fail=0 |
| 4774 | ac_clean_files_save=$ac_clean_files |
| 4775 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 4776 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 4777 | printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} |
| 4778 | as_write_fail=0 |
| 4779 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
| 4780 | #! $SHELL |
| 4781 | # Generated by $as_me. |
| 4782 | # Run this file to recreate the current configuration. |
| 4783 | # Compiler output produced by configure, useful for debugging |
| 4784 | # configure, is in config.log if it exists. |
| 4785 | |
| 4786 | debug=false |
| 4787 | ac_cs_recheck=false |
| 4788 | ac_cs_silent=false |
| 4789 | |
| 4790 | SHELL=\${CONFIG_SHELL-$SHELL} |
| 4791 | export SHELL |
| 4792 | _ASEOF |
| 4793 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
| 4794 | ## -------------------- ## |
| 4795 | ## M4sh Initialization. ## |
| 4796 | ## -------------------- ## |
| 4797 | |
| 4798 | # Be more Bourne compatible |
| 4799 | DUALCASE=1; export DUALCASE # for MKS sh |
| 4800 | as_nop=: |
| 4801 | if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 4802 | then : |
| 4803 | emulate sh |
| 4804 | NULLCMD=: |
| 4805 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 4806 | # is contrary to our usage. Disable this feature. |
| 4807 | alias -g '${1+"$@"}'='"$@"' |
| 4808 | setopt NO_GLOB_SUBST |
| 4809 | else $as_nop |
| 4810 | case `(set -o) 2>/dev/null` in #( |
| 4811 | *posix*) : |
| 4812 | set -o posix ;; #( |
| 4813 | *) : |
| 4814 | ;; |
| 4815 | esac |
| 4816 | fi |
| 4817 | |
| 4818 | |
| 4819 | |
| 4820 | # Reset variables that may have inherited troublesome values from |
| 4821 | # the environment. |
| 4822 | |
| 4823 | # IFS needs to be set, to space, tab, and newline, in precisely that order. |
| 4824 | # (If _AS_PATH_WALK were called with IFS unset, it would have the |
| 4825 | # side effect of setting IFS to empty, thus disabling word splitting.) |
| 4826 | # Quoting is to prevent editors from complaining about space-tab. |
| 4827 | as_nl=' |
| 4828 | ' |
| 4829 | export as_nl |
| 4830 | IFS=" "" $as_nl" |
| 4831 | |
| 4832 | PS1='$ ' |
| 4833 | PS2='> ' |
| 4834 | PS4='+ ' |
| 4835 | |
| 4836 | # Ensure predictable behavior from utilities with locale-dependent output. |
| 4837 | LC_ALL=C |
| 4838 | export LC_ALL |
| 4839 | LANGUAGE=C |
| 4840 | export LANGUAGE |
| 4841 | |
| 4842 | # We cannot yet rely on "unset" to work, but we need these variables |
| 4843 | # to be unset--not just set to an empty or harmless value--now, to |
| 4844 | # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
| 4845 | # also avoids known problems related to "unset" and subshell syntax |
| 4846 | # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
| 4847 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
| 4848 | do eval test \${$as_var+y} \ |
| 4849 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 4850 | done |
| 4851 | |
| 4852 | # Ensure that fds 0, 1, and 2 are open. |
| 4853 | if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
| 4854 | if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
| 4855 | if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
| 4856 | |
| 4857 | # The user is always right. |
| 4858 | if ${PATH_SEPARATOR+false} :; then |
| 4859 | PATH_SEPARATOR=: |
| 4860 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 4861 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 4862 | PATH_SEPARATOR=';' |
| 4863 | } |
| 4864 | fi |
| 4865 | |
| 4866 | |
| 4867 | # Find who we are. Look in the path if we contain no directory separator. |
| 4868 | as_myself= |
| 4869 | case $0 in #(( |
| 4870 | *[\\/]* ) as_myself=$0 ;; |
| 4871 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4872 | for as_dir in $PATH |
| 4873 | do |
| 4874 | IFS=$as_save_IFS |
| 4875 | case $as_dir in #((( |
| 4876 | '') as_dir=./ ;; |
| 4877 | */) ;; |
| 4878 | *) as_dir=$as_dir/ ;; |
| 4879 | esac |
| 4880 | test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 4881 | done |
| 4882 | IFS=$as_save_IFS |
| 4883 | |
| 4884 | ;; |
| 4885 | esac |
| 4886 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
| 4887 | # in which case we are not to be found in the path. |
| 4888 | if test "x$as_myself" = x; then |
| 4889 | as_myself=$0 |
| 4890 | fi |
| 4891 | if test ! -f "$as_myself"; then |
| 4892 | printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 4893 | exit 1 |
| 4894 | fi |
| 4895 | |
| 4896 | |
| 4897 | |
| 4898 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 4899 | # ---------------------------------------- |
| 4900 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 4901 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 4902 | # script with STATUS, using 1 if that was 0. |
| 4903 | as_fn_error () |
| 4904 | { |
| 4905 | as_status=$1; test $as_status -eq 0 && as_status=1 |
| 4906 | if test "$4"; then |
| 4907 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 4908 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 4909 | fi |
| 4910 | printf "%s\n" "$as_me: error: $2" >&2 |
| 4911 | as_fn_exit $as_status |
| 4912 | } # as_fn_error |
| 4913 | |
| 4914 | |
| 4915 | |
| 4916 | # as_fn_set_status STATUS |
| 4917 | # ----------------------- |
| 4918 | # Set $? to STATUS, without forking. |
| 4919 | as_fn_set_status () |
| 4920 | { |
| 4921 | return $1 |
| 4922 | } # as_fn_set_status |
| 4923 | |
| 4924 | # as_fn_exit STATUS |
| 4925 | # ----------------- |
| 4926 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 4927 | as_fn_exit () |
| 4928 | { |
| 4929 | set +e |
| 4930 | as_fn_set_status $1 |
| 4931 | exit $1 |
| 4932 | } # as_fn_exit |
| 4933 | |
| 4934 | # as_fn_unset VAR |
| 4935 | # --------------- |
| 4936 | # Portably unset VAR. |
| 4937 | as_fn_unset () |
| 4938 | { |
| 4939 | { eval $1=; unset $1;} |
| 4940 | } |
| 4941 | as_unset=as_fn_unset |
| 4942 | |
| 4943 | # as_fn_append VAR VALUE |
| 4944 | # ---------------------- |
| 4945 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
| 4946 | # advantage of any shell optimizations that allow amortized linear growth over |
| 4947 | # repeated appends, instead of the typical quadratic growth present in naive |
| 4948 | # implementations. |
| 4949 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
| 4950 | then : |
| 4951 | eval 'as_fn_append () |
| 4952 | { |
| 4953 | eval $1+=\$2 |
| 4954 | }' |
| 4955 | else $as_nop |
| 4956 | as_fn_append () |
| 4957 | { |
| 4958 | eval $1=\$$1\$2 |
| 4959 | } |
| 4960 | fi # as_fn_append |
| 4961 | |
| 4962 | # as_fn_arith ARG... |
| 4963 | # ------------------ |
| 4964 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
| 4965 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 4966 | # must be portable across $(()) and expr. |
| 4967 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
| 4968 | then : |
| 4969 | eval 'as_fn_arith () |
| 4970 | { |
| 4971 | as_val=$(( $* )) |
| 4972 | }' |
| 4973 | else $as_nop |
| 4974 | as_fn_arith () |
| 4975 | { |
| 4976 | as_val=`expr "$@" || test $? -eq 1` |
| 4977 | } |
| 4978 | fi # as_fn_arith |
| 4979 | |
| 4980 | |
| 4981 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 4982 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 4983 | as_expr=expr |
| 4984 | else |
| 4985 | as_expr=false |
| 4986 | fi |
| 4987 | |
| 4988 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 4989 | as_basename=basename |
| 4990 | else |
| 4991 | as_basename=false |
| 4992 | fi |
| 4993 | |
| 4994 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 4995 | as_dirname=dirname |
| 4996 | else |
| 4997 | as_dirname=false |
| 4998 | fi |
| 4999 | |
| 5000 | as_me=`$as_basename -- "$0" || |
| 5001 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 5002 | X"$0" : 'X\(//\)$' \| \ |
| 5003 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 5004 | printf "%s\n" X/"$0" | |
| 5005 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 5006 | s//\1/ |
| 5007 | q |
| 5008 | } |
| 5009 | /^X\/\(\/\/\)$/{ |
| 5010 | s//\1/ |
| 5011 | q |
| 5012 | } |
| 5013 | /^X\/\(\/\).*/{ |
| 5014 | s//\1/ |
| 5015 | q |
| 5016 | } |
| 5017 | s/.*/./; q'` |
| 5018 | |
| 5019 | # Avoid depending upon Character Ranges. |
| 5020 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 5021 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 5022 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 5023 | as_cr_digits='0123456789' |
| 5024 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 5025 | |
| 5026 | |
| 5027 | # Determine whether it's possible to make 'echo' print without a newline. |
| 5028 | # These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
| 5029 | # for compatibility with existing Makefiles. |
| 5030 | ECHO_C= ECHO_N= ECHO_T= |
| 5031 | case `echo -n x` in #((((( |
| 5032 | -n*) |
| 5033 | case `echo 'xy\c'` in |
| 5034 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 5035 | xy) ECHO_C='\c';; |
| 5036 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 5037 | ECHO_T=' ';; |
| 5038 | esac;; |
| 5039 | *) |
| 5040 | ECHO_N='-n';; |
| 5041 | esac |
| 5042 | |
| 5043 | # For backward compatibility with old third-party macros, we provide |
| 5044 | # the shell variables $as_echo and $as_echo_n. New code should use |
| 5045 | # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
| 5046 | as_echo='printf %s\n' |
| 5047 | as_echo_n='printf %s' |
| 5048 | |
| 5049 | rm -f conf$$ conf$$.exe conf$$.file |
| 5050 | if test -d conf$$.dir; then |
| 5051 | rm -f conf$$.dir/conf$$.file |
| 5052 | else |
| 5053 | rm -f conf$$.dir |
| 5054 | mkdir conf$$.dir 2>/dev/null |
| 5055 | fi |
| 5056 | if (echo >conf$$.file) 2>/dev/null; then |
| 5057 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 5058 | as_ln_s='ln -s' |
| 5059 | # ... but there are two gotchas: |
| 5060 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 5061 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 5062 | # In both cases, we have to default to `cp -pR'. |
| 5063 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 5064 | as_ln_s='cp -pR' |
| 5065 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 5066 | as_ln_s=ln |
| 5067 | else |
| 5068 | as_ln_s='cp -pR' |
| 5069 | fi |
| 5070 | else |
| 5071 | as_ln_s='cp -pR' |
| 5072 | fi |
| 5073 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 5074 | rmdir conf$$.dir 2>/dev/null |
| 5075 | |
| 5076 | |
| 5077 | # as_fn_mkdir_p |
| 5078 | # ------------- |
| 5079 | # Create "$as_dir" as a directory, including parents if necessary. |
| 5080 | as_fn_mkdir_p () |
| 5081 | { |
| 5082 | |
| 5083 | case $as_dir in #( |
| 5084 | -*) as_dir=./$as_dir;; |
| 5085 | esac |
| 5086 | test -d "$as_dir" || eval $as_mkdir_p || { |
| 5087 | as_dirs= |
| 5088 | while :; do |
| 5089 | case $as_dir in #( |
| 5090 | *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 5091 | *) as_qdir=$as_dir;; |
| 5092 | esac |
| 5093 | as_dirs="'$as_qdir' $as_dirs" |
| 5094 | as_dir=`$as_dirname -- "$as_dir" || |
| 5095 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 5096 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 5097 | X"$as_dir" : 'X\(//\)$' \| \ |
| 5098 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 5099 | printf "%s\n" X"$as_dir" | |
| 5100 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 5101 | s//\1/ |
| 5102 | q |
| 5103 | } |
| 5104 | /^X\(\/\/\)[^/].*/{ |
| 5105 | s//\1/ |
| 5106 | q |
| 5107 | } |
| 5108 | /^X\(\/\/\)$/{ |
| 5109 | s//\1/ |
| 5110 | q |
| 5111 | } |
| 5112 | /^X\(\/\).*/{ |
| 5113 | s//\1/ |
| 5114 | q |
| 5115 | } |
| 5116 | s/.*/./; q'` |
| 5117 | test -d "$as_dir" && break |
| 5118 | done |
| 5119 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 5120 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 5121 | |
| 5122 | |
| 5123 | } # as_fn_mkdir_p |
| 5124 | if mkdir -p . 2>/dev/null; then |
| 5125 | as_mkdir_p='mkdir -p "$as_dir"' |
| 5126 | else |
| 5127 | test -d ./-p && rmdir ./-p |
| 5128 | as_mkdir_p=false |
| 5129 | fi |
| 5130 | |
| 5131 | |
| 5132 | # as_fn_executable_p FILE |
| 5133 | # ----------------------- |
| 5134 | # Test if FILE is an executable regular file. |
| 5135 | as_fn_executable_p () |
| 5136 | { |
| 5137 | test -f "$1" && test -x "$1" |
| 5138 | } # as_fn_executable_p |
| 5139 | as_test_x='test -x' |
| 5140 | as_executable_p=as_fn_executable_p |
| 5141 | |
| 5142 | # Sed expression to map a string onto a valid CPP name. |
| 5143 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 5144 | |
| 5145 | # Sed expression to map a string onto a valid variable name. |
| 5146 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 5147 | |
| 5148 | |
| 5149 | exec 6>&1 |
| 5150 | ## ----------------------------------- ## |
| 5151 | ## Main body of $CONFIG_STATUS script. ## |
| 5152 | ## ----------------------------------- ## |
| 5153 | _ASEOF |
| 5154 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
| 5155 | |
| 5156 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 5157 | # Save the log message, to keep $0 and so on meaningful, and to |
| 5158 | # report actual input values of CONFIG_FILES etc. instead of their |
| 5159 | # values after options handling. |
| 5160 | ac_log=" |
| 5161 | This file was extended by $as_me, which was |
| 5162 | generated by GNU Autoconf 2.71. Invocation command line was |
| 5163 | |
| 5164 | CONFIG_FILES = $CONFIG_FILES |
| 5165 | CONFIG_HEADERS = $CONFIG_HEADERS |
| 5166 | CONFIG_LINKS = $CONFIG_LINKS |
| 5167 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 5168 | $ $0 $@ |
| 5169 | |
| 5170 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 5171 | " |
| 5172 | |
| 5173 | _ACEOF |
| 5174 | |
| 5175 | case $ac_config_files in *" |
| 5176 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
| 5177 | esac |
| 5178 | |
| 5179 | |
| 5180 | |
| 5181 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 5182 | # Files that config.status was made for. |
| 5183 | config_files="$ac_config_files" |
| 5184 | |
| 5185 | _ACEOF |
| 5186 | |
| 5187 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 5188 | ac_cs_usage="\ |
| 5189 | \`$as_me' instantiates files and other configuration actions |
| 5190 | from templates according to the current configuration. Unless the files |
| 5191 | and actions are specified as TAGs, all are instantiated by default. |
| 5192 | |
| 5193 | Usage: $0 [OPTION]... [TAG]... |
| 5194 | |
| 5195 | -h, --help print this help, then exit |
| 5196 | -V, --version print version number and configuration settings, then exit |
| 5197 | --config print configuration, then exit |
| 5198 | -q, --quiet, --silent |
| 5199 | do not print progress messages |
| 5200 | -d, --debug don't remove temporary files |
| 5201 | --recheck update $as_me by reconfiguring in the same conditions |
| 5202 | --file=FILE[:TEMPLATE] |
| 5203 | instantiate the configuration file FILE |
| 5204 | |
| 5205 | Configuration files: |
| 5206 | $config_files |
| 5207 | |
| 5208 | Report bugs to the package provider." |
| 5209 | |
| 5210 | _ACEOF |
| 5211 | ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` |
| 5212 | ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` |
| 5213 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 5214 | ac_cs_config='$ac_cs_config_escaped' |
| 5215 | ac_cs_version="\\ |
| 5216 | config.status |
| 5217 | configured by $0, generated by GNU Autoconf 2.71, |
| 5218 | with options \\"\$ac_cs_config\\" |
| 5219 | |
| 5220 | Copyright (C) 2021 Free Software Foundation, Inc. |
| 5221 | This config.status script is free software; the Free Software Foundation |
| 5222 | gives unlimited permission to copy, distribute and modify it." |
| 5223 | |
| 5224 | ac_pwd='$ac_pwd' |
| 5225 | srcdir='$srcdir' |
| 5226 | test -n "\$AWK" || AWK=awk |
| 5227 | _ACEOF |
| 5228 | |
| 5229 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 5230 | # The default lists apply if the user does not specify any file. |
| 5231 | ac_need_defaults=: |
| 5232 | while test $# != 0 |
| 5233 | do |
| 5234 | case $1 in |
| 5235 | --*=?*) |
| 5236 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 5237 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 5238 | ac_shift=: |
| 5239 | ;; |
| 5240 | --*=) |
| 5241 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 5242 | ac_optarg= |
| 5243 | ac_shift=: |
| 5244 | ;; |
| 5245 | *) |
| 5246 | ac_option=$1 |
| 5247 | ac_optarg=$2 |
| 5248 | ac_shift=shift |
| 5249 | ;; |
| 5250 | esac |
| 5251 | |
| 5252 | case $ac_option in |
| 5253 | # Handling of the options. |
| 5254 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 5255 | ac_cs_recheck=: ;; |
| 5256 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 5257 | printf "%s\n" "$ac_cs_version"; exit ;; |
| 5258 | --config | --confi | --conf | --con | --co | --c ) |
| 5259 | printf "%s\n" "$ac_cs_config"; exit ;; |
| 5260 | --debug | --debu | --deb | --de | --d | -d ) |
| 5261 | debug=: ;; |
| 5262 | --file | --fil | --fi | --f ) |
| 5263 | $ac_shift |
| 5264 | case $ac_optarg in |
| 5265 | *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 5266 | '') as_fn_error $? "missing file argument" ;; |
| 5267 | esac |
| 5268 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 5269 | ac_need_defaults=false;; |
| 5270 | --he | --h | --help | --hel | -h ) |
| 5271 | printf "%s\n" "$ac_cs_usage"; exit ;; |
| 5272 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 5273 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 5274 | ac_cs_silent=: ;; |
| 5275 | |
| 5276 | # This is an error. |
| 5277 | -*) as_fn_error $? "unrecognized option: \`$1' |
| 5278 | Try \`$0 --help' for more information." ;; |
| 5279 | |
| 5280 | *) as_fn_append ac_config_targets " $1" |
| 5281 | ac_need_defaults=false ;; |
| 5282 | |
| 5283 | esac |
| 5284 | shift |
| 5285 | done |
| 5286 | |
| 5287 | ac_configure_extra_args= |
| 5288 | |
| 5289 | if $ac_cs_silent; then |
| 5290 | exec 6>/dev/null |
| 5291 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 5292 | fi |
| 5293 | |
| 5294 | _ACEOF |
| 5295 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 5296 | if \$ac_cs_recheck; then |
| 5297 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 5298 | shift |
| 5299 | \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 5300 | CONFIG_SHELL='$SHELL' |
| 5301 | export CONFIG_SHELL |
| 5302 | exec "\$@" |
| 5303 | fi |
| 5304 | |
| 5305 | _ACEOF |
| 5306 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 5307 | exec 5>>config.log |
| 5308 | { |
| 5309 | echo |
| 5310 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 5311 | ## Running $as_me. ## |
| 5312 | _ASBOX |
| 5313 | printf "%s\n" "$ac_log" |
| 5314 | } >&5 |
| 5315 | |
| 5316 | _ACEOF |
| 5317 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 5318 | _ACEOF |
| 5319 | |
| 5320 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 5321 | |
| 5322 | # Handling of arguments. |
| 5323 | for ac_config_target in $ac_config_targets |
| 5324 | do |
| 5325 | case $ac_config_target in |
| 5326 | "src/Makevars") CONFIG_FILES="$CONFIG_FILES src/Makevars" ;; |
| 5327 | "src/build_zmq") CONFIG_FILES="$CONFIG_FILES src/build_zmq" ;; |
| 5328 | "R/zzz.r") CONFIG_FILES="$CONFIG_FILES R/zzz.r" ;; |
| 5329 | |
| 5330 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 5331 | esac |
| 5332 | done |
| 5333 | |
| 5334 | |
| 5335 | # If the user did not use the arguments to specify the items to instantiate, |
| 5336 | # then the envvar interface is used. Set only those that are not. |
| 5337 | # We use the long form for the default assignment because of an extremely |
| 5338 | # bizarre bug on SunOS 4.1.3. |
| 5339 | if $ac_need_defaults; then |
| 5340 | test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files |
| 5341 | fi |
| 5342 | |
| 5343 | # Have a temporary directory for convenience. Make it in the build tree |
| 5344 | # simply because there is no reason against having it here, and in addition, |
| 5345 | # creating and moving files from /tmp can sometimes cause problems. |
| 5346 | # Hook for its removal unless debugging. |
| 5347 | # Note that there is a small window in which the directory will not be cleaned: |
| 5348 | # after its creation but before its name has been assigned to `$tmp'. |
| 5349 | $debug || |
| 5350 | { |
| 5351 | tmp= ac_tmp= |
| 5352 | trap 'exit_status=$? |
| 5353 | : "${ac_tmp:=$tmp}" |
| 5354 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
| 5355 | ' 0 |
| 5356 | trap 'as_fn_exit 1' 1 2 13 15 |
| 5357 | } |
| 5358 | # Create a (secure) tmp directory for tmp files. |
| 5359 | |
| 5360 | { |
| 5361 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 5362 | test -d "$tmp" |
| 5363 | } || |
| 5364 | { |
| 5365 | tmp=./conf$$-$RANDOM |
| 5366 | (umask 077 && mkdir "$tmp") |
| 5367 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| 5368 | ac_tmp=$tmp |
| 5369 | |
| 5370 | # Set up the scripts for CONFIG_FILES section. |
| 5371 | # No need to generate them if there are no CONFIG_FILES. |
| 5372 | # This happens for instance with `./config.status config.h'. |
| 5373 | if test -n "$CONFIG_FILES"; then |
| 5374 | |
| 5375 | |
| 5376 | ac_cr=`echo X | tr X '\015'` |
| 5377 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
| 5378 | # But we know of no other shell where ac_cr would be empty at this |
| 5379 | # point, so we can use a bashism as a fallback. |
| 5380 | if test "x$ac_cr" = x; then |
| 5381 | eval ac_cr=\$\'\\r\' |
| 5382 | fi |
| 5383 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 5384 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 5385 | ac_cs_awk_cr='\\r' |
| 5386 | else |
| 5387 | ac_cs_awk_cr=$ac_cr |
| 5388 | fi |
| 5389 | |
| 5390 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
| 5391 | _ACEOF |
| 5392 | |
| 5393 | |
| 5394 | { |
| 5395 | echo "cat >conf$$subs.awk <<_ACEOF" && |
| 5396 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 5397 | echo "_ACEOF" |
| 5398 | } >conf$$subs.sh || |
| 5399 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 5400 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
| 5401 | ac_delim='%!_!# ' |
| 5402 | for ac_last_try in false false false false false :; do |
| 5403 | . ./conf$$subs.sh || |
| 5404 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 5405 | |
| 5406 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
| 5407 | if test $ac_delim_n = $ac_delim_num; then |
| 5408 | break |
| 5409 | elif $ac_last_try; then |
| 5410 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 5411 | else |
| 5412 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 5413 | fi |
| 5414 | done |
| 5415 | rm -f conf$$subs.sh |
| 5416 | |
| 5417 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 5418 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 5419 | _ACEOF |
| 5420 | sed -n ' |
| 5421 | h |
| 5422 | s/^/S["/; s/!.*/"]=/ |
| 5423 | p |
| 5424 | g |
| 5425 | s/^[^!]*!// |
| 5426 | :repl |
| 5427 | t repl |
| 5428 | s/'"$ac_delim"'$// |
| 5429 | t delim |
| 5430 | :nl |
| 5431 | h |
| 5432 | s/\(.\{148\}\)..*/\1/ |
| 5433 | t more1 |
| 5434 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 5435 | p |
| 5436 | n |
| 5437 | b repl |
| 5438 | :more1 |
| 5439 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 5440 | p |
| 5441 | g |
| 5442 | s/.\{148\}// |
| 5443 | t nl |
| 5444 | :delim |
| 5445 | h |
| 5446 | s/\(.\{148\}\)..*/\1/ |
| 5447 | t more2 |
| 5448 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 5449 | p |
| 5450 | b |
| 5451 | :more2 |
| 5452 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 5453 | p |
| 5454 | g |
| 5455 | s/.\{148\}// |
| 5456 | t delim |
| 5457 | ' <conf$$subs.awk | sed ' |
| 5458 | /^[^""]/{ |
| 5459 | N |
| 5460 | s/\n// |
| 5461 | } |
| 5462 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
| 5463 | rm -f conf$$subs.awk |
| 5464 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 5465 | _ACAWK |
| 5466 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
| 5467 | for (key in S) S_is_set[key] = 1 |
| 5468 | FS = "" |
| 5469 | |
| 5470 | } |
| 5471 | { |
| 5472 | line = $ 0 |
| 5473 | nfields = split(line, field, "@") |
| 5474 | substed = 0 |
| 5475 | len = length(field[1]) |
| 5476 | for (i = 2; i < nfields; i++) { |
| 5477 | key = field[i] |
| 5478 | keylen = length(key) |
| 5479 | if (S_is_set[key]) { |
| 5480 | value = S[key] |
| 5481 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
| 5482 | len += length(value) + length(field[++i]) |
| 5483 | substed = 1 |
| 5484 | } else |
| 5485 | len += 1 + keylen |
| 5486 | } |
| 5487 | |
| 5488 | print line |
| 5489 | } |
| 5490 | |
| 5491 | _ACAWK |
| 5492 | _ACEOF |
| 5493 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 5494 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
| 5495 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 5496 | else |
| 5497 | cat |
| 5498 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
| 5499 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
| 5500 | _ACEOF |
| 5501 | |
| 5502 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
| 5503 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
| 5504 | # trailing colons and then remove the whole line if VPATH becomes empty |
| 5505 | # (actually we leave an empty line to preserve line numbers). |
| 5506 | if test "x$srcdir" = x.; then |
| 5507 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
| 5508 | h |
| 5509 | s/// |
| 5510 | s/^/:/ |
| 5511 | s/[ ]*$/:/ |
| 5512 | s/:\$(srcdir):/:/g |
| 5513 | s/:\${srcdir}:/:/g |
| 5514 | s/:@srcdir@:/:/g |
| 5515 | s/^:*// |
| 5516 | s/:*$// |
| 5517 | x |
| 5518 | s/\(=[ ]*\).*/\1/ |
| 5519 | G |
| 5520 | s/\n// |
| 5521 | s/^[^=]*=[ ]*$// |
| 5522 | }' |
| 5523 | fi |
| 5524 | |
| 5525 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 5526 | fi # test -n "$CONFIG_FILES" |
| 5527 | |
| 5528 | |
| 5529 | eval set X " :F $CONFIG_FILES " |
| 5530 | shift |
| 5531 | for ac_tag |
| 5532 | do |
| 5533 | case $ac_tag in |
| 5534 | :[FHLC]) ac_mode=$ac_tag; continue;; |
| 5535 | esac |
| 5536 | case $ac_mode$ac_tag in |
| 5537 | :[FHL]*:*);; |
| 5538 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 5539 | :[FH]-) ac_tag=-:-;; |
| 5540 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 5541 | esac |
| 5542 | ac_save_IFS=$IFS |
| 5543 | IFS=: |
| 5544 | set x $ac_tag |
| 5545 | IFS=$ac_save_IFS |
| 5546 | shift |
| 5547 | ac_file=$1 |
| 5548 | shift |
| 5549 | |
| 5550 | case $ac_mode in |
| 5551 | :L) ac_source=$1;; |
| 5552 | :[FH]) |
| 5553 | ac_file_inputs= |
| 5554 | for ac_f |
| 5555 | do |
| 5556 | case $ac_f in |
| 5557 | -) ac_f="$ac_tmp/stdin";; |
| 5558 | *) # Look for the file first in the build tree, then in the source tree |
| 5559 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
| 5560 | # because $ac_f cannot contain `:'. |
| 5561 | test -f "$ac_f" || |
| 5562 | case $ac_f in |
| 5563 | [\\/$]*) false;; |
| 5564 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 5565 | esac || |
| 5566 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 5567 | esac |
| 5568 | case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 5569 | as_fn_append ac_file_inputs " '$ac_f'" |
| 5570 | done |
| 5571 | |
| 5572 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
| 5573 | # use $as_me), people would be surprised to read: |
| 5574 | # /* config.h. Generated by config.status. */ |
| 5575 | configure_input='Generated from '` |
| 5576 | printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| 5577 | `' by configure.' |
| 5578 | if test x"$ac_file" != x-; then |
| 5579 | configure_input="$ac_file. $configure_input" |
| 5580 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
| 5581 | printf "%s\n" "$as_me: creating $ac_file" >&6;} |
| 5582 | fi |
| 5583 | # Neutralize special characters interpreted by sed in replacement strings. |
| 5584 | case $configure_input in #( |
| 5585 | *\&* | *\|* | *\\* ) |
| 5586 | ac_sed_conf_input=`printf "%s\n" "$configure_input" | |
| 5587 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
| 5588 | *) ac_sed_conf_input=$configure_input;; |
| 5589 | esac |
| 5590 | |
| 5591 | case $ac_tag in |
| 5592 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
| 5593 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
| 5594 | esac |
| 5595 | ;; |
| 5596 | esac |
| 5597 | |
| 5598 | ac_dir=`$as_dirname -- "$ac_file" || |
| 5599 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 5600 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 5601 | X"$ac_file" : 'X\(//\)$' \| \ |
| 5602 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 5603 | printf "%s\n" X"$ac_file" | |
| 5604 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 5605 | s//\1/ |
| 5606 | q |
| 5607 | } |
| 5608 | /^X\(\/\/\)[^/].*/{ |
| 5609 | s//\1/ |
| 5610 | q |
| 5611 | } |
| 5612 | /^X\(\/\/\)$/{ |
| 5613 | s//\1/ |
| 5614 | q |
| 5615 | } |
| 5616 | /^X\(\/\).*/{ |
| 5617 | s//\1/ |
| 5618 | q |
| 5619 | } |
| 5620 | s/.*/./; q'` |
| 5621 | as_dir="$ac_dir"; as_fn_mkdir_p |
| 5622 | ac_builddir=. |
| 5623 | |
| 5624 | case "$ac_dir" in |
| 5625 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 5626 | *) |
| 5627 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
| 5628 | # A ".." for each directory in $ac_dir_suffix. |
| 5629 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 5630 | case $ac_top_builddir_sub in |
| 5631 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 5632 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 5633 | esac ;; |
| 5634 | esac |
| 5635 | ac_abs_top_builddir=$ac_pwd |
| 5636 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 5637 | # for backward compatibility: |
| 5638 | ac_top_builddir=$ac_top_build_prefix |
| 5639 | |
| 5640 | case $srcdir in |
| 5641 | .) # We are building in place. |
| 5642 | ac_srcdir=. |
| 5643 | ac_top_srcdir=$ac_top_builddir_sub |
| 5644 | ac_abs_top_srcdir=$ac_pwd ;; |
| 5645 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 5646 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 5647 | ac_top_srcdir=$srcdir |
| 5648 | ac_abs_top_srcdir=$srcdir ;; |
| 5649 | *) # Relative name. |
| 5650 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 5651 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 5652 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 5653 | esac |
| 5654 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 5655 | |
| 5656 | |
| 5657 | case $ac_mode in |
| 5658 | :F) |
| 5659 | # |
| 5660 | # CONFIG_FILE |
| 5661 | # |
| 5662 | |
| 5663 | _ACEOF |
| 5664 | |
| 5665 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 5666 | # If the template does not know about datarootdir, expand it. |
| 5667 | # FIXME: This hack should be removed a few years after 2.60. |
| 5668 | ac_datarootdir_hack=; ac_datarootdir_seen= |
| 5669 | ac_sed_dataroot=' |
| 5670 | /datarootdir/ { |
| 5671 | p |
| 5672 | q |
| 5673 | } |
| 5674 | /@datadir@/p |
| 5675 | /@docdir@/p |
| 5676 | /@infodir@/p |
| 5677 | /@localedir@/p |
| 5678 | /@mandir@/p' |
| 5679 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 5680 | *datarootdir*) ac_datarootdir_seen=yes;; |
| 5681 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 5682 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 5683 | printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 5684 | _ACEOF |
| 5685 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 5686 | ac_datarootdir_hack=' |
| 5687 | s&@datadir@&$datadir&g |
| 5688 | s&@docdir@&$docdir&g |
| 5689 | s&@infodir@&$infodir&g |
| 5690 | s&@localedir@&$localedir&g |
| 5691 | s&@mandir@&$mandir&g |
| 5692 | s&\\\${datarootdir}&$datarootdir&g' ;; |
| 5693 | esac |
| 5694 | _ACEOF |
| 5695 | |
| 5696 | # Neutralize VPATH when `$srcdir' = `.'. |
| 5697 | # Shell code in configure.ac might set extrasub. |
| 5698 | # FIXME: do we really want to maintain this feature? |
| 5699 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 5700 | ac_sed_extra="$ac_vpsub |
| 5701 | $extrasub |
| 5702 | _ACEOF |
| 5703 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 5704 | :t |
| 5705 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 5706 | s|@configure_input@|$ac_sed_conf_input|;t t |
| 5707 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 5708 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
| 5709 | s&@srcdir@&$ac_srcdir&;t t |
| 5710 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 5711 | s&@top_srcdir@&$ac_top_srcdir&;t t |
| 5712 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 5713 | s&@builddir@&$ac_builddir&;t t |
| 5714 | s&@abs_builddir@&$ac_abs_builddir&;t t |
| 5715 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 5716 | $ac_datarootdir_hack |
| 5717 | " |
| 5718 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
| 5719 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 5720 | |
| 5721 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 5722 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| 5723 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| 5724 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
| 5725 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 5726 | which seems to be undefined. Please make sure it is defined" >&5 |
| 5727 | printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 5728 | which seems to be undefined. Please make sure it is defined" >&2;} |
| 5729 | |
| 5730 | rm -f "$ac_tmp/stdin" |
| 5731 | case $ac_file in |
| 5732 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
| 5733 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
| 5734 | esac \ |
| 5735 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 5736 | ;; |
| 5737 | |
| 5738 | |
| 5739 | |
| 5740 | esac |
| 5741 | |
| 5742 | done # for ac_tag |
| 5743 | |
| 5744 | |
| 5745 | as_fn_exit 0 |
| 5746 | _ACEOF |
| 5747 | ac_clean_files=$ac_clean_files_save |
| 5748 | |
| 5749 | test $ac_write_fail = 0 || |
| 5750 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 5751 | |
| 5752 | |
| 5753 | # configure is writing to config.log, and then calls config.status. |
| 5754 | # config.status does its own redirection, appending to config.log. |
| 5755 | # Unfortunately, on DOS this fails, as config.log is still kept open |
| 5756 | # by configure, so config.status won't be able to write to it; its |
| 5757 | # output is simply discarded. So we exec the FD to /dev/null, |
| 5758 | # effectively closing config.log, so it can be properly (re)opened and |
| 5759 | # appended to by config.status. When coming back to configure, we |
| 5760 | # need to make the FD available again. |
| 5761 | if test "$no_create" != yes; then |
| 5762 | ac_cs_success=: |
| 5763 | ac_config_status_args= |
| 5764 | test "$silent" = yes && |
| 5765 | ac_config_status_args="$ac_config_status_args --quiet" |
| 5766 | exec 5>/dev/null |
| 5767 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
| 5768 | exec 5>>config.log |
| 5769 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 5770 | # would make configure fail if this is the last instruction. |
| 5771 | $ac_cs_success || as_fn_exit 1 |
| 5772 | fi |
| 5773 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 5774 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 5775 | printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 5776 | fi |
| 5777 | |
| 5778 |