| 1 | #! /bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # Guess values for system-dependent variables and create Makefiles. |
| 3 | # Generated by GNU Autoconf 2.71 for rsyslog 8.2604.0. |
| 4 | # |
| 5 | # Report bugs to <[email protected]>. |
| 6 | # |
| 7 | # |
| 8 | # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, |
| 9 | # Inc. |
| 10 | # |
| 11 | # |
| 12 | # This configure script is free software; the Free Software Foundation |
| 13 | # gives unlimited permission to copy, distribute and modify it. |
| 14 | ## -------------------- ## |
| 15 | ## M4sh Initialization. ## |
| 16 | ## -------------------- ## |
| 17 | |
| 18 | # Be more Bourne compatible |
| 19 | DUALCASE=1; export DUALCASE # for MKS sh |
| 20 | as_nop=: |
| 21 | if testscip-shell system . . test. ${ZSH_VERSION+y} && (emulate sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 |
| 22 | then : |
| 23 | emulate sh |
| 24 | NULLCMD=: |
| 25 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 26 | # is contrary to our usage. Disable this feature. |
| 27 | alias -g '${1+"$@"}'='"$@"' |
| 28 | setopt NO_GLOB_SUBST |
| 29 | else $as_nop |
| 30 | case `(set -o) 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #( |
| 31 | *posix*) : |
| 32 | set -o posix ;; #( |
| 33 | *) : |
| 34 | ;; |
| 35 | esac |
| 36 | fi |
| 37 | |
| 38 | |
| 39 | |
| 40 | # Reset variables that may have inherited troublesome values from |
| 41 | # the environment. |
| 42 | |
| 43 | # IFS needs to be set, to space, tab, and newline, in precisely that order. |
| 44 | # (If _AS_PATH_WALK were called with IFS unset, it would have the |
| 45 | # side effect of setting IFS to empty, thus disabling word splitting.) |
| 46 | # Quoting is to prevent editors from complaining about space-tab. |
| 47 | as_nl=' |
| 48 | ' |
| 49 | export as_nl |
| 50 | IFS=" "" $as_nl" |
| 51 | |
| 52 | PS1='$ ' |
| 53 | PS2='> ' |
| 54 | PS4='+ ' |
| 55 | |
| 56 | # Ensure predictable behavior from utilities with locale-dependent output. |
| 57 | LC_ALL=C |
| 58 | export LC_ALL |
| 59 | LANGUAGE=C |
| 60 | export LANGUAGE |
| 61 | |
| 62 | # We cannot yet rely on "unset" to work, but we need these variables |
| 63 | # to be unset--not just set to an empty or harmless value--now, to |
| 64 | # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
| 65 | # also avoids known problems related to "unset" and subshell syntax |
| 66 | # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
| 67 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
| 68 | do eval test \${$as_var+y} \ |
| 69 | && ( (unset $as_var) || exit 1) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset $as_var || : |
| 70 | done |
| 71 | |
| 72 | # Ensure that fds 0, 1, and 2 are open. |
| 73 | if (exec 3>&0) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :; else exec 0</dev/nullscip-shell filesystem . . `/dev/null`.; fi |
| 74 | if (exec 3>&1) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :; else exec 1>/dev/nullscip-shell filesystem . . `/dev/null`.; fi |
| 75 | if (exec 3>&2) ; then :; else exec 2>/dev/nullscip-shell filesystem . . `/dev/null`.; fi |
| 76 | |
| 77 | # The user is always right. |
| 78 | if ${PATH_SEPARATOR+false} :; then |
| 79 | PATH_SEPARATOR=: |
| 80 | (PATH='/bin;/binscip-shell filesystem . . `/bin;/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && { |
| 81 | (PATH='/bin:/binscip-shell filesystem . . `/bin:/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || |
| 82 | PATH_SEPARATOR=';' |
| 83 | } |
| 84 | fi |
| 85 | |
| 86 | |
| 87 | # Find who we are. Look in the path if we contain no directory separator. |
| 88 | as_myself= |
| 89 | case $0 in #(( |
| 90 | *[\\/]* ) as_myself=$0 ;; |
| 91 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 92 | for as_dir in $PATH |
| 93 | do |
| 94 | IFS=$as_save_IFS |
| 95 | case $as_dir in #((( |
| 96 | '') as_dir=./ ;; |
| 97 | */) ;; |
| 98 | *) as_dir=$as_dir/ ;; |
| 99 | esac |
| 100 | testscip-shell system . . test. -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 101 | done |
| 102 | IFS=$as_save_IFS |
| 103 | |
| 104 | ;; |
| 105 | esac |
| 106 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
| 107 | # in which case we are not to be found in the path. |
| 108 | if testscip-shell system . . test. "x$as_myself" = x; then |
| 109 | as_myself=$0 |
| 110 | fi |
| 111 | if testscip-shell system . . test. ! -f "$as_myself"; then |
| 112 | printfscip-shell system . . printf. "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 113 | exit 1 |
| 114 | fi |
| 115 | |
| 116 | |
| 117 | # Use a proper internal environment variable to ensure we don't fall |
| 118 | # into an infinite loop, continuously re-executing ourselves. |
| 119 | if testscip-shell system . . test. x"${_as_can_reexec}" != xno && testscip-shell system . . test. "x$CONFIG_SHELL" != x; then |
| 120 | _as_can_reexec=no; export _as_can_reexec; |
| 121 | # We cannot yet assume a decent shell, so we have to provide a |
| 122 | # neutralization value for shells without unset; and this also |
| 123 | # works around shells that cannot unset nonexistent variables. |
| 124 | # Preserve -v and -x to the replacement shell. |
| 125 | BASH_ENV=/dev/nullscip-shell filesystem . . `/dev/null`. |
| 126 | ENV=/dev/nullscip-shell filesystem . . `/dev/null`. |
| 127 | (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset BASH_ENV ENV |
| 128 | case $- in # (((( |
| 129 | *v*x* | *x*v* ) as_opts=-vx ;; |
| 130 | *v* ) as_opts=-v ;; |
| 131 | *x* ) as_opts=-x ;; |
| 132 | * ) as_opts= ;; |
| 133 | esac |
| 134 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 135 | # Admittedly, this is quite paranoid, since all the known shells bail |
| 136 | # out after a failed `exec'. |
| 137 | printfscip-shell system . . printf. "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 138 | exit 255 |
| 139 | fi |
| 140 | # We don't want this to propagate to other subprocesses. |
| 141 | { _as_can_reexec=; unset _as_can_reexec;} |
| 142 | if testscip-shell system . . test. "x$CONFIG_SHELL" = x; then |
| 143 | as_bourne_compatible="as_nop=: |
| 144 | if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 145 | then : |
| 146 | emulate sh |
| 147 | NULLCMD=: |
| 148 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
| 149 | # is contrary to our usage. Disable this feature. |
| 150 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
| 151 | setopt NO_GLOB_SUBST |
| 152 | else \$as_nop |
| 153 | case \`(set -o) 2>/dev/null\` in #( |
| 154 | *posix*) : |
| 155 | set -o posix ;; #( |
| 156 | *) : |
| 157 | ;; |
| 158 | esac |
| 159 | fi |
| 160 | " |
| 161 | as_required="as_fn_return () { (exit \$1); } |
| 162 | as_fn_success () { as_fn_return 0; } |
| 163 | as_fn_failure () { as_fn_return 1; } |
| 164 | as_fn_ret_success () { return 0; } |
| 165 | as_fn_ret_failure () { return 1; } |
| 166 | |
| 167 | exitcode=0 |
| 168 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
| 169 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
| 170 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
| 171 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
| 172 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ) |
| 173 | then : |
| 174 | |
| 175 | else \$as_nop |
| 176 | exitcode=1; echo positional parameters were not saved. |
| 177 | fi |
| 178 | test x\$exitcode = x0 || exit 1 |
| 179 | blah=\$(echo \$(echo blah)) |
| 180 | test x\"\$blah\" = xblah || exit 1 |
| 181 | test -x / || exit 1" |
| 182 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| 183 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| 184 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
| 185 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
| 186 | |
| 187 | test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
| 188 | ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 189 | ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
| 190 | ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
| 191 | PATH=/empty FPATH=/empty; export PATH FPATH |
| 192 | test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
| 193 | || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 |
| 194 | test \$(( 1 + 1 )) = 2 || exit 1" |
| 195 | if (eval "$as_required") 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 196 | then : |
| 197 | as_have_required=yes |
| 198 | else $as_nop |
| 199 | as_have_required=no |
| 200 | fi |
| 201 | if testscip-shell system . . test. x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 202 | then : |
| 203 | |
| 204 | else $as_nop |
| 205 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 206 | as_found=false |
| 207 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 208 | do |
| 209 | IFS=$as_save_IFS |
| 210 | case $as_dir in #((( |
| 211 | '') as_dir=./ ;; |
| 212 | */) ;; |
| 213 | *) as_dir=$as_dir/ ;; |
| 214 | esac |
| 215 | as_found=: |
| 216 | case $as_dir in #( |
| 217 | /*) |
| 218 | for as_base in sh bash ksh sh5; do |
| 219 | # Try only shells that exist, to save several forks. |
| 220 | as_shell=$as_dir$as_base |
| 221 | if { testscip-shell system . . test. -f "$as_shell" || testscip-shell system . . test. -f "$as_shell.exe"; } && |
| 222 | as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 223 | then : |
| 224 | CONFIG_SHELL=$as_shell as_have_required=yes |
| 225 | if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 226 | then : |
| 227 | break 2 |
| 228 | fi |
| 229 | fi |
| 230 | done;; |
| 231 | esac |
| 232 | as_found=false |
| 233 | done |
| 234 | IFS=$as_save_IFS |
| 235 | if $as_found |
| 236 | then : |
| 237 | |
| 238 | else $as_nop |
| 239 | if { testscip-shell system . . test. -f "$SHELL" || testscip-shell system . . test. -f "$SHELL.exe"; } && |
| 240 | as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 241 | then : |
| 242 | CONFIG_SHELL=$SHELL as_have_required=yes |
| 243 | fi |
| 244 | fi |
| 245 | |
| 246 | |
| 247 | if testscip-shell system . . test. "x$CONFIG_SHELL" != x |
| 248 | then : |
| 249 | export CONFIG_SHELL |
| 250 | # We cannot yet assume a decent shell, so we have to provide a |
| 251 | # neutralization value for shells without unset; and this also |
| 252 | # works around shells that cannot unset nonexistent variables. |
| 253 | # Preserve -v and -x to the replacement shell. |
| 254 | BASH_ENV=/dev/nullscip-shell filesystem . . `/dev/null`. |
| 255 | ENV=/dev/nullscip-shell filesystem . . `/dev/null`. |
| 256 | (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset BASH_ENV ENV |
| 257 | case $- in # (((( |
| 258 | *v*x* | *x*v* ) as_opts=-vx ;; |
| 259 | *v* ) as_opts=-v ;; |
| 260 | *x* ) as_opts=-x ;; |
| 261 | * ) as_opts= ;; |
| 262 | esac |
| 263 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 264 | # Admittedly, this is quite paranoid, since all the known shells bail |
| 265 | # out after a failed `exec'. |
| 266 | printfscip-shell system . . printf. "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 267 | exit 255 |
| 268 | fi |
| 269 | |
| 270 | if testscip-shell system . . test. x$as_have_required = xno |
| 271 | then : |
| 272 | printfscip-shell system . . printf. "%s\n" "$0: This script requires a shell more modern than all" |
| 273 | printfscip-shell system . . printf. "%s\n" "$0: the shells that I found on your system." |
| 274 | if testscip-shell system . . test. ${ZSH_VERSION+y} ; then |
| 275 | printfscip-shell system . . printf. "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| 276 | printfscip-shell system . . printf. "%s\n" "$0: be upgraded to zsh 4.3.4 or later." |
| 277 | else |
| 278 | printfscip-shell system . . printf. "%s\n" "$0: Please tell [email protected] and |
| 279 | $0: [email protected] about your system, including |
| 280 | $0: any error possibly output before this message. Then |
| 281 | $0: install a modern shell, or manually run the script |
| 282 | $0: under such a shell if you do have one." |
| 283 | fi |
| 284 | exit 1 |
| 285 | fi |
| 286 | fi |
| 287 | fi |
| 288 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 289 | export SHELL |
| 290 | # Unset more variables known to interfere with behavior of common tools. |
| 291 | CLICOLOR_FORCE= GREP_OPTIONS= |
| 292 | unset CLICOLOR_FORCE GREP_OPTIONS |
| 293 | |
| 294 | ## --------------------- ## |
| 295 | ## M4sh Shell Functions. ## |
| 296 | ## --------------------- ## |
| 297 | # as_fn_unset VAR |
| 298 | # --------------- |
| 299 | # Portably unset VAR. |
| 300 | as_fn_unsetscip-shell shell rsyslog 8.2604.0-4 as_fn_unset(). () |
| 301 | { |
| 302 | { eval $1=; unset $1;} |
| 303 | } |
| 304 | as_unset=as_fn_unset |
| 305 | |
| 306 | |
| 307 | # as_fn_set_status STATUS |
| 308 | # ----------------------- |
| 309 | # Set $? to STATUS, without forking. |
| 310 | as_fn_set_statusscip-shell shell rsyslog 8.2604.0-4 as_fn_set_status(). () |
| 311 | { |
| 312 | return $1 |
| 313 | } # as_fn_set_status |
| 314 | |
| 315 | # as_fn_exit STATUS |
| 316 | # ----------------- |
| 317 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 318 | as_fn_exitscip-shell shell rsyslog 8.2604.0-4 as_fn_exit(). () |
| 319 | { |
| 320 | set +e |
| 321 | as_fn_set_statusscip-shell shell rsyslog 8.2604.0-4 as_fn_set_status(). $1 |
| 322 | exit $1 |
| 323 | } # as_fn_exit |
| 324 | # as_fn_nop |
| 325 | # --------- |
| 326 | # Do nothing but, unlike ":", preserve the value of $?. |
| 327 | as_fn_nopscip-shell shell rsyslog 8.2604.0-4 as_fn_nop(). () |
| 328 | { |
| 329 | return $? |
| 330 | } |
| 331 | as_nop=as_fn_nop |
| 332 | |
| 333 | # as_fn_mkdir_p |
| 334 | # ------------- |
| 335 | # Create "$as_dir" as a directory, including parents if necessary. |
| 336 | as_fn_mkdir_pscip-shell shell rsyslog 8.2604.0-4 as_fn_mkdir_p(). () |
| 337 | { |
| 338 | |
| 339 | case $as_dir in #( |
| 340 | -*) as_dir=./$as_dir;; |
| 341 | esac |
| 342 | testscip-shell system . . test. -d "$as_dir" || eval $as_mkdir_p || { |
| 343 | as_dirs= |
| 344 | while :; do |
| 345 | case $as_dir in #( |
| 346 | *\'*) as_qdir=`printfscip-shell system . . printf. "%s\n" "$as_dir" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`;; #'( |
| 347 | *) as_qdir=$as_dir;; |
| 348 | esac |
| 349 | as_dirs="'$as_qdir' $as_dirs" |
| 350 | as_dir=`$as_dirname -- "$as_dir" || |
| 351 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 352 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 353 | X"$as_dir" : 'X\(//\)$' \| \ |
| 354 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. || |
| 355 | printfscip-shell system . . printf. "%s\n" X"$as_dir" | |
| 356 | sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 357 | s//\1/ |
| 358 | q |
| 359 | } |
| 360 | /^X\(\/\/\)[^/].*/{ |
| 361 | s//\1/ |
| 362 | q |
| 363 | } |
| 364 | /^X\(\/\/\)$/{ |
| 365 | s//\1/ |
| 366 | q |
| 367 | } |
| 368 | /^X\(\/\).*/{ |
| 369 | s//\1/ |
| 370 | q |
| 371 | } |
| 372 | s/.*/./; q'` |
| 373 | testscip-shell system . . test. -d "$as_dir" && break |
| 374 | done |
| 375 | testscip-shell system . . test. -z "$as_dirs" || eval "mkdir $as_dirs" |
| 376 | } || testscip-shell system . . test. -d "$as_dir" || as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "cannot create directory $as_dir" |
| 377 | |
| 378 | |
| 379 | } # as_fn_mkdir_p |
| 380 | |
| 381 | # as_fn_executable_p FILE |
| 382 | # ----------------------- |
| 383 | # Test if FILE is an executable regular file. |
| 384 | as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). () |
| 385 | { |
| 386 | testscip-shell system . . test. -f "$1" && testscip-shell system . . test. -x "$1" |
| 387 | } # as_fn_executable_p |
| 388 | # as_fn_append VAR VALUE |
| 389 | # ---------------------- |
| 390 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
| 391 | # advantage of any shell optimizations that allow amortized linear growth over |
| 392 | # repeated appends, instead of the typical quadratic growth present in naive |
| 393 | # implementations. |
| 394 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 395 | then : |
| 396 | eval 'as_fn_append () |
| 397 | { |
| 398 | eval $1+=\$2 |
| 399 | }' |
| 400 | else $as_nop |
| 401 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). () |
| 402 | { |
| 403 | eval $1=\$$1\$2 |
| 404 | } |
| 405 | fi # as_fn_append |
| 406 | |
| 407 | # as_fn_arith ARG... |
| 408 | # ------------------ |
| 409 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
| 410 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 411 | # must be portable across $(()) and expr. |
| 412 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 413 | then : |
| 414 | eval 'as_fn_arith () |
| 415 | { |
| 416 | as_val=$(( $* )) |
| 417 | }' |
| 418 | else $as_nop |
| 419 | as_fn_arithscip-shell shell rsyslog 8.2604.0-4 as_fn_arith(). () |
| 420 | { |
| 421 | as_val=`exprscip-shell system . . expr. "$@" || testscip-shell system . . test. $? -eq 1` |
| 422 | } |
| 423 | fi # as_fn_arith |
| 424 | |
| 425 | # as_fn_nop |
| 426 | # --------- |
| 427 | # Do nothing but, unlike ":", preserve the value of $?. |
| 428 | as_fn_nopscip-shell shell rsyslog 8.2604.0-4 as_fn_nop(). () |
| 429 | { |
| 430 | return $? |
| 431 | } |
| 432 | as_nop=as_fn_nop |
| 433 | |
| 434 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 435 | # ---------------------------------------- |
| 436 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 437 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 438 | # script with STATUS, using 1 if that was 0. |
| 439 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). () |
| 440 | { |
| 441 | as_status=$1; testscip-shell system . . test. $as_status -eq 0 && as_status=1 |
| 442 | if testscip-shell system . . test. "$4"; then |
| 443 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 444 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 445 | fi |
| 446 | printfscip-shell system . . printf. "%s\n" "$as_me: error: $2" >&2 |
| 447 | as_fn_exitscip-shell shell rsyslog 8.2604.0-4 as_fn_exit(). $as_status |
| 448 | } # as_fn_error |
| 449 | |
| 450 | if exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 451 | testscip-shell system . . test. "X`exprscip-shell system . . expr. 00001 : '.*\(...\)'`" = X001; then |
| 452 | as_expr=expr |
| 453 | else |
| 454 | as_expr=false |
| 455 | fi |
| 456 | |
| 457 | if (basenamescip-shell system . . basename. -- /scip-shell filesystem . . `/`.) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && testscip-shell system . . test. "X`basenamescip-shell system . . basename. -- /scip-shell filesystem . . `/`. 2>&1`" = "X/"; then |
| 458 | as_basename=basename |
| 459 | else |
| 460 | as_basename=false |
| 461 | fi |
| 462 | |
| 463 | if (as_dir=`dirnamescip-shell system . . dirname. -- /scip-shell filesystem . . `/`.` && testscip-shell system . . test. "X$as_dir" = X/) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 464 | as_dirname=dirname |
| 465 | else |
| 466 | as_dirname=false |
| 467 | fi |
| 468 | |
| 469 | as_me=`$as_basename -- "$0" || |
| 470 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 471 | X"$0" : 'X\(//\)$' \| \ |
| 472 | X"$0" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. || |
| 473 | printfscip-shell system . . printf. "%s\n" X/"$0" | |
| 474 | sedscip-shell system . . sed. '/^.*\/\([^/][^/]*\)\/*$/{ |
| 475 | s//\1/ |
| 476 | q |
| 477 | } |
| 478 | /^X\/\(\/\/\)$/{ |
| 479 | s//\1/ |
| 480 | q |
| 481 | } |
| 482 | /^X\/\(\/\).*/{ |
| 483 | s//\1/ |
| 484 | q |
| 485 | } |
| 486 | s/.*/./; q'` |
| 487 | |
| 488 | # Avoid depending upon Character Ranges. |
| 489 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 490 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 491 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 492 | as_cr_digits='0123456789' |
| 493 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 494 | |
| 495 | |
| 496 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
| 497 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
| 498 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
| 499 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
| 500 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
| 501 | sedscip-shell system . . sed. -n ' |
| 502 | p |
| 503 | /[$]LINENO/= |
| 504 | ' <$as_myself | |
| 505 | sedscip-shell system . . sed. ' |
| 506 | s/[$]LINENO.*/&-/ |
| 507 | t lineno |
| 508 | b |
| 509 | :lineno |
| 510 | N |
| 511 | :loop |
| 512 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 513 | t loop |
| 514 | s/-\n.*// |
| 515 | ' >$as_me.lineno && |
| 516 | chmodscip-shell system . . chmod. +x "$as_me.lineno" || |
| 517 | { printfscip-shell system . . printf. "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exitscip-shell shell rsyslog 8.2604.0-4 as_fn_exit(). 1; } |
| 518 | |
| 519 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
| 520 | # already done that, so ensure we don't try to do so again and fall |
| 521 | # in an infinite loop. This has already happened in practice. |
| 522 | _as_can_reexec=no; export _as_can_reexec |
| 523 | # Don't try to exec as it changes $[0], causing all sort of problems |
| 524 | # (the dirname of $[0] is not the place where we might find the |
| 525 | # original and so on. Autoconf is especially sensitive to this). |
| 526 | . "./$as_me.lineno" |
| 527 | # Exit status is that of the last command. |
| 528 | exit |
| 529 | } |
| 530 | |
| 531 | |
| 532 | # Determine whether it's possible to make 'echo' print without a newline. |
| 533 | # These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
| 534 | # for compatibility with existing Makefiles. |
| 535 | ECHO_C= ECHO_N= ECHO_T= |
| 536 | case `echoscip-shell system . . echo. -n x` in #((((( |
| 537 | -n*) |
| 538 | case `echoscip-shell system . . echo. 'xy\c'` in |
| 539 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 540 | xy) ECHO_C='\c';; |
| 541 | *) echoscip-shell system . . echo. `echoscip-shell system . . echo. ksh88 bug on AIX 6.1` > /dev/nullscip-shell filesystem . . `/dev/null`. |
| 542 | ECHO_T=' ';; |
| 543 | esac;; |
| 544 | *) |
| 545 | ECHO_N='-n';; |
| 546 | esac |
| 547 | |
| 548 | # For backward compatibility with old third-party macros, we provide |
| 549 | # the shell variables $as_echo and $as_echo_n. New code should use |
| 550 | # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
| 551 | as_echo='printf %s\n' |
| 552 | as_echo_n='printf %s' |
| 553 | |
| 554 | |
| 555 | rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.file |
| 556 | if testscip-shell system . . test. -d conf$$.dir; then |
| 557 | rmscip-shell system . . rm. -f conf$$.dir/conf$$.file |
| 558 | else |
| 559 | rmscip-shell system . . rm. -f conf$$.dir |
| 560 | mkdirscip-shell system . . mkdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 561 | fi |
| 562 | if (echoscip-shell system . . echo. >conf$$.file) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 563 | if lnscip-shell system . . ln. -s conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 564 | as_ln_s='ln -s' |
| 565 | # ... but there are two gotchas: |
| 566 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 567 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 568 | # In both cases, we have to default to `cp -pR'. |
| 569 | lnscip-shell system . . ln. -s conf$$.file conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. && testscip-shell system . . test. ! -f conf$$.exe || |
| 570 | as_ln_s='cp -pR' |
| 571 | elif lnscip-shell system . . ln. conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 572 | as_ln_s=ln |
| 573 | else |
| 574 | as_ln_s='cp -pR' |
| 575 | fi |
| 576 | else |
| 577 | as_ln_s='cp -pR' |
| 578 | fi |
| 579 | rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 580 | rmdirscip-shell system . . rmdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 581 | |
| 582 | if mkdirscip-shell system . . mkdir. -p . 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 583 | as_mkdir_p='mkdir -p "$as_dir"' |
| 584 | else |
| 585 | testscip-shell system . . test. -d ./-p && rmdirscip-shell system . . rmdir. ./-p |
| 586 | as_mkdir_p=false |
| 587 | fi |
| 588 | |
| 589 | as_test_x='test -x' |
| 590 | as_executable_p=as_fn_executable_p |
| 591 | |
| 592 | # Sed expression to map a string onto a valid CPP name. |
| 593 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 594 | |
| 595 | # Sed expression to map a string onto a valid variable name. |
| 596 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 597 | |
| 598 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 599 | |
| 600 | |
| 601 | testscip-shell system . . test. -n "$DJDIR" || exec 7<&0 </dev/nullscip-shell filesystem . . `/dev/null`. |
| 602 | exec 6>&1 |
| 603 | |
| 604 | # Name of the host. |
| 605 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
| 606 | # so uname gets run too. |
| 607 | ac_hostname=`(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q` |
| 608 | |
| 609 | # |
| 610 | # Initializations. |
| 611 | # |
| 612 | ac_default_prefix=/usr/localscip-shell filesystem . . `/usr/local`. |
| 613 | ac_clean_files= |
| 614 | ac_config_libobj_dir=. |
| 615 | LIBOBJS= |
| 616 | cross_compiling=no |
| 617 | subdirs= |
| 618 | MFLAGS= |
| 619 | MAKEFLAGS= |
| 620 | |
| 621 | # Identity of this package. |
| 622 | PACKAGE_NAME='rsyslog' |
| 623 | PACKAGE_TARNAME='rsyslog' |
| 624 | PACKAGE_VERSION='8.2604.0' |
| 625 | PACKAGE_STRING='rsyslog 8.2604.0' |
| 626 | PACKAGE_BUGREPORT='[email protected]' |
| 627 | PACKAGE_URL='' |
| 628 | |
| 629 | ac_unique_file="ChangeLog" |
| 630 | # Factoring default headers for most tests. |
| 631 | ac_includes_default="\ |
| 632 | #include <stddef.h> |
| 633 | #ifdef HAVE_STDIO_H |
| 634 | # include <stdio.h> |
| 635 | #endif |
| 636 | #ifdef HAVE_STDLIB_H |
| 637 | # include <stdlib.h> |
| 638 | #endif |
| 639 | #ifdef HAVE_STRING_H |
| 640 | # include <string.h> |
| 641 | #endif |
| 642 | #ifdef HAVE_INTTYPES_H |
| 643 | # include <inttypes.h> |
| 644 | #endif |
| 645 | #ifdef HAVE_STDINT_H |
| 646 | # include <stdint.h> |
| 647 | #endif |
| 648 | #ifdef HAVE_STRINGS_H |
| 649 | # include <strings.h> |
| 650 | #endif |
| 651 | #ifdef HAVE_SYS_TYPES_H |
| 652 | # include <sys/types.h> |
| 653 | #endif |
| 654 | #ifdef HAVE_SYS_STAT_H |
| 655 | # include <sys/stat.h> |
| 656 | #endif |
| 657 | #ifdef HAVE_UNISTD_H |
| 658 | # include <unistd.h> |
| 659 | #endif" |
| 660 | |
| 661 | ac_header_c_list= |
| 662 | ac_func_c_list= |
| 663 | ac_subst_vars='am__EXEEXT_FALSE |
| 664 | am__EXEEXT_TRUE |
| 665 | LTLIBOBJS |
| 666 | DOC_FILES |
| 667 | RST2MAN |
| 668 | ENABLE_GENERATE_MAN_PAGES_FALSE |
| 669 | ENABLE_GENERATE_MAN_PAGES_TRUE |
| 670 | YACC_FOUND |
| 671 | ENABLE_DISTCHECK_WORKAROUND_FALSE |
| 672 | ENABLE_DISTCHECK_WORKAROUND_TRUE |
| 673 | ENABLE_MMTAGHOSTNAME_FALSE |
| 674 | ENABLE_MMTAGHOSTNAME_TRUE |
| 675 | ENABLE_MMKUBERNETES_FALSE |
| 676 | ENABLE_MMKUBERNETES_TRUE |
| 677 | ENABLE_OMTCL_FALSE |
| 678 | ENABLE_OMTCL_TRUE |
| 679 | TCL_INCLUDE_SPEC |
| 680 | TCL_STUB_LIB_SPEC |
| 681 | TCL_STUB_LIB_FLAG |
| 682 | TCL_STUB_LIB_FILE |
| 683 | TCL_LIB_SPEC |
| 684 | TCL_LIB_FLAG |
| 685 | TCL_LIB_FILE |
| 686 | TCL_SRC_DIR |
| 687 | TCL_BIN_DIR |
| 688 | TCL_PATCH_LEVEL |
| 689 | TCL_VERSION |
| 690 | ENABLE_OMAMQP1_FALSE |
| 691 | ENABLE_OMAMQP1_TRUE |
| 692 | ENABLE_OMHTTPFS_FALSE |
| 693 | ENABLE_OMHTTPFS_TRUE |
| 694 | ENABLE_IMHIREDIS_FALSE |
| 695 | ENABLE_IMHIREDIS_TRUE |
| 696 | ENABLE_OMHIREDIS_FALSE |
| 697 | ENABLE_OMHIREDIS_TRUE |
| 698 | REDIS |
| 699 | LIBEVENT_LIBS |
| 700 | LIBEVENT_CFLAGS |
| 701 | HIREDIS_SSL_LIBS |
| 702 | HIREDIS_SSL_CFLAGS |
| 703 | HIREDIS_LIBS |
| 704 | HIREDIS_CFLAGS |
| 705 | ENABLE_REDIS_TESTS_FALSE |
| 706 | ENABLE_REDIS_TESTS_TRUE |
| 707 | ENABLE_OMRABBITMQ_FALSE |
| 708 | ENABLE_OMRABBITMQ_TRUE |
| 709 | RABBITMQ_LIBS |
| 710 | RABBITMQ_CFLAGS |
| 711 | ENABLE_OMCZMQ_FALSE |
| 712 | ENABLE_OMCZMQ_TRUE |
| 713 | ENABLE_IMCZMQ_FALSE |
| 714 | ENABLE_IMCZMQ_TRUE |
| 715 | CZMQ_LIBS |
| 716 | CZMQ_CFLAGS |
| 717 | ENABLE_OMDTLS_FALSE |
| 718 | ENABLE_OMDTLS_TRUE |
| 719 | ENABLE_IMDTLS_FALSE |
| 720 | ENABLE_IMDTLS_TRUE |
| 721 | ENABLE_OMMONGODB_FALSE |
| 722 | ENABLE_OMMONGODB_TRUE |
| 723 | LIBMONGOC_LIBS |
| 724 | LIBMONGOC_CFLAGS |
| 725 | ENABLE_QPIDPROTON_STATIC_FALSE |
| 726 | ENABLE_QPIDPROTON_STATIC_TRUE |
| 727 | ENABLE_OMAZUREEVENTHUBS_FALSE |
| 728 | ENABLE_OMAZUREEVENTHUBS_TRUE |
| 729 | PROTON_PROACTOR_LIBS |
| 730 | PROTON_PROACTOR_CFLAGS |
| 731 | PROTON_LIBS |
| 732 | PROTON_CFLAGS |
| 733 | ENABLE_OMAZUREDCE_FALSE |
| 734 | ENABLE_OMAZUREDCE_TRUE |
| 735 | ENABLE_IMKAFKA_FALSE |
| 736 | ENABLE_IMKAFKA_TRUE |
| 737 | ENABLE_OMKAFKA_FALSE |
| 738 | ENABLE_OMKAFKA_TRUE |
| 739 | READLINK |
| 740 | WGET |
| 741 | JAVA |
| 742 | JAVAC |
| 743 | IMKAFKA_USE_DUMMY_FALSE |
| 744 | IMKAFKA_USE_DUMMY_TRUE |
| 745 | LIBLZ4_LIBS |
| 746 | LIBLZ4_CFLAGS |
| 747 | OMKAFKA_USE_DUMMY_FALSE |
| 748 | OMKAFKA_USE_DUMMY_TRUE |
| 749 | LIBRDKAFKA_LIBS |
| 750 | LIBRDKAFKA_CFLAGS |
| 751 | ENABLE_KAFKA_STATIC_FALSE |
| 752 | ENABLE_KAFKA_STATIC_TRUE |
| 753 | ENABLE_KAFKA_TESTS_FALSE |
| 754 | ENABLE_KAFKA_TESTS_TRUE |
| 755 | ENABLE_OMAZUREDCE_TESTS_FALSE |
| 756 | ENABLE_OMAZUREDCE_TESTS_TRUE |
| 757 | ENABLE_OMAZUREEVENTHUBS_TESTS_FALSE |
| 758 | ENABLE_OMAZUREEVENTHUBS_TESTS_TRUE |
| 759 | ENABLE_OMOTEL_FALSE |
| 760 | ENABLE_OMOTEL_TRUE |
| 761 | OMOTEL_PROTOBUF_LIBS |
| 762 | OMOTEL_PROTOBUF_CFLAGS |
| 763 | OMOTEL_HTTP_LIBS |
| 764 | OMOTEL_HTTP_CFLAGS |
| 765 | ENABLE_OMHDFS_FALSE |
| 766 | ENABLE_OMHDFS_TRUE |
| 767 | ENABLE_MMSNMPTRAPD_FALSE |
| 768 | ENABLE_MMSNMPTRAPD_TRUE |
| 769 | ENABLE_OMUXSOCK_FALSE |
| 770 | ENABLE_OMUXSOCK_TRUE |
| 771 | ENABLE_OMRULESET_FALSE |
| 772 | ENABLE_OMRULESET_TRUE |
| 773 | ENABLE_PMPANNGFW_FALSE |
| 774 | ENABLE_PMPANNGFW_TRUE |
| 775 | ENABLE_PMSNARE_FALSE |
| 776 | ENABLE_PMSNARE_TRUE |
| 777 | ENABLE_PMAIXFORWARDEDFROM_FALSE |
| 778 | ENABLE_PMAIXFORWARDEDFROM_TRUE |
| 779 | ENABLE_PMNORMALIZE_FALSE |
| 780 | ENABLE_PMNORMALIZE_TRUE |
| 781 | ENABLE_PMNULL_FALSE |
| 782 | ENABLE_PMNULL_TRUE |
| 783 | ENABLE_PMCISCOIOS_FALSE |
| 784 | ENABLE_PMCISCOIOS_TRUE |
| 785 | ENABLE_PMCISCONAMES_FALSE |
| 786 | ENABLE_PMCISCONAMES_TRUE |
| 787 | ENABLE_PMLASTMSG_FALSE |
| 788 | ENABLE_PMLASTMSG_TRUE |
| 789 | ENABLE_JOURNAL_TESTS_FALSE |
| 790 | ENABLE_JOURNAL_TESTS_TRUE |
| 791 | ENABLE_OMJOURNAL_FALSE |
| 792 | ENABLE_OMJOURNAL_TRUE |
| 793 | ENABLE_TESTBENCH_FALSE |
| 794 | ENABLE_TESTBENCH_TRUE |
| 795 | ENABLE_IMPSTATS_PUSH_FALSE |
| 796 | ENABLE_IMPSTATS_PUSH_TRUE |
| 797 | ENABLE_IMPSTATS_FALSE |
| 798 | ENABLE_IMPSTATS_TRUE |
| 799 | ENABLE_OMSTDOUT_FALSE |
| 800 | ENABLE_OMSTDOUT_TRUE |
| 801 | ENABLE_IMDIAG_FALSE |
| 802 | ENABLE_IMDIAG_TRUE |
| 803 | IMPSTATS_PUSH_LIBS |
| 804 | IMPSTATS_PUSH_CFLAGS |
| 805 | IMPSTATS_PUSH_SNAPPY_LIBS |
| 806 | IMPSTATS_PUSH_SNAPPY_CFLAGS |
| 807 | IMPSTATS_PUSH_PROTOBUF_LIBS |
| 808 | IMPSTATS_PUSH_PROTOBUF_CFLAGS |
| 809 | IMPSTATS_PUSH_CURL_LIBS |
| 810 | IMPSTATS_PUSH_CURL_CFLAGS |
| 811 | PROTOC_C |
| 812 | ENABLE_OMSENDERTRACK_FALSE |
| 813 | ENABLE_OMSENDERTRACK_TRUE |
| 814 | UDPSPOOF_LIBS |
| 815 | UDPSPOOF_CFLAGS |
| 816 | ENABLE_OMUDPSPOOF_FALSE |
| 817 | ENABLE_OMUDPSPOOF_TRUE |
| 818 | ENABLE_OMPROG_FALSE |
| 819 | ENABLE_OMPROG_TRUE |
| 820 | ENABLE_IMPCAP_FALSE |
| 821 | ENABLE_IMPCAP_TRUE |
| 822 | ENABLE_IMPTCP_FALSE |
| 823 | ENABLE_IMPTCP_TRUE |
| 824 | ENABLE_IMPTCP_EPOLL_FALSE |
| 825 | ENABLE_IMPTCP_EPOLL_TRUE |
| 826 | ENABLE_IMTCP_EPOLL_FALSE |
| 827 | ENABLE_IMTCP_EPOLL_TRUE |
| 828 | ENABLE_IMSOLARIS_FALSE |
| 829 | ENABLE_IMSOLARIS_TRUE |
| 830 | ENABLE_IMHTTP_FALSE |
| 831 | ENABLE_IMHTTP_TRUE |
| 832 | CIVETWEB_LIBS |
| 833 | APU_LIBS |
| 834 | APU_CFLAGS |
| 835 | ENABLE_IMPROG_FALSE |
| 836 | ENABLE_IMPROG_TRUE |
| 837 | ENABLE_IMTUXEDOULOG_FALSE |
| 838 | ENABLE_IMTUXEDOULOG_TRUE |
| 839 | ENABLE_IMDOCKER_TESTS_FALSE |
| 840 | ENABLE_IMDOCKER_TESTS_TRUE |
| 841 | ENABLE_IMDOCKER_FALSE |
| 842 | ENABLE_IMDOCKER_TRUE |
| 843 | ENABLE_IMFILE_TESTS_FALSE |
| 844 | ENABLE_IMFILE_TESTS_TRUE |
| 845 | ENABLE_IMFILE_FALSE |
| 846 | ENABLE_IMFILE_TRUE |
| 847 | ENABLE_PMDB2DIAG_FALSE |
| 848 | ENABLE_PMDB2DIAG_TRUE |
| 849 | ENABLE_IMBATCHREPORT_FALSE |
| 850 | ENABLE_IMBATCHREPORT_TRUE |
| 851 | ENABLE_HELGRIND_FALSE |
| 852 | ENABLE_HELGRIND_TRUE |
| 853 | HAVE_VALGRIND_FALSE |
| 854 | HAVE_VALGRIND_TRUE |
| 855 | VALGRIND |
| 856 | ENABLE_IMTCP_TESTS_FALSE |
| 857 | ENABLE_IMTCP_TESTS_TRUE |
| 858 | ENABLE_IP_FALSE |
| 859 | ENABLE_IP_TRUE |
| 860 | IP |
| 861 | ENABLE_DEFAULT_TESTS_FALSE |
| 862 | ENABLE_DEFAULT_TESTS_TRUE |
| 863 | ENABLE_LIBFAKETIME_FALSE |
| 864 | ENABLE_LIBFAKETIME_TRUE |
| 865 | ENABLE_RFC3195_FALSE |
| 866 | ENABLE_RFC3195_TRUE |
| 867 | LIBLOGGING_LIBS |
| 868 | LIBLOGGING_CFLAGS |
| 869 | ENABLE_LIBLOGGING_STDLOG_FALSE |
| 870 | ENABLE_LIBLOGGING_STDLOG_TRUE |
| 871 | LIBLOGGING_STDLOG_LIBS |
| 872 | LIBLOGGING_STDLOG_CFLAGS |
| 873 | ENABLE_KSI_LS12_FALSE |
| 874 | ENABLE_KSI_LS12_TRUE |
| 875 | GT_KSI_LS12_LIBS |
| 876 | GT_KSI_LS12_CFLAGS |
| 877 | USE_RELPENGINESETTLSCFGCMD_FALSE |
| 878 | USE_RELPENGINESETTLSCFGCMD_TRUE |
| 879 | ENABLE_RELP_FALSE |
| 880 | ENABLE_RELP_TRUE |
| 881 | RELP_LIBS |
| 882 | RELP_CFLAGS |
| 883 | ENABLE_OMFILE_HARDENED_FALSE |
| 884 | ENABLE_OMFILE_HARDENED_TRUE |
| 885 | ENABLE_MMSNAREPARSE_FALSE |
| 886 | ENABLE_MMSNAREPARSE_TRUE |
| 887 | ENABLE_MMRFC5424ADDHMAC_FALSE |
| 888 | ENABLE_MMRFC5424ADDHMAC_TRUE |
| 889 | ENABLE_MMAITAG_FALSE |
| 890 | ENABLE_MMAITAG_TRUE |
| 891 | ENABLE_MMPSTRUCDATA_FALSE |
| 892 | ENABLE_MMPSTRUCDATA_TRUE |
| 893 | ENABLE_MMFIELDS_FALSE |
| 894 | ENABLE_MMFIELDS_TRUE |
| 895 | ENABLE_MMDARWIN_FALSE |
| 896 | ENABLE_MMDARWIN_TRUE |
| 897 | MMDBLOOKUP_USE_DUMMY_FALSE |
| 898 | MMDBLOOKUP_USE_DUMMY_TRUE |
| 899 | ENABLE_MMDBLOOKUP_FALSE |
| 900 | ENABLE_MMDBLOOKUP_TRUE |
| 901 | ENABLE_MMSEQUENCE_FALSE |
| 902 | ENABLE_MMSEQUENCE_TRUE |
| 903 | ENABLE_MMCOUNT_FALSE |
| 904 | ENABLE_MMCOUNT_TRUE |
| 905 | ENABLE_MMUTF8FIX_FALSE |
| 906 | ENABLE_MMUTF8FIX_TRUE |
| 907 | ENABLE_MMRM1STSPACE_FALSE |
| 908 | ENABLE_MMRM1STSPACE_TRUE |
| 909 | ENABLE_MMANON_FALSE |
| 910 | ENABLE_MMANON_TRUE |
| 911 | ENABLE_MMAUDIT_FALSE |
| 912 | ENABLE_MMAUDIT_TRUE |
| 913 | GLIB_LIBS |
| 914 | GLIB_CFLAGS |
| 915 | ENABLE_MMGROK_FALSE |
| 916 | ENABLE_MMGROK_TRUE |
| 917 | ENABLE_MMJSONTRANSFORM_FALSE |
| 918 | ENABLE_MMJSONTRANSFORM_TRUE |
| 919 | ENABLE_MMJSONPARSE_FALSE |
| 920 | ENABLE_MMJSONPARSE_TRUE |
| 921 | ENABLE_MMLEEFPARSE_FALSE |
| 922 | ENABLE_MMLEEFPARSE_TRUE |
| 923 | ENABLE_MMNORMALIZE_FALSE |
| 924 | ENABLE_MMNORMALIZE_TRUE |
| 925 | LOGNORM_REGEX_SUPPORTED_FALSE |
| 926 | LOGNORM_REGEX_SUPPORTED_TRUE |
| 927 | LIBLOGNORM_LIBS |
| 928 | LIBLOGNORM_CFLAGS |
| 929 | ENABLE_FMHTTP_FALSE |
| 930 | ENABLE_FMHTTP_TRUE |
| 931 | ENABLE_MAIL_FALSE |
| 932 | ENABLE_MAIL_TRUE |
| 933 | ENABLE_PGSQL_TESTS_FALSE |
| 934 | ENABLE_PGSQL_TESTS_TRUE |
| 935 | ENABLE_MYSQL_TESTS_FALSE |
| 936 | ENABLE_MYSQL_TESTS_TRUE |
| 937 | ENABLE_EXTENDED_TESTS_FALSE |
| 938 | ENABLE_EXTENDED_TESTS_TRUE |
| 939 | ENABLE_RSYSLOGD_FALSE |
| 940 | ENABLE_RSYSLOGD_TRUE |
| 941 | RSRT_LIBS |
| 942 | RSRT_CFLAGS |
| 943 | RSRT_LIBS1 |
| 944 | RSRT_CFLAGS1 |
| 945 | ENABLE_RSYSLOGRT_FALSE |
| 946 | ENABLE_RSYSLOGRT_TRUE |
| 947 | ENABLE_LIBZSTD_FALSE |
| 948 | ENABLE_LIBZSTD_TRUE |
| 949 | ZSTD_LIBS |
| 950 | ZSTD_CFLAGS |
| 951 | LIBGCRYPT_LIBS |
| 952 | LIBGCRYPT_CFLAGS |
| 953 | ENABLE_OPENSSL_CRYPTO_PROVIDER_FALSE |
| 954 | ENABLE_OPENSSL_CRYPTO_PROVIDER_TRUE |
| 955 | ENABLE_RSCRYUTIL_FALSE |
| 956 | ENABLE_RSCRYUTIL_TRUE |
| 957 | ENABLE_LIBGCRYPT_FALSE |
| 958 | ENABLE_LIBGCRYPT_TRUE |
| 959 | LIBGCRYPT_CONFIG |
| 960 | HAVE_PKG_CONFIG |
| 961 | ENABLE_MBEDTLS_FALSE |
| 962 | ENABLE_MBEDTLS_TRUE |
| 963 | MBEDTLS_LIBS |
| 964 | MBEDTLS_CFLAGS |
| 965 | ENABLE_GNUTLS_TESTS_FALSE |
| 966 | ENABLE_GNUTLS_TESTS_TRUE |
| 967 | ENABLE_GNUTLS_FALSE |
| 968 | ENABLE_GNUTLS_TRUE |
| 969 | GNUTLS_LIBS |
| 970 | GNUTLS_CFLAGS |
| 971 | ENABLE_OSSL_FALSE |
| 972 | ENABLE_OSSL_TRUE |
| 973 | ENABLE_OPENSSL_FALSE |
| 974 | ENABLE_OPENSSL_TRUE |
| 975 | OPENSSL_LIBS |
| 976 | OPENSSL_CFLAGS |
| 977 | ENABLE_WOLFSSL_FALSE |
| 978 | ENABLE_WOLFSSL_TRUE |
| 979 | WOLFSSL_LIBS |
| 980 | WOLFSSL_CFLAGS |
| 981 | ENABLE_CLICKHOUSE_TESTS_FALSE |
| 982 | ENABLE_CLICKHOUSE_TESTS_TRUE |
| 983 | ENABLE_ELASTICSEARCH_TESTS_MINIMAL_FALSE |
| 984 | ENABLE_ELASTICSEARCH_TESTS_MINIMAL_TRUE |
| 985 | ENABLE_ELASTICSEARCH_TESTS_FALSE |
| 986 | ENABLE_ELASTICSEARCH_TESTS_TRUE |
| 987 | ENABLE_OMHTTP_FALSE |
| 988 | ENABLE_OMHTTP_TRUE |
| 989 | ENABLE_CLICKHOUSE_FALSE |
| 990 | ENABLE_CLICKHOUSE_TRUE |
| 991 | ENABLE_ELASTICSEARCH_FALSE |
| 992 | ENABLE_ELASTICSEARCH_TRUE |
| 993 | LIBM |
| 994 | CURL_LIBS |
| 995 | CURL_CFLAGS |
| 996 | ENABLE_UUID_FALSE |
| 997 | ENABLE_UUID_TRUE |
| 998 | LIBUUID_LIBS |
| 999 | LIBUUID_CFLAGS |
| 1000 | ENABLE_SNMP_TESTS_FALSE |
| 1001 | ENABLE_SNMP_TESTS_TRUE |
| 1002 | SNMP_LIBS |
| 1003 | SNMP_CFLAGS |
| 1004 | ENABLE_SNMP_FALSE |
| 1005 | ENABLE_SNMP_TRUE |
| 1006 | LIBDBI_LIBS |
| 1007 | LIBDBI_CFLAGS |
| 1008 | ENABLE_OMLIBDBI_FALSE |
| 1009 | ENABLE_OMLIBDBI_TRUE |
| 1010 | LIBDBI_USE_DUMMY_FALSE |
| 1011 | LIBDBI_USE_DUMMY_TRUE |
| 1012 | ENABLE_PGSQL_FALSE |
| 1013 | ENABLE_PGSQL_TRUE |
| 1014 | PG_CONFIG |
| 1015 | PGSQL_LIBS |
| 1016 | PGSQL_CFLAGS |
| 1017 | ENABLE_MYSQL_FALSE |
| 1018 | ENABLE_MYSQL_TRUE |
| 1019 | MYSQL_CONFIG |
| 1020 | MYSQL_LIBS |
| 1021 | MYSQL_CFLAGS |
| 1022 | ENABLE_USERTOOLS_FALSE |
| 1023 | ENABLE_USERTOOLS_TRUE |
| 1024 | ENABLE_DIAGTOOLS_FALSE |
| 1025 | ENABLE_DIAGTOOLS_TRUE |
| 1026 | ENABLE_COVERAGE_FALSE |
| 1027 | ENABLE_COVERAGE_TRUE |
| 1028 | GENHTML |
| 1029 | LCOV |
| 1030 | GCOV |
| 1031 | ENABLE_JEMALLOC_FALSE |
| 1032 | ENABLE_JEMALLOC_TRUE |
| 1033 | ENABLE_INET_FALSE |
| 1034 | ENABLE_INET_TRUE |
| 1035 | LIBSYSTEMD_LIBS |
| 1036 | LIBSYSTEMD_CFLAGS |
| 1037 | ENABLE_IMJOURNAL_FALSE |
| 1038 | ENABLE_IMJOURNAL_TRUE |
| 1039 | IMJOURNAL_USE_DUMMY_FALSE |
| 1040 | IMJOURNAL_USE_DUMMY_TRUE |
| 1041 | LIBSYSTEMD_JOURNAL_LIBS |
| 1042 | LIBSYSTEMD_JOURNAL_CFLAGS |
| 1043 | ENABLE_IMKMSG_FALSE |
| 1044 | ENABLE_IMKMSG_TRUE |
| 1045 | ENABLE_IMKLOG_SOLARIS_FALSE |
| 1046 | ENABLE_IMKLOG_SOLARIS_TRUE |
| 1047 | ENABLE_IMKLOG_LINUX_FALSE |
| 1048 | ENABLE_IMKLOG_LINUX_TRUE |
| 1049 | ENABLE_IMKLOG_BSD_FALSE |
| 1050 | ENABLE_IMKLOG_BSD_TRUE |
| 1051 | ENABLE_IMKLOG_FALSE |
| 1052 | ENABLE_IMKLOG_TRUE |
| 1053 | IMUDP_LIBS |
| 1054 | PTHREADS_CFLAGS |
| 1055 | PTHREADS_LIBS |
| 1056 | ENABLE_FLAKY_TESTS_FALSE |
| 1057 | ENABLE_FLAKY_TESTS_TRUE |
| 1058 | ENABLE_ROOT_TESTS_FALSE |
| 1059 | ENABLE_ROOT_TESTS_TRUE |
| 1060 | ENABLE_GSSAPI_FALSE |
| 1061 | ENABLE_GSSAPI_TRUE |
| 1062 | GSS_LIBS |
| 1063 | GSS_CFLAGS |
| 1064 | ENABLE_FMPCRE_FALSE |
| 1065 | ENABLE_FMPCRE_TRUE |
| 1066 | PCRE_CFLAGS |
| 1067 | PCRE_LIBS |
| 1068 | ENABLE_FMUNFLATTEN_FALSE |
| 1069 | ENABLE_FMUNFLATTEN_TRUE |
| 1070 | FAUP_LIBS |
| 1071 | ENABLE_FFAUP_FALSE |
| 1072 | ENABLE_FFAUP_TRUE |
| 1073 | HASH_XXHASH_LIBS |
| 1074 | ENABLE_FMHASH_XXHASH_FALSE |
| 1075 | ENABLE_FMHASH_XXHASH_TRUE |
| 1076 | ENABLE_FMHASH_FALSE |
| 1077 | ENABLE_FMHASH_TRUE |
| 1078 | LIBCAPNG_LIBS |
| 1079 | LIBCAPNG_CFLAGS |
| 1080 | LIBCAPNG_PRESENT_LIBS |
| 1081 | LIBCAPNG_PRESENT_CFLAGS |
| 1082 | ZLIB_LIBS |
| 1083 | ZLIB_CFLAGS |
| 1084 | ENABLE_REGEXP_FALSE |
| 1085 | ENABLE_REGEXP_TRUE |
| 1086 | moddirs |
| 1087 | WITH_MODDIRS_FALSE |
| 1088 | WITH_MODDIRS_TRUE |
| 1089 | HAVE_SRV_DISCOVERY_FALSE |
| 1090 | HAVE_SRV_DISCOVERY_TRUE |
| 1091 | LIBRESOLV_LIBS |
| 1092 | ENABLE_INOTIFY_FALSE |
| 1093 | ENABLE_INOTIFY_TRUE |
| 1094 | LIBOBJS |
| 1095 | CPP |
| 1096 | DL_LIBS |
| 1097 | RT_LIBS |
| 1098 | HAVE_LIBYAML_FALSE |
| 1099 | HAVE_LIBYAML_TRUE |
| 1100 | LIBYAML_LIBS |
| 1101 | LIBYAML_CFLAGS |
| 1102 | pkgpyexecdir |
| 1103 | pyexecdir |
| 1104 | pkgpythondir |
| 1105 | pythondir |
| 1106 | PYTHON_EXEC_PREFIX |
| 1107 | PYTHON_PREFIX |
| 1108 | PYTHON_PLATFORM |
| 1109 | PYTHON_VERSION |
| 1110 | PYTHON |
| 1111 | OS_AIX_FALSE |
| 1112 | OS_AIX_TRUE |
| 1113 | OS_LINUX_FALSE |
| 1114 | OS_LINUX_TRUE |
| 1115 | OS_APPLE_FALSE |
| 1116 | OS_APPLE_TRUE |
| 1117 | SOL_LIBS |
| 1118 | LIBFASTJSON_LIBS |
| 1119 | LIBFASTJSON_CFLAGS |
| 1120 | LIBESTR_LIBS |
| 1121 | LIBESTR_CFLAGS |
| 1122 | PID_FILE_PATH |
| 1123 | CONF_FILE_PATH |
| 1124 | PKG_CONFIG_LIBDIR |
| 1125 | PKG_CONFIG_PATH |
| 1126 | PKG_CONFIG |
| 1127 | WARN_SCANNERFLAGS |
| 1128 | WARN_LDFLAGS |
| 1129 | WARN_CFLAGS |
| 1130 | LT_SYS_LIBRARY_PATH |
| 1131 | OTOOL64 |
| 1132 | OTOOL |
| 1133 | LIPO |
| 1134 | NMEDIT |
| 1135 | DSYMUTIL |
| 1136 | MANIFEST_TOOL |
| 1137 | RANLIB |
| 1138 | ac_ct_AR |
| 1139 | AR |
| 1140 | DLLTOOL |
| 1141 | OBJDUMP |
| 1142 | FILECMD |
| 1143 | LN_S |
| 1144 | NM |
| 1145 | ac_ct_DUMPBIN |
| 1146 | DUMPBIN |
| 1147 | LD |
| 1148 | FGREP |
| 1149 | EGREP |
| 1150 | GREP |
| 1151 | SED |
| 1152 | host_os |
| 1153 | host_vendor |
| 1154 | host_cpu |
| 1155 | host |
| 1156 | build_os |
| 1157 | build_vendor |
| 1158 | build_cpu |
| 1159 | build |
| 1160 | LIBTOOL |
| 1161 | YFLAGS |
| 1162 | YACC |
| 1163 | LEXLIB |
| 1164 | LEX_OUTPUT_ROOT |
| 1165 | LEX |
| 1166 | am__fastdepCC_FALSE |
| 1167 | am__fastdepCC_TRUE |
| 1168 | CCDEPMODE |
| 1169 | am__nodep |
| 1170 | AMDEPBACKSLASH |
| 1171 | AMDEP_FALSE |
| 1172 | AMDEP_TRUE |
| 1173 | am__include |
| 1174 | DEPDIR |
| 1175 | OBJEXT |
| 1176 | EXEEXT |
| 1177 | ac_ct_CC |
| 1178 | CPPFLAGS |
| 1179 | LDFLAGS |
| 1180 | CFLAGS |
| 1181 | CC |
| 1182 | AM_BACKSLASH |
| 1183 | AM_DEFAULT_VERBOSITY |
| 1184 | AM_DEFAULT_V |
| 1185 | AM_V |
| 1186 | CSCOPE |
| 1187 | ETAGS |
| 1188 | CTAGS |
| 1189 | am__untar |
| 1190 | am__tar |
| 1191 | AMTAR |
| 1192 | am__leading_dot |
| 1193 | SET_MAKE |
| 1194 | AWK |
| 1195 | mkdir_p |
| 1196 | MKDIR_P |
| 1197 | INSTALL_STRIP_PROGRAM |
| 1198 | STRIP |
| 1199 | install_sh |
| 1200 | MAKEINFO |
| 1201 | AUTOHEADER |
| 1202 | AUTOMAKE |
| 1203 | AUTOCONF |
| 1204 | ACLOCAL |
| 1205 | VERSION |
| 1206 | PACKAGE |
| 1207 | CYGPATH_W |
| 1208 | am__isrc |
| 1209 | INSTALL_DATA |
| 1210 | INSTALL_SCRIPT |
| 1211 | INSTALL_PROGRAM |
| 1212 | target_alias |
| 1213 | host_alias |
| 1214 | build_alias |
| 1215 | LIBS |
| 1216 | ECHO_T |
| 1217 | ECHO_N |
| 1218 | ECHO_C |
| 1219 | DEFS |
| 1220 | mandir |
| 1221 | localedir |
| 1222 | libdir |
| 1223 | psdir |
| 1224 | pdfdir |
| 1225 | dvidir |
| 1226 | htmldir |
| 1227 | infodir |
| 1228 | docdir |
| 1229 | oldincludedir |
| 1230 | includedir |
| 1231 | runstatedir |
| 1232 | localstatedir |
| 1233 | sharedstatedir |
| 1234 | sysconfdir |
| 1235 | datadir |
| 1236 | datarootdir |
| 1237 | libexecdir |
| 1238 | sbindir |
| 1239 | bindir |
| 1240 | program_transform_name |
| 1241 | prefix |
| 1242 | exec_prefix |
| 1243 | PACKAGE_URL |
| 1244 | PACKAGE_BUGREPORT |
| 1245 | PACKAGE_STRING |
| 1246 | PACKAGE_VERSION |
| 1247 | PACKAGE_TARNAME |
| 1248 | PACKAGE_NAME |
| 1249 | PATH_SEPARATOR |
| 1250 | SHELL |
| 1251 | am__quote' |
| 1252 | ac_subst_files='' |
| 1253 | ac_user_opts=' |
| 1254 | enable_option_checking |
| 1255 | enable_silent_rules |
| 1256 | enable_aix64bits |
| 1257 | enable_dependency_tracking |
| 1258 | enable_static |
| 1259 | enable_shared |
| 1260 | with_pic |
| 1261 | enable_fast_install |
| 1262 | with_aix_soname |
| 1263 | with_gnu_ld |
| 1264 | with_sysroot |
| 1265 | enable_libtool_lock |
| 1266 | enable_compile_warnings |
| 1267 | enable_Werror |
| 1268 | with_python_sys_prefix |
| 1269 | with_python_prefix |
| 1270 | with_python_exec_prefix |
| 1271 | enable_atomic_operations |
| 1272 | with_moddirs |
| 1273 | enable_largefile |
| 1274 | enable_regexp |
| 1275 | enable_fmhash |
| 1276 | enable_libcap_ng |
| 1277 | enable_fmhash_xxhash |
| 1278 | enable_ffaup |
| 1279 | enable_fmunflatten |
| 1280 | enable_fmpcre |
| 1281 | enable_gssapi_krb5 |
| 1282 | enable_root_tests |
| 1283 | enable_flaky_tests |
| 1284 | enable_klog |
| 1285 | enable_kmsg |
| 1286 | enable_imjournal |
| 1287 | enable_libsystemd |
| 1288 | enable_inet |
| 1289 | enable_jemalloc |
| 1290 | enable_unlimited_select |
| 1291 | enable_debug |
| 1292 | enable_debug_symbols |
| 1293 | enable_coverage |
| 1294 | enable_debugless |
| 1295 | enable_valgrind |
| 1296 | enable_diagtools |
| 1297 | enable_usertools |
| 1298 | enable_mysql |
| 1299 | enable_pgsql |
| 1300 | enable_libdbi |
| 1301 | enable_snmp |
| 1302 | enable_snmp_tests |
| 1303 | enable_uuid |
| 1304 | enable_elasticsearch |
| 1305 | enable_clickhouse |
| 1306 | enable_omhttp |
| 1307 | enable_elasticsearch_tests |
| 1308 | enable_clickhouse_tests |
| 1309 | enable_wolfssl |
| 1310 | enable_openssl |
| 1311 | enable_openssl_crypto_provider |
| 1312 | enable_gnutls |
| 1313 | enable_gnutls_tests |
| 1314 | enable_mbedtls |
| 1315 | enable_libgcrypt |
| 1316 | enable_libzstd |
| 1317 | enable_rsyslogrt |
| 1318 | enable_rsyslogd |
| 1319 | enable_extended_tests |
| 1320 | enable_mysql_tests |
| 1321 | enable_pgsql_tests |
| 1322 | enable_mail |
| 1323 | enable_fmhttp |
| 1324 | enable_imdiag |
| 1325 | enable_mmnormalize |
| 1326 | enable_mmleefparse |
| 1327 | enable_mmjsonparse |
| 1328 | enable_mmjsontransform |
| 1329 | enable_mmgrok |
| 1330 | enable_mmaudit |
| 1331 | enable_mmanon |
| 1332 | enable_mmrm1stspace |
| 1333 | enable_mmutf8fix |
| 1334 | enable_mmcount |
| 1335 | enable_mmsequence |
| 1336 | enable_mmdblookup |
| 1337 | enable_mmdarwin |
| 1338 | enable_mmfields |
| 1339 | enable_mmpstrucdata |
| 1340 | enable_mmaitag |
| 1341 | enable_mmrfc5424addhmac |
| 1342 | enable_mmsnareparse |
| 1343 | enable_omfile_hardened |
| 1344 | enable_relp |
| 1345 | enable_omrelp_default_port |
| 1346 | enable_ksi_ls12 |
| 1347 | enable_liblogging_stdlog |
| 1348 | enable_rfc3195 |
| 1349 | enable_testbench |
| 1350 | enable_libfaketime |
| 1351 | enable_default_tests |
| 1352 | enable_imtcp_tests |
| 1353 | with_valgrind_testbench |
| 1354 | enable_helgrind |
| 1355 | enable_imbatchreport |
| 1356 | enable_pmdb2diag |
| 1357 | enable_imfile |
| 1358 | enable_imfile_tests |
| 1359 | enable_imdocker |
| 1360 | enable_imdocker_tests |
| 1361 | enable_imtuxedoulog |
| 1362 | enable_improg |
| 1363 | enable_imhttp |
| 1364 | enable_imsolaris |
| 1365 | enable_imtcp_epoll |
| 1366 | enable_imptcp |
| 1367 | enable_impstats |
| 1368 | enable_impstats_push |
| 1369 | enable_impcap |
| 1370 | enable_omprog |
| 1371 | enable_omudpspoof |
| 1372 | enable_omsendertrack |
| 1373 | enable_omstdout |
| 1374 | enable_omjournal |
| 1375 | enable_journal_tests |
| 1376 | enable_pmlastmsg |
| 1377 | enable_pmcisconames |
| 1378 | enable_pmciscoios |
| 1379 | enable_pmnull |
| 1380 | enable_pmnormalize |
| 1381 | enable_pmaixforwardedfrom |
| 1382 | enable_pmsnare |
| 1383 | enable_pmpanngfw |
| 1384 | enable_omruleset |
| 1385 | enable_omuxsock |
| 1386 | enable_mmsnmptrapd |
| 1387 | enable_omhdfs |
| 1388 | enable_omotel |
| 1389 | enable_omkafka |
| 1390 | enable_imkafka |
| 1391 | enable_omazureeventhubs_tests |
| 1392 | enable_omazuredce_tests |
| 1393 | enable_kafka_tests |
| 1394 | enable_kafka_static |
| 1395 | enable_omazuredce |
| 1396 | enable_omazureeventhubs |
| 1397 | enable_qpidproton_static |
| 1398 | enable_ommongodb |
| 1399 | enable_imdtls |
| 1400 | enable_omdtls |
| 1401 | enable_imczmq |
| 1402 | enable_omczmq |
| 1403 | enable_omrabbitmq |
| 1404 | enable_imhiredis |
| 1405 | enable_omhiredis |
| 1406 | enable_redis_tests |
| 1407 | enable_redis_ssl |
| 1408 | enable_omhttpfs |
| 1409 | enable_omamqp1 |
| 1410 | enable_omtcl |
| 1411 | with_tcl |
| 1412 | enable_mmkubernetes |
| 1413 | enable_mmtaghostname |
| 1414 | enable_generate_man_pages |
| 1415 | enable_distcheck_workaround |
| 1416 | ' |
| 1417 | ac_precious_vars='build_alias |
| 1418 | host_alias |
| 1419 | target_alias |
| 1420 | CC |
| 1421 | CFLAGS |
| 1422 | LDFLAGS |
| 1423 | LIBS |
| 1424 | CPPFLAGS |
| 1425 | YACC |
| 1426 | YFLAGS |
| 1427 | LT_SYS_LIBRARY_PATH |
| 1428 | PKG_CONFIG |
| 1429 | PKG_CONFIG_PATH |
| 1430 | PKG_CONFIG_LIBDIR |
| 1431 | CONF_FILE_PATH |
| 1432 | PID_FILE_PATH |
| 1433 | LIBESTR_CFLAGS |
| 1434 | LIBESTR_LIBS |
| 1435 | LIBFASTJSON_CFLAGS |
| 1436 | LIBFASTJSON_LIBS |
| 1437 | PYTHON |
| 1438 | LIBYAML_CFLAGS |
| 1439 | LIBYAML_LIBS |
| 1440 | CPP |
| 1441 | ZLIB_CFLAGS |
| 1442 | ZLIB_LIBS |
| 1443 | LIBCAPNG_PRESENT_CFLAGS |
| 1444 | LIBCAPNG_PRESENT_LIBS |
| 1445 | LIBCAPNG_CFLAGS |
| 1446 | LIBCAPNG_LIBS |
| 1447 | LIBSYSTEMD_JOURNAL_CFLAGS |
| 1448 | LIBSYSTEMD_JOURNAL_LIBS |
| 1449 | LIBSYSTEMD_CFLAGS |
| 1450 | LIBSYSTEMD_LIBS |
| 1451 | MYSQL_CFLAGS |
| 1452 | MYSQL_LIBS |
| 1453 | PGSQL_CFLAGS |
| 1454 | PGSQL_LIBS |
| 1455 | LIBUUID_CFLAGS |
| 1456 | LIBUUID_LIBS |
| 1457 | CURL_CFLAGS |
| 1458 | CURL_LIBS |
| 1459 | WOLFSSL_CFLAGS |
| 1460 | WOLFSSL_LIBS |
| 1461 | OPENSSL_CFLAGS |
| 1462 | OPENSSL_LIBS |
| 1463 | GNUTLS_CFLAGS |
| 1464 | GNUTLS_LIBS |
| 1465 | MBEDTLS_CFLAGS |
| 1466 | MBEDTLS_LIBS |
| 1467 | ZSTD_CFLAGS |
| 1468 | ZSTD_LIBS |
| 1469 | LIBLOGNORM_CFLAGS |
| 1470 | LIBLOGNORM_LIBS |
| 1471 | RELP_CFLAGS |
| 1472 | RELP_LIBS |
| 1473 | GT_KSI_LS12_CFLAGS |
| 1474 | GT_KSI_LS12_LIBS |
| 1475 | LIBLOGGING_STDLOG_CFLAGS |
| 1476 | LIBLOGGING_STDLOG_LIBS |
| 1477 | LIBLOGGING_CFLAGS |
| 1478 | LIBLOGGING_LIBS |
| 1479 | APU_CFLAGS |
| 1480 | APU_LIBS |
| 1481 | IMPSTATS_PUSH_CURL_CFLAGS |
| 1482 | IMPSTATS_PUSH_CURL_LIBS |
| 1483 | IMPSTATS_PUSH_PROTOBUF_CFLAGS |
| 1484 | IMPSTATS_PUSH_PROTOBUF_LIBS |
| 1485 | IMPSTATS_PUSH_SNAPPY_CFLAGS |
| 1486 | IMPSTATS_PUSH_SNAPPY_LIBS |
| 1487 | OMOTEL_HTTP_CFLAGS |
| 1488 | OMOTEL_HTTP_LIBS |
| 1489 | OMOTEL_PROTOBUF_CFLAGS |
| 1490 | OMOTEL_PROTOBUF_LIBS |
| 1491 | LIBRDKAFKA_CFLAGS |
| 1492 | LIBRDKAFKA_LIBS |
| 1493 | LIBLZ4_CFLAGS |
| 1494 | LIBLZ4_LIBS |
| 1495 | PROTON_CFLAGS |
| 1496 | PROTON_LIBS |
| 1497 | PROTON_PROACTOR_CFLAGS |
| 1498 | PROTON_PROACTOR_LIBS |
| 1499 | LIBMONGOC_CFLAGS |
| 1500 | LIBMONGOC_LIBS |
| 1501 | CZMQ_CFLAGS |
| 1502 | CZMQ_LIBS |
| 1503 | RABBITMQ_CFLAGS |
| 1504 | RABBITMQ_LIBS |
| 1505 | HIREDIS_CFLAGS |
| 1506 | HIREDIS_LIBS |
| 1507 | HIREDIS_SSL_CFLAGS |
| 1508 | HIREDIS_SSL_LIBS |
| 1509 | LIBEVENT_CFLAGS |
| 1510 | LIBEVENT_LIBS' |
| 1511 | |
| 1512 | |
| 1513 | # Initialize some variables set by options. |
| 1514 | ac_init_help= |
| 1515 | ac_init_version=false |
| 1516 | ac_unrecognized_opts= |
| 1517 | ac_unrecognized_sep= |
| 1518 | # The variables have the same names as the options, with |
| 1519 | # dashes changed to underlines. |
| 1520 | cache_file=/dev/nullscip-shell filesystem . . `/dev/null`. |
| 1521 | exec_prefix=NONE |
| 1522 | no_create= |
| 1523 | no_recursion= |
| 1524 | prefix=NONE |
| 1525 | program_prefix=NONE |
| 1526 | program_suffix=NONE |
| 1527 | program_transform_name=s,x,x, |
| 1528 | silent= |
| 1529 | site= |
| 1530 | srcdir= |
| 1531 | verbose= |
| 1532 | x_includes=NONE |
| 1533 | x_libraries=NONE |
| 1534 | |
| 1535 | # Installation directory options. |
| 1536 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
| 1537 | # and all the variables that are supposed to be based on exec_prefix |
| 1538 | # by default will actually change. |
| 1539 | # Use braces instead of parens because sh, perl, etc. also accept them. |
| 1540 | # (The list follows the same order as the GNU Coding Standards.) |
| 1541 | bindir='${exec_prefix}/bin' |
| 1542 | sbindir='${exec_prefix}/sbin' |
| 1543 | libexecdir='${exec_prefix}/libexec' |
| 1544 | datarootdir='${prefix}/share' |
| 1545 | datadir='${datarootdir}' |
| 1546 | sysconfdir='${prefix}/etc' |
| 1547 | sharedstatedir='${prefix}/com' |
| 1548 | localstatedir='${prefix}/var' |
| 1549 | runstatedir='${localstatedir}/run' |
| 1550 | includedir='${prefix}/include' |
| 1551 | oldincludedir='/usr/includescip-shell filesystem . . `/usr/include`.' |
| 1552 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 1553 | infodir='${datarootdir}/info' |
| 1554 | htmldir='${docdir}' |
| 1555 | dvidir='${docdir}' |
| 1556 | pdfdir='${docdir}' |
| 1557 | psdir='${docdir}' |
| 1558 | libdir='${exec_prefix}/lib' |
| 1559 | localedir='${datarootdir}/locale' |
| 1560 | mandir='${datarootdir}/man' |
| 1561 | |
| 1562 | ac_prev= |
| 1563 | ac_dashdash= |
| 1564 | for ac_option |
| 1565 | do |
| 1566 | # If the previous option needs an argument, assign it. |
| 1567 | if testscip-shell system . . test. -n "$ac_prev"; then |
| 1568 | eval $ac_prev=\$ac_option |
| 1569 | ac_prev= |
| 1570 | continue |
| 1571 | fi |
| 1572 | |
| 1573 | case $ac_option in |
| 1574 | *=?*) ac_optarg=`exprscip-shell system . . expr. "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 1575 | *=) ac_optarg= ;; |
| 1576 | *) ac_optarg=yes ;; |
| 1577 | esac |
| 1578 | |
| 1579 | case $ac_dashdash$ac_option in |
| 1580 | --) |
| 1581 | ac_dashdash=yes ;; |
| 1582 | |
| 1583 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 1584 | ac_prev=bindir ;; |
| 1585 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 1586 | bindir=$ac_optarg ;; |
| 1587 | |
| 1588 | -build | --build | --buil | --bui | --bu) |
| 1589 | ac_prev=build_alias ;; |
| 1590 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 1591 | build_alias=$ac_optarg ;; |
| 1592 | |
| 1593 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 1594 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 1595 | ac_prev=cache_file ;; |
| 1596 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 1597 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 1598 | cache_file=$ac_optarg ;; |
| 1599 | |
| 1600 | --config-cache | -C) |
| 1601 | cache_file=config.cache ;; |
| 1602 | |
| 1603 | -datadir | --datadir | --datadi | --datad) |
| 1604 | ac_prev=datadir ;; |
| 1605 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 1606 | datadir=$ac_optarg ;; |
| 1607 | |
| 1608 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| 1609 | | --dataroo | --dataro | --datar) |
| 1610 | ac_prev=datarootdir ;; |
| 1611 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
| 1612 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
| 1613 | datarootdir=$ac_optarg ;; |
| 1614 | |
| 1615 | -disable-* | --disable-*) |
| 1616 | ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*disable-\(.*\)'` |
| 1617 | # Reject names that are not valid shell variable names. |
| 1618 | exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1619 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "invalid feature name: \`$ac_useropt'" |
| 1620 | ac_useropt_orig=$ac_useropt |
| 1621 | ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'` |
| 1622 | case $ac_user_opts in |
| 1623 | *" |
| 1624 | "enable_$ac_useropt" |
| 1625 | "*) ;; |
| 1626 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
| 1627 | ac_unrecognized_sep=', ';; |
| 1628 | esac |
| 1629 | eval enable_$ac_useropt=no ;; |
| 1630 | |
| 1631 | -docdir | --docdir | --docdi | --doc | --do) |
| 1632 | ac_prev=docdir ;; |
| 1633 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| 1634 | docdir=$ac_optarg ;; |
| 1635 | |
| 1636 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
| 1637 | ac_prev=dvidir ;; |
| 1638 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
| 1639 | dvidir=$ac_optarg ;; |
| 1640 | |
| 1641 | -enable-* | --enable-*) |
| 1642 | ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 1643 | # Reject names that are not valid shell variable names. |
| 1644 | exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1645 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "invalid feature name: \`$ac_useropt'" |
| 1646 | ac_useropt_orig=$ac_useropt |
| 1647 | ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'` |
| 1648 | case $ac_user_opts in |
| 1649 | *" |
| 1650 | "enable_$ac_useropt" |
| 1651 | "*) ;; |
| 1652 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
| 1653 | ac_unrecognized_sep=', ';; |
| 1654 | esac |
| 1655 | eval enable_$ac_useropt=\$ac_optarg ;; |
| 1656 | |
| 1657 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 1658 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 1659 | | --exec | --exe | --ex) |
| 1660 | ac_prev=exec_prefix ;; |
| 1661 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 1662 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 1663 | | --exec=* | --exe=* | --ex=*) |
| 1664 | exec_prefix=$ac_optarg ;; |
| 1665 | |
| 1666 | -gas | --gas | --ga | --g) |
| 1667 | # Obsolete; use --with-gas. |
| 1668 | with_gas=yes ;; |
| 1669 | |
| 1670 | -help | --help | --hel | --he | -h) |
| 1671 | ac_init_help=long ;; |
| 1672 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
| 1673 | ac_init_help=recursive ;; |
| 1674 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
| 1675 | ac_init_help=short ;; |
| 1676 | |
| 1677 | -host | --host | --hos | --ho) |
| 1678 | ac_prev=host_alias ;; |
| 1679 | -host=* | --host=* | --hos=* | --ho=*) |
| 1680 | host_alias=$ac_optarg ;; |
| 1681 | |
| 1682 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
| 1683 | ac_prev=htmldir ;; |
| 1684 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
| 1685 | | --ht=*) |
| 1686 | htmldir=$ac_optarg ;; |
| 1687 | |
| 1688 | -includedir | --includedir | --includedi | --included | --include \ |
| 1689 | | --includ | --inclu | --incl | --inc) |
| 1690 | ac_prev=includedir ;; |
| 1691 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| 1692 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
| 1693 | includedir=$ac_optarg ;; |
| 1694 | |
| 1695 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
| 1696 | ac_prev=infodir ;; |
| 1697 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 1698 | infodir=$ac_optarg ;; |
| 1699 | |
| 1700 | -libdir | --libdir | --libdi | --libd) |
| 1701 | ac_prev=libdir ;; |
| 1702 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 1703 | libdir=$ac_optarg ;; |
| 1704 | |
| 1705 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| 1706 | | --libexe | --libex | --libe) |
| 1707 | ac_prev=libexecdir ;; |
| 1708 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| 1709 | | --libexe=* | --libex=* | --libe=*) |
| 1710 | libexecdir=$ac_optarg ;; |
| 1711 | |
| 1712 | -localedir | --localedir | --localedi | --localed | --locale) |
| 1713 | ac_prev=localedir ;; |
| 1714 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
| 1715 | localedir=$ac_optarg ;; |
| 1716 | |
| 1717 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 1718 | | --localstate | --localstat | --localsta | --localst | --locals) |
| 1719 | ac_prev=localstatedir ;; |
| 1720 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 1721 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| 1722 | localstatedir=$ac_optarg ;; |
| 1723 | |
| 1724 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 1725 | ac_prev=mandir ;; |
| 1726 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 1727 | mandir=$ac_optarg ;; |
| 1728 | |
| 1729 | -nfp | --nfp | --nf) |
| 1730 | # Obsolete; use --without-fp. |
| 1731 | with_fp=no ;; |
| 1732 | |
| 1733 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 1734 | | --no-cr | --no-c | -n) |
| 1735 | no_create=yes ;; |
| 1736 | |
| 1737 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 1738 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 1739 | no_recursion=yes ;; |
| 1740 | |
| 1741 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
| 1742 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
| 1743 | | --oldin | --oldi | --old | --ol | --o) |
| 1744 | ac_prev=oldincludedir ;; |
| 1745 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| 1746 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| 1747 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| 1748 | oldincludedir=$ac_optarg ;; |
| 1749 | |
| 1750 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 1751 | ac_prev=prefix ;; |
| 1752 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 1753 | prefix=$ac_optarg ;; |
| 1754 | |
| 1755 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| 1756 | | --program-pre | --program-pr | --program-p) |
| 1757 | ac_prev=program_prefix ;; |
| 1758 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| 1759 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| 1760 | program_prefix=$ac_optarg ;; |
| 1761 | |
| 1762 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| 1763 | | --program-suf | --program-su | --program-s) |
| 1764 | ac_prev=program_suffix ;; |
| 1765 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| 1766 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| 1767 | program_suffix=$ac_optarg ;; |
| 1768 | |
| 1769 | -program-transform-name | --program-transform-name \ |
| 1770 | | --program-transform-nam | --program-transform-na \ |
| 1771 | | --program-transform-n | --program-transform- \ |
| 1772 | | --program-transform | --program-transfor \ |
| 1773 | | --program-transfo | --program-transf \ |
| 1774 | | --program-trans | --program-tran \ |
| 1775 | | --progr-tra | --program-tr | --program-t) |
| 1776 | ac_prev=program_transform_name ;; |
| 1777 | -program-transform-name=* | --program-transform-name=* \ |
| 1778 | | --program-transform-nam=* | --program-transform-na=* \ |
| 1779 | | --program-transform-n=* | --program-transform-=* \ |
| 1780 | | --program-transform=* | --program-transfor=* \ |
| 1781 | | --program-transfo=* | --program-transf=* \ |
| 1782 | | --program-trans=* | --program-tran=* \ |
| 1783 | | --progr-tra=* | --program-tr=* | --program-t=*) |
| 1784 | program_transform_name=$ac_optarg ;; |
| 1785 | |
| 1786 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| 1787 | ac_prev=pdfdir ;; |
| 1788 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
| 1789 | pdfdir=$ac_optarg ;; |
| 1790 | |
| 1791 | -psdir | --psdir | --psdi | --psd | --ps) |
| 1792 | ac_prev=psdir ;; |
| 1793 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
| 1794 | psdir=$ac_optarg ;; |
| 1795 | |
| 1796 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1797 | | -silent | --silent | --silen | --sile | --sil) |
| 1798 | silent=yes ;; |
| 1799 | |
| 1800 | -runstatedir | --runstatedir | --runstatedi | --runstated \ |
| 1801 | | --runstate | --runstat | --runsta | --runst | --runs \ |
| 1802 | | --run | --ru | --r) |
| 1803 | ac_prev=runstatedir ;; |
| 1804 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
| 1805 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
| 1806 | | --run=* | --ru=* | --r=*) |
| 1807 | runstatedir=$ac_optarg ;; |
| 1808 | |
| 1809 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 1810 | ac_prev=sbindir ;; |
| 1811 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 1812 | | --sbi=* | --sb=*) |
| 1813 | sbindir=$ac_optarg ;; |
| 1814 | |
| 1815 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 1816 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| 1817 | | --sharedst | --shareds | --shared | --share | --shar \ |
| 1818 | | --sha | --sh) |
| 1819 | ac_prev=sharedstatedir ;; |
| 1820 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| 1821 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 1822 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 1823 | | --sha=* | --sh=*) |
| 1824 | sharedstatedir=$ac_optarg ;; |
| 1825 | |
| 1826 | -site | --site | --sit) |
| 1827 | ac_prev=site ;; |
| 1828 | -site=* | --site=* | --sit=*) |
| 1829 | site=$ac_optarg ;; |
| 1830 | |
| 1831 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 1832 | ac_prev=srcdir ;; |
| 1833 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 1834 | srcdir=$ac_optarg ;; |
| 1835 | |
| 1836 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| 1837 | | --syscon | --sysco | --sysc | --sys | --sy) |
| 1838 | ac_prev=sysconfdir ;; |
| 1839 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| 1840 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| 1841 | sysconfdir=$ac_optarg ;; |
| 1842 | |
| 1843 | -target | --target | --targe | --targ | --tar | --ta | --t) |
| 1844 | ac_prev=target_alias ;; |
| 1845 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 1846 | target_alias=$ac_optarg ;; |
| 1847 | |
| 1848 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 1849 | verbose=yes ;; |
| 1850 | |
| 1851 | -version | --version | --versio | --versi | --vers | -V) |
| 1852 | ac_init_version=: ;; |
| 1853 | |
| 1854 | -with-* | --with-*) |
| 1855 | ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1856 | # Reject names that are not valid shell variable names. |
| 1857 | exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1858 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "invalid package name: \`$ac_useropt'" |
| 1859 | ac_useropt_orig=$ac_useropt |
| 1860 | ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'` |
| 1861 | case $ac_user_opts in |
| 1862 | *" |
| 1863 | "with_$ac_useropt" |
| 1864 | "*) ;; |
| 1865 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
| 1866 | ac_unrecognized_sep=', ';; |
| 1867 | esac |
| 1868 | eval with_$ac_useropt=\$ac_optarg ;; |
| 1869 | |
| 1870 | -without-* | --without-*) |
| 1871 | ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*without-\(.*\)'` |
| 1872 | # Reject names that are not valid shell variable names. |
| 1873 | exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1874 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "invalid package name: \`$ac_useropt'" |
| 1875 | ac_useropt_orig=$ac_useropt |
| 1876 | ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'` |
| 1877 | case $ac_user_opts in |
| 1878 | *" |
| 1879 | "with_$ac_useropt" |
| 1880 | "*) ;; |
| 1881 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
| 1882 | ac_unrecognized_sep=', ';; |
| 1883 | esac |
| 1884 | eval with_$ac_useropt=no ;; |
| 1885 | |
| 1886 | --x) |
| 1887 | # Obsolete; use --with-x. |
| 1888 | with_x=yes ;; |
| 1889 | |
| 1890 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| 1891 | | --x-incl | --x-inc | --x-in | --x-i) |
| 1892 | ac_prev=x_includes ;; |
| 1893 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 1894 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 1895 | x_includes=$ac_optarg ;; |
| 1896 | |
| 1897 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 1898 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 1899 | ac_prev=x_libraries ;; |
| 1900 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 1901 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1902 | x_libraries=$ac_optarg ;; |
| 1903 | |
| 1904 | -*) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "unrecognized option: \`$ac_option' |
| 1905 | Try \`$0 --help' for more information" |
| 1906 | ;; |
| 1907 | |
| 1908 | *=*) |
| 1909 | ac_envvar=`exprscip-shell system . . expr. "x$ac_option" : 'x\([^=]*\)='` |
| 1910 | # Reject names that are not valid shell variable names. |
| 1911 | case $ac_envvar in #( |
| 1912 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1913 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "invalid variable name: \`$ac_envvar'" ;; |
| 1914 | esac |
| 1915 | eval $ac_envvar=\$ac_optarg |
| 1916 | export $ac_envvar ;; |
| 1917 | |
| 1918 | *) |
| 1919 | # FIXME: should be removed in autoconf 3.0. |
| 1920 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1921 | exprscip-shell system . . expr. "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1922 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1923 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 1924 | ;; |
| 1925 | |
| 1926 | esac |
| 1927 | done |
| 1928 | |
| 1929 | if testscip-shell system . . test. -n "$ac_prev"; then |
| 1930 | ac_option=--`echoscip-shell system . . echo. $ac_prev | sedscip-shell system . . sed. 's/_/-/g'` |
| 1931 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "missing argument to $ac_option" |
| 1932 | fi |
| 1933 | |
| 1934 | if testscip-shell system . . test. -n "$ac_unrecognized_opts"; then |
| 1935 | case $enable_option_checking in |
| 1936 | no) ;; |
| 1937 | fatal) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 1938 | *) printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1939 | esac |
| 1940 | fi |
| 1941 | |
| 1942 | # Check all directory arguments for consistency. |
| 1943 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1944 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1945 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1946 | libdir localedir mandir runstatedir |
| 1947 | do |
| 1948 | eval ac_val=\$$ac_var |
| 1949 | # Remove trailing slashes. |
| 1950 | case $ac_val in |
| 1951 | */ ) |
| 1952 | ac_val=`exprscip-shell system . . expr. "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
| 1953 | eval $ac_var=\$ac_val;; |
| 1954 | esac |
| 1955 | # Be sure to have absolute directory names. |
| 1956 | case $ac_val in |
| 1957 | [\\/$]* | ?:[\\/]* ) continue;; |
| 1958 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1959 | esac |
| 1960 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "expected an absolute directory name for --$ac_var: $ac_val" |
| 1961 | done |
| 1962 | |
| 1963 | # There might be people who depend on the old broken behavior: `$host' |
| 1964 | # used to hold the argument of --host etc. |
| 1965 | # FIXME: To remove some day. |
| 1966 | build=$build_alias |
| 1967 | host=$host_alias |
| 1968 | target=$target_alias |
| 1969 | |
| 1970 | # FIXME: To remove some day. |
| 1971 | if testscip-shell system . . test. "x$host_alias" != x; then |
| 1972 | if testscip-shell system . . test. "x$build_alias" = x; then |
| 1973 | cross_compiling=maybe |
| 1974 | elif testscip-shell system . . test. "x$build_alias" != "x$host_alias"; then |
| 1975 | cross_compiling=yes |
| 1976 | fi |
| 1977 | fi |
| 1978 | |
| 1979 | ac_tool_prefix= |
| 1980 | testscip-shell system . . test. -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 1981 | |
| 1982 | testscip-shell system . . test. "$silent" = yes && exec 6>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 1983 | |
| 1984 | |
| 1985 | ac_pwd=`pwdscip-shell system . . pwd.` && testscip-shell system . . test. -n "$ac_pwd" && |
| 1986 | ac_ls_di=`lsscip-shell system . . ls. -di .` && |
| 1987 | ac_pwd_ls_di=`cd "$ac_pwd" && lsscip-shell system . . ls. -di .` || |
| 1988 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "working directory cannot be determined" |
| 1989 | testscip-shell system . . test. "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1990 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "pwd does not report name of working directory" |
| 1991 | |
| 1992 | |
| 1993 | # Find the source files, if location was not specified. |
| 1994 | if testscip-shell system . . test. -z "$srcdir"; then |
| 1995 | ac_srcdir_defaulted=yes |
| 1996 | # Try the directory containing this script, then the parent directory. |
| 1997 | ac_confdir=`$as_dirname -- "$as_myself" || |
| 1998 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1999 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
| 2000 | X"$as_myself" : 'X\(//\)$' \| \ |
| 2001 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. || |
| 2002 | printfscip-shell system . . printf. "%s\n" X"$as_myself" | |
| 2003 | sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 2004 | s//\1/ |
| 2005 | q |
| 2006 | } |
| 2007 | /^X\(\/\/\)[^/].*/{ |
| 2008 | s//\1/ |
| 2009 | q |
| 2010 | } |
| 2011 | /^X\(\/\/\)$/{ |
| 2012 | s//\1/ |
| 2013 | q |
| 2014 | } |
| 2015 | /^X\(\/\).*/{ |
| 2016 | s//\1/ |
| 2017 | q |
| 2018 | } |
| 2019 | s/.*/./; q'` |
| 2020 | srcdir=$ac_confdir |
| 2021 | if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then |
| 2022 | srcdir=.. |
| 2023 | fi |
| 2024 | else |
| 2025 | ac_srcdir_defaulted=no |
| 2026 | fi |
| 2027 | if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then |
| 2028 | testscip-shell system . . test. "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 2029 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "cannot find sources ($ac_unique_file) in $srcdir" |
| 2030 | fi |
| 2031 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 2032 | ac_abs_confdir=`( |
| 2033 | cd "$srcdir" && testscip-shell system . . test. -r "./$ac_unique_file" || as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "$ac_msg" |
| 2034 | pwdscip-shell system . . pwd.)` |
| 2035 | # When building in place, set srcdir=. |
| 2036 | if testscip-shell system . . test. "$ac_abs_confdir" = "$ac_pwd"; then |
| 2037 | srcdir=. |
| 2038 | fi |
| 2039 | # Remove unnecessary trailing slashes from srcdir. |
| 2040 | # Double slashes in file names in object file debugging info |
| 2041 | # mess up M-x gdb in Emacs. |
| 2042 | case $srcdir in |
| 2043 | */) srcdir=`exprscip-shell system . . expr. "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 2044 | esac |
| 2045 | for ac_var in $ac_precious_vars; do |
| 2046 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 2047 | eval ac_env_${ac_var}_value=\$${ac_var} |
| 2048 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 2049 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 2050 | done |
| 2051 | |
| 2052 | # |
| 2053 | # Report the --help message. |
| 2054 | # |
| 2055 | if testscip-shell system . . test. "$ac_init_help" = "long"; then |
| 2056 | # Omit some internal or obsolete options to make the list less imposing. |
| 2057 | # This message is too long to be a string in the A/UX 3.1 sh. |
| 2058 | catscip-shell system . . cat. <<_ACEOF |
| 2059 | \`configure' configures rsyslog 8.2604.0 to adapt to many kinds of systems. |
| 2060 | |
| 2061 | Usage: $0 [OPTION]... [VAR=VALUE]... |
| 2062 | |
| 2063 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
| 2064 | VAR=VALUE. See below for descriptions of some of the useful variables. |
| 2065 | |
| 2066 | Defaults for the options are specified in brackets. |
| 2067 | |
| 2068 | Configuration: |
| 2069 | -h, --help display this help and exit |
| 2070 | --help=short display options specific to this package |
| 2071 | --help=recursive display the short help of all the included packages |
| 2072 | -V, --version display version information and exit |
| 2073 | -q, --quiet, --silent do not print \`checking ...' messages |
| 2074 | --cache-file=FILE cache test results in FILE [disabled] |
| 2075 | -C, --config-cache alias for \`--cache-file=config.cache' |
| 2076 | -n, --no-create do not create output files |
| 2077 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 2078 | |
| 2079 | Installation directories: |
| 2080 | --prefix=PREFIX install architecture-independent files in PREFIX |
| 2081 | [$ac_default_prefix] |
| 2082 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 2083 | [PREFIX] |
| 2084 | |
| 2085 | By default, \`make install' will install all the files in |
| 2086 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| 2087 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
| 2088 | for instance \`--prefix=\$HOME'. |
| 2089 | |
| 2090 | For better control, use the options below. |
| 2091 | |
| 2092 | Fine tuning of the installation directories: |
| 2093 | --bindir=DIR user executables [EPREFIX/bin] |
| 2094 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
| 2095 | --libexecdir=DIR program executables [EPREFIX/libexec] |
| 2096 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 2097 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 2098 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 2099 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
| 2100 | --libdir=DIR object code libraries [EPREFIX/lib] |
| 2101 | --includedir=DIR C header files [PREFIX/include] |
| 2102 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 2103 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 2104 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| 2105 | --infodir=DIR info documentation [DATAROOTDIR/info] |
| 2106 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| 2107 | --mandir=DIR man documentation [DATAROOTDIR/man] |
| 2108 | --docdir=DIR documentation root [DATAROOTDIR/doc/rsyslog] |
| 2109 | --htmldir=DIR html documentation [DOCDIR] |
| 2110 | --dvidir=DIR dvi documentation [DOCDIR] |
| 2111 | --pdfdir=DIR pdf documentation [DOCDIR] |
| 2112 | --psdir=DIR ps documentation [DOCDIR] |
| 2113 | _ACEOF |
| 2114 | |
| 2115 | catscip-shell system . . cat. <<\_ACEOF |
| 2116 | |
| 2117 | Program names: |
| 2118 | --program-prefix=PREFIX prepend PREFIX to installed program names |
| 2119 | --program-suffix=SUFFIX append SUFFIX to installed program names |
| 2120 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
| 2121 | |
| 2122 | System types: |
| 2123 | --build=BUILD configure for building on BUILD [guessed] |
| 2124 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
| 2125 | _ACEOF |
| 2126 | fi |
| 2127 | |
| 2128 | if testscip-shell system . . test. -n "$ac_init_help"; then |
| 2129 | case $ac_init_help in |
| 2130 | short | recursive ) echoscip-shell system . . echo. "Configuration of rsyslog 8.2604.0:";; |
| 2131 | esac |
| 2132 | catscip-shell system . . cat. <<\_ACEOF |
| 2133 | |
| 2134 | Optional Features: |
| 2135 | --disable-option-checking ignore unrecognized --enable/--with options |
| 2136 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 2137 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 2138 | --enable-silent-rules less verbose build output (undo: "make V=1") |
| 2139 | --disable-silent-rules verbose build output (undo: "make V=0") |
| 2140 | --enable-aix64bits Enable compilation of rsyslog using 64 bits |
| 2141 | [default=no] |
| 2142 | --enable-dependency-tracking |
| 2143 | do not reject slow dependency extractors |
| 2144 | --disable-dependency-tracking |
| 2145 | speeds up one-time build |
| 2146 | --enable-static[=PKGS] build static libraries [default=no] |
| 2147 | --enable-shared[=PKGS] build shared libraries [default=yes] |
| 2148 | --enable-fast-install[=PKGS] |
| 2149 | optimize for fast installation [default=yes] |
| 2150 | --disable-libtool-lock avoid locking (might break parallel builds) |
| 2151 | --enable-compile-warnings=[no/yes/error] |
| 2152 | Enable compiler warnings and errors |
| 2153 | --disable-Werror Unconditionally make all compiler warnings non-fatal |
| 2154 | --enable-atomic-operations |
| 2155 | Enable atomic operation support [default=yes] |
| 2156 | --disable-largefile omit support for large files |
| 2157 | --enable-regexp Enable regular expressions support [default=yes] |
| 2158 | --enable-fmhash Enable fmhash support [default=yes] |
| 2159 | --enable-libcap-ng Enable dropping capabilities to only the necessary |
| 2160 | set [default=no] |
| 2161 | --enable-fmhash-xxhash Enable xxhash in fmhash support [default=no] |
| 2162 | --enable-ffaup Enable ffaup support [default=no] |
| 2163 | --enable-fmunflatten Enable fmunflatten support [default=no] |
| 2164 | --enable-fmpcre Enable PCRE based match function [default=no] |
| 2165 | --enable-gssapi-krb5 Enable GSSAPI Kerberos 5 support [default=no] |
| 2166 | --enable-root-tests enable root tests in testbench [default=no] |
| 2167 | --enable-flaky-tests enable flaky tests in testbench [default=no] |
| 2168 | --enable-klog Integrated klog functionality [default=yes] |
| 2169 | --enable-kmsg Kmsg structured kernel logs functionality |
| 2170 | [default=no] |
| 2171 | --enable-imjournal Systemd journal message import [default=no] |
| 2172 | --enable-libsystemd Enable libsystemd mode [default=auto] |
| 2173 | --enable-inet Enable automatic load of omfwd and limit build of |
| 2174 | networking libraries [default=yes] |
| 2175 | --enable-jemalloc Enable jemalloc support [default=no] |
| 2176 | --enable-unlimited-select |
| 2177 | Enable unlimited select() syscall [default=no] |
| 2178 | --enable-debug Enable debug mode [default=auto] |
| 2179 | --disable-debug-symbols Disable debugging symbols [default=no] |
| 2180 | --enable-coverage Enable code coverage [default=no] |
| 2181 | --enable-debugless Enable runtime instrumentation mode [default=no] |
| 2182 | --enable-valgrind Enable somes special code that rsyslog core |
| 2183 | developers consider useful for testing. Do NOT use |
| 2184 | if you don't exactly know what you are doing, except |
| 2185 | if told so by rsyslog developers. NOT to be used by |
| 2186 | distro maintainers for building regular packages. |
| 2187 | [default=no] |
| 2188 | --enable-diagtools Enable diagnostic tools [default=no] |
| 2189 | --enable-usertools Enable end user tools [default=no] |
| 2190 | --enable-mysql Enable MySql database support [default=no] |
| 2191 | --enable-pgsql Enable PostgreSQL database support [default=no] |
| 2192 | --enable-libdbi Enable libdbi database support [default=no] |
| 2193 | --enable-snmp Enable SNMP support [default=no] |
| 2194 | --enable-snmp-tests Enable omsnmp tests [default=no] |
| 2195 | --enable-uuid Enable support for uuid generation [default=yes] |
| 2196 | --enable-elasticsearch Enable elasticsearch output module [default=no] |
| 2197 | --enable-clickhouse Enable clickhouse output module [default=no] |
| 2198 | --enable-omhttp Enable http output module [default=no] |
| 2199 | --enable-elasticsearch-tests |
| 2200 | enable Elasticsearch specific tests in testbench |
| 2201 | [default=no] |
| 2202 | --enable-clickhouse-tests |
| 2203 | enable Elasticsearch specific tests in testbench |
| 2204 | [default=no] |
| 2205 | --enable-wolfssl[=DIR] Enable wolfssl support [default=no] |
| 2206 | --enable-openssl Enable openssl support [default=no] |
| 2207 | --enable-opensslcrypto Enable openssl crypto provider [default=no] |
| 2208 | --enable-gnutls Enable GNU TLS support [default=no] |
| 2209 | --enable-gnutls-tests Enable gnutls tests [default=yes] |
| 2210 | --enable-mbedtls Enable Mbed TLS support [default=no] |
| 2211 | --enable-libgcrypt Enable log file encryption support (libgcrypt) |
| 2212 | [default=yes] |
| 2213 | --enable-libzstd Enable log file compression support via libzstd |
| 2214 | [default=no] |
| 2215 | --enable-rsyslogrt Build rsyslogrt [default=yes] |
| 2216 | --enable-rsyslogd Build rsyslogd [default=yes] |
| 2217 | --enable-extended-tests extended testbench [default=no] |
| 2218 | --enable-mysql-tests enable MySQL specific tests in testbench |
| 2219 | [default=no] |
| 2220 | --enable-pgsql-tests enable PostgreSQL specific tests in testbench |
| 2221 | [default=no] |
| 2222 | --enable-mail Enable mail support [default=no] |
| 2223 | --enable-fmhttp Enable fmhttp [default=yes] |
| 2224 | --enable-imdiag Enable imdiag [default=no] |
| 2225 | --enable-mmnormalize Enable building mmnormalize support [default=no] |
| 2226 | --enable-mmleefparse Enable building mmleefparse support [default=yes] |
| 2227 | --enable-mmjsonparse Enable building mmjsonparse support [default=no] |
| 2228 | --enable-mmjsontransform |
| 2229 | Enable building mmjsontransform support [default=no] |
| 2230 | --enable-mmgrok Enable building mmgrok support [default=no] |
| 2231 | --enable-mmaudit Enable building mmaudit support [default=no] |
| 2232 | --enable-mmanon Enable building mmanon support [default=no] |
| 2233 | --enable-mmrm1stspace Enable building mmrm1stspace support [default=no] |
| 2234 | --enable-mmutf8fix Enable building mmutf8fix support [default=no] |
| 2235 | --enable-mmcount Enable message counting [default=no] |
| 2236 | --enable-mmsequence Enable sequence generator [default=no] |
| 2237 | --enable-mmdblookup Enable mmdb lookup helper [default=no] |
| 2238 | --enable-mmdarwin Enable mmdb lookup helper [default=no] |
| 2239 | --enable-mmfields Enable building mmfields support [default=no] |
| 2240 | --enable-mmpstrucdata Enable building mmpstrucdata support [default=no] |
| 2241 | --enable-mmaitag Enable AI tagging module [default=no] |
| 2242 | --enable-mmrfc5424addhmac |
| 2243 | Enable building mmrfc5424addhmac support |
| 2244 | [default=no] |
| 2245 | --enable-mmsnareparse Enable building mmsnareparse support [default=no] |
| 2246 | --enable-omfile-hardened |
| 2247 | Enable omfile-hardened support [default=no] |
| 2248 | --enable-relp Enable RELP support [default=no] |
| 2249 | --enable-omrelp-default-port |
| 2250 | set omrelp default port [default=514] |
| 2251 | --enable-ksi-ls12 Enable log file signing support via GuardTime KSI |
| 2252 | LS12 [default=no] |
| 2253 | --enable-liblogging-stdlog |
| 2254 | Enable liblogging-stdlog support [default=no] |
| 2255 | --enable-rfc3195 Enable RFC3195 support [default=no] |
| 2256 | --enable-testbench testbench enabled [default=no] |
| 2257 | --enable-libfaketime libfaketime enabled [default=no] |
| 2258 | --enable-default-tests default-tests enabled [default=yes] |
| 2259 | --enable-imtcp-tests imtcp-tests enabled [default=yes] |
| 2260 | --enable-helgrind valgrind helgrind enabled [default=yes] |
| 2261 | --enable-imbatchreport batch report input module enabled [default=no] |
| 2262 | --enable-pmdb2diag db2diag parser module enabled [default=no] |
| 2263 | --enable-imfile file input module enabled [default=no] |
| 2264 | --enable-imfile-tests Enable imfile tests [default=yes] |
| 2265 | --enable-imdocker input docker module enabled [default=no] |
| 2266 | --enable-imdocker-tests Enable imdocker tests [default=no] |
| 2267 | --enable-imtuxedoulog tuxedo ULOG input module enabled [default=no] |
| 2268 | --enable-improg external program input module enabled [default=no] |
| 2269 | --enable-imhttp external http input module enabled [default=no] |
| 2270 | --enable-imsolaris solaris input module enabled [default=no] |
| 2271 | --disable-imtcp-epoll Disable epoll mode in the TCP input module (for |
| 2272 | testing purposes) |
| 2273 | --enable-imtcp-epoll tcp input module epoll mode permitted [default=yes] |
| 2274 | --enable-imptcp plain tcp input module enabled [default=no] |
| 2275 | --enable-impstats periodic statistics module enabled [default=no] |
| 2276 | --enable-impstats-push Enable native push support in impstats (requires |
| 2277 | --enable-impstats, libcurl, protobuf-c, snappy) |
| 2278 | [default=yes] |
| 2279 | --enable-impcap libpcap input module enabled [default=no] |
| 2280 | --enable-omprog Compiles omprog module [default=no] |
| 2281 | --enable-omudpspoof Compiles omudpspoof module [default=no] |
| 2282 | --enable-omsendertrack Compiles omsendertrack module [default=no] |
| 2283 | --enable-omstdout Compiles stdout module [default=no] |
| 2284 | --enable-omjournal Compiles omjournal [default=no] |
| 2285 | --enable-journal-tests enable systemd journal specific tests in testbench |
| 2286 | [default=no] |
| 2287 | --enable-pmlastmsg Compiles lastmsg parser module [default=no] |
| 2288 | --enable-pmcisconames Compiles cisconames parser module [default=no] |
| 2289 | --enable-pmciscoios Compiles ciscoios parser module [default=no] |
| 2290 | --enable-pmnull Compiles null parser module [default=no] |
| 2291 | --enable-pmnormalize Compiles normalizer parser module [default=no] |
| 2292 | --enable-pmaixforwardedfrom |
| 2293 | Compiles aixforwardedfrom parser module [default=no] |
| 2294 | --enable-pmsnare Compiles snare parser module [default=no] |
| 2295 | --enable-pmpanngfw Compiles Palo Alto Networks parser module |
| 2296 | [default=no] |
| 2297 | --enable-omruleset Compiles ruleset forwarding module [default=no] |
| 2298 | --enable-omuxsock Compiles omuxsock module [default=no] |
| 2299 | --enable-mmsnmptrapd Compiles mmsnmptrapd module [default=no] |
| 2300 | --enable-omhdfs Compiles omhdfs module [default=no] |
| 2301 | --enable-omotel Enable OpenTelemetry output module [default=no] |
| 2302 | --enable-omkafka Compiles kafka output module [default=no] |
| 2303 | --enable-imkafka Compiles kafka input and output module [default=no] |
| 2304 | --enable-omazureeventhubs-tests |
| 2305 | Enable Omazureeventhubs tests [default=no] |
| 2306 | --enable-omazuredce-tests |
| 2307 | Enable Omazuredce tests [default=no] |
| 2308 | --enable-kafka-tests Enable Kafka tests, needs Java [default=no] |
| 2309 | --enable-kafka-static Enable static library linking for Kafka modules. |
| 2310 | Removes dependency for rdkafka.so. [default=no] |
| 2311 | --enable-omazuredce Compiles omazuredce output module [default=no] |
| 2312 | --enable-omazureeventhubs |
| 2313 | Compiles AzureEventHubs output module [default=no] |
| 2314 | --enable-qpidproton_static |
| 2315 | Enable static library linking for qpid-proton |
| 2316 | (required by omazureeventhubs module). Removes |
| 2317 | dependency for libqpid-proton*.so. [default=no] |
| 2318 | --enable-ommongodb Compiles ommongodb module [default=no] |
| 2319 | --enable-imdtls Compiles DTLS syslog input module [default=no] |
| 2320 | --enable-omdtls Compiles DTLS syslog output module [default=no] |
| 2321 | --enable-imczmq Compiles imczmq output module [default=no] |
| 2322 | --enable-omczmq Compiles omczmq output module [default=no] |
| 2323 | --enable-omrabbitmq Compiles omrabbitmq output module [default=no] |
| 2324 | --enable-imhiredis Compiles imhiredis input module [default=no] |
| 2325 | --enable-omhiredis Compiles omhiredis template module [default=no] |
| 2326 | --enable-redis-tests Enable redis tests, needs redis-server [default=no] |
| 2327 | --enable-redis-ssl Enable redis ssl support [default=no] |
| 2328 | --enable-omhttpfs Compiles omhttpfs template module [default=no] |
| 2329 | --enable-omamqp1 Compiles omamqp1 output module [default=no] |
| 2330 | --enable-omtcl Compiles omtcl output module [default=no] |
| 2331 | --enable-mmkubernetes Enable compilation of the mmkubernetes module |
| 2332 | [default=no] |
| 2333 | --enable-mmtaghostname Enable Tag and Hostname messages' modifier |
| 2334 | [default=no] |
| 2335 | --enable-generate-man-pages |
| 2336 | Generate man pages from source [default=no] |
| 2337 | --enable-distcheck-workaround |
| 2338 | enable to use make distcheck without runing |
| 2339 | testbench inside it [default=no] |
| 2340 | |
| 2341 | Optional Packages: |
| 2342 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 2343 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 2344 | --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
| 2345 | both] |
| 2346 | --with-aix-soname=aix|svr4|both |
| 2347 | shared library versioning (aka "SONAME") variant to |
| 2348 | provide on AIX, [default=aix]. |
| 2349 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
| 2350 | --with-sysroot[=DIR] Search for dependent libraries within DIR (or the |
| 2351 | compiler's sysroot if not specified). |
| 2352 | --with-python-sys-prefix |
| 2353 | use Python's sys.prefix and sys.exec_prefix values |
| 2354 | --with-python_prefix override the default PYTHON_PREFIX |
| 2355 | --with-python_exec_prefix |
| 2356 | override the default PYTHON_EXEC_PREFIX |
| 2357 | --with-moddirs=DIRS Additional module search paths appended to |
| 2358 | [$libdir/rsyslog] |
| 2359 | --without-valgrind-testbench |
| 2360 | Don't use valgrind in testbench |
| 2361 | |
| 2362 | --with-tcl directory containing tcl configuration |
| 2363 | (tclConfig.sh) |
| 2364 | |
| 2365 | Some influential environment variables: |
| 2366 | CC C compiler command |
| 2367 | CFLAGS C compiler flags |
| 2368 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 2369 | nonstandard directory <lib dir> |
| 2370 | LIBS libraries to pass to the linker, e.g. -l<library> |
| 2371 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 2372 | you have headers in a nonstandard directory <include dir> |
| 2373 | YACC The `Yet Another Compiler Compiler' implementation to use. |
| 2374 | Defaults to the first program found out of: `bison -y', `byacc', |
| 2375 | `yacc'. |
| 2376 | YFLAGS The list of arguments that will be passed by default to $YACC. |
| 2377 | This script will default YFLAGS to the empty string to avoid a |
| 2378 | default value of `-d' given by some make applications. |
| 2379 | LT_SYS_LIBRARY_PATH |
| 2380 | User-defined run-time library search path. |
| 2381 | PKG_CONFIG path to pkg-config utility |
| 2382 | PKG_CONFIG_PATH |
| 2383 | directories to add to pkg-config's search path |
| 2384 | PKG_CONFIG_LIBDIR |
| 2385 | path overriding pkg-config's built-in search path |
| 2386 | CONF_FILE_PATH |
| 2387 | Configuration file path (default : /etc/rsyslog.conf) |
| 2388 | PID_FILE_PATH |
| 2389 | Pid file path (default : /var/run/rsyslogd.pid) |
| 2390 | LIBESTR_CFLAGS |
| 2391 | C compiler flags for LIBESTR, overriding pkg-config |
| 2392 | LIBESTR_LIBS |
| 2393 | linker flags for LIBESTR, overriding pkg-config |
| 2394 | LIBFASTJSON_CFLAGS |
| 2395 | C compiler flags for LIBFASTJSON, overriding pkg-config |
| 2396 | LIBFASTJSON_LIBS |
| 2397 | linker flags for LIBFASTJSON, overriding pkg-config |
| 2398 | PYTHON the Python interpreter |
| 2399 | LIBYAML_CFLAGS |
| 2400 | C compiler flags for LIBYAML, overriding pkg-config |
| 2401 | LIBYAML_LIBS |
| 2402 | linker flags for LIBYAML, overriding pkg-config |
| 2403 | CPP C preprocessor |
| 2404 | ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config |
| 2405 | ZLIB_LIBS linker flags for ZLIB, overriding pkg-config |
| 2406 | LIBCAPNG_PRESENT_CFLAGS |
| 2407 | C compiler flags for LIBCAPNG_PRESENT, overriding pkg-config |
| 2408 | LIBCAPNG_PRESENT_LIBS |
| 2409 | linker flags for LIBCAPNG_PRESENT, overriding pkg-config |
| 2410 | LIBCAPNG_CFLAGS |
| 2411 | C compiler flags for LIBCAPNG, overriding pkg-config |
| 2412 | LIBCAPNG_LIBS |
| 2413 | linker flags for LIBCAPNG, overriding pkg-config |
| 2414 | LIBSYSTEMD_JOURNAL_CFLAGS |
| 2415 | C compiler flags for LIBSYSTEMD_JOURNAL, overriding pkg-config |
| 2416 | LIBSYSTEMD_JOURNAL_LIBS |
| 2417 | linker flags for LIBSYSTEMD_JOURNAL, overriding pkg-config |
| 2418 | LIBSYSTEMD_CFLAGS |
| 2419 | C compiler flags for LIBSYSTEMD, overriding pkg-config |
| 2420 | LIBSYSTEMD_LIBS |
| 2421 | linker flags for LIBSYSTEMD, overriding pkg-config |
| 2422 | MYSQL_CFLAGS |
| 2423 | C compiler flags for MYSQL, overriding pkg-config |
| 2424 | MYSQL_LIBS linker flags for MYSQL, overriding pkg-config |
| 2425 | PGSQL_CFLAGS |
| 2426 | C compiler flags for PGSQL, overriding pkg-config |
| 2427 | PGSQL_LIBS linker flags for PGSQL, overriding pkg-config |
| 2428 | LIBUUID_CFLAGS |
| 2429 | C compiler flags for LIBUUID, overriding pkg-config |
| 2430 | LIBUUID_LIBS |
| 2431 | linker flags for LIBUUID, overriding pkg-config |
| 2432 | CURL_CFLAGS C compiler flags for CURL, overriding pkg-config |
| 2433 | CURL_LIBS linker flags for CURL, overriding pkg-config |
| 2434 | WOLFSSL_CFLAGS |
| 2435 | C compiler flags for WOLFSSL, overriding pkg-config |
| 2436 | WOLFSSL_LIBS |
| 2437 | linker flags for WOLFSSL, overriding pkg-config |
| 2438 | OPENSSL_CFLAGS |
| 2439 | C compiler flags for OPENSSL, overriding pkg-config |
| 2440 | OPENSSL_LIBS |
| 2441 | linker flags for OPENSSL, overriding pkg-config |
| 2442 | GNUTLS_CFLAGS |
| 2443 | C compiler flags for GNUTLS, overriding pkg-config |
| 2444 | GNUTLS_LIBS linker flags for GNUTLS, overriding pkg-config |
| 2445 | MBEDTLS_CFLAGS |
| 2446 | C compiler flags for MBEDTLS, overriding pkg-config |
| 2447 | MBEDTLS_LIBS |
| 2448 | linker flags for MBEDTLS, overriding pkg-config |
| 2449 | ZSTD_CFLAGS C compiler flags for ZSTD, overriding pkg-config |
| 2450 | ZSTD_LIBS linker flags for ZSTD, overriding pkg-config |
| 2451 | LIBLOGNORM_CFLAGS |
| 2452 | C compiler flags for LIBLOGNORM, overriding pkg-config |
| 2453 | LIBLOGNORM_LIBS |
| 2454 | linker flags for LIBLOGNORM, overriding pkg-config |
| 2455 | RELP_CFLAGS C compiler flags for RELP, overriding pkg-config |
| 2456 | RELP_LIBS linker flags for RELP, overriding pkg-config |
| 2457 | GT_KSI_LS12_CFLAGS |
| 2458 | C compiler flags for GT_KSI_LS12, overriding pkg-config |
| 2459 | GT_KSI_LS12_LIBS |
| 2460 | linker flags for GT_KSI_LS12, overriding pkg-config |
| 2461 | LIBLOGGING_STDLOG_CFLAGS |
| 2462 | C compiler flags for LIBLOGGING_STDLOG, overriding pkg-config |
| 2463 | LIBLOGGING_STDLOG_LIBS |
| 2464 | linker flags for LIBLOGGING_STDLOG, overriding pkg-config |
| 2465 | LIBLOGGING_CFLAGS |
| 2466 | C compiler flags for LIBLOGGING, overriding pkg-config |
| 2467 | LIBLOGGING_LIBS |
| 2468 | linker flags for LIBLOGGING, overriding pkg-config |
| 2469 | APU_CFLAGS C compiler flags for APU, overriding pkg-config |
| 2470 | APU_LIBS linker flags for APU, overriding pkg-config |
| 2471 | IMPSTATS_PUSH_CURL_CFLAGS |
| 2472 | C compiler flags for IMPSTATS_PUSH_CURL, overriding pkg-config |
| 2473 | IMPSTATS_PUSH_CURL_LIBS |
| 2474 | linker flags for IMPSTATS_PUSH_CURL, overriding pkg-config |
| 2475 | IMPSTATS_PUSH_PROTOBUF_CFLAGS |
| 2476 | C compiler flags for IMPSTATS_PUSH_PROTOBUF, overriding |
| 2477 | pkg-config |
| 2478 | IMPSTATS_PUSH_PROTOBUF_LIBS |
| 2479 | linker flags for IMPSTATS_PUSH_PROTOBUF, overriding pkg-config |
| 2480 | IMPSTATS_PUSH_SNAPPY_CFLAGS |
| 2481 | C compiler flags for IMPSTATS_PUSH_SNAPPY, overriding pkg-config |
| 2482 | IMPSTATS_PUSH_SNAPPY_LIBS |
| 2483 | linker flags for IMPSTATS_PUSH_SNAPPY, overriding pkg-config |
| 2484 | OMOTEL_HTTP_CFLAGS |
| 2485 | C compiler flags for OMOTEL_HTTP, overriding pkg-config |
| 2486 | OMOTEL_HTTP_LIBS |
| 2487 | linker flags for OMOTEL_HTTP, overriding pkg-config |
| 2488 | OMOTEL_PROTOBUF_CFLAGS |
| 2489 | C compiler flags for OMOTEL_PROTOBUF, overriding pkg-config |
| 2490 | OMOTEL_PROTOBUF_LIBS |
| 2491 | linker flags for OMOTEL_PROTOBUF, overriding pkg-config |
| 2492 | LIBRDKAFKA_CFLAGS |
| 2493 | C compiler flags for LIBRDKAFKA, overriding pkg-config |
| 2494 | LIBRDKAFKA_LIBS |
| 2495 | linker flags for LIBRDKAFKA, overriding pkg-config |
| 2496 | LIBLZ4_CFLAGS |
| 2497 | C compiler flags for LIBLZ4, overriding pkg-config |
| 2498 | LIBLZ4_LIBS linker flags for LIBLZ4, overriding pkg-config |
| 2499 | PROTON_CFLAGS |
| 2500 | C compiler flags for PROTON, overriding pkg-config |
| 2501 | PROTON_LIBS linker flags for PROTON, overriding pkg-config |
| 2502 | PROTON_PROACTOR_CFLAGS |
| 2503 | C compiler flags for PROTON_PROACTOR, overriding pkg-config |
| 2504 | PROTON_PROACTOR_LIBS |
| 2505 | linker flags for PROTON_PROACTOR, overriding pkg-config |
| 2506 | LIBMONGOC_CFLAGS |
| 2507 | C compiler flags for LIBMONGOC, overriding pkg-config |
| 2508 | LIBMONGOC_LIBS |
| 2509 | linker flags for LIBMONGOC, overriding pkg-config |
| 2510 | CZMQ_CFLAGS C compiler flags for CZMQ, overriding pkg-config |
| 2511 | CZMQ_LIBS linker flags for CZMQ, overriding pkg-config |
| 2512 | RABBITMQ_CFLAGS |
| 2513 | C compiler flags for RABBITMQ, overriding pkg-config |
| 2514 | RABBITMQ_LIBS |
| 2515 | linker flags for RABBITMQ, overriding pkg-config |
| 2516 | HIREDIS_CFLAGS |
| 2517 | C compiler flags for HIREDIS, overriding pkg-config |
| 2518 | HIREDIS_LIBS |
| 2519 | linker flags for HIREDIS, overriding pkg-config |
| 2520 | HIREDIS_SSL_CFLAGS |
| 2521 | C compiler flags for HIREDIS_SSL, overriding pkg-config |
| 2522 | HIREDIS_SSL_LIBS |
| 2523 | linker flags for HIREDIS_SSL, overriding pkg-config |
| 2524 | LIBEVENT_CFLAGS |
| 2525 | C compiler flags for LIBEVENT, overriding pkg-config |
| 2526 | LIBEVENT_LIBS |
| 2527 | linker flags for LIBEVENT, overriding pkg-config |
| 2528 | |
| 2529 | Use these variables to override the choices made by `configure' or to help |
| 2530 | it to find libraries and programs with nonstandard names/locations. |
| 2531 | |
| 2532 | Report bugs to <[email protected]>. |
| 2533 | _ACEOF |
| 2534 | ac_status=$? |
| 2535 | fi |
| 2536 | |
| 2537 | if testscip-shell system . . test. "$ac_init_help" = "recursive"; then |
| 2538 | # If there are subdirs, report their specific --help. |
| 2539 | for ac_dir in : $ac_subdirs_all; do testscip-shell system . . test. "x$ac_dir" = x: && continue |
| 2540 | testscip-shell system . . test. -d "$ac_dir" || |
| 2541 | { cd "$srcdir" && ac_pwd=`pwdscip-shell system . . pwd.` && srcdir=. && testscip-shell system . . test. -d "$ac_dir"; } || |
| 2542 | continue |
| 2543 | ac_builddir=. |
| 2544 | |
| 2545 | case "$ac_dir" in |
| 2546 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 2547 | *) |
| 2548 | ac_dir_suffix=/`printfscip-shell system . . printf. "%s\n" "$ac_dir" | sedscip-shell system . . sed. 's|^\.[\\/]||'` |
| 2549 | # A ".." for each directory in $ac_dir_suffix. |
| 2550 | ac_top_builddir_sub=`printfscip-shell system . . printf. "%s\n" "$ac_dir_suffix" | sedscip-shell system . . sed. 's|/[^\\/]*|/..|g;s|/||'` |
| 2551 | case $ac_top_builddir_sub in |
| 2552 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 2553 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 2554 | esac ;; |
| 2555 | esac |
| 2556 | ac_abs_top_builddir=$ac_pwd |
| 2557 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 2558 | # for backward compatibility: |
| 2559 | ac_top_builddir=$ac_top_build_prefix |
| 2560 | |
| 2561 | case $srcdir in |
| 2562 | .) # We are building in place. |
| 2563 | ac_srcdir=. |
| 2564 | ac_top_srcdir=$ac_top_builddir_sub |
| 2565 | ac_abs_top_srcdir=$ac_pwd ;; |
| 2566 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 2567 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 2568 | ac_top_srcdir=$srcdir |
| 2569 | ac_abs_top_srcdir=$srcdir ;; |
| 2570 | *) # Relative name. |
| 2571 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 2572 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 2573 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 2574 | esac |
| 2575 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 2576 | |
| 2577 | cd "$ac_dir" || { ac_status=$?; continue; } |
| 2578 | # Check for configure.gnu first; this name is used for a wrapper for |
| 2579 | # Metaconfig's "Configure" on case-insensitive file systems. |
| 2580 | if testscip-shell system . . test. -f "$ac_srcdir/configure.gnu"; then |
| 2581 | echoscip-shell system . . echo. && |
| 2582 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 2583 | elif testscip-shell system . . test. -f "$ac_srcdir/configure"; then |
| 2584 | echoscip-shell system . . echo. && |
| 2585 | $SHELL "$ac_srcdir/configure" --help=recursive |
| 2586 | else |
| 2587 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 2588 | fi || ac_status=$? |
| 2589 | cd "$ac_pwd" || { ac_status=$?; break; } |
| 2590 | done |
| 2591 | fi |
| 2592 | |
| 2593 | testscip-shell system . . test. -n "$ac_init_help" && exit $ac_status |
| 2594 | if $ac_init_version; then |
| 2595 | catscip-shell system . . cat. <<\_ACEOF |
| 2596 | rsyslog configure 8.2604.0 |
| 2597 | generated by GNU Autoconf 2.71 |
| 2598 | |
| 2599 | Copyright (C) 2021 Free Software Foundation, Inc. |
| 2600 | This configure script is free software; the Free Software Foundation |
| 2601 | gives unlimited permission to copy, distribute and modify it. |
| 2602 | _ACEOF |
| 2603 | exit |
| 2604 | fi |
| 2605 | |
| 2606 | ## ------------------------ ## |
| 2607 | ## Autoconf initialization. ## |
| 2608 | ## ------------------------ ## |
| 2609 | |
| 2610 | # ac_fn_c_try_compile LINENO |
| 2611 | # -------------------------- |
| 2612 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
| 2613 | ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). () |
| 2614 | { |
| 2615 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2616 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam |
| 2617 | if { { ac_try="$ac_compile" |
| 2618 | case "(($ac_try" in |
| 2619 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2620 | *) ac_try_echo=$ac_try;; |
| 2621 | esac |
| 2622 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2623 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 2624 | (eval "$ac_compile") 2>conftest.err |
| 2625 | ac_status=$? |
| 2626 | if testscip-shell system . . test. -s conftest.err; then |
| 2627 | grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1 |
| 2628 | catscip-shell system . . cat. conftest.er1 >&5 |
| 2629 | mvscip-shell system . . mv. -f conftest.er1 conftest.err |
| 2630 | fi |
| 2631 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2632 | testscip-shell system . . test. $ac_status = 0; } && { |
| 2633 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 2634 | testscip-shell system . . test. ! -s conftest.err |
| 2635 | } && testscip-shell system . . test. -s conftest.$ac_objext |
| 2636 | then : |
| 2637 | ac_retval=0 |
| 2638 | else $as_nop |
| 2639 | printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 2640 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2641 | |
| 2642 | ac_retval=1 |
| 2643 | fi |
| 2644 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2645 | as_fn_set_statusscip-shell shell rsyslog 8.2604.0-4 as_fn_set_status(). $ac_retval |
| 2646 | |
| 2647 | } # ac_fn_c_try_compile |
| 2648 | |
| 2649 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
| 2650 | # ------------------------------------------------------- |
| 2651 | # Tests whether HEADER exists and can be compiled using the include files in |
| 2652 | # INCLUDES, setting the cache variable VAR accordingly. |
| 2653 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). () |
| 2654 | { |
| 2655 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2656 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2657 | printfscip-shell system . . printf. %s "checking for $2... " >&6; } |
| 2658 | if eval test \${$3+y} |
| 2659 | then : |
| 2660 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 2661 | else $as_nop |
| 2662 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2663 | /* end confdefs.h. */ |
| 2664 | $4 |
| 2665 | #include <$2> |
| 2666 | _ACEOF |
| 2667 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 2668 | then : |
| 2669 | eval "$3=yes" |
| 2670 | else $as_nop |
| 2671 | eval "$3=no" |
| 2672 | fi |
| 2673 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2674 | fi |
| 2675 | eval ac_res=\$$3 |
| 2676 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2677 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 2678 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2679 | |
| 2680 | } # ac_fn_c_check_header_compile |
| 2681 | |
| 2682 | # ac_fn_c_try_link LINENO |
| 2683 | # ----------------------- |
| 2684 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
| 2685 | ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). () |
| 2686 | { |
| 2687 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2688 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam conftest$ac_exeext |
| 2689 | if { { ac_try="$ac_link" |
| 2690 | case "(($ac_try" in |
| 2691 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2692 | *) ac_try_echo=$ac_try;; |
| 2693 | esac |
| 2694 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2695 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 2696 | (eval "$ac_link") 2>conftest.err |
| 2697 | ac_status=$? |
| 2698 | if testscip-shell system . . test. -s conftest.err; then |
| 2699 | grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1 |
| 2700 | catscip-shell system . . cat. conftest.er1 >&5 |
| 2701 | mvscip-shell system . . mv. -f conftest.er1 conftest.err |
| 2702 | fi |
| 2703 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2704 | testscip-shell system . . test. $ac_status = 0; } && { |
| 2705 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 2706 | testscip-shell system . . test. ! -s conftest.err |
| 2707 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 2708 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 2709 | testscip-shell system . . test. -x conftest$ac_exeext |
| 2710 | } |
| 2711 | then : |
| 2712 | ac_retval=0 |
| 2713 | else $as_nop |
| 2714 | printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 2715 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2716 | |
| 2717 | ac_retval=1 |
| 2718 | fi |
| 2719 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
| 2720 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
| 2721 | # interfere with the next link command; also delete a directory that is |
| 2722 | # left behind by Apple's compiler. We do this before executing the actions. |
| 2723 | rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 2724 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2725 | as_fn_set_statusscip-shell shell rsyslog 8.2604.0-4 as_fn_set_status(). $ac_retval |
| 2726 | |
| 2727 | } # ac_fn_c_try_link |
| 2728 | |
| 2729 | # ac_fn_c_check_func LINENO FUNC VAR |
| 2730 | # ---------------------------------- |
| 2731 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
| 2732 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). () |
| 2733 | { |
| 2734 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2735 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2736 | printfscip-shell system . . printf. %s "checking for $2... " >&6; } |
| 2737 | if eval test \${$3+y} |
| 2738 | then : |
| 2739 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 2740 | else $as_nop |
| 2741 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2742 | /* end confdefs.h. */ |
| 2743 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
| 2744 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 2745 | #define $2 innocuous_$2 |
| 2746 | |
| 2747 | /* System header to define __stub macros and hopefully few prototypes, |
| 2748 | which can conflict with char $2 (); below. */ |
| 2749 | |
| 2750 | #include <limits.h> |
| 2751 | #undef $2 |
| 2752 | |
| 2753 | /* Override any GCC internal prototype to avoid an error. |
| 2754 | Use char because int might match the return type of a GCC |
| 2755 | builtin and then its argument prototype would still apply. */ |
| 2756 | #ifdef __cplusplus |
| 2757 | extern "C" |
| 2758 | #endif |
| 2759 | char $2 (); |
| 2760 | /* The GNU C library defines this for functions which it implements |
| 2761 | to always fail with ENOSYS. Some functions are actually named |
| 2762 | something starting with __ and the normal name is an alias. */ |
| 2763 | #if defined __stub_$2 || defined __stub___$2 |
| 2764 | choke me |
| 2765 | #endif |
| 2766 | |
| 2767 | int |
| 2768 | main (void) |
| 2769 | { |
| 2770 | return $2 (); |
| 2771 | ; |
| 2772 | return 0; |
| 2773 | } |
| 2774 | _ACEOF |
| 2775 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 2776 | then : |
| 2777 | eval "$3=yes" |
| 2778 | else $as_nop |
| 2779 | eval "$3=no" |
| 2780 | fi |
| 2781 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 2782 | conftest$ac_exeext conftest.$ac_ext |
| 2783 | fi |
| 2784 | eval ac_res=\$$3 |
| 2785 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2786 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 2787 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2788 | |
| 2789 | } # ac_fn_c_check_func |
| 2790 | |
| 2791 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
| 2792 | # ------------------------------------------- |
| 2793 | # Tests whether TYPE exists after having included INCLUDES, setting cache |
| 2794 | # variable VAR accordingly. |
| 2795 | ac_fn_c_check_typescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_type(). () |
| 2796 | { |
| 2797 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2798 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2799 | printfscip-shell system . . printf. %s "checking for $2... " >&6; } |
| 2800 | if eval test \${$3+y} |
| 2801 | then : |
| 2802 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 2803 | else $as_nop |
| 2804 | eval "$3=no" |
| 2805 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2806 | /* end confdefs.h. */ |
| 2807 | $4 |
| 2808 | int |
| 2809 | main (void) |
| 2810 | { |
| 2811 | if (sizeof ($2)) |
| 2812 | return 0; |
| 2813 | ; |
| 2814 | return 0; |
| 2815 | } |
| 2816 | _ACEOF |
| 2817 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 2818 | then : |
| 2819 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2820 | /* end confdefs.h. */ |
| 2821 | $4 |
| 2822 | int |
| 2823 | main (void) |
| 2824 | { |
| 2825 | if (sizeof (($2))) |
| 2826 | return 0; |
| 2827 | ; |
| 2828 | return 0; |
| 2829 | } |
| 2830 | _ACEOF |
| 2831 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 2832 | then : |
| 2833 | |
| 2834 | else $as_nop |
| 2835 | eval "$3=yes" |
| 2836 | fi |
| 2837 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2838 | fi |
| 2839 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2840 | fi |
| 2841 | eval ac_res=\$$3 |
| 2842 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2843 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 2844 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2845 | |
| 2846 | } # ac_fn_c_check_type |
| 2847 | |
| 2848 | # ac_fn_c_try_cpp LINENO |
| 2849 | # ---------------------- |
| 2850 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
| 2851 | ac_fn_c_try_cppscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_cpp(). () |
| 2852 | { |
| 2853 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2854 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
| 2855 | case "(($ac_try" in |
| 2856 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2857 | *) ac_try_echo=$ac_try;; |
| 2858 | esac |
| 2859 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2860 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 2861 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
| 2862 | ac_status=$? |
| 2863 | if testscip-shell system . . test. -s conftest.err; then |
| 2864 | grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1 |
| 2865 | catscip-shell system . . cat. conftest.er1 >&5 |
| 2866 | mvscip-shell system . . mv. -f conftest.er1 conftest.err |
| 2867 | fi |
| 2868 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2869 | testscip-shell system . . test. $ac_status = 0; } > conftest.i && { |
| 2870 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 2871 | testscip-shell system . . test. ! -s conftest.err |
| 2872 | } |
| 2873 | then : |
| 2874 | ac_retval=0 |
| 2875 | else $as_nop |
| 2876 | printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 2877 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2878 | |
| 2879 | ac_retval=1 |
| 2880 | fi |
| 2881 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2882 | as_fn_set_statusscip-shell shell rsyslog 8.2604.0-4 as_fn_set_status(). $ac_retval |
| 2883 | |
| 2884 | } # ac_fn_c_try_cpp |
| 2885 | |
| 2886 | # ac_fn_c_find_uintX_t LINENO BITS VAR |
| 2887 | # ------------------------------------ |
| 2888 | # Finds an unsigned integer type with width BITS, setting cache variable VAR |
| 2889 | # accordingly. |
| 2890 | ac_fn_c_find_uintX_tscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_find_uintX_t(). () |
| 2891 | { |
| 2892 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2893 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
| 2894 | printfscip-shell system . . printf. %s "checking for uint$2_t... " >&6; } |
| 2895 | if eval test \${$3+y} |
| 2896 | then : |
| 2897 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 2898 | else $as_nop |
| 2899 | eval "$3=no" |
| 2900 | # Order is important - never check a type that is potentially smaller |
| 2901 | # than half of the expected target width. |
| 2902 | for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ |
| 2903 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
| 2904 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2905 | /* end confdefs.h. */ |
| 2906 | $ac_includes_default |
| 2907 | int |
| 2908 | main (void) |
| 2909 | { |
| 2910 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; |
| 2911 | test_array [0] = 0; |
| 2912 | return test_array [0]; |
| 2913 | |
| 2914 | ; |
| 2915 | return 0; |
| 2916 | } |
| 2917 | _ACEOF |
| 2918 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 2919 | then : |
| 2920 | case $ac_type in #( |
| 2921 | uint$2_t) : |
| 2922 | eval "$3=yes" ;; #( |
| 2923 | *) : |
| 2924 | eval "$3=\$ac_type" ;; |
| 2925 | esac |
| 2926 | fi |
| 2927 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2928 | if eval test \"x\$"$3"\" = x"no" |
| 2929 | then : |
| 2930 | |
| 2931 | else $as_nop |
| 2932 | break |
| 2933 | fi |
| 2934 | done |
| 2935 | fi |
| 2936 | eval ac_res=\$$3 |
| 2937 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2938 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 2939 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2940 | |
| 2941 | } # ac_fn_c_find_uintX_t |
| 2942 | |
| 2943 | # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
| 2944 | # ---------------------------------------------------- |
| 2945 | # Tries to find if the field MEMBER exists in type AGGR, after including |
| 2946 | # INCLUDES, setting cache variable VAR accordingly. |
| 2947 | ac_fn_c_check_memberscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_member(). () |
| 2948 | { |
| 2949 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2950 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
| 2951 | printfscip-shell system . . printf. %s "checking for $2.$3... " >&6; } |
| 2952 | if eval test \${$4+y} |
| 2953 | then : |
| 2954 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 2955 | else $as_nop |
| 2956 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2957 | /* end confdefs.h. */ |
| 2958 | $5 |
| 2959 | int |
| 2960 | main (void) |
| 2961 | { |
| 2962 | static $2 ac_aggr; |
| 2963 | if (ac_aggr.$3) |
| 2964 | return 0; |
| 2965 | ; |
| 2966 | return 0; |
| 2967 | } |
| 2968 | _ACEOF |
| 2969 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 2970 | then : |
| 2971 | eval "$4=yes" |
| 2972 | else $as_nop |
| 2973 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2974 | /* end confdefs.h. */ |
| 2975 | $5 |
| 2976 | int |
| 2977 | main (void) |
| 2978 | { |
| 2979 | static $2 ac_aggr; |
| 2980 | if (sizeof ac_aggr.$3) |
| 2981 | return 0; |
| 2982 | ; |
| 2983 | return 0; |
| 2984 | } |
| 2985 | _ACEOF |
| 2986 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 2987 | then : |
| 2988 | eval "$4=yes" |
| 2989 | else $as_nop |
| 2990 | eval "$4=no" |
| 2991 | fi |
| 2992 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2993 | fi |
| 2994 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2995 | fi |
| 2996 | eval ac_res=\$$4 |
| 2997 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2998 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 2999 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 3000 | |
| 3001 | } # ac_fn_c_check_member |
| 3002 | |
| 3003 | # ac_fn_c_try_run LINENO |
| 3004 | # ---------------------- |
| 3005 | # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that |
| 3006 | # executables *can* be run. |
| 3007 | ac_fn_c_try_runscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_run(). () |
| 3008 | { |
| 3009 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 3010 | if { { ac_try="$ac_link" |
| 3011 | case "(($ac_try" in |
| 3012 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3013 | *) ac_try_echo=$ac_try;; |
| 3014 | esac |
| 3015 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3016 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 3017 | (eval "$ac_link") 2>&5 |
| 3018 | ac_status=$? |
| 3019 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3020 | testscip-shell system . . test. $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
| 3021 | { { case "(($ac_try" in |
| 3022 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3023 | *) ac_try_echo=$ac_try;; |
| 3024 | esac |
| 3025 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3026 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 3027 | (eval "$ac_try") 2>&5 |
| 3028 | ac_status=$? |
| 3029 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3030 | testscip-shell system . . test. $ac_status = 0; }; } |
| 3031 | then : |
| 3032 | ac_retval=0 |
| 3033 | else $as_nop |
| 3034 | printfscip-shell system . . printf. "%s\n" "$as_me: program exited with status $ac_status" >&5 |
| 3035 | printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 3036 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 3037 | |
| 3038 | ac_retval=$ac_status |
| 3039 | fi |
| 3040 | rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 3041 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 3042 | as_fn_set_statusscip-shell shell rsyslog 8.2604.0-4 as_fn_set_status(). $ac_retval |
| 3043 | |
| 3044 | } # ac_fn_c_try_run |
| 3045 | |
| 3046 | # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR |
| 3047 | # ------------------------------------------------------------------ |
| 3048 | # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
| 3049 | # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. |
| 3050 | ac_fn_check_declscip-shell shell rsyslog 8.2604.0-4 ac_fn_check_decl(). () |
| 3051 | { |
| 3052 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 3053 | as_decl_name=`echoscip-shell system . . echo. $2|sedscip-shell system . . sed. 's/ *(.*//'` |
| 3054 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
| 3055 | printfscip-shell system . . printf. %s "checking whether $as_decl_name is declared... " >&6; } |
| 3056 | if eval test \${$3+y} |
| 3057 | then : |
| 3058 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3059 | else $as_nop |
| 3060 | as_decl_use=`echoscip-shell system . . echo. $2|sedscip-shell system . . sed. -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
| 3061 | eval ac_save_FLAGS=\$$6 |
| 3062 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). $6 " $5" |
| 3063 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3064 | /* end confdefs.h. */ |
| 3065 | $4 |
| 3066 | int |
| 3067 | main (void) |
| 3068 | { |
| 3069 | #ifndef $as_decl_name |
| 3070 | #ifdef __cplusplus |
| 3071 | (void) $as_decl_use; |
| 3072 | #else |
| 3073 | (void) $as_decl_name; |
| 3074 | #endif |
| 3075 | #endif |
| 3076 | |
| 3077 | ; |
| 3078 | return 0; |
| 3079 | } |
| 3080 | _ACEOF |
| 3081 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 3082 | then : |
| 3083 | eval "$3=yes" |
| 3084 | else $as_nop |
| 3085 | eval "$3=no" |
| 3086 | fi |
| 3087 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 3088 | eval $6=\$ac_save_FLAGS |
| 3089 | |
| 3090 | fi |
| 3091 | eval ac_res=\$$3 |
| 3092 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 3093 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 3094 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 3095 | |
| 3096 | } # ac_fn_check_decl |
| 3097 | ac_configure_args_raw= |
| 3098 | for ac_arg |
| 3099 | do |
| 3100 | case $ac_arg in |
| 3101 | *\'*) |
| 3102 | ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;; |
| 3103 | esac |
| 3104 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_configure_args_raw " '$ac_arg'" |
| 3105 | done |
| 3106 | |
| 3107 | case $ac_configure_args_raw in |
| 3108 | *$as_nl*) |
| 3109 | ac_safe_unquote= ;; |
| 3110 | *) |
| 3111 | ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. |
| 3112 | ac_unsafe_a="$ac_unsafe_z#~" |
| 3113 | ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" |
| 3114 | ac_configure_args_raw=` printfscip-shell system . . printf. "%s\n" "$ac_configure_args_raw" | sedscip-shell system . . sed. "$ac_safe_unquote"`;; |
| 3115 | esac |
| 3116 | |
| 3117 | catscip-shell system . . cat. >config.log <<_ACEOF |
| 3118 | This file contains any messages produced by compilers while |
| 3119 | running configure, to aid debugging if configure makes a mistake. |
| 3120 | |
| 3121 | It was created by rsyslog $as_me 8.2604.0, which was |
| 3122 | generated by GNU Autoconf 2.71. Invocation command line was |
| 3123 | |
| 3124 | $ $0$ac_configure_args_raw |
| 3125 | |
| 3126 | _ACEOF |
| 3127 | exec 5>>config.log |
| 3128 | { |
| 3129 | catscip-shell system . . cat. <<_ASUNAME |
| 3130 | ## --------- ## |
| 3131 | ## Platform. ## |
| 3132 | ## --------- ## |
| 3133 | |
| 3134 | hostname = `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q` |
| 3135 | uname -m = `(unamescip-shell system . . uname. -m) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 3136 | uname -r = `(unamescip-shell system . . uname. -r) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 3137 | uname -s = `(unamescip-shell system . . uname. -s) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 3138 | uname -v = `(unamescip-shell system . . uname. -v) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 3139 | |
| 3140 | /usr/bin/uname -p = `(/usr/bin/unamescip-shell filesystem . . `/usr/bin/uname`. -p) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 3141 | /bin/uname -X = `(/bin/unamescip-shell filesystem . . `/bin/uname`. -X) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 3142 | |
| 3143 | /bin/arch = `(/bin/archscip-shell filesystem . . `/bin/arch`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 3144 | /usr/bin/arch -k = `(/usr/bin/archscip-shell filesystem . . `/usr/bin/arch`. -k) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 3145 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfoscip-shell filesystem . . `/usr/convex/getsysinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 3146 | /usr/bin/hostinfo = `(/usr/bin/hostinfoscip-shell filesystem . . `/usr/bin/hostinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 3147 | /bin/machine = `(/bin/machinescip-shell filesystem . . `/bin/machine`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 3148 | /usr/bin/oslevel = `(/usr/bin/oslevelscip-shell filesystem . . `/usr/bin/oslevel`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 3149 | /bin/universe = `(/bin/universescip-shell filesystem . . `/bin/universe`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 3150 | |
| 3151 | _ASUNAME |
| 3152 | |
| 3153 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3154 | for as_dir in $PATH |
| 3155 | do |
| 3156 | IFS=$as_save_IFS |
| 3157 | case $as_dir in #((( |
| 3158 | '') as_dir=./ ;; |
| 3159 | */) ;; |
| 3160 | *) as_dir=$as_dir/ ;; |
| 3161 | esac |
| 3162 | printfscip-shell system . . printf. "%s\n" "PATH: $as_dir" |
| 3163 | done |
| 3164 | IFS=$as_save_IFS |
| 3165 | |
| 3166 | } >&5 |
| 3167 | |
| 3168 | catscip-shell system . . cat. >&5 <<_ACEOF |
| 3169 | |
| 3170 | |
| 3171 | ## ----------- ## |
| 3172 | ## Core tests. ## |
| 3173 | ## ----------- ## |
| 3174 | |
| 3175 | _ACEOF |
| 3176 | |
| 3177 | |
| 3178 | # Keep a trace of the command line. |
| 3179 | # Strip out --no-create and --no-recursion so they do not pile up. |
| 3180 | # Strip out --silent because we don't want to record it for future runs. |
| 3181 | # Also quote any args containing shell meta-characters. |
| 3182 | # Make two passes to allow for proper duplicate-argument suppression. |
| 3183 | ac_configure_args= |
| 3184 | ac_configure_args0= |
| 3185 | ac_configure_args1= |
| 3186 | ac_must_keep_next=false |
| 3187 | for ac_pass in 1 2 |
| 3188 | do |
| 3189 | for ac_arg |
| 3190 | do |
| 3191 | case $ac_arg in |
| 3192 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| 3193 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 3194 | | -silent | --silent | --silen | --sile | --sil) |
| 3195 | continue ;; |
| 3196 | *\'*) |
| 3197 | ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;; |
| 3198 | esac |
| 3199 | case $ac_pass in |
| 3200 | 1) as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_configure_args0 " '$ac_arg'" ;; |
| 3201 | 2) |
| 3202 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_configure_args1 " '$ac_arg'" |
| 3203 | if testscip-shell system . . test. $ac_must_keep_next = true; then |
| 3204 | ac_must_keep_next=false # Got value, back to normal. |
| 3205 | else |
| 3206 | case $ac_arg in |
| 3207 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
| 3208 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 3209 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 3210 | | -with-* | --with-* | -without-* | --without-* | --x) |
| 3211 | case "$ac_configure_args0 " in |
| 3212 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 3213 | esac |
| 3214 | ;; |
| 3215 | -* ) ac_must_keep_next=true ;; |
| 3216 | esac |
| 3217 | fi |
| 3218 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_configure_args " '$ac_arg'" |
| 3219 | ;; |
| 3220 | esac |
| 3221 | done |
| 3222 | done |
| 3223 | { ac_configure_args0=; unset ac_configure_args0;} |
| 3224 | { ac_configure_args1=; unset ac_configure_args1;} |
| 3225 | |
| 3226 | # When interrupted or exit'd, cleanup temporary files, and complete |
| 3227 | # config.log. We remove comments because anyway the quotes in there |
| 3228 | # would cause problems or look ugly. |
| 3229 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
| 3230 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 3231 | trap 'exit_status=$? |
| 3232 | # Sanitize IFS. |
| 3233 | IFS=" "" $as_nl" |
| 3234 | # Save into config.log some information that might help in debugging. |
| 3235 | { |
| 3236 | echo |
| 3237 | |
| 3238 | printf "%s\n" "## ---------------- ## |
| 3239 | ## Cache variables. ## |
| 3240 | ## ---------------- ##" |
| 3241 | echo |
| 3242 | # The following way of writing the cache mishandles newlines in values, |
| 3243 | ( |
| 3244 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
| 3245 | eval ac_val=\$$ac_var |
| 3246 | case $ac_val in #( |
| 3247 | *${as_nl}*) |
| 3248 | case $ac_var in #( |
| 3249 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 3250 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 3251 | esac |
| 3252 | case $ac_var in #( |
| 3253 | _ | IFS | as_nl) ;; #( |
| 3254 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 3255 | *) { eval $ac_var=; unset $ac_var;} ;; |
| 3256 | esac ;; |
| 3257 | esac |
| 3258 | done |
| 3259 | (set) 2>&1 | |
| 3260 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 3261 | *${as_nl}ac_space=\ *) |
| 3262 | sed -n \ |
| 3263 | "s/'\''/'\''\\\\'\'''\''/g; |
| 3264 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| 3265 | ;; #( |
| 3266 | *) |
| 3267 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 3268 | ;; |
| 3269 | esac | |
| 3270 | sort |
| 3271 | ) |
| 3272 | echo |
| 3273 | |
| 3274 | printf "%s\n" "## ----------------- ## |
| 3275 | ## Output variables. ## |
| 3276 | ## ----------------- ##" |
| 3277 | echo |
| 3278 | for ac_var in $ac_subst_vars |
| 3279 | do |
| 3280 | eval ac_val=\$$ac_var |
| 3281 | case $ac_val in |
| 3282 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 3283 | esac |
| 3284 | printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 3285 | done | sort |
| 3286 | echo |
| 3287 | |
| 3288 | if test -n "$ac_subst_files"; then |
| 3289 | printf "%s\n" "## ------------------- ## |
| 3290 | ## File substitutions. ## |
| 3291 | ## ------------------- ##" |
| 3292 | echo |
| 3293 | for ac_var in $ac_subst_files |
| 3294 | do |
| 3295 | eval ac_val=\$$ac_var |
| 3296 | case $ac_val in |
| 3297 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 3298 | esac |
| 3299 | printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 3300 | done | sort |
| 3301 | echo |
| 3302 | fi |
| 3303 | |
| 3304 | if test -s confdefs.h; then |
| 3305 | printf "%s\n" "## ----------- ## |
| 3306 | ## confdefs.h. ## |
| 3307 | ## ----------- ##" |
| 3308 | echo |
| 3309 | cat confdefs.h |
| 3310 | echo |
| 3311 | fi |
| 3312 | test "$ac_signal" != 0 && |
| 3313 | printf "%s\n" "$as_me: caught signal $ac_signal" |
| 3314 | printf "%s\n" "$as_me: exit $exit_status" |
| 3315 | } >&5 |
| 3316 | rm -f core *.core core.conftest.* && |
| 3317 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 3318 | exit $exit_status |
| 3319 | ' 0 |
| 3320 | for ac_signal in 1 2 13 15; do |
| 3321 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
| 3322 | done |
| 3323 | ac_signal=0 |
| 3324 | |
| 3325 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 3326 | rmscip-shell system . . rm. -f -r conftest* confdefs.h |
| 3327 | |
| 3328 | printfscip-shell system . . printf. "%s\n" "/* confdefs.h */" > confdefs.h |
| 3329 | |
| 3330 | # Predefined preprocessor variables. |
| 3331 | |
| 3332 | printfscip-shell system . . printf. "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h |
| 3333 | |
| 3334 | printfscip-shell system . . printf. "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h |
| 3335 | |
| 3336 | printfscip-shell system . . printf. "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h |
| 3337 | |
| 3338 | printfscip-shell system . . printf. "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h |
| 3339 | |
| 3340 | printfscip-shell system . . printf. "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h |
| 3341 | |
| 3342 | printfscip-shell system . . printf. "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h |
| 3343 | |
| 3344 | |
| 3345 | # Let the site file select an alternate cache file if it wants to. |
| 3346 | # Prefer an explicitly selected file to automatically selected ones. |
| 3347 | if testscip-shell system . . test. -n "$CONFIG_SITE"; then |
| 3348 | ac_site_files="$CONFIG_SITE" |
| 3349 | elif testscip-shell system . . test. "x$prefix" != xNONE; then |
| 3350 | ac_site_files="$prefix/share/config.site $prefix/etc/config.site" |
| 3351 | else |
| 3352 | ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
| 3353 | fi |
| 3354 | |
| 3355 | for ac_site_file in $ac_site_files |
| 3356 | do |
| 3357 | case $ac_site_file in #( |
| 3358 | */*) : |
| 3359 | ;; #( |
| 3360 | *) : |
| 3361 | ac_site_file=./$ac_site_file ;; |
| 3362 | esac |
| 3363 | if testscip-shell system . . test. -f "$ac_site_file" && testscip-shell system . . test. -r "$ac_site_file"; then |
| 3364 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 3365 | printfscip-shell system . . printf. "%s\n" "$as_me: loading site script $ac_site_file" >&6;} |
| 3366 | sedscip-shell system . . sed. 's/^/| /' "$ac_site_file" >&5 |
| 3367 | . "$ac_site_file" \ |
| 3368 | || { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3369 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3370 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "failed to load site script $ac_site_file |
| 3371 | See \`config.log' for more details" "$LINENO" 5; } |
| 3372 | fi |
| 3373 | done |
| 3374 | |
| 3375 | if testscip-shell system . . test. -r "$cache_file"; then |
| 3376 | # Some versions of bash will fail to source /dev/null (special files |
| 3377 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
| 3378 | if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$cache_file" && testscip-shell system . . test. -f "$cache_file"; then |
| 3379 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 3380 | printfscip-shell system . . printf. "%s\n" "$as_me: loading cache $cache_file" >&6;} |
| 3381 | case $cache_file in |
| 3382 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 3383 | *) . "./$cache_file";; |
| 3384 | esac |
| 3385 | fi |
| 3386 | else |
| 3387 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
| 3388 | printfscip-shell system . . printf. "%s\n" "$as_me: creating cache $cache_file" >&6;} |
| 3389 | >$cache_file |
| 3390 | fi |
| 3391 | |
| 3392 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" |
| 3393 | # Test code for whether the C compiler supports C89 (global declarations) |
| 3394 | ac_c_conftest_c89_globals=' |
| 3395 | /* Does the compiler advertise C89 conformance? |
| 3396 | Do not test the value of __STDC__, because some compilers set it to 0 |
| 3397 | while being otherwise adequately conformant. */ |
| 3398 | #if !defined __STDC__ |
| 3399 | # error "Compiler does not advertise C89 conformance" |
| 3400 | #endif |
| 3401 | |
| 3402 | #include <stddef.h> |
| 3403 | #include <stdarg.h> |
| 3404 | struct stat; |
| 3405 | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ |
| 3406 | struct buf { int x; }; |
| 3407 | struct buf * (*rcsopen) (struct buf *, struct stat *, int); |
| 3408 | static char *e (p, i) |
| 3409 | char **p; |
| 3410 | int i; |
| 3411 | { |
| 3412 | return p[i]; |
| 3413 | } |
| 3414 | static char *f (char * (*g) (char **, int), char **p, ...) |
| 3415 | { |
| 3416 | char *s; |
| 3417 | va_list v; |
| 3418 | va_start (v,p); |
| 3419 | s = g (p, va_arg (v,int)); |
| 3420 | va_end (v); |
| 3421 | return s; |
| 3422 | } |
| 3423 | |
| 3424 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 3425 | function prototypes and stuff, but not \xHH hex character constants. |
| 3426 | These do not provoke an error unfortunately, instead are silently treated |
| 3427 | as an "x". The following induces an error, until -std is added to get |
| 3428 | proper ANSI mode. Curiously \x00 != x always comes out true, for an |
| 3429 | array size at least. It is necessary to write \x00 == 0 to get something |
| 3430 | that is true only with -std. */ |
| 3431 | int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; |
| 3432 | |
| 3433 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 3434 | inside strings and character constants. */ |
| 3435 | #define FOO(x) '\''x'\'' |
| 3436 | int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; |
| 3437 | |
| 3438 | int test (int i, double x); |
| 3439 | struct s1 {int (*f) (int a);}; |
| 3440 | struct s2 {int (*f) (double a);}; |
| 3441 | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), |
| 3442 | int, int);' |
| 3443 | |
| 3444 | # Test code for whether the C compiler supports C89 (body of main). |
| 3445 | ac_c_conftest_c89_main=' |
| 3446 | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); |
| 3447 | ' |
| 3448 | |
| 3449 | # Test code for whether the C compiler supports C99 (global declarations) |
| 3450 | ac_c_conftest_c99_globals=' |
| 3451 | // Does the compiler advertise C99 conformance? |
| 3452 | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L |
| 3453 | # error "Compiler does not advertise C99 conformance" |
| 3454 | #endif |
| 3455 | |
| 3456 | #include <stdbool.h> |
| 3457 | extern int puts (const char *); |
| 3458 | extern int printf (const char *, ...); |
| 3459 | extern int dprintf (int, const char *, ...); |
| 3460 | extern void *malloc (size_t); |
| 3461 | |
| 3462 | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
| 3463 | // dprintf is used instead of fprintf to avoid needing to declare |
| 3464 | // FILE and stderr. |
| 3465 | #define debug(...) dprintf (2, __VA_ARGS__) |
| 3466 | #define showlist(...) puts (#__VA_ARGS__) |
| 3467 | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
| 3468 | static void |
| 3469 | test_varargs_macros (void) |
| 3470 | { |
| 3471 | int x = 1234; |
| 3472 | int y = 5678; |
| 3473 | debug ("Flag"); |
| 3474 | debug ("X = %d\n", x); |
| 3475 | showlist (The first, second, and third items.); |
| 3476 | report (x>y, "x is %d but y is %d", x, y); |
| 3477 | } |
| 3478 | |
| 3479 | // Check long long types. |
| 3480 | #define BIG64 18446744073709551615ull |
| 3481 | #define BIG32 4294967295ul |
| 3482 | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
| 3483 | #if !BIG_OK |
| 3484 | #error "your preprocessor is broken" |
| 3485 | #endif |
| 3486 | #if BIG_OK |
| 3487 | #else |
| 3488 | #error "your preprocessor is broken" |
| 3489 | #endif |
| 3490 | static long long int bignum = -9223372036854775807LL; |
| 3491 | static unsigned long long int ubignum = BIG64; |
| 3492 | |
| 3493 | struct incomplete_array |
| 3494 | { |
| 3495 | int datasize; |
| 3496 | double data[]; |
| 3497 | }; |
| 3498 | |
| 3499 | struct named_init { |
| 3500 | int number; |
| 3501 | const wchar_t *name; |
| 3502 | double average; |
| 3503 | }; |
| 3504 | |
| 3505 | typedef const char *ccp; |
| 3506 | |
| 3507 | static inline int |
| 3508 | test_restrict (ccp restrict text) |
| 3509 | { |
| 3510 | // See if C++-style comments work. |
| 3511 | // Iterate through items via the restricted pointer. |
| 3512 | // Also check for declarations in for loops. |
| 3513 | for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) |
| 3514 | continue; |
| 3515 | return 0; |
| 3516 | } |
| 3517 | |
| 3518 | // Check varargs and va_copy. |
| 3519 | static bool |
| 3520 | test_varargs (const char *format, ...) |
| 3521 | { |
| 3522 | va_list args; |
| 3523 | va_start (args, format); |
| 3524 | va_list args_copy; |
| 3525 | va_copy (args_copy, args); |
| 3526 | |
| 3527 | const char *str = ""; |
| 3528 | int number = 0; |
| 3529 | float fnumber = 0; |
| 3530 | |
| 3531 | while (*format) |
| 3532 | { |
| 3533 | switch (*format++) |
| 3534 | { |
| 3535 | case '\''s'\'': // string |
| 3536 | str = va_arg (args_copy, const char *); |
| 3537 | break; |
| 3538 | case '\''d'\'': // int |
| 3539 | number = va_arg (args_copy, int); |
| 3540 | break; |
| 3541 | case '\''f'\'': // float |
| 3542 | fnumber = va_arg (args_copy, double); |
| 3543 | break; |
| 3544 | default: |
| 3545 | break; |
| 3546 | } |
| 3547 | } |
| 3548 | va_end (args_copy); |
| 3549 | va_end (args); |
| 3550 | |
| 3551 | return *str && number && fnumber; |
| 3552 | } |
| 3553 | ' |
| 3554 | |
| 3555 | # Test code for whether the C compiler supports C99 (body of main). |
| 3556 | ac_c_conftest_c99_main=' |
| 3557 | // Check bool. |
| 3558 | _Bool success = false; |
| 3559 | success |= (argc != 0); |
| 3560 | |
| 3561 | // Check restrict. |
| 3562 | if (test_restrict ("String literal") == 0) |
| 3563 | success = true; |
| 3564 | char *restrict newvar = "Another string"; |
| 3565 | |
| 3566 | // Check varargs. |
| 3567 | success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); |
| 3568 | test_varargs_macros (); |
| 3569 | |
| 3570 | // Check flexible array members. |
| 3571 | struct incomplete_array *ia = |
| 3572 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
| 3573 | ia->datasize = 10; |
| 3574 | for (int i = 0; i < ia->datasize; ++i) |
| 3575 | ia->data[i] = i * 1.234; |
| 3576 | |
| 3577 | // Check named initializers. |
| 3578 | struct named_init ni = { |
| 3579 | .number = 34, |
| 3580 | .name = L"Test wide string", |
| 3581 | .average = 543.34343, |
| 3582 | }; |
| 3583 | |
| 3584 | ni.number = 58; |
| 3585 | |
| 3586 | int dynamic_array[ni.number]; |
| 3587 | dynamic_array[0] = argv[0][0]; |
| 3588 | dynamic_array[ni.number - 1] = 543; |
| 3589 | |
| 3590 | // work around unused variable warnings |
| 3591 | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' |
| 3592 | || dynamic_array[ni.number - 1] != 543); |
| 3593 | ' |
| 3594 | |
| 3595 | # Test code for whether the C compiler supports C11 (global declarations) |
| 3596 | ac_c_conftest_c11_globals=' |
| 3597 | // Does the compiler advertise C11 conformance? |
| 3598 | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L |
| 3599 | # error "Compiler does not advertise C11 conformance" |
| 3600 | #endif |
| 3601 | |
| 3602 | // Check _Alignas. |
| 3603 | char _Alignas (double) aligned_as_double; |
| 3604 | char _Alignas (0) no_special_alignment; |
| 3605 | extern char aligned_as_int; |
| 3606 | char _Alignas (0) _Alignas (int) aligned_as_int; |
| 3607 | |
| 3608 | // Check _Alignof. |
| 3609 | enum |
| 3610 | { |
| 3611 | int_alignment = _Alignof (int), |
| 3612 | int_array_alignment = _Alignof (int[100]), |
| 3613 | char_alignment = _Alignof (char) |
| 3614 | }; |
| 3615 | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); |
| 3616 | |
| 3617 | // Check _Noreturn. |
| 3618 | int _Noreturn does_not_return (void) { for (;;) continue; } |
| 3619 | |
| 3620 | // Check _Static_assert. |
| 3621 | struct test_static_assert |
| 3622 | { |
| 3623 | int x; |
| 3624 | _Static_assert (sizeof (int) <= sizeof (long int), |
| 3625 | "_Static_assert does not work in struct"); |
| 3626 | long int y; |
| 3627 | }; |
| 3628 | |
| 3629 | // Check UTF-8 literals. |
| 3630 | #define u8 syntax error! |
| 3631 | char const utf8_literal[] = u8"happens to be ASCII" "another string"; |
| 3632 | |
| 3633 | // Check duplicate typedefs. |
| 3634 | typedef long *long_ptr; |
| 3635 | typedef long int *long_ptr; |
| 3636 | typedef long_ptr long_ptr; |
| 3637 | |
| 3638 | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. |
| 3639 | struct anonymous |
| 3640 | { |
| 3641 | union { |
| 3642 | struct { int i; int j; }; |
| 3643 | struct { int k; long int l; } w; |
| 3644 | }; |
| 3645 | int m; |
| 3646 | } v1; |
| 3647 | ' |
| 3648 | |
| 3649 | # Test code for whether the C compiler supports C11 (body of main). |
| 3650 | ac_c_conftest_c11_main=' |
| 3651 | _Static_assert ((offsetof (struct anonymous, i) |
| 3652 | == offsetof (struct anonymous, w.k)), |
| 3653 | "Anonymous union alignment botch"); |
| 3654 | v1.i = 2; |
| 3655 | v1.w.k = 5; |
| 3656 | ok |= v1.i != 5; |
| 3657 | ' |
| 3658 | |
| 3659 | # Test code for whether the C compiler supports C11 (complete). |
| 3660 | ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} |
| 3661 | ${ac_c_conftest_c99_globals} |
| 3662 | ${ac_c_conftest_c11_globals} |
| 3663 | |
| 3664 | int |
| 3665 | main (int argc, char **argv) |
| 3666 | { |
| 3667 | int ok = 0; |
| 3668 | ${ac_c_conftest_c89_main} |
| 3669 | ${ac_c_conftest_c99_main} |
| 3670 | ${ac_c_conftest_c11_main} |
| 3671 | return ok; |
| 3672 | } |
| 3673 | " |
| 3674 | |
| 3675 | # Test code for whether the C compiler supports C99 (complete). |
| 3676 | ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} |
| 3677 | ${ac_c_conftest_c99_globals} |
| 3678 | |
| 3679 | int |
| 3680 | main (int argc, char **argv) |
| 3681 | { |
| 3682 | int ok = 0; |
| 3683 | ${ac_c_conftest_c89_main} |
| 3684 | ${ac_c_conftest_c99_main} |
| 3685 | return ok; |
| 3686 | } |
| 3687 | " |
| 3688 | |
| 3689 | # Test code for whether the C compiler supports C89 (complete). |
| 3690 | ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} |
| 3691 | |
| 3692 | int |
| 3693 | main (int argc, char **argv) |
| 3694 | { |
| 3695 | int ok = 0; |
| 3696 | ${ac_c_conftest_c89_main} |
| 3697 | return ok; |
| 3698 | } |
| 3699 | " |
| 3700 | |
| 3701 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" |
| 3702 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_header_c_list " string.h string_h HAVE_STRING_H" |
| 3703 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" |
| 3704 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" |
| 3705 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" |
| 3706 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" |
| 3707 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" |
| 3708 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" |
| 3709 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" |
| 3710 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" |
| 3711 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H" |
| 3712 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_header_c_list " vfork.h vfork_h HAVE_VFORK_H" |
| 3713 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_func_c_list " fork HAVE_FORK" |
| 3714 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_func_c_list " vfork HAVE_VFORK" |
| 3715 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_header_c_list " sys/select.h sys_select_h HAVE_SYS_SELECT_H" |
| 3716 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_header_c_list " sys/socket.h sys_socket_h HAVE_SYS_SOCKET_H" |
| 3717 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_func_c_list " vprintf HAVE_VPRINTF" |
| 3718 | |
| 3719 | # Auxiliary files required by this configure script. |
| 3720 | ac_aux_files="config.guess config.sub ltmain.sh compile missing install-sh" |
| 3721 | |
| 3722 | # Locations in which to look for auxiliary files. |
| 3723 | ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." |
| 3724 | |
| 3725 | # Search for a directory containing all of the required auxiliary files, |
| 3726 | # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. |
| 3727 | # If we don't find one directory that contains all the files we need, |
| 3728 | # we report the set of missing files from the *first* directory in |
| 3729 | # $ac_aux_dir_candidates and give up. |
| 3730 | ac_missing_aux_files="" |
| 3731 | ac_first_candidate=: |
| 3732 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 |
| 3733 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3734 | as_found=false |
| 3735 | for as_dir in $ac_aux_dir_candidates |
| 3736 | do |
| 3737 | IFS=$as_save_IFS |
| 3738 | case $as_dir in #((( |
| 3739 | '') as_dir=./ ;; |
| 3740 | */) ;; |
| 3741 | *) as_dir=$as_dir/ ;; |
| 3742 | esac |
| 3743 | as_found=: |
| 3744 | |
| 3745 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 |
| 3746 | ac_aux_dir_found=yes |
| 3747 | ac_install_sh= |
| 3748 | for ac_aux in $ac_aux_files |
| 3749 | do |
| 3750 | # As a special case, if "install-sh" is required, that requirement |
| 3751 | # can be satisfied by any of "install-sh", "install.sh", or "shtool", |
| 3752 | # and $ac_install_sh is set appropriately for whichever one is found. |
| 3753 | if testscip-shell system . . test. x"$ac_aux" = x"install-sh" |
| 3754 | then |
| 3755 | if testscip-shell system . . test. -f "${as_dir}install-sh"; then |
| 3756 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 |
| 3757 | ac_install_sh="${as_dir}install-sh -c" |
| 3758 | elif testscip-shell system . . test. -f "${as_dir}install.sh"; then |
| 3759 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 |
| 3760 | ac_install_sh="${as_dir}install.sh -c" |
| 3761 | elif testscip-shell system . . test. -f "${as_dir}shtool"; then |
| 3762 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 |
| 3763 | ac_install_sh="${as_dir}shtool install -c" |
| 3764 | else |
| 3765 | ac_aux_dir_found=no |
| 3766 | if $ac_first_candidate; then |
| 3767 | ac_missing_aux_files="${ac_missing_aux_files} install-sh" |
| 3768 | else |
| 3769 | break |
| 3770 | fi |
| 3771 | fi |
| 3772 | else |
| 3773 | if testscip-shell system . . test. -f "${as_dir}${ac_aux}"; then |
| 3774 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 |
| 3775 | else |
| 3776 | ac_aux_dir_found=no |
| 3777 | if $ac_first_candidate; then |
| 3778 | ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" |
| 3779 | else |
| 3780 | break |
| 3781 | fi |
| 3782 | fi |
| 3783 | fi |
| 3784 | done |
| 3785 | if testscip-shell system . . test. "$ac_aux_dir_found" = yes; then |
| 3786 | ac_aux_dir="$as_dir" |
| 3787 | break |
| 3788 | fi |
| 3789 | ac_first_candidate=false |
| 3790 | |
| 3791 | as_found=false |
| 3792 | done |
| 3793 | IFS=$as_save_IFS |
| 3794 | if $as_found |
| 3795 | then : |
| 3796 | |
| 3797 | else $as_nop |
| 3798 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 |
| 3799 | fi |
| 3800 | |
| 3801 | |
| 3802 | # These three variables are undocumented and unsupported, |
| 3803 | # and are intended to be withdrawn in a future Autoconf release. |
| 3804 | # They can cause serious problems if a builder's source tree is in a directory |
| 3805 | # whose full name contains unusual characters. |
| 3806 | if testscip-shell system . . test. -f "${ac_aux_dir}config.guess"; then |
| 3807 | ac_config_guess="$SHELL ${ac_aux_dir}config.guess" |
| 3808 | fi |
| 3809 | if testscip-shell system . . test. -f "${ac_aux_dir}config.sub"; then |
| 3810 | ac_config_sub="$SHELL ${ac_aux_dir}config.sub" |
| 3811 | fi |
| 3812 | if testscip-shell system . . test. -f "$ac_aux_dir/configure"; then |
| 3813 | ac_configure="$SHELL ${ac_aux_dir}configure" |
| 3814 | fi |
| 3815 | |
| 3816 | # Check that the precious variables saved in the cache have kept the same |
| 3817 | # value. |
| 3818 | ac_cache_corrupted=false |
| 3819 | for ac_var in $ac_precious_vars; do |
| 3820 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 3821 | eval ac_new_set=\$ac_env_${ac_var}_set |
| 3822 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 3823 | eval ac_new_val=\$ac_env_${ac_var}_value |
| 3824 | case $ac_old_set,$ac_new_set in |
| 3825 | set,) |
| 3826 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 3827 | printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 3828 | ac_cache_corrupted=: ;; |
| 3829 | ,set) |
| 3830 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
| 3831 | printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 3832 | ac_cache_corrupted=: ;; |
| 3833 | ,);; |
| 3834 | *) |
| 3835 | if testscip-shell system . . test. "x$ac_old_val" != "x$ac_new_val"; then |
| 3836 | # differences in whitespace do not lead to failure. |
| 3837 | ac_old_val_w=`echoscip-shell system . . echo. x $ac_old_val` |
| 3838 | ac_new_val_w=`echoscip-shell system . . echo. x $ac_new_val` |
| 3839 | if testscip-shell system . . test. "$ac_old_val_w" != "$ac_new_val_w"; then |
| 3840 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
| 3841 | printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 3842 | ac_cache_corrupted=: |
| 3843 | else |
| 3844 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| 3845 | printfscip-shell system . . printf. "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| 3846 | eval $ac_var=\$ac_old_val |
| 3847 | fi |
| 3848 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
| 3849 | printfscip-shell system . . printf. "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} |
| 3850 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
| 3851 | printfscip-shell system . . printf. "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} |
| 3852 | fi;; |
| 3853 | esac |
| 3854 | # Pass precious variables to config.status. |
| 3855 | if testscip-shell system . . test. "$ac_new_set" = set; then |
| 3856 | case $ac_new_val in |
| 3857 | *\'*) ac_arg=$ac_var=`printfscip-shell system . . printf. "%s\n" "$ac_new_val" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;; |
| 3858 | *) ac_arg=$ac_var=$ac_new_val ;; |
| 3859 | esac |
| 3860 | case " $ac_configure_args " in |
| 3861 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 3862 | *) as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_configure_args " '$ac_arg'" ;; |
| 3863 | esac |
| 3864 | fi |
| 3865 | done |
| 3866 | if $ac_cache_corrupted; then |
| 3867 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3868 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3869 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 3870 | printfscip-shell system . . printf. "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 3871 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' |
| 3872 | and start over" "$LINENO" 5 |
| 3873 | fi |
| 3874 | ## -------------------- ## |
| 3875 | ## Main body of script. ## |
| 3876 | ## -------------------- ## |
| 3877 | |
| 3878 | ac_ext=c |
| 3879 | ac_cpp='$CPP $CPPFLAGS' |
| 3880 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3881 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3882 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3883 | |
| 3884 | # UPDATE on release |
| 3885 | |
| 3886 | printfscip-shell system . . printf. "%s\n" "#define VERSION_YEAR 26" >>confdefs.h |
| 3887 | # UPDATE on release |
| 3888 | |
| 3889 | printfscip-shell system . . printf. "%s\n" "#define VERSION_MONTH 4" >>confdefs.h |
| 3890 | # UPDATE on release |
| 3891 | |
| 3892 | am__api_version='1.16' |
| 3893 | |
| 3894 | |
| 3895 | |
| 3896 | # Find a good install program. We prefer a C program (faster), |
| 3897 | # so one script is as good as another. But avoid the broken or |
| 3898 | # incompatible versions: |
| 3899 | # SysV /etc/install, /usr/sbin/install |
| 3900 | # SunOS /usr/etc/install |
| 3901 | # IRIX /sbin/install |
| 3902 | # AIX /bin/install |
| 3903 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
| 3904 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 3905 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 3906 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3907 | # OS/2's system install, which has a completely different semantic |
| 3908 | # ./install, which can be erroneously created by make from ./install.sh. |
| 3909 | # Reject install programs that cannot install multiple files. |
| 3910 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 3911 | printfscip-shell system . . printf. %s "checking for a BSD-compatible install... " >&6; } |
| 3912 | if testscip-shell system . . test. -z "$INSTALL"; then |
| 3913 | if testscip-shell system . . test. ${ac_cv_path_install+y} |
| 3914 | then : |
| 3915 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3916 | else $as_nop |
| 3917 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3918 | for as_dir in $PATH |
| 3919 | do |
| 3920 | IFS=$as_save_IFS |
| 3921 | case $as_dir in #((( |
| 3922 | '') as_dir=./ ;; |
| 3923 | */) ;; |
| 3924 | *) as_dir=$as_dir/ ;; |
| 3925 | esac |
| 3926 | # Account for fact that we put trailing slashes in our PATH walk. |
| 3927 | case $as_dir in #(( |
| 3928 | ./ | /[cC]/* | \ |
| 3929 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 3930 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 3931 | /usr/ucb/* ) ;; |
| 3932 | *) |
| 3933 | # OSF1 and SCO ODT 3.0 have their own names for install. |
| 3934 | # Don't use installbsd from OSF since it installs stuff as root |
| 3935 | # by default. |
| 3936 | for ac_prog in ginstall scoinst install; do |
| 3937 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3938 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext"; then |
| 3939 | if testscip-shell system . . test. $ac_prog = install && |
| 3940 | grepscip-shell system . . grep. dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 3941 | # AIX install. It has an incompatible calling convention. |
| 3942 | : |
| 3943 | elif testscip-shell system . . test. $ac_prog = install && |
| 3944 | grepscip-shell system . . grep. pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 3945 | # program-specific install script used by HP pwplus--don't use. |
| 3946 | : |
| 3947 | else |
| 3948 | rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir |
| 3949 | echoscip-shell system . . echo. one > conftest.one |
| 3950 | echoscip-shell system . . echo. two > conftest.two |
| 3951 | mkdirscip-shell system . . mkdir. conftest.dir |
| 3952 | if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwdscip-shell system . . pwd.`/conftest.dir/" && |
| 3953 | testscip-shell system . . test. -s conftest.one && testscip-shell system . . test. -s conftest.two && |
| 3954 | testscip-shell system . . test. -s conftest.dir/conftest.one && |
| 3955 | testscip-shell system . . test. -s conftest.dir/conftest.two |
| 3956 | then |
| 3957 | ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" |
| 3958 | break 3 |
| 3959 | fi |
| 3960 | fi |
| 3961 | fi |
| 3962 | done |
| 3963 | done |
| 3964 | ;; |
| 3965 | esac |
| 3966 | |
| 3967 | done |
| 3968 | IFS=$as_save_IFS |
| 3969 | |
| 3970 | rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir |
| 3971 | |
| 3972 | fi |
| 3973 | if testscip-shell system . . test. ${ac_cv_path_install+y}; then |
| 3974 | INSTALL=$ac_cv_path_install |
| 3975 | else |
| 3976 | # As a last resort, use the slow shell script. Don't cache a |
| 3977 | # value for INSTALL within a source directory, because that will |
| 3978 | # break other packages using the cache if that directory is |
| 3979 | # removed, or if the value is a relative name. |
| 3980 | INSTALL=$ac_install_sh |
| 3981 | fi |
| 3982 | fi |
| 3983 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 3984 | printfscip-shell system . . printf. "%s\n" "$INSTALL" >&6; } |
| 3985 | |
| 3986 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 3987 | # It thinks the first close brace ends the variable substitution. |
| 3988 | testscip-shell system . . test. -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 3989 | |
| 3990 | testscip-shell system . . test. -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 3991 | |
| 3992 | testscip-shell system . . test. -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 3993 | |
| 3994 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 3995 | printfscip-shell system . . printf. %s "checking whether build environment is sane... " >&6; } |
| 3996 | # Reject unsafe characters in $srcdir or the absolute working directory |
| 3997 | # name. Accept space and tab only in the latter. |
| 3998 | am_lf=' |
| 3999 | ' |
| 4000 | case `pwdscip-shell system . . pwd.` in |
| 4001 | *[\\\"\#\$\&\'\`$am_lf]*) |
| 4002 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "unsafe absolute working directory name" "$LINENO" 5;; |
| 4003 | esac |
| 4004 | case $srcdir in |
| 4005 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
| 4006 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
| 4007 | esac |
| 4008 | |
| 4009 | # Do 'set' in a subshell so we don't clobber the current shell's |
| 4010 | # arguments. Must try -L first in case configure is actually a |
| 4011 | # symlink; some systems play weird games with the mod time of symlinks |
| 4012 | # (eg FreeBSD returns the mod time of the symlink's containing |
| 4013 | # directory). |
| 4014 | if ( |
| 4015 | am_has_slept=no |
| 4016 | for am_try in 1 2; do |
| 4017 | echoscip-shell system . . echo. "timestamp, slept: $am_has_slept" > conftest.file |
| 4018 | set X `lsscip-shell system . . ls. -Lt "$srcdir/configure" conftest.file 2> /dev/nullscip-shell filesystem . . `/dev/null`.` |
| 4019 | if testscip-shell system . . test. "$*" = "X"; then |
| 4020 | # -L didn't work. |
| 4021 | set X `lsscip-shell system . . ls. -t "$srcdir/configure" conftest.file` |
| 4022 | fi |
| 4023 | if testscip-shell system . . test. "$*" != "X $srcdir/configure conftest.file" \ |
| 4024 | && testscip-shell system . . test. "$*" != "X conftest.file $srcdir/configure"; then |
| 4025 | |
| 4026 | # If neither matched, then we have a broken ls. This can happen |
| 4027 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
| 4028 | # broken ls alias from the environment. This has actually |
| 4029 | # happened. Such a system could not be considered "sane". |
| 4030 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "ls -t appears to fail. Make sure there is not a broken |
| 4031 | alias in your environment" "$LINENO" 5 |
| 4032 | fi |
| 4033 | if testscip-shell system . . test. "$2" = conftest.file || testscip-shell system . . test. $am_try -eq 2; then |
| 4034 | break |
| 4035 | fi |
| 4036 | # Just in case. |
| 4037 | sleepscip-shell system . . sleep. 1 |
| 4038 | am_has_slept=yes |
| 4039 | done |
| 4040 | testscip-shell system . . test. "$2" = conftest.file |
| 4041 | ) |
| 4042 | then |
| 4043 | # Ok. |
| 4044 | : |
| 4045 | else |
| 4046 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "newly created file is older than distributed files! |
| 4047 | Check your system clock" "$LINENO" 5 |
| 4048 | fi |
| 4049 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 4050 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 4051 | # If we didn't sleep, we still need to ensure time stamps of config.status and |
| 4052 | # generated files are strictly newer. |
| 4053 | am_sleep_pid= |
| 4054 | if grepscip-shell system . . grep. 'slept: no' conftest.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 4055 | ( sleepscip-shell system . . sleep. 1 ) & |
| 4056 | am_sleep_pid=$! |
| 4057 | fi |
| 4058 | |
| 4059 | rmscip-shell system . . rm. -f conftest.file |
| 4060 | |
| 4061 | testscip-shell system . . test. "$program_prefix" != NONE && |
| 4062 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 4063 | # Use a double $ so make ignores it. |
| 4064 | testscip-shell system . . test. "$program_suffix" != NONE && |
| 4065 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
| 4066 | # Double any \ or $. |
| 4067 | # By default was `s,x,x', remove it if useless. |
| 4068 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 4069 | program_transform_name=`printfscip-shell system . . printf. "%s\n" "$program_transform_name" | sedscip-shell system . . sed. "$ac_script"` |
| 4070 | |
| 4071 | |
| 4072 | # Expand $ac_aux_dir to an absolute path. |
| 4073 | am_aux_dir=`cd "$ac_aux_dir" && pwdscip-shell system . . pwd.` |
| 4074 | |
| 4075 | |
| 4076 | if testscip-shell system . . test. x"${MISSING+set}" != xset; then |
| 4077 | MISSING="\${SHELL} '$am_aux_dir/missing'" |
| 4078 | fi |
| 4079 | # Use eval to expand $SHELL |
| 4080 | if eval "$MISSING --is-lightweight"; then |
| 4081 | am_missing_run="$MISSING " |
| 4082 | else |
| 4083 | am_missing_run= |
| 4084 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 4085 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 4086 | fi |
| 4087 | |
| 4088 | if testscip-shell system . . test. x"${install_sh+set}" != xset; then |
| 4089 | case $am_aux_dir in |
| 4090 | *\ * | *\ *) |
| 4091 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 4092 | *) |
| 4093 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
| 4094 | esac |
| 4095 | fi |
| 4096 | |
| 4097 | # Installed binaries are usually stripped using 'strip' when the user |
| 4098 | # run "make install-strip". However 'strip' might not be the right |
| 4099 | # tool to use in cross-compilation environments, therefore Automake |
| 4100 | # will honor the 'STRIP' environment variable to overrule this program. |
| 4101 | if testscip-shell system . . test. "$cross_compiling" != no; then |
| 4102 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 4103 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 4104 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 4105 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4106 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 4107 | if testscip-shell system . . test. ${ac_cv_prog_STRIP+y} |
| 4108 | then : |
| 4109 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4110 | else $as_nop |
| 4111 | if testscip-shell system . . test. -n "$STRIP"; then |
| 4112 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 4113 | else |
| 4114 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4115 | for as_dir in $PATH |
| 4116 | do |
| 4117 | IFS=$as_save_IFS |
| 4118 | case $as_dir in #((( |
| 4119 | '') as_dir=./ ;; |
| 4120 | */) ;; |
| 4121 | *) as_dir=$as_dir/ ;; |
| 4122 | esac |
| 4123 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4124 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 4125 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 4126 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4127 | break 2 |
| 4128 | fi |
| 4129 | done |
| 4130 | done |
| 4131 | IFS=$as_save_IFS |
| 4132 | |
| 4133 | fi |
| 4134 | fi |
| 4135 | STRIP=$ac_cv_prog_STRIP |
| 4136 | if testscip-shell system . . test. -n "$STRIP"; then |
| 4137 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 4138 | printfscip-shell system . . printf. "%s\n" "$STRIP" >&6; } |
| 4139 | else |
| 4140 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4141 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4142 | fi |
| 4143 | |
| 4144 | |
| 4145 | fi |
| 4146 | if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then |
| 4147 | ac_ct_STRIP=$STRIP |
| 4148 | # Extract the first word of "strip", so it can be a program name with args. |
| 4149 | set dummy strip; ac_word=$2 |
| 4150 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4151 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 4152 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_STRIP+y} |
| 4153 | then : |
| 4154 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4155 | else $as_nop |
| 4156 | if testscip-shell system . . test. -n "$ac_ct_STRIP"; then |
| 4157 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 4158 | else |
| 4159 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4160 | for as_dir in $PATH |
| 4161 | do |
| 4162 | IFS=$as_save_IFS |
| 4163 | case $as_dir in #((( |
| 4164 | '') as_dir=./ ;; |
| 4165 | */) ;; |
| 4166 | *) as_dir=$as_dir/ ;; |
| 4167 | esac |
| 4168 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4169 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 4170 | ac_cv_prog_ac_ct_STRIP="strip" |
| 4171 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4172 | break 2 |
| 4173 | fi |
| 4174 | done |
| 4175 | done |
| 4176 | IFS=$as_save_IFS |
| 4177 | |
| 4178 | fi |
| 4179 | fi |
| 4180 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 4181 | if testscip-shell system . . test. -n "$ac_ct_STRIP"; then |
| 4182 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 4183 | printfscip-shell system . . printf. "%s\n" "$ac_ct_STRIP" >&6; } |
| 4184 | else |
| 4185 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4186 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4187 | fi |
| 4188 | |
| 4189 | if testscip-shell system . . test. "x$ac_ct_STRIP" = x; then |
| 4190 | STRIP=":" |
| 4191 | else |
| 4192 | case $cross_compiling:$ac_tool_warned in |
| 4193 | yes:) |
| 4194 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 4195 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 4196 | ac_tool_warned=yes ;; |
| 4197 | esac |
| 4198 | STRIP=$ac_ct_STRIP |
| 4199 | fi |
| 4200 | else |
| 4201 | STRIP="$ac_cv_prog_STRIP" |
| 4202 | fi |
| 4203 | |
| 4204 | fi |
| 4205 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 4206 | |
| 4207 | |
| 4208 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 |
| 4209 | printfscip-shell system . . printf. %s "checking for a race-free mkdir -p... " >&6; } |
| 4210 | if testscip-shell system . . test. -z "$MKDIR_P"; then |
| 4211 | if testscip-shell system . . test. ${ac_cv_path_mkdir+y} |
| 4212 | then : |
| 4213 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4214 | else $as_nop |
| 4215 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4216 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
| 4217 | do |
| 4218 | IFS=$as_save_IFS |
| 4219 | case $as_dir in #((( |
| 4220 | '') as_dir=./ ;; |
| 4221 | */) ;; |
| 4222 | *) as_dir=$as_dir/ ;; |
| 4223 | esac |
| 4224 | for ac_prog in mkdir gmkdir; do |
| 4225 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4226 | as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext" || continue |
| 4227 | case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 4228 | 'mkdir ('*'coreutils) '* | \ |
| 4229 | 'BusyBox '* | \ |
| 4230 | 'mkdir (fileutils) '4.1*) |
| 4231 | ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext |
| 4232 | break 3;; |
| 4233 | esac |
| 4234 | done |
| 4235 | done |
| 4236 | done |
| 4237 | IFS=$as_save_IFS |
| 4238 | |
| 4239 | fi |
| 4240 | |
| 4241 | testscip-shell system . . test. -d ./--version && rmdirscip-shell system . . rmdir. ./--version |
| 4242 | if testscip-shell system . . test. ${ac_cv_path_mkdir+y}; then |
| 4243 | MKDIR_P="$ac_cv_path_mkdir -p" |
| 4244 | else |
| 4245 | # As a last resort, use the slow shell script. Don't cache a |
| 4246 | # value for MKDIR_P within a source directory, because that will |
| 4247 | # break other packages using the cache if that directory is |
| 4248 | # removed, or if the value is a relative name. |
| 4249 | MKDIR_P="$ac_install_sh -d" |
| 4250 | fi |
| 4251 | fi |
| 4252 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 4253 | printfscip-shell system . . printf. "%s\n" "$MKDIR_P" >&6; } |
| 4254 | |
| 4255 | for ac_prog in gawk mawk nawk awk |
| 4256 | do |
| 4257 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4258 | set dummy $ac_prog; ac_word=$2 |
| 4259 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4260 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 4261 | if testscip-shell system . . test. ${ac_cv_prog_AWK+y} |
| 4262 | then : |
| 4263 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4264 | else $as_nop |
| 4265 | if testscip-shell system . . test. -n "$AWK"; then |
| 4266 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| 4267 | else |
| 4268 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4269 | for as_dir in $PATH |
| 4270 | do |
| 4271 | IFS=$as_save_IFS |
| 4272 | case $as_dir in #((( |
| 4273 | '') as_dir=./ ;; |
| 4274 | */) ;; |
| 4275 | *) as_dir=$as_dir/ ;; |
| 4276 | esac |
| 4277 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4278 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 4279 | ac_cv_prog_AWK="$ac_prog" |
| 4280 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4281 | break 2 |
| 4282 | fi |
| 4283 | done |
| 4284 | done |
| 4285 | IFS=$as_save_IFS |
| 4286 | |
| 4287 | fi |
| 4288 | fi |
| 4289 | AWK=$ac_cv_prog_AWK |
| 4290 | if testscip-shell system . . test. -n "$AWK"; then |
| 4291 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 4292 | printfscip-shell system . . printf. "%s\n" "$AWK" >&6; } |
| 4293 | else |
| 4294 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4295 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4296 | fi |
| 4297 | |
| 4298 | |
| 4299 | testscip-shell system . . test. -n "$AWK" && break |
| 4300 | done |
| 4301 | |
| 4302 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 4303 | printfscip-shell system . . printf. %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 4304 | set x ${MAKE-make} |
| 4305 | ac_make=`printfscip-shell system . . printf. "%s\n" "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 4306 | if eval test \${ac_cv_prog_make_${ac_make}_set+y} |
| 4307 | then : |
| 4308 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4309 | else $as_nop |
| 4310 | catscip-shell system . . cat. >conftest.make <<\_ACEOF |
| 4311 | SHELL = /bin/sh |
| 4312 | all: |
| 4313 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
| 4314 | _ACEOF |
| 4315 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 4316 | case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in |
| 4317 | *@@@%%%=?*=@@@%%%*) |
| 4318 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 4319 | *) |
| 4320 | eval ac_cv_prog_make_${ac_make}_set=no;; |
| 4321 | esac |
| 4322 | rmscip-shell system . . rm. -f conftest.make |
| 4323 | fi |
| 4324 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 4325 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 4326 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 4327 | SET_MAKE= |
| 4328 | else |
| 4329 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4330 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4331 | SET_MAKE="MAKE=${MAKE-make}" |
| 4332 | fi |
| 4333 | |
| 4334 | rmscip-shell system . . rm. -rf .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 4335 | mkdirscip-shell system . . mkdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 4336 | if testscip-shell system . . test. -d .tst; then |
| 4337 | am__leading_dot=. |
| 4338 | else |
| 4339 | am__leading_dot=_ |
| 4340 | fi |
| 4341 | rmdirscip-shell system . . rmdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 4342 | |
| 4343 | # Check whether --enable-silent-rules was given. |
| 4344 | if testscip-shell system . . test. ${enable_silent_rules+y} |
| 4345 | then : |
| 4346 | enableval=$enable_silent_rules; |
| 4347 | fi |
| 4348 | |
| 4349 | case $enable_silent_rules in # ((( |
| 4350 | yes) AM_DEFAULT_VERBOSITY=0;; |
| 4351 | no) AM_DEFAULT_VERBOSITY=1;; |
| 4352 | *) AM_DEFAULT_VERBOSITY=1;; |
| 4353 | esac |
| 4354 | am_make=${MAKE-make} |
| 4355 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 4356 | printfscip-shell system . . printf. %s "checking whether $am_make supports nested variables... " >&6; } |
| 4357 | if testscip-shell system . . test. ${am_cv_make_support_nested_variables+y} |
| 4358 | then : |
| 4359 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4360 | else $as_nop |
| 4361 | if printfscip-shell system . . printf. "%s\n" 'TRUE=$(BAR$(V)) |
| 4362 | BAR0=false |
| 4363 | BAR1=true |
| 4364 | V=1 |
| 4365 | am__doit: |
| 4366 | @$(TRUE) |
| 4367 | .PHONY: am__doit' | $am_make -f - >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 4368 | am_cv_make_support_nested_variables=yes |
| 4369 | else |
| 4370 | am_cv_make_support_nested_variables=no |
| 4371 | fi |
| 4372 | fi |
| 4373 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 4374 | printfscip-shell system . . printf. "%s\n" "$am_cv_make_support_nested_variables" >&6; } |
| 4375 | if testscip-shell system . . test. $am_cv_make_support_nested_variables = yes; then |
| 4376 | AM_V='$(V)' |
| 4377 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 4378 | else |
| 4379 | AM_V=$AM_DEFAULT_VERBOSITY |
| 4380 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 4381 | fi |
| 4382 | AM_BACKSLASH='\' |
| 4383 | |
| 4384 | if testscip-shell system . . test. "`cd $srcdir && pwdscip-shell system . . pwd.`" != "`pwdscip-shell system . . pwd.`"; then |
| 4385 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 4386 | # is not polluted with repeated "-I." |
| 4387 | am__isrc=' -I$(srcdir)' |
| 4388 | # test to see if srcdir already configured |
| 4389 | if testscip-shell system . . test. -f $srcdir/config.status; then |
| 4390 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
| 4391 | fi |
| 4392 | fi |
| 4393 | |
| 4394 | # test whether we have cygpath |
| 4395 | if testscip-shell system . . test. -z "$CYGPATH_W"; then |
| 4396 | if (cygpath --version) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 4397 | CYGPATH_W='cygpath -w' |
| 4398 | else |
| 4399 | CYGPATH_W=echo |
| 4400 | fi |
| 4401 | fi |
| 4402 | |
| 4403 | |
| 4404 | # Define the identity of the package. |
| 4405 | PACKAGE='rsyslog' |
| 4406 | VERSION='8.2604.0' |
| 4407 | |
| 4408 | |
| 4409 | printfscip-shell system . . printf. "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h |
| 4410 | |
| 4411 | |
| 4412 | printfscip-shell system . . printf. "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h |
| 4413 | |
| 4414 | # Some tools Automake needs. |
| 4415 | |
| 4416 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
| 4417 | |
| 4418 | |
| 4419 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
| 4420 | |
| 4421 | |
| 4422 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
| 4423 | |
| 4424 | |
| 4425 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
| 4426 | |
| 4427 | |
| 4428 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 4429 | |
| 4430 | # For better backward compatibility. To be removed once Automake 1.9.x |
| 4431 | # dies out for good. For more background, see: |
| 4432 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 4433 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 4434 | mkdir_p='$(MKDIR_P)' |
| 4435 | |
| 4436 | # We need awk for the "check" target (and possibly the TAP driver). The |
| 4437 | # system "awk" is bad on some platforms. |
| 4438 | # Always define AMTAR for backward compatibility. Yes, it's still used |
| 4439 | # in the wild :-( We should find a proper way to deprecate it ... |
| 4440 | AMTAR='$${TAR-tar}' |
| 4441 | |
| 4442 | |
| 4443 | # We'll loop over all known methods to create a tar archive until one works. |
| 4444 | _am_tools='gnutar pax cpio none' |
| 4445 | |
| 4446 | |
| 4447 | |
| 4448 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5 |
| 4449 | printfscip-shell system . . printf. %s "checking how to create a pax tar archive... " >&6; } |
| 4450 | |
| 4451 | # Go ahead even if we have the value already cached. We do so because we |
| 4452 | # need to set the values for the 'am__tar' and 'am__untar' variables. |
| 4453 | _am_tools=${am_cv_prog_tar_pax-$_am_tools} |
| 4454 | |
| 4455 | for _am_tool in $_am_tools; do |
| 4456 | case $_am_tool in |
| 4457 | gnutar) |
| 4458 | for _am_tar in tar gnutar gtar; do |
| 4459 | { echoscip-shell system . . echo. "$as_me:$LINENO: $_am_tar --version" >&5 |
| 4460 | ($_am_tar --version) >&5 2>&5 |
| 4461 | ac_status=$? |
| 4462 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4463 | (exit $ac_status); } && break |
| 4464 | done |
| 4465 | am__tar="$_am_tar --format=posix -chf - "'"$$tardir"' |
| 4466 | am__tar_="$_am_tar --format=posix -chf - "'"$tardir"' |
| 4467 | am__untar="$_am_tar -xf -" |
| 4468 | ;; |
| 4469 | plaintar) |
| 4470 | # Must skip GNU tar: if it does not support --format= it doesn't create |
| 4471 | # ustar tarball either. |
| 4472 | (tarscip-shell system . . tar. --version) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && continue |
| 4473 | am__tar='tar chf - "$$tardir"' |
| 4474 | am__tar_='tar chf - "$tardir"' |
| 4475 | am__untar='tar xf -' |
| 4476 | ;; |
| 4477 | pax) |
| 4478 | am__tar='pax -L -x pax -w "$$tardir"' |
| 4479 | am__tar_='pax -L -x pax -w "$tardir"' |
| 4480 | am__untar='pax -r' |
| 4481 | ;; |
| 4482 | cpio) |
| 4483 | am__tar='find "$$tardir" -print | cpio -o -H pax -L' |
| 4484 | am__tar_='find "$tardir" -print | cpio -o -H pax -L' |
| 4485 | am__untar='cpio -i -H pax -d' |
| 4486 | ;; |
| 4487 | none) |
| 4488 | am__tar=false |
| 4489 | am__tar_=false |
| 4490 | am__untar=false |
| 4491 | ;; |
| 4492 | esac |
| 4493 | |
| 4494 | # If the value was cached, stop now. We just wanted to have am__tar |
| 4495 | # and am__untar set. |
| 4496 | testscip-shell system . . test. -n "${am_cv_prog_tar_pax}" && break |
| 4497 | |
| 4498 | # tar/untar a dummy directory, and stop if the command works. |
| 4499 | rmscip-shell system . . rm. -rf conftest.dir |
| 4500 | mkdirscip-shell system . . mkdir. conftest.dir |
| 4501 | echoscip-shell system . . echo. GrepMe > conftest.dir/file |
| 4502 | { echoscip-shell system . . echo. "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 |
| 4503 | (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 |
| 4504 | ac_status=$? |
| 4505 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4506 | (exit $ac_status); } |
| 4507 | rmscip-shell system . . rm. -rf conftest.dir |
| 4508 | if testscip-shell system . . test. -s conftest.tar; then |
| 4509 | { echoscip-shell system . . echo. "$as_me:$LINENO: $am__untar <conftest.tar" >&5 |
| 4510 | ($am__untar <conftest.tar) >&5 2>&5 |
| 4511 | ac_status=$? |
| 4512 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4513 | (exit $ac_status); } |
| 4514 | { echoscip-shell system . . echo. "$as_me:$LINENO: cat conftest.dir/file" >&5 |
| 4515 | (catscip-shell system . . cat. conftest.dir/file) >&5 2>&5 |
| 4516 | ac_status=$? |
| 4517 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4518 | (exit $ac_status); } |
| 4519 | grepscip-shell system . . grep. GrepMe conftest.dir/file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && break |
| 4520 | fi |
| 4521 | done |
| 4522 | rmscip-shell system . . rm. -rf conftest.dir |
| 4523 | |
| 4524 | if testscip-shell system . . test. ${am_cv_prog_tar_pax+y} |
| 4525 | then : |
| 4526 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4527 | else $as_nop |
| 4528 | am_cv_prog_tar_pax=$_am_tool |
| 4529 | fi |
| 4530 | |
| 4531 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5 |
| 4532 | printfscip-shell system . . printf. "%s\n" "$am_cv_prog_tar_pax" >&6; } |
| 4533 | |
| 4534 | |
| 4535 | |
| 4536 | |
| 4537 | |
| 4538 | # Variables for tags utilities; see am/tags.am |
| 4539 | if testscip-shell system . . test. -z "$CTAGS"; then |
| 4540 | CTAGS=ctags |
| 4541 | fi |
| 4542 | |
| 4543 | if testscip-shell system . . test. -z "$ETAGS"; then |
| 4544 | ETAGS=etags |
| 4545 | fi |
| 4546 | |
| 4547 | if testscip-shell system . . test. -z "$CSCOPE"; then |
| 4548 | CSCOPE=cscope |
| 4549 | fi |
| 4550 | |
| 4551 | |
| 4552 | |
| 4553 | # POSIX will say in a future version that running "rm -f" with no argument |
| 4554 | # is OK; and we want to be able to make that assumption in our Makefile |
| 4555 | # recipes. So use an aggressive probe to check that the usage we want is |
| 4556 | # actually supported "in the wild" to an acceptable degree. |
| 4557 | # See automake bug#10828. |
| 4558 | # To make any issue more visible, cause the running configure to be aborted |
| 4559 | # by default if the 'rm' program in use doesn't match our expectations; the |
| 4560 | # user can still override this though. |
| 4561 | if rmscip-shell system . . rm. -f && rmscip-shell system . . rm. -fr && rmscip-shell system . . rm. -rf; then : OK; else |
| 4562 | catscip-shell system . . cat. >&2 <<'END' |
| 4563 | Oops! |
| 4564 | |
| 4565 | Your 'rm' program seems unable to run without file operands specified |
| 4566 | on the command line, even when the '-f' option is present. This is contrary |
| 4567 | to the behaviour of most rm programs out there, and not conforming with |
| 4568 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
| 4569 | |
| 4570 | Please tell [email protected] about your system, including the value |
| 4571 | of your $PATH and any error possibly output before this message. This |
| 4572 | can help us improve future automake versions. |
| 4573 | |
| 4574 | END |
| 4575 | if testscip-shell system . . test. x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
| 4576 | echoscip-shell system . . echo. 'Configuration will proceed anyway, since you have set the' >&2 |
| 4577 | echoscip-shell system . . echo. 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
| 4578 | echoscip-shell system . . echo. >&2 |
| 4579 | else |
| 4580 | catscip-shell system . . cat. >&2 <<'END' |
| 4581 | Aborting the configuration process, to ensure you take notice of the issue. |
| 4582 | |
| 4583 | You can download and install GNU coreutils to get an 'rm' implementation |
| 4584 | that behaves properly: <https://www.gnu.org/software/coreutils/>. |
| 4585 | |
| 4586 | If you want to complete the configuration process using your problematic |
| 4587 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 4588 | to "yes", and re-run configure. |
| 4589 | |
| 4590 | END |
| 4591 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
| 4592 | fi |
| 4593 | fi |
| 4594 | |
| 4595 | |
| 4596 | |
| 4597 | |
| 4598 | # Check whether --enable-silent-rules was given. |
| 4599 | if testscip-shell system . . test. ${enable_silent_rules+y} |
| 4600 | then : |
| 4601 | enableval=$enable_silent_rules; |
| 4602 | fi |
| 4603 | |
| 4604 | case $enable_silent_rules in # ((( |
| 4605 | yes) AM_DEFAULT_VERBOSITY=0;; |
| 4606 | no) AM_DEFAULT_VERBOSITY=1;; |
| 4607 | *) AM_DEFAULT_VERBOSITY=0;; |
| 4608 | esac |
| 4609 | am_make=${MAKE-make} |
| 4610 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 4611 | printfscip-shell system . . printf. %s "checking whether $am_make supports nested variables... " >&6; } |
| 4612 | if testscip-shell system . . test. ${am_cv_make_support_nested_variables+y} |
| 4613 | then : |
| 4614 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4615 | else $as_nop |
| 4616 | if printfscip-shell system . . printf. "%s\n" 'TRUE=$(BAR$(V)) |
| 4617 | BAR0=false |
| 4618 | BAR1=true |
| 4619 | V=1 |
| 4620 | am__doit: |
| 4621 | @$(TRUE) |
| 4622 | .PHONY: am__doit' | $am_make -f - >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 4623 | am_cv_make_support_nested_variables=yes |
| 4624 | else |
| 4625 | am_cv_make_support_nested_variables=no |
| 4626 | fi |
| 4627 | fi |
| 4628 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 4629 | printfscip-shell system . . printf. "%s\n" "$am_cv_make_support_nested_variables" >&6; } |
| 4630 | if testscip-shell system . . test. $am_cv_make_support_nested_variables = yes; then |
| 4631 | AM_V='$(V)' |
| 4632 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 4633 | else |
| 4634 | AM_V=$AM_DEFAULT_VERBOSITY |
| 4635 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 4636 | fi |
| 4637 | AM_BACKSLASH='\' |
| 4638 | |
| 4639 | |
| 4640 | unamestr=$(unamescip-shell system . . uname.) |
| 4641 | if testscip-shell system . . test. "$unamestr" = "AIX"; then |
| 4642 | # Check whether --enable-aix64bits was given. |
| 4643 | if testscip-shell system . . test. ${enable_aix64bits+y} |
| 4644 | then : |
| 4645 | enableval=$enable_aix64bits; case "${enableval}" in |
| 4646 | yes) enable_aix64bits="yes" ;; |
| 4647 | no) enable_aix64bits="no" ;; |
| 4648 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-aix64bits" "$LINENO" 5 ;; |
| 4649 | esac |
| 4650 | else $as_nop |
| 4651 | enable_aix64bits=no |
| 4652 | |
| 4653 | fi |
| 4654 | |
| 4655 | |
| 4656 | CFLAGS="$CFLAGS -D_LINUX_SOURCE_COMPAT" |
| 4657 | LDFLAGS="-brtl" |
| 4658 | if testscip-shell system . . test. "x$enable_aix64bits" == "xyes"; then |
| 4659 | CFLAGS="$CFLAGS -q64" |
| 4660 | LDFLAGS="$LDFLAGS -b64" |
| 4661 | AR_CFLAGS="-X64 $AR_CFLAGS" |
| 4662 | NM="$(whichscip-shell system . . which. nm) -X64 rcu" |
| 4663 | fi |
| 4664 | fi |
| 4665 | |
| 4666 | |
| 4667 | |
| 4668 | ac_config_headers="$ac_config_headers config.h" |
| 4669 | |
| 4670 | |
| 4671 | |
| 4672 | |
| 4673 | |
| 4674 | |
| 4675 | |
| 4676 | |
| 4677 | |
| 4678 | |
| 4679 | |
| 4680 | DEPDIR="${am__leading_dot}deps" |
| 4681 | |
| 4682 | ac_config_commands="$ac_config_commands depfiles" |
| 4683 | |
| 4684 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
| 4685 | printfscip-shell system . . printf. %s "checking whether ${MAKE-make} supports the include directive... " >&6; } |
| 4686 | catscip-shell system . . cat. > confinc.mk << 'END' |
| 4687 | am__doit: |
| 4688 | @echo this is the am__doit target >confinc.out |
| 4689 | .PHONY: am__doit |
| 4690 | END |
| 4691 | am__include="#" |
| 4692 | am__quote= |
| 4693 | # BSD make does it like this. |
| 4694 | echoscip-shell system . . echo. '.include "confinc.mk" # ignored' > confmf.BSD |
| 4695 | # Other make implementations (GNU, Solaris 10, AIX) do it like this. |
| 4696 | echoscip-shell system . . echo. 'include confinc.mk # ignored' > confmf.GNU |
| 4697 | _am_result=no |
| 4698 | for s in GNU BSD; do |
| 4699 | { echoscip-shell system . . echo. "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
| 4700 | (${MAKE-make} -f confmf.$s && catscip-shell system . . cat. confinc.out) >&5 2>&5 |
| 4701 | ac_status=$? |
| 4702 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4703 | (exit $ac_status); } |
| 4704 | case $?:`catscip-shell system . . cat. confinc.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #( |
| 4705 | '0:this is the am__doit target') : |
| 4706 | case $s in #( |
| 4707 | BSD) : |
| 4708 | am__include='.include' am__quote='"' ;; #( |
| 4709 | *) : |
| 4710 | am__include='include' am__quote='' ;; |
| 4711 | esac ;; #( |
| 4712 | *) : |
| 4713 | ;; |
| 4714 | esac |
| 4715 | if testscip-shell system . . test. "$am__include" != "#"; then |
| 4716 | _am_result="yes ($s style)" |
| 4717 | break |
| 4718 | fi |
| 4719 | done |
| 4720 | rmscip-shell system . . rm. -f confinc.* confmf.* |
| 4721 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
| 4722 | printfscip-shell system . . printf. "%s\n" "${_am_result}" >&6; } |
| 4723 | |
| 4724 | # Check whether --enable-dependency-tracking was given. |
| 4725 | if testscip-shell system . . test. ${enable_dependency_tracking+y} |
| 4726 | then : |
| 4727 | enableval=$enable_dependency_tracking; |
| 4728 | fi |
| 4729 | |
| 4730 | if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then |
| 4731 | am_depcomp="$ac_aux_dir/depcomp" |
| 4732 | AMDEPBACKSLASH='\' |
| 4733 | am__nodep='_no' |
| 4734 | fi |
| 4735 | if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then |
| 4736 | AMDEP_TRUE= |
| 4737 | AMDEP_FALSE='#' |
| 4738 | else |
| 4739 | AMDEP_TRUE='#' |
| 4740 | AMDEP_FALSE= |
| 4741 | fi |
| 4742 | |
| 4743 | |
| 4744 | ac_ext=c |
| 4745 | ac_cpp='$CPP $CPPFLAGS' |
| 4746 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4747 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4748 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4749 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 4750 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 4751 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 4752 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4753 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 4754 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 4755 | then : |
| 4756 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4757 | else $as_nop |
| 4758 | if testscip-shell system . . test. -n "$CC"; then |
| 4759 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 4760 | else |
| 4761 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4762 | for as_dir in $PATH |
| 4763 | do |
| 4764 | IFS=$as_save_IFS |
| 4765 | case $as_dir in #((( |
| 4766 | '') as_dir=./ ;; |
| 4767 | */) ;; |
| 4768 | *) as_dir=$as_dir/ ;; |
| 4769 | esac |
| 4770 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4771 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 4772 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 4773 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4774 | break 2 |
| 4775 | fi |
| 4776 | done |
| 4777 | done |
| 4778 | IFS=$as_save_IFS |
| 4779 | |
| 4780 | fi |
| 4781 | fi |
| 4782 | CC=$ac_cv_prog_CC |
| 4783 | if testscip-shell system . . test. -n "$CC"; then |
| 4784 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 4785 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 4786 | else |
| 4787 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4788 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4789 | fi |
| 4790 | |
| 4791 | |
| 4792 | fi |
| 4793 | if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then |
| 4794 | ac_ct_CC=$CC |
| 4795 | # Extract the first word of "gcc", so it can be a program name with args. |
| 4796 | set dummy gcc; ac_word=$2 |
| 4797 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4798 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 4799 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y} |
| 4800 | then : |
| 4801 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4802 | else $as_nop |
| 4803 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 4804 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 4805 | else |
| 4806 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4807 | for as_dir in $PATH |
| 4808 | do |
| 4809 | IFS=$as_save_IFS |
| 4810 | case $as_dir in #((( |
| 4811 | '') as_dir=./ ;; |
| 4812 | */) ;; |
| 4813 | *) as_dir=$as_dir/ ;; |
| 4814 | esac |
| 4815 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4816 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 4817 | ac_cv_prog_ac_ct_CC="gcc" |
| 4818 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4819 | break 2 |
| 4820 | fi |
| 4821 | done |
| 4822 | done |
| 4823 | IFS=$as_save_IFS |
| 4824 | |
| 4825 | fi |
| 4826 | fi |
| 4827 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 4828 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 4829 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 4830 | printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; } |
| 4831 | else |
| 4832 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4833 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4834 | fi |
| 4835 | |
| 4836 | if testscip-shell system . . test. "x$ac_ct_CC" = x; then |
| 4837 | CC="" |
| 4838 | else |
| 4839 | case $cross_compiling:$ac_tool_warned in |
| 4840 | yes:) |
| 4841 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 4842 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 4843 | ac_tool_warned=yes ;; |
| 4844 | esac |
| 4845 | CC=$ac_ct_CC |
| 4846 | fi |
| 4847 | else |
| 4848 | CC="$ac_cv_prog_CC" |
| 4849 | fi |
| 4850 | |
| 4851 | if testscip-shell system . . test. -z "$CC"; then |
| 4852 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 4853 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 4854 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 4855 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4856 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 4857 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 4858 | then : |
| 4859 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4860 | else $as_nop |
| 4861 | if testscip-shell system . . test. -n "$CC"; then |
| 4862 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 4863 | else |
| 4864 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4865 | for as_dir in $PATH |
| 4866 | do |
| 4867 | IFS=$as_save_IFS |
| 4868 | case $as_dir in #((( |
| 4869 | '') as_dir=./ ;; |
| 4870 | */) ;; |
| 4871 | *) as_dir=$as_dir/ ;; |
| 4872 | esac |
| 4873 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4874 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 4875 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 4876 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4877 | break 2 |
| 4878 | fi |
| 4879 | done |
| 4880 | done |
| 4881 | IFS=$as_save_IFS |
| 4882 | |
| 4883 | fi |
| 4884 | fi |
| 4885 | CC=$ac_cv_prog_CC |
| 4886 | if testscip-shell system . . test. -n "$CC"; then |
| 4887 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 4888 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 4889 | else |
| 4890 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4891 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4892 | fi |
| 4893 | |
| 4894 | |
| 4895 | fi |
| 4896 | fi |
| 4897 | if testscip-shell system . . test. -z "$CC"; then |
| 4898 | # Extract the first word of "cc", so it can be a program name with args. |
| 4899 | set dummy cc; ac_word=$2 |
| 4900 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4901 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 4902 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 4903 | then : |
| 4904 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4905 | else $as_nop |
| 4906 | if testscip-shell system . . test. -n "$CC"; then |
| 4907 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 4908 | else |
| 4909 | ac_prog_rejected=no |
| 4910 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4911 | for as_dir in $PATH |
| 4912 | do |
| 4913 | IFS=$as_save_IFS |
| 4914 | case $as_dir in #((( |
| 4915 | '') as_dir=./ ;; |
| 4916 | */) ;; |
| 4917 | *) as_dir=$as_dir/ ;; |
| 4918 | esac |
| 4919 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4920 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 4921 | if testscip-shell system . . test. "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then |
| 4922 | ac_prog_rejected=yes |
| 4923 | continue |
| 4924 | fi |
| 4925 | ac_cv_prog_CC="cc" |
| 4926 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4927 | break 2 |
| 4928 | fi |
| 4929 | done |
| 4930 | done |
| 4931 | IFS=$as_save_IFS |
| 4932 | |
| 4933 | if testscip-shell system . . test. $ac_prog_rejected = yes; then |
| 4934 | # We found a bogon in the path, so make sure we never use it. |
| 4935 | set dummy $ac_cv_prog_CC |
| 4936 | shift |
| 4937 | if testscip-shell system . . test. $# != 0; then |
| 4938 | # We chose a different compiler from the bogus one. |
| 4939 | # However, it has the same basename, so the bogon will be chosen |
| 4940 | # first if we set CC to just the basename; use the full file name. |
| 4941 | shift |
| 4942 | ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" |
| 4943 | fi |
| 4944 | fi |
| 4945 | fi |
| 4946 | fi |
| 4947 | CC=$ac_cv_prog_CC |
| 4948 | if testscip-shell system . . test. -n "$CC"; then |
| 4949 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 4950 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 4951 | else |
| 4952 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4953 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4954 | fi |
| 4955 | |
| 4956 | |
| 4957 | fi |
| 4958 | if testscip-shell system . . test. -z "$CC"; then |
| 4959 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 4960 | for ac_prog in cl.exe |
| 4961 | do |
| 4962 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 4963 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 4964 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4965 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 4966 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 4967 | then : |
| 4968 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4969 | else $as_nop |
| 4970 | if testscip-shell system . . test. -n "$CC"; then |
| 4971 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 4972 | else |
| 4973 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4974 | for as_dir in $PATH |
| 4975 | do |
| 4976 | IFS=$as_save_IFS |
| 4977 | case $as_dir in #((( |
| 4978 | '') as_dir=./ ;; |
| 4979 | */) ;; |
| 4980 | *) as_dir=$as_dir/ ;; |
| 4981 | esac |
| 4982 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4983 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 4984 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 4985 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4986 | break 2 |
| 4987 | fi |
| 4988 | done |
| 4989 | done |
| 4990 | IFS=$as_save_IFS |
| 4991 | |
| 4992 | fi |
| 4993 | fi |
| 4994 | CC=$ac_cv_prog_CC |
| 4995 | if testscip-shell system . . test. -n "$CC"; then |
| 4996 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 4997 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 4998 | else |
| 4999 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5000 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5001 | fi |
| 5002 | |
| 5003 | |
| 5004 | testscip-shell system . . test. -n "$CC" && break |
| 5005 | done |
| 5006 | fi |
| 5007 | if testscip-shell system . . test. -z "$CC"; then |
| 5008 | ac_ct_CC=$CC |
| 5009 | for ac_prog in cl.exe |
| 5010 | do |
| 5011 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 5012 | set dummy $ac_prog; ac_word=$2 |
| 5013 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5014 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 5015 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y} |
| 5016 | then : |
| 5017 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5018 | else $as_nop |
| 5019 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 5020 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 5021 | else |
| 5022 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5023 | for as_dir in $PATH |
| 5024 | do |
| 5025 | IFS=$as_save_IFS |
| 5026 | case $as_dir in #((( |
| 5027 | '') as_dir=./ ;; |
| 5028 | */) ;; |
| 5029 | *) as_dir=$as_dir/ ;; |
| 5030 | esac |
| 5031 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5032 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 5033 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 5034 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5035 | break 2 |
| 5036 | fi |
| 5037 | done |
| 5038 | done |
| 5039 | IFS=$as_save_IFS |
| 5040 | |
| 5041 | fi |
| 5042 | fi |
| 5043 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 5044 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 5045 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 5046 | printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; } |
| 5047 | else |
| 5048 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5049 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5050 | fi |
| 5051 | |
| 5052 | |
| 5053 | testscip-shell system . . test. -n "$ac_ct_CC" && break |
| 5054 | done |
| 5055 | |
| 5056 | if testscip-shell system . . test. "x$ac_ct_CC" = x; then |
| 5057 | CC="" |
| 5058 | else |
| 5059 | case $cross_compiling:$ac_tool_warned in |
| 5060 | yes:) |
| 5061 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5062 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5063 | ac_tool_warned=yes ;; |
| 5064 | esac |
| 5065 | CC=$ac_ct_CC |
| 5066 | fi |
| 5067 | fi |
| 5068 | |
| 5069 | fi |
| 5070 | if testscip-shell system . . test. -z "$CC"; then |
| 5071 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 5072 | # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. |
| 5073 | set dummy ${ac_tool_prefix}clang; ac_word=$2 |
| 5074 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5075 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 5076 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 5077 | then : |
| 5078 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5079 | else $as_nop |
| 5080 | if testscip-shell system . . test. -n "$CC"; then |
| 5081 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 5082 | else |
| 5083 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5084 | for as_dir in $PATH |
| 5085 | do |
| 5086 | IFS=$as_save_IFS |
| 5087 | case $as_dir in #((( |
| 5088 | '') as_dir=./ ;; |
| 5089 | */) ;; |
| 5090 | *) as_dir=$as_dir/ ;; |
| 5091 | esac |
| 5092 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5093 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 5094 | ac_cv_prog_CC="${ac_tool_prefix}clang" |
| 5095 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5096 | break 2 |
| 5097 | fi |
| 5098 | done |
| 5099 | done |
| 5100 | IFS=$as_save_IFS |
| 5101 | |
| 5102 | fi |
| 5103 | fi |
| 5104 | CC=$ac_cv_prog_CC |
| 5105 | if testscip-shell system . . test. -n "$CC"; then |
| 5106 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 5107 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 5108 | else |
| 5109 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5110 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5111 | fi |
| 5112 | |
| 5113 | |
| 5114 | fi |
| 5115 | if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then |
| 5116 | ac_ct_CC=$CC |
| 5117 | # Extract the first word of "clang", so it can be a program name with args. |
| 5118 | set dummy clang; ac_word=$2 |
| 5119 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5120 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 5121 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y} |
| 5122 | then : |
| 5123 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5124 | else $as_nop |
| 5125 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 5126 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 5127 | else |
| 5128 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5129 | for as_dir in $PATH |
| 5130 | do |
| 5131 | IFS=$as_save_IFS |
| 5132 | case $as_dir in #((( |
| 5133 | '') as_dir=./ ;; |
| 5134 | */) ;; |
| 5135 | *) as_dir=$as_dir/ ;; |
| 5136 | esac |
| 5137 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5138 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 5139 | ac_cv_prog_ac_ct_CC="clang" |
| 5140 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5141 | break 2 |
| 5142 | fi |
| 5143 | done |
| 5144 | done |
| 5145 | IFS=$as_save_IFS |
| 5146 | |
| 5147 | fi |
| 5148 | fi |
| 5149 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 5150 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 5151 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 5152 | printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; } |
| 5153 | else |
| 5154 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5155 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5156 | fi |
| 5157 | |
| 5158 | if testscip-shell system . . test. "x$ac_ct_CC" = x; then |
| 5159 | CC="" |
| 5160 | else |
| 5161 | case $cross_compiling:$ac_tool_warned in |
| 5162 | yes:) |
| 5163 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5164 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5165 | ac_tool_warned=yes ;; |
| 5166 | esac |
| 5167 | CC=$ac_ct_CC |
| 5168 | fi |
| 5169 | else |
| 5170 | CC="$ac_cv_prog_CC" |
| 5171 | fi |
| 5172 | |
| 5173 | fi |
| 5174 | |
| 5175 | |
| 5176 | testscip-shell system . . test. -z "$CC" && { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 5177 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 5178 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "no acceptable C compiler found in \$PATH |
| 5179 | See \`config.log' for more details" "$LINENO" 5; } |
| 5180 | |
| 5181 | # Provide some information about the compiler. |
| 5182 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 5183 | set X $ac_compile |
| 5184 | ac_compiler=$2 |
| 5185 | for ac_option in --version -v -V -qversion -version; do |
| 5186 | { { ac_try="$ac_compiler $ac_option >&5" |
| 5187 | case "(($ac_try" in |
| 5188 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5189 | *) ac_try_echo=$ac_try;; |
| 5190 | esac |
| 5191 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 5192 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 5193 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 5194 | ac_status=$? |
| 5195 | if testscip-shell system . . test. -s conftest.err; then |
| 5196 | sedscip-shell system . . sed. '10a\ |
| 5197 | ... rest of stderr output deleted ... |
| 5198 | 10q' conftest.err >conftest.er1 |
| 5199 | catscip-shell system . . cat. conftest.er1 >&5 |
| 5200 | fi |
| 5201 | rmscip-shell system . . rm. -f conftest.er1 conftest.err |
| 5202 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 5203 | testscip-shell system . . test. $ac_status = 0; } |
| 5204 | done |
| 5205 | |
| 5206 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5207 | /* end confdefs.h. */ |
| 5208 | |
| 5209 | int |
| 5210 | main (void) |
| 5211 | { |
| 5212 | |
| 5213 | ; |
| 5214 | return 0; |
| 5215 | } |
| 5216 | _ACEOF |
| 5217 | ac_clean_files_save=$ac_clean_files |
| 5218 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
| 5219 | # Try to create an executable without -o first, disregard a.out. |
| 5220 | # It will help us diagnose broken compilers, and finding out an intuition |
| 5221 | # of exeext. |
| 5222 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 5223 | printfscip-shell system . . printf. %s "checking whether the C compiler works... " >&6; } |
| 5224 | ac_link_default=`printfscip-shell system . . printf. "%s\n" "$ac_link" | sedscip-shell system . . sed. 's/ -o *conftest[^ ]*//'` |
| 5225 | |
| 5226 | # The possible output files: |
| 5227 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
| 5228 | |
| 5229 | ac_rmfiles= |
| 5230 | for ac_file in $ac_files |
| 5231 | do |
| 5232 | case $ac_file in |
| 5233 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 5234 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
| 5235 | esac |
| 5236 | done |
| 5237 | rmscip-shell system . . rm. -f $ac_rmfiles |
| 5238 | |
| 5239 | if { { ac_try="$ac_link_default" |
| 5240 | case "(($ac_try" in |
| 5241 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5242 | *) ac_try_echo=$ac_try;; |
| 5243 | esac |
| 5244 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 5245 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 5246 | (eval "$ac_link_default") 2>&5 |
| 5247 | ac_status=$? |
| 5248 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 5249 | testscip-shell system . . test. $ac_status = 0; } |
| 5250 | then : |
| 5251 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 5252 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 5253 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 5254 | # so that the user can short-circuit this test for compilers unknown to |
| 5255 | # Autoconf. |
| 5256 | for ac_file in $ac_files '' |
| 5257 | do |
| 5258 | testscip-shell system . . test. -f "$ac_file" || continue |
| 5259 | case $ac_file in |
| 5260 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
| 5261 | ;; |
| 5262 | [ab].out ) |
| 5263 | # We found the default executable, but exeext='' is most |
| 5264 | # certainly right. |
| 5265 | break;; |
| 5266 | *.* ) |
| 5267 | if testscip-shell system . . test. ${ac_cv_exeext+y} && testscip-shell system . . test. "$ac_cv_exeext" != no; |
| 5268 | then :; else |
| 5269 | ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'` |
| 5270 | fi |
| 5271 | # We set ac_cv_exeext here because the later test for it is not |
| 5272 | # safe: cross compilers may not add the suffix if given an `-o' |
| 5273 | # argument, so we may need to know it at that point already. |
| 5274 | # Even if this section looks crufty: it has the advantage of |
| 5275 | # actually working. |
| 5276 | break;; |
| 5277 | * ) |
| 5278 | break;; |
| 5279 | esac |
| 5280 | done |
| 5281 | testscip-shell system . . test. "$ac_cv_exeext" = no && ac_cv_exeext= |
| 5282 | |
| 5283 | else $as_nop |
| 5284 | ac_file='' |
| 5285 | fi |
| 5286 | if testscip-shell system . . test. -z "$ac_file" |
| 5287 | then : |
| 5288 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5289 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5290 | printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 5291 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 5292 | |
| 5293 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 5294 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 5295 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). 77 "C compiler cannot create executables |
| 5296 | See \`config.log' for more details" "$LINENO" 5; } |
| 5297 | else $as_nop |
| 5298 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 5299 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 5300 | fi |
| 5301 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 5302 | printfscip-shell system . . printf. %s "checking for C compiler default output file name... " >&6; } |
| 5303 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 5304 | printfscip-shell system . . printf. "%s\n" "$ac_file" >&6; } |
| 5305 | ac_exeext=$ac_cv_exeext |
| 5306 | |
| 5307 | rmscip-shell system . . rm. -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 5308 | ac_clean_files=$ac_clean_files_save |
| 5309 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 5310 | printfscip-shell system . . printf. %s "checking for suffix of executables... " >&6; } |
| 5311 | if { { ac_try="$ac_link" |
| 5312 | case "(($ac_try" in |
| 5313 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5314 | *) ac_try_echo=$ac_try;; |
| 5315 | esac |
| 5316 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 5317 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 5318 | (eval "$ac_link") 2>&5 |
| 5319 | ac_status=$? |
| 5320 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 5321 | testscip-shell system . . test. $ac_status = 0; } |
| 5322 | then : |
| 5323 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 5324 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 5325 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
| 5326 | # `rm'. |
| 5327 | for ac_file in conftest.exe conftest conftest.*; do |
| 5328 | testscip-shell system . . test. -f "$ac_file" || continue |
| 5329 | case $ac_file in |
| 5330 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 5331 | *.* ) ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'` |
| 5332 | break;; |
| 5333 | * ) break;; |
| 5334 | esac |
| 5335 | done |
| 5336 | else $as_nop |
| 5337 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 5338 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 5339 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "cannot compute suffix of executables: cannot compile and link |
| 5340 | See \`config.log' for more details" "$LINENO" 5; } |
| 5341 | fi |
| 5342 | rmscip-shell system . . rm. -f conftest conftest$ac_cv_exeext |
| 5343 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 5344 | printfscip-shell system . . printf. "%s\n" "$ac_cv_exeext" >&6; } |
| 5345 | |
| 5346 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 5347 | EXEEXT=$ac_cv_exeext |
| 5348 | ac_exeext=$EXEEXT |
| 5349 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5350 | /* end confdefs.h. */ |
| 5351 | #include <stdio.h> |
| 5352 | int |
| 5353 | main (void) |
| 5354 | { |
| 5355 | FILE *f = fopen ("conftest.out", "w"); |
| 5356 | return ferror (f) || fclose (f) != 0; |
| 5357 | |
| 5358 | ; |
| 5359 | return 0; |
| 5360 | } |
| 5361 | _ACEOF |
| 5362 | ac_clean_files="$ac_clean_files conftest.out" |
| 5363 | # Check that the compiler produces executables we can run. If not, either |
| 5364 | # the compiler is broken, or we cross compile. |
| 5365 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 5366 | printfscip-shell system . . printf. %s "checking whether we are cross compiling... " >&6; } |
| 5367 | if testscip-shell system . . test. "$cross_compiling" != yes; then |
| 5368 | { { ac_try="$ac_link" |
| 5369 | case "(($ac_try" in |
| 5370 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5371 | *) ac_try_echo=$ac_try;; |
| 5372 | esac |
| 5373 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 5374 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 5375 | (eval "$ac_link") 2>&5 |
| 5376 | ac_status=$? |
| 5377 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 5378 | testscip-shell system . . test. $ac_status = 0; } |
| 5379 | if { ac_try='./conftest$ac_cv_exeext' |
| 5380 | { { case "(($ac_try" in |
| 5381 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5382 | *) ac_try_echo=$ac_try;; |
| 5383 | esac |
| 5384 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 5385 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 5386 | (eval "$ac_try") 2>&5 |
| 5387 | ac_status=$? |
| 5388 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 5389 | testscip-shell system . . test. $ac_status = 0; }; }; then |
| 5390 | cross_compiling=no |
| 5391 | else |
| 5392 | if testscip-shell system . . test. "$cross_compiling" = maybe; then |
| 5393 | cross_compiling=yes |
| 5394 | else |
| 5395 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 5396 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 5397 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). 77 "cannot run C compiled programs. |
| 5398 | If you meant to cross compile, use \`--host'. |
| 5399 | See \`config.log' for more details" "$LINENO" 5; } |
| 5400 | fi |
| 5401 | fi |
| 5402 | fi |
| 5403 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 5404 | printfscip-shell system . . printf. "%s\n" "$cross_compiling" >&6; } |
| 5405 | |
| 5406 | rmscip-shell system . . rm. -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
| 5407 | ac_clean_files=$ac_clean_files_save |
| 5408 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 5409 | printfscip-shell system . . printf. %s "checking for suffix of object files... " >&6; } |
| 5410 | if testscip-shell system . . test. ${ac_cv_objext+y} |
| 5411 | then : |
| 5412 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5413 | else $as_nop |
| 5414 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5415 | /* end confdefs.h. */ |
| 5416 | |
| 5417 | int |
| 5418 | main (void) |
| 5419 | { |
| 5420 | |
| 5421 | ; |
| 5422 | return 0; |
| 5423 | } |
| 5424 | _ACEOF |
| 5425 | rmscip-shell system . . rm. -f conftest.o conftest.obj |
| 5426 | if { { ac_try="$ac_compile" |
| 5427 | case "(($ac_try" in |
| 5428 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5429 | *) ac_try_echo=$ac_try;; |
| 5430 | esac |
| 5431 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 5432 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 5433 | (eval "$ac_compile") 2>&5 |
| 5434 | ac_status=$? |
| 5435 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 5436 | testscip-shell system . . test. $ac_status = 0; } |
| 5437 | then : |
| 5438 | for ac_file in conftest.o conftest.obj conftest.*; do |
| 5439 | testscip-shell system . . test. -f "$ac_file" || continue; |
| 5440 | case $ac_file in |
| 5441 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
| 5442 | *) ac_cv_objext=`exprscip-shell system . . expr. "$ac_file" : '.*\.\(.*\)'` |
| 5443 | break;; |
| 5444 | esac |
| 5445 | done |
| 5446 | else $as_nop |
| 5447 | printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 5448 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 5449 | |
| 5450 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 5451 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 5452 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "cannot compute suffix of object files: cannot compile |
| 5453 | See \`config.log' for more details" "$LINENO" 5; } |
| 5454 | fi |
| 5455 | rmscip-shell system . . rm. -f conftest.$ac_cv_objext conftest.$ac_ext |
| 5456 | fi |
| 5457 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
| 5458 | printfscip-shell system . . printf. "%s\n" "$ac_cv_objext" >&6; } |
| 5459 | OBJEXT=$ac_cv_objext |
| 5460 | ac_objext=$OBJEXT |
| 5461 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 |
| 5462 | printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C... " >&6; } |
| 5463 | if testscip-shell system . . test. ${ac_cv_c_compiler_gnu+y} |
| 5464 | then : |
| 5465 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5466 | else $as_nop |
| 5467 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5468 | /* end confdefs.h. */ |
| 5469 | |
| 5470 | int |
| 5471 | main (void) |
| 5472 | { |
| 5473 | #ifndef __GNUC__ |
| 5474 | choke me |
| 5475 | #endif |
| 5476 | |
| 5477 | ; |
| 5478 | return 0; |
| 5479 | } |
| 5480 | _ACEOF |
| 5481 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 5482 | then : |
| 5483 | ac_compiler_gnu=yes |
| 5484 | else $as_nop |
| 5485 | ac_compiler_gnu=no |
| 5486 | fi |
| 5487 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 5488 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 5489 | |
| 5490 | fi |
| 5491 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 5492 | printfscip-shell system . . printf. "%s\n" "$ac_cv_c_compiler_gnu" >&6; } |
| 5493 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5494 | |
| 5495 | if testscip-shell system . . test. $ac_compiler_gnu = yes; then |
| 5496 | GCC=yes |
| 5497 | else |
| 5498 | GCC= |
| 5499 | fi |
| 5500 | ac_test_CFLAGS=${CFLAGS+y} |
| 5501 | ac_save_CFLAGS=$CFLAGS |
| 5502 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 5503 | printfscip-shell system . . printf. %s "checking whether $CC accepts -g... " >&6; } |
| 5504 | if testscip-shell system . . test. ${ac_cv_prog_cc_g+y} |
| 5505 | then : |
| 5506 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5507 | else $as_nop |
| 5508 | ac_save_c_werror_flag=$ac_c_werror_flag |
| 5509 | ac_c_werror_flag=yes |
| 5510 | ac_cv_prog_cc_g=no |
| 5511 | CFLAGS="-g" |
| 5512 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5513 | /* end confdefs.h. */ |
| 5514 | |
| 5515 | int |
| 5516 | main (void) |
| 5517 | { |
| 5518 | |
| 5519 | ; |
| 5520 | return 0; |
| 5521 | } |
| 5522 | _ACEOF |
| 5523 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 5524 | then : |
| 5525 | ac_cv_prog_cc_g=yes |
| 5526 | else $as_nop |
| 5527 | CFLAGS="" |
| 5528 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5529 | /* end confdefs.h. */ |
| 5530 | |
| 5531 | int |
| 5532 | main (void) |
| 5533 | { |
| 5534 | |
| 5535 | ; |
| 5536 | return 0; |
| 5537 | } |
| 5538 | _ACEOF |
| 5539 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 5540 | then : |
| 5541 | |
| 5542 | else $as_nop |
| 5543 | ac_c_werror_flag=$ac_save_c_werror_flag |
| 5544 | CFLAGS="-g" |
| 5545 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5546 | /* end confdefs.h. */ |
| 5547 | |
| 5548 | int |
| 5549 | main (void) |
| 5550 | { |
| 5551 | |
| 5552 | ; |
| 5553 | return 0; |
| 5554 | } |
| 5555 | _ACEOF |
| 5556 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 5557 | then : |
| 5558 | ac_cv_prog_cc_g=yes |
| 5559 | fi |
| 5560 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 5561 | fi |
| 5562 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 5563 | fi |
| 5564 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 5565 | ac_c_werror_flag=$ac_save_c_werror_flag |
| 5566 | fi |
| 5567 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 5568 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_g" >&6; } |
| 5569 | if testscip-shell system . . test. $ac_test_CFLAGS; then |
| 5570 | CFLAGS=$ac_save_CFLAGS |
| 5571 | elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then |
| 5572 | if testscip-shell system . . test. "$GCC" = yes; then |
| 5573 | CFLAGS="-g -O2" |
| 5574 | else |
| 5575 | CFLAGS="-g" |
| 5576 | fi |
| 5577 | else |
| 5578 | if testscip-shell system . . test. "$GCC" = yes; then |
| 5579 | CFLAGS="-O2" |
| 5580 | else |
| 5581 | CFLAGS= |
| 5582 | fi |
| 5583 | fi |
| 5584 | ac_prog_cc_stdc=no |
| 5585 | if testscip-shell system . . test. x$ac_prog_cc_stdc = xno |
| 5586 | then : |
| 5587 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 |
| 5588 | printfscip-shell system . . printf. %s "checking for $CC option to enable C11 features... " >&6; } |
| 5589 | if testscip-shell system . . test. ${ac_cv_prog_cc_c11+y} |
| 5590 | then : |
| 5591 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5592 | else $as_nop |
| 5593 | ac_cv_prog_cc_c11=no |
| 5594 | ac_save_CC=$CC |
| 5595 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5596 | /* end confdefs.h. */ |
| 5597 | $ac_c_conftest_c11_program |
| 5598 | _ACEOF |
| 5599 | for ac_arg in '' -std=gnu11 |
| 5600 | do |
| 5601 | CC="$ac_save_CC $ac_arg" |
| 5602 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 5603 | then : |
| 5604 | ac_cv_prog_cc_c11=$ac_arg |
| 5605 | fi |
| 5606 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam |
| 5607 | testscip-shell system . . test. "x$ac_cv_prog_cc_c11" != "xno" && break |
| 5608 | done |
| 5609 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 5610 | CC=$ac_save_CC |
| 5611 | fi |
| 5612 | |
| 5613 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = xno |
| 5614 | then : |
| 5615 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 5616 | printfscip-shell system . . printf. "%s\n" "unsupported" >&6; } |
| 5617 | else $as_nop |
| 5618 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = x |
| 5619 | then : |
| 5620 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 5621 | printfscip-shell system . . printf. "%s\n" "none needed" >&6; } |
| 5622 | else $as_nop |
| 5623 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 |
| 5624 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c11" >&6; } |
| 5625 | CC="$CC $ac_cv_prog_cc_c11" |
| 5626 | fi |
| 5627 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 |
| 5628 | ac_prog_cc_stdc=c11 |
| 5629 | fi |
| 5630 | fi |
| 5631 | if testscip-shell system . . test. x$ac_prog_cc_stdc = xno |
| 5632 | then : |
| 5633 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 |
| 5634 | printfscip-shell system . . printf. %s "checking for $CC option to enable C99 features... " >&6; } |
| 5635 | if testscip-shell system . . test. ${ac_cv_prog_cc_c99+y} |
| 5636 | then : |
| 5637 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5638 | else $as_nop |
| 5639 | ac_cv_prog_cc_c99=no |
| 5640 | ac_save_CC=$CC |
| 5641 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5642 | /* end confdefs.h. */ |
| 5643 | $ac_c_conftest_c99_program |
| 5644 | _ACEOF |
| 5645 | for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= |
| 5646 | do |
| 5647 | CC="$ac_save_CC $ac_arg" |
| 5648 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 5649 | then : |
| 5650 | ac_cv_prog_cc_c99=$ac_arg |
| 5651 | fi |
| 5652 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam |
| 5653 | testscip-shell system . . test. "x$ac_cv_prog_cc_c99" != "xno" && break |
| 5654 | done |
| 5655 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 5656 | CC=$ac_save_CC |
| 5657 | fi |
| 5658 | |
| 5659 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = xno |
| 5660 | then : |
| 5661 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 5662 | printfscip-shell system . . printf. "%s\n" "unsupported" >&6; } |
| 5663 | else $as_nop |
| 5664 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = x |
| 5665 | then : |
| 5666 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 5667 | printfscip-shell system . . printf. "%s\n" "none needed" >&6; } |
| 5668 | else $as_nop |
| 5669 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
| 5670 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c99" >&6; } |
| 5671 | CC="$CC $ac_cv_prog_cc_c99" |
| 5672 | fi |
| 5673 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
| 5674 | ac_prog_cc_stdc=c99 |
| 5675 | fi |
| 5676 | fi |
| 5677 | if testscip-shell system . . test. x$ac_prog_cc_stdc = xno |
| 5678 | then : |
| 5679 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 |
| 5680 | printfscip-shell system . . printf. %s "checking for $CC option to enable C89 features... " >&6; } |
| 5681 | if testscip-shell system . . test. ${ac_cv_prog_cc_c89+y} |
| 5682 | then : |
| 5683 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5684 | else $as_nop |
| 5685 | ac_cv_prog_cc_c89=no |
| 5686 | ac_save_CC=$CC |
| 5687 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5688 | /* end confdefs.h. */ |
| 5689 | $ac_c_conftest_c89_program |
| 5690 | _ACEOF |
| 5691 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 5692 | do |
| 5693 | CC="$ac_save_CC $ac_arg" |
| 5694 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 5695 | then : |
| 5696 | ac_cv_prog_cc_c89=$ac_arg |
| 5697 | fi |
| 5698 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam |
| 5699 | testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break |
| 5700 | done |
| 5701 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 5702 | CC=$ac_save_CC |
| 5703 | fi |
| 5704 | |
| 5705 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = xno |
| 5706 | then : |
| 5707 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 5708 | printfscip-shell system . . printf. "%s\n" "unsupported" >&6; } |
| 5709 | else $as_nop |
| 5710 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = x |
| 5711 | then : |
| 5712 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 5713 | printfscip-shell system . . printf. "%s\n" "none needed" >&6; } |
| 5714 | else $as_nop |
| 5715 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 5716 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c89" >&6; } |
| 5717 | CC="$CC $ac_cv_prog_cc_c89" |
| 5718 | fi |
| 5719 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
| 5720 | ac_prog_cc_stdc=c89 |
| 5721 | fi |
| 5722 | fi |
| 5723 | |
| 5724 | ac_ext=c |
| 5725 | ac_cpp='$CPP $CPPFLAGS' |
| 5726 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5727 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5728 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5729 | |
| 5730 | |
| 5731 | ac_ext=c |
| 5732 | ac_cpp='$CPP $CPPFLAGS' |
| 5733 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5734 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5735 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5736 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 5737 | printfscip-shell system . . printf. %s "checking whether $CC understands -c and -o together... " >&6; } |
| 5738 | if testscip-shell system . . test. ${am_cv_prog_cc_c_o+y} |
| 5739 | then : |
| 5740 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5741 | else $as_nop |
| 5742 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5743 | /* end confdefs.h. */ |
| 5744 | |
| 5745 | int |
| 5746 | main (void) |
| 5747 | { |
| 5748 | |
| 5749 | ; |
| 5750 | return 0; |
| 5751 | } |
| 5752 | _ACEOF |
| 5753 | # Make sure it works both with $CC and with simple cc. |
| 5754 | # Following AC_PROG_CC_C_O, we do the test twice because some |
| 5755 | # compilers refuse to overwrite an existing .o file with -o, |
| 5756 | # though they will create one. |
| 5757 | am_cv_prog_cc_c_o=yes |
| 5758 | for am_i in 1 2; do |
| 5759 | if { echoscip-shell system . . echo. "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
| 5760 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
| 5761 | ac_status=$? |
| 5762 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5763 | (exit $ac_status); } \ |
| 5764 | && testscip-shell system . . test. -f conftest2.$ac_objext; then |
| 5765 | : OK |
| 5766 | else |
| 5767 | am_cv_prog_cc_c_o=no |
| 5768 | break |
| 5769 | fi |
| 5770 | done |
| 5771 | rmscip-shell system . . rm. -f core conftest* |
| 5772 | unset am_i |
| 5773 | fi |
| 5774 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 5775 | printfscip-shell system . . printf. "%s\n" "$am_cv_prog_cc_c_o" >&6; } |
| 5776 | if testscip-shell system . . test. "$am_cv_prog_cc_c_o" != yes; then |
| 5777 | # Losing compiler, so override with the script. |
| 5778 | # FIXME: It is wrong to rewrite CC. |
| 5779 | # But if we don't then we get into trouble of one sort or another. |
| 5780 | # A longer-term fix would be to have automake use am__CC in this case, |
| 5781 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 5782 | CC="$am_aux_dir/compile $CC" |
| 5783 | fi |
| 5784 | ac_ext=c |
| 5785 | ac_cpp='$CPP $CPPFLAGS' |
| 5786 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5787 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5788 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5789 | |
| 5790 | |
| 5791 | depcc="$CC" am_compiler_list= |
| 5792 | |
| 5793 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 5794 | printfscip-shell system . . printf. %s "checking dependency style of $depcc... " >&6; } |
| 5795 | if testscip-shell system . . test. ${am_cv_CC_dependencies_compiler_type+y} |
| 5796 | then : |
| 5797 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5798 | else $as_nop |
| 5799 | if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then |
| 5800 | # We make a subdir and do the tests there. Otherwise we can end up |
| 5801 | # making bogus files that we don't know about and never remove. For |
| 5802 | # instance it was reported that on HP-UX the gcc test will end up |
| 5803 | # making a dummy file named 'D' -- because '-MD' means "put the output |
| 5804 | # in D". |
| 5805 | rmscip-shell system . . rm. -rf conftest.dir |
| 5806 | mkdirscip-shell system . . mkdir. conftest.dir |
| 5807 | # Copy depcomp to subdir because otherwise we won't find it if we're |
| 5808 | # using a relative directory. |
| 5809 | cpscip-shell system . . cp. "$am_depcomp" conftest.dir |
| 5810 | cd conftest.dir |
| 5811 | # We will build objects and dependencies in a subdirectory because |
| 5812 | # it helps to detect inapplicable dependency modes. For instance |
| 5813 | # both Tru64's cc and ICC support -MD to output dependencies as a |
| 5814 | # side effect of compilation, but ICC will put the dependencies in |
| 5815 | # the current directory while Tru64 will put them in the object |
| 5816 | # directory. |
| 5817 | mkdirscip-shell system . . mkdir. sub |
| 5818 | |
| 5819 | am_cv_CC_dependencies_compiler_type=none |
| 5820 | if testscip-shell system . . test. "$am_compiler_list" = ""; then |
| 5821 | am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 5822 | fi |
| 5823 | am__universal=false |
| 5824 | case " $depcc " in #( |
| 5825 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 5826 | esac |
| 5827 | |
| 5828 | for depmode in $am_compiler_list; do |
| 5829 | # Setup a source with many dependencies, because some compilers |
| 5830 | # like to wrap large dependency lists on column 80 (with \), and |
| 5831 | # we should not choose a depcomp mode which is confused by this. |
| 5832 | # |
| 5833 | # We need to recreate these files for each test, as the compiler may |
| 5834 | # overwrite some of them when testing with obscure command lines. |
| 5835 | # This happens at least with the AIX C compiler. |
| 5836 | : > sub/conftest.c |
| 5837 | for i in 1 2 3 4 5 6; do |
| 5838 | echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c |
| 5839 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 5840 | # Solaris 10 /bin/sh. |
| 5841 | echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h |
| 5842 | done |
| 5843 | echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 5844 | |
| 5845 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 5846 | # mode. It turns out that the SunPro C++ compiler does not properly |
| 5847 | # handle '-M -o', and we need to detect this. Also, some Intel |
| 5848 | # versions had trouble with output in subdirs. |
| 5849 | am__obj=sub/conftest.${OBJEXT-o} |
| 5850 | am__minus_obj="-o $am__obj" |
| 5851 | case $depmode in |
| 5852 | gcc) |
| 5853 | # This depmode causes a compiler race in universal mode. |
| 5854 | testscip-shell system . . test. "$am__universal" = false || continue |
| 5855 | ;; |
| 5856 | nosideeffect) |
| 5857 | # After this tag, mechanisms are not by side-effect, so they'll |
| 5858 | # only be used when explicitly requested. |
| 5859 | if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then |
| 5860 | continue |
| 5861 | else |
| 5862 | break |
| 5863 | fi |
| 5864 | ;; |
| 5865 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 5866 | # This compiler won't grok '-c -o', but also, the minuso test has |
| 5867 | # not run yet. These depmodes are late enough in the game, and |
| 5868 | # so weak that their functioning should not be impacted. |
| 5869 | am__obj=conftest.${OBJEXT-o} |
| 5870 | am__minus_obj= |
| 5871 | ;; |
| 5872 | none) break ;; |
| 5873 | esac |
| 5874 | if depmode=$depmode \ |
| 5875 | source=sub/conftest.c object=$am__obj \ |
| 5876 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 5877 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 5878 | >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err && |
| 5879 | grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 5880 | grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 5881 | grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 5882 | ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 5883 | # icc doesn't choke on unknown options, it will just issue warnings |
| 5884 | # or remarks (even with -Werror). So we grep stderr for any message |
| 5885 | # that says an option was ignored or not supported. |
| 5886 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
| 5887 | # icc: Command line warning: ignoring option '-M'; no argument required |
| 5888 | # The diagnosis changed in icc 8.0: |
| 5889 | # icc: Command line remark: option '-MP' not supported |
| 5890 | if (grepscip-shell system . . grep. 'ignoring option' conftest.err || |
| 5891 | grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else |
| 5892 | am_cv_CC_dependencies_compiler_type=$depmode |
| 5893 | break |
| 5894 | fi |
| 5895 | fi |
| 5896 | done |
| 5897 | |
| 5898 | cd .. |
| 5899 | rmscip-shell system . . rm. -rf conftest.dir |
| 5900 | else |
| 5901 | am_cv_CC_dependencies_compiler_type=none |
| 5902 | fi |
| 5903 | |
| 5904 | fi |
| 5905 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 5906 | printfscip-shell system . . printf. "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 5907 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 5908 | |
| 5909 | if |
| 5910 | testscip-shell system . . test. "x$enable_dependency_tracking" != xno \ |
| 5911 | && testscip-shell system . . test. "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| 5912 | am__fastdepCC_TRUE= |
| 5913 | am__fastdepCC_FALSE='#' |
| 5914 | else |
| 5915 | am__fastdepCC_TRUE='#' |
| 5916 | am__fastdepCC_FALSE= |
| 5917 | fi |
| 5918 | |
| 5919 | |
| 5920 | |
| 5921 | ac_header= ac_cache= |
| 5922 | for ac_item in $ac_header_c_list |
| 5923 | do |
| 5924 | if testscip-shell system . . test. $ac_cache; then |
| 5925 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" |
| 5926 | if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then |
| 5927 | printfscip-shell system . . printf. "%s\n" "#define $ac_item 1" >> confdefs.h |
| 5928 | fi |
| 5929 | ac_header= ac_cache= |
| 5930 | elif testscip-shell system . . test. $ac_header; then |
| 5931 | ac_cache=$ac_item |
| 5932 | else |
| 5933 | ac_header=$ac_item |
| 5934 | fi |
| 5935 | done |
| 5936 | |
| 5937 | |
| 5938 | |
| 5939 | |
| 5940 | |
| 5941 | |
| 5942 | |
| 5943 | |
| 5944 | if testscip-shell system . . test. $ac_cv_header_stdlib_h = yes && testscip-shell system . . test. $ac_cv_header_string_h = yes |
| 5945 | then : |
| 5946 | |
| 5947 | printfscip-shell system . . printf. "%s\n" "#define STDC_HEADERS 1" >>confdefs.h |
| 5948 | |
| 5949 | fi |
| 5950 | |
| 5951 | |
| 5952 | |
| 5953 | |
| 5954 | |
| 5955 | |
| 5956 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
| 5957 | printfscip-shell system . . printf. %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
| 5958 | if testscip-shell system . . test. ${ac_cv_safe_to_define___extensions__+y} |
| 5959 | then : |
| 5960 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5961 | else $as_nop |
| 5962 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5963 | /* end confdefs.h. */ |
| 5964 | |
| 5965 | # define __EXTENSIONS__ 1 |
| 5966 | $ac_includes_default |
| 5967 | int |
| 5968 | main (void) |
| 5969 | { |
| 5970 | |
| 5971 | ; |
| 5972 | return 0; |
| 5973 | } |
| 5974 | _ACEOF |
| 5975 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 5976 | then : |
| 5977 | ac_cv_safe_to_define___extensions__=yes |
| 5978 | else $as_nop |
| 5979 | ac_cv_safe_to_define___extensions__=no |
| 5980 | fi |
| 5981 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 5982 | fi |
| 5983 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 |
| 5984 | printfscip-shell system . . printf. "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } |
| 5985 | |
| 5986 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 |
| 5987 | printfscip-shell system . . printf. %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } |
| 5988 | if testscip-shell system . . test. ${ac_cv_should_define__xopen_source+y} |
| 5989 | then : |
| 5990 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5991 | else $as_nop |
| 5992 | ac_cv_should_define__xopen_source=no |
| 5993 | if testscip-shell system . . test. $ac_cv_header_wchar_h = yes |
| 5994 | then : |
| 5995 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5996 | /* end confdefs.h. */ |
| 5997 | |
| 5998 | #include <wchar.h> |
| 5999 | mbstate_t x; |
| 6000 | int |
| 6001 | main (void) |
| 6002 | { |
| 6003 | |
| 6004 | ; |
| 6005 | return 0; |
| 6006 | } |
| 6007 | _ACEOF |
| 6008 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 6009 | then : |
| 6010 | |
| 6011 | else $as_nop |
| 6012 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6013 | /* end confdefs.h. */ |
| 6014 | |
| 6015 | #define _XOPEN_SOURCE 500 |
| 6016 | #include <wchar.h> |
| 6017 | mbstate_t x; |
| 6018 | int |
| 6019 | main (void) |
| 6020 | { |
| 6021 | |
| 6022 | ; |
| 6023 | return 0; |
| 6024 | } |
| 6025 | _ACEOF |
| 6026 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 6027 | then : |
| 6028 | ac_cv_should_define__xopen_source=yes |
| 6029 | fi |
| 6030 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 6031 | fi |
| 6032 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 6033 | fi |
| 6034 | fi |
| 6035 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 |
| 6036 | printfscip-shell system . . printf. "%s\n" "$ac_cv_should_define__xopen_source" >&6; } |
| 6037 | |
| 6038 | printfscip-shell system . . printf. "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h |
| 6039 | |
| 6040 | printfscip-shell system . . printf. "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h |
| 6041 | |
| 6042 | printfscip-shell system . . printf. "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h |
| 6043 | |
| 6044 | printfscip-shell system . . printf. "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h |
| 6045 | |
| 6046 | printfscip-shell system . . printf. "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h |
| 6047 | |
| 6048 | printfscip-shell system . . printf. "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h |
| 6049 | |
| 6050 | printfscip-shell system . . printf. "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
| 6051 | |
| 6052 | printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h |
| 6053 | |
| 6054 | printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h |
| 6055 | |
| 6056 | printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h |
| 6057 | |
| 6058 | printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h |
| 6059 | |
| 6060 | printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h |
| 6061 | |
| 6062 | printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h |
| 6063 | |
| 6064 | printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h |
| 6065 | |
| 6066 | printfscip-shell system . . printf. "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h |
| 6067 | |
| 6068 | if testscip-shell system . . test. $ac_cv_header_minix_config_h = yes |
| 6069 | then : |
| 6070 | MINIX=yes |
| 6071 | printfscip-shell system . . printf. "%s\n" "#define _MINIX 1" >>confdefs.h |
| 6072 | |
| 6073 | printfscip-shell system . . printf. "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h |
| 6074 | |
| 6075 | printfscip-shell system . . printf. "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h |
| 6076 | |
| 6077 | else $as_nop |
| 6078 | MINIX= |
| 6079 | fi |
| 6080 | if testscip-shell system . . test. $ac_cv_safe_to_define___extensions__ = yes |
| 6081 | then : |
| 6082 | printfscip-shell system . . printf. "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h |
| 6083 | |
| 6084 | fi |
| 6085 | if testscip-shell system . . test. $ac_cv_should_define__xopen_source = yes |
| 6086 | then : |
| 6087 | printfscip-shell system . . printf. "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h |
| 6088 | |
| 6089 | fi |
| 6090 | |
| 6091 | |
| 6092 | # Checks for programs. |
| 6093 | for ac_prog in flex lex |
| 6094 | do |
| 6095 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 6096 | set dummy $ac_prog; ac_word=$2 |
| 6097 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6098 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 6099 | if testscip-shell system . . test. ${ac_cv_prog_LEX+y} |
| 6100 | then : |
| 6101 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6102 | else $as_nop |
| 6103 | if testscip-shell system . . test. -n "$LEX"; then |
| 6104 | ac_cv_prog_LEX="$LEX" # Let the user override the test. |
| 6105 | else |
| 6106 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6107 | for as_dir in $PATH |
| 6108 | do |
| 6109 | IFS=$as_save_IFS |
| 6110 | case $as_dir in #((( |
| 6111 | '') as_dir=./ ;; |
| 6112 | */) ;; |
| 6113 | *) as_dir=$as_dir/ ;; |
| 6114 | esac |
| 6115 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6116 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 6117 | ac_cv_prog_LEX="$ac_prog" |
| 6118 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6119 | break 2 |
| 6120 | fi |
| 6121 | done |
| 6122 | done |
| 6123 | IFS=$as_save_IFS |
| 6124 | |
| 6125 | fi |
| 6126 | fi |
| 6127 | LEX=$ac_cv_prog_LEX |
| 6128 | if testscip-shell system . . test. -n "$LEX"; then |
| 6129 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 |
| 6130 | printfscip-shell system . . printf. "%s\n" "$LEX" >&6; } |
| 6131 | else |
| 6132 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6133 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 6134 | fi |
| 6135 | |
| 6136 | |
| 6137 | testscip-shell system . . test. -n "$LEX" && break |
| 6138 | done |
| 6139 | testscip-shell system . . test. -n "$LEX" || LEX=":" |
| 6140 | |
| 6141 | if testscip-shell system . . test. "x$LEX" != "x:"; then |
| 6142 | catscip-shell system . . cat. >conftest.l <<_ACEOF |
| 6143 | %{ |
| 6144 | #ifdef __cplusplus |
| 6145 | extern "C" |
| 6146 | #endif |
| 6147 | int yywrap(void); |
| 6148 | %} |
| 6149 | %% |
| 6150 | a { ECHO; } |
| 6151 | b { REJECT; } |
| 6152 | c { yymore (); } |
| 6153 | d { yyless (1); } |
| 6154 | e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ |
| 6155 | #ifdef __cplusplus |
| 6156 | yyless ((yyinput () != 0)); |
| 6157 | #else |
| 6158 | yyless ((input () != 0)); |
| 6159 | #endif |
| 6160 | } |
| 6161 | f { unput (yytext[0]); } |
| 6162 | . { BEGIN INITIAL; } |
| 6163 | %% |
| 6164 | #ifdef YYTEXT_POINTER |
| 6165 | extern char *yytext; |
| 6166 | #endif |
| 6167 | int |
| 6168 | yywrap (void) |
| 6169 | { |
| 6170 | return 1; |
| 6171 | } |
| 6172 | int |
| 6173 | main (void) |
| 6174 | { |
| 6175 | return ! yylex (); |
| 6176 | } |
| 6177 | _ACEOF |
| 6178 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex output file root" >&5 |
| 6179 | printfscip-shell system . . printf. %s "checking for lex output file root... " >&6; } |
| 6180 | if testscip-shell system . . test. ${ac_cv_prog_lex_root+y} |
| 6181 | then : |
| 6182 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6183 | else $as_nop |
| 6184 | |
| 6185 | ac_cv_prog_lex_root=unknown |
| 6186 | { { ac_try="$LEX conftest.l" |
| 6187 | case "(($ac_try" in |
| 6188 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6189 | *) ac_try_echo=$ac_try;; |
| 6190 | esac |
| 6191 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 6192 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 6193 | (eval "$LEX conftest.l") 2>&5 |
| 6194 | ac_status=$? |
| 6195 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6196 | testscip-shell system . . test. $ac_status = 0; } && |
| 6197 | if testscip-shell system . . test. -f lex.yy.c; then |
| 6198 | ac_cv_prog_lex_root=lex.yy |
| 6199 | elif testscip-shell system . . test. -f lexyy.c; then |
| 6200 | ac_cv_prog_lex_root=lexyy |
| 6201 | fi |
| 6202 | fi |
| 6203 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
| 6204 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_lex_root" >&6; } |
| 6205 | if testscip-shell system . . test. "$ac_cv_prog_lex_root" = unknown |
| 6206 | then : |
| 6207 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find output from $LEX; giving up on $LEX" >&5 |
| 6208 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: cannot find output from $LEX; giving up on $LEX" >&2;} |
| 6209 | LEX=: LEXLIB= |
| 6210 | fi |
| 6211 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
| 6212 | |
| 6213 | if testscip-shell system . . test. ${LEXLIB+y} |
| 6214 | then : |
| 6215 | |
| 6216 | else $as_nop |
| 6217 | |
| 6218 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex library" >&5 |
| 6219 | printfscip-shell system . . printf. %s "checking for lex library... " >&6; } |
| 6220 | if testscip-shell system . . test. ${ac_cv_lib_lex+y} |
| 6221 | then : |
| 6222 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6223 | else $as_nop |
| 6224 | |
| 6225 | ac_save_LIBS="$LIBS" |
| 6226 | ac_found=false |
| 6227 | for ac_cv_lib_lex in 'none needed' -lfl -ll 'not found'; do |
| 6228 | case $ac_cv_lib_lex in #( |
| 6229 | 'none needed') : |
| 6230 | ;; #( |
| 6231 | 'not found') : |
| 6232 | break ;; #( |
| 6233 | *) : |
| 6234 | LIBS="$ac_cv_lib_lex $ac_save_LIBS" ;; #( |
| 6235 | *) : |
| 6236 | ;; |
| 6237 | esac |
| 6238 | |
| 6239 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6240 | /* end confdefs.h. */ |
| 6241 | `catscip-shell system . . cat. $LEX_OUTPUT_ROOT.c` |
| 6242 | _ACEOF |
| 6243 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 6244 | then : |
| 6245 | ac_found=: |
| 6246 | fi |
| 6247 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 6248 | conftest$ac_exeext conftest.$ac_ext |
| 6249 | if $ac_found; then |
| 6250 | break |
| 6251 | fi |
| 6252 | done |
| 6253 | LIBS="$ac_save_LIBS" |
| 6254 | |
| 6255 | fi |
| 6256 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 |
| 6257 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_lex" >&6; } |
| 6258 | if testscip-shell system . . test. "$ac_cv_lib_lex" = 'not found' |
| 6259 | then : |
| 6260 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: required lex library not found; giving up on $LEX" >&5 |
| 6261 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: required lex library not found; giving up on $LEX" >&2;} |
| 6262 | LEX=: LEXLIB= |
| 6263 | elif testscip-shell system . . test. "$ac_cv_lib_lex" = 'none needed' |
| 6264 | then : |
| 6265 | LEXLIB='' |
| 6266 | else $as_nop |
| 6267 | LEXLIB=$ac_cv_lib_lex |
| 6268 | fi |
| 6269 | ac_save_LIBS="$LIBS" |
| 6270 | LIBS= |
| 6271 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing yywrap" >&5 |
| 6272 | printfscip-shell system . . printf. %s "checking for library containing yywrap... " >&6; } |
| 6273 | if testscip-shell system . . test. ${ac_cv_search_yywrap+y} |
| 6274 | then : |
| 6275 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6276 | else $as_nop |
| 6277 | ac_func_search_save_LIBS=$LIBS |
| 6278 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6279 | /* end confdefs.h. */ |
| 6280 | |
| 6281 | /* Override any GCC internal prototype to avoid an error. |
| 6282 | Use char because int might match the return type of a GCC |
| 6283 | builtin and then its argument prototype would still apply. */ |
| 6284 | char yywrap (); |
| 6285 | int |
| 6286 | main (void) |
| 6287 | { |
| 6288 | return yywrap (); |
| 6289 | ; |
| 6290 | return 0; |
| 6291 | } |
| 6292 | _ACEOF |
| 6293 | for ac_lib in '' fl l |
| 6294 | do |
| 6295 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 6296 | ac_res="none required" |
| 6297 | else |
| 6298 | ac_res=-l$ac_lib |
| 6299 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 6300 | fi |
| 6301 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 6302 | then : |
| 6303 | ac_cv_search_yywrap=$ac_res |
| 6304 | fi |
| 6305 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 6306 | conftest$ac_exeext |
| 6307 | if testscip-shell system . . test. ${ac_cv_search_yywrap+y} |
| 6308 | then : |
| 6309 | break |
| 6310 | fi |
| 6311 | done |
| 6312 | if testscip-shell system . . test. ${ac_cv_search_yywrap+y} |
| 6313 | then : |
| 6314 | |
| 6315 | else $as_nop |
| 6316 | ac_cv_search_yywrap=no |
| 6317 | fi |
| 6318 | rmscip-shell system . . rm. conftest.$ac_ext |
| 6319 | LIBS=$ac_func_search_save_LIBS |
| 6320 | fi |
| 6321 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_yywrap" >&5 |
| 6322 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_yywrap" >&6; } |
| 6323 | ac_res=$ac_cv_search_yywrap |
| 6324 | if testscip-shell system . . test. "$ac_res" != no |
| 6325 | then : |
| 6326 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 6327 | LEXLIB="$LIBS" |
| 6328 | fi |
| 6329 | |
| 6330 | LIBS="$ac_save_LIBS" |
| 6331 | fi |
| 6332 | |
| 6333 | |
| 6334 | if testscip-shell system . . test. "$LEX" != : |
| 6335 | then : |
| 6336 | |
| 6337 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
| 6338 | printfscip-shell system . . printf. %s "checking whether yytext is a pointer... " >&6; } |
| 6339 | if testscip-shell system . . test. ${ac_cv_prog_lex_yytext_pointer+y} |
| 6340 | then : |
| 6341 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6342 | else $as_nop |
| 6343 | # POSIX says lex can declare yytext either as a pointer or an array; the |
| 6344 | # default is implementation-dependent. Figure out which it is, since |
| 6345 | # not all implementations provide the %pointer and %array declarations. |
| 6346 | ac_cv_prog_lex_yytext_pointer=no |
| 6347 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6348 | /* end confdefs.h. */ |
| 6349 | |
| 6350 | #define YYTEXT_POINTER 1 |
| 6351 | `catscip-shell system . . cat. $LEX_OUTPUT_ROOT.c` |
| 6352 | _ACEOF |
| 6353 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 6354 | then : |
| 6355 | ac_cv_prog_lex_yytext_pointer=yes |
| 6356 | fi |
| 6357 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 6358 | |
| 6359 | fi |
| 6360 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
| 6361 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_lex_yytext_pointer" >&6; } |
| 6362 | if testscip-shell system . . test. $ac_cv_prog_lex_yytext_pointer = yes; then |
| 6363 | |
| 6364 | printfscip-shell system . . printf. "%s\n" "#define YYTEXT_POINTER 1" >>confdefs.h |
| 6365 | |
| 6366 | fi |
| 6367 | |
| 6368 | fi |
| 6369 | rmscip-shell system . . rm. -f conftest.l $LEX_OUTPUT_ROOT.c |
| 6370 | |
| 6371 | fi |
| 6372 | for ac_prog in 'bison -y' byacc |
| 6373 | do |
| 6374 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 6375 | set dummy $ac_prog; ac_word=$2 |
| 6376 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6377 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 6378 | if testscip-shell system . . test. ${ac_cv_prog_YACC+y} |
| 6379 | then : |
| 6380 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6381 | else $as_nop |
| 6382 | if testscip-shell system . . test. -n "$YACC"; then |
| 6383 | ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 6384 | else |
| 6385 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6386 | for as_dir in $PATH |
| 6387 | do |
| 6388 | IFS=$as_save_IFS |
| 6389 | case $as_dir in #((( |
| 6390 | '') as_dir=./ ;; |
| 6391 | */) ;; |
| 6392 | *) as_dir=$as_dir/ ;; |
| 6393 | esac |
| 6394 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6395 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 6396 | ac_cv_prog_YACC="$ac_prog" |
| 6397 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6398 | break 2 |
| 6399 | fi |
| 6400 | done |
| 6401 | done |
| 6402 | IFS=$as_save_IFS |
| 6403 | |
| 6404 | fi |
| 6405 | fi |
| 6406 | YACC=$ac_cv_prog_YACC |
| 6407 | if testscip-shell system . . test. -n "$YACC"; then |
| 6408 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 |
| 6409 | printfscip-shell system . . printf. "%s\n" "$YACC" >&6; } |
| 6410 | else |
| 6411 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6412 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 6413 | fi |
| 6414 | |
| 6415 | |
| 6416 | testscip-shell system . . test. -n "$YACC" && break |
| 6417 | done |
| 6418 | testscip-shell system . . test. -n "$YACC" || YACC="yacc" |
| 6419 | |
| 6420 | ac_ext=c |
| 6421 | ac_cpp='$CPP $CPPFLAGS' |
| 6422 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6423 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6424 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6425 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 6426 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 6427 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 6428 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6429 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 6430 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 6431 | then : |
| 6432 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6433 | else $as_nop |
| 6434 | if testscip-shell system . . test. -n "$CC"; then |
| 6435 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 6436 | else |
| 6437 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6438 | for as_dir in $PATH |
| 6439 | do |
| 6440 | IFS=$as_save_IFS |
| 6441 | case $as_dir in #((( |
| 6442 | '') as_dir=./ ;; |
| 6443 | */) ;; |
| 6444 | *) as_dir=$as_dir/ ;; |
| 6445 | esac |
| 6446 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6447 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 6448 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 6449 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6450 | break 2 |
| 6451 | fi |
| 6452 | done |
| 6453 | done |
| 6454 | IFS=$as_save_IFS |
| 6455 | |
| 6456 | fi |
| 6457 | fi |
| 6458 | CC=$ac_cv_prog_CC |
| 6459 | if testscip-shell system . . test. -n "$CC"; then |
| 6460 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 6461 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 6462 | else |
| 6463 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6464 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 6465 | fi |
| 6466 | |
| 6467 | |
| 6468 | fi |
| 6469 | if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then |
| 6470 | ac_ct_CC=$CC |
| 6471 | # Extract the first word of "gcc", so it can be a program name with args. |
| 6472 | set dummy gcc; ac_word=$2 |
| 6473 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6474 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 6475 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y} |
| 6476 | then : |
| 6477 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6478 | else $as_nop |
| 6479 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 6480 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 6481 | else |
| 6482 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6483 | for as_dir in $PATH |
| 6484 | do |
| 6485 | IFS=$as_save_IFS |
| 6486 | case $as_dir in #((( |
| 6487 | '') as_dir=./ ;; |
| 6488 | */) ;; |
| 6489 | *) as_dir=$as_dir/ ;; |
| 6490 | esac |
| 6491 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6492 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 6493 | ac_cv_prog_ac_ct_CC="gcc" |
| 6494 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6495 | break 2 |
| 6496 | fi |
| 6497 | done |
| 6498 | done |
| 6499 | IFS=$as_save_IFS |
| 6500 | |
| 6501 | fi |
| 6502 | fi |
| 6503 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 6504 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 6505 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 6506 | printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; } |
| 6507 | else |
| 6508 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6509 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 6510 | fi |
| 6511 | |
| 6512 | if testscip-shell system . . test. "x$ac_ct_CC" = x; then |
| 6513 | CC="" |
| 6514 | else |
| 6515 | case $cross_compiling:$ac_tool_warned in |
| 6516 | yes:) |
| 6517 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6518 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6519 | ac_tool_warned=yes ;; |
| 6520 | esac |
| 6521 | CC=$ac_ct_CC |
| 6522 | fi |
| 6523 | else |
| 6524 | CC="$ac_cv_prog_CC" |
| 6525 | fi |
| 6526 | |
| 6527 | if testscip-shell system . . test. -z "$CC"; then |
| 6528 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 6529 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 6530 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 6531 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6532 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 6533 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 6534 | then : |
| 6535 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6536 | else $as_nop |
| 6537 | if testscip-shell system . . test. -n "$CC"; then |
| 6538 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 6539 | else |
| 6540 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6541 | for as_dir in $PATH |
| 6542 | do |
| 6543 | IFS=$as_save_IFS |
| 6544 | case $as_dir in #((( |
| 6545 | '') as_dir=./ ;; |
| 6546 | */) ;; |
| 6547 | *) as_dir=$as_dir/ ;; |
| 6548 | esac |
| 6549 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6550 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 6551 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 6552 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6553 | break 2 |
| 6554 | fi |
| 6555 | done |
| 6556 | done |
| 6557 | IFS=$as_save_IFS |
| 6558 | |
| 6559 | fi |
| 6560 | fi |
| 6561 | CC=$ac_cv_prog_CC |
| 6562 | if testscip-shell system . . test. -n "$CC"; then |
| 6563 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 6564 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 6565 | else |
| 6566 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6567 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 6568 | fi |
| 6569 | |
| 6570 | |
| 6571 | fi |
| 6572 | fi |
| 6573 | if testscip-shell system . . test. -z "$CC"; then |
| 6574 | # Extract the first word of "cc", so it can be a program name with args. |
| 6575 | set dummy cc; ac_word=$2 |
| 6576 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6577 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 6578 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 6579 | then : |
| 6580 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6581 | else $as_nop |
| 6582 | if testscip-shell system . . test. -n "$CC"; then |
| 6583 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 6584 | else |
| 6585 | ac_prog_rejected=no |
| 6586 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6587 | for as_dir in $PATH |
| 6588 | do |
| 6589 | IFS=$as_save_IFS |
| 6590 | case $as_dir in #((( |
| 6591 | '') as_dir=./ ;; |
| 6592 | */) ;; |
| 6593 | *) as_dir=$as_dir/ ;; |
| 6594 | esac |
| 6595 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6596 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 6597 | if testscip-shell system . . test. "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then |
| 6598 | ac_prog_rejected=yes |
| 6599 | continue |
| 6600 | fi |
| 6601 | ac_cv_prog_CC="cc" |
| 6602 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6603 | break 2 |
| 6604 | fi |
| 6605 | done |
| 6606 | done |
| 6607 | IFS=$as_save_IFS |
| 6608 | |
| 6609 | if testscip-shell system . . test. $ac_prog_rejected = yes; then |
| 6610 | # We found a bogon in the path, so make sure we never use it. |
| 6611 | set dummy $ac_cv_prog_CC |
| 6612 | shift |
| 6613 | if testscip-shell system . . test. $# != 0; then |
| 6614 | # We chose a different compiler from the bogus one. |
| 6615 | # However, it has the same basename, so the bogon will be chosen |
| 6616 | # first if we set CC to just the basename; use the full file name. |
| 6617 | shift |
| 6618 | ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" |
| 6619 | fi |
| 6620 | fi |
| 6621 | fi |
| 6622 | fi |
| 6623 | CC=$ac_cv_prog_CC |
| 6624 | if testscip-shell system . . test. -n "$CC"; then |
| 6625 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 6626 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 6627 | else |
| 6628 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6629 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 6630 | fi |
| 6631 | |
| 6632 | |
| 6633 | fi |
| 6634 | if testscip-shell system . . test. -z "$CC"; then |
| 6635 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 6636 | for ac_prog in cl.exe |
| 6637 | do |
| 6638 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 6639 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 6640 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6641 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 6642 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 6643 | then : |
| 6644 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6645 | else $as_nop |
| 6646 | if testscip-shell system . . test. -n "$CC"; then |
| 6647 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 6648 | else |
| 6649 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6650 | for as_dir in $PATH |
| 6651 | do |
| 6652 | IFS=$as_save_IFS |
| 6653 | case $as_dir in #((( |
| 6654 | '') as_dir=./ ;; |
| 6655 | */) ;; |
| 6656 | *) as_dir=$as_dir/ ;; |
| 6657 | esac |
| 6658 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6659 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 6660 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 6661 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6662 | break 2 |
| 6663 | fi |
| 6664 | done |
| 6665 | done |
| 6666 | IFS=$as_save_IFS |
| 6667 | |
| 6668 | fi |
| 6669 | fi |
| 6670 | CC=$ac_cv_prog_CC |
| 6671 | if testscip-shell system . . test. -n "$CC"; then |
| 6672 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 6673 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 6674 | else |
| 6675 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6676 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 6677 | fi |
| 6678 | |
| 6679 | |
| 6680 | testscip-shell system . . test. -n "$CC" && break |
| 6681 | done |
| 6682 | fi |
| 6683 | if testscip-shell system . . test. -z "$CC"; then |
| 6684 | ac_ct_CC=$CC |
| 6685 | for ac_prog in cl.exe |
| 6686 | do |
| 6687 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 6688 | set dummy $ac_prog; ac_word=$2 |
| 6689 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6690 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 6691 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y} |
| 6692 | then : |
| 6693 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6694 | else $as_nop |
| 6695 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 6696 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 6697 | else |
| 6698 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6699 | for as_dir in $PATH |
| 6700 | do |
| 6701 | IFS=$as_save_IFS |
| 6702 | case $as_dir in #((( |
| 6703 | '') as_dir=./ ;; |
| 6704 | */) ;; |
| 6705 | *) as_dir=$as_dir/ ;; |
| 6706 | esac |
| 6707 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6708 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 6709 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 6710 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6711 | break 2 |
| 6712 | fi |
| 6713 | done |
| 6714 | done |
| 6715 | IFS=$as_save_IFS |
| 6716 | |
| 6717 | fi |
| 6718 | fi |
| 6719 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 6720 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 6721 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 6722 | printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; } |
| 6723 | else |
| 6724 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6725 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 6726 | fi |
| 6727 | |
| 6728 | |
| 6729 | testscip-shell system . . test. -n "$ac_ct_CC" && break |
| 6730 | done |
| 6731 | |
| 6732 | if testscip-shell system . . test. "x$ac_ct_CC" = x; then |
| 6733 | CC="" |
| 6734 | else |
| 6735 | case $cross_compiling:$ac_tool_warned in |
| 6736 | yes:) |
| 6737 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6738 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6739 | ac_tool_warned=yes ;; |
| 6740 | esac |
| 6741 | CC=$ac_ct_CC |
| 6742 | fi |
| 6743 | fi |
| 6744 | |
| 6745 | fi |
| 6746 | if testscip-shell system . . test. -z "$CC"; then |
| 6747 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 6748 | # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. |
| 6749 | set dummy ${ac_tool_prefix}clang; ac_word=$2 |
| 6750 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6751 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 6752 | if testscip-shell system . . test. ${ac_cv_prog_CC+y} |
| 6753 | then : |
| 6754 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6755 | else $as_nop |
| 6756 | if testscip-shell system . . test. -n "$CC"; then |
| 6757 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 6758 | else |
| 6759 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6760 | for as_dir in $PATH |
| 6761 | do |
| 6762 | IFS=$as_save_IFS |
| 6763 | case $as_dir in #((( |
| 6764 | '') as_dir=./ ;; |
| 6765 | */) ;; |
| 6766 | *) as_dir=$as_dir/ ;; |
| 6767 | esac |
| 6768 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6769 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 6770 | ac_cv_prog_CC="${ac_tool_prefix}clang" |
| 6771 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6772 | break 2 |
| 6773 | fi |
| 6774 | done |
| 6775 | done |
| 6776 | IFS=$as_save_IFS |
| 6777 | |
| 6778 | fi |
| 6779 | fi |
| 6780 | CC=$ac_cv_prog_CC |
| 6781 | if testscip-shell system . . test. -n "$CC"; then |
| 6782 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 6783 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 6784 | else |
| 6785 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6786 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 6787 | fi |
| 6788 | |
| 6789 | |
| 6790 | fi |
| 6791 | if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then |
| 6792 | ac_ct_CC=$CC |
| 6793 | # Extract the first word of "clang", so it can be a program name with args. |
| 6794 | set dummy clang; ac_word=$2 |
| 6795 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6796 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 6797 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y} |
| 6798 | then : |
| 6799 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6800 | else $as_nop |
| 6801 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 6802 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 6803 | else |
| 6804 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6805 | for as_dir in $PATH |
| 6806 | do |
| 6807 | IFS=$as_save_IFS |
| 6808 | case $as_dir in #((( |
| 6809 | '') as_dir=./ ;; |
| 6810 | */) ;; |
| 6811 | *) as_dir=$as_dir/ ;; |
| 6812 | esac |
| 6813 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6814 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 6815 | ac_cv_prog_ac_ct_CC="clang" |
| 6816 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6817 | break 2 |
| 6818 | fi |
| 6819 | done |
| 6820 | done |
| 6821 | IFS=$as_save_IFS |
| 6822 | |
| 6823 | fi |
| 6824 | fi |
| 6825 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 6826 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 6827 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 6828 | printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; } |
| 6829 | else |
| 6830 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6831 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 6832 | fi |
| 6833 | |
| 6834 | if testscip-shell system . . test. "x$ac_ct_CC" = x; then |
| 6835 | CC="" |
| 6836 | else |
| 6837 | case $cross_compiling:$ac_tool_warned in |
| 6838 | yes:) |
| 6839 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6840 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6841 | ac_tool_warned=yes ;; |
| 6842 | esac |
| 6843 | CC=$ac_ct_CC |
| 6844 | fi |
| 6845 | else |
| 6846 | CC="$ac_cv_prog_CC" |
| 6847 | fi |
| 6848 | |
| 6849 | fi |
| 6850 | |
| 6851 | |
| 6852 | testscip-shell system . . test. -z "$CC" && { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 6853 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 6854 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "no acceptable C compiler found in \$PATH |
| 6855 | See \`config.log' for more details" "$LINENO" 5; } |
| 6856 | |
| 6857 | # Provide some information about the compiler. |
| 6858 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 6859 | set X $ac_compile |
| 6860 | ac_compiler=$2 |
| 6861 | for ac_option in --version -v -V -qversion -version; do |
| 6862 | { { ac_try="$ac_compiler $ac_option >&5" |
| 6863 | case "(($ac_try" in |
| 6864 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6865 | *) ac_try_echo=$ac_try;; |
| 6866 | esac |
| 6867 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 6868 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 6869 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 6870 | ac_status=$? |
| 6871 | if testscip-shell system . . test. -s conftest.err; then |
| 6872 | sedscip-shell system . . sed. '10a\ |
| 6873 | ... rest of stderr output deleted ... |
| 6874 | 10q' conftest.err >conftest.er1 |
| 6875 | catscip-shell system . . cat. conftest.er1 >&5 |
| 6876 | fi |
| 6877 | rmscip-shell system . . rm. -f conftest.er1 conftest.err |
| 6878 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6879 | testscip-shell system . . test. $ac_status = 0; } |
| 6880 | done |
| 6881 | |
| 6882 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 |
| 6883 | printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C... " >&6; } |
| 6884 | if testscip-shell system . . test. ${ac_cv_c_compiler_gnu+y} |
| 6885 | then : |
| 6886 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6887 | else $as_nop |
| 6888 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6889 | /* end confdefs.h. */ |
| 6890 | |
| 6891 | int |
| 6892 | main (void) |
| 6893 | { |
| 6894 | #ifndef __GNUC__ |
| 6895 | choke me |
| 6896 | #endif |
| 6897 | |
| 6898 | ; |
| 6899 | return 0; |
| 6900 | } |
| 6901 | _ACEOF |
| 6902 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 6903 | then : |
| 6904 | ac_compiler_gnu=yes |
| 6905 | else $as_nop |
| 6906 | ac_compiler_gnu=no |
| 6907 | fi |
| 6908 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 6909 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 6910 | |
| 6911 | fi |
| 6912 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 6913 | printfscip-shell system . . printf. "%s\n" "$ac_cv_c_compiler_gnu" >&6; } |
| 6914 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6915 | |
| 6916 | if testscip-shell system . . test. $ac_compiler_gnu = yes; then |
| 6917 | GCC=yes |
| 6918 | else |
| 6919 | GCC= |
| 6920 | fi |
| 6921 | ac_test_CFLAGS=${CFLAGS+y} |
| 6922 | ac_save_CFLAGS=$CFLAGS |
| 6923 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 6924 | printfscip-shell system . . printf. %s "checking whether $CC accepts -g... " >&6; } |
| 6925 | if testscip-shell system . . test. ${ac_cv_prog_cc_g+y} |
| 6926 | then : |
| 6927 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6928 | else $as_nop |
| 6929 | ac_save_c_werror_flag=$ac_c_werror_flag |
| 6930 | ac_c_werror_flag=yes |
| 6931 | ac_cv_prog_cc_g=no |
| 6932 | CFLAGS="-g" |
| 6933 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6934 | /* end confdefs.h. */ |
| 6935 | |
| 6936 | int |
| 6937 | main (void) |
| 6938 | { |
| 6939 | |
| 6940 | ; |
| 6941 | return 0; |
| 6942 | } |
| 6943 | _ACEOF |
| 6944 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 6945 | then : |
| 6946 | ac_cv_prog_cc_g=yes |
| 6947 | else $as_nop |
| 6948 | CFLAGS="" |
| 6949 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6950 | /* end confdefs.h. */ |
| 6951 | |
| 6952 | int |
| 6953 | main (void) |
| 6954 | { |
| 6955 | |
| 6956 | ; |
| 6957 | return 0; |
| 6958 | } |
| 6959 | _ACEOF |
| 6960 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 6961 | then : |
| 6962 | |
| 6963 | else $as_nop |
| 6964 | ac_c_werror_flag=$ac_save_c_werror_flag |
| 6965 | CFLAGS="-g" |
| 6966 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6967 | /* end confdefs.h. */ |
| 6968 | |
| 6969 | int |
| 6970 | main (void) |
| 6971 | { |
| 6972 | |
| 6973 | ; |
| 6974 | return 0; |
| 6975 | } |
| 6976 | _ACEOF |
| 6977 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 6978 | then : |
| 6979 | ac_cv_prog_cc_g=yes |
| 6980 | fi |
| 6981 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 6982 | fi |
| 6983 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 6984 | fi |
| 6985 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 6986 | ac_c_werror_flag=$ac_save_c_werror_flag |
| 6987 | fi |
| 6988 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 6989 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_g" >&6; } |
| 6990 | if testscip-shell system . . test. $ac_test_CFLAGS; then |
| 6991 | CFLAGS=$ac_save_CFLAGS |
| 6992 | elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then |
| 6993 | if testscip-shell system . . test. "$GCC" = yes; then |
| 6994 | CFLAGS="-g -O2" |
| 6995 | else |
| 6996 | CFLAGS="-g" |
| 6997 | fi |
| 6998 | else |
| 6999 | if testscip-shell system . . test. "$GCC" = yes; then |
| 7000 | CFLAGS="-O2" |
| 7001 | else |
| 7002 | CFLAGS= |
| 7003 | fi |
| 7004 | fi |
| 7005 | ac_prog_cc_stdc=no |
| 7006 | if testscip-shell system . . test. x$ac_prog_cc_stdc = xno |
| 7007 | then : |
| 7008 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 |
| 7009 | printfscip-shell system . . printf. %s "checking for $CC option to enable C11 features... " >&6; } |
| 7010 | if testscip-shell system . . test. ${ac_cv_prog_cc_c11+y} |
| 7011 | then : |
| 7012 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7013 | else $as_nop |
| 7014 | ac_cv_prog_cc_c11=no |
| 7015 | ac_save_CC=$CC |
| 7016 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7017 | /* end confdefs.h. */ |
| 7018 | $ac_c_conftest_c11_program |
| 7019 | _ACEOF |
| 7020 | for ac_arg in '' -std=gnu11 |
| 7021 | do |
| 7022 | CC="$ac_save_CC $ac_arg" |
| 7023 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 7024 | then : |
| 7025 | ac_cv_prog_cc_c11=$ac_arg |
| 7026 | fi |
| 7027 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam |
| 7028 | testscip-shell system . . test. "x$ac_cv_prog_cc_c11" != "xno" && break |
| 7029 | done |
| 7030 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 7031 | CC=$ac_save_CC |
| 7032 | fi |
| 7033 | |
| 7034 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = xno |
| 7035 | then : |
| 7036 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 7037 | printfscip-shell system . . printf. "%s\n" "unsupported" >&6; } |
| 7038 | else $as_nop |
| 7039 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = x |
| 7040 | then : |
| 7041 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 7042 | printfscip-shell system . . printf. "%s\n" "none needed" >&6; } |
| 7043 | else $as_nop |
| 7044 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 |
| 7045 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c11" >&6; } |
| 7046 | CC="$CC $ac_cv_prog_cc_c11" |
| 7047 | fi |
| 7048 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 |
| 7049 | ac_prog_cc_stdc=c11 |
| 7050 | fi |
| 7051 | fi |
| 7052 | if testscip-shell system . . test. x$ac_prog_cc_stdc = xno |
| 7053 | then : |
| 7054 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 |
| 7055 | printfscip-shell system . . printf. %s "checking for $CC option to enable C99 features... " >&6; } |
| 7056 | if testscip-shell system . . test. ${ac_cv_prog_cc_c99+y} |
| 7057 | then : |
| 7058 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7059 | else $as_nop |
| 7060 | ac_cv_prog_cc_c99=no |
| 7061 | ac_save_CC=$CC |
| 7062 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7063 | /* end confdefs.h. */ |
| 7064 | $ac_c_conftest_c99_program |
| 7065 | _ACEOF |
| 7066 | for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= |
| 7067 | do |
| 7068 | CC="$ac_save_CC $ac_arg" |
| 7069 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 7070 | then : |
| 7071 | ac_cv_prog_cc_c99=$ac_arg |
| 7072 | fi |
| 7073 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam |
| 7074 | testscip-shell system . . test. "x$ac_cv_prog_cc_c99" != "xno" && break |
| 7075 | done |
| 7076 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 7077 | CC=$ac_save_CC |
| 7078 | fi |
| 7079 | |
| 7080 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = xno |
| 7081 | then : |
| 7082 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 7083 | printfscip-shell system . . printf. "%s\n" "unsupported" >&6; } |
| 7084 | else $as_nop |
| 7085 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = x |
| 7086 | then : |
| 7087 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 7088 | printfscip-shell system . . printf. "%s\n" "none needed" >&6; } |
| 7089 | else $as_nop |
| 7090 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
| 7091 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c99" >&6; } |
| 7092 | CC="$CC $ac_cv_prog_cc_c99" |
| 7093 | fi |
| 7094 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
| 7095 | ac_prog_cc_stdc=c99 |
| 7096 | fi |
| 7097 | fi |
| 7098 | if testscip-shell system . . test. x$ac_prog_cc_stdc = xno |
| 7099 | then : |
| 7100 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 |
| 7101 | printfscip-shell system . . printf. %s "checking for $CC option to enable C89 features... " >&6; } |
| 7102 | if testscip-shell system . . test. ${ac_cv_prog_cc_c89+y} |
| 7103 | then : |
| 7104 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7105 | else $as_nop |
| 7106 | ac_cv_prog_cc_c89=no |
| 7107 | ac_save_CC=$CC |
| 7108 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7109 | /* end confdefs.h. */ |
| 7110 | $ac_c_conftest_c89_program |
| 7111 | _ACEOF |
| 7112 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 7113 | do |
| 7114 | CC="$ac_save_CC $ac_arg" |
| 7115 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 7116 | then : |
| 7117 | ac_cv_prog_cc_c89=$ac_arg |
| 7118 | fi |
| 7119 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam |
| 7120 | testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break |
| 7121 | done |
| 7122 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 7123 | CC=$ac_save_CC |
| 7124 | fi |
| 7125 | |
| 7126 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = xno |
| 7127 | then : |
| 7128 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 7129 | printfscip-shell system . . printf. "%s\n" "unsupported" >&6; } |
| 7130 | else $as_nop |
| 7131 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = x |
| 7132 | then : |
| 7133 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 7134 | printfscip-shell system . . printf. "%s\n" "none needed" >&6; } |
| 7135 | else $as_nop |
| 7136 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 7137 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c89" >&6; } |
| 7138 | CC="$CC $ac_cv_prog_cc_c89" |
| 7139 | fi |
| 7140 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
| 7141 | ac_prog_cc_stdc=c89 |
| 7142 | fi |
| 7143 | fi |
| 7144 | |
| 7145 | ac_ext=c |
| 7146 | ac_cpp='$CPP $CPPFLAGS' |
| 7147 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7148 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 7149 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7150 | |
| 7151 | |
| 7152 | ac_ext=c |
| 7153 | ac_cpp='$CPP $CPPFLAGS' |
| 7154 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7155 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 7156 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7157 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 7158 | printfscip-shell system . . printf. %s "checking whether $CC understands -c and -o together... " >&6; } |
| 7159 | if testscip-shell system . . test. ${am_cv_prog_cc_c_o+y} |
| 7160 | then : |
| 7161 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7162 | else $as_nop |
| 7163 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7164 | /* end confdefs.h. */ |
| 7165 | |
| 7166 | int |
| 7167 | main (void) |
| 7168 | { |
| 7169 | |
| 7170 | ; |
| 7171 | return 0; |
| 7172 | } |
| 7173 | _ACEOF |
| 7174 | # Make sure it works both with $CC and with simple cc. |
| 7175 | # Following AC_PROG_CC_C_O, we do the test twice because some |
| 7176 | # compilers refuse to overwrite an existing .o file with -o, |
| 7177 | # though they will create one. |
| 7178 | am_cv_prog_cc_c_o=yes |
| 7179 | for am_i in 1 2; do |
| 7180 | if { echoscip-shell system . . echo. "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
| 7181 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
| 7182 | ac_status=$? |
| 7183 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7184 | (exit $ac_status); } \ |
| 7185 | && testscip-shell system . . test. -f conftest2.$ac_objext; then |
| 7186 | : OK |
| 7187 | else |
| 7188 | am_cv_prog_cc_c_o=no |
| 7189 | break |
| 7190 | fi |
| 7191 | done |
| 7192 | rmscip-shell system . . rm. -f core conftest* |
| 7193 | unset am_i |
| 7194 | fi |
| 7195 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 7196 | printfscip-shell system . . printf. "%s\n" "$am_cv_prog_cc_c_o" >&6; } |
| 7197 | if testscip-shell system . . test. "$am_cv_prog_cc_c_o" != yes; then |
| 7198 | # Losing compiler, so override with the script. |
| 7199 | # FIXME: It is wrong to rewrite CC. |
| 7200 | # But if we don't then we get into trouble of one sort or another. |
| 7201 | # A longer-term fix would be to have automake use am__CC in this case, |
| 7202 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 7203 | CC="$am_aux_dir/compile $CC" |
| 7204 | fi |
| 7205 | ac_ext=c |
| 7206 | ac_cpp='$CPP $CPPFLAGS' |
| 7207 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7208 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 7209 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7210 | |
| 7211 | |
| 7212 | depcc="$CC" am_compiler_list= |
| 7213 | |
| 7214 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 7215 | printfscip-shell system . . printf. %s "checking dependency style of $depcc... " >&6; } |
| 7216 | if testscip-shell system . . test. ${am_cv_CC_dependencies_compiler_type+y} |
| 7217 | then : |
| 7218 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7219 | else $as_nop |
| 7220 | if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then |
| 7221 | # We make a subdir and do the tests there. Otherwise we can end up |
| 7222 | # making bogus files that we don't know about and never remove. For |
| 7223 | # instance it was reported that on HP-UX the gcc test will end up |
| 7224 | # making a dummy file named 'D' -- because '-MD' means "put the output |
| 7225 | # in D". |
| 7226 | rmscip-shell system . . rm. -rf conftest.dir |
| 7227 | mkdirscip-shell system . . mkdir. conftest.dir |
| 7228 | # Copy depcomp to subdir because otherwise we won't find it if we're |
| 7229 | # using a relative directory. |
| 7230 | cpscip-shell system . . cp. "$am_depcomp" conftest.dir |
| 7231 | cd conftest.dir |
| 7232 | # We will build objects and dependencies in a subdirectory because |
| 7233 | # it helps to detect inapplicable dependency modes. For instance |
| 7234 | # both Tru64's cc and ICC support -MD to output dependencies as a |
| 7235 | # side effect of compilation, but ICC will put the dependencies in |
| 7236 | # the current directory while Tru64 will put them in the object |
| 7237 | # directory. |
| 7238 | mkdirscip-shell system . . mkdir. sub |
| 7239 | |
| 7240 | am_cv_CC_dependencies_compiler_type=none |
| 7241 | if testscip-shell system . . test. "$am_compiler_list" = ""; then |
| 7242 | am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 7243 | fi |
| 7244 | am__universal=false |
| 7245 | case " $depcc " in #( |
| 7246 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 7247 | esac |
| 7248 | |
| 7249 | for depmode in $am_compiler_list; do |
| 7250 | # Setup a source with many dependencies, because some compilers |
| 7251 | # like to wrap large dependency lists on column 80 (with \), and |
| 7252 | # we should not choose a depcomp mode which is confused by this. |
| 7253 | # |
| 7254 | # We need to recreate these files for each test, as the compiler may |
| 7255 | # overwrite some of them when testing with obscure command lines. |
| 7256 | # This happens at least with the AIX C compiler. |
| 7257 | : > sub/conftest.c |
| 7258 | for i in 1 2 3 4 5 6; do |
| 7259 | echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c |
| 7260 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 7261 | # Solaris 10 /bin/sh. |
| 7262 | echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h |
| 7263 | done |
| 7264 | echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 7265 | |
| 7266 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 7267 | # mode. It turns out that the SunPro C++ compiler does not properly |
| 7268 | # handle '-M -o', and we need to detect this. Also, some Intel |
| 7269 | # versions had trouble with output in subdirs. |
| 7270 | am__obj=sub/conftest.${OBJEXT-o} |
| 7271 | am__minus_obj="-o $am__obj" |
| 7272 | case $depmode in |
| 7273 | gcc) |
| 7274 | # This depmode causes a compiler race in universal mode. |
| 7275 | testscip-shell system . . test. "$am__universal" = false || continue |
| 7276 | ;; |
| 7277 | nosideeffect) |
| 7278 | # After this tag, mechanisms are not by side-effect, so they'll |
| 7279 | # only be used when explicitly requested. |
| 7280 | if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then |
| 7281 | continue |
| 7282 | else |
| 7283 | break |
| 7284 | fi |
| 7285 | ;; |
| 7286 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 7287 | # This compiler won't grok '-c -o', but also, the minuso test has |
| 7288 | # not run yet. These depmodes are late enough in the game, and |
| 7289 | # so weak that their functioning should not be impacted. |
| 7290 | am__obj=conftest.${OBJEXT-o} |
| 7291 | am__minus_obj= |
| 7292 | ;; |
| 7293 | none) break ;; |
| 7294 | esac |
| 7295 | if depmode=$depmode \ |
| 7296 | source=sub/conftest.c object=$am__obj \ |
| 7297 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 7298 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 7299 | >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err && |
| 7300 | grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 7301 | grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 7302 | grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 7303 | ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 7304 | # icc doesn't choke on unknown options, it will just issue warnings |
| 7305 | # or remarks (even with -Werror). So we grep stderr for any message |
| 7306 | # that says an option was ignored or not supported. |
| 7307 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
| 7308 | # icc: Command line warning: ignoring option '-M'; no argument required |
| 7309 | # The diagnosis changed in icc 8.0: |
| 7310 | # icc: Command line remark: option '-MP' not supported |
| 7311 | if (grepscip-shell system . . grep. 'ignoring option' conftest.err || |
| 7312 | grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else |
| 7313 | am_cv_CC_dependencies_compiler_type=$depmode |
| 7314 | break |
| 7315 | fi |
| 7316 | fi |
| 7317 | done |
| 7318 | |
| 7319 | cd .. |
| 7320 | rmscip-shell system . . rm. -rf conftest.dir |
| 7321 | else |
| 7322 | am_cv_CC_dependencies_compiler_type=none |
| 7323 | fi |
| 7324 | |
| 7325 | fi |
| 7326 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 7327 | printfscip-shell system . . printf. "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 7328 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 7329 | |
| 7330 | if |
| 7331 | testscip-shell system . . test. "x$enable_dependency_tracking" != xno \ |
| 7332 | && testscip-shell system . . test. "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| 7333 | am__fastdepCC_TRUE= |
| 7334 | am__fastdepCC_FALSE='#' |
| 7335 | else |
| 7336 | am__fastdepCC_TRUE='#' |
| 7337 | am__fastdepCC_FALSE= |
| 7338 | fi |
| 7339 | |
| 7340 | |
| 7341 | |
| 7342 | # Check whether --enable-static was given. |
| 7343 | if testscip-shell system . . test. ${enable_static+y} |
| 7344 | then : |
| 7345 | enableval=$enable_static; p=${PACKAGE-default} |
| 7346 | case $enableval in |
| 7347 | yes) enable_static=yes ;; |
| 7348 | no) enable_static=no ;; |
| 7349 | *) |
| 7350 | enable_static=no |
| 7351 | # Look at the argument we got. We use all the common list separators. |
| 7352 | lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 7353 | for pkg in $enableval; do |
| 7354 | IFS=$lt_save_ifs |
| 7355 | if testscip-shell system . . test. "X$pkg" = "X$p"; then |
| 7356 | enable_static=yes |
| 7357 | fi |
| 7358 | done |
| 7359 | IFS=$lt_save_ifs |
| 7360 | ;; |
| 7361 | esac |
| 7362 | else $as_nop |
| 7363 | enable_static=no |
| 7364 | fi |
| 7365 | |
| 7366 | |
| 7367 | |
| 7368 | |
| 7369 | |
| 7370 | |
| 7371 | |
| 7372 | |
| 7373 | |
| 7374 | # AIXPORT START: enable dlopen |
| 7375 | if testscip-shell system . . test. "$unamestr" = "AIX"; then |
| 7376 | enable_dlopen=yes |
| 7377 | |
| 7378 | |
| 7379 | |
| 7380 | fi |
| 7381 | # AIXPORT end |
| 7382 | case `pwdscip-shell system . . pwd.` in |
| 7383 | *\ * | *\ *) |
| 7384 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
| 7385 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
| 7386 | esac |
| 7387 | |
| 7388 | |
| 7389 | |
| 7390 | macro_version='2.4.7' |
| 7391 | macro_revision='2.4.7' |
| 7392 | |
| 7393 | |
| 7394 | |
| 7395 | |
| 7396 | |
| 7397 | |
| 7398 | |
| 7399 | |
| 7400 | |
| 7401 | |
| 7402 | |
| 7403 | |
| 7404 | |
| 7405 | |
| 7406 | ltmain=$ac_aux_dir/ltmain.sh |
| 7407 | |
| 7408 | |
| 7409 | |
| 7410 | # Make sure we can run config.sub. |
| 7411 | $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || |
| 7412 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 |
| 7413 | |
| 7414 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 7415 | printfscip-shell system . . printf. %s "checking build system type... " >&6; } |
| 7416 | if testscip-shell system . . test. ${ac_cv_build+y} |
| 7417 | then : |
| 7418 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7419 | else $as_nop |
| 7420 | ac_build_alias=$build_alias |
| 7421 | testscip-shell system . . test. "x$ac_build_alias" = x && |
| 7422 | ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` |
| 7423 | testscip-shell system . . test. "x$ac_build_alias" = x && |
| 7424 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "cannot guess build type; you must specify one" "$LINENO" 5 |
| 7425 | ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || |
| 7426 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 |
| 7427 | |
| 7428 | fi |
| 7429 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 7430 | printfscip-shell system . . printf. "%s\n" "$ac_cv_build" >&6; } |
| 7431 | case $ac_cv_build in |
| 7432 | *-*-*) ;; |
| 7433 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "invalid value of canonical build" "$LINENO" 5;; |
| 7434 | esac |
| 7435 | build=$ac_cv_build |
| 7436 | ac_save_IFS=$IFS; IFS='-' |
| 7437 | set x $ac_cv_build |
| 7438 | shift |
| 7439 | build_cpu=$1 |
| 7440 | build_vendor=$2 |
| 7441 | shift; shift |
| 7442 | # Remember, the first character of IFS is used to create $*, |
| 7443 | # except with old shells: |
| 7444 | build_os=$* |
| 7445 | IFS=$ac_save_IFS |
| 7446 | case $build_os in *\ *) build_os=`echoscip-shell system . . echo. "$build_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac |
| 7447 | |
| 7448 | |
| 7449 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 7450 | printfscip-shell system . . printf. %s "checking host system type... " >&6; } |
| 7451 | if testscip-shell system . . test. ${ac_cv_host+y} |
| 7452 | then : |
| 7453 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7454 | else $as_nop |
| 7455 | if testscip-shell system . . test. "x$host_alias" = x; then |
| 7456 | ac_cv_host=$ac_cv_build |
| 7457 | else |
| 7458 | ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || |
| 7459 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 |
| 7460 | fi |
| 7461 | |
| 7462 | fi |
| 7463 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
| 7464 | printfscip-shell system . . printf. "%s\n" "$ac_cv_host" >&6; } |
| 7465 | case $ac_cv_host in |
| 7466 | *-*-*) ;; |
| 7467 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "invalid value of canonical host" "$LINENO" 5;; |
| 7468 | esac |
| 7469 | host=$ac_cv_host |
| 7470 | ac_save_IFS=$IFS; IFS='-' |
| 7471 | set x $ac_cv_host |
| 7472 | shift |
| 7473 | host_cpu=$1 |
| 7474 | host_vendor=$2 |
| 7475 | shift; shift |
| 7476 | # Remember, the first character of IFS is used to create $*, |
| 7477 | # except with old shells: |
| 7478 | host_os=$* |
| 7479 | IFS=$ac_save_IFS |
| 7480 | case $host_os in *\ *) host_os=`echoscip-shell system . . echo. "$host_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac |
| 7481 | |
| 7482 | |
| 7483 | # Backslashify metacharacters that are still active within |
| 7484 | # double-quoted strings. |
| 7485 | sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
| 7486 | |
| 7487 | # Same as above, but do not quote variable references. |
| 7488 | double_quote_subst='s/\(["`\\]\)/\\\1/g' |
| 7489 | |
| 7490 | # Sed substitution to delay expansion of an escaped shell variable in a |
| 7491 | # double_quote_subst'ed string. |
| 7492 | delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
| 7493 | |
| 7494 | # Sed substitution to delay expansion of an escaped single quote. |
| 7495 | delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
| 7496 | |
| 7497 | # Sed substitution to avoid accidental globbing in evaled expressions |
| 7498 | no_glob_subst='s/\*/\\\*/g' |
| 7499 | |
| 7500 | ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 7501 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
| 7502 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
| 7503 | |
| 7504 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
| 7505 | printfscip-shell system . . printf. %s "checking how to print strings... " >&6; } |
| 7506 | # Test print first, because it will be a builtin if present. |
| 7507 | if testscip-shell system . . test. "X`( print -r -- -n ) 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = X-n && \ |
| 7508 | test "X`print -r -- $ECHO 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = "X$ECHO"; then |
| 7509 | ECHO='print -r --' |
| 7510 | elif testscip-shell system . . test. "X`printfscip-shell system . . printf. %s $ECHO 2>/dev/nullscip-shell filesystem . . `/dev/null`.`" = "X$ECHO"; then |
| 7511 | ECHO='printf %s\n' |
| 7512 | else |
| 7513 | # Use this function as a fallback that always works. |
| 7514 | func_fallback_echoscip-shell shell rsyslog 8.2604.0-4 func_fallback_echo(). () |
| 7515 | { |
| 7516 | eval 'cat <<_LTECHO_EOF |
| 7517 | $1 |
| 7518 | _LTECHO_EOF' |
| 7519 | } |
| 7520 | ECHO='func_fallback_echo' |
| 7521 | fi |
| 7522 | |
| 7523 | # func_echo_all arg... |
| 7524 | # Invoke $ECHO with all args, space-separated. |
| 7525 | func_echo_allscip-shell shell rsyslog 8.2604.0-4 func_echo_all(). () |
| 7526 | { |
| 7527 | $ECHO "" |
| 7528 | } |
| 7529 | |
| 7530 | case $ECHO in |
| 7531 | printf*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
| 7532 | printfscip-shell system . . printf. "%s\n" "printf" >&6; } ;; |
| 7533 | print*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
| 7534 | printfscip-shell system . . printf. "%s\n" "print -r" >&6; } ;; |
| 7535 | *) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
| 7536 | printfscip-shell system . . printf. "%s\n" "cat" >&6; } ;; |
| 7537 | esac |
| 7538 | |
| 7539 | |
| 7540 | |
| 7541 | |
| 7542 | |
| 7543 | |
| 7544 | |
| 7545 | |
| 7546 | |
| 7547 | |
| 7548 | |
| 7549 | |
| 7550 | |
| 7551 | |
| 7552 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
| 7553 | printfscip-shell system . . printf. %s "checking for a sed that does not truncate output... " >&6; } |
| 7554 | if testscip-shell system . . test. ${ac_cv_path_SED+y} |
| 7555 | then : |
| 7556 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7557 | else $as_nop |
| 7558 | ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
| 7559 | for ac_i in 1 2 3 4 5 6 7; do |
| 7560 | ac_script="$ac_script$as_nl$ac_script" |
| 7561 | done |
| 7562 | echoscip-shell system . . echo. "$ac_script" 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 99q >conftest.sed |
| 7563 | { ac_script=; unset ac_script;} |
| 7564 | if testscip-shell system . . test. -z "$SED"; then |
| 7565 | ac_path_SED_found=false |
| 7566 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 7567 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7568 | for as_dir in $PATH |
| 7569 | do |
| 7570 | IFS=$as_save_IFS |
| 7571 | case $as_dir in #((( |
| 7572 | '') as_dir=./ ;; |
| 7573 | */) ;; |
| 7574 | *) as_dir=$as_dir/ ;; |
| 7575 | esac |
| 7576 | for ac_prog in sed gsed |
| 7577 | do |
| 7578 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7579 | ac_path_SED="$as_dir$ac_prog$ac_exec_ext" |
| 7580 | as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$ac_path_SED" || continue |
| 7581 | # Check for GNU ac_path_SED and select it if it is found. |
| 7582 | # Check for GNU $ac_path_SED |
| 7583 | case `"$ac_path_SED" --version 2>&1` in |
| 7584 | *GNU*) |
| 7585 | ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
| 7586 | *) |
| 7587 | ac_count=0 |
| 7588 | printfscip-shell system . . printf. %s 0123456789 >"conftest.in" |
| 7589 | while : |
| 7590 | do |
| 7591 | catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp" |
| 7592 | mvscip-shell system . . mv. "conftest.tmp" "conftest.in" |
| 7593 | cpscip-shell system . . cp. "conftest.in" "conftest.nl" |
| 7594 | printfscip-shell system . . printf. "%s\n" '' >> "conftest.nl" |
| 7595 | "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break |
| 7596 | diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break |
| 7597 | as_fn_arithscip-shell shell rsyslog 8.2604.0-4 as_fn_arith(). $ac_count + 1 && ac_count=$as_val |
| 7598 | if testscip-shell system . . test. $ac_count -gt ${ac_path_SED_max-0}; then |
| 7599 | # Best one so far, save it but keep looking for a better one |
| 7600 | ac_cv_path_SED="$ac_path_SED" |
| 7601 | ac_path_SED_max=$ac_count |
| 7602 | fi |
| 7603 | # 10*(2^10) chars as input seems more than enough |
| 7604 | testscip-shell system . . test. $ac_count -gt 10 && break |
| 7605 | done |
| 7606 | rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 7607 | esac |
| 7608 | |
| 7609 | $ac_path_SED_found && break 3 |
| 7610 | done |
| 7611 | done |
| 7612 | done |
| 7613 | IFS=$as_save_IFS |
| 7614 | if testscip-shell system . . test. -z "$ac_cv_path_SED"; then |
| 7615 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
| 7616 | fi |
| 7617 | else |
| 7618 | ac_cv_path_SED=$SED |
| 7619 | fi |
| 7620 | |
| 7621 | fi |
| 7622 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
| 7623 | printfscip-shell system . . printf. "%s\n" "$ac_cv_path_SED" >&6; } |
| 7624 | SED="$ac_cv_path_SED" |
| 7625 | rmscip-shell system . . rm. -f conftest.sed |
| 7626 | |
| 7627 | testscip-shell system . . test. -z "$SED" && SED=sed |
| 7628 | Xsed="$SED -e 1s/^X//" |
| 7629 | |
| 7630 | |
| 7631 | |
| 7632 | |
| 7633 | |
| 7634 | |
| 7635 | |
| 7636 | |
| 7637 | |
| 7638 | |
| 7639 | |
| 7640 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 7641 | printfscip-shell system . . printf. %s "checking for grep that handles long lines and -e... " >&6; } |
| 7642 | if testscip-shell system . . test. ${ac_cv_path_GREP+y} |
| 7643 | then : |
| 7644 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7645 | else $as_nop |
| 7646 | if testscip-shell system . . test. -z "$GREP"; then |
| 7647 | ac_path_GREP_found=false |
| 7648 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 7649 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7650 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 7651 | do |
| 7652 | IFS=$as_save_IFS |
| 7653 | case $as_dir in #((( |
| 7654 | '') as_dir=./ ;; |
| 7655 | */) ;; |
| 7656 | *) as_dir=$as_dir/ ;; |
| 7657 | esac |
| 7658 | for ac_prog in grep ggrep |
| 7659 | do |
| 7660 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7661 | ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" |
| 7662 | as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$ac_path_GREP" || continue |
| 7663 | # Check for GNU ac_path_GREP and select it if it is found. |
| 7664 | # Check for GNU $ac_path_GREP |
| 7665 | case `"$ac_path_GREP" --version 2>&1` in |
| 7666 | *GNU*) |
| 7667 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
| 7668 | *) |
| 7669 | ac_count=0 |
| 7670 | printfscip-shell system . . printf. %s 0123456789 >"conftest.in" |
| 7671 | while : |
| 7672 | do |
| 7673 | catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp" |
| 7674 | mvscip-shell system . . mv. "conftest.tmp" "conftest.in" |
| 7675 | cpscip-shell system . . cp. "conftest.in" "conftest.nl" |
| 7676 | printfscip-shell system . . printf. "%s\n" 'GREP' >> "conftest.nl" |
| 7677 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break |
| 7678 | diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break |
| 7679 | as_fn_arithscip-shell shell rsyslog 8.2604.0-4 as_fn_arith(). $ac_count + 1 && ac_count=$as_val |
| 7680 | if testscip-shell system . . test. $ac_count -gt ${ac_path_GREP_max-0}; then |
| 7681 | # Best one so far, save it but keep looking for a better one |
| 7682 | ac_cv_path_GREP="$ac_path_GREP" |
| 7683 | ac_path_GREP_max=$ac_count |
| 7684 | fi |
| 7685 | # 10*(2^10) chars as input seems more than enough |
| 7686 | testscip-shell system . . test. $ac_count -gt 10 && break |
| 7687 | done |
| 7688 | rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 7689 | esac |
| 7690 | |
| 7691 | $ac_path_GREP_found && break 3 |
| 7692 | done |
| 7693 | done |
| 7694 | done |
| 7695 | IFS=$as_save_IFS |
| 7696 | if testscip-shell system . . test. -z "$ac_cv_path_GREP"; then |
| 7697 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 7698 | fi |
| 7699 | else |
| 7700 | ac_cv_path_GREP=$GREP |
| 7701 | fi |
| 7702 | |
| 7703 | fi |
| 7704 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
| 7705 | printfscip-shell system . . printf. "%s\n" "$ac_cv_path_GREP" >&6; } |
| 7706 | GREP="$ac_cv_path_GREP" |
| 7707 | |
| 7708 | |
| 7709 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 7710 | printfscip-shell system . . printf. %s "checking for egrep... " >&6; } |
| 7711 | if testscip-shell system . . test. ${ac_cv_path_EGREP+y} |
| 7712 | then : |
| 7713 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7714 | else $as_nop |
| 7715 | if echoscip-shell system . . echo. a | $GREP -E '(a|b)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 |
| 7716 | then ac_cv_path_EGREP="$GREP -E" |
| 7717 | else |
| 7718 | if testscip-shell system . . test. -z "$EGREP"; then |
| 7719 | ac_path_EGREP_found=false |
| 7720 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 7721 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7722 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 7723 | do |
| 7724 | IFS=$as_save_IFS |
| 7725 | case $as_dir in #((( |
| 7726 | '') as_dir=./ ;; |
| 7727 | */) ;; |
| 7728 | *) as_dir=$as_dir/ ;; |
| 7729 | esac |
| 7730 | for ac_prog in egrep |
| 7731 | do |
| 7732 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7733 | ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" |
| 7734 | as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$ac_path_EGREP" || continue |
| 7735 | # Check for GNU ac_path_EGREP and select it if it is found. |
| 7736 | # Check for GNU $ac_path_EGREP |
| 7737 | case `"$ac_path_EGREP" --version 2>&1` in |
| 7738 | *GNU*) |
| 7739 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| 7740 | *) |
| 7741 | ac_count=0 |
| 7742 | printfscip-shell system . . printf. %s 0123456789 >"conftest.in" |
| 7743 | while : |
| 7744 | do |
| 7745 | catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp" |
| 7746 | mvscip-shell system . . mv. "conftest.tmp" "conftest.in" |
| 7747 | cpscip-shell system . . cp. "conftest.in" "conftest.nl" |
| 7748 | printfscip-shell system . . printf. "%s\n" 'EGREP' >> "conftest.nl" |
| 7749 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break |
| 7750 | diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break |
| 7751 | as_fn_arithscip-shell shell rsyslog 8.2604.0-4 as_fn_arith(). $ac_count + 1 && ac_count=$as_val |
| 7752 | if testscip-shell system . . test. $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 7753 | # Best one so far, save it but keep looking for a better one |
| 7754 | ac_cv_path_EGREP="$ac_path_EGREP" |
| 7755 | ac_path_EGREP_max=$ac_count |
| 7756 | fi |
| 7757 | # 10*(2^10) chars as input seems more than enough |
| 7758 | testscip-shell system . . test. $ac_count -gt 10 && break |
| 7759 | done |
| 7760 | rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 7761 | esac |
| 7762 | |
| 7763 | $ac_path_EGREP_found && break 3 |
| 7764 | done |
| 7765 | done |
| 7766 | done |
| 7767 | IFS=$as_save_IFS |
| 7768 | if testscip-shell system . . test. -z "$ac_cv_path_EGREP"; then |
| 7769 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 7770 | fi |
| 7771 | else |
| 7772 | ac_cv_path_EGREP=$EGREP |
| 7773 | fi |
| 7774 | |
| 7775 | fi |
| 7776 | fi |
| 7777 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
| 7778 | printfscip-shell system . . printf. "%s\n" "$ac_cv_path_EGREP" >&6; } |
| 7779 | EGREP="$ac_cv_path_EGREP" |
| 7780 | |
| 7781 | |
| 7782 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
| 7783 | printfscip-shell system . . printf. %s "checking for fgrep... " >&6; } |
| 7784 | if testscip-shell system . . test. ${ac_cv_path_FGREP+y} |
| 7785 | then : |
| 7786 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7787 | else $as_nop |
| 7788 | if echoscip-shell system . . echo. 'ab*c' | $GREP -F 'ab*c' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 |
| 7789 | then ac_cv_path_FGREP="$GREP -F" |
| 7790 | else |
| 7791 | if testscip-shell system . . test. -z "$FGREP"; then |
| 7792 | ac_path_FGREP_found=false |
| 7793 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 7794 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7795 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 7796 | do |
| 7797 | IFS=$as_save_IFS |
| 7798 | case $as_dir in #((( |
| 7799 | '') as_dir=./ ;; |
| 7800 | */) ;; |
| 7801 | *) as_dir=$as_dir/ ;; |
| 7802 | esac |
| 7803 | for ac_prog in fgrep |
| 7804 | do |
| 7805 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7806 | ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext" |
| 7807 | as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$ac_path_FGREP" || continue |
| 7808 | # Check for GNU ac_path_FGREP and select it if it is found. |
| 7809 | # Check for GNU $ac_path_FGREP |
| 7810 | case `"$ac_path_FGREP" --version 2>&1` in |
| 7811 | *GNU*) |
| 7812 | ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
| 7813 | *) |
| 7814 | ac_count=0 |
| 7815 | printfscip-shell system . . printf. %s 0123456789 >"conftest.in" |
| 7816 | while : |
| 7817 | do |
| 7818 | catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp" |
| 7819 | mvscip-shell system . . mv. "conftest.tmp" "conftest.in" |
| 7820 | cpscip-shell system . . cp. "conftest.in" "conftest.nl" |
| 7821 | printfscip-shell system . . printf. "%s\n" 'FGREP' >> "conftest.nl" |
| 7822 | "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break |
| 7823 | diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break |
| 7824 | as_fn_arithscip-shell shell rsyslog 8.2604.0-4 as_fn_arith(). $ac_count + 1 && ac_count=$as_val |
| 7825 | if testscip-shell system . . test. $ac_count -gt ${ac_path_FGREP_max-0}; then |
| 7826 | # Best one so far, save it but keep looking for a better one |
| 7827 | ac_cv_path_FGREP="$ac_path_FGREP" |
| 7828 | ac_path_FGREP_max=$ac_count |
| 7829 | fi |
| 7830 | # 10*(2^10) chars as input seems more than enough |
| 7831 | testscip-shell system . . test. $ac_count -gt 10 && break |
| 7832 | done |
| 7833 | rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 7834 | esac |
| 7835 | |
| 7836 | $ac_path_FGREP_found && break 3 |
| 7837 | done |
| 7838 | done |
| 7839 | done |
| 7840 | IFS=$as_save_IFS |
| 7841 | if testscip-shell system . . test. -z "$ac_cv_path_FGREP"; then |
| 7842 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 7843 | fi |
| 7844 | else |
| 7845 | ac_cv_path_FGREP=$FGREP |
| 7846 | fi |
| 7847 | |
| 7848 | fi |
| 7849 | fi |
| 7850 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
| 7851 | printfscip-shell system . . printf. "%s\n" "$ac_cv_path_FGREP" >&6; } |
| 7852 | FGREP="$ac_cv_path_FGREP" |
| 7853 | |
| 7854 | |
| 7855 | testscip-shell system . . test. -z "$GREP" && GREP=grep |
| 7856 | |
| 7857 | |
| 7858 | |
| 7859 | |
| 7860 | |
| 7861 | |
| 7862 | |
| 7863 | |
| 7864 | |
| 7865 | |
| 7866 | |
| 7867 | |
| 7868 | |
| 7869 | |
| 7870 | |
| 7871 | |
| 7872 | |
| 7873 | |
| 7874 | |
| 7875 | # Check whether --with-gnu-ld was given. |
| 7876 | if testscip-shell system . . test. ${with_gnu_ld+y} |
| 7877 | then : |
| 7878 | withval=$with_gnu_ld; testscip-shell system . . test. no = "$withval" || with_gnu_ld=yes |
| 7879 | else $as_nop |
| 7880 | with_gnu_ld=no |
| 7881 | fi |
| 7882 | |
| 7883 | ac_prog=ld |
| 7884 | if testscip-shell system . . test. yes = "$GCC"; then |
| 7885 | # Check if gcc -print-prog-name=ld gives a path. |
| 7886 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
| 7887 | printfscip-shell system . . printf. %s "checking for ld used by $CC... " >&6; } |
| 7888 | case $host in |
| 7889 | *-*-mingw*) |
| 7890 | # gcc leaves a trailing carriage return, which upsets mingw |
| 7891 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | trscip-shell system . . tr. -d '\015'` ;; |
| 7892 | *) |
| 7893 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
| 7894 | esac |
| 7895 | case $ac_prog in |
| 7896 | # Accept absolute paths. |
| 7897 | [\\/]* | ?:[\\/]*) |
| 7898 | re_direlt='/[^/][^/]*/\.\./scip-shell filesystem . . `/[^/][^/]*/\.\./`.' |
| 7899 | # Canonicalize the pathname of ld |
| 7900 | ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
| 7901 | while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; do |
| 7902 | ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
| 7903 | done |
| 7904 | testscip-shell system . . test. -z "$LD" && LD=$ac_prog |
| 7905 | ;; |
| 7906 | "") |
| 7907 | # If it fails, then pretend we aren't using GCC. |
| 7908 | ac_prog=ld |
| 7909 | ;; |
| 7910 | *) |
| 7911 | # If it is relative, then search for the first ld in PATH. |
| 7912 | with_gnu_ld=unknown |
| 7913 | ;; |
| 7914 | esac |
| 7915 | elif testscip-shell system . . test. yes = "$with_gnu_ld"; then |
| 7916 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
| 7917 | printfscip-shell system . . printf. %s "checking for GNU ld... " >&6; } |
| 7918 | else |
| 7919 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 7920 | printfscip-shell system . . printf. %s "checking for non-GNU ld... " >&6; } |
| 7921 | fi |
| 7922 | if testscip-shell system . . test. ${lt_cv_path_LD+y} |
| 7923 | then : |
| 7924 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7925 | else $as_nop |
| 7926 | if testscip-shell system . . test. -z "$LD"; then |
| 7927 | lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 7928 | for ac_dir in $PATH; do |
| 7929 | IFS=$lt_save_ifs |
| 7930 | testscip-shell system . . test. -z "$ac_dir" && ac_dir=. |
| 7931 | if testscip-shell system . . test. -f "$ac_dir/$ac_prog" || testscip-shell system . . test. -f "$ac_dir/$ac_prog$ac_exeext"; then |
| 7932 | lt_cv_path_LD=$ac_dir/$ac_prog |
| 7933 | # Check to see if the program is GNU ld. I'd rather use --version, |
| 7934 | # but apparently some variants of GNU ld only accept -v. |
| 7935 | # Break only if it was the GNU/non-GNU ld that we prefer. |
| 7936 | case `"$lt_cv_path_LD" -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in |
| 7937 | *GNU* | *'with BFD'*) |
| 7938 | testscip-shell system . . test. no != "$with_gnu_ld" && break |
| 7939 | ;; |
| 7940 | *) |
| 7941 | testscip-shell system . . test. yes != "$with_gnu_ld" && break |
| 7942 | ;; |
| 7943 | esac |
| 7944 | fi |
| 7945 | done |
| 7946 | IFS=$lt_save_ifs |
| 7947 | else |
| 7948 | lt_cv_path_LD=$LD # Let the user override the test with a path. |
| 7949 | fi |
| 7950 | fi |
| 7951 | |
| 7952 | LD=$lt_cv_path_LD |
| 7953 | if testscip-shell system . . test. -n "$LD"; then |
| 7954 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
| 7955 | printfscip-shell system . . printf. "%s\n" "$LD" >&6; } |
| 7956 | else |
| 7957 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7958 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 7959 | fi |
| 7960 | testscip-shell system . . test. -z "$LD" && as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 7961 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 7962 | printfscip-shell system . . printf. %s "checking if the linker ($LD) is GNU ld... " >&6; } |
| 7963 | if testscip-shell system . . test. ${lt_cv_prog_gnu_ld+y} |
| 7964 | then : |
| 7965 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7966 | else $as_nop |
| 7967 | # I'd rather use --version here, but apparently some GNU lds only accept -v. |
| 7968 | case `$LD -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in |
| 7969 | *GNU* | *'with BFD'*) |
| 7970 | lt_cv_prog_gnu_ld=yes |
| 7971 | ;; |
| 7972 | *) |
| 7973 | lt_cv_prog_gnu_ld=no |
| 7974 | ;; |
| 7975 | esac |
| 7976 | fi |
| 7977 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
| 7978 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_gnu_ld" >&6; } |
| 7979 | with_gnu_ld=$lt_cv_prog_gnu_ld |
| 7980 | |
| 7981 | |
| 7982 | |
| 7983 | |
| 7984 | |
| 7985 | |
| 7986 | |
| 7987 | |
| 7988 | |
| 7989 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
| 7990 | printfscip-shell system . . printf. %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
| 7991 | if testscip-shell system . . test. ${lt_cv_path_NM+y} |
| 7992 | then : |
| 7993 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7994 | else $as_nop |
| 7995 | if testscip-shell system . . test. -n "$NM"; then |
| 7996 | # Let the user override the test. |
| 7997 | lt_cv_path_NM=$NM |
| 7998 | else |
| 7999 | lt_nm_to_check=${ac_tool_prefix}nm |
| 8000 | if testscip-shell system . . test. -n "$ac_tool_prefix" && testscip-shell system . . test. "$build" = "$host"; then |
| 8001 | lt_nm_to_check="$lt_nm_to_check nm" |
| 8002 | fi |
| 8003 | for lt_tmp_nm in $lt_nm_to_check; do |
| 8004 | lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 8005 | for ac_dir in $PATH /usr/ccs/bin/elfscip-shell filesystem . . `/usr/ccs/bin/elf`. /usr/ccs/binscip-shell filesystem . . `/usr/ccs/bin`. /usr/ucbscip-shell filesystem . . `/usr/ucb`. /binscip-shell filesystem . . `/bin`.; do |
| 8006 | IFS=$lt_save_ifs |
| 8007 | testscip-shell system . . test. -z "$ac_dir" && ac_dir=. |
| 8008 | tmp_nm=$ac_dir/$lt_tmp_nm |
| 8009 | if testscip-shell system . . test. -f "$tmp_nm" || testscip-shell system . . test. -f "$tmp_nm$ac_exeext"; then |
| 8010 | # Check to see if the nm accepts a BSD-compat flag. |
| 8011 | # Adding the 'sed 1q' prevents false positives on HP-UX, which says: |
| 8012 | # nm: unknown option "B" ignored |
| 8013 | # Tru64's nm complains that /dev/null is an invalid object file |
| 8014 | # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty |
| 8015 | case $build_os in |
| 8016 | mingw*) lt_bad_file=conftest.nm/nofile ;; |
| 8017 | *) lt_bad_file=/dev/nullscip-shell filesystem . . `/dev/null`. ;; |
| 8018 | esac |
| 8019 | case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in |
| 8020 | *$lt_bad_file* | *'Invalid file or object type'*) |
| 8021 | lt_cv_path_NM="$tmp_nm -B" |
| 8022 | break 2 |
| 8023 | ;; |
| 8024 | *) |
| 8025 | case `"$tmp_nm" -p /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 | $SED '1q'` in |
| 8026 | */dev/null*) |
| 8027 | lt_cv_path_NM="$tmp_nm -p" |
| 8028 | break 2 |
| 8029 | ;; |
| 8030 | *) |
| 8031 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
| 8032 | continue # so that we can try to find one that supports BSD flags |
| 8033 | ;; |
| 8034 | esac |
| 8035 | ;; |
| 8036 | esac |
| 8037 | fi |
| 8038 | done |
| 8039 | IFS=$lt_save_ifs |
| 8040 | done |
| 8041 | : ${lt_cv_path_NM=no} |
| 8042 | fi |
| 8043 | fi |
| 8044 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
| 8045 | printfscip-shell system . . printf. "%s\n" "$lt_cv_path_NM" >&6; } |
| 8046 | if testscip-shell system . . test. no != "$lt_cv_path_NM"; then |
| 8047 | NM=$lt_cv_path_NM |
| 8048 | else |
| 8049 | # Didn't find any BSD compatible name lister, look for dumpbin. |
| 8050 | if testscip-shell system . . test. -n "$DUMPBIN"; then : |
| 8051 | # Let the user override the test. |
| 8052 | else |
| 8053 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 8054 | for ac_prog in dumpbin "link -dump" |
| 8055 | do |
| 8056 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 8057 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 8058 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8059 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 8060 | if testscip-shell system . . test. ${ac_cv_prog_DUMPBIN+y} |
| 8061 | then : |
| 8062 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8063 | else $as_nop |
| 8064 | if testscip-shell system . . test. -n "$DUMPBIN"; then |
| 8065 | ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
| 8066 | else |
| 8067 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8068 | for as_dir in $PATH |
| 8069 | do |
| 8070 | IFS=$as_save_IFS |
| 8071 | case $as_dir in #((( |
| 8072 | '') as_dir=./ ;; |
| 8073 | */) ;; |
| 8074 | *) as_dir=$as_dir/ ;; |
| 8075 | esac |
| 8076 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8077 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 8078 | ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
| 8079 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8080 | break 2 |
| 8081 | fi |
| 8082 | done |
| 8083 | done |
| 8084 | IFS=$as_save_IFS |
| 8085 | |
| 8086 | fi |
| 8087 | fi |
| 8088 | DUMPBIN=$ac_cv_prog_DUMPBIN |
| 8089 | if testscip-shell system . . test. -n "$DUMPBIN"; then |
| 8090 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
| 8091 | printfscip-shell system . . printf. "%s\n" "$DUMPBIN" >&6; } |
| 8092 | else |
| 8093 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8094 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 8095 | fi |
| 8096 | |
| 8097 | |
| 8098 | testscip-shell system . . test. -n "$DUMPBIN" && break |
| 8099 | done |
| 8100 | fi |
| 8101 | if testscip-shell system . . test. -z "$DUMPBIN"; then |
| 8102 | ac_ct_DUMPBIN=$DUMPBIN |
| 8103 | for ac_prog in dumpbin "link -dump" |
| 8104 | do |
| 8105 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 8106 | set dummy $ac_prog; ac_word=$2 |
| 8107 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8108 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 8109 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_DUMPBIN+y} |
| 8110 | then : |
| 8111 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8112 | else $as_nop |
| 8113 | if testscip-shell system . . test. -n "$ac_ct_DUMPBIN"; then |
| 8114 | ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
| 8115 | else |
| 8116 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8117 | for as_dir in $PATH |
| 8118 | do |
| 8119 | IFS=$as_save_IFS |
| 8120 | case $as_dir in #((( |
| 8121 | '') as_dir=./ ;; |
| 8122 | */) ;; |
| 8123 | *) as_dir=$as_dir/ ;; |
| 8124 | esac |
| 8125 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8126 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 8127 | ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
| 8128 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8129 | break 2 |
| 8130 | fi |
| 8131 | done |
| 8132 | done |
| 8133 | IFS=$as_save_IFS |
| 8134 | |
| 8135 | fi |
| 8136 | fi |
| 8137 | ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
| 8138 | if testscip-shell system . . test. -n "$ac_ct_DUMPBIN"; then |
| 8139 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
| 8140 | printfscip-shell system . . printf. "%s\n" "$ac_ct_DUMPBIN" >&6; } |
| 8141 | else |
| 8142 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8143 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 8144 | fi |
| 8145 | |
| 8146 | |
| 8147 | testscip-shell system . . test. -n "$ac_ct_DUMPBIN" && break |
| 8148 | done |
| 8149 | |
| 8150 | if testscip-shell system . . test. "x$ac_ct_DUMPBIN" = x; then |
| 8151 | DUMPBIN=":" |
| 8152 | else |
| 8153 | case $cross_compiling:$ac_tool_warned in |
| 8154 | yes:) |
| 8155 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8156 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8157 | ac_tool_warned=yes ;; |
| 8158 | esac |
| 8159 | DUMPBIN=$ac_ct_DUMPBIN |
| 8160 | fi |
| 8161 | fi |
| 8162 | |
| 8163 | case `$DUMPBIN -symbols -headers /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 | $SED '1q'` in |
| 8164 | *COFF*) |
| 8165 | DUMPBIN="$DUMPBIN -symbols -headers" |
| 8166 | ;; |
| 8167 | *) |
| 8168 | DUMPBIN=: |
| 8169 | ;; |
| 8170 | esac |
| 8171 | fi |
| 8172 | |
| 8173 | if testscip-shell system . . test. : != "$DUMPBIN"; then |
| 8174 | NM=$DUMPBIN |
| 8175 | fi |
| 8176 | fi |
| 8177 | testscip-shell system . . test. -z "$NM" && NM=nm |
| 8178 | |
| 8179 | |
| 8180 | |
| 8181 | |
| 8182 | |
| 8183 | |
| 8184 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
| 8185 | printfscip-shell system . . printf. %s "checking the name lister ($NM) interface... " >&6; } |
| 8186 | if testscip-shell system . . test. ${lt_cv_nm_interface+y} |
| 8187 | then : |
| 8188 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8189 | else $as_nop |
| 8190 | lt_cv_nm_interface="BSD nm" |
| 8191 | echoscip-shell system . . echo. "int some_variable = 0;" > conftest.$ac_ext |
| 8192 | (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
| 8193 | (eval "$ac_compile" 2>conftest.err) |
| 8194 | catscip-shell system . . cat. conftest.err >&5 |
| 8195 | (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
| 8196 | (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
| 8197 | catscip-shell system . . cat. conftest.err >&5 |
| 8198 | (eval echo "\"\$as_me:$LINENO: output\"" >&5) |
| 8199 | catscip-shell system . . cat. conftest.out >&5 |
| 8200 | if $GREP 'External.*some_variable' conftest.out > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 8201 | lt_cv_nm_interface="MS dumpbin" |
| 8202 | fi |
| 8203 | rmscip-shell system . . rm. -f conftest* |
| 8204 | fi |
| 8205 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
| 8206 | printfscip-shell system . . printf. "%s\n" "$lt_cv_nm_interface" >&6; } |
| 8207 | |
| 8208 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
| 8209 | printfscip-shell system . . printf. %s "checking whether ln -s works... " >&6; } |
| 8210 | LN_S=$as_ln_s |
| 8211 | if testscip-shell system . . test. "$LN_S" = "ln -s"; then |
| 8212 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 8213 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 8214 | else |
| 8215 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
| 8216 | printfscip-shell system . . printf. "%s\n" "no, using $LN_S" >&6; } |
| 8217 | fi |
| 8218 | |
| 8219 | # find the maximum length of command line arguments |
| 8220 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
| 8221 | printfscip-shell system . . printf. %s "checking the maximum length of command line arguments... " >&6; } |
| 8222 | if testscip-shell system . . test. ${lt_cv_sys_max_cmd_len+y} |
| 8223 | then : |
| 8224 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8225 | else $as_nop |
| 8226 | i=0 |
| 8227 | teststring=ABCD |
| 8228 | |
| 8229 | case $build_os in |
| 8230 | msdosdjgpp*) |
| 8231 | # On DJGPP, this test can blow up pretty badly due to problems in libc |
| 8232 | # (any single argument exceeding 2000 bytes causes a buffer overrun |
| 8233 | # during glob expansion). Even if it were fixed, the result of this |
| 8234 | # check would be larger than it should be. |
| 8235 | lt_cv_sys_max_cmd_len=12288; # 12K is about right |
| 8236 | ;; |
| 8237 | |
| 8238 | gnu*) |
| 8239 | # Under GNU Hurd, this test is not required because there is |
| 8240 | # no limit to the length of command line arguments. |
| 8241 | # Libtool will interpret -1 as no limit whatsoever |
| 8242 | lt_cv_sys_max_cmd_len=-1; |
| 8243 | ;; |
| 8244 | |
| 8245 | cygwin* | mingw* | cegcc*) |
| 8246 | # On Win9x/ME, this test blows up -- it succeeds, but takes |
| 8247 | # about 5 minutes as the teststring grows exponentially. |
| 8248 | # Worse, since 9x/ME are not pre-emptively multitasking, |
| 8249 | # you end up with a "frozen" computer, even though with patience |
| 8250 | # the test eventually succeeds (with a max line length of 256k). |
| 8251 | # Instead, let's just punt: use the minimum linelength reported by |
| 8252 | # all of the supported platforms: 8192 (on NT/2K/XP). |
| 8253 | lt_cv_sys_max_cmd_len=8192; |
| 8254 | ;; |
| 8255 | |
| 8256 | mint*) |
| 8257 | # On MiNT this can take a long time and run out of memory. |
| 8258 | lt_cv_sys_max_cmd_len=8192; |
| 8259 | ;; |
| 8260 | |
| 8261 | amigaos*) |
| 8262 | # On AmigaOS with pdksh, this test takes hours, literally. |
| 8263 | # So we just punt and use a minimum line length of 8192. |
| 8264 | lt_cv_sys_max_cmd_len=8192; |
| 8265 | ;; |
| 8266 | |
| 8267 | bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*) |
| 8268 | # This has been around since 386BSD, at least. Likely further. |
| 8269 | if testscip-shell system . . test. -x /sbin/sysctlscip-shell filesystem . . `/sbin/sysctl`.; then |
| 8270 | lt_cv_sys_max_cmd_len=`/sbin/sysctlscip-shell filesystem . . `/sbin/sysctl`. -n kern.argmax` |
| 8271 | elif testscip-shell system . . test. -x /usr/sbin/sysctlscip-shell filesystem . . `/usr/sbin/sysctl`.; then |
| 8272 | lt_cv_sys_max_cmd_len=`/usr/sbin/sysctlscip-shell filesystem . . `/usr/sbin/sysctl`. -n kern.argmax` |
| 8273 | else |
| 8274 | lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
| 8275 | fi |
| 8276 | # And add a safety zone |
| 8277 | lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \/ 4` |
| 8278 | lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \* 3` |
| 8279 | ;; |
| 8280 | |
| 8281 | interix*) |
| 8282 | # We know the value 262144 and hardcode it with a safety zone (like BSD) |
| 8283 | lt_cv_sys_max_cmd_len=196608 |
| 8284 | ;; |
| 8285 | |
| 8286 | os2*) |
| 8287 | # The test takes a long time on OS/2. |
| 8288 | lt_cv_sys_max_cmd_len=8192 |
| 8289 | ;; |
| 8290 | |
| 8291 | osf*) |
| 8292 | # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
| 8293 | # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
| 8294 | # nice to cause kernel panics so lets avoid the loop below. |
| 8295 | # First set a reasonable default. |
| 8296 | lt_cv_sys_max_cmd_len=16384 |
| 8297 | # |
| 8298 | if testscip-shell system . . test. -x /sbin/sysconfigscip-shell filesystem . . `/sbin/sysconfig`.; then |
| 8299 | case `/sbin/sysconfigscip-shell filesystem . . `/sbin/sysconfig`. -q proc exec_disable_arg_limit` in |
| 8300 | *1*) lt_cv_sys_max_cmd_len=-1 ;; |
| 8301 | esac |
| 8302 | fi |
| 8303 | ;; |
| 8304 | sco3.2v5*) |
| 8305 | lt_cv_sys_max_cmd_len=102400 |
| 8306 | ;; |
| 8307 | sysv5* | sco5v6* | sysv4.2uw2*) |
| 8308 | kargmax=`grepscip-shell system . . grep. ARG_MAX /etc/conf/cf.d/stunescip-shell filesystem . . `/etc/conf/cf.d/stune`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 8309 | if testscip-shell system . . test. -n "$kargmax"; then |
| 8310 | lt_cv_sys_max_cmd_len=`echoscip-shell system . . echo. $kargmax | $SED 's/.*[ ]//'` |
| 8311 | else |
| 8312 | lt_cv_sys_max_cmd_len=32768 |
| 8313 | fi |
| 8314 | ;; |
| 8315 | *) |
| 8316 | lt_cv_sys_max_cmd_len=`(getconfscip-shell system . . getconf. ARG_MAX) 2> /dev/nullscip-shell filesystem . . `/dev/null`.` |
| 8317 | if testscip-shell system . . test. -n "$lt_cv_sys_max_cmd_len" && \ |
| 8318 | test undefined != "$lt_cv_sys_max_cmd_len"; then |
| 8319 | lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \/ 4` |
| 8320 | lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \* 3` |
| 8321 | else |
| 8322 | # Make teststring a little bigger before we do anything with it. |
| 8323 | # a 1K string should be a reasonable start. |
| 8324 | for i in 1 2 3 4 5 6 7 8; do |
| 8325 | teststring=$teststring$teststring |
| 8326 | done |
| 8327 | SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
| 8328 | # If test is not a shell built-in, we'll probably end up computing a |
| 8329 | # maximum length that is only half of the actual maximum length, but |
| 8330 | # we can't tell. |
| 8331 | while { testscip-shell system . . test. X`envscip-shell system . . env. echo "$teststring$teststring" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` \ |
| 8332 | = "X$teststring$teststring"; } >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 8333 | testscip-shell system . . test. 17 != "$i" # 1/2 MB should be enough |
| 8334 | do |
| 8335 | i=`exprscip-shell system . . expr. $i + 1` |
| 8336 | teststring=$teststring$teststring |
| 8337 | done |
| 8338 | # Only check the string length outside the loop. |
| 8339 | lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. "X$teststring" : ".*" 2>&1` |
| 8340 | teststring= |
| 8341 | # Add a significant safety factor because C++ compilers can tack on |
| 8342 | # massive amounts of additional arguments before passing them to the |
| 8343 | # linker. It appears as though 1/2 is a usable value. |
| 8344 | lt_cv_sys_max_cmd_len=`exprscip-shell system . . expr. $lt_cv_sys_max_cmd_len \/ 2` |
| 8345 | fi |
| 8346 | ;; |
| 8347 | esac |
| 8348 | |
| 8349 | fi |
| 8350 | |
| 8351 | if testscip-shell system . . test. -n "$lt_cv_sys_max_cmd_len"; then |
| 8352 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
| 8353 | printfscip-shell system . . printf. "%s\n" "$lt_cv_sys_max_cmd_len" >&6; } |
| 8354 | else |
| 8355 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 8356 | printfscip-shell system . . printf. "%s\n" "none" >&6; } |
| 8357 | fi |
| 8358 | max_cmd_len=$lt_cv_sys_max_cmd_len |
| 8359 | |
| 8360 | |
| 8361 | |
| 8362 | |
| 8363 | |
| 8364 | |
| 8365 | : ${CP="cp -f"} |
| 8366 | : ${MV="mv -f"} |
| 8367 | : ${RM="rm -f"} |
| 8368 | |
| 8369 | if ( (MAIL=60; unset MAIL) || exit) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 8370 | lt_unset=unset |
| 8371 | else |
| 8372 | lt_unset=false |
| 8373 | fi |
| 8374 | |
| 8375 | |
| 8376 | |
| 8377 | |
| 8378 | |
| 8379 | # test EBCDIC or ASCII |
| 8380 | case `echoscip-shell system . . echo. X|trscip-shell system . . tr. X '\101'` in |
| 8381 | A) # ASCII based system |
| 8382 | # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr |
| 8383 | lt_SP2NL='tr \040 \012' |
| 8384 | lt_NL2SP='tr \015\012 \040\040' |
| 8385 | ;; |
| 8386 | *) # EBCDIC based system |
| 8387 | lt_SP2NL='tr \100 \n' |
| 8388 | lt_NL2SP='tr \r\n \100\100' |
| 8389 | ;; |
| 8390 | esac |
| 8391 | |
| 8392 | |
| 8393 | |
| 8394 | |
| 8395 | |
| 8396 | |
| 8397 | |
| 8398 | |
| 8399 | |
| 8400 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
| 8401 | printfscip-shell system . . printf. %s "checking how to convert $build file names to $host format... " >&6; } |
| 8402 | if testscip-shell system . . test. ${lt_cv_to_host_file_cmd+y} |
| 8403 | then : |
| 8404 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8405 | else $as_nop |
| 8406 | case $host in |
| 8407 | *-*-mingw* ) |
| 8408 | case $build in |
| 8409 | *-*-mingw* ) # actually msys |
| 8410 | lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
| 8411 | ;; |
| 8412 | *-*-cygwin* ) |
| 8413 | lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
| 8414 | ;; |
| 8415 | * ) # otherwise, assume *nix |
| 8416 | lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
| 8417 | ;; |
| 8418 | esac |
| 8419 | ;; |
| 8420 | *-*-cygwin* ) |
| 8421 | case $build in |
| 8422 | *-*-mingw* ) # actually msys |
| 8423 | lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
| 8424 | ;; |
| 8425 | *-*-cygwin* ) |
| 8426 | lt_cv_to_host_file_cmd=func_convert_file_noop |
| 8427 | ;; |
| 8428 | * ) # otherwise, assume *nix |
| 8429 | lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
| 8430 | ;; |
| 8431 | esac |
| 8432 | ;; |
| 8433 | * ) # unhandled hosts (and "normal" native builds) |
| 8434 | lt_cv_to_host_file_cmd=func_convert_file_noop |
| 8435 | ;; |
| 8436 | esac |
| 8437 | |
| 8438 | fi |
| 8439 | |
| 8440 | to_host_file_cmd=$lt_cv_to_host_file_cmd |
| 8441 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
| 8442 | printfscip-shell system . . printf. "%s\n" "$lt_cv_to_host_file_cmd" >&6; } |
| 8443 | |
| 8444 | |
| 8445 | |
| 8446 | |
| 8447 | |
| 8448 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
| 8449 | printfscip-shell system . . printf. %s "checking how to convert $build file names to toolchain format... " >&6; } |
| 8450 | if testscip-shell system . . test. ${lt_cv_to_tool_file_cmd+y} |
| 8451 | then : |
| 8452 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8453 | else $as_nop |
| 8454 | #assume ordinary cross tools, or native build. |
| 8455 | lt_cv_to_tool_file_cmd=func_convert_file_noop |
| 8456 | case $host in |
| 8457 | *-*-mingw* ) |
| 8458 | case $build in |
| 8459 | *-*-mingw* ) # actually msys |
| 8460 | lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
| 8461 | ;; |
| 8462 | esac |
| 8463 | ;; |
| 8464 | esac |
| 8465 | |
| 8466 | fi |
| 8467 | |
| 8468 | to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 8469 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
| 8470 | printfscip-shell system . . printf. "%s\n" "$lt_cv_to_tool_file_cmd" >&6; } |
| 8471 | |
| 8472 | |
| 8473 | |
| 8474 | |
| 8475 | |
| 8476 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
| 8477 | printfscip-shell system . . printf. %s "checking for $LD option to reload object files... " >&6; } |
| 8478 | if testscip-shell system . . test. ${lt_cv_ld_reload_flag+y} |
| 8479 | then : |
| 8480 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8481 | else $as_nop |
| 8482 | lt_cv_ld_reload_flag='-r' |
| 8483 | fi |
| 8484 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
| 8485 | printfscip-shell system . . printf. "%s\n" "$lt_cv_ld_reload_flag" >&6; } |
| 8486 | reload_flag=$lt_cv_ld_reload_flag |
| 8487 | case $reload_flag in |
| 8488 | "" | " "*) ;; |
| 8489 | *) reload_flag=" $reload_flag" ;; |
| 8490 | esac |
| 8491 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 8492 | case $host_os in |
| 8493 | cygwin* | mingw* | pw32* | cegcc*) |
| 8494 | if testscip-shell system . . test. yes != "$GCC"; then |
| 8495 | reload_cmds=false |
| 8496 | fi |
| 8497 | ;; |
| 8498 | darwin*) |
| 8499 | if testscip-shell system . . test. yes = "$GCC"; then |
| 8500 | reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' |
| 8501 | else |
| 8502 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 8503 | fi |
| 8504 | ;; |
| 8505 | esac |
| 8506 | |
| 8507 | |
| 8508 | |
| 8509 | |
| 8510 | |
| 8511 | |
| 8512 | |
| 8513 | |
| 8514 | |
| 8515 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 8516 | # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args. |
| 8517 | set dummy ${ac_tool_prefix}file; ac_word=$2 |
| 8518 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8519 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 8520 | if testscip-shell system . . test. ${ac_cv_prog_FILECMD+y} |
| 8521 | then : |
| 8522 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8523 | else $as_nop |
| 8524 | if testscip-shell system . . test. -n "$FILECMD"; then |
| 8525 | ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test. |
| 8526 | else |
| 8527 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8528 | for as_dir in $PATH |
| 8529 | do |
| 8530 | IFS=$as_save_IFS |
| 8531 | case $as_dir in #((( |
| 8532 | '') as_dir=./ ;; |
| 8533 | */) ;; |
| 8534 | *) as_dir=$as_dir/ ;; |
| 8535 | esac |
| 8536 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8537 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 8538 | ac_cv_prog_FILECMD="${ac_tool_prefix}file" |
| 8539 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8540 | break 2 |
| 8541 | fi |
| 8542 | done |
| 8543 | done |
| 8544 | IFS=$as_save_IFS |
| 8545 | |
| 8546 | fi |
| 8547 | fi |
| 8548 | FILECMD=$ac_cv_prog_FILECMD |
| 8549 | if testscip-shell system . . test. -n "$FILECMD"; then |
| 8550 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5 |
| 8551 | printfscip-shell system . . printf. "%s\n" "$FILECMD" >&6; } |
| 8552 | else |
| 8553 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8554 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 8555 | fi |
| 8556 | |
| 8557 | |
| 8558 | fi |
| 8559 | if testscip-shell system . . test. -z "$ac_cv_prog_FILECMD"; then |
| 8560 | ac_ct_FILECMD=$FILECMD |
| 8561 | # Extract the first word of "file", so it can be a program name with args. |
| 8562 | set dummy file; ac_word=$2 |
| 8563 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8564 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 8565 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_FILECMD+y} |
| 8566 | then : |
| 8567 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8568 | else $as_nop |
| 8569 | if testscip-shell system . . test. -n "$ac_ct_FILECMD"; then |
| 8570 | ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test. |
| 8571 | else |
| 8572 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8573 | for as_dir in $PATH |
| 8574 | do |
| 8575 | IFS=$as_save_IFS |
| 8576 | case $as_dir in #((( |
| 8577 | '') as_dir=./ ;; |
| 8578 | */) ;; |
| 8579 | *) as_dir=$as_dir/ ;; |
| 8580 | esac |
| 8581 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8582 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 8583 | ac_cv_prog_ac_ct_FILECMD="file" |
| 8584 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8585 | break 2 |
| 8586 | fi |
| 8587 | done |
| 8588 | done |
| 8589 | IFS=$as_save_IFS |
| 8590 | |
| 8591 | fi |
| 8592 | fi |
| 8593 | ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD |
| 8594 | if testscip-shell system . . test. -n "$ac_ct_FILECMD"; then |
| 8595 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5 |
| 8596 | printfscip-shell system . . printf. "%s\n" "$ac_ct_FILECMD" >&6; } |
| 8597 | else |
| 8598 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8599 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 8600 | fi |
| 8601 | |
| 8602 | if testscip-shell system . . test. "x$ac_ct_FILECMD" = x; then |
| 8603 | FILECMD=":" |
| 8604 | else |
| 8605 | case $cross_compiling:$ac_tool_warned in |
| 8606 | yes:) |
| 8607 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8608 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8609 | ac_tool_warned=yes ;; |
| 8610 | esac |
| 8611 | FILECMD=$ac_ct_FILECMD |
| 8612 | fi |
| 8613 | else |
| 8614 | FILECMD="$ac_cv_prog_FILECMD" |
| 8615 | fi |
| 8616 | |
| 8617 | |
| 8618 | |
| 8619 | |
| 8620 | |
| 8621 | |
| 8622 | |
| 8623 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 8624 | # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
| 8625 | set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
| 8626 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8627 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 8628 | if testscip-shell system . . test. ${ac_cv_prog_OBJDUMP+y} |
| 8629 | then : |
| 8630 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8631 | else $as_nop |
| 8632 | if testscip-shell system . . test. -n "$OBJDUMP"; then |
| 8633 | ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
| 8634 | else |
| 8635 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8636 | for as_dir in $PATH |
| 8637 | do |
| 8638 | IFS=$as_save_IFS |
| 8639 | case $as_dir in #((( |
| 8640 | '') as_dir=./ ;; |
| 8641 | */) ;; |
| 8642 | *) as_dir=$as_dir/ ;; |
| 8643 | esac |
| 8644 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8645 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 8646 | ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
| 8647 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8648 | break 2 |
| 8649 | fi |
| 8650 | done |
| 8651 | done |
| 8652 | IFS=$as_save_IFS |
| 8653 | |
| 8654 | fi |
| 8655 | fi |
| 8656 | OBJDUMP=$ac_cv_prog_OBJDUMP |
| 8657 | if testscip-shell system . . test. -n "$OBJDUMP"; then |
| 8658 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
| 8659 | printfscip-shell system . . printf. "%s\n" "$OBJDUMP" >&6; } |
| 8660 | else |
| 8661 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8662 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 8663 | fi |
| 8664 | |
| 8665 | |
| 8666 | fi |
| 8667 | if testscip-shell system . . test. -z "$ac_cv_prog_OBJDUMP"; then |
| 8668 | ac_ct_OBJDUMP=$OBJDUMP |
| 8669 | # Extract the first word of "objdump", so it can be a program name with args. |
| 8670 | set dummy objdump; ac_word=$2 |
| 8671 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8672 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 8673 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_OBJDUMP+y} |
| 8674 | then : |
| 8675 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8676 | else $as_nop |
| 8677 | if testscip-shell system . . test. -n "$ac_ct_OBJDUMP"; then |
| 8678 | ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
| 8679 | else |
| 8680 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8681 | for as_dir in $PATH |
| 8682 | do |
| 8683 | IFS=$as_save_IFS |
| 8684 | case $as_dir in #((( |
| 8685 | '') as_dir=./ ;; |
| 8686 | */) ;; |
| 8687 | *) as_dir=$as_dir/ ;; |
| 8688 | esac |
| 8689 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8690 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 8691 | ac_cv_prog_ac_ct_OBJDUMP="objdump" |
| 8692 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8693 | break 2 |
| 8694 | fi |
| 8695 | done |
| 8696 | done |
| 8697 | IFS=$as_save_IFS |
| 8698 | |
| 8699 | fi |
| 8700 | fi |
| 8701 | ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
| 8702 | if testscip-shell system . . test. -n "$ac_ct_OBJDUMP"; then |
| 8703 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
| 8704 | printfscip-shell system . . printf. "%s\n" "$ac_ct_OBJDUMP" >&6; } |
| 8705 | else |
| 8706 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8707 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 8708 | fi |
| 8709 | |
| 8710 | if testscip-shell system . . test. "x$ac_ct_OBJDUMP" = x; then |
| 8711 | OBJDUMP="false" |
| 8712 | else |
| 8713 | case $cross_compiling:$ac_tool_warned in |
| 8714 | yes:) |
| 8715 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8716 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8717 | ac_tool_warned=yes ;; |
| 8718 | esac |
| 8719 | OBJDUMP=$ac_ct_OBJDUMP |
| 8720 | fi |
| 8721 | else |
| 8722 | OBJDUMP="$ac_cv_prog_OBJDUMP" |
| 8723 | fi |
| 8724 | |
| 8725 | testscip-shell system . . test. -z "$OBJDUMP" && OBJDUMP=objdump |
| 8726 | |
| 8727 | |
| 8728 | |
| 8729 | |
| 8730 | |
| 8731 | |
| 8732 | |
| 8733 | |
| 8734 | |
| 8735 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
| 8736 | printfscip-shell system . . printf. %s "checking how to recognize dependent libraries... " >&6; } |
| 8737 | if testscip-shell system . . test. ${lt_cv_deplibs_check_method+y} |
| 8738 | then : |
| 8739 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8740 | else $as_nop |
| 8741 | lt_cv_file_magic_cmd='$MAGIC_CMD' |
| 8742 | lt_cv_file_magic_test_file= |
| 8743 | lt_cv_deplibs_check_method='unknown' |
| 8744 | # Need to set the preceding variable on all platforms that support |
| 8745 | # interlibrary dependencies. |
| 8746 | # 'none' -- dependencies not supported. |
| 8747 | # 'unknown' -- same as none, but documents that we really don't know. |
| 8748 | # 'pass_all' -- all dependencies passed with no checks. |
| 8749 | # 'test_compile' -- check by making test program. |
| 8750 | # 'file_magic [[regex]]' -- check by looking for files in library path |
| 8751 | # that responds to the $file_magic_cmd with a given extended regex. |
| 8752 | # If you have 'file' or equivalent on your system and you're not sure |
| 8753 | # whether 'pass_all' will *always* work, you probably want this one. |
| 8754 | |
| 8755 | case $host_os in |
| 8756 | aix[4-9]*) |
| 8757 | lt_cv_deplibs_check_method=pass_all |
| 8758 | ;; |
| 8759 | |
| 8760 | beos*) |
| 8761 | lt_cv_deplibs_check_method=pass_all |
| 8762 | ;; |
| 8763 | |
| 8764 | bsdi[45]*) |
| 8765 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
| 8766 | lt_cv_file_magic_cmd='$FILECMD -L' |
| 8767 | lt_cv_file_magic_test_file=/shlib/libc.soscip-shell filesystem . . `/shlib/libc.so`. |
| 8768 | ;; |
| 8769 | |
| 8770 | cygwin*) |
| 8771 | # func_win32_libid is a shell function defined in ltmain.sh |
| 8772 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 8773 | lt_cv_file_magic_cmd='func_win32_libid' |
| 8774 | ;; |
| 8775 | |
| 8776 | mingw* | pw32*) |
| 8777 | # Base MSYS/MinGW do not provide the 'file' command needed by |
| 8778 | # func_win32_libid shell function, so use a weaker test based on 'objdump', |
| 8779 | # unless we find 'file', for example because we are cross-compiling. |
| 8780 | if ( filescip-shell system . . file. /scip-shell filesystem . . `/`. ) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 8781 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 8782 | lt_cv_file_magic_cmd='func_win32_libid' |
| 8783 | else |
| 8784 | # Keep this pattern in sync with the one in func_win32_libid. |
| 8785 | lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
| 8786 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 8787 | fi |
| 8788 | ;; |
| 8789 | |
| 8790 | cegcc*) |
| 8791 | # use the weaker test based on 'objdump'. See mingw*. |
| 8792 | lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
| 8793 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 8794 | ;; |
| 8795 | |
| 8796 | darwin* | rhapsody*) |
| 8797 | lt_cv_deplibs_check_method=pass_all |
| 8798 | ;; |
| 8799 | |
| 8800 | freebsd* | dragonfly* | midnightbsd*) |
| 8801 | if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 8802 | case $host_cpu in |
| 8803 | i*86 ) |
| 8804 | # Not sure whether the presence of OpenBSD here was a mistake. |
| 8805 | # Let's accept both of them until this is cleared up. |
| 8806 | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
| 8807 | lt_cv_file_magic_cmd=$FILECMD |
| 8808 | lt_cv_file_magic_test_file=`echoscip-shell system . . echo. /usr/lib/libc.so.*` |
| 8809 | ;; |
| 8810 | esac |
| 8811 | else |
| 8812 | lt_cv_deplibs_check_method=pass_all |
| 8813 | fi |
| 8814 | ;; |
| 8815 | |
| 8816 | haiku*) |
| 8817 | lt_cv_deplibs_check_method=pass_all |
| 8818 | ;; |
| 8819 | |
| 8820 | hpux10.20* | hpux11*) |
| 8821 | lt_cv_file_magic_cmd=$FILECMD |
| 8822 | case $host_cpu in |
| 8823 | ia64*) |
| 8824 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
| 8825 | lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.soscip-shell filesystem . . `/usr/lib/hpux32/libc.so`. |
| 8826 | ;; |
| 8827 | hppa*64*) |
| 8828 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' |
| 8829 | lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.slscip-shell filesystem . . `/usr/lib/pa20_64/libc.sl`. |
| 8830 | ;; |
| 8831 | *) |
| 8832 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
| 8833 | lt_cv_file_magic_test_file=/usr/lib/libc.slscip-shell filesystem . . `/usr/lib/libc.sl`. |
| 8834 | ;; |
| 8835 | esac |
| 8836 | ;; |
| 8837 | |
| 8838 | interix[3-9]*) |
| 8839 | # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
| 8840 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
| 8841 | ;; |
| 8842 | |
| 8843 | irix5* | irix6* | nonstopux*) |
| 8844 | case $LD in |
| 8845 | *-32|*"-32 ") libmagic=32-bit;; |
| 8846 | *-n32|*"-n32 ") libmagic=N32;; |
| 8847 | *-64|*"-64 ") libmagic=64-bit;; |
| 8848 | *) libmagic=never-match;; |
| 8849 | esac |
| 8850 | lt_cv_deplibs_check_method=pass_all |
| 8851 | ;; |
| 8852 | |
| 8853 | # This must be glibc/ELF. |
| 8854 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 8855 | lt_cv_deplibs_check_method=pass_all |
| 8856 | ;; |
| 8857 | |
| 8858 | netbsd* | netbsdelf*-gnu) |
| 8859 | if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 8860 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
| 8861 | else |
| 8862 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
| 8863 | fi |
| 8864 | ;; |
| 8865 | |
| 8866 | newos6*) |
| 8867 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
| 8868 | lt_cv_file_magic_cmd=$FILECMD |
| 8869 | lt_cv_file_magic_test_file=/usr/lib/libnls.soscip-shell filesystem . . `/usr/lib/libnls.so`. |
| 8870 | ;; |
| 8871 | |
| 8872 | *nto* | *qnx*) |
| 8873 | lt_cv_deplibs_check_method=pass_all |
| 8874 | ;; |
| 8875 | |
| 8876 | openbsd* | bitrig*) |
| 8877 | if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 8878 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
| 8879 | else |
| 8880 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
| 8881 | fi |
| 8882 | ;; |
| 8883 | |
| 8884 | osf3* | osf4* | osf5*) |
| 8885 | lt_cv_deplibs_check_method=pass_all |
| 8886 | ;; |
| 8887 | |
| 8888 | rdos*) |
| 8889 | lt_cv_deplibs_check_method=pass_all |
| 8890 | ;; |
| 8891 | |
| 8892 | solaris*) |
| 8893 | lt_cv_deplibs_check_method=pass_all |
| 8894 | ;; |
| 8895 | |
| 8896 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 8897 | lt_cv_deplibs_check_method=pass_all |
| 8898 | ;; |
| 8899 | |
| 8900 | sysv4 | sysv4.3*) |
| 8901 | case $host_vendor in |
| 8902 | motorola) |
| 8903 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' |
| 8904 | lt_cv_file_magic_test_file=`echoscip-shell system . . echo. /usr/lib/libc.so*` |
| 8905 | ;; |
| 8906 | ncr) |
| 8907 | lt_cv_deplibs_check_method=pass_all |
| 8908 | ;; |
| 8909 | sequent) |
| 8910 | lt_cv_file_magic_cmd='/bin/filescip-shell filesystem . . `/bin/file`.' |
| 8911 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' |
| 8912 | ;; |
| 8913 | sni) |
| 8914 | lt_cv_file_magic_cmd='/bin/filescip-shell filesystem . . `/bin/file`.' |
| 8915 | lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
| 8916 | lt_cv_file_magic_test_file=/lib/libc.soscip-shell filesystem . . `/lib/libc.so`. |
| 8917 | ;; |
| 8918 | siemens) |
| 8919 | lt_cv_deplibs_check_method=pass_all |
| 8920 | ;; |
| 8921 | pc) |
| 8922 | lt_cv_deplibs_check_method=pass_all |
| 8923 | ;; |
| 8924 | esac |
| 8925 | ;; |
| 8926 | |
| 8927 | tpf*) |
| 8928 | lt_cv_deplibs_check_method=pass_all |
| 8929 | ;; |
| 8930 | os2*) |
| 8931 | lt_cv_deplibs_check_method=pass_all |
| 8932 | ;; |
| 8933 | esac |
| 8934 | |
| 8935 | fi |
| 8936 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
| 8937 | printfscip-shell system . . printf. "%s\n" "$lt_cv_deplibs_check_method" >&6; } |
| 8938 | |
| 8939 | file_magic_glob= |
| 8940 | want_nocaseglob=no |
| 8941 | if testscip-shell system . . test. "$build" = "$host"; then |
| 8942 | case $host_os in |
| 8943 | mingw* | pw32*) |
| 8944 | if ( shopt | grepscip-shell system . . grep. nocaseglob ) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 8945 | want_nocaseglob=yes |
| 8946 | else |
| 8947 | file_magic_glob=`echoscip-shell system . . echo. aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
| 8948 | fi |
| 8949 | ;; |
| 8950 | esac |
| 8951 | fi |
| 8952 | |
| 8953 | file_magic_cmd=$lt_cv_file_magic_cmd |
| 8954 | deplibs_check_method=$lt_cv_deplibs_check_method |
| 8955 | testscip-shell system . . test. -z "$deplibs_check_method" && deplibs_check_method=unknown |
| 8956 | |
| 8957 | |
| 8958 | |
| 8959 | |
| 8960 | |
| 8961 | |
| 8962 | |
| 8963 | |
| 8964 | |
| 8965 | |
| 8966 | |
| 8967 | |
| 8968 | |
| 8969 | |
| 8970 | |
| 8971 | |
| 8972 | |
| 8973 | |
| 8974 | |
| 8975 | |
| 8976 | |
| 8977 | |
| 8978 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 8979 | # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
| 8980 | set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
| 8981 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8982 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 8983 | if testscip-shell system . . test. ${ac_cv_prog_DLLTOOL+y} |
| 8984 | then : |
| 8985 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8986 | else $as_nop |
| 8987 | if testscip-shell system . . test. -n "$DLLTOOL"; then |
| 8988 | ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
| 8989 | else |
| 8990 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8991 | for as_dir in $PATH |
| 8992 | do |
| 8993 | IFS=$as_save_IFS |
| 8994 | case $as_dir in #((( |
| 8995 | '') as_dir=./ ;; |
| 8996 | */) ;; |
| 8997 | *) as_dir=$as_dir/ ;; |
| 8998 | esac |
| 8999 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9000 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 9001 | ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
| 9002 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 9003 | break 2 |
| 9004 | fi |
| 9005 | done |
| 9006 | done |
| 9007 | IFS=$as_save_IFS |
| 9008 | |
| 9009 | fi |
| 9010 | fi |
| 9011 | DLLTOOL=$ac_cv_prog_DLLTOOL |
| 9012 | if testscip-shell system . . test. -n "$DLLTOOL"; then |
| 9013 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
| 9014 | printfscip-shell system . . printf. "%s\n" "$DLLTOOL" >&6; } |
| 9015 | else |
| 9016 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9017 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 9018 | fi |
| 9019 | |
| 9020 | |
| 9021 | fi |
| 9022 | if testscip-shell system . . test. -z "$ac_cv_prog_DLLTOOL"; then |
| 9023 | ac_ct_DLLTOOL=$DLLTOOL |
| 9024 | # Extract the first word of "dlltool", so it can be a program name with args. |
| 9025 | set dummy dlltool; ac_word=$2 |
| 9026 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9027 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 9028 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_DLLTOOL+y} |
| 9029 | then : |
| 9030 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9031 | else $as_nop |
| 9032 | if testscip-shell system . . test. -n "$ac_ct_DLLTOOL"; then |
| 9033 | ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
| 9034 | else |
| 9035 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9036 | for as_dir in $PATH |
| 9037 | do |
| 9038 | IFS=$as_save_IFS |
| 9039 | case $as_dir in #((( |
| 9040 | '') as_dir=./ ;; |
| 9041 | */) ;; |
| 9042 | *) as_dir=$as_dir/ ;; |
| 9043 | esac |
| 9044 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9045 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 9046 | ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
| 9047 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 9048 | break 2 |
| 9049 | fi |
| 9050 | done |
| 9051 | done |
| 9052 | IFS=$as_save_IFS |
| 9053 | |
| 9054 | fi |
| 9055 | fi |
| 9056 | ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
| 9057 | if testscip-shell system . . test. -n "$ac_ct_DLLTOOL"; then |
| 9058 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
| 9059 | printfscip-shell system . . printf. "%s\n" "$ac_ct_DLLTOOL" >&6; } |
| 9060 | else |
| 9061 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9062 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 9063 | fi |
| 9064 | |
| 9065 | if testscip-shell system . . test. "x$ac_ct_DLLTOOL" = x; then |
| 9066 | DLLTOOL="false" |
| 9067 | else |
| 9068 | case $cross_compiling:$ac_tool_warned in |
| 9069 | yes:) |
| 9070 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 9071 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 9072 | ac_tool_warned=yes ;; |
| 9073 | esac |
| 9074 | DLLTOOL=$ac_ct_DLLTOOL |
| 9075 | fi |
| 9076 | else |
| 9077 | DLLTOOL="$ac_cv_prog_DLLTOOL" |
| 9078 | fi |
| 9079 | |
| 9080 | testscip-shell system . . test. -z "$DLLTOOL" && DLLTOOL=dlltool |
| 9081 | |
| 9082 | |
| 9083 | |
| 9084 | |
| 9085 | |
| 9086 | |
| 9087 | |
| 9088 | |
| 9089 | |
| 9090 | |
| 9091 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
| 9092 | printfscip-shell system . . printf. %s "checking how to associate runtime and link libraries... " >&6; } |
| 9093 | if testscip-shell system . . test. ${lt_cv_sharedlib_from_linklib_cmd+y} |
| 9094 | then : |
| 9095 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9096 | else $as_nop |
| 9097 | lt_cv_sharedlib_from_linklib_cmd='unknown' |
| 9098 | |
| 9099 | case $host_os in |
| 9100 | cygwin* | mingw* | pw32* | cegcc*) |
| 9101 | # two different shell functions defined in ltmain.sh; |
| 9102 | # decide which one to use based on capabilities of $DLLTOOL |
| 9103 | case `$DLLTOOL --help 2>&1` in |
| 9104 | *--identify-strict*) |
| 9105 | lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
| 9106 | ;; |
| 9107 | *) |
| 9108 | lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
| 9109 | ;; |
| 9110 | esac |
| 9111 | ;; |
| 9112 | *) |
| 9113 | # fallback: assume linklib IS sharedlib |
| 9114 | lt_cv_sharedlib_from_linklib_cmd=$ECHO |
| 9115 | ;; |
| 9116 | esac |
| 9117 | |
| 9118 | fi |
| 9119 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
| 9120 | printfscip-shell system . . printf. "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
| 9121 | sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
| 9122 | testscip-shell system . . test. -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
| 9123 | |
| 9124 | |
| 9125 | |
| 9126 | |
| 9127 | |
| 9128 | |
| 9129 | |
| 9130 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 9131 | for ac_prog in ar |
| 9132 | do |
| 9133 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 9134 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 9135 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9136 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 9137 | if testscip-shell system . . test. ${ac_cv_prog_AR+y} |
| 9138 | then : |
| 9139 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9140 | else $as_nop |
| 9141 | if testscip-shell system . . test. -n "$AR"; then |
| 9142 | ac_cv_prog_AR="$AR" # Let the user override the test. |
| 9143 | else |
| 9144 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9145 | for as_dir in $PATH |
| 9146 | do |
| 9147 | IFS=$as_save_IFS |
| 9148 | case $as_dir in #((( |
| 9149 | '') as_dir=./ ;; |
| 9150 | */) ;; |
| 9151 | *) as_dir=$as_dir/ ;; |
| 9152 | esac |
| 9153 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9154 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 9155 | ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
| 9156 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 9157 | break 2 |
| 9158 | fi |
| 9159 | done |
| 9160 | done |
| 9161 | IFS=$as_save_IFS |
| 9162 | |
| 9163 | fi |
| 9164 | fi |
| 9165 | AR=$ac_cv_prog_AR |
| 9166 | if testscip-shell system . . test. -n "$AR"; then |
| 9167 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
| 9168 | printfscip-shell system . . printf. "%s\n" "$AR" >&6; } |
| 9169 | else |
| 9170 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9171 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 9172 | fi |
| 9173 | |
| 9174 | |
| 9175 | testscip-shell system . . test. -n "$AR" && break |
| 9176 | done |
| 9177 | fi |
| 9178 | if testscip-shell system . . test. -z "$AR"; then |
| 9179 | ac_ct_AR=$AR |
| 9180 | for ac_prog in ar |
| 9181 | do |
| 9182 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 9183 | set dummy $ac_prog; ac_word=$2 |
| 9184 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9185 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 9186 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_AR+y} |
| 9187 | then : |
| 9188 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9189 | else $as_nop |
| 9190 | if testscip-shell system . . test. -n "$ac_ct_AR"; then |
| 9191 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
| 9192 | else |
| 9193 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9194 | for as_dir in $PATH |
| 9195 | do |
| 9196 | IFS=$as_save_IFS |
| 9197 | case $as_dir in #((( |
| 9198 | '') as_dir=./ ;; |
| 9199 | */) ;; |
| 9200 | *) as_dir=$as_dir/ ;; |
| 9201 | esac |
| 9202 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9203 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 9204 | ac_cv_prog_ac_ct_AR="$ac_prog" |
| 9205 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 9206 | break 2 |
| 9207 | fi |
| 9208 | done |
| 9209 | done |
| 9210 | IFS=$as_save_IFS |
| 9211 | |
| 9212 | fi |
| 9213 | fi |
| 9214 | ac_ct_AR=$ac_cv_prog_ac_ct_AR |
| 9215 | if testscip-shell system . . test. -n "$ac_ct_AR"; then |
| 9216 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
| 9217 | printfscip-shell system . . printf. "%s\n" "$ac_ct_AR" >&6; } |
| 9218 | else |
| 9219 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9220 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 9221 | fi |
| 9222 | |
| 9223 | |
| 9224 | testscip-shell system . . test. -n "$ac_ct_AR" && break |
| 9225 | done |
| 9226 | |
| 9227 | if testscip-shell system . . test. "x$ac_ct_AR" = x; then |
| 9228 | AR="false" |
| 9229 | else |
| 9230 | case $cross_compiling:$ac_tool_warned in |
| 9231 | yes:) |
| 9232 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 9233 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 9234 | ac_tool_warned=yes ;; |
| 9235 | esac |
| 9236 | AR=$ac_ct_AR |
| 9237 | fi |
| 9238 | fi |
| 9239 | |
| 9240 | : ${AR=ar} |
| 9241 | |
| 9242 | |
| 9243 | |
| 9244 | |
| 9245 | |
| 9246 | |
| 9247 | # Use ARFLAGS variable as AR's operation code to sync the variable naming with |
| 9248 | # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have |
| 9249 | # higher priority because thats what people were doing historically (setting |
| 9250 | # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS |
| 9251 | # variable obsoleted/removed. |
| 9252 | |
| 9253 | testscip-shell system . . test. ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr} |
| 9254 | lt_ar_flags=$AR_FLAGS |
| 9255 | |
| 9256 | |
| 9257 | |
| 9258 | |
| 9259 | |
| 9260 | |
| 9261 | # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override |
| 9262 | # by AR_FLAGS because that was never working and AR_FLAGS is about to die. |
| 9263 | |
| 9264 | |
| 9265 | |
| 9266 | |
| 9267 | |
| 9268 | |
| 9269 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
| 9270 | printfscip-shell system . . printf. %s "checking for archiver @FILE support... " >&6; } |
| 9271 | if testscip-shell system . . test. ${lt_cv_ar_at_file+y} |
| 9272 | then : |
| 9273 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9274 | else $as_nop |
| 9275 | lt_cv_ar_at_file=no |
| 9276 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9277 | /* end confdefs.h. */ |
| 9278 | |
| 9279 | int |
| 9280 | main (void) |
| 9281 | { |
| 9282 | |
| 9283 | ; |
| 9284 | return 0; |
| 9285 | } |
| 9286 | _ACEOF |
| 9287 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 9288 | then : |
| 9289 | echoscip-shell system . . echo. conftest.$ac_objext > conftest.lst |
| 9290 | lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
| 9291 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 9292 | (eval $lt_ar_try) 2>&5 |
| 9293 | ac_status=$? |
| 9294 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9295 | testscip-shell system . . test. $ac_status = 0; } |
| 9296 | if testscip-shell system . . test. 0 -eq "$ac_status"; then |
| 9297 | # Ensure the archiver fails upon bogus file names. |
| 9298 | rmscip-shell system . . rm. -f conftest.$ac_objext libconftest.a |
| 9299 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 9300 | (eval $lt_ar_try) 2>&5 |
| 9301 | ac_status=$? |
| 9302 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9303 | testscip-shell system . . test. $ac_status = 0; } |
| 9304 | if testscip-shell system . . test. 0 -ne "$ac_status"; then |
| 9305 | lt_cv_ar_at_file=@ |
| 9306 | fi |
| 9307 | fi |
| 9308 | rmscip-shell system . . rm. -f conftest.* libconftest.a |
| 9309 | |
| 9310 | fi |
| 9311 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 9312 | |
| 9313 | fi |
| 9314 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
| 9315 | printfscip-shell system . . printf. "%s\n" "$lt_cv_ar_at_file" >&6; } |
| 9316 | |
| 9317 | if testscip-shell system . . test. no = "$lt_cv_ar_at_file"; then |
| 9318 | archiver_list_spec= |
| 9319 | else |
| 9320 | archiver_list_spec=$lt_cv_ar_at_file |
| 9321 | fi |
| 9322 | |
| 9323 | |
| 9324 | |
| 9325 | |
| 9326 | |
| 9327 | |
| 9328 | |
| 9329 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 9330 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 9331 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 9332 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9333 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 9334 | if testscip-shell system . . test. ${ac_cv_prog_STRIP+y} |
| 9335 | then : |
| 9336 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9337 | else $as_nop |
| 9338 | if testscip-shell system . . test. -n "$STRIP"; then |
| 9339 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 9340 | else |
| 9341 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9342 | for as_dir in $PATH |
| 9343 | do |
| 9344 | IFS=$as_save_IFS |
| 9345 | case $as_dir in #((( |
| 9346 | '') as_dir=./ ;; |
| 9347 | */) ;; |
| 9348 | *) as_dir=$as_dir/ ;; |
| 9349 | esac |
| 9350 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9351 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 9352 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 9353 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 9354 | break 2 |
| 9355 | fi |
| 9356 | done |
| 9357 | done |
| 9358 | IFS=$as_save_IFS |
| 9359 | |
| 9360 | fi |
| 9361 | fi |
| 9362 | STRIP=$ac_cv_prog_STRIP |
| 9363 | if testscip-shell system . . test. -n "$STRIP"; then |
| 9364 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 9365 | printfscip-shell system . . printf. "%s\n" "$STRIP" >&6; } |
| 9366 | else |
| 9367 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9368 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 9369 | fi |
| 9370 | |
| 9371 | |
| 9372 | fi |
| 9373 | if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then |
| 9374 | ac_ct_STRIP=$STRIP |
| 9375 | # Extract the first word of "strip", so it can be a program name with args. |
| 9376 | set dummy strip; ac_word=$2 |
| 9377 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9378 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 9379 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_STRIP+y} |
| 9380 | then : |
| 9381 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9382 | else $as_nop |
| 9383 | if testscip-shell system . . test. -n "$ac_ct_STRIP"; then |
| 9384 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 9385 | else |
| 9386 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9387 | for as_dir in $PATH |
| 9388 | do |
| 9389 | IFS=$as_save_IFS |
| 9390 | case $as_dir in #((( |
| 9391 | '') as_dir=./ ;; |
| 9392 | */) ;; |
| 9393 | *) as_dir=$as_dir/ ;; |
| 9394 | esac |
| 9395 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9396 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 9397 | ac_cv_prog_ac_ct_STRIP="strip" |
| 9398 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 9399 | break 2 |
| 9400 | fi |
| 9401 | done |
| 9402 | done |
| 9403 | IFS=$as_save_IFS |
| 9404 | |
| 9405 | fi |
| 9406 | fi |
| 9407 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 9408 | if testscip-shell system . . test. -n "$ac_ct_STRIP"; then |
| 9409 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 9410 | printfscip-shell system . . printf. "%s\n" "$ac_ct_STRIP" >&6; } |
| 9411 | else |
| 9412 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9413 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 9414 | fi |
| 9415 | |
| 9416 | if testscip-shell system . . test. "x$ac_ct_STRIP" = x; then |
| 9417 | STRIP=":" |
| 9418 | else |
| 9419 | case $cross_compiling:$ac_tool_warned in |
| 9420 | yes:) |
| 9421 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 9422 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 9423 | ac_tool_warned=yes ;; |
| 9424 | esac |
| 9425 | STRIP=$ac_ct_STRIP |
| 9426 | fi |
| 9427 | else |
| 9428 | STRIP="$ac_cv_prog_STRIP" |
| 9429 | fi |
| 9430 | |
| 9431 | testscip-shell system . . test. -z "$STRIP" && STRIP=: |
| 9432 | |
| 9433 | |
| 9434 | |
| 9435 | |
| 9436 | |
| 9437 | |
| 9438 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 9439 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 9440 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 9441 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9442 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 9443 | if testscip-shell system . . test. ${ac_cv_prog_RANLIB+y} |
| 9444 | then : |
| 9445 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9446 | else $as_nop |
| 9447 | if testscip-shell system . . test. -n "$RANLIB"; then |
| 9448 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 9449 | else |
| 9450 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9451 | for as_dir in $PATH |
| 9452 | do |
| 9453 | IFS=$as_save_IFS |
| 9454 | case $as_dir in #((( |
| 9455 | '') as_dir=./ ;; |
| 9456 | */) ;; |
| 9457 | *) as_dir=$as_dir/ ;; |
| 9458 | esac |
| 9459 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9460 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 9461 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 9462 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 9463 | break 2 |
| 9464 | fi |
| 9465 | done |
| 9466 | done |
| 9467 | IFS=$as_save_IFS |
| 9468 | |
| 9469 | fi |
| 9470 | fi |
| 9471 | RANLIB=$ac_cv_prog_RANLIB |
| 9472 | if testscip-shell system . . test. -n "$RANLIB"; then |
| 9473 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
| 9474 | printfscip-shell system . . printf. "%s\n" "$RANLIB" >&6; } |
| 9475 | else |
| 9476 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9477 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 9478 | fi |
| 9479 | |
| 9480 | |
| 9481 | fi |
| 9482 | if testscip-shell system . . test. -z "$ac_cv_prog_RANLIB"; then |
| 9483 | ac_ct_RANLIB=$RANLIB |
| 9484 | # Extract the first word of "ranlib", so it can be a program name with args. |
| 9485 | set dummy ranlib; ac_word=$2 |
| 9486 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9487 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 9488 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_RANLIB+y} |
| 9489 | then : |
| 9490 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9491 | else $as_nop |
| 9492 | if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then |
| 9493 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
| 9494 | else |
| 9495 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9496 | for as_dir in $PATH |
| 9497 | do |
| 9498 | IFS=$as_save_IFS |
| 9499 | case $as_dir in #((( |
| 9500 | '') as_dir=./ ;; |
| 9501 | */) ;; |
| 9502 | *) as_dir=$as_dir/ ;; |
| 9503 | esac |
| 9504 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9505 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 9506 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 9507 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 9508 | break 2 |
| 9509 | fi |
| 9510 | done |
| 9511 | done |
| 9512 | IFS=$as_save_IFS |
| 9513 | |
| 9514 | fi |
| 9515 | fi |
| 9516 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 9517 | if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then |
| 9518 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
| 9519 | printfscip-shell system . . printf. "%s\n" "$ac_ct_RANLIB" >&6; } |
| 9520 | else |
| 9521 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9522 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 9523 | fi |
| 9524 | |
| 9525 | if testscip-shell system . . test. "x$ac_ct_RANLIB" = x; then |
| 9526 | RANLIB=":" |
| 9527 | else |
| 9528 | case $cross_compiling:$ac_tool_warned in |
| 9529 | yes:) |
| 9530 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 9531 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 9532 | ac_tool_warned=yes ;; |
| 9533 | esac |
| 9534 | RANLIB=$ac_ct_RANLIB |
| 9535 | fi |
| 9536 | else |
| 9537 | RANLIB="$ac_cv_prog_RANLIB" |
| 9538 | fi |
| 9539 | |
| 9540 | testscip-shell system . . test. -z "$RANLIB" && RANLIB=: |
| 9541 | |
| 9542 | |
| 9543 | |
| 9544 | |
| 9545 | |
| 9546 | |
| 9547 | # Determine commands to create old-style static archives. |
| 9548 | old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
| 9549 | old_postinstall_cmds='chmod 644 $oldlib' |
| 9550 | old_postuninstall_cmds= |
| 9551 | |
| 9552 | if testscip-shell system . . test. -n "$RANLIB"; then |
| 9553 | case $host_os in |
| 9554 | bitrig* | openbsd*) |
| 9555 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
| 9556 | ;; |
| 9557 | *) |
| 9558 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
| 9559 | ;; |
| 9560 | esac |
| 9561 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
| 9562 | fi |
| 9563 | |
| 9564 | case $host_os in |
| 9565 | darwin*) |
| 9566 | lock_old_archive_extraction=yes ;; |
| 9567 | *) |
| 9568 | lock_old_archive_extraction=no ;; |
| 9569 | esac |
| 9570 | |
| 9571 | |
| 9572 | |
| 9573 | |
| 9574 | |
| 9575 | |
| 9576 | |
| 9577 | |
| 9578 | |
| 9579 | |
| 9580 | |
| 9581 | |
| 9582 | |
| 9583 | |
| 9584 | |
| 9585 | |
| 9586 | |
| 9587 | |
| 9588 | |
| 9589 | |
| 9590 | |
| 9591 | |
| 9592 | |
| 9593 | |
| 9594 | |
| 9595 | |
| 9596 | |
| 9597 | |
| 9598 | |
| 9599 | |
| 9600 | |
| 9601 | |
| 9602 | |
| 9603 | |
| 9604 | |
| 9605 | |
| 9606 | |
| 9607 | |
| 9608 | |
| 9609 | # If no C compiler was specified, use CC. |
| 9610 | LTCC=${LTCC-"$CC"} |
| 9611 | |
| 9612 | # If no C compiler flags were specified, use CFLAGS. |
| 9613 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 9614 | |
| 9615 | # Allow CC to be a program name with arguments. |
| 9616 | compiler=$CC |
| 9617 | |
| 9618 | |
| 9619 | # Check for command to grab the raw symbol name followed by C symbol from nm. |
| 9620 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
| 9621 | printfscip-shell system . . printf. %s "checking command to parse $NM output from $compiler object... " >&6; } |
| 9622 | if testscip-shell system . . test. ${lt_cv_sys_global_symbol_pipe+y} |
| 9623 | then : |
| 9624 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9625 | else $as_nop |
| 9626 | |
| 9627 | # These are sane defaults that work on at least a few old systems. |
| 9628 | # [They come from Ultrix. What could be older than Ultrix?!! ;)] |
| 9629 | |
| 9630 | # Character class describing NM global symbol codes. |
| 9631 | symcode='[BCDEGRST]' |
| 9632 | |
| 9633 | # Regexp to match symbols that can be accessed directly from C. |
| 9634 | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
| 9635 | |
| 9636 | # Define system-specific variables. |
| 9637 | case $host_os in |
| 9638 | aix*) |
| 9639 | symcode='[BCDT]' |
| 9640 | ;; |
| 9641 | cygwin* | mingw* | pw32* | cegcc*) |
| 9642 | symcode='[ABCDGISTW]' |
| 9643 | ;; |
| 9644 | hpux*) |
| 9645 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 9646 | symcode='[ABCDEGRST]' |
| 9647 | fi |
| 9648 | ;; |
| 9649 | irix* | nonstopux*) |
| 9650 | symcode='[BCDEGRST]' |
| 9651 | ;; |
| 9652 | osf*) |
| 9653 | symcode='[BCDEGQRST]' |
| 9654 | ;; |
| 9655 | solaris*) |
| 9656 | symcode='[BDRT]' |
| 9657 | ;; |
| 9658 | sco3.2v5*) |
| 9659 | symcode='[DT]' |
| 9660 | ;; |
| 9661 | sysv4.2uw2*) |
| 9662 | symcode='[DT]' |
| 9663 | ;; |
| 9664 | sysv5* | sco5v6* | unixware* | OpenUNIX*) |
| 9665 | symcode='[ABDT]' |
| 9666 | ;; |
| 9667 | sysv4) |
| 9668 | symcode='[DFNSTU]' |
| 9669 | ;; |
| 9670 | esac |
| 9671 | |
| 9672 | # If we're using GNU nm, then use its standard symbol codes. |
| 9673 | case `$NM -V 2>&1` in |
| 9674 | *GNU* | *'with BFD'*) |
| 9675 | symcode='[ABCDGIRSTW]' ;; |
| 9676 | esac |
| 9677 | |
| 9678 | if testscip-shell system . . test. "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 9679 | # Gets list of data symbols to import. |
| 9680 | lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'" |
| 9681 | # Adjust the below global symbol transforms to fixup imported variables. |
| 9682 | lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" |
| 9683 | lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" |
| 9684 | lt_c_name_lib_hook="\ |
| 9685 | -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ |
| 9686 | -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" |
| 9687 | else |
| 9688 | # Disable hooks by default. |
| 9689 | lt_cv_sys_global_symbol_to_import= |
| 9690 | lt_cdecl_hook= |
| 9691 | lt_c_name_hook= |
| 9692 | lt_c_name_lib_hook= |
| 9693 | fi |
| 9694 | |
| 9695 | # Transform an extracted symbol line into a proper C declaration. |
| 9696 | # Some systems (esp. on ia64) link data and code symbols differently, |
| 9697 | # so use this general approach. |
| 9698 | lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ |
| 9699 | $lt_cdecl_hook\ |
| 9700 | " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ |
| 9701 | " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" |
| 9702 | |
| 9703 | # Transform an extracted symbol line into symbol name and symbol address |
| 9704 | lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\ |
| 9705 | $lt_c_name_hook\ |
| 9706 | " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
| 9707 | " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" |
| 9708 | |
| 9709 | # Transform an extracted symbol line into symbol name with lib prefix and |
| 9710 | # symbol address. |
| 9711 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\ |
| 9712 | $lt_c_name_lib_hook\ |
| 9713 | " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
| 9714 | " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ |
| 9715 | " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" |
| 9716 | |
| 9717 | # Handle CRLF in mingw tool chain |
| 9718 | opt_cr= |
| 9719 | case $build_os in |
| 9720 | mingw*) |
| 9721 | opt_cr=`$ECHO 'x\{0,1\}' | trscip-shell system . . tr. x '\015'` # option cr in regexp |
| 9722 | ;; |
| 9723 | esac |
| 9724 | |
| 9725 | # Try without a prefix underscore, then with it. |
| 9726 | for ac_symprfx in "" "_"; do |
| 9727 | |
| 9728 | # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
| 9729 | symxfrm="\\1 $ac_symprfx\\2 \\2" |
| 9730 | |
| 9731 | # Write the raw and C identifiers. |
| 9732 | if testscip-shell system . . test. "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 9733 | # Fake it for dumpbin and say T for any non-static function, |
| 9734 | # D for any global variable and I for any imported variable. |
| 9735 | # Also find C++ and __fastcall symbols from MSVC++ or ICC, |
| 9736 | # which start with @ or ?. |
| 9737 | lt_cv_sys_global_symbol_pipe="$AWK '"\ |
| 9738 | " {last_section=section; section=\$ 3};"\ |
| 9739 | " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
| 9740 | " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
| 9741 | " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ |
| 9742 | " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ |
| 9743 | " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ |
| 9744 | " \$ 0!~/External *\|/{next};"\ |
| 9745 | " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
| 9746 | " {if(hide[section]) next};"\ |
| 9747 | " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ |
| 9748 | " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ |
| 9749 | " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ |
| 9750 | " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ |
| 9751 | " ' prfx=^$ac_symprfx" |
| 9752 | else |
| 9753 | lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
| 9754 | fi |
| 9755 | lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'" |
| 9756 | |
| 9757 | # Check to see that the pipe works correctly. |
| 9758 | pipe_works=no |
| 9759 | |
| 9760 | rmscip-shell system . . rm. -f conftest* |
| 9761 | catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF |
| 9762 | #ifdef __cplusplus |
| 9763 | extern "C" { |
| 9764 | #endif |
| 9765 | char nm_test_var; |
| 9766 | void nm_test_func(void); |
| 9767 | void nm_test_func(void){} |
| 9768 | #ifdef __cplusplus |
| 9769 | } |
| 9770 | #endif |
| 9771 | int main(){nm_test_var='a';nm_test_func();return(0);} |
| 9772 | _LT_EOF |
| 9773 | |
| 9774 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 9775 | (eval $ac_compile) 2>&5 |
| 9776 | ac_status=$? |
| 9777 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9778 | testscip-shell system . . test. $ac_status = 0; }; then |
| 9779 | # Now try to grab the symbols. |
| 9780 | nlist=conftest.nm |
| 9781 | $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 |
| 9782 | if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && testscip-shell system . . test. -s "$nlist"; then |
| 9783 | # Try sorting and uniquifying the output. |
| 9784 | if sortscip-shell system . . sort. "$nlist" | uniqscip-shell system . . uniq. > "$nlist"T; then |
| 9785 | mvscip-shell system . . mv. -f "$nlist"T "$nlist" |
| 9786 | else |
| 9787 | rmscip-shell system . . rm. -f "$nlist"T |
| 9788 | fi |
| 9789 | |
| 9790 | # Make sure that we snagged all the symbols we need. |
| 9791 | if $GREP ' nm_test_var$' "$nlist" >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9792 | if $GREP ' nm_test_func$' "$nlist" >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9793 | catscip-shell system . . cat. <<_LT_EOF > conftest.$ac_ext |
| 9794 | /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
| 9795 | #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE |
| 9796 | /* DATA imports from DLLs on WIN32 can't be const, because runtime |
| 9797 | relocations are performed -- see ld's documentation on pseudo-relocs. */ |
| 9798 | # define LT_DLSYM_CONST |
| 9799 | #elif defined __osf__ |
| 9800 | /* This system does not cope well with relocations in const data. */ |
| 9801 | # define LT_DLSYM_CONST |
| 9802 | #else |
| 9803 | # define LT_DLSYM_CONST const |
| 9804 | #endif |
| 9805 | |
| 9806 | #ifdef __cplusplus |
| 9807 | extern "C" { |
| 9808 | #endif |
| 9809 | |
| 9810 | _LT_EOF |
| 9811 | # Now generate the symbol file. |
| 9812 | eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' |
| 9813 | |
| 9814 | catscip-shell system . . cat. <<_LT_EOF >> conftest.$ac_ext |
| 9815 | |
| 9816 | /* The mapping between symbol names and symbols. */ |
| 9817 | LT_DLSYM_CONST struct { |
| 9818 | const char *name; |
| 9819 | void *address; |
| 9820 | } |
| 9821 | lt__PROGRAM__LTX_preloaded_symbols[] = |
| 9822 | { |
| 9823 | { "@PROGRAM@", (void *) 0 }, |
| 9824 | _LT_EOF |
| 9825 | $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
| 9826 | catscip-shell system . . cat. <<\_LT_EOF >> conftest.$ac_ext |
| 9827 | {0, (void *) 0} |
| 9828 | }; |
| 9829 | |
| 9830 | /* This works around a problem in FreeBSD linker */ |
| 9831 | #ifdef FREEBSD_WORKAROUND |
| 9832 | static const void *lt_preloaded_setup() { |
| 9833 | return lt__PROGRAM__LTX_preloaded_symbols; |
| 9834 | } |
| 9835 | #endif |
| 9836 | |
| 9837 | #ifdef __cplusplus |
| 9838 | } |
| 9839 | #endif |
| 9840 | _LT_EOF |
| 9841 | # Now try linking the two files. |
| 9842 | mvscip-shell system . . mv. conftest.$ac_objext conftstm.$ac_objext |
| 9843 | lt_globsym_save_LIBS=$LIBS |
| 9844 | lt_globsym_save_CFLAGS=$CFLAGS |
| 9845 | LIBS=conftstm.$ac_objext |
| 9846 | CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
| 9847 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 9848 | (eval $ac_link) 2>&5 |
| 9849 | ac_status=$? |
| 9850 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9851 | testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s conftest$ac_exeext; then |
| 9852 | pipe_works=yes |
| 9853 | fi |
| 9854 | LIBS=$lt_globsym_save_LIBS |
| 9855 | CFLAGS=$lt_globsym_save_CFLAGS |
| 9856 | else |
| 9857 | echoscip-shell system . . echo. "cannot find nm_test_func in $nlist" >&5 |
| 9858 | fi |
| 9859 | else |
| 9860 | echoscip-shell system . . echo. "cannot find nm_test_var in $nlist" >&5 |
| 9861 | fi |
| 9862 | else |
| 9863 | echoscip-shell system . . echo. "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
| 9864 | fi |
| 9865 | else |
| 9866 | echoscip-shell system . . echo. "$progname: failed program was:" >&5 |
| 9867 | catscip-shell system . . cat. conftest.$ac_ext >&5 |
| 9868 | fi |
| 9869 | rmscip-shell system . . rm. -rf conftest* conftst* |
| 9870 | |
| 9871 | # Do not use the global_symbol_pipe unless it works. |
| 9872 | if testscip-shell system . . test. yes = "$pipe_works"; then |
| 9873 | break |
| 9874 | else |
| 9875 | lt_cv_sys_global_symbol_pipe= |
| 9876 | fi |
| 9877 | done |
| 9878 | |
| 9879 | fi |
| 9880 | |
| 9881 | if testscip-shell system . . test. -z "$lt_cv_sys_global_symbol_pipe"; then |
| 9882 | lt_cv_sys_global_symbol_to_cdecl= |
| 9883 | fi |
| 9884 | if testscip-shell system . . test. -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
| 9885 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
| 9886 | printfscip-shell system . . printf. "%s\n" "failed" >&6; } |
| 9887 | else |
| 9888 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
| 9889 | printfscip-shell system . . printf. "%s\n" "ok" >&6; } |
| 9890 | fi |
| 9891 | |
| 9892 | # Response file support. |
| 9893 | if testscip-shell system . . test. "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 9894 | nm_file_list_spec='@' |
| 9895 | elif $NM --help 2>/dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. '[@]FILE' >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9896 | nm_file_list_spec='@' |
| 9897 | fi |
| 9898 | |
| 9899 | |
| 9900 | |
| 9901 | |
| 9902 | |
| 9903 | |
| 9904 | |
| 9905 | |
| 9906 | |
| 9907 | |
| 9908 | |
| 9909 | |
| 9910 | |
| 9911 | |
| 9912 | |
| 9913 | |
| 9914 | |
| 9915 | |
| 9916 | |
| 9917 | |
| 9918 | |
| 9919 | |
| 9920 | |
| 9921 | |
| 9922 | |
| 9923 | |
| 9924 | |
| 9925 | |
| 9926 | |
| 9927 | |
| 9928 | |
| 9929 | |
| 9930 | |
| 9931 | |
| 9932 | |
| 9933 | |
| 9934 | |
| 9935 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
| 9936 | printfscip-shell system . . printf. %s "checking for sysroot... " >&6; } |
| 9937 | |
| 9938 | # Check whether --with-sysroot was given. |
| 9939 | if testscip-shell system . . test. ${with_sysroot+y} |
| 9940 | then : |
| 9941 | withval=$with_sysroot; |
| 9942 | else $as_nop |
| 9943 | with_sysroot=no |
| 9944 | fi |
| 9945 | |
| 9946 | |
| 9947 | lt_sysroot= |
| 9948 | case $with_sysroot in #( |
| 9949 | yes) |
| 9950 | if testscip-shell system . . test. yes = "$GCC"; then |
| 9951 | lt_sysroot=`$CC --print-sysroot 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 9952 | fi |
| 9953 | ;; #( |
| 9954 | /*) |
| 9955 | lt_sysroot=`echoscip-shell system . . echo. "$with_sysroot" | $SED -e "$sed_quote_subst"` |
| 9956 | ;; #( |
| 9957 | no|'') |
| 9958 | ;; #( |
| 9959 | *) |
| 9960 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 |
| 9961 | printfscip-shell system . . printf. "%s\n" "$with_sysroot" >&6; } |
| 9962 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The sysroot must be an absolute path." "$LINENO" 5 |
| 9963 | ;; |
| 9964 | esac |
| 9965 | |
| 9966 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
| 9967 | printfscip-shell system . . printf. "%s\n" "${lt_sysroot:-no}" >&6; } |
| 9968 | |
| 9969 | |
| 9970 | |
| 9971 | |
| 9972 | |
| 9973 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 |
| 9974 | printfscip-shell system . . printf. %s "checking for a working dd... " >&6; } |
| 9975 | if testscip-shell system . . test. ${ac_cv_path_lt_DD+y} |
| 9976 | then : |
| 9977 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9978 | else $as_nop |
| 9979 | printfscip-shell system . . printf. 0123456789abcdef0123456789abcdef >conftest.i |
| 9980 | catscip-shell system . . cat. conftest.i conftest.i >conftest2.i |
| 9981 | : ${lt_DD:=$DD} |
| 9982 | if testscip-shell system . . test. -z "$lt_DD"; then |
| 9983 | ac_path_lt_DD_found=false |
| 9984 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 9985 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9986 | for as_dir in $PATH |
| 9987 | do |
| 9988 | IFS=$as_save_IFS |
| 9989 | case $as_dir in #((( |
| 9990 | '') as_dir=./ ;; |
| 9991 | */) ;; |
| 9992 | *) as_dir=$as_dir/ ;; |
| 9993 | esac |
| 9994 | for ac_prog in dd |
| 9995 | do |
| 9996 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9997 | ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext" |
| 9998 | as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$ac_path_lt_DD" || continue |
| 9999 | if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 10000 | cmpscip-shell system . . cmp. -s conftest.i conftest.out \ |
| 10001 | && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: |
| 10002 | fi |
| 10003 | $ac_path_lt_DD_found && break 3 |
| 10004 | done |
| 10005 | done |
| 10006 | done |
| 10007 | IFS=$as_save_IFS |
| 10008 | if testscip-shell system . . test. -z "$ac_cv_path_lt_DD"; then |
| 10009 | : |
| 10010 | fi |
| 10011 | else |
| 10012 | ac_cv_path_lt_DD=$lt_DD |
| 10013 | fi |
| 10014 | |
| 10015 | rmscip-shell system . . rm. -f conftest.i conftest2.i conftest.out |
| 10016 | fi |
| 10017 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 |
| 10018 | printfscip-shell system . . printf. "%s\n" "$ac_cv_path_lt_DD" >&6; } |
| 10019 | |
| 10020 | |
| 10021 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 |
| 10022 | printfscip-shell system . . printf. %s "checking how to truncate binary pipes... " >&6; } |
| 10023 | if testscip-shell system . . test. ${lt_cv_truncate_bin+y} |
| 10024 | then : |
| 10025 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10026 | else $as_nop |
| 10027 | printfscip-shell system . . printf. 0123456789abcdef0123456789abcdef >conftest.i |
| 10028 | catscip-shell system . . cat. conftest.i conftest.i >conftest2.i |
| 10029 | lt_cv_truncate_bin= |
| 10030 | if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 10031 | cmpscip-shell system . . cmp. -s conftest.i conftest.out \ |
| 10032 | && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" |
| 10033 | fi |
| 10034 | rmscip-shell system . . rm. -f conftest.i conftest2.i conftest.out |
| 10035 | testscip-shell system . . test. -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" |
| 10036 | fi |
| 10037 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 |
| 10038 | printfscip-shell system . . printf. "%s\n" "$lt_cv_truncate_bin" >&6; } |
| 10039 | |
| 10040 | |
| 10041 | |
| 10042 | |
| 10043 | |
| 10044 | |
| 10045 | |
| 10046 | # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 10047 | func_cc_basenamescip-shell shell rsyslog 8.2604.0-4 func_cc_basename(). () |
| 10048 | { |
| 10049 | for cc_temp in $*""; do |
| 10050 | case $cc_temp in |
| 10051 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 10052 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 10053 | \-*) ;; |
| 10054 | *) break;; |
| 10055 | esac |
| 10056 | done |
| 10057 | func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 10058 | } |
| 10059 | |
| 10060 | # Check whether --enable-libtool-lock was given. |
| 10061 | if testscip-shell system . . test. ${enable_libtool_lock+y} |
| 10062 | then : |
| 10063 | enableval=$enable_libtool_lock; |
| 10064 | fi |
| 10065 | |
| 10066 | testscip-shell system . . test. no = "$enable_libtool_lock" || enable_libtool_lock=yes |
| 10067 | |
| 10068 | # Some flags need to be propagated to the compiler or linker for good |
| 10069 | # libtool support. |
| 10070 | case $host in |
| 10071 | ia64-*-hpux*) |
| 10072 | # Find out what ABI is being produced by ac_compile, and set mode |
| 10073 | # options accordingly. |
| 10074 | echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext |
| 10075 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 10076 | (eval $ac_compile) 2>&5 |
| 10077 | ac_status=$? |
| 10078 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 10079 | testscip-shell system . . test. $ac_status = 0; }; then |
| 10080 | case `$FILECMD conftest.$ac_objext` in |
| 10081 | *ELF-32*) |
| 10082 | HPUX_IA64_MODE=32 |
| 10083 | ;; |
| 10084 | *ELF-64*) |
| 10085 | HPUX_IA64_MODE=64 |
| 10086 | ;; |
| 10087 | esac |
| 10088 | fi |
| 10089 | rmscip-shell system . . rm. -rf conftest* |
| 10090 | ;; |
| 10091 | *-*-irix6*) |
| 10092 | # Find out what ABI is being produced by ac_compile, and set linker |
| 10093 | # options accordingly. |
| 10094 | echoscip-shell system . . echo. '#line '$LINENO' "configure"' > conftest.$ac_ext |
| 10095 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 10096 | (eval $ac_compile) 2>&5 |
| 10097 | ac_status=$? |
| 10098 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 10099 | testscip-shell system . . test. $ac_status = 0; }; then |
| 10100 | if testscip-shell system . . test. yes = "$lt_cv_prog_gnu_ld"; then |
| 10101 | case `$FILECMD conftest.$ac_objext` in |
| 10102 | *32-bit*) |
| 10103 | LD="${LD-ld} -melf32bsmip" |
| 10104 | ;; |
| 10105 | *N32*) |
| 10106 | LD="${LD-ld} -melf32bmipn32" |
| 10107 | ;; |
| 10108 | *64-bit*) |
| 10109 | LD="${LD-ld} -melf64bmip" |
| 10110 | ;; |
| 10111 | esac |
| 10112 | else |
| 10113 | case `$FILECMD conftest.$ac_objext` in |
| 10114 | *32-bit*) |
| 10115 | LD="${LD-ld} -32" |
| 10116 | ;; |
| 10117 | *N32*) |
| 10118 | LD="${LD-ld} -n32" |
| 10119 | ;; |
| 10120 | *64-bit*) |
| 10121 | LD="${LD-ld} -64" |
| 10122 | ;; |
| 10123 | esac |
| 10124 | fi |
| 10125 | fi |
| 10126 | rmscip-shell system . . rm. -rf conftest* |
| 10127 | ;; |
| 10128 | |
| 10129 | mips64*-*linux*) |
| 10130 | # Find out what ABI is being produced by ac_compile, and set linker |
| 10131 | # options accordingly. |
| 10132 | echoscip-shell system . . echo. '#line '$LINENO' "configure"' > conftest.$ac_ext |
| 10133 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 10134 | (eval $ac_compile) 2>&5 |
| 10135 | ac_status=$? |
| 10136 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 10137 | testscip-shell system . . test. $ac_status = 0; }; then |
| 10138 | emul=elf |
| 10139 | case `$FILECMD conftest.$ac_objext` in |
| 10140 | *32-bit*) |
| 10141 | emul="${emul}32" |
| 10142 | ;; |
| 10143 | *64-bit*) |
| 10144 | emul="${emul}64" |
| 10145 | ;; |
| 10146 | esac |
| 10147 | case `$FILECMD conftest.$ac_objext` in |
| 10148 | *MSB*) |
| 10149 | emul="${emul}btsmip" |
| 10150 | ;; |
| 10151 | *LSB*) |
| 10152 | emul="${emul}ltsmip" |
| 10153 | ;; |
| 10154 | esac |
| 10155 | case `$FILECMD conftest.$ac_objext` in |
| 10156 | *N32*) |
| 10157 | emul="${emul}n32" |
| 10158 | ;; |
| 10159 | esac |
| 10160 | LD="${LD-ld} -m $emul" |
| 10161 | fi |
| 10162 | rmscip-shell system . . rm. -rf conftest* |
| 10163 | ;; |
| 10164 | |
| 10165 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
| 10166 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
| 10167 | # Find out what ABI is being produced by ac_compile, and set linker |
| 10168 | # options accordingly. Note that the listed cases only cover the |
| 10169 | # situations where additional linker options are needed (such as when |
| 10170 | # doing 32-bit compilation for a host where ld defaults to 64-bit, or |
| 10171 | # vice versa); the common cases where no linker options are needed do |
| 10172 | # not appear in the list. |
| 10173 | echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext |
| 10174 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 10175 | (eval $ac_compile) 2>&5 |
| 10176 | ac_status=$? |
| 10177 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 10178 | testscip-shell system . . test. $ac_status = 0; }; then |
| 10179 | case `$FILECMD conftest.o` in |
| 10180 | *32-bit*) |
| 10181 | case $host in |
| 10182 | x86_64-*kfreebsd*-gnu) |
| 10183 | LD="${LD-ld} -m elf_i386_fbsd" |
| 10184 | ;; |
| 10185 | x86_64-*linux*) |
| 10186 | case `$FILECMD conftest.o` in |
| 10187 | *x86-64*) |
| 10188 | LD="${LD-ld} -m elf32_x86_64" |
| 10189 | ;; |
| 10190 | *) |
| 10191 | LD="${LD-ld} -m elf_i386" |
| 10192 | ;; |
| 10193 | esac |
| 10194 | ;; |
| 10195 | powerpc64le-*linux*) |
| 10196 | LD="${LD-ld} -m elf32lppclinux" |
| 10197 | ;; |
| 10198 | powerpc64-*linux*) |
| 10199 | LD="${LD-ld} -m elf32ppclinux" |
| 10200 | ;; |
| 10201 | s390x-*linux*) |
| 10202 | LD="${LD-ld} -m elf_s390" |
| 10203 | ;; |
| 10204 | sparc64-*linux*) |
| 10205 | LD="${LD-ld} -m elf32_sparc" |
| 10206 | ;; |
| 10207 | esac |
| 10208 | ;; |
| 10209 | *64-bit*) |
| 10210 | case $host in |
| 10211 | x86_64-*kfreebsd*-gnu) |
| 10212 | LD="${LD-ld} -m elf_x86_64_fbsd" |
| 10213 | ;; |
| 10214 | x86_64-*linux*) |
| 10215 | LD="${LD-ld} -m elf_x86_64" |
| 10216 | ;; |
| 10217 | powerpcle-*linux*) |
| 10218 | LD="${LD-ld} -m elf64lppc" |
| 10219 | ;; |
| 10220 | powerpc-*linux*) |
| 10221 | LD="${LD-ld} -m elf64ppc" |
| 10222 | ;; |
| 10223 | s390*-*linux*|s390*-*tpf*) |
| 10224 | LD="${LD-ld} -m elf64_s390" |
| 10225 | ;; |
| 10226 | sparc*-*linux*) |
| 10227 | LD="${LD-ld} -m elf64_sparc" |
| 10228 | ;; |
| 10229 | esac |
| 10230 | ;; |
| 10231 | esac |
| 10232 | fi |
| 10233 | rmscip-shell system . . rm. -rf conftest* |
| 10234 | ;; |
| 10235 | |
| 10236 | *-*-sco3.2v5*) |
| 10237 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
| 10238 | SAVE_CFLAGS=$CFLAGS |
| 10239 | CFLAGS="$CFLAGS -belf" |
| 10240 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
| 10241 | printfscip-shell system . . printf. %s "checking whether the C compiler needs -belf... " >&6; } |
| 10242 | if testscip-shell system . . test. ${lt_cv_cc_needs_belf+y} |
| 10243 | then : |
| 10244 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10245 | else $as_nop |
| 10246 | ac_ext=c |
| 10247 | ac_cpp='$CPP $CPPFLAGS' |
| 10248 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 10249 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 10250 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 10251 | |
| 10252 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10253 | /* end confdefs.h. */ |
| 10254 | |
| 10255 | int |
| 10256 | main (void) |
| 10257 | { |
| 10258 | |
| 10259 | ; |
| 10260 | return 0; |
| 10261 | } |
| 10262 | _ACEOF |
| 10263 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 10264 | then : |
| 10265 | lt_cv_cc_needs_belf=yes |
| 10266 | else $as_nop |
| 10267 | lt_cv_cc_needs_belf=no |
| 10268 | fi |
| 10269 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 10270 | conftest$ac_exeext conftest.$ac_ext |
| 10271 | ac_ext=c |
| 10272 | ac_cpp='$CPP $CPPFLAGS' |
| 10273 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 10274 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 10275 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 10276 | |
| 10277 | fi |
| 10278 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
| 10279 | printfscip-shell system . . printf. "%s\n" "$lt_cv_cc_needs_belf" >&6; } |
| 10280 | if testscip-shell system . . test. yes != "$lt_cv_cc_needs_belf"; then |
| 10281 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
| 10282 | CFLAGS=$SAVE_CFLAGS |
| 10283 | fi |
| 10284 | ;; |
| 10285 | *-*solaris*) |
| 10286 | # Find out what ABI is being produced by ac_compile, and set linker |
| 10287 | # options accordingly. |
| 10288 | echoscip-shell system . . echo. 'int i;' > conftest.$ac_ext |
| 10289 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 10290 | (eval $ac_compile) 2>&5 |
| 10291 | ac_status=$? |
| 10292 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 10293 | testscip-shell system . . test. $ac_status = 0; }; then |
| 10294 | case `$FILECMD conftest.o` in |
| 10295 | *64-bit*) |
| 10296 | case $lt_cv_prog_gnu_ld in |
| 10297 | yes*) |
| 10298 | case $host in |
| 10299 | i?86-*-solaris*|x86_64-*-solaris*) |
| 10300 | LD="${LD-ld} -m elf_x86_64" |
| 10301 | ;; |
| 10302 | sparc*-*-solaris*) |
| 10303 | LD="${LD-ld} -m elf64_sparc" |
| 10304 | ;; |
| 10305 | esac |
| 10306 | # GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
| 10307 | if ${LD-ld} -V | grepscip-shell system . . grep. _sol2 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 10308 | LD=${LD-ld}_sol2 |
| 10309 | fi |
| 10310 | ;; |
| 10311 | *) |
| 10312 | if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 10313 | LD="${LD-ld} -64" |
| 10314 | fi |
| 10315 | ;; |
| 10316 | esac |
| 10317 | ;; |
| 10318 | esac |
| 10319 | fi |
| 10320 | rmscip-shell system . . rm. -rf conftest* |
| 10321 | ;; |
| 10322 | esac |
| 10323 | |
| 10324 | need_locks=$enable_libtool_lock |
| 10325 | |
| 10326 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 10327 | # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
| 10328 | set dummy ${ac_tool_prefix}mt; ac_word=$2 |
| 10329 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10330 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10331 | if testscip-shell system . . test. ${ac_cv_prog_MANIFEST_TOOL+y} |
| 10332 | then : |
| 10333 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10334 | else $as_nop |
| 10335 | if testscip-shell system . . test. -n "$MANIFEST_TOOL"; then |
| 10336 | ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
| 10337 | else |
| 10338 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10339 | for as_dir in $PATH |
| 10340 | do |
| 10341 | IFS=$as_save_IFS |
| 10342 | case $as_dir in #((( |
| 10343 | '') as_dir=./ ;; |
| 10344 | */) ;; |
| 10345 | *) as_dir=$as_dir/ ;; |
| 10346 | esac |
| 10347 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10348 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10349 | ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
| 10350 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10351 | break 2 |
| 10352 | fi |
| 10353 | done |
| 10354 | done |
| 10355 | IFS=$as_save_IFS |
| 10356 | |
| 10357 | fi |
| 10358 | fi |
| 10359 | MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
| 10360 | if testscip-shell system . . test. -n "$MANIFEST_TOOL"; then |
| 10361 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
| 10362 | printfscip-shell system . . printf. "%s\n" "$MANIFEST_TOOL" >&6; } |
| 10363 | else |
| 10364 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10365 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10366 | fi |
| 10367 | |
| 10368 | |
| 10369 | fi |
| 10370 | if testscip-shell system . . test. -z "$ac_cv_prog_MANIFEST_TOOL"; then |
| 10371 | ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
| 10372 | # Extract the first word of "mt", so it can be a program name with args. |
| 10373 | set dummy mt; ac_word=$2 |
| 10374 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10375 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10376 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y} |
| 10377 | then : |
| 10378 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10379 | else $as_nop |
| 10380 | if testscip-shell system . . test. -n "$ac_ct_MANIFEST_TOOL"; then |
| 10381 | ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
| 10382 | else |
| 10383 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10384 | for as_dir in $PATH |
| 10385 | do |
| 10386 | IFS=$as_save_IFS |
| 10387 | case $as_dir in #((( |
| 10388 | '') as_dir=./ ;; |
| 10389 | */) ;; |
| 10390 | *) as_dir=$as_dir/ ;; |
| 10391 | esac |
| 10392 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10393 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10394 | ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
| 10395 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10396 | break 2 |
| 10397 | fi |
| 10398 | done |
| 10399 | done |
| 10400 | IFS=$as_save_IFS |
| 10401 | |
| 10402 | fi |
| 10403 | fi |
| 10404 | ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
| 10405 | if testscip-shell system . . test. -n "$ac_ct_MANIFEST_TOOL"; then |
| 10406 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
| 10407 | printfscip-shell system . . printf. "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; } |
| 10408 | else |
| 10409 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10410 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10411 | fi |
| 10412 | |
| 10413 | if testscip-shell system . . test. "x$ac_ct_MANIFEST_TOOL" = x; then |
| 10414 | MANIFEST_TOOL=":" |
| 10415 | else |
| 10416 | case $cross_compiling:$ac_tool_warned in |
| 10417 | yes:) |
| 10418 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 10419 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 10420 | ac_tool_warned=yes ;; |
| 10421 | esac |
| 10422 | MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
| 10423 | fi |
| 10424 | else |
| 10425 | MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
| 10426 | fi |
| 10427 | |
| 10428 | testscip-shell system . . test. -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
| 10429 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
| 10430 | printfscip-shell system . . printf. %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
| 10431 | if testscip-shell system . . test. ${lt_cv_path_mainfest_tool+y} |
| 10432 | then : |
| 10433 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10434 | else $as_nop |
| 10435 | lt_cv_path_mainfest_tool=no |
| 10436 | echoscip-shell system . . echo. "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
| 10437 | $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
| 10438 | catscip-shell system . . cat. conftest.err >&5 |
| 10439 | if $GREP 'Manifest Tool' conftest.out > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 10440 | lt_cv_path_mainfest_tool=yes |
| 10441 | fi |
| 10442 | rmscip-shell system . . rm. -f conftest* |
| 10443 | fi |
| 10444 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
| 10445 | printfscip-shell system . . printf. "%s\n" "$lt_cv_path_mainfest_tool" >&6; } |
| 10446 | if testscip-shell system . . test. yes != "$lt_cv_path_mainfest_tool"; then |
| 10447 | MANIFEST_TOOL=: |
| 10448 | fi |
| 10449 | |
| 10450 | |
| 10451 | |
| 10452 | |
| 10453 | |
| 10454 | |
| 10455 | case $host_os in |
| 10456 | rhapsody* | darwin*) |
| 10457 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 10458 | # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
| 10459 | set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
| 10460 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10461 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10462 | if testscip-shell system . . test. ${ac_cv_prog_DSYMUTIL+y} |
| 10463 | then : |
| 10464 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10465 | else $as_nop |
| 10466 | if testscip-shell system . . test. -n "$DSYMUTIL"; then |
| 10467 | ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
| 10468 | else |
| 10469 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10470 | for as_dir in $PATH |
| 10471 | do |
| 10472 | IFS=$as_save_IFS |
| 10473 | case $as_dir in #((( |
| 10474 | '') as_dir=./ ;; |
| 10475 | */) ;; |
| 10476 | *) as_dir=$as_dir/ ;; |
| 10477 | esac |
| 10478 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10479 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10480 | ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
| 10481 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10482 | break 2 |
| 10483 | fi |
| 10484 | done |
| 10485 | done |
| 10486 | IFS=$as_save_IFS |
| 10487 | |
| 10488 | fi |
| 10489 | fi |
| 10490 | DSYMUTIL=$ac_cv_prog_DSYMUTIL |
| 10491 | if testscip-shell system . . test. -n "$DSYMUTIL"; then |
| 10492 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
| 10493 | printfscip-shell system . . printf. "%s\n" "$DSYMUTIL" >&6; } |
| 10494 | else |
| 10495 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10496 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10497 | fi |
| 10498 | |
| 10499 | |
| 10500 | fi |
| 10501 | if testscip-shell system . . test. -z "$ac_cv_prog_DSYMUTIL"; then |
| 10502 | ac_ct_DSYMUTIL=$DSYMUTIL |
| 10503 | # Extract the first word of "dsymutil", so it can be a program name with args. |
| 10504 | set dummy dsymutil; ac_word=$2 |
| 10505 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10506 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10507 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_DSYMUTIL+y} |
| 10508 | then : |
| 10509 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10510 | else $as_nop |
| 10511 | if testscip-shell system . . test. -n "$ac_ct_DSYMUTIL"; then |
| 10512 | ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
| 10513 | else |
| 10514 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10515 | for as_dir in $PATH |
| 10516 | do |
| 10517 | IFS=$as_save_IFS |
| 10518 | case $as_dir in #((( |
| 10519 | '') as_dir=./ ;; |
| 10520 | */) ;; |
| 10521 | *) as_dir=$as_dir/ ;; |
| 10522 | esac |
| 10523 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10524 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10525 | ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
| 10526 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10527 | break 2 |
| 10528 | fi |
| 10529 | done |
| 10530 | done |
| 10531 | IFS=$as_save_IFS |
| 10532 | |
| 10533 | fi |
| 10534 | fi |
| 10535 | ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
| 10536 | if testscip-shell system . . test. -n "$ac_ct_DSYMUTIL"; then |
| 10537 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
| 10538 | printfscip-shell system . . printf. "%s\n" "$ac_ct_DSYMUTIL" >&6; } |
| 10539 | else |
| 10540 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10541 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10542 | fi |
| 10543 | |
| 10544 | if testscip-shell system . . test. "x$ac_ct_DSYMUTIL" = x; then |
| 10545 | DSYMUTIL=":" |
| 10546 | else |
| 10547 | case $cross_compiling:$ac_tool_warned in |
| 10548 | yes:) |
| 10549 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 10550 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 10551 | ac_tool_warned=yes ;; |
| 10552 | esac |
| 10553 | DSYMUTIL=$ac_ct_DSYMUTIL |
| 10554 | fi |
| 10555 | else |
| 10556 | DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
| 10557 | fi |
| 10558 | |
| 10559 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 10560 | # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
| 10561 | set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
| 10562 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10563 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10564 | if testscip-shell system . . test. ${ac_cv_prog_NMEDIT+y} |
| 10565 | then : |
| 10566 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10567 | else $as_nop |
| 10568 | if testscip-shell system . . test. -n "$NMEDIT"; then |
| 10569 | ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. |
| 10570 | else |
| 10571 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10572 | for as_dir in $PATH |
| 10573 | do |
| 10574 | IFS=$as_save_IFS |
| 10575 | case $as_dir in #((( |
| 10576 | '') as_dir=./ ;; |
| 10577 | */) ;; |
| 10578 | *) as_dir=$as_dir/ ;; |
| 10579 | esac |
| 10580 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10581 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10582 | ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
| 10583 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10584 | break 2 |
| 10585 | fi |
| 10586 | done |
| 10587 | done |
| 10588 | IFS=$as_save_IFS |
| 10589 | |
| 10590 | fi |
| 10591 | fi |
| 10592 | NMEDIT=$ac_cv_prog_NMEDIT |
| 10593 | if testscip-shell system . . test. -n "$NMEDIT"; then |
| 10594 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
| 10595 | printfscip-shell system . . printf. "%s\n" "$NMEDIT" >&6; } |
| 10596 | else |
| 10597 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10598 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10599 | fi |
| 10600 | |
| 10601 | |
| 10602 | fi |
| 10603 | if testscip-shell system . . test. -z "$ac_cv_prog_NMEDIT"; then |
| 10604 | ac_ct_NMEDIT=$NMEDIT |
| 10605 | # Extract the first word of "nmedit", so it can be a program name with args. |
| 10606 | set dummy nmedit; ac_word=$2 |
| 10607 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10608 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10609 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_NMEDIT+y} |
| 10610 | then : |
| 10611 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10612 | else $as_nop |
| 10613 | if testscip-shell system . . test. -n "$ac_ct_NMEDIT"; then |
| 10614 | ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
| 10615 | else |
| 10616 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10617 | for as_dir in $PATH |
| 10618 | do |
| 10619 | IFS=$as_save_IFS |
| 10620 | case $as_dir in #((( |
| 10621 | '') as_dir=./ ;; |
| 10622 | */) ;; |
| 10623 | *) as_dir=$as_dir/ ;; |
| 10624 | esac |
| 10625 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10626 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10627 | ac_cv_prog_ac_ct_NMEDIT="nmedit" |
| 10628 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10629 | break 2 |
| 10630 | fi |
| 10631 | done |
| 10632 | done |
| 10633 | IFS=$as_save_IFS |
| 10634 | |
| 10635 | fi |
| 10636 | fi |
| 10637 | ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
| 10638 | if testscip-shell system . . test. -n "$ac_ct_NMEDIT"; then |
| 10639 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
| 10640 | printfscip-shell system . . printf. "%s\n" "$ac_ct_NMEDIT" >&6; } |
| 10641 | else |
| 10642 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10643 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10644 | fi |
| 10645 | |
| 10646 | if testscip-shell system . . test. "x$ac_ct_NMEDIT" = x; then |
| 10647 | NMEDIT=":" |
| 10648 | else |
| 10649 | case $cross_compiling:$ac_tool_warned in |
| 10650 | yes:) |
| 10651 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 10652 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 10653 | ac_tool_warned=yes ;; |
| 10654 | esac |
| 10655 | NMEDIT=$ac_ct_NMEDIT |
| 10656 | fi |
| 10657 | else |
| 10658 | NMEDIT="$ac_cv_prog_NMEDIT" |
| 10659 | fi |
| 10660 | |
| 10661 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 10662 | # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
| 10663 | set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
| 10664 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10665 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10666 | if testscip-shell system . . test. ${ac_cv_prog_LIPO+y} |
| 10667 | then : |
| 10668 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10669 | else $as_nop |
| 10670 | if testscip-shell system . . test. -n "$LIPO"; then |
| 10671 | ac_cv_prog_LIPO="$LIPO" # Let the user override the test. |
| 10672 | else |
| 10673 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10674 | for as_dir in $PATH |
| 10675 | do |
| 10676 | IFS=$as_save_IFS |
| 10677 | case $as_dir in #((( |
| 10678 | '') as_dir=./ ;; |
| 10679 | */) ;; |
| 10680 | *) as_dir=$as_dir/ ;; |
| 10681 | esac |
| 10682 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10683 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10684 | ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
| 10685 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10686 | break 2 |
| 10687 | fi |
| 10688 | done |
| 10689 | done |
| 10690 | IFS=$as_save_IFS |
| 10691 | |
| 10692 | fi |
| 10693 | fi |
| 10694 | LIPO=$ac_cv_prog_LIPO |
| 10695 | if testscip-shell system . . test. -n "$LIPO"; then |
| 10696 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
| 10697 | printfscip-shell system . . printf. "%s\n" "$LIPO" >&6; } |
| 10698 | else |
| 10699 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10700 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10701 | fi |
| 10702 | |
| 10703 | |
| 10704 | fi |
| 10705 | if testscip-shell system . . test. -z "$ac_cv_prog_LIPO"; then |
| 10706 | ac_ct_LIPO=$LIPO |
| 10707 | # Extract the first word of "lipo", so it can be a program name with args. |
| 10708 | set dummy lipo; ac_word=$2 |
| 10709 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10710 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10711 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_LIPO+y} |
| 10712 | then : |
| 10713 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10714 | else $as_nop |
| 10715 | if testscip-shell system . . test. -n "$ac_ct_LIPO"; then |
| 10716 | ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. |
| 10717 | else |
| 10718 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10719 | for as_dir in $PATH |
| 10720 | do |
| 10721 | IFS=$as_save_IFS |
| 10722 | case $as_dir in #((( |
| 10723 | '') as_dir=./ ;; |
| 10724 | */) ;; |
| 10725 | *) as_dir=$as_dir/ ;; |
| 10726 | esac |
| 10727 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10728 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10729 | ac_cv_prog_ac_ct_LIPO="lipo" |
| 10730 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10731 | break 2 |
| 10732 | fi |
| 10733 | done |
| 10734 | done |
| 10735 | IFS=$as_save_IFS |
| 10736 | |
| 10737 | fi |
| 10738 | fi |
| 10739 | ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
| 10740 | if testscip-shell system . . test. -n "$ac_ct_LIPO"; then |
| 10741 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
| 10742 | printfscip-shell system . . printf. "%s\n" "$ac_ct_LIPO" >&6; } |
| 10743 | else |
| 10744 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10745 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10746 | fi |
| 10747 | |
| 10748 | if testscip-shell system . . test. "x$ac_ct_LIPO" = x; then |
| 10749 | LIPO=":" |
| 10750 | else |
| 10751 | case $cross_compiling:$ac_tool_warned in |
| 10752 | yes:) |
| 10753 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 10754 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 10755 | ac_tool_warned=yes ;; |
| 10756 | esac |
| 10757 | LIPO=$ac_ct_LIPO |
| 10758 | fi |
| 10759 | else |
| 10760 | LIPO="$ac_cv_prog_LIPO" |
| 10761 | fi |
| 10762 | |
| 10763 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 10764 | # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
| 10765 | set dummy ${ac_tool_prefix}otool; ac_word=$2 |
| 10766 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10767 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10768 | if testscip-shell system . . test. ${ac_cv_prog_OTOOL+y} |
| 10769 | then : |
| 10770 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10771 | else $as_nop |
| 10772 | if testscip-shell system . . test. -n "$OTOOL"; then |
| 10773 | ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
| 10774 | else |
| 10775 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10776 | for as_dir in $PATH |
| 10777 | do |
| 10778 | IFS=$as_save_IFS |
| 10779 | case $as_dir in #((( |
| 10780 | '') as_dir=./ ;; |
| 10781 | */) ;; |
| 10782 | *) as_dir=$as_dir/ ;; |
| 10783 | esac |
| 10784 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10785 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10786 | ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
| 10787 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10788 | break 2 |
| 10789 | fi |
| 10790 | done |
| 10791 | done |
| 10792 | IFS=$as_save_IFS |
| 10793 | |
| 10794 | fi |
| 10795 | fi |
| 10796 | OTOOL=$ac_cv_prog_OTOOL |
| 10797 | if testscip-shell system . . test. -n "$OTOOL"; then |
| 10798 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
| 10799 | printfscip-shell system . . printf. "%s\n" "$OTOOL" >&6; } |
| 10800 | else |
| 10801 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10802 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10803 | fi |
| 10804 | |
| 10805 | |
| 10806 | fi |
| 10807 | if testscip-shell system . . test. -z "$ac_cv_prog_OTOOL"; then |
| 10808 | ac_ct_OTOOL=$OTOOL |
| 10809 | # Extract the first word of "otool", so it can be a program name with args. |
| 10810 | set dummy otool; ac_word=$2 |
| 10811 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10812 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10813 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_OTOOL+y} |
| 10814 | then : |
| 10815 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10816 | else $as_nop |
| 10817 | if testscip-shell system . . test. -n "$ac_ct_OTOOL"; then |
| 10818 | ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
| 10819 | else |
| 10820 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10821 | for as_dir in $PATH |
| 10822 | do |
| 10823 | IFS=$as_save_IFS |
| 10824 | case $as_dir in #((( |
| 10825 | '') as_dir=./ ;; |
| 10826 | */) ;; |
| 10827 | *) as_dir=$as_dir/ ;; |
| 10828 | esac |
| 10829 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10830 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10831 | ac_cv_prog_ac_ct_OTOOL="otool" |
| 10832 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10833 | break 2 |
| 10834 | fi |
| 10835 | done |
| 10836 | done |
| 10837 | IFS=$as_save_IFS |
| 10838 | |
| 10839 | fi |
| 10840 | fi |
| 10841 | ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
| 10842 | if testscip-shell system . . test. -n "$ac_ct_OTOOL"; then |
| 10843 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
| 10844 | printfscip-shell system . . printf. "%s\n" "$ac_ct_OTOOL" >&6; } |
| 10845 | else |
| 10846 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10847 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10848 | fi |
| 10849 | |
| 10850 | if testscip-shell system . . test. "x$ac_ct_OTOOL" = x; then |
| 10851 | OTOOL=":" |
| 10852 | else |
| 10853 | case $cross_compiling:$ac_tool_warned in |
| 10854 | yes:) |
| 10855 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 10856 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 10857 | ac_tool_warned=yes ;; |
| 10858 | esac |
| 10859 | OTOOL=$ac_ct_OTOOL |
| 10860 | fi |
| 10861 | else |
| 10862 | OTOOL="$ac_cv_prog_OTOOL" |
| 10863 | fi |
| 10864 | |
| 10865 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 10866 | # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
| 10867 | set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
| 10868 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10869 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10870 | if testscip-shell system . . test. ${ac_cv_prog_OTOOL64+y} |
| 10871 | then : |
| 10872 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10873 | else $as_nop |
| 10874 | if testscip-shell system . . test. -n "$OTOOL64"; then |
| 10875 | ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
| 10876 | else |
| 10877 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10878 | for as_dir in $PATH |
| 10879 | do |
| 10880 | IFS=$as_save_IFS |
| 10881 | case $as_dir in #((( |
| 10882 | '') as_dir=./ ;; |
| 10883 | */) ;; |
| 10884 | *) as_dir=$as_dir/ ;; |
| 10885 | esac |
| 10886 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10887 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10888 | ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
| 10889 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10890 | break 2 |
| 10891 | fi |
| 10892 | done |
| 10893 | done |
| 10894 | IFS=$as_save_IFS |
| 10895 | |
| 10896 | fi |
| 10897 | fi |
| 10898 | OTOOL64=$ac_cv_prog_OTOOL64 |
| 10899 | if testscip-shell system . . test. -n "$OTOOL64"; then |
| 10900 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
| 10901 | printfscip-shell system . . printf. "%s\n" "$OTOOL64" >&6; } |
| 10902 | else |
| 10903 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10904 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10905 | fi |
| 10906 | |
| 10907 | |
| 10908 | fi |
| 10909 | if testscip-shell system . . test. -z "$ac_cv_prog_OTOOL64"; then |
| 10910 | ac_ct_OTOOL64=$OTOOL64 |
| 10911 | # Extract the first word of "otool64", so it can be a program name with args. |
| 10912 | set dummy otool64; ac_word=$2 |
| 10913 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 10914 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 10915 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_OTOOL64+y} |
| 10916 | then : |
| 10917 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10918 | else $as_nop |
| 10919 | if testscip-shell system . . test. -n "$ac_ct_OTOOL64"; then |
| 10920 | ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
| 10921 | else |
| 10922 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10923 | for as_dir in $PATH |
| 10924 | do |
| 10925 | IFS=$as_save_IFS |
| 10926 | case $as_dir in #((( |
| 10927 | '') as_dir=./ ;; |
| 10928 | */) ;; |
| 10929 | *) as_dir=$as_dir/ ;; |
| 10930 | esac |
| 10931 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10932 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 10933 | ac_cv_prog_ac_ct_OTOOL64="otool64" |
| 10934 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 10935 | break 2 |
| 10936 | fi |
| 10937 | done |
| 10938 | done |
| 10939 | IFS=$as_save_IFS |
| 10940 | |
| 10941 | fi |
| 10942 | fi |
| 10943 | ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
| 10944 | if testscip-shell system . . test. -n "$ac_ct_OTOOL64"; then |
| 10945 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
| 10946 | printfscip-shell system . . printf. "%s\n" "$ac_ct_OTOOL64" >&6; } |
| 10947 | else |
| 10948 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10949 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 10950 | fi |
| 10951 | |
| 10952 | if testscip-shell system . . test. "x$ac_ct_OTOOL64" = x; then |
| 10953 | OTOOL64=":" |
| 10954 | else |
| 10955 | case $cross_compiling:$ac_tool_warned in |
| 10956 | yes:) |
| 10957 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 10958 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 10959 | ac_tool_warned=yes ;; |
| 10960 | esac |
| 10961 | OTOOL64=$ac_ct_OTOOL64 |
| 10962 | fi |
| 10963 | else |
| 10964 | OTOOL64="$ac_cv_prog_OTOOL64" |
| 10965 | fi |
| 10966 | |
| 10967 | |
| 10968 | |
| 10969 | |
| 10970 | |
| 10971 | |
| 10972 | |
| 10973 | |
| 10974 | |
| 10975 | |
| 10976 | |
| 10977 | |
| 10978 | |
| 10979 | |
| 10980 | |
| 10981 | |
| 10982 | |
| 10983 | |
| 10984 | |
| 10985 | |
| 10986 | |
| 10987 | |
| 10988 | |
| 10989 | |
| 10990 | |
| 10991 | |
| 10992 | |
| 10993 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
| 10994 | printfscip-shell system . . printf. %s "checking for -single_module linker flag... " >&6; } |
| 10995 | if testscip-shell system . . test. ${lt_cv_apple_cc_single_mod+y} |
| 10996 | then : |
| 10997 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10998 | else $as_nop |
| 10999 | lt_cv_apple_cc_single_mod=no |
| 11000 | if testscip-shell system . . test. -z "$LT_MULTI_MODULE"; then |
| 11001 | # By default we will add the -single_module flag. You can override |
| 11002 | # by either setting the environment variable LT_MULTI_MODULE |
| 11003 | # non-empty at configure time, or by adding -multi_module to the |
| 11004 | # link flags. |
| 11005 | rmscip-shell system . . rm. -rf libconftest.dylib* |
| 11006 | echoscip-shell system . . echo. "int foo(void){return 1;}" > conftest.c |
| 11007 | echoscip-shell system . . echo. "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 11008 | -dynamiclib -Wl,-single_module conftest.c" >&5 |
| 11009 | $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 11010 | -dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
| 11011 | _lt_result=$? |
| 11012 | # If there is a non-empty error log, and "single_module" |
| 11013 | # appears in it, assume the flag caused a linker warning |
| 11014 | if testscip-shell system . . test. -s conftest.err && $GREP single_module conftest.err; then |
| 11015 | catscip-shell system . . cat. conftest.err >&5 |
| 11016 | # Otherwise, if the output was created with a 0 exit code from |
| 11017 | # the compiler, it worked. |
| 11018 | elif testscip-shell system . . test. -f libconftest.dylib && testscip-shell system . . test. 0 = "$_lt_result"; then |
| 11019 | lt_cv_apple_cc_single_mod=yes |
| 11020 | else |
| 11021 | catscip-shell system . . cat. conftest.err >&5 |
| 11022 | fi |
| 11023 | rmscip-shell system . . rm. -rf libconftest.dylib* |
| 11024 | rmscip-shell system . . rm. -f conftest.* |
| 11025 | fi |
| 11026 | fi |
| 11027 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
| 11028 | printfscip-shell system . . printf. "%s\n" "$lt_cv_apple_cc_single_mod" >&6; } |
| 11029 | |
| 11030 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
| 11031 | printfscip-shell system . . printf. %s "checking for -exported_symbols_list linker flag... " >&6; } |
| 11032 | if testscip-shell system . . test. ${lt_cv_ld_exported_symbols_list+y} |
| 11033 | then : |
| 11034 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11035 | else $as_nop |
| 11036 | lt_cv_ld_exported_symbols_list=no |
| 11037 | save_LDFLAGS=$LDFLAGS |
| 11038 | echoscip-shell system . . echo. "_main" > conftest.sym |
| 11039 | LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
| 11040 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11041 | /* end confdefs.h. */ |
| 11042 | |
| 11043 | int |
| 11044 | main (void) |
| 11045 | { |
| 11046 | |
| 11047 | ; |
| 11048 | return 0; |
| 11049 | } |
| 11050 | _ACEOF |
| 11051 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 11052 | then : |
| 11053 | lt_cv_ld_exported_symbols_list=yes |
| 11054 | else $as_nop |
| 11055 | lt_cv_ld_exported_symbols_list=no |
| 11056 | fi |
| 11057 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 11058 | conftest$ac_exeext conftest.$ac_ext |
| 11059 | LDFLAGS=$save_LDFLAGS |
| 11060 | |
| 11061 | fi |
| 11062 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
| 11063 | printfscip-shell system . . printf. "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; } |
| 11064 | |
| 11065 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
| 11066 | printfscip-shell system . . printf. %s "checking for -force_load linker flag... " >&6; } |
| 11067 | if testscip-shell system . . test. ${lt_cv_ld_force_load+y} |
| 11068 | then : |
| 11069 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11070 | else $as_nop |
| 11071 | lt_cv_ld_force_load=no |
| 11072 | catscip-shell system . . cat. > conftest.c << _LT_EOF |
| 11073 | int forced_loaded() { return 2;} |
| 11074 | _LT_EOF |
| 11075 | echoscip-shell system . . echo. "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
| 11076 | $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
| 11077 | echoscip-shell system . . echo. "$AR $AR_FLAGS libconftest.a conftest.o" >&5 |
| 11078 | $AR $AR_FLAGS libconftest.a conftest.o 2>&5 |
| 11079 | echoscip-shell system . . echo. "$RANLIB libconftest.a" >&5 |
| 11080 | $RANLIB libconftest.a 2>&5 |
| 11081 | catscip-shell system . . cat. > conftest.c << _LT_EOF |
| 11082 | int main() { return 0;} |
| 11083 | _LT_EOF |
| 11084 | echoscip-shell system . . echo. "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
| 11085 | $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
| 11086 | _lt_result=$? |
| 11087 | if testscip-shell system . . test. -s conftest.err && $GREP force_load conftest.err; then |
| 11088 | catscip-shell system . . cat. conftest.err >&5 |
| 11089 | elif testscip-shell system . . test. -f conftest && testscip-shell system . . test. 0 = "$_lt_result" && $GREP forced_load conftest >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 11090 | lt_cv_ld_force_load=yes |
| 11091 | else |
| 11092 | catscip-shell system . . cat. conftest.err >&5 |
| 11093 | fi |
| 11094 | rmscip-shell system . . rm. -f conftest.err libconftest.a conftest conftest.c |
| 11095 | rmscip-shell system . . rm. -rf conftest.dSYM |
| 11096 | |
| 11097 | fi |
| 11098 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
| 11099 | printfscip-shell system . . printf. "%s\n" "$lt_cv_ld_force_load" >&6; } |
| 11100 | case $host_os in |
| 11101 | rhapsody* | darwin1.[012]) |
| 11102 | _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; |
| 11103 | darwin1.*) |
| 11104 | _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
| 11105 | darwin*) |
| 11106 | case $MACOSX_DEPLOYMENT_TARGET,$host in |
| 11107 | 10.[012],*|,*powerpc*-darwin[5-8]*) |
| 11108 | _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
| 11109 | *) |
| 11110 | _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
| 11111 | esac |
| 11112 | ;; |
| 11113 | esac |
| 11114 | if testscip-shell system . . test. yes = "$lt_cv_apple_cc_single_mod"; then |
| 11115 | _lt_dar_single_mod='$single_module' |
| 11116 | fi |
| 11117 | if testscip-shell system . . test. yes = "$lt_cv_ld_exported_symbols_list"; then |
| 11118 | _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' |
| 11119 | else |
| 11120 | _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' |
| 11121 | fi |
| 11122 | if testscip-shell system . . test. : != "$DSYMUTIL" && testscip-shell system . . test. no = "$lt_cv_ld_force_load"; then |
| 11123 | _lt_dsymutil='~$DSYMUTIL $lib || :' |
| 11124 | else |
| 11125 | _lt_dsymutil= |
| 11126 | fi |
| 11127 | ;; |
| 11128 | esac |
| 11129 | |
| 11130 | # func_munge_path_list VARIABLE PATH |
| 11131 | # ----------------------------------- |
| 11132 | # VARIABLE is name of variable containing _space_ separated list of |
| 11133 | # directories to be munged by the contents of PATH, which is string |
| 11134 | # having a format: |
| 11135 | # "DIR[:DIR]:" |
| 11136 | # string "DIR[ DIR]" will be prepended to VARIABLE |
| 11137 | # ":DIR[:DIR]" |
| 11138 | # string "DIR[ DIR]" will be appended to VARIABLE |
| 11139 | # "DIRP[:DIRP]::[DIRA:]DIRA" |
| 11140 | # string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 11141 | # "DIRA[ DIRA]" will be appended to VARIABLE |
| 11142 | # "DIR[:DIR]" |
| 11143 | # VARIABLE will be replaced by "DIR[ DIR]" |
| 11144 | func_munge_path_listscip-shell shell rsyslog 8.2604.0-4 func_munge_path_list(). () |
| 11145 | { |
| 11146 | case x$2 in |
| 11147 | x) |
| 11148 | ;; |
| 11149 | *:) |
| 11150 | eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 11151 | ;; |
| 11152 | x:*) |
| 11153 | eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 11154 | ;; |
| 11155 | *::*) |
| 11156 | eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 11157 | eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 11158 | ;; |
| 11159 | *) |
| 11160 | eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 11161 | ;; |
| 11162 | esac |
| 11163 | } |
| 11164 | |
| 11165 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
| 11166 | " |
| 11167 | if testscip-shell system . . test. "x$ac_cv_header_dlfcn_h" = xyes |
| 11168 | then : |
| 11169 | printfscip-shell system . . printf. "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h |
| 11170 | |
| 11171 | fi |
| 11172 | |
| 11173 | |
| 11174 | |
| 11175 | |
| 11176 | |
| 11177 | # Set options |
| 11178 | |
| 11179 | |
| 11180 | |
| 11181 | |
| 11182 | enable_win32_dll=no |
| 11183 | |
| 11184 | |
| 11185 | # Check whether --enable-shared was given. |
| 11186 | if testscip-shell system . . test. ${enable_shared+y} |
| 11187 | then : |
| 11188 | enableval=$enable_shared; p=${PACKAGE-default} |
| 11189 | case $enableval in |
| 11190 | yes) enable_shared=yes ;; |
| 11191 | no) enable_shared=no ;; |
| 11192 | *) |
| 11193 | enable_shared=no |
| 11194 | # Look at the argument we got. We use all the common list separators. |
| 11195 | lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 11196 | for pkg in $enableval; do |
| 11197 | IFS=$lt_save_ifs |
| 11198 | if testscip-shell system . . test. "X$pkg" = "X$p"; then |
| 11199 | enable_shared=yes |
| 11200 | fi |
| 11201 | done |
| 11202 | IFS=$lt_save_ifs |
| 11203 | ;; |
| 11204 | esac |
| 11205 | else $as_nop |
| 11206 | enable_shared=yes |
| 11207 | fi |
| 11208 | |
| 11209 | |
| 11210 | |
| 11211 | |
| 11212 | |
| 11213 | |
| 11214 | |
| 11215 | |
| 11216 | |
| 11217 | |
| 11218 | |
| 11219 | # Check whether --with-pic was given. |
| 11220 | if testscip-shell system . . test. ${with_pic+y} |
| 11221 | then : |
| 11222 | withval=$with_pic; lt_p=${PACKAGE-default} |
| 11223 | case $withval in |
| 11224 | yes|no) pic_mode=$withval ;; |
| 11225 | *) |
| 11226 | pic_mode=default |
| 11227 | # Look at the argument we got. We use all the common list separators. |
| 11228 | lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 11229 | for lt_pkg in $withval; do |
| 11230 | IFS=$lt_save_ifs |
| 11231 | if testscip-shell system . . test. "X$lt_pkg" = "X$lt_p"; then |
| 11232 | pic_mode=yes |
| 11233 | fi |
| 11234 | done |
| 11235 | IFS=$lt_save_ifs |
| 11236 | ;; |
| 11237 | esac |
| 11238 | else $as_nop |
| 11239 | pic_mode=default |
| 11240 | fi |
| 11241 | |
| 11242 | |
| 11243 | |
| 11244 | |
| 11245 | |
| 11246 | |
| 11247 | |
| 11248 | |
| 11249 | # Check whether --enable-fast-install was given. |
| 11250 | if testscip-shell system . . test. ${enable_fast_install+y} |
| 11251 | then : |
| 11252 | enableval=$enable_fast_install; p=${PACKAGE-default} |
| 11253 | case $enableval in |
| 11254 | yes) enable_fast_install=yes ;; |
| 11255 | no) enable_fast_install=no ;; |
| 11256 | *) |
| 11257 | enable_fast_install=no |
| 11258 | # Look at the argument we got. We use all the common list separators. |
| 11259 | lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 11260 | for pkg in $enableval; do |
| 11261 | IFS=$lt_save_ifs |
| 11262 | if testscip-shell system . . test. "X$pkg" = "X$p"; then |
| 11263 | enable_fast_install=yes |
| 11264 | fi |
| 11265 | done |
| 11266 | IFS=$lt_save_ifs |
| 11267 | ;; |
| 11268 | esac |
| 11269 | else $as_nop |
| 11270 | enable_fast_install=yes |
| 11271 | fi |
| 11272 | |
| 11273 | |
| 11274 | |
| 11275 | |
| 11276 | |
| 11277 | |
| 11278 | |
| 11279 | |
| 11280 | shared_archive_member_spec= |
| 11281 | case $host,$enable_shared in |
| 11282 | power*-*-aix[5-9]*,yes) |
| 11283 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 |
| 11284 | printfscip-shell system . . printf. %s "checking which variant of shared library versioning to provide... " >&6; } |
| 11285 | |
| 11286 | # Check whether --with-aix-soname was given. |
| 11287 | if testscip-shell system . . test. ${with_aix_soname+y} |
| 11288 | then : |
| 11289 | withval=$with_aix_soname; case $withval in |
| 11290 | aix|svr4|both) |
| 11291 | ;; |
| 11292 | *) |
| 11293 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Unknown argument to --with-aix-soname" "$LINENO" 5 |
| 11294 | ;; |
| 11295 | esac |
| 11296 | lt_cv_with_aix_soname=$with_aix_soname |
| 11297 | else $as_nop |
| 11298 | if testscip-shell system . . test. ${lt_cv_with_aix_soname+y} |
| 11299 | then : |
| 11300 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11301 | else $as_nop |
| 11302 | lt_cv_with_aix_soname=aix |
| 11303 | fi |
| 11304 | |
| 11305 | with_aix_soname=$lt_cv_with_aix_soname |
| 11306 | fi |
| 11307 | |
| 11308 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 |
| 11309 | printfscip-shell system . . printf. "%s\n" "$with_aix_soname" >&6; } |
| 11310 | if testscip-shell system . . test. aix != "$with_aix_soname"; then |
| 11311 | # For the AIX way of multilib, we name the shared archive member |
| 11312 | # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', |
| 11313 | # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. |
| 11314 | # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, |
| 11315 | # the AIX toolchain works better with OBJECT_MODE set (default 32). |
| 11316 | if testscip-shell system . . test. 64 = "${OBJECT_MODE-32}"; then |
| 11317 | shared_archive_member_spec=shr_64 |
| 11318 | else |
| 11319 | shared_archive_member_spec=shr |
| 11320 | fi |
| 11321 | fi |
| 11322 | ;; |
| 11323 | *) |
| 11324 | with_aix_soname=aix |
| 11325 | ;; |
| 11326 | esac |
| 11327 | |
| 11328 | |
| 11329 | |
| 11330 | |
| 11331 | |
| 11332 | |
| 11333 | |
| 11334 | |
| 11335 | |
| 11336 | |
| 11337 | # This can be used to rebuild libtool when needed |
| 11338 | LIBTOOL_DEPS=$ltmain |
| 11339 | |
| 11340 | # Always use our own libtool. |
| 11341 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
| 11342 | |
| 11343 | |
| 11344 | |
| 11345 | |
| 11346 | |
| 11347 | |
| 11348 | |
| 11349 | |
| 11350 | |
| 11351 | |
| 11352 | |
| 11353 | |
| 11354 | |
| 11355 | |
| 11356 | |
| 11357 | |
| 11358 | |
| 11359 | |
| 11360 | |
| 11361 | |
| 11362 | |
| 11363 | |
| 11364 | |
| 11365 | |
| 11366 | |
| 11367 | |
| 11368 | |
| 11369 | |
| 11370 | |
| 11371 | |
| 11372 | testscip-shell system . . test. -z "$LN_S" && LN_S="ln -s" |
| 11373 | |
| 11374 | |
| 11375 | |
| 11376 | |
| 11377 | |
| 11378 | |
| 11379 | |
| 11380 | |
| 11381 | |
| 11382 | |
| 11383 | |
| 11384 | |
| 11385 | |
| 11386 | |
| 11387 | if testscip-shell system . . test. -n "${ZSH_VERSION+set}"; then |
| 11388 | setopt NO_GLOB_SUBST |
| 11389 | fi |
| 11390 | |
| 11391 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
| 11392 | printfscip-shell system . . printf. %s "checking for objdir... " >&6; } |
| 11393 | if testscip-shell system . . test. ${lt_cv_objdir+y} |
| 11394 | then : |
| 11395 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11396 | else $as_nop |
| 11397 | rmscip-shell system . . rm. -f .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 11398 | mkdirscip-shell system . . mkdir. .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 11399 | if testscip-shell system . . test. -d .libs; then |
| 11400 | lt_cv_objdir=.libs |
| 11401 | else |
| 11402 | # MS-DOS does not allow filenames that begin with a dot. |
| 11403 | lt_cv_objdir=_libs |
| 11404 | fi |
| 11405 | rmdirscip-shell system . . rmdir. .libs 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 11406 | fi |
| 11407 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
| 11408 | printfscip-shell system . . printf. "%s\n" "$lt_cv_objdir" >&6; } |
| 11409 | objdir=$lt_cv_objdir |
| 11410 | |
| 11411 | |
| 11412 | |
| 11413 | |
| 11414 | |
| 11415 | printfscip-shell system . . printf. "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h |
| 11416 | |
| 11417 | |
| 11418 | |
| 11419 | |
| 11420 | case $host_os in |
| 11421 | aix3*) |
| 11422 | # AIX sometimes has problems with the GCC collect2 program. For some |
| 11423 | # reason, if we set the COLLECT_NAMES environment variable, the problems |
| 11424 | # vanish in a puff of smoke. |
| 11425 | if testscip-shell system . . test. set != "${COLLECT_NAMES+set}"; then |
| 11426 | COLLECT_NAMES= |
| 11427 | export COLLECT_NAMES |
| 11428 | fi |
| 11429 | ;; |
| 11430 | esac |
| 11431 | |
| 11432 | # Global variables: |
| 11433 | ofile=libtool |
| 11434 | can_build_shared=yes |
| 11435 | |
| 11436 | # All known linkers require a '.a' archive for static linking (except MSVC and |
| 11437 | # ICC, which need '.lib'). |
| 11438 | libext=a |
| 11439 | |
| 11440 | with_gnu_ld=$lt_cv_prog_gnu_ld |
| 11441 | |
| 11442 | old_CC=$CC |
| 11443 | old_CFLAGS=$CFLAGS |
| 11444 | |
| 11445 | # Set sane defaults for various variables |
| 11446 | testscip-shell system . . test. -z "$CC" && CC=cc |
| 11447 | testscip-shell system . . test. -z "$LTCC" && LTCC=$CC |
| 11448 | testscip-shell system . . test. -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
| 11449 | testscip-shell system . . test. -z "$LD" && LD=ld |
| 11450 | testscip-shell system . . test. -z "$ac_objext" && ac_objext=o |
| 11451 | |
| 11452 | func_cc_basenamescip-shell shell rsyslog 8.2604.0-4 func_cc_basename(). $compiler |
| 11453 | cc_basename=$func_cc_basename_result |
| 11454 | |
| 11455 | |
| 11456 | # Only perform the check for file, if the check method requires it |
| 11457 | testscip-shell system . . test. -z "$MAGIC_CMD" && MAGIC_CMD=file |
| 11458 | case $deplibs_check_method in |
| 11459 | file_magic*) |
| 11460 | if testscip-shell system . . test. "$file_magic_cmd" = '$MAGIC_CMD'; then |
| 11461 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
| 11462 | printfscip-shell system . . printf. %s "checking for ${ac_tool_prefix}file... " >&6; } |
| 11463 | if testscip-shell system . . test. ${lt_cv_path_MAGIC_CMD+y} |
| 11464 | then : |
| 11465 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11466 | else $as_nop |
| 11467 | case $MAGIC_CMD in |
| 11468 | [\\/*] | ?:[\\/]*) |
| 11469 | lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
| 11470 | ;; |
| 11471 | *) |
| 11472 | lt_save_MAGIC_CMD=$MAGIC_CMD |
| 11473 | lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 11474 | ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
| 11475 | for ac_dir in $ac_dummy; do |
| 11476 | IFS=$lt_save_ifs |
| 11477 | testscip-shell system . . test. -z "$ac_dir" && ac_dir=. |
| 11478 | if testscip-shell system . . test. -f "$ac_dir/${ac_tool_prefix}file"; then |
| 11479 | lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" |
| 11480 | if testscip-shell system . . test. -n "$file_magic_test_file"; then |
| 11481 | case $deplibs_check_method in |
| 11482 | "file_magic "*) |
| 11483 | file_magic_regex=`exprscip-shell system . . expr. "$deplibs_check_method" : "file_magic \(.*\)"` |
| 11484 | MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 11485 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/nullscip-shell filesystem . . `/dev/null`. | |
| 11486 | $EGREP "$file_magic_regex" > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 11487 | : |
| 11488 | else |
| 11489 | catscip-shell system . . cat. <<_LT_EOF 1>&2 |
| 11490 | |
| 11491 | *** Warning: the command libtool uses to detect shared libraries, |
| 11492 | *** $file_magic_cmd, produces output that libtool cannot recognize. |
| 11493 | *** The result is that libtool may fail to recognize shared libraries |
| 11494 | *** as such. This will affect the creation of libtool libraries that |
| 11495 | *** depend on shared libraries, but programs linked with such libtool |
| 11496 | *** libraries will work regardless of this problem. Nevertheless, you |
| 11497 | *** may want to report the problem to your system manager and/or to |
| 11498 | *** [email protected] |
| 11499 | |
| 11500 | _LT_EOF |
| 11501 | fi ;; |
| 11502 | esac |
| 11503 | fi |
| 11504 | break |
| 11505 | fi |
| 11506 | done |
| 11507 | IFS=$lt_save_ifs |
| 11508 | MAGIC_CMD=$lt_save_MAGIC_CMD |
| 11509 | ;; |
| 11510 | esac |
| 11511 | fi |
| 11512 | |
| 11513 | MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 11514 | if testscip-shell system . . test. -n "$MAGIC_CMD"; then |
| 11515 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 11516 | printfscip-shell system . . printf. "%s\n" "$MAGIC_CMD" >&6; } |
| 11517 | else |
| 11518 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11519 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 11520 | fi |
| 11521 | |
| 11522 | |
| 11523 | |
| 11524 | |
| 11525 | |
| 11526 | if testscip-shell system . . test. -z "$lt_cv_path_MAGIC_CMD"; then |
| 11527 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 11528 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
| 11529 | printfscip-shell system . . printf. %s "checking for file... " >&6; } |
| 11530 | if testscip-shell system . . test. ${lt_cv_path_MAGIC_CMD+y} |
| 11531 | then : |
| 11532 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11533 | else $as_nop |
| 11534 | case $MAGIC_CMD in |
| 11535 | [\\/*] | ?:[\\/]*) |
| 11536 | lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
| 11537 | ;; |
| 11538 | *) |
| 11539 | lt_save_MAGIC_CMD=$MAGIC_CMD |
| 11540 | lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 11541 | ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
| 11542 | for ac_dir in $ac_dummy; do |
| 11543 | IFS=$lt_save_ifs |
| 11544 | testscip-shell system . . test. -z "$ac_dir" && ac_dir=. |
| 11545 | if testscip-shell system . . test. -f "$ac_dir/file"; then |
| 11546 | lt_cv_path_MAGIC_CMD=$ac_dir/"file" |
| 11547 | if testscip-shell system . . test. -n "$file_magic_test_file"; then |
| 11548 | case $deplibs_check_method in |
| 11549 | "file_magic "*) |
| 11550 | file_magic_regex=`exprscip-shell system . . expr. "$deplibs_check_method" : "file_magic \(.*\)"` |
| 11551 | MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 11552 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/nullscip-shell filesystem . . `/dev/null`. | |
| 11553 | $EGREP "$file_magic_regex" > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 11554 | : |
| 11555 | else |
| 11556 | catscip-shell system . . cat. <<_LT_EOF 1>&2 |
| 11557 | |
| 11558 | *** Warning: the command libtool uses to detect shared libraries, |
| 11559 | *** $file_magic_cmd, produces output that libtool cannot recognize. |
| 11560 | *** The result is that libtool may fail to recognize shared libraries |
| 11561 | *** as such. This will affect the creation of libtool libraries that |
| 11562 | *** depend on shared libraries, but programs linked with such libtool |
| 11563 | *** libraries will work regardless of this problem. Nevertheless, you |
| 11564 | *** may want to report the problem to your system manager and/or to |
| 11565 | *** [email protected] |
| 11566 | |
| 11567 | _LT_EOF |
| 11568 | fi ;; |
| 11569 | esac |
| 11570 | fi |
| 11571 | break |
| 11572 | fi |
| 11573 | done |
| 11574 | IFS=$lt_save_ifs |
| 11575 | MAGIC_CMD=$lt_save_MAGIC_CMD |
| 11576 | ;; |
| 11577 | esac |
| 11578 | fi |
| 11579 | |
| 11580 | MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 11581 | if testscip-shell system . . test. -n "$MAGIC_CMD"; then |
| 11582 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 11583 | printfscip-shell system . . printf. "%s\n" "$MAGIC_CMD" >&6; } |
| 11584 | else |
| 11585 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11586 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 11587 | fi |
| 11588 | |
| 11589 | |
| 11590 | else |
| 11591 | MAGIC_CMD=: |
| 11592 | fi |
| 11593 | fi |
| 11594 | |
| 11595 | fi |
| 11596 | ;; |
| 11597 | esac |
| 11598 | |
| 11599 | # Use C for the default configuration in the libtool script |
| 11600 | |
| 11601 | lt_save_CC=$CC |
| 11602 | ac_ext=c |
| 11603 | ac_cpp='$CPP $CPPFLAGS' |
| 11604 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 11605 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 11606 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 11607 | |
| 11608 | |
| 11609 | # Source file extension for C test sources. |
| 11610 | ac_ext=c |
| 11611 | |
| 11612 | # Object file extension for compiled C test sources. |
| 11613 | objext=o |
| 11614 | objext=$objext |
| 11615 | |
| 11616 | # Code to be used in simple compile tests |
| 11617 | lt_simple_compile_test_code="int some_variable = 0;" |
| 11618 | |
| 11619 | # Code to be used in simple link tests |
| 11620 | lt_simple_link_test_code='int main(){return(0);}' |
| 11621 | |
| 11622 | |
| 11623 | |
| 11624 | |
| 11625 | |
| 11626 | |
| 11627 | |
| 11628 | # If no C compiler was specified, use CC. |
| 11629 | LTCC=${LTCC-"$CC"} |
| 11630 | |
| 11631 | # If no C compiler flags were specified, use CFLAGS. |
| 11632 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 11633 | |
| 11634 | # Allow CC to be a program name with arguments. |
| 11635 | compiler=$CC |
| 11636 | |
| 11637 | # Save the default compiler, since it gets overwritten when the other |
| 11638 | # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. |
| 11639 | compiler_DEFAULT=$CC |
| 11640 | |
| 11641 | # save warnings/boilerplate of simple test code |
| 11642 | ac_outfile=conftest.$ac_objext |
| 11643 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 11644 | eval "$ac_compile" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err |
| 11645 | _lt_compiler_boilerplate=`catscip-shell system . . cat. conftest.err` |
| 11646 | $RM conftest* |
| 11647 | |
| 11648 | ac_outfile=conftest.$ac_objext |
| 11649 | echoscip-shell system . . echo. "$lt_simple_link_test_code" >conftest.$ac_ext |
| 11650 | eval "$ac_link" 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' >conftest.err |
| 11651 | _lt_linker_boilerplate=`catscip-shell system . . cat. conftest.err` |
| 11652 | $RM -r conftest* |
| 11653 | |
| 11654 | |
| 11655 | ## CAVEAT EMPTOR: |
| 11656 | ## There is no encapsulation within the following macros, do not change |
| 11657 | ## the running order or otherwise move them around unless you know exactly |
| 11658 | ## what you are doing... |
| 11659 | if testscip-shell system . . test. -n "$compiler"; then |
| 11660 | |
| 11661 | lt_prog_compiler_no_builtin_flag= |
| 11662 | |
| 11663 | if testscip-shell system . . test. yes = "$GCC"; then |
| 11664 | case $cc_basename in |
| 11665 | nvcc*) |
| 11666 | lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
| 11667 | *) |
| 11668 | lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
| 11669 | esac |
| 11670 | |
| 11671 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
| 11672 | printfscip-shell system . . printf. %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
| 11673 | if testscip-shell system . . test. ${lt_cv_prog_compiler_rtti_exceptions+y} |
| 11674 | then : |
| 11675 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11676 | else $as_nop |
| 11677 | lt_cv_prog_compiler_rtti_exceptions=no |
| 11678 | ac_outfile=conftest.$ac_objext |
| 11679 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 11680 | lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment |
| 11681 | # Insert the option either (1) after the last *FLAGS variable, or |
| 11682 | # (2) before a word containing "conftest.", or (3) at the end. |
| 11683 | # Note that $ac_compile itself does not contain backslashes and begins |
| 11684 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 11685 | # The option is referenced via a variable to avoid confusing sed. |
| 11686 | lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \ |
| 11687 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 11688 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 11689 | -e 's:$: $lt_compiler_flag:'` |
| 11690 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 11691 | (eval "$lt_compile" 2>conftest.err) |
| 11692 | ac_status=$? |
| 11693 | catscip-shell system . . cat. conftest.err >&5 |
| 11694 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11695 | if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then |
| 11696 | # The compiler can only warn and ignore the option if not recognized |
| 11697 | # So say no if there are warnings other than the usual output. |
| 11698 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp |
| 11699 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2 |
| 11700 | if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 11701 | lt_cv_prog_compiler_rtti_exceptions=yes |
| 11702 | fi |
| 11703 | fi |
| 11704 | $RM conftest* |
| 11705 | |
| 11706 | fi |
| 11707 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
| 11708 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
| 11709 | |
| 11710 | if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_rtti_exceptions"; then |
| 11711 | lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
| 11712 | else |
| 11713 | : |
| 11714 | fi |
| 11715 | |
| 11716 | fi |
| 11717 | |
| 11718 | |
| 11719 | |
| 11720 | |
| 11721 | |
| 11722 | |
| 11723 | lt_prog_compiler_wl= |
| 11724 | lt_prog_compiler_pic= |
| 11725 | lt_prog_compiler_static= |
| 11726 | |
| 11727 | |
| 11728 | if testscip-shell system . . test. yes = "$GCC"; then |
| 11729 | lt_prog_compiler_wl='-Wl,' |
| 11730 | lt_prog_compiler_static='-static' |
| 11731 | |
| 11732 | case $host_os in |
| 11733 | aix*) |
| 11734 | # All AIX code is PIC. |
| 11735 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 11736 | # AIX 5 now supports IA64 processor |
| 11737 | lt_prog_compiler_static='-Bstatic' |
| 11738 | fi |
| 11739 | lt_prog_compiler_pic='-fPIC' |
| 11740 | ;; |
| 11741 | |
| 11742 | amigaos*) |
| 11743 | case $host_cpu in |
| 11744 | powerpc) |
| 11745 | # see comment about AmigaOS4 .so support |
| 11746 | lt_prog_compiler_pic='-fPIC' |
| 11747 | ;; |
| 11748 | m68k) |
| 11749 | # FIXME: we need at least 68020 code to build shared libraries, but |
| 11750 | # adding the '-m68020' flag to GCC prevents building anything better, |
| 11751 | # like '-m68040'. |
| 11752 | lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
| 11753 | ;; |
| 11754 | esac |
| 11755 | ;; |
| 11756 | |
| 11757 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 11758 | # PIC is the default for these OSes. |
| 11759 | ;; |
| 11760 | |
| 11761 | mingw* | cygwin* | pw32* | os2* | cegcc*) |
| 11762 | # This hack is so that the source file can tell whether it is being |
| 11763 | # built for inclusion in a dll (and should export symbols for example). |
| 11764 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 11765 | # (--disable-auto-import) libraries |
| 11766 | lt_prog_compiler_pic='-DDLL_EXPORT' |
| 11767 | case $host_os in |
| 11768 | os2*) |
| 11769 | lt_prog_compiler_static='$wl-static' |
| 11770 | ;; |
| 11771 | esac |
| 11772 | ;; |
| 11773 | |
| 11774 | darwin* | rhapsody*) |
| 11775 | # PIC is the default on this platform |
| 11776 | # Common symbols not allowed in MH_DYLIB files |
| 11777 | lt_prog_compiler_pic='-fno-common' |
| 11778 | ;; |
| 11779 | |
| 11780 | haiku*) |
| 11781 | # PIC is the default for Haiku. |
| 11782 | # The "-static" flag exists, but is broken. |
| 11783 | lt_prog_compiler_static= |
| 11784 | ;; |
| 11785 | |
| 11786 | hpux*) |
| 11787 | # PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
| 11788 | # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
| 11789 | # sets the default TLS model and affects inlining. |
| 11790 | case $host_cpu in |
| 11791 | hppa*64*) |
| 11792 | # +Z the default |
| 11793 | ;; |
| 11794 | *) |
| 11795 | lt_prog_compiler_pic='-fPIC' |
| 11796 | ;; |
| 11797 | esac |
| 11798 | ;; |
| 11799 | |
| 11800 | interix[3-9]*) |
| 11801 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 11802 | # Instead, we relocate shared libraries at runtime. |
| 11803 | ;; |
| 11804 | |
| 11805 | msdosdjgpp*) |
| 11806 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
| 11807 | # on systems that don't support them. |
| 11808 | lt_prog_compiler_can_build_shared=no |
| 11809 | enable_shared=no |
| 11810 | ;; |
| 11811 | |
| 11812 | *nto* | *qnx*) |
| 11813 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 11814 | # it will coredump. |
| 11815 | lt_prog_compiler_pic='-fPIC -shared' |
| 11816 | ;; |
| 11817 | |
| 11818 | sysv4*MP*) |
| 11819 | if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then |
| 11820 | lt_prog_compiler_pic=-Kconform_pic |
| 11821 | fi |
| 11822 | ;; |
| 11823 | |
| 11824 | *) |
| 11825 | lt_prog_compiler_pic='-fPIC' |
| 11826 | ;; |
| 11827 | esac |
| 11828 | |
| 11829 | case $cc_basename in |
| 11830 | nvcc*) # Cuda Compiler Driver 2.2 |
| 11831 | lt_prog_compiler_wl='-Xlinker ' |
| 11832 | if testscip-shell system . . test. -n "$lt_prog_compiler_pic"; then |
| 11833 | lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
| 11834 | fi |
| 11835 | ;; |
| 11836 | esac |
| 11837 | else |
| 11838 | # PORTME Check for flag to pass linker flags through the system compiler. |
| 11839 | case $host_os in |
| 11840 | aix*) |
| 11841 | lt_prog_compiler_wl='-Wl,' |
| 11842 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 11843 | # AIX 5 now supports IA64 processor |
| 11844 | lt_prog_compiler_static='-Bstatic' |
| 11845 | else |
| 11846 | lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
| 11847 | fi |
| 11848 | ;; |
| 11849 | |
| 11850 | darwin* | rhapsody*) |
| 11851 | # PIC is the default on this platform |
| 11852 | # Common symbols not allowed in MH_DYLIB files |
| 11853 | lt_prog_compiler_pic='-fno-common' |
| 11854 | case $cc_basename in |
| 11855 | nagfor*) |
| 11856 | # NAG Fortran compiler |
| 11857 | lt_prog_compiler_wl='-Wl,-Wl,,' |
| 11858 | lt_prog_compiler_pic='-PIC' |
| 11859 | lt_prog_compiler_static='-Bstatic' |
| 11860 | ;; |
| 11861 | esac |
| 11862 | ;; |
| 11863 | |
| 11864 | mingw* | cygwin* | pw32* | os2* | cegcc*) |
| 11865 | # This hack is so that the source file can tell whether it is being |
| 11866 | # built for inclusion in a dll (and should export symbols for example). |
| 11867 | lt_prog_compiler_pic='-DDLL_EXPORT' |
| 11868 | case $host_os in |
| 11869 | os2*) |
| 11870 | lt_prog_compiler_static='$wl-static' |
| 11871 | ;; |
| 11872 | esac |
| 11873 | ;; |
| 11874 | |
| 11875 | hpux9* | hpux10* | hpux11*) |
| 11876 | lt_prog_compiler_wl='-Wl,' |
| 11877 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
| 11878 | # not for PA HP-UX. |
| 11879 | case $host_cpu in |
| 11880 | hppa*64*|ia64*) |
| 11881 | # +Z the default |
| 11882 | ;; |
| 11883 | *) |
| 11884 | lt_prog_compiler_pic='+Z' |
| 11885 | ;; |
| 11886 | esac |
| 11887 | # Is there a better lt_prog_compiler_static that works with the bundled CC? |
| 11888 | lt_prog_compiler_static='$wl-a ${wl}archive' |
| 11889 | ;; |
| 11890 | |
| 11891 | irix5* | irix6* | nonstopux*) |
| 11892 | lt_prog_compiler_wl='-Wl,' |
| 11893 | # PIC (with -KPIC) is the default. |
| 11894 | lt_prog_compiler_static='-non_shared' |
| 11895 | ;; |
| 11896 | |
| 11897 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 11898 | case $cc_basename in |
| 11899 | # old Intel for x86_64, which still supported -KPIC. |
| 11900 | ecc*) |
| 11901 | lt_prog_compiler_wl='-Wl,' |
| 11902 | lt_prog_compiler_pic='-KPIC' |
| 11903 | lt_prog_compiler_static='-static' |
| 11904 | ;; |
| 11905 | # flang / f18. f95 an alias for gfortran or flang on Debian |
| 11906 | flang* | f18* | f95*) |
| 11907 | lt_prog_compiler_wl='-Wl,' |
| 11908 | lt_prog_compiler_pic='-fPIC' |
| 11909 | lt_prog_compiler_static='-static' |
| 11910 | ;; |
| 11911 | # icc used to be incompatible with GCC. |
| 11912 | # ICC 10 doesn't accept -KPIC any more. |
| 11913 | icc* | ifort*) |
| 11914 | lt_prog_compiler_wl='-Wl,' |
| 11915 | lt_prog_compiler_pic='-fPIC' |
| 11916 | lt_prog_compiler_static='-static' |
| 11917 | ;; |
| 11918 | # Lahey Fortran 8.1. |
| 11919 | lf95*) |
| 11920 | lt_prog_compiler_wl='-Wl,' |
| 11921 | lt_prog_compiler_pic='--shared' |
| 11922 | lt_prog_compiler_static='--static' |
| 11923 | ;; |
| 11924 | nagfor*) |
| 11925 | # NAG Fortran compiler |
| 11926 | lt_prog_compiler_wl='-Wl,-Wl,,' |
| 11927 | lt_prog_compiler_pic='-PIC' |
| 11928 | lt_prog_compiler_static='-Bstatic' |
| 11929 | ;; |
| 11930 | tcc*) |
| 11931 | # Fabrice Bellard et al's Tiny C Compiler |
| 11932 | lt_prog_compiler_wl='-Wl,' |
| 11933 | lt_prog_compiler_pic='-fPIC' |
| 11934 | lt_prog_compiler_static='-static' |
| 11935 | ;; |
| 11936 | pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 11937 | # Portland Group compilers (*not* the Pentium gcc compiler, |
| 11938 | # which looks to be a dead project) |
| 11939 | lt_prog_compiler_wl='-Wl,' |
| 11940 | lt_prog_compiler_pic='-fpic' |
| 11941 | lt_prog_compiler_static='-Bstatic' |
| 11942 | ;; |
| 11943 | ccc*) |
| 11944 | lt_prog_compiler_wl='-Wl,' |
| 11945 | # All Alpha code is PIC. |
| 11946 | lt_prog_compiler_static='-non_shared' |
| 11947 | ;; |
| 11948 | xl* | bgxl* | bgf* | mpixl*) |
| 11949 | # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
| 11950 | lt_prog_compiler_wl='-Wl,' |
| 11951 | lt_prog_compiler_pic='-qpic' |
| 11952 | lt_prog_compiler_static='-qstaticlink' |
| 11953 | ;; |
| 11954 | *) |
| 11955 | case `$CC -V 2>&1 | $SED 5q` in |
| 11956 | *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
| 11957 | # Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 11958 | lt_prog_compiler_pic='-KPIC' |
| 11959 | lt_prog_compiler_static='-Bstatic' |
| 11960 | lt_prog_compiler_wl='' |
| 11961 | ;; |
| 11962 | *Sun\ F* | *Sun*Fortran*) |
| 11963 | lt_prog_compiler_pic='-KPIC' |
| 11964 | lt_prog_compiler_static='-Bstatic' |
| 11965 | lt_prog_compiler_wl='-Qoption ld ' |
| 11966 | ;; |
| 11967 | *Sun\ C*) |
| 11968 | # Sun C 5.9 |
| 11969 | lt_prog_compiler_pic='-KPIC' |
| 11970 | lt_prog_compiler_static='-Bstatic' |
| 11971 | lt_prog_compiler_wl='-Wl,' |
| 11972 | ;; |
| 11973 | *Intel*\ [CF]*Compiler*) |
| 11974 | lt_prog_compiler_wl='-Wl,' |
| 11975 | lt_prog_compiler_pic='-fPIC' |
| 11976 | lt_prog_compiler_static='-static' |
| 11977 | ;; |
| 11978 | *Portland\ Group*) |
| 11979 | lt_prog_compiler_wl='-Wl,' |
| 11980 | lt_prog_compiler_pic='-fpic' |
| 11981 | lt_prog_compiler_static='-Bstatic' |
| 11982 | ;; |
| 11983 | esac |
| 11984 | ;; |
| 11985 | esac |
| 11986 | ;; |
| 11987 | |
| 11988 | newsos6) |
| 11989 | lt_prog_compiler_pic='-KPIC' |
| 11990 | lt_prog_compiler_static='-Bstatic' |
| 11991 | ;; |
| 11992 | |
| 11993 | *nto* | *qnx*) |
| 11994 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 11995 | # it will coredump. |
| 11996 | lt_prog_compiler_pic='-fPIC -shared' |
| 11997 | ;; |
| 11998 | |
| 11999 | osf3* | osf4* | osf5*) |
| 12000 | lt_prog_compiler_wl='-Wl,' |
| 12001 | # All OSF/1 code is PIC. |
| 12002 | lt_prog_compiler_static='-non_shared' |
| 12003 | ;; |
| 12004 | |
| 12005 | rdos*) |
| 12006 | lt_prog_compiler_static='-non_shared' |
| 12007 | ;; |
| 12008 | |
| 12009 | solaris*) |
| 12010 | lt_prog_compiler_pic='-KPIC' |
| 12011 | lt_prog_compiler_static='-Bstatic' |
| 12012 | case $cc_basename in |
| 12013 | f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
| 12014 | lt_prog_compiler_wl='-Qoption ld ';; |
| 12015 | *) |
| 12016 | lt_prog_compiler_wl='-Wl,';; |
| 12017 | esac |
| 12018 | ;; |
| 12019 | |
| 12020 | sunos4*) |
| 12021 | lt_prog_compiler_wl='-Qoption ld ' |
| 12022 | lt_prog_compiler_pic='-PIC' |
| 12023 | lt_prog_compiler_static='-Bstatic' |
| 12024 | ;; |
| 12025 | |
| 12026 | sysv4 | sysv4.2uw2* | sysv4.3*) |
| 12027 | lt_prog_compiler_wl='-Wl,' |
| 12028 | lt_prog_compiler_pic='-KPIC' |
| 12029 | lt_prog_compiler_static='-Bstatic' |
| 12030 | ;; |
| 12031 | |
| 12032 | sysv4*MP*) |
| 12033 | if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then |
| 12034 | lt_prog_compiler_pic='-Kconform_pic' |
| 12035 | lt_prog_compiler_static='-Bstatic' |
| 12036 | fi |
| 12037 | ;; |
| 12038 | |
| 12039 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 12040 | lt_prog_compiler_wl='-Wl,' |
| 12041 | lt_prog_compiler_pic='-KPIC' |
| 12042 | lt_prog_compiler_static='-Bstatic' |
| 12043 | ;; |
| 12044 | |
| 12045 | unicos*) |
| 12046 | lt_prog_compiler_wl='-Wl,' |
| 12047 | lt_prog_compiler_can_build_shared=no |
| 12048 | ;; |
| 12049 | |
| 12050 | uts4*) |
| 12051 | lt_prog_compiler_pic='-pic' |
| 12052 | lt_prog_compiler_static='-Bstatic' |
| 12053 | ;; |
| 12054 | |
| 12055 | *) |
| 12056 | lt_prog_compiler_can_build_shared=no |
| 12057 | ;; |
| 12058 | esac |
| 12059 | fi |
| 12060 | |
| 12061 | case $host_os in |
| 12062 | # For platforms that do not support PIC, -DPIC is meaningless: |
| 12063 | *djgpp*) |
| 12064 | lt_prog_compiler_pic= |
| 12065 | ;; |
| 12066 | *) |
| 12067 | lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
| 12068 | ;; |
| 12069 | esac |
| 12070 | |
| 12071 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 12072 | printfscip-shell system . . printf. %s "checking for $compiler option to produce PIC... " >&6; } |
| 12073 | if testscip-shell system . . test. ${lt_cv_prog_compiler_pic+y} |
| 12074 | then : |
| 12075 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12076 | else $as_nop |
| 12077 | lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
| 12078 | fi |
| 12079 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
| 12080 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic" >&6; } |
| 12081 | lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
| 12082 | |
| 12083 | # |
| 12084 | # Check to make sure the PIC flag actually works. |
| 12085 | # |
| 12086 | if testscip-shell system . . test. -n "$lt_prog_compiler_pic"; then |
| 12087 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 12088 | printfscip-shell system . . printf. %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
| 12089 | if testscip-shell system . . test. ${lt_cv_prog_compiler_pic_works+y} |
| 12090 | then : |
| 12091 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12092 | else $as_nop |
| 12093 | lt_cv_prog_compiler_pic_works=no |
| 12094 | ac_outfile=conftest.$ac_objext |
| 12095 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 12096 | lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment |
| 12097 | # Insert the option either (1) after the last *FLAGS variable, or |
| 12098 | # (2) before a word containing "conftest.", or (3) at the end. |
| 12099 | # Note that $ac_compile itself does not contain backslashes and begins |
| 12100 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 12101 | # The option is referenced via a variable to avoid confusing sed. |
| 12102 | lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \ |
| 12103 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 12104 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 12105 | -e 's:$: $lt_compiler_flag:'` |
| 12106 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 12107 | (eval "$lt_compile" 2>conftest.err) |
| 12108 | ac_status=$? |
| 12109 | catscip-shell system . . cat. conftest.err >&5 |
| 12110 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12111 | if (exit $ac_status) && testscip-shell system . . test. -s "$ac_outfile"; then |
| 12112 | # The compiler can only warn and ignore the option if not recognized |
| 12113 | # So say no if there are warnings other than the usual output. |
| 12114 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' >conftest.exp |
| 12115 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2 |
| 12116 | if testscip-shell system . . test. ! -s conftest.er2 || diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12117 | lt_cv_prog_compiler_pic_works=yes |
| 12118 | fi |
| 12119 | fi |
| 12120 | $RM conftest* |
| 12121 | |
| 12122 | fi |
| 12123 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
| 12124 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } |
| 12125 | |
| 12126 | if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_pic_works"; then |
| 12127 | case $lt_prog_compiler_pic in |
| 12128 | "" | " "*) ;; |
| 12129 | *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
| 12130 | esac |
| 12131 | else |
| 12132 | lt_prog_compiler_pic= |
| 12133 | lt_prog_compiler_can_build_shared=no |
| 12134 | fi |
| 12135 | |
| 12136 | fi |
| 12137 | |
| 12138 | |
| 12139 | |
| 12140 | |
| 12141 | |
| 12142 | |
| 12143 | |
| 12144 | |
| 12145 | |
| 12146 | |
| 12147 | |
| 12148 | # |
| 12149 | # Check to make sure the static flag actually works. |
| 12150 | # |
| 12151 | wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
| 12152 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 12153 | printfscip-shell system . . printf. %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 12154 | if testscip-shell system . . test. ${lt_cv_prog_compiler_static_works+y} |
| 12155 | then : |
| 12156 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12157 | else $as_nop |
| 12158 | lt_cv_prog_compiler_static_works=no |
| 12159 | save_LDFLAGS=$LDFLAGS |
| 12160 | LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 12161 | echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext |
| 12162 | if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then |
| 12163 | # The linker can only warn and ignore the option if not recognized |
| 12164 | # So say no if there are warnings |
| 12165 | if testscip-shell system . . test. -s conftest.err; then |
| 12166 | # Append any errors to the config.log. |
| 12167 | catscip-shell system . . cat. conftest.err 1>&5 |
| 12168 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp |
| 12169 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2 |
| 12170 | if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12171 | lt_cv_prog_compiler_static_works=yes |
| 12172 | fi |
| 12173 | else |
| 12174 | lt_cv_prog_compiler_static_works=yes |
| 12175 | fi |
| 12176 | fi |
| 12177 | $RM -r conftest* |
| 12178 | LDFLAGS=$save_LDFLAGS |
| 12179 | |
| 12180 | fi |
| 12181 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
| 12182 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } |
| 12183 | |
| 12184 | if testscip-shell system . . test. yes = "$lt_cv_prog_compiler_static_works"; then |
| 12185 | : |
| 12186 | else |
| 12187 | lt_prog_compiler_static= |
| 12188 | fi |
| 12189 | |
| 12190 | |
| 12191 | |
| 12192 | |
| 12193 | |
| 12194 | |
| 12195 | |
| 12196 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 12197 | printfscip-shell system . . printf. %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 12198 | if testscip-shell system . . test. ${lt_cv_prog_compiler_c_o+y} |
| 12199 | then : |
| 12200 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12201 | else $as_nop |
| 12202 | lt_cv_prog_compiler_c_o=no |
| 12203 | $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 12204 | mkdirscip-shell system . . mkdir. conftest |
| 12205 | cd conftest |
| 12206 | mkdirscip-shell system . . mkdir. out |
| 12207 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 12208 | |
| 12209 | lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 12210 | # Insert the option either (1) after the last *FLAGS variable, or |
| 12211 | # (2) before a word containing "conftest.", or (3) at the end. |
| 12212 | # Note that $ac_compile itself does not contain backslashes and begins |
| 12213 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 12214 | lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \ |
| 12215 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 12216 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 12217 | -e 's:$: $lt_compiler_flag:'` |
| 12218 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 12219 | (eval "$lt_compile" 2>out/conftest.err) |
| 12220 | ac_status=$? |
| 12221 | catscip-shell system . . cat. out/conftest.err >&5 |
| 12222 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12223 | if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext |
| 12224 | then |
| 12225 | # The compiler can only warn and ignore the option if not recognized |
| 12226 | # So say no if there are warnings |
| 12227 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp |
| 12228 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2 |
| 12229 | if testscip-shell system . . test. ! -s out/conftest.er2 || diffscip-shell system . . diff. out/conftest.exp out/conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12230 | lt_cv_prog_compiler_c_o=yes |
| 12231 | fi |
| 12232 | fi |
| 12233 | chmodscip-shell system . . chmod. u+w . 2>&5 |
| 12234 | $RM conftest* |
| 12235 | # SGI C++ compiler will create directory out/ii_files/ for |
| 12236 | # template instantiation |
| 12237 | testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files |
| 12238 | $RM out/* && rmdirscip-shell system . . rmdir. out |
| 12239 | cd .. |
| 12240 | $RM -r conftest |
| 12241 | $RM conftest* |
| 12242 | |
| 12243 | fi |
| 12244 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 12245 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } |
| 12246 | |
| 12247 | |
| 12248 | |
| 12249 | |
| 12250 | |
| 12251 | |
| 12252 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 12253 | printfscip-shell system . . printf. %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 12254 | if testscip-shell system . . test. ${lt_cv_prog_compiler_c_o+y} |
| 12255 | then : |
| 12256 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12257 | else $as_nop |
| 12258 | lt_cv_prog_compiler_c_o=no |
| 12259 | $RM -r conftest 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 12260 | mkdirscip-shell system . . mkdir. conftest |
| 12261 | cd conftest |
| 12262 | mkdirscip-shell system . . mkdir. out |
| 12263 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 12264 | |
| 12265 | lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 12266 | # Insert the option either (1) after the last *FLAGS variable, or |
| 12267 | # (2) before a word containing "conftest.", or (3) at the end. |
| 12268 | # Note that $ac_compile itself does not contain backslashes and begins |
| 12269 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 12270 | lt_compile=`echoscip-shell system . . echo. "$ac_compile" | $SED \ |
| 12271 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 12272 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 12273 | -e 's:$: $lt_compiler_flag:'` |
| 12274 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 12275 | (eval "$lt_compile" 2>out/conftest.err) |
| 12276 | ac_status=$? |
| 12277 | catscip-shell system . . cat. out/conftest.err >&5 |
| 12278 | echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12279 | if (exit $ac_status) && testscip-shell system . . test. -s out/conftest2.$ac_objext |
| 12280 | then |
| 12281 | # The compiler can only warn and ignore the option if not recognized |
| 12282 | # So say no if there are warnings |
| 12283 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > out/conftest.exp |
| 12284 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' out/conftest.err >out/conftest.er2 |
| 12285 | if testscip-shell system . . test. ! -s out/conftest.er2 || diffscip-shell system . . diff. out/conftest.exp out/conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12286 | lt_cv_prog_compiler_c_o=yes |
| 12287 | fi |
| 12288 | fi |
| 12289 | chmodscip-shell system . . chmod. u+w . 2>&5 |
| 12290 | $RM conftest* |
| 12291 | # SGI C++ compiler will create directory out/ii_files/ for |
| 12292 | # template instantiation |
| 12293 | testscip-shell system . . test. -d out/ii_files && $RM out/ii_files/* && rmdirscip-shell system . . rmdir. out/ii_files |
| 12294 | $RM out/* && rmdirscip-shell system . . rmdir. out |
| 12295 | cd .. |
| 12296 | $RM -r conftest |
| 12297 | $RM conftest* |
| 12298 | |
| 12299 | fi |
| 12300 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 12301 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } |
| 12302 | |
| 12303 | |
| 12304 | |
| 12305 | |
| 12306 | hard_links=nottested |
| 12307 | if testscip-shell system . . test. no = "$lt_cv_prog_compiler_c_o" && testscip-shell system . . test. no != "$need_locks"; then |
| 12308 | # do not overwrite the value of need_locks provided by the user |
| 12309 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
| 12310 | printfscip-shell system . . printf. %s "checking if we can lock with hard links... " >&6; } |
| 12311 | hard_links=yes |
| 12312 | $RM conftest* |
| 12313 | lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no |
| 12314 | touchscip-shell system . . touch. conftest.a |
| 12315 | lnscip-shell system . . ln. conftest.a conftest.b 2>&5 || hard_links=no |
| 12316 | lnscip-shell system . . ln. conftest.a conftest.b 2>/dev/nullscip-shell filesystem . . `/dev/null`. && hard_links=no |
| 12317 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
| 12318 | printfscip-shell system . . printf. "%s\n" "$hard_links" >&6; } |
| 12319 | if testscip-shell system . . test. no = "$hard_links"; then |
| 12320 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 |
| 12321 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} |
| 12322 | need_locks=warn |
| 12323 | fi |
| 12324 | else |
| 12325 | need_locks=no |
| 12326 | fi |
| 12327 | |
| 12328 | |
| 12329 | |
| 12330 | |
| 12331 | |
| 12332 | |
| 12333 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
| 12334 | printfscip-shell system . . printf. %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
| 12335 | |
| 12336 | runpath_var= |
| 12337 | allow_undefined_flag= |
| 12338 | always_export_symbols=no |
| 12339 | archive_cmds= |
| 12340 | archive_expsym_cmds= |
| 12341 | compiler_needs_object=no |
| 12342 | enable_shared_with_static_runtimes=no |
| 12343 | export_dynamic_flag_spec= |
| 12344 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
| 12345 | hardcode_automatic=no |
| 12346 | hardcode_direct=no |
| 12347 | hardcode_direct_absolute=no |
| 12348 | hardcode_libdir_flag_spec= |
| 12349 | hardcode_libdir_separator= |
| 12350 | hardcode_minus_L=no |
| 12351 | hardcode_shlibpath_var=unsupported |
| 12352 | inherit_rpath=no |
| 12353 | link_all_deplibs=unknown |
| 12354 | module_cmds= |
| 12355 | module_expsym_cmds= |
| 12356 | old_archive_from_new_cmds= |
| 12357 | old_archive_from_expsyms_cmds= |
| 12358 | thread_safe_flag_spec= |
| 12359 | whole_archive_flag_spec= |
| 12360 | # include_expsyms should be a list of space-separated symbols to be *always* |
| 12361 | # included in the symbol list |
| 12362 | include_expsyms= |
| 12363 | # exclude_expsyms can be an extended regexp of symbols to exclude |
| 12364 | # it will be wrapped by ' (' and ')$', so one must not match beginning or |
| 12365 | # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', |
| 12366 | # as well as any symbol that contains 'd'. |
| 12367 | exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
| 12368 | # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
| 12369 | # platforms (ab)use it in PIC code, but their linkers get confused if |
| 12370 | # the symbol is explicitly referenced. Since portable code cannot |
| 12371 | # rely on this symbol name, it's probably fine to never include it in |
| 12372 | # preloaded symbol tables. |
| 12373 | # Exclude shared library initialization/finalization symbols. |
| 12374 | extract_expsyms_cmds= |
| 12375 | |
| 12376 | case $host_os in |
| 12377 | cygwin* | mingw* | pw32* | cegcc*) |
| 12378 | # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time |
| 12379 | # When not using gcc, we currently assume that we are using |
| 12380 | # Microsoft Visual C++ or Intel C++ Compiler. |
| 12381 | if testscip-shell system . . test. yes != "$GCC"; then |
| 12382 | with_gnu_ld=no |
| 12383 | fi |
| 12384 | ;; |
| 12385 | interix*) |
| 12386 | # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC) |
| 12387 | with_gnu_ld=yes |
| 12388 | ;; |
| 12389 | openbsd* | bitrig*) |
| 12390 | with_gnu_ld=no |
| 12391 | ;; |
| 12392 | linux* | k*bsd*-gnu | gnu*) |
| 12393 | link_all_deplibs=no |
| 12394 | ;; |
| 12395 | esac |
| 12396 | |
| 12397 | ld_shlibs=yes |
| 12398 | |
| 12399 | # On some targets, GNU ld is compatible enough with the native linker |
| 12400 | # that we're better off using the native interface for both. |
| 12401 | lt_use_gnu_ld_interface=no |
| 12402 | if testscip-shell system . . test. yes = "$with_gnu_ld"; then |
| 12403 | case $host_os in |
| 12404 | aix*) |
| 12405 | # The AIX port of GNU ld has always aspired to compatibility |
| 12406 | # with the native linker. However, as the warning in the GNU ld |
| 12407 | # block says, versions before 2.19.5* couldn't really create working |
| 12408 | # shared libraries, regardless of the interface used. |
| 12409 | case `$LD -v 2>&1` in |
| 12410 | *\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
| 12411 | *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
| 12412 | *\ \(GNU\ Binutils\)\ [3-9]*) ;; |
| 12413 | *) |
| 12414 | lt_use_gnu_ld_interface=yes |
| 12415 | ;; |
| 12416 | esac |
| 12417 | ;; |
| 12418 | *) |
| 12419 | lt_use_gnu_ld_interface=yes |
| 12420 | ;; |
| 12421 | esac |
| 12422 | fi |
| 12423 | |
| 12424 | if testscip-shell system . . test. yes = "$lt_use_gnu_ld_interface"; then |
| 12425 | # If archive_cmds runs LD, not CC, wlarc should be empty |
| 12426 | wlarc='$wl' |
| 12427 | |
| 12428 | # Set some defaults for GNU ld with shared library support. These |
| 12429 | # are reset later if shared libraries are not supported. Putting them |
| 12430 | # here allows them to be overridden if necessary. |
| 12431 | runpath_var=LD_RUN_PATH |
| 12432 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 12433 | export_dynamic_flag_spec='$wl--export-dynamic' |
| 12434 | # ancient GNU ld didn't support --whole-archive et. al. |
| 12435 | if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12436 | whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' |
| 12437 | else |
| 12438 | whole_archive_flag_spec= |
| 12439 | fi |
| 12440 | supports_anon_versioning=no |
| 12441 | case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in |
| 12442 | *GNU\ gold*) supports_anon_versioning=yes ;; |
| 12443 | *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
| 12444 | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
| 12445 | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
| 12446 | *\ 2.11.*) ;; # other 2.11 versions |
| 12447 | *) supports_anon_versioning=yes ;; |
| 12448 | esac |
| 12449 | |
| 12450 | # See if GNU ld supports shared libraries. |
| 12451 | case $host_os in |
| 12452 | aix[3-9]*) |
| 12453 | # On AIX/PPC, the GNU linker is very broken |
| 12454 | if testscip-shell system . . test. ia64 != "$host_cpu"; then |
| 12455 | ld_shlibs=no |
| 12456 | catscip-shell system . . cat. <<_LT_EOF 1>&2 |
| 12457 | |
| 12458 | *** Warning: the GNU linker, at least up to release 2.19, is reported |
| 12459 | *** to be unable to reliably create shared libraries on AIX. |
| 12460 | *** Therefore, libtool is disabling shared libraries support. If you |
| 12461 | *** really care for shared libraries, you may want to install binutils |
| 12462 | *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
| 12463 | *** You will then need to restart the configuration process. |
| 12464 | |
| 12465 | _LT_EOF |
| 12466 | fi |
| 12467 | ;; |
| 12468 | |
| 12469 | amigaos*) |
| 12470 | case $host_cpu in |
| 12471 | powerpc) |
| 12472 | # see comment about AmigaOS4 .so support |
| 12473 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12474 | archive_expsym_cmds='' |
| 12475 | ;; |
| 12476 | m68k) |
| 12477 | archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
| 12478 | hardcode_libdir_flag_spec='-L$libdir' |
| 12479 | hardcode_minus_L=yes |
| 12480 | ;; |
| 12481 | esac |
| 12482 | ;; |
| 12483 | |
| 12484 | beos*) |
| 12485 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12486 | allow_undefined_flag=unsupported |
| 12487 | # Joseph Beckenbach <[email protected]> says some releases of gcc |
| 12488 | # support --undefined. This deserves some investigation. FIXME |
| 12489 | archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12490 | else |
| 12491 | ld_shlibs=no |
| 12492 | fi |
| 12493 | ;; |
| 12494 | |
| 12495 | cygwin* | mingw* | pw32* | cegcc*) |
| 12496 | # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
| 12497 | # as there is no search path for DLLs. |
| 12498 | hardcode_libdir_flag_spec='-L$libdir' |
| 12499 | export_dynamic_flag_spec='$wl--export-all-symbols' |
| 12500 | allow_undefined_flag=unsupported |
| 12501 | always_export_symbols=no |
| 12502 | enable_shared_with_static_runtimes=yes |
| 12503 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
| 12504 | exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
| 12505 | |
| 12506 | if $LD --help 2>&1 | $GREP 'auto-import' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12507 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 12508 | # If the export-symbols file already is a .def file, use it as |
| 12509 | # is; otherwise, prepend EXPORTS... |
| 12510 | archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
| 12511 | cp $export_symbols $output_objdir/$soname.def; |
| 12512 | else |
| 12513 | echo EXPORTS > $output_objdir/$soname.def; |
| 12514 | cat $export_symbols >> $output_objdir/$soname.def; |
| 12515 | fi~ |
| 12516 | $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 12517 | else |
| 12518 | ld_shlibs=no |
| 12519 | fi |
| 12520 | ;; |
| 12521 | |
| 12522 | haiku*) |
| 12523 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12524 | link_all_deplibs=yes |
| 12525 | ;; |
| 12526 | |
| 12527 | os2*) |
| 12528 | hardcode_libdir_flag_spec='-L$libdir' |
| 12529 | hardcode_minus_L=yes |
| 12530 | allow_undefined_flag=unsupported |
| 12531 | shrext_cmds=.dll |
| 12532 | archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 12533 | $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 12534 | $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 12535 | $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 12536 | emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
| 12537 | $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 12538 | emximp -o $lib $output_objdir/$libname.def' |
| 12539 | archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 12540 | $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 12541 | $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 12542 | $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 12543 | prefix_cmds="$SED"~ |
| 12544 | if test EXPORTS = "`$SED 1q $export_symbols`"; then |
| 12545 | prefix_cmds="$prefix_cmds -e 1d"; |
| 12546 | fi~ |
| 12547 | prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
| 12548 | cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
| 12549 | $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 12550 | emximp -o $lib $output_objdir/$libname.def' |
| 12551 | old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
| 12552 | enable_shared_with_static_runtimes=yes |
| 12553 | file_list_spec='@' |
| 12554 | ;; |
| 12555 | |
| 12556 | interix[3-9]*) |
| 12557 | hardcode_direct=no |
| 12558 | hardcode_shlibpath_var=no |
| 12559 | hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
| 12560 | export_dynamic_flag_spec='$wl-E' |
| 12561 | # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 12562 | # Instead, shared libraries are loaded at an image base (0x10000000 by |
| 12563 | # default) and relocated if they conflict, which is a slow very memory |
| 12564 | # consuming and fragmenting process. To avoid this, we pick a random, |
| 12565 | # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 12566 | # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 12567 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 12568 | archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 12569 | ;; |
| 12570 | |
| 12571 | gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
| 12572 | tmp_diet=no |
| 12573 | if testscip-shell system . . test. linux-dietlibc = "$host_os"; then |
| 12574 | case $cc_basename in |
| 12575 | diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
| 12576 | esac |
| 12577 | fi |
| 12578 | if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`. \ |
| 12579 | && testscip-shell system . . test. no = "$tmp_diet" |
| 12580 | then |
| 12581 | tmp_addflag=' $pic_flag' |
| 12582 | tmp_sharedflag='-shared' |
| 12583 | case $cc_basename,$host_cpu in |
| 12584 | pgcc*) # Portland Group C compiler |
| 12585 | whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
| 12586 | tmp_addflag=' $pic_flag' |
| 12587 | ;; |
| 12588 | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 12589 | # Portland Group f77 and f90 compilers |
| 12590 | whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
| 12591 | tmp_addflag=' $pic_flag -Mnomain' ;; |
| 12592 | ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
| 12593 | tmp_addflag=' -i_dynamic' ;; |
| 12594 | efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
| 12595 | tmp_addflag=' -i_dynamic -nofor_main' ;; |
| 12596 | ifc* | ifort*) # Intel Fortran compiler |
| 12597 | tmp_addflag=' -nofor_main' ;; |
| 12598 | lf95*) # Lahey Fortran 8.1 |
| 12599 | whole_archive_flag_spec= |
| 12600 | tmp_sharedflag='--shared' ;; |
| 12601 | nagfor*) # NAGFOR 5.3 |
| 12602 | tmp_sharedflag='-Wl,-shared' ;; |
| 12603 | xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
| 12604 | tmp_sharedflag='-qmkshrobj' |
| 12605 | tmp_addflag= ;; |
| 12606 | nvcc*) # Cuda Compiler Driver 2.2 |
| 12607 | whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
| 12608 | compiler_needs_object=yes |
| 12609 | ;; |
| 12610 | esac |
| 12611 | case `$CC -V 2>&1 | $SED 5q` in |
| 12612 | *Sun\ C*) # Sun C 5.9 |
| 12613 | whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
| 12614 | compiler_needs_object=yes |
| 12615 | tmp_sharedflag='-G' ;; |
| 12616 | *Sun\ F*) # Sun Fortran 8.3 |
| 12617 | tmp_sharedflag='-G' ;; |
| 12618 | esac |
| 12619 | archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12620 | |
| 12621 | if testscip-shell system . . test. yes = "$supports_anon_versioning"; then |
| 12622 | archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 12623 | cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 12624 | echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 12625 | $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' |
| 12626 | fi |
| 12627 | |
| 12628 | case $cc_basename in |
| 12629 | tcc*) |
| 12630 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 12631 | export_dynamic_flag_spec='-rdynamic' |
| 12632 | ;; |
| 12633 | xlf* | bgf* | bgxlf* | mpixlf*) |
| 12634 | # IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
| 12635 | whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
| 12636 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 12637 | archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
| 12638 | if testscip-shell system . . test. yes = "$supports_anon_versioning"; then |
| 12639 | archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 12640 | cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 12641 | echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 12642 | $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
| 12643 | fi |
| 12644 | ;; |
| 12645 | esac |
| 12646 | else |
| 12647 | ld_shlibs=no |
| 12648 | fi |
| 12649 | ;; |
| 12650 | |
| 12651 | netbsd* | netbsdelf*-gnu) |
| 12652 | if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12653 | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
| 12654 | wlarc= |
| 12655 | else |
| 12656 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12657 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 12658 | fi |
| 12659 | ;; |
| 12660 | |
| 12661 | solaris*) |
| 12662 | if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12663 | ld_shlibs=no |
| 12664 | catscip-shell system . . cat. <<_LT_EOF 1>&2 |
| 12665 | |
| 12666 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
| 12667 | *** create shared libraries on Solaris systems. Therefore, libtool |
| 12668 | *** is disabling shared libraries support. We urge you to upgrade GNU |
| 12669 | *** binutils to release 2.9.1 or newer. Another option is to modify |
| 12670 | *** your PATH or compiler configuration so that the native linker is |
| 12671 | *** used, and then restart. |
| 12672 | |
| 12673 | _LT_EOF |
| 12674 | elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12675 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12676 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 12677 | else |
| 12678 | ld_shlibs=no |
| 12679 | fi |
| 12680 | ;; |
| 12681 | |
| 12682 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
| 12683 | case `$LD -v 2>&1` in |
| 12684 | *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
| 12685 | ld_shlibs=no |
| 12686 | catscip-shell system . . cat. <<_LT_EOF 1>&2 |
| 12687 | |
| 12688 | *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot |
| 12689 | *** reliably create shared libraries on SCO systems. Therefore, libtool |
| 12690 | *** is disabling shared libraries support. We urge you to upgrade GNU |
| 12691 | *** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
| 12692 | *** your PATH or compiler configuration so that the native linker is |
| 12693 | *** used, and then restart. |
| 12694 | |
| 12695 | _LT_EOF |
| 12696 | ;; |
| 12697 | *) |
| 12698 | # For security reasons, it is highly recommended that you always |
| 12699 | # use absolute paths for naming shared libraries, and exclude the |
| 12700 | # DT_RUNPATH tag from executables and libraries. But doing so |
| 12701 | # requires that you compile everything twice, which is a pain. |
| 12702 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12703 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 12704 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12705 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 12706 | else |
| 12707 | ld_shlibs=no |
| 12708 | fi |
| 12709 | ;; |
| 12710 | esac |
| 12711 | ;; |
| 12712 | |
| 12713 | sunos4*) |
| 12714 | archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 12715 | wlarc= |
| 12716 | hardcode_direct=yes |
| 12717 | hardcode_shlibpath_var=no |
| 12718 | ;; |
| 12719 | |
| 12720 | *) |
| 12721 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12722 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 12723 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 12724 | else |
| 12725 | ld_shlibs=no |
| 12726 | fi |
| 12727 | ;; |
| 12728 | esac |
| 12729 | |
| 12730 | if testscip-shell system . . test. no = "$ld_shlibs"; then |
| 12731 | runpath_var= |
| 12732 | hardcode_libdir_flag_spec= |
| 12733 | export_dynamic_flag_spec= |
| 12734 | whole_archive_flag_spec= |
| 12735 | fi |
| 12736 | else |
| 12737 | # PORTME fill in a description of your system's linker (not GNU ld) |
| 12738 | case $host_os in |
| 12739 | aix3*) |
| 12740 | allow_undefined_flag=unsupported |
| 12741 | always_export_symbols=yes |
| 12742 | archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
| 12743 | # Note: this linker hardcodes the directories in LIBPATH if there |
| 12744 | # are no directories specified by -L. |
| 12745 | hardcode_minus_L=yes |
| 12746 | if testscip-shell system . . test. yes = "$GCC" && testscip-shell system . . test. -z "$lt_prog_compiler_static"; then |
| 12747 | # Neither direct hardcoding nor static linking is supported with a |
| 12748 | # broken collect2. |
| 12749 | hardcode_direct=unsupported |
| 12750 | fi |
| 12751 | ;; |
| 12752 | |
| 12753 | aix[4-9]*) |
| 12754 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 12755 | # On IA64, the linker does run time linking by default, so we don't |
| 12756 | # have to do anything special. |
| 12757 | aix_use_runtimelinking=no |
| 12758 | exp_sym_flag='-Bexport' |
| 12759 | no_entry_flag= |
| 12760 | else |
| 12761 | # If we're using GNU nm, then we don't want the "-C" option. |
| 12762 | # -C means demangle to GNU nm, but means don't demangle to AIX nm. |
| 12763 | # Without the "-l" option, or with the "-B" option, AIX nm treats |
| 12764 | # weak defined symbols like other global defined symbols, whereas |
| 12765 | # GNU nm marks them as "W". |
| 12766 | # While the 'weak' keyword is ignored in the Export File, we need |
| 12767 | # it in the Import File for the 'aix-soname' feature, so we have |
| 12768 | # to replace the "-B" option with "-P" for AIX nm. |
| 12769 | if $NM -V 2>&1 | $GREP 'GNU' > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 12770 | export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' |
| 12771 | else |
| 12772 | export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' |
| 12773 | fi |
| 12774 | aix_use_runtimelinking=no |
| 12775 | |
| 12776 | # Test if we are trying to use run time linking or normal |
| 12777 | # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
| 12778 | # have runtime linking enabled, and use it for executables. |
| 12779 | # For shared libraries, we enable/disable runtime linking |
| 12780 | # depending on the kind of the shared library created - |
| 12781 | # when "with_aix_soname,aix_use_runtimelinking" is: |
| 12782 | # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables |
| 12783 | # "aix,yes" lib.so shared, rtl:yes, for executables |
| 12784 | # lib.a static archive |
| 12785 | # "both,no" lib.so.V(shr.o) shared, rtl:yes |
| 12786 | # lib.a(lib.so.V) shared, rtl:no, for executables |
| 12787 | # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 12788 | # lib.a(lib.so.V) shared, rtl:no |
| 12789 | # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 12790 | # lib.a static archive |
| 12791 | case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
| 12792 | for ld_flag in $LDFLAGS; do |
| 12793 | if (testscip-shell system . . test. x-brtl = "x$ld_flag" || testscip-shell system . . test. x-Wl,-brtl = "x$ld_flag"); then |
| 12794 | aix_use_runtimelinking=yes |
| 12795 | break |
| 12796 | fi |
| 12797 | done |
| 12798 | if testscip-shell system . . test. svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 12799 | # With aix-soname=svr4, we create the lib.so.V shared archives only, |
| 12800 | # so we don't have lib.a shared libs to link our executables. |
| 12801 | # We have to force runtime linking in this case. |
| 12802 | aix_use_runtimelinking=yes |
| 12803 | LDFLAGS="$LDFLAGS -Wl,-brtl" |
| 12804 | fi |
| 12805 | ;; |
| 12806 | esac |
| 12807 | |
| 12808 | exp_sym_flag='-bexport' |
| 12809 | no_entry_flag='-bnoentry' |
| 12810 | fi |
| 12811 | |
| 12812 | # When large executables or shared objects are built, AIX ld can |
| 12813 | # have problems creating the table of contents. If linking a library |
| 12814 | # or program results in "error TOC overflow" add -mminimal-toc to |
| 12815 | # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
| 12816 | # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
| 12817 | |
| 12818 | archive_cmds='' |
| 12819 | hardcode_direct=yes |
| 12820 | hardcode_direct_absolute=yes |
| 12821 | hardcode_libdir_separator=':' |
| 12822 | link_all_deplibs=yes |
| 12823 | file_list_spec='$wl-f,' |
| 12824 | case $with_aix_soname,$aix_use_runtimelinking in |
| 12825 | aix,*) ;; # traditional, no import file |
| 12826 | svr4,* | *,yes) # use import file |
| 12827 | # The Import File defines what to hardcode. |
| 12828 | hardcode_direct=no |
| 12829 | hardcode_direct_absolute=no |
| 12830 | ;; |
| 12831 | esac |
| 12832 | |
| 12833 | if testscip-shell system . . test. yes = "$GCC"; then |
| 12834 | case $host_os in aix4.[012]|aix4.[012].*) |
| 12835 | # We only want to do this on AIX 4.2 and lower, the check |
| 12836 | # below for broken collect2 doesn't work under 4.3+ |
| 12837 | collect2name=`$CC -print-prog-name=collect2` |
| 12838 | if testscip-shell system . . test. -f "$collect2name" && |
| 12839 | stringsscip-shell system . . strings. "$collect2name" | $GREP resolve_lib_name >/dev/nullscip-shell filesystem . . `/dev/null`. |
| 12840 | then |
| 12841 | # We have reworked collect2 |
| 12842 | : |
| 12843 | else |
| 12844 | # We have old collect2 |
| 12845 | hardcode_direct=unsupported |
| 12846 | # It fails to find uninstalled libraries when the uninstalled |
| 12847 | # path is not listed in the libpath. Setting hardcode_minus_L |
| 12848 | # to unsupported forces relinking |
| 12849 | hardcode_minus_L=yes |
| 12850 | hardcode_libdir_flag_spec='-L$libdir' |
| 12851 | hardcode_libdir_separator= |
| 12852 | fi |
| 12853 | ;; |
| 12854 | esac |
| 12855 | shared_flag='-shared' |
| 12856 | if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then |
| 12857 | shared_flag="$shared_flag "'$wl-G' |
| 12858 | fi |
| 12859 | # Need to ensure runtime linking is disabled for the traditional |
| 12860 | # shared library, or the linker may eventually find shared libraries |
| 12861 | # /with/ Import File - we do not want to mix them. |
| 12862 | shared_flag_aix='-shared' |
| 12863 | shared_flag_svr4='-shared $wl-G' |
| 12864 | else |
| 12865 | # not using gcc |
| 12866 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 12867 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
| 12868 | # chokes on -Wl,-G. The following line is correct: |
| 12869 | shared_flag='-G' |
| 12870 | else |
| 12871 | if testscip-shell system . . test. yes = "$aix_use_runtimelinking"; then |
| 12872 | shared_flag='$wl-G' |
| 12873 | else |
| 12874 | shared_flag='$wl-bM:SRE' |
| 12875 | fi |
| 12876 | shared_flag_aix='$wl-bM:SRE' |
| 12877 | shared_flag_svr4='$wl-G' |
| 12878 | fi |
| 12879 | fi |
| 12880 | |
| 12881 | export_dynamic_flag_spec='$wl-bexpall' |
| 12882 | # It seems that -bexpall does not export symbols beginning with |
| 12883 | # underscore (_), so it is better to generate a list of symbols to export. |
| 12884 | always_export_symbols=yes |
| 12885 | if testscip-shell system . . test. aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 12886 | # Warning - without using the other runtime loading flags (-brtl), |
| 12887 | # -berok will link without error, but may produce a broken library. |
| 12888 | allow_undefined_flag='-berok' |
| 12889 | # Determine the default libpath from the value encoded in an |
| 12890 | # empty executable. |
| 12891 | if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then |
| 12892 | aix_libpath=$lt_cv_aix_libpath |
| 12893 | else |
| 12894 | if testscip-shell system . . test. ${lt_cv_aix_libpath_+y} |
| 12895 | then : |
| 12896 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12897 | else $as_nop |
| 12898 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12899 | /* end confdefs.h. */ |
| 12900 | |
| 12901 | int |
| 12902 | main (void) |
| 12903 | { |
| 12904 | |
| 12905 | ; |
| 12906 | return 0; |
| 12907 | } |
| 12908 | _ACEOF |
| 12909 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 12910 | then : |
| 12911 | |
| 12912 | lt_aix_libpath_sed=' |
| 12913 | /Import File Strings/,/^$/ { |
| 12914 | /^0/ { |
| 12915 | s/^0 *\([^ ]*\) *$/\1/ |
| 12916 | p |
| 12917 | } |
| 12918 | }' |
| 12919 | lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"` |
| 12920 | # Check for a 64-bit object if we didn't find anything. |
| 12921 | if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then |
| 12922 | lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"` |
| 12923 | fi |
| 12924 | fi |
| 12925 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12926 | conftest$ac_exeext conftest.$ac_ext |
| 12927 | if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then |
| 12928 | lt_cv_aix_libpath_=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`. |
| 12929 | fi |
| 12930 | |
| 12931 | fi |
| 12932 | |
| 12933 | aix_libpath=$lt_cv_aix_libpath_ |
| 12934 | fi |
| 12935 | |
| 12936 | hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" |
| 12937 | archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag |
| 12938 | else |
| 12939 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 12940 | hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' |
| 12941 | allow_undefined_flag="-z nodefs" |
| 12942 | archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" |
| 12943 | else |
| 12944 | # Determine the default libpath from the value encoded in an |
| 12945 | # empty executable. |
| 12946 | if testscip-shell system . . test. set = "${lt_cv_aix_libpath+set}"; then |
| 12947 | aix_libpath=$lt_cv_aix_libpath |
| 12948 | else |
| 12949 | if testscip-shell system . . test. ${lt_cv_aix_libpath_+y} |
| 12950 | then : |
| 12951 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12952 | else $as_nop |
| 12953 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12954 | /* end confdefs.h. */ |
| 12955 | |
| 12956 | int |
| 12957 | main (void) |
| 12958 | { |
| 12959 | |
| 12960 | ; |
| 12961 | return 0; |
| 12962 | } |
| 12963 | _ACEOF |
| 12964 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 12965 | then : |
| 12966 | |
| 12967 | lt_aix_libpath_sed=' |
| 12968 | /Import File Strings/,/^$/ { |
| 12969 | /^0/ { |
| 12970 | s/^0 *\([^ ]*\) *$/\1/ |
| 12971 | p |
| 12972 | } |
| 12973 | }' |
| 12974 | lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"` |
| 12975 | # Check for a 64-bit object if we didn't find anything. |
| 12976 | if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then |
| 12977 | lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/nullscip-shell filesystem . . `/dev/null`. | $SED -n -e "$lt_aix_libpath_sed"` |
| 12978 | fi |
| 12979 | fi |
| 12980 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12981 | conftest$ac_exeext conftest.$ac_ext |
| 12982 | if testscip-shell system . . test. -z "$lt_cv_aix_libpath_"; then |
| 12983 | lt_cv_aix_libpath_=/usr/lib:/libscip-shell filesystem . . `/usr/lib:/lib`. |
| 12984 | fi |
| 12985 | |
| 12986 | fi |
| 12987 | |
| 12988 | aix_libpath=$lt_cv_aix_libpath_ |
| 12989 | fi |
| 12990 | |
| 12991 | hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" |
| 12992 | # Warning - without using the other run time loading flags, |
| 12993 | # -berok will link without error, but may produce a broken library. |
| 12994 | no_undefined_flag=' $wl-bernotok' |
| 12995 | allow_undefined_flag=' $wl-berok' |
| 12996 | if testscip-shell system . . test. yes = "$with_gnu_ld"; then |
| 12997 | # We only use this code for GNU lds that support --whole-archive. |
| 12998 | whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' |
| 12999 | else |
| 13000 | # Exported symbols can be pulled into shared objects from archives |
| 13001 | whole_archive_flag_spec='$convenience' |
| 13002 | fi |
| 13003 | archive_cmds_need_lc=yes |
| 13004 | archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' |
| 13005 | # -brtl affects multiple linker settings, -berok does not and is overridden later |
| 13006 | compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' |
| 13007 | if testscip-shell system . . test. svr4 != "$with_aix_soname"; then |
| 13008 | # This is similar to how AIX traditionally builds its shared libraries. |
| 13009 | archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' |
| 13010 | fi |
| 13011 | if testscip-shell system . . test. aix != "$with_aix_soname"; then |
| 13012 | archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' |
| 13013 | else |
| 13014 | # used by -dlpreopen to get the symbols |
| 13015 | archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' |
| 13016 | fi |
| 13017 | archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' |
| 13018 | fi |
| 13019 | fi |
| 13020 | ;; |
| 13021 | |
| 13022 | amigaos*) |
| 13023 | case $host_cpu in |
| 13024 | powerpc) |
| 13025 | # see comment about AmigaOS4 .so support |
| 13026 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 13027 | archive_expsym_cmds='' |
| 13028 | ;; |
| 13029 | m68k) |
| 13030 | archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
| 13031 | hardcode_libdir_flag_spec='-L$libdir' |
| 13032 | hardcode_minus_L=yes |
| 13033 | ;; |
| 13034 | esac |
| 13035 | ;; |
| 13036 | |
| 13037 | bsdi[45]*) |
| 13038 | export_dynamic_flag_spec=-rdynamic |
| 13039 | ;; |
| 13040 | |
| 13041 | cygwin* | mingw* | pw32* | cegcc*) |
| 13042 | # When not using gcc, we currently assume that we are using |
| 13043 | # Microsoft Visual C++ or Intel C++ Compiler. |
| 13044 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
| 13045 | # no search path for DLLs. |
| 13046 | case $cc_basename in |
| 13047 | cl* | icl*) |
| 13048 | # Native MSVC or ICC |
| 13049 | hardcode_libdir_flag_spec=' ' |
| 13050 | allow_undefined_flag=unsupported |
| 13051 | always_export_symbols=yes |
| 13052 | file_list_spec='@' |
| 13053 | # Tell ltmain to make .lib files, not .a files. |
| 13054 | libext=lib |
| 13055 | # Tell ltmain to make .dll files, not .so files. |
| 13056 | shrext_cmds=.dll |
| 13057 | # FIXME: Setting linknames here is a bad hack. |
| 13058 | archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' |
| 13059 | archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
| 13060 | cp "$export_symbols" "$output_objdir/$soname.def"; |
| 13061 | echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; |
| 13062 | else |
| 13063 | $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; |
| 13064 | fi~ |
| 13065 | $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
| 13066 | linknames=' |
| 13067 | # The linker will not automatically build a static lib if we build a DLL. |
| 13068 | # _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
| 13069 | enable_shared_with_static_runtimes=yes |
| 13070 | exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
| 13071 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
| 13072 | # Don't use ranlib |
| 13073 | old_postinstall_cmds='chmod 644 $oldlib' |
| 13074 | postlink_cmds='lt_outputfile="@OUTPUT@"~ |
| 13075 | lt_tool_outputfile="@TOOL_OUTPUT@"~ |
| 13076 | case $lt_outputfile in |
| 13077 | *.exe|*.EXE) ;; |
| 13078 | *) |
| 13079 | lt_outputfile=$lt_outputfile.exe |
| 13080 | lt_tool_outputfile=$lt_tool_outputfile.exe |
| 13081 | ;; |
| 13082 | esac~ |
| 13083 | if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then |
| 13084 | $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
| 13085 | $RM "$lt_outputfile.manifest"; |
| 13086 | fi' |
| 13087 | ;; |
| 13088 | *) |
| 13089 | # Assume MSVC and ICC wrapper |
| 13090 | hardcode_libdir_flag_spec=' ' |
| 13091 | allow_undefined_flag=unsupported |
| 13092 | # Tell ltmain to make .lib files, not .a files. |
| 13093 | libext=lib |
| 13094 | # Tell ltmain to make .dll files, not .so files. |
| 13095 | shrext_cmds=.dll |
| 13096 | # FIXME: Setting linknames here is a bad hack. |
| 13097 | archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 13098 | # The linker will automatically build a .lib file if we build a DLL. |
| 13099 | old_archive_from_new_cmds='true' |
| 13100 | # FIXME: Should let the user specify the lib program. |
| 13101 | old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
| 13102 | enable_shared_with_static_runtimes=yes |
| 13103 | ;; |
| 13104 | esac |
| 13105 | ;; |
| 13106 | |
| 13107 | darwin* | rhapsody*) |
| 13108 | |
| 13109 | |
| 13110 | archive_cmds_need_lc=no |
| 13111 | hardcode_direct=no |
| 13112 | hardcode_automatic=yes |
| 13113 | hardcode_shlibpath_var=unsupported |
| 13114 | if testscip-shell system . . test. yes = "$lt_cv_ld_force_load"; then |
| 13115 | whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
| 13116 | |
| 13117 | else |
| 13118 | whole_archive_flag_spec='' |
| 13119 | fi |
| 13120 | link_all_deplibs=yes |
| 13121 | allow_undefined_flag=$_lt_dar_allow_undefined |
| 13122 | case $cc_basename in |
| 13123 | ifort*|nagfor*) _lt_dar_can_shared=yes ;; |
| 13124 | *) _lt_dar_can_shared=$GCC ;; |
| 13125 | esac |
| 13126 | if testscip-shell system . . test. yes = "$_lt_dar_can_shared"; then |
| 13127 | output_verbose_link_cmd=func_echo_all |
| 13128 | archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" |
| 13129 | module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" |
| 13130 | archive_expsym_cmds="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" |
| 13131 | module_expsym_cmds="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" |
| 13132 | |
| 13133 | else |
| 13134 | ld_shlibs=no |
| 13135 | fi |
| 13136 | |
| 13137 | ;; |
| 13138 | |
| 13139 | dgux*) |
| 13140 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 13141 | hardcode_libdir_flag_spec='-L$libdir' |
| 13142 | hardcode_shlibpath_var=no |
| 13143 | ;; |
| 13144 | |
| 13145 | # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
| 13146 | # support. Future versions do this automatically, but an explicit c++rt0.o |
| 13147 | # does not break anything, and helps significantly (at the cost of a little |
| 13148 | # extra space). |
| 13149 | freebsd2.2*) |
| 13150 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
| 13151 | hardcode_libdir_flag_spec='-R$libdir' |
| 13152 | hardcode_direct=yes |
| 13153 | hardcode_shlibpath_var=no |
| 13154 | ;; |
| 13155 | |
| 13156 | # Unfortunately, older versions of FreeBSD 2 do not have this feature. |
| 13157 | freebsd2.*) |
| 13158 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 13159 | hardcode_direct=yes |
| 13160 | hardcode_minus_L=yes |
| 13161 | hardcode_shlibpath_var=no |
| 13162 | ;; |
| 13163 | |
| 13164 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
| 13165 | freebsd* | dragonfly* | midnightbsd*) |
| 13166 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 13167 | hardcode_libdir_flag_spec='-R$libdir' |
| 13168 | hardcode_direct=yes |
| 13169 | hardcode_shlibpath_var=no |
| 13170 | ;; |
| 13171 | |
| 13172 | hpux9*) |
| 13173 | if testscip-shell system . . test. yes = "$GCC"; then |
| 13174 | archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' |
| 13175 | else |
| 13176 | archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' |
| 13177 | fi |
| 13178 | hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
| 13179 | hardcode_libdir_separator=: |
| 13180 | hardcode_direct=yes |
| 13181 | |
| 13182 | # hardcode_minus_L: Not really in the search PATH, |
| 13183 | # but as the default location of the library. |
| 13184 | hardcode_minus_L=yes |
| 13185 | export_dynamic_flag_spec='$wl-E' |
| 13186 | ;; |
| 13187 | |
| 13188 | hpux10*) |
| 13189 | if testscip-shell system . . test. yes,no = "$GCC,$with_gnu_ld"; then |
| 13190 | archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 13191 | else |
| 13192 | archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 13193 | fi |
| 13194 | if testscip-shell system . . test. no = "$with_gnu_ld"; then |
| 13195 | hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
| 13196 | hardcode_libdir_separator=: |
| 13197 | hardcode_direct=yes |
| 13198 | hardcode_direct_absolute=yes |
| 13199 | export_dynamic_flag_spec='$wl-E' |
| 13200 | # hardcode_minus_L: Not really in the search PATH, |
| 13201 | # but as the default location of the library. |
| 13202 | hardcode_minus_L=yes |
| 13203 | fi |
| 13204 | ;; |
| 13205 | |
| 13206 | hpux11*) |
| 13207 | if testscip-shell system . . test. yes,no = "$GCC,$with_gnu_ld"; then |
| 13208 | case $host_cpu in |
| 13209 | hppa*64*) |
| 13210 | archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13211 | ;; |
| 13212 | ia64*) |
| 13213 | archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 13214 | ;; |
| 13215 | *) |
| 13216 | archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 13217 | ;; |
| 13218 | esac |
| 13219 | else |
| 13220 | case $host_cpu in |
| 13221 | hppa*64*) |
| 13222 | archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13223 | ;; |
| 13224 | ia64*) |
| 13225 | archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 13226 | ;; |
| 13227 | *) |
| 13228 | |
| 13229 | # Older versions of the 11.00 compiler do not understand -b yet |
| 13230 | # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
| 13231 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
| 13232 | printfscip-shell system . . printf. %s "checking if $CC understands -b... " >&6; } |
| 13233 | if testscip-shell system . . test. ${lt_cv_prog_compiler__b+y} |
| 13234 | then : |
| 13235 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13236 | else $as_nop |
| 13237 | lt_cv_prog_compiler__b=no |
| 13238 | save_LDFLAGS=$LDFLAGS |
| 13239 | LDFLAGS="$LDFLAGS -b" |
| 13240 | echoscip-shell system . . echo. "$lt_simple_link_test_code" > conftest.$ac_ext |
| 13241 | if (eval $ac_link 2>conftest.err) && testscip-shell system . . test. -s conftest$ac_exeext; then |
| 13242 | # The linker can only warn and ignore the option if not recognized |
| 13243 | # So say no if there are warnings |
| 13244 | if testscip-shell system . . test. -s conftest.err; then |
| 13245 | # Append any errors to the config.log. |
| 13246 | catscip-shell system . . cat. conftest.err 1>&5 |
| 13247 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/dscip-shell filesystem . . `/^$/d`.' > conftest.exp |
| 13248 | $SED '/^$/d; /^ *+/dscip-shell filesystem . . `/^$/d; /^ *+/d`.' conftest.err >conftest.er2 |
| 13249 | if diffscip-shell system . . diff. conftest.exp conftest.er2 >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 13250 | lt_cv_prog_compiler__b=yes |
| 13251 | fi |
| 13252 | else |
| 13253 | lt_cv_prog_compiler__b=yes |
| 13254 | fi |
| 13255 | fi |
| 13256 | $RM -r conftest* |
| 13257 | LDFLAGS=$save_LDFLAGS |
| 13258 | |
| 13259 | fi |
| 13260 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
| 13261 | printfscip-shell system . . printf. "%s\n" "$lt_cv_prog_compiler__b" >&6; } |
| 13262 | |
| 13263 | if testscip-shell system . . test. yes = "$lt_cv_prog_compiler__b"; then |
| 13264 | archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 13265 | else |
| 13266 | archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 13267 | fi |
| 13268 | |
| 13269 | ;; |
| 13270 | esac |
| 13271 | fi |
| 13272 | if testscip-shell system . . test. no = "$with_gnu_ld"; then |
| 13273 | hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
| 13274 | hardcode_libdir_separator=: |
| 13275 | |
| 13276 | case $host_cpu in |
| 13277 | hppa*64*|ia64*) |
| 13278 | hardcode_direct=no |
| 13279 | hardcode_shlibpath_var=no |
| 13280 | ;; |
| 13281 | *) |
| 13282 | hardcode_direct=yes |
| 13283 | hardcode_direct_absolute=yes |
| 13284 | export_dynamic_flag_spec='$wl-E' |
| 13285 | |
| 13286 | # hardcode_minus_L: Not really in the search PATH, |
| 13287 | # but as the default location of the library. |
| 13288 | hardcode_minus_L=yes |
| 13289 | ;; |
| 13290 | esac |
| 13291 | fi |
| 13292 | ;; |
| 13293 | |
| 13294 | irix5* | irix6* | nonstopux*) |
| 13295 | if testscip-shell system . . test. yes = "$GCC"; then |
| 13296 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' |
| 13297 | # Try to use the -exported_symbol ld option, if it does not |
| 13298 | # work, assume that -exports_file does not work either and |
| 13299 | # implicitly export all symbols. |
| 13300 | # This should be the same for all languages, so no per-tag cache variable. |
| 13301 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
| 13302 | printfscip-shell system . . printf. %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
| 13303 | if testscip-shell system . . test. ${lt_cv_irix_exported_symbol+y} |
| 13304 | then : |
| 13305 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13306 | else $as_nop |
| 13307 | save_LDFLAGS=$LDFLAGS |
| 13308 | LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" |
| 13309 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13310 | /* end confdefs.h. */ |
| 13311 | int foo (void) { return 0; } |
| 13312 | _ACEOF |
| 13313 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 13314 | then : |
| 13315 | lt_cv_irix_exported_symbol=yes |
| 13316 | else $as_nop |
| 13317 | lt_cv_irix_exported_symbol=no |
| 13318 | fi |
| 13319 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 13320 | conftest$ac_exeext conftest.$ac_ext |
| 13321 | LDFLAGS=$save_LDFLAGS |
| 13322 | fi |
| 13323 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
| 13324 | printfscip-shell system . . printf. "%s\n" "$lt_cv_irix_exported_symbol" >&6; } |
| 13325 | if testscip-shell system . . test. yes = "$lt_cv_irix_exported_symbol"; then |
| 13326 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' |
| 13327 | fi |
| 13328 | link_all_deplibs=no |
| 13329 | else |
| 13330 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' |
| 13331 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' |
| 13332 | fi |
| 13333 | archive_cmds_need_lc='no' |
| 13334 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 13335 | hardcode_libdir_separator=: |
| 13336 | inherit_rpath=yes |
| 13337 | link_all_deplibs=yes |
| 13338 | ;; |
| 13339 | |
| 13340 | linux*) |
| 13341 | case $cc_basename in |
| 13342 | tcc*) |
| 13343 | # Fabrice Bellard et al's Tiny C Compiler |
| 13344 | ld_shlibs=yes |
| 13345 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 13346 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 13347 | ;; |
| 13348 | esac |
| 13349 | ;; |
| 13350 | |
| 13351 | netbsd* | netbsdelf*-gnu) |
| 13352 | if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 13353 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
| 13354 | else |
| 13355 | archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
| 13356 | fi |
| 13357 | hardcode_libdir_flag_spec='-R$libdir' |
| 13358 | hardcode_direct=yes |
| 13359 | hardcode_shlibpath_var=no |
| 13360 | ;; |
| 13361 | |
| 13362 | newsos6) |
| 13363 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 13364 | hardcode_direct=yes |
| 13365 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 13366 | hardcode_libdir_separator=: |
| 13367 | hardcode_shlibpath_var=no |
| 13368 | ;; |
| 13369 | |
| 13370 | *nto* | *qnx*) |
| 13371 | ;; |
| 13372 | |
| 13373 | openbsd* | bitrig*) |
| 13374 | if testscip-shell system . . test. -f /usr/libexec/ld.soscip-shell filesystem . . `/usr/libexec/ld.so`.; then |
| 13375 | hardcode_direct=yes |
| 13376 | hardcode_shlibpath_var=no |
| 13377 | hardcode_direct_absolute=yes |
| 13378 | if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 13379 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 13380 | archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' |
| 13381 | hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
| 13382 | export_dynamic_flag_spec='$wl-E' |
| 13383 | else |
| 13384 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 13385 | hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
| 13386 | fi |
| 13387 | else |
| 13388 | ld_shlibs=no |
| 13389 | fi |
| 13390 | ;; |
| 13391 | |
| 13392 | os2*) |
| 13393 | hardcode_libdir_flag_spec='-L$libdir' |
| 13394 | hardcode_minus_L=yes |
| 13395 | allow_undefined_flag=unsupported |
| 13396 | shrext_cmds=.dll |
| 13397 | archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 13398 | $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 13399 | $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 13400 | $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 13401 | emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
| 13402 | $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 13403 | emximp -o $lib $output_objdir/$libname.def' |
| 13404 | archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 13405 | $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 13406 | $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 13407 | $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 13408 | prefix_cmds="$SED"~ |
| 13409 | if test EXPORTS = "`$SED 1q $export_symbols`"; then |
| 13410 | prefix_cmds="$prefix_cmds -e 1d"; |
| 13411 | fi~ |
| 13412 | prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
| 13413 | cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
| 13414 | $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 13415 | emximp -o $lib $output_objdir/$libname.def' |
| 13416 | old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
| 13417 | enable_shared_with_static_runtimes=yes |
| 13418 | file_list_spec='@' |
| 13419 | ;; |
| 13420 | |
| 13421 | osf3*) |
| 13422 | if testscip-shell system . . test. yes = "$GCC"; then |
| 13423 | allow_undefined_flag=' $wl-expect_unresolved $wl\*' |
| 13424 | archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' |
| 13425 | else |
| 13426 | allow_undefined_flag=' -expect_unresolved \*' |
| 13427 | archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' |
| 13428 | fi |
| 13429 | archive_cmds_need_lc='no' |
| 13430 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 13431 | hardcode_libdir_separator=: |
| 13432 | ;; |
| 13433 | |
| 13434 | osf4* | osf5*) # as osf3* with the addition of -msym flag |
| 13435 | if testscip-shell system . . test. yes = "$GCC"; then |
| 13436 | allow_undefined_flag=' $wl-expect_unresolved $wl\*' |
| 13437 | archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' |
| 13438 | hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 13439 | else |
| 13440 | allow_undefined_flag=' -expect_unresolved \*' |
| 13441 | archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' |
| 13442 | archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ |
| 13443 | $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' |
| 13444 | |
| 13445 | # Both c and cxx compiler support -rpath directly |
| 13446 | hardcode_libdir_flag_spec='-rpath $libdir' |
| 13447 | fi |
| 13448 | archive_cmds_need_lc='no' |
| 13449 | hardcode_libdir_separator=: |
| 13450 | ;; |
| 13451 | |
| 13452 | solaris*) |
| 13453 | no_undefined_flag=' -z defs' |
| 13454 | if testscip-shell system . . test. yes = "$GCC"; then |
| 13455 | wlarc='$wl' |
| 13456 | archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13457 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 13458 | $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 13459 | else |
| 13460 | case `$CC -V 2>&1` in |
| 13461 | *"Compilers 5.0"*) |
| 13462 | wlarc='' |
| 13463 | archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 13464 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 13465 | $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
| 13466 | ;; |
| 13467 | *) |
| 13468 | wlarc='$wl' |
| 13469 | archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13470 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 13471 | $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 13472 | ;; |
| 13473 | esac |
| 13474 | fi |
| 13475 | hardcode_libdir_flag_spec='-R$libdir' |
| 13476 | hardcode_shlibpath_var=no |
| 13477 | case $host_os in |
| 13478 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
| 13479 | *) |
| 13480 | # The compiler driver will combine and reorder linker options, |
| 13481 | # but understands '-z linker_flag'. GCC discards it without '$wl', |
| 13482 | # but is careful enough not to reorder. |
| 13483 | # Supported since Solaris 2.6 (maybe 2.5.1?) |
| 13484 | if testscip-shell system . . test. yes = "$GCC"; then |
| 13485 | whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' |
| 13486 | else |
| 13487 | whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
| 13488 | fi |
| 13489 | ;; |
| 13490 | esac |
| 13491 | link_all_deplibs=yes |
| 13492 | ;; |
| 13493 | |
| 13494 | sunos4*) |
| 13495 | if testscip-shell system . . test. sequent = "$host_vendor"; then |
| 13496 | # Use $CC to link under sequent, because it throws in some extra .o |
| 13497 | # files that make .init and .fini sections work. |
| 13498 | archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13499 | else |
| 13500 | archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
| 13501 | fi |
| 13502 | hardcode_libdir_flag_spec='-L$libdir' |
| 13503 | hardcode_direct=yes |
| 13504 | hardcode_minus_L=yes |
| 13505 | hardcode_shlibpath_var=no |
| 13506 | ;; |
| 13507 | |
| 13508 | sysv4) |
| 13509 | case $host_vendor in |
| 13510 | sni) |
| 13511 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 13512 | hardcode_direct=yes # is this really true??? |
| 13513 | ;; |
| 13514 | siemens) |
| 13515 | ## LD is ld it makes a PLAMLIB |
| 13516 | ## CC just makes a GrossModule. |
| 13517 | archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
| 13518 | reload_cmds='$CC -r -o $output$reload_objs' |
| 13519 | hardcode_direct=no |
| 13520 | ;; |
| 13521 | motorola) |
| 13522 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 13523 | hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
| 13524 | ;; |
| 13525 | esac |
| 13526 | runpath_var='LD_RUN_PATH' |
| 13527 | hardcode_shlibpath_var=no |
| 13528 | ;; |
| 13529 | |
| 13530 | sysv4.3*) |
| 13531 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 13532 | hardcode_shlibpath_var=no |
| 13533 | export_dynamic_flag_spec='-Bexport' |
| 13534 | ;; |
| 13535 | |
| 13536 | sysv4*MP*) |
| 13537 | if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then |
| 13538 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 13539 | hardcode_shlibpath_var=no |
| 13540 | runpath_var=LD_RUN_PATH |
| 13541 | hardcode_runpath_var=yes |
| 13542 | ld_shlibs=yes |
| 13543 | fi |
| 13544 | ;; |
| 13545 | |
| 13546 | sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
| 13547 | no_undefined_flag='$wl-z,text' |
| 13548 | archive_cmds_need_lc=no |
| 13549 | hardcode_shlibpath_var=no |
| 13550 | runpath_var='LD_RUN_PATH' |
| 13551 | |
| 13552 | if testscip-shell system . . test. yes = "$GCC"; then |
| 13553 | archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13554 | archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13555 | else |
| 13556 | archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13557 | archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13558 | fi |
| 13559 | ;; |
| 13560 | |
| 13561 | sysv5* | sco3.2v5* | sco5v6*) |
| 13562 | # Note: We CANNOT use -z defs as we might desire, because we do not |
| 13563 | # link with -lc, and that would cause any symbols used from libc to |
| 13564 | # always be unresolved, which means just about no library would |
| 13565 | # ever link correctly. If we're not using GNU ld we use -z text |
| 13566 | # though, which does catch some bad symbols but isn't as heavy-handed |
| 13567 | # as -z defs. |
| 13568 | no_undefined_flag='$wl-z,text' |
| 13569 | allow_undefined_flag='$wl-z,nodefs' |
| 13570 | archive_cmds_need_lc=no |
| 13571 | hardcode_shlibpath_var=no |
| 13572 | hardcode_libdir_flag_spec='$wl-R,$libdir' |
| 13573 | hardcode_libdir_separator=':' |
| 13574 | link_all_deplibs=yes |
| 13575 | export_dynamic_flag_spec='$wl-Bexport' |
| 13576 | runpath_var='LD_RUN_PATH' |
| 13577 | |
| 13578 | if testscip-shell system . . test. yes = "$GCC"; then |
| 13579 | archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13580 | archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13581 | else |
| 13582 | archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13583 | archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 13584 | fi |
| 13585 | ;; |
| 13586 | |
| 13587 | uts4*) |
| 13588 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 13589 | hardcode_libdir_flag_spec='-L$libdir' |
| 13590 | hardcode_shlibpath_var=no |
| 13591 | ;; |
| 13592 | |
| 13593 | *) |
| 13594 | ld_shlibs=no |
| 13595 | ;; |
| 13596 | esac |
| 13597 | |
| 13598 | if testscip-shell system . . test. sni = "$host_vendor"; then |
| 13599 | case $host in |
| 13600 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 13601 | export_dynamic_flag_spec='$wl-Blargedynsym' |
| 13602 | ;; |
| 13603 | esac |
| 13604 | fi |
| 13605 | fi |
| 13606 | |
| 13607 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
| 13608 | printfscip-shell system . . printf. "%s\n" "$ld_shlibs" >&6; } |
| 13609 | testscip-shell system . . test. no = "$ld_shlibs" && can_build_shared=no |
| 13610 | |
| 13611 | with_gnu_ld=$with_gnu_ld |
| 13612 | |
| 13613 | |
| 13614 | |
| 13615 | |
| 13616 | |
| 13617 | |
| 13618 | |
| 13619 | |
| 13620 | |
| 13621 | |
| 13622 | |
| 13623 | |
| 13624 | |
| 13625 | |
| 13626 | |
| 13627 | # |
| 13628 | # Do we need to explicitly link libc? |
| 13629 | # |
| 13630 | case "x$archive_cmds_need_lc" in |
| 13631 | x|xyes) |
| 13632 | # Assume -lc should be added |
| 13633 | archive_cmds_need_lc=yes |
| 13634 | |
| 13635 | if testscip-shell system . . test. yes,yes = "$GCC,$enable_shared"; then |
| 13636 | case $archive_cmds in |
| 13637 | *'~'*) |
| 13638 | # FIXME: we may have to deal with multi-command sequences. |
| 13639 | ;; |
| 13640 | '$CC '*) |
| 13641 | # Test whether the compiler implicitly links with -lc since on some |
| 13642 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
| 13643 | # to ld, don't add -lc before -lgcc. |
| 13644 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
| 13645 | printfscip-shell system . . printf. %s "checking whether -lc should be explicitly linked in... " >&6; } |
| 13646 | if testscip-shell system . . test. ${lt_cv_archive_cmds_need_lc+y} |
| 13647 | then : |
| 13648 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13649 | else $as_nop |
| 13650 | $RM conftest* |
| 13651 | echoscip-shell system . . echo. "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 13652 | |
| 13653 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 13654 | (eval $ac_compile) 2>&5 |
| 13655 | ac_status=$? |
| 13656 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13657 | testscip-shell system . . test. $ac_status = 0; } 2>conftest.err; then |
| 13658 | soname=conftest |
| 13659 | lib=conftest |
| 13660 | libobjs=conftest.$ac_objext |
| 13661 | deplibs= |
| 13662 | wl=$lt_prog_compiler_wl |
| 13663 | pic_flag=$lt_prog_compiler_pic |
| 13664 | compiler_flags=-v |
| 13665 | linker_flags=-v |
| 13666 | verstring= |
| 13667 | output_objdir=. |
| 13668 | libname=conftest |
| 13669 | lt_save_allow_undefined_flag=$allow_undefined_flag |
| 13670 | allow_undefined_flag= |
| 13671 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
| 13672 | (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
| 13673 | ac_status=$? |
| 13674 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13675 | testscip-shell system . . test. $ac_status = 0; } |
| 13676 | then |
| 13677 | lt_cv_archive_cmds_need_lc=no |
| 13678 | else |
| 13679 | lt_cv_archive_cmds_need_lc=yes |
| 13680 | fi |
| 13681 | allow_undefined_flag=$lt_save_allow_undefined_flag |
| 13682 | else |
| 13683 | catscip-shell system . . cat. conftest.err 1>&5 |
| 13684 | fi |
| 13685 | $RM conftest* |
| 13686 | |
| 13687 | fi |
| 13688 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
| 13689 | printfscip-shell system . . printf. "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; } |
| 13690 | archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
| 13691 | ;; |
| 13692 | esac |
| 13693 | fi |
| 13694 | ;; |
| 13695 | esac |
| 13696 | |
| 13697 | |
| 13698 | |
| 13699 | |
| 13700 | |
| 13701 | |
| 13702 | |
| 13703 | |
| 13704 | |
| 13705 | |
| 13706 | |
| 13707 | |
| 13708 | |
| 13709 | |
| 13710 | |
| 13711 | |
| 13712 | |
| 13713 | |
| 13714 | |
| 13715 | |
| 13716 | |
| 13717 | |
| 13718 | |
| 13719 | |
| 13720 | |
| 13721 | |
| 13722 | |
| 13723 | |
| 13724 | |
| 13725 | |
| 13726 | |
| 13727 | |
| 13728 | |
| 13729 | |
| 13730 | |
| 13731 | |
| 13732 | |
| 13733 | |
| 13734 | |
| 13735 | |
| 13736 | |
| 13737 | |
| 13738 | |
| 13739 | |
| 13740 | |
| 13741 | |
| 13742 | |
| 13743 | |
| 13744 | |
| 13745 | |
| 13746 | |
| 13747 | |
| 13748 | |
| 13749 | |
| 13750 | |
| 13751 | |
| 13752 | |
| 13753 | |
| 13754 | |
| 13755 | |
| 13756 | |
| 13757 | |
| 13758 | |
| 13759 | |
| 13760 | |
| 13761 | |
| 13762 | |
| 13763 | |
| 13764 | |
| 13765 | |
| 13766 | |
| 13767 | |
| 13768 | |
| 13769 | |
| 13770 | |
| 13771 | |
| 13772 | |
| 13773 | |
| 13774 | |
| 13775 | |
| 13776 | |
| 13777 | |
| 13778 | |
| 13779 | |
| 13780 | |
| 13781 | |
| 13782 | |
| 13783 | |
| 13784 | |
| 13785 | |
| 13786 | |
| 13787 | |
| 13788 | |
| 13789 | |
| 13790 | |
| 13791 | |
| 13792 | |
| 13793 | |
| 13794 | |
| 13795 | |
| 13796 | |
| 13797 | |
| 13798 | |
| 13799 | |
| 13800 | |
| 13801 | |
| 13802 | |
| 13803 | |
| 13804 | |
| 13805 | |
| 13806 | |
| 13807 | |
| 13808 | |
| 13809 | |
| 13810 | |
| 13811 | |
| 13812 | |
| 13813 | |
| 13814 | |
| 13815 | |
| 13816 | |
| 13817 | |
| 13818 | |
| 13819 | |
| 13820 | |
| 13821 | |
| 13822 | |
| 13823 | |
| 13824 | |
| 13825 | |
| 13826 | |
| 13827 | |
| 13828 | |
| 13829 | |
| 13830 | |
| 13831 | |
| 13832 | |
| 13833 | |
| 13834 | |
| 13835 | |
| 13836 | |
| 13837 | |
| 13838 | |
| 13839 | |
| 13840 | |
| 13841 | |
| 13842 | |
| 13843 | |
| 13844 | |
| 13845 | |
| 13846 | |
| 13847 | |
| 13848 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
| 13849 | printfscip-shell system . . printf. %s "checking dynamic linker characteristics... " >&6; } |
| 13850 | |
| 13851 | if testscip-shell system . . test. yes = "$GCC"; then |
| 13852 | case $host_os in |
| 13853 | darwin*) lt_awk_arg='/^libraries:/,/LR/scip-shell filesystem . . `/^libraries:/,/LR/`.' ;; |
| 13854 | *) lt_awk_arg='/^libraries:/scip-shell filesystem . . `/^libraries:/`.' ;; |
| 13855 | esac |
| 13856 | case $host_os in |
| 13857 | mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; |
| 13858 | *) lt_sed_strip_eq='s|=/|/|g' ;; |
| 13859 | esac |
| 13860 | lt_search_path_spec=`$CC -print-search-dirs | awkscip-shell system . . awk. $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
| 13861 | case $lt_search_path_spec in |
| 13862 | *\;*) |
| 13863 | # if the path contains ";" then we assume it to be the separator |
| 13864 | # otherwise default to the standard path separator (i.e. ":") - it is |
| 13865 | # assumed that no part of a normal pathname contains ";" but that should |
| 13866 | # okay in the real world where ";" in dirpaths is itself problematic. |
| 13867 | lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
| 13868 | ;; |
| 13869 | *) |
| 13870 | lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
| 13871 | ;; |
| 13872 | esac |
| 13873 | # Ok, now we have the path, separated by spaces, we can step through it |
| 13874 | # and add multilib dir if necessary... |
| 13875 | lt_tmp_lt_search_path_spec= |
| 13876 | lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 13877 | # ...but if some path component already ends with the multilib dir we assume |
| 13878 | # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). |
| 13879 | case "$lt_multi_os_dir; $lt_search_path_spec " in |
| 13880 | "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) |
| 13881 | lt_multi_os_dir= |
| 13882 | ;; |
| 13883 | esac |
| 13884 | for lt_sys_path in $lt_search_path_spec; do |
| 13885 | if testscip-shell system . . test. -d "$lt_sys_path$lt_multi_os_dir"; then |
| 13886 | lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" |
| 13887 | elif testscip-shell system . . test. -n "$lt_multi_os_dir"; then |
| 13888 | testscip-shell system . . test. -d "$lt_sys_path" && \ |
| 13889 | lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
| 13890 | fi |
| 13891 | done |
| 13892 | lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awkscip-shell system . . awk. ' |
| 13893 | BEGIN {RS = " "; FS = "/|\n";} { |
| 13894 | lt_foo = ""; |
| 13895 | lt_count = 0; |
| 13896 | for (lt_i = NF; lt_i > 0; lt_i--) { |
| 13897 | if ($lt_i != "" && $lt_i != ".") { |
| 13898 | if ($lt_i == "..") { |
| 13899 | lt_count++; |
| 13900 | } else { |
| 13901 | if (lt_count == 0) { |
| 13902 | lt_foo = "/" $lt_i lt_foo; |
| 13903 | } else { |
| 13904 | lt_count--; |
| 13905 | } |
| 13906 | } |
| 13907 | } |
| 13908 | } |
| 13909 | if (lt_foo != "") { lt_freq[lt_foo]++; } |
| 13910 | if (lt_freq[lt_foo] == 1) { print lt_foo; } |
| 13911 | }'` |
| 13912 | # AWK program above erroneously prepends '/' to C:/dos/paths |
| 13913 | # for these hosts. |
| 13914 | case $host_os in |
| 13915 | mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
| 13916 | $SED 's|/\([A-Za-z]:\)|\1|g'` ;; |
| 13917 | esac |
| 13918 | sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
| 13919 | else |
| 13920 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`." |
| 13921 | fi |
| 13922 | library_names_spec= |
| 13923 | libname_spec='lib$name' |
| 13924 | soname_spec= |
| 13925 | shrext_cmds=.so |
| 13926 | postinstall_cmds= |
| 13927 | postuninstall_cmds= |
| 13928 | finish_cmds= |
| 13929 | finish_eval= |
| 13930 | shlibpath_var= |
| 13931 | shlibpath_overrides_runpath=unknown |
| 13932 | version_type=none |
| 13933 | dynamic_linker="$host_os ld.so" |
| 13934 | sys_lib_dlsearch_path_spec="/lib /usr/libscip-shell filesystem . . `/lib /usr/lib`." |
| 13935 | need_lib_prefix=unknown |
| 13936 | hardcode_into_libs=no |
| 13937 | |
| 13938 | # when you set need_version to no, make sure it does not cause -set_version |
| 13939 | # flags to be left without arguments |
| 13940 | need_version=unknown |
| 13941 | |
| 13942 | |
| 13943 | |
| 13944 | case $host_os in |
| 13945 | aix3*) |
| 13946 | version_type=linux # correct to gnu/linux during the next big refactor |
| 13947 | library_names_spec='$libname$release$shared_ext$versuffix $libname.a' |
| 13948 | shlibpath_var=LIBPATH |
| 13949 | |
| 13950 | # AIX 3 has no versioning support, so we append a major version to the name. |
| 13951 | soname_spec='$libname$release$shared_ext$major' |
| 13952 | ;; |
| 13953 | |
| 13954 | aix[4-9]*) |
| 13955 | version_type=linux # correct to gnu/linux during the next big refactor |
| 13956 | need_lib_prefix=no |
| 13957 | need_version=no |
| 13958 | hardcode_into_libs=yes |
| 13959 | if testscip-shell system . . test. ia64 = "$host_cpu"; then |
| 13960 | # AIX 5 supports IA64 |
| 13961 | library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' |
| 13962 | shlibpath_var=LD_LIBRARY_PATH |
| 13963 | else |
| 13964 | # With GCC up to 2.95.x, collect2 would create an import file |
| 13965 | # for dependence libraries. The import file would start with |
| 13966 | # the line '#! .'. This would cause the generated library to |
| 13967 | # depend on '.', always an invalid library. This was fixed in |
| 13968 | # development snapshots of GCC prior to 3.0. |
| 13969 | case $host_os in |
| 13970 | aix4 | aix4.[01] | aix4.[01].*) |
| 13971 | if { echoscip-shell system . . echo. '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
| 13972 | echoscip-shell system . . echo. ' yes ' |
| 13973 | echoscip-shell system . . echo. '#endif'; } | $CC -E - | $GREP yes > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 13974 | : |
| 13975 | else |
| 13976 | can_build_shared=no |
| 13977 | fi |
| 13978 | ;; |
| 13979 | esac |
| 13980 | # Using Import Files as archive members, it is possible to support |
| 13981 | # filename-based versioning of shared library archives on AIX. While |
| 13982 | # this would work for both with and without runtime linking, it will |
| 13983 | # prevent static linking of such archives. So we do filename-based |
| 13984 | # shared library versioning with .so extension only, which is used |
| 13985 | # when both runtime linking and shared linking is enabled. |
| 13986 | # Unfortunately, runtime linking may impact performance, so we do |
| 13987 | # not want this to be the default eventually. Also, we use the |
| 13988 | # versioned .so libs for executables only if there is the -brtl |
| 13989 | # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. |
| 13990 | # To allow for filename-based versioning support, we need to create |
| 13991 | # libNAME.so.V as an archive file, containing: |
| 13992 | # *) an Import File, referring to the versioned filename of the |
| 13993 | # archive as well as the shared archive member, telling the |
| 13994 | # bitwidth (32 or 64) of that shared object, and providing the |
| 13995 | # list of exported symbols of that shared object, eventually |
| 13996 | # decorated with the 'weak' keyword |
| 13997 | # *) the shared object with the F_LOADONLY flag set, to really avoid |
| 13998 | # it being seen by the linker. |
| 13999 | # At run time we better use the real file rather than another symlink, |
| 14000 | # but for link time we create the symlink libNAME.so -> libNAME.so.V |
| 14001 | |
| 14002 | case $with_aix_soname,$aix_use_runtimelinking in |
| 14003 | # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct |
| 14004 | # soname into executable. Probably we can add versioning support to |
| 14005 | # collect2, so additional links can be useful in future. |
| 14006 | aix,yes) # traditional libtool |
| 14007 | dynamic_linker='AIX unversionable lib.so' |
| 14008 | # If using run time linking (on AIX 4.2 or later) use lib<name>.so |
| 14009 | # instead of lib<name>.a to let people know that these are not |
| 14010 | # typical AIX shared libraries. |
| 14011 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14012 | ;; |
| 14013 | aix,no) # traditional AIX only |
| 14014 | dynamic_linker='AIX lib.a(lib.so.V)' |
| 14015 | # We preserve .a as extension for shared libraries through AIX4.2 |
| 14016 | # and later when we are not doing run time linking. |
| 14017 | library_names_spec='$libname$release.a $libname.a' |
| 14018 | soname_spec='$libname$release$shared_ext$major' |
| 14019 | ;; |
| 14020 | svr4,*) # full svr4 only |
| 14021 | dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" |
| 14022 | library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
| 14023 | # We do not specify a path in Import Files, so LIBPATH fires. |
| 14024 | shlibpath_overrides_runpath=yes |
| 14025 | ;; |
| 14026 | *,yes) # both, prefer svr4 |
| 14027 | dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" |
| 14028 | library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
| 14029 | # unpreferred sharedlib libNAME.a needs extra handling |
| 14030 | postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' |
| 14031 | postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' |
| 14032 | # We do not specify a path in Import Files, so LIBPATH fires. |
| 14033 | shlibpath_overrides_runpath=yes |
| 14034 | ;; |
| 14035 | *,no) # both, prefer aix |
| 14036 | dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" |
| 14037 | library_names_spec='$libname$release.a $libname.a' |
| 14038 | soname_spec='$libname$release$shared_ext$major' |
| 14039 | # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling |
| 14040 | postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' |
| 14041 | postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' |
| 14042 | ;; |
| 14043 | esac |
| 14044 | shlibpath_var=LIBPATH |
| 14045 | fi |
| 14046 | ;; |
| 14047 | |
| 14048 | amigaos*) |
| 14049 | case $host_cpu in |
| 14050 | powerpc) |
| 14051 | # Since July 2007 AmigaOS4 officially supports .so libraries. |
| 14052 | # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
| 14053 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14054 | ;; |
| 14055 | m68k) |
| 14056 | library_names_spec='$libname.ixlibrary $libname.a' |
| 14057 | # Create ${libname}_ixlibrary.a entries in /sys/libs. |
| 14058 | finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
| 14059 | ;; |
| 14060 | esac |
| 14061 | ;; |
| 14062 | |
| 14063 | beos*) |
| 14064 | library_names_spec='$libname$shared_ext' |
| 14065 | dynamic_linker="$host_os ld.so" |
| 14066 | shlibpath_var=LIBRARY_PATH |
| 14067 | ;; |
| 14068 | |
| 14069 | bsdi[45]*) |
| 14070 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14071 | need_version=no |
| 14072 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14073 | soname_spec='$libname$release$shared_ext$major' |
| 14074 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
| 14075 | shlibpath_var=LD_LIBRARY_PATH |
| 14076 | sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib`." |
| 14077 | sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/libscip-shell filesystem . . `/shlib /usr/lib /usr/local/lib`." |
| 14078 | # the default ld.so.conf also contains /usr/contrib/lib and |
| 14079 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
| 14080 | # libtool to hard-code these into programs |
| 14081 | ;; |
| 14082 | |
| 14083 | cygwin* | mingw* | pw32* | cegcc*) |
| 14084 | version_type=windows |
| 14085 | shrext_cmds=.dll |
| 14086 | need_version=no |
| 14087 | need_lib_prefix=no |
| 14088 | |
| 14089 | case $GCC,$cc_basename in |
| 14090 | yes,*) |
| 14091 | # gcc |
| 14092 | library_names_spec='$libname.dll.a' |
| 14093 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 14094 | postinstall_cmds='base_file=`basename \$file`~ |
| 14095 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 14096 | dldir=$destdir/`dirname \$dlpath`~ |
| 14097 | test -d \$dldir || mkdir -p \$dldir~ |
| 14098 | $install_prog $dir/$dlname \$dldir/$dlname~ |
| 14099 | chmod a+x \$dldir/$dlname~ |
| 14100 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 14101 | eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 14102 | fi' |
| 14103 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 14104 | dlpath=$dir/\$dldll~ |
| 14105 | $RM \$dlpath' |
| 14106 | shlibpath_overrides_runpath=yes |
| 14107 | |
| 14108 | case $host_os in |
| 14109 | cygwin*) |
| 14110 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
| 14111 | soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 14112 | |
| 14113 | sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
| 14114 | ;; |
| 14115 | mingw* | cegcc*) |
| 14116 | # MinGW DLLs use traditional 'lib' prefix |
| 14117 | soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 14118 | ;; |
| 14119 | pw32*) |
| 14120 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
| 14121 | library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 14122 | ;; |
| 14123 | esac |
| 14124 | dynamic_linker='Win32 ld.exe' |
| 14125 | ;; |
| 14126 | |
| 14127 | *,cl* | *,icl*) |
| 14128 | # Native MSVC or ICC |
| 14129 | libname_spec='$name' |
| 14130 | soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 14131 | library_names_spec='$libname.dll.lib' |
| 14132 | |
| 14133 | case $build_os in |
| 14134 | mingw*) |
| 14135 | sys_lib_search_path_spec= |
| 14136 | lt_save_ifs=$IFS |
| 14137 | IFS=';' |
| 14138 | for lt_path in $LIB |
| 14139 | do |
| 14140 | IFS=$lt_save_ifs |
| 14141 | # Let DOS variable expansion print the short 8.3 style file name. |
| 14142 | lt_path=`cd "$lt_path" 2>/dev/nullscip-shell filesystem . . `/dev/null`. && cmd //C "for %i in (".") do @echo %~si"` |
| 14143 | sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
| 14144 | done |
| 14145 | IFS=$lt_save_ifs |
| 14146 | # Convert to MSYS style. |
| 14147 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
| 14148 | ;; |
| 14149 | cygwin*) |
| 14150 | # Convert to unix form, then to dos form, then back to unix form |
| 14151 | # but this time dos style (no spaces!) so that the unix form looks |
| 14152 | # like /cygdrive/c/PROGRA~1:/cygdr... |
| 14153 | sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
| 14154 | sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 14155 | sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 14156 | ;; |
| 14157 | *) |
| 14158 | sys_lib_search_path_spec=$LIB |
| 14159 | if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 14160 | # It is most probably a Windows format PATH. |
| 14161 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
| 14162 | else |
| 14163 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 14164 | fi |
| 14165 | # FIXME: find the short name or the path components, as spaces are |
| 14166 | # common. (e.g. "Program Files" -> "PROGRA~1") |
| 14167 | ;; |
| 14168 | esac |
| 14169 | |
| 14170 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 14171 | postinstall_cmds='base_file=`basename \$file`~ |
| 14172 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 14173 | dldir=$destdir/`dirname \$dlpath`~ |
| 14174 | test -d \$dldir || mkdir -p \$dldir~ |
| 14175 | $install_prog $dir/$dlname \$dldir/$dlname' |
| 14176 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 14177 | dlpath=$dir/\$dldll~ |
| 14178 | $RM \$dlpath' |
| 14179 | shlibpath_overrides_runpath=yes |
| 14180 | dynamic_linker='Win32 link.exe' |
| 14181 | ;; |
| 14182 | |
| 14183 | *) |
| 14184 | # Assume MSVC and ICC wrapper |
| 14185 | library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' |
| 14186 | dynamic_linker='Win32 ld.exe' |
| 14187 | ;; |
| 14188 | esac |
| 14189 | # FIXME: first we should search . and the directory the executable is in |
| 14190 | shlibpath_var=PATH |
| 14191 | ;; |
| 14192 | |
| 14193 | darwin* | rhapsody*) |
| 14194 | dynamic_linker="$host_os dyld" |
| 14195 | version_type=darwin |
| 14196 | need_lib_prefix=no |
| 14197 | need_version=no |
| 14198 | library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' |
| 14199 | soname_spec='$libname$release$major$shared_ext' |
| 14200 | shlibpath_overrides_runpath=yes |
| 14201 | shlibpath_var=DYLD_LIBRARY_PATH |
| 14202 | shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
| 14203 | |
| 14204 | sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
| 14205 | sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/libscip-shell filesystem . . `/usr/local/lib /lib /usr/lib`.' |
| 14206 | ;; |
| 14207 | |
| 14208 | dgux*) |
| 14209 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14210 | need_lib_prefix=no |
| 14211 | need_version=no |
| 14212 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14213 | soname_spec='$libname$release$shared_ext$major' |
| 14214 | shlibpath_var=LD_LIBRARY_PATH |
| 14215 | ;; |
| 14216 | |
| 14217 | freebsd* | dragonfly* | midnightbsd*) |
| 14218 | # DragonFly does not have aout. When/if they implement a new |
| 14219 | # versioning mechanism, adjust this. |
| 14220 | if testscip-shell system . . test. -x /usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.; then |
| 14221 | objformat=`/usr/bin/objformatscip-shell filesystem . . `/usr/bin/objformat`.` |
| 14222 | else |
| 14223 | case $host_os in |
| 14224 | freebsd[23].*) objformat=aout ;; |
| 14225 | *) objformat=elf ;; |
| 14226 | esac |
| 14227 | fi |
| 14228 | version_type=freebsd-$objformat |
| 14229 | case $version_type in |
| 14230 | freebsd-elf*) |
| 14231 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14232 | soname_spec='$libname$release$shared_ext$major' |
| 14233 | need_version=no |
| 14234 | need_lib_prefix=no |
| 14235 | ;; |
| 14236 | freebsd-*) |
| 14237 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 14238 | need_version=yes |
| 14239 | ;; |
| 14240 | esac |
| 14241 | shlibpath_var=LD_LIBRARY_PATH |
| 14242 | case $host_os in |
| 14243 | freebsd2.*) |
| 14244 | shlibpath_overrides_runpath=yes |
| 14245 | ;; |
| 14246 | freebsd3.[01]* | freebsdelf3.[01]*) |
| 14247 | shlibpath_overrides_runpath=yes |
| 14248 | hardcode_into_libs=yes |
| 14249 | ;; |
| 14250 | freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
| 14251 | freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
| 14252 | shlibpath_overrides_runpath=no |
| 14253 | hardcode_into_libs=yes |
| 14254 | ;; |
| 14255 | *) # from 4.6 on, and DragonFly |
| 14256 | shlibpath_overrides_runpath=yes |
| 14257 | hardcode_into_libs=yes |
| 14258 | ;; |
| 14259 | esac |
| 14260 | ;; |
| 14261 | |
| 14262 | haiku*) |
| 14263 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14264 | need_lib_prefix=no |
| 14265 | need_version=no |
| 14266 | dynamic_linker="$host_os runtime_loader" |
| 14267 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14268 | soname_spec='$libname$release$shared_ext$major' |
| 14269 | shlibpath_var=LIBRARY_PATH |
| 14270 | shlibpath_overrides_runpath=no |
| 14271 | sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/libscip-shell filesystem . . `/boot/home/config/lib /boot/common/lib /boot/system/lib`.' |
| 14272 | hardcode_into_libs=yes |
| 14273 | ;; |
| 14274 | |
| 14275 | hpux9* | hpux10* | hpux11*) |
| 14276 | # Give a soname corresponding to the major version so that dld.sl refuses to |
| 14277 | # link against other versions. |
| 14278 | version_type=sunos |
| 14279 | need_lib_prefix=no |
| 14280 | need_version=no |
| 14281 | case $host_cpu in |
| 14282 | ia64*) |
| 14283 | shrext_cmds='.so' |
| 14284 | hardcode_into_libs=yes |
| 14285 | dynamic_linker="$host_os dld.so" |
| 14286 | shlibpath_var=LD_LIBRARY_PATH |
| 14287 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 14288 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14289 | soname_spec='$libname$release$shared_ext$major' |
| 14290 | if testscip-shell system . . test. 32 = "$HPUX_IA64_MODE"; then |
| 14291 | sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/libscip-shell filesystem . . `/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib`." |
| 14292 | sys_lib_dlsearch_path_spec=/usr/lib/hpux32scip-shell filesystem . . `/usr/lib/hpux32`. |
| 14293 | else |
| 14294 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64 /usr/local/lib/hpux64`." |
| 14295 | sys_lib_dlsearch_path_spec=/usr/lib/hpux64scip-shell filesystem . . `/usr/lib/hpux64`. |
| 14296 | fi |
| 14297 | ;; |
| 14298 | hppa*64*) |
| 14299 | shrext_cmds='.sl' |
| 14300 | hardcode_into_libs=yes |
| 14301 | dynamic_linker="$host_os dld.sl" |
| 14302 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
| 14303 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 14304 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14305 | soname_spec='$libname$release$shared_ext$major' |
| 14306 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64scip-shell filesystem . . `/usr/lib/pa20_64 /usr/ccs/lib/pa20_64`." |
| 14307 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 14308 | ;; |
| 14309 | *) |
| 14310 | shrext_cmds='.sl' |
| 14311 | dynamic_linker="$host_os dld.sl" |
| 14312 | shlibpath_var=SHLIB_PATH |
| 14313 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
| 14314 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14315 | soname_spec='$libname$release$shared_ext$major' |
| 14316 | ;; |
| 14317 | esac |
| 14318 | # HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
| 14319 | postinstall_cmds='chmod 555 $lib' |
| 14320 | # or fails outright, so override atomically: |
| 14321 | install_override_mode=555 |
| 14322 | ;; |
| 14323 | |
| 14324 | interix[3-9]*) |
| 14325 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14326 | need_lib_prefix=no |
| 14327 | need_version=no |
| 14328 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14329 | soname_spec='$libname$release$shared_ext$major' |
| 14330 | dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
| 14331 | shlibpath_var=LD_LIBRARY_PATH |
| 14332 | shlibpath_overrides_runpath=no |
| 14333 | hardcode_into_libs=yes |
| 14334 | ;; |
| 14335 | |
| 14336 | irix5* | irix6* | nonstopux*) |
| 14337 | case $host_os in |
| 14338 | nonstopux*) version_type=nonstopux ;; |
| 14339 | *) |
| 14340 | if testscip-shell system . . test. yes = "$lt_cv_prog_gnu_ld"; then |
| 14341 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14342 | else |
| 14343 | version_type=irix |
| 14344 | fi ;; |
| 14345 | esac |
| 14346 | need_lib_prefix=no |
| 14347 | need_version=no |
| 14348 | soname_spec='$libname$release$shared_ext$major' |
| 14349 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' |
| 14350 | case $host_os in |
| 14351 | irix5* | nonstopux*) |
| 14352 | libsuff= shlibsuff= |
| 14353 | ;; |
| 14354 | *) |
| 14355 | case $LD in # libtool.m4 will add one of these switches to LD |
| 14356 | *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
| 14357 | libsuff= shlibsuff= libmagic=32-bit;; |
| 14358 | *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
| 14359 | libsuff=32 shlibsuff=N32 libmagic=N32;; |
| 14360 | *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
| 14361 | libsuff=64 shlibsuff=64 libmagic=64-bit;; |
| 14362 | *) libsuff= shlibsuff= libmagic=never-match;; |
| 14363 | esac |
| 14364 | ;; |
| 14365 | esac |
| 14366 | shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
| 14367 | shlibpath_overrides_runpath=no |
| 14368 | sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" |
| 14369 | sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" |
| 14370 | hardcode_into_libs=yes |
| 14371 | ;; |
| 14372 | |
| 14373 | # No shared lib support for Linux oldld, aout, or coff. |
| 14374 | linux*oldld* | linux*aout* | linux*coff*) |
| 14375 | dynamic_linker=no |
| 14376 | ;; |
| 14377 | |
| 14378 | linux*android*) |
| 14379 | version_type=none # Android doesn't support versioned libraries. |
| 14380 | need_lib_prefix=no |
| 14381 | need_version=no |
| 14382 | library_names_spec='$libname$release$shared_ext' |
| 14383 | soname_spec='$libname$release$shared_ext' |
| 14384 | finish_cmds= |
| 14385 | shlibpath_var=LD_LIBRARY_PATH |
| 14386 | shlibpath_overrides_runpath=yes |
| 14387 | |
| 14388 | # This implies no fast_install, which is unacceptable. |
| 14389 | # Some rework will be needed to allow for fast_install |
| 14390 | # before this can be enabled. |
| 14391 | hardcode_into_libs=yes |
| 14392 | |
| 14393 | dynamic_linker='Android linker' |
| 14394 | # Don't embed -rpath directories since the linker doesn't support them. |
| 14395 | hardcode_libdir_flag_spec='-L$libdir' |
| 14396 | ;; |
| 14397 | |
| 14398 | # This must be glibc/ELF. |
| 14399 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 14400 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14401 | need_lib_prefix=no |
| 14402 | need_version=no |
| 14403 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14404 | soname_spec='$libname$release$shared_ext$major' |
| 14405 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
| 14406 | shlibpath_var=LD_LIBRARY_PATH |
| 14407 | shlibpath_overrides_runpath=no |
| 14408 | |
| 14409 | # Some binutils ld are patched to set DT_RUNPATH |
| 14410 | if testscip-shell system . . test. ${lt_cv_shlibpath_overrides_runpath+y} |
| 14411 | then : |
| 14412 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14413 | else $as_nop |
| 14414 | lt_cv_shlibpath_overrides_runpath=no |
| 14415 | save_LDFLAGS=$LDFLAGS |
| 14416 | save_libdir=$libdir |
| 14417 | eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
| 14418 | LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
| 14419 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14420 | /* end confdefs.h. */ |
| 14421 | |
| 14422 | int |
| 14423 | main (void) |
| 14424 | { |
| 14425 | |
| 14426 | ; |
| 14427 | return 0; |
| 14428 | } |
| 14429 | _ACEOF |
| 14430 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 14431 | then : |
| 14432 | if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. "RUNPATH.*$libdir" >/dev/nullscip-shell filesystem . . `/dev/null`. |
| 14433 | then : |
| 14434 | lt_cv_shlibpath_overrides_runpath=yes |
| 14435 | fi |
| 14436 | fi |
| 14437 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 14438 | conftest$ac_exeext conftest.$ac_ext |
| 14439 | LDFLAGS=$save_LDFLAGS |
| 14440 | libdir=$save_libdir |
| 14441 | |
| 14442 | fi |
| 14443 | |
| 14444 | shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
| 14445 | |
| 14446 | # This implies no fast_install, which is unacceptable. |
| 14447 | # Some rework will be needed to allow for fast_install |
| 14448 | # before this can be enabled. |
| 14449 | hardcode_into_libs=yes |
| 14450 | |
| 14451 | # Ideally, we could use ldconfig to report *all* directores which are |
| 14452 | # searched for libraries, however this is still not possible. Aside from not |
| 14453 | # being certain /sbin/ldconfig is available, command |
| 14454 | # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
| 14455 | # even though it is searched at run-time. Try to do the best guess by |
| 14456 | # appending ld.so.conf contents (and includes) to the search path. |
| 14457 | if testscip-shell system . . test. -f /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`.; then |
| 14458 | lt_ld_extra=`awkscip-shell system . . awk. '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }scip-shell filesystem . . `/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }`.' < /etc/ld.so.confscip-shell filesystem . . `/etc/ld.so.conf`. | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | trscip-shell system . . tr. '\n' ' '` |
| 14459 | sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 14460 | fi |
| 14461 | |
| 14462 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
| 14463 | # powerpc, because MkLinux only supported shared libraries with the |
| 14464 | # GNU dynamic linker. Since this was broken with cross compilers, |
| 14465 | # most powerpc-linux boxes support dynamic linking these days and |
| 14466 | # people can always --disable-shared, the test was removed, and we |
| 14467 | # assume the GNU/Linux dynamic linker is in use. |
| 14468 | dynamic_linker='GNU/Linux ld.so' |
| 14469 | ;; |
| 14470 | |
| 14471 | netbsdelf*-gnu) |
| 14472 | version_type=linux |
| 14473 | need_lib_prefix=no |
| 14474 | need_version=no |
| 14475 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 14476 | soname_spec='${libname}${release}${shared_ext}$major' |
| 14477 | shlibpath_var=LD_LIBRARY_PATH |
| 14478 | shlibpath_overrides_runpath=no |
| 14479 | hardcode_into_libs=yes |
| 14480 | dynamic_linker='NetBSD ld.elf_so' |
| 14481 | ;; |
| 14482 | |
| 14483 | netbsd*) |
| 14484 | version_type=sunos |
| 14485 | need_lib_prefix=no |
| 14486 | need_version=no |
| 14487 | if echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__ >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 14488 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 14489 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 14490 | dynamic_linker='NetBSD (a.out) ld.so' |
| 14491 | else |
| 14492 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14493 | soname_spec='$libname$release$shared_ext$major' |
| 14494 | dynamic_linker='NetBSD ld.elf_so' |
| 14495 | fi |
| 14496 | shlibpath_var=LD_LIBRARY_PATH |
| 14497 | shlibpath_overrides_runpath=yes |
| 14498 | hardcode_into_libs=yes |
| 14499 | ;; |
| 14500 | |
| 14501 | newsos6) |
| 14502 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14503 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14504 | shlibpath_var=LD_LIBRARY_PATH |
| 14505 | shlibpath_overrides_runpath=yes |
| 14506 | ;; |
| 14507 | |
| 14508 | *nto* | *qnx*) |
| 14509 | version_type=qnx |
| 14510 | need_lib_prefix=no |
| 14511 | need_version=no |
| 14512 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14513 | soname_spec='$libname$release$shared_ext$major' |
| 14514 | shlibpath_var=LD_LIBRARY_PATH |
| 14515 | shlibpath_overrides_runpath=no |
| 14516 | hardcode_into_libs=yes |
| 14517 | dynamic_linker='ldqnx.so' |
| 14518 | ;; |
| 14519 | |
| 14520 | openbsd* | bitrig*) |
| 14521 | version_type=sunos |
| 14522 | sys_lib_dlsearch_path_spec=/usr/libscip-shell filesystem . . `/usr/lib`. |
| 14523 | need_lib_prefix=no |
| 14524 | if testscip-shell system . . test. -z "`echoscip-shell system . . echo. __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 14525 | need_version=no |
| 14526 | else |
| 14527 | need_version=yes |
| 14528 | fi |
| 14529 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 14530 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 14531 | shlibpath_var=LD_LIBRARY_PATH |
| 14532 | shlibpath_overrides_runpath=yes |
| 14533 | ;; |
| 14534 | |
| 14535 | os2*) |
| 14536 | libname_spec='$name' |
| 14537 | version_type=windows |
| 14538 | shrext_cmds=.dll |
| 14539 | need_version=no |
| 14540 | need_lib_prefix=no |
| 14541 | # OS/2 can only load a DLL with a base name of 8 characters or less. |
| 14542 | soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; |
| 14543 | v=$($ECHO $release$versuffix | tr -d .-); |
| 14544 | n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); |
| 14545 | $ECHO $n$v`$shared_ext' |
| 14546 | library_names_spec='${libname}_dll.$libext' |
| 14547 | dynamic_linker='OS/2 ld.exe' |
| 14548 | shlibpath_var=BEGINLIBPATH |
| 14549 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/libscip-shell filesystem . . `/lib /usr/lib /usr/local/lib`." |
| 14550 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 14551 | postinstall_cmds='base_file=`basename \$file`~ |
| 14552 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ |
| 14553 | dldir=$destdir/`dirname \$dlpath`~ |
| 14554 | test -d \$dldir || mkdir -p \$dldir~ |
| 14555 | $install_prog $dir/$dlname \$dldir/$dlname~ |
| 14556 | chmod a+x \$dldir/$dlname~ |
| 14557 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 14558 | eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 14559 | fi' |
| 14560 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ |
| 14561 | dlpath=$dir/\$dldll~ |
| 14562 | $RM \$dlpath' |
| 14563 | ;; |
| 14564 | |
| 14565 | osf3* | osf4* | osf5*) |
| 14566 | version_type=osf |
| 14567 | need_lib_prefix=no |
| 14568 | need_version=no |
| 14569 | soname_spec='$libname$release$shared_ext$major' |
| 14570 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14571 | shlibpath_var=LD_LIBRARY_PATH |
| 14572 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlibscip-shell filesystem . . `/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib`." |
| 14573 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 14574 | ;; |
| 14575 | |
| 14576 | rdos*) |
| 14577 | dynamic_linker=no |
| 14578 | ;; |
| 14579 | |
| 14580 | solaris*) |
| 14581 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14582 | need_lib_prefix=no |
| 14583 | need_version=no |
| 14584 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14585 | soname_spec='$libname$release$shared_ext$major' |
| 14586 | shlibpath_var=LD_LIBRARY_PATH |
| 14587 | shlibpath_overrides_runpath=yes |
| 14588 | hardcode_into_libs=yes |
| 14589 | # ldd complains unless libraries are executable |
| 14590 | postinstall_cmds='chmod +x $lib' |
| 14591 | ;; |
| 14592 | |
| 14593 | sunos4*) |
| 14594 | version_type=sunos |
| 14595 | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 14596 | finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
| 14597 | shlibpath_var=LD_LIBRARY_PATH |
| 14598 | shlibpath_overrides_runpath=yes |
| 14599 | if testscip-shell system . . test. yes = "$with_gnu_ld"; then |
| 14600 | need_lib_prefix=no |
| 14601 | fi |
| 14602 | need_version=yes |
| 14603 | ;; |
| 14604 | |
| 14605 | sysv4 | sysv4.3*) |
| 14606 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14607 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14608 | soname_spec='$libname$release$shared_ext$major' |
| 14609 | shlibpath_var=LD_LIBRARY_PATH |
| 14610 | case $host_vendor in |
| 14611 | sni) |
| 14612 | shlibpath_overrides_runpath=no |
| 14613 | need_lib_prefix=no |
| 14614 | runpath_var=LD_RUN_PATH |
| 14615 | ;; |
| 14616 | siemens) |
| 14617 | need_lib_prefix=no |
| 14618 | ;; |
| 14619 | motorola) |
| 14620 | need_lib_prefix=no |
| 14621 | need_version=no |
| 14622 | shlibpath_overrides_runpath=no |
| 14623 | sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/libscip-shell filesystem . . `/lib /usr/lib /usr/ccs/lib`.' |
| 14624 | ;; |
| 14625 | esac |
| 14626 | ;; |
| 14627 | |
| 14628 | sysv4*MP*) |
| 14629 | if testscip-shell system . . test. -d /usr/necscip-shell filesystem . . `/usr/nec`.; then |
| 14630 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14631 | library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' |
| 14632 | soname_spec='$libname$shared_ext.$major' |
| 14633 | shlibpath_var=LD_LIBRARY_PATH |
| 14634 | fi |
| 14635 | ;; |
| 14636 | |
| 14637 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 14638 | version_type=sco |
| 14639 | need_lib_prefix=no |
| 14640 | need_version=no |
| 14641 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' |
| 14642 | soname_spec='$libname$release$shared_ext$major' |
| 14643 | shlibpath_var=LD_LIBRARY_PATH |
| 14644 | shlibpath_overrides_runpath=yes |
| 14645 | hardcode_into_libs=yes |
| 14646 | if testscip-shell system . . test. yes = "$with_gnu_ld"; then |
| 14647 | sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /libscip-shell filesystem . . `/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib`.' |
| 14648 | else |
| 14649 | sys_lib_search_path_spec='/usr/ccs/lib /usr/libscip-shell filesystem . . `/usr/ccs/lib /usr/lib`.' |
| 14650 | case $host_os in |
| 14651 | sco3.2v5*) |
| 14652 | sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
| 14653 | ;; |
| 14654 | esac |
| 14655 | fi |
| 14656 | sys_lib_dlsearch_path_spec='/usr/libscip-shell filesystem . . `/usr/lib`.' |
| 14657 | ;; |
| 14658 | |
| 14659 | tpf*) |
| 14660 | # TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
| 14661 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14662 | need_lib_prefix=no |
| 14663 | need_version=no |
| 14664 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14665 | shlibpath_var=LD_LIBRARY_PATH |
| 14666 | shlibpath_overrides_runpath=no |
| 14667 | hardcode_into_libs=yes |
| 14668 | ;; |
| 14669 | |
| 14670 | uts4*) |
| 14671 | version_type=linux # correct to gnu/linux during the next big refactor |
| 14672 | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 14673 | soname_spec='$libname$release$shared_ext$major' |
| 14674 | shlibpath_var=LD_LIBRARY_PATH |
| 14675 | ;; |
| 14676 | |
| 14677 | *) |
| 14678 | dynamic_linker=no |
| 14679 | ;; |
| 14680 | esac |
| 14681 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
| 14682 | printfscip-shell system . . printf. "%s\n" "$dynamic_linker" >&6; } |
| 14683 | testscip-shell system . . test. no = "$dynamic_linker" && can_build_shared=no |
| 14684 | |
| 14685 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 14686 | if testscip-shell system . . test. yes = "$GCC"; then |
| 14687 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 14688 | fi |
| 14689 | |
| 14690 | if testscip-shell system . . test. set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
| 14691 | sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
| 14692 | fi |
| 14693 | |
| 14694 | if testscip-shell system . . test. set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
| 14695 | sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
| 14696 | fi |
| 14697 | |
| 14698 | # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... |
| 14699 | configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec |
| 14700 | |
| 14701 | # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code |
| 14702 | func_munge_path_listscip-shell shell rsyslog 8.2604.0-4 func_munge_path_list(). sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" |
| 14703 | |
| 14704 | # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool |
| 14705 | configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH |
| 14706 | |
| 14707 | |
| 14708 | |
| 14709 | |
| 14710 | |
| 14711 | |
| 14712 | |
| 14713 | |
| 14714 | |
| 14715 | |
| 14716 | |
| 14717 | |
| 14718 | |
| 14719 | |
| 14720 | |
| 14721 | |
| 14722 | |
| 14723 | |
| 14724 | |
| 14725 | |
| 14726 | |
| 14727 | |
| 14728 | |
| 14729 | |
| 14730 | |
| 14731 | |
| 14732 | |
| 14733 | |
| 14734 | |
| 14735 | |
| 14736 | |
| 14737 | |
| 14738 | |
| 14739 | |
| 14740 | |
| 14741 | |
| 14742 | |
| 14743 | |
| 14744 | |
| 14745 | |
| 14746 | |
| 14747 | |
| 14748 | |
| 14749 | |
| 14750 | |
| 14751 | |
| 14752 | |
| 14753 | |
| 14754 | |
| 14755 | |
| 14756 | |
| 14757 | |
| 14758 | |
| 14759 | |
| 14760 | |
| 14761 | |
| 14762 | |
| 14763 | |
| 14764 | |
| 14765 | |
| 14766 | |
| 14767 | |
| 14768 | |
| 14769 | |
| 14770 | |
| 14771 | |
| 14772 | |
| 14773 | |
| 14774 | |
| 14775 | |
| 14776 | |
| 14777 | |
| 14778 | |
| 14779 | |
| 14780 | |
| 14781 | |
| 14782 | |
| 14783 | |
| 14784 | |
| 14785 | |
| 14786 | |
| 14787 | |
| 14788 | |
| 14789 | |
| 14790 | |
| 14791 | |
| 14792 | |
| 14793 | |
| 14794 | |
| 14795 | |
| 14796 | |
| 14797 | |
| 14798 | |
| 14799 | |
| 14800 | |
| 14801 | |
| 14802 | |
| 14803 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
| 14804 | printfscip-shell system . . printf. %s "checking how to hardcode library paths into programs... " >&6; } |
| 14805 | hardcode_action= |
| 14806 | if testscip-shell system . . test. -n "$hardcode_libdir_flag_spec" || |
| 14807 | testscip-shell system . . test. -n "$runpath_var" || |
| 14808 | testscip-shell system . . test. yes = "$hardcode_automatic"; then |
| 14809 | |
| 14810 | # We can hardcode non-existent directories. |
| 14811 | if testscip-shell system . . test. no != "$hardcode_direct" && |
| 14812 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
| 14813 | # have to relink, otherwise we might link with an installed library |
| 14814 | # when we should be linking with a yet-to-be-installed one |
| 14815 | ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && |
| 14816 | testscip-shell system . . test. no != "$hardcode_minus_L"; then |
| 14817 | # Linking always hardcodes the temporary library directory. |
| 14818 | hardcode_action=relink |
| 14819 | else |
| 14820 | # We can link without hardcoding, and we can hardcode nonexisting dirs. |
| 14821 | hardcode_action=immediate |
| 14822 | fi |
| 14823 | else |
| 14824 | # We cannot hardcode anything, or else we can only hardcode existing |
| 14825 | # directories. |
| 14826 | hardcode_action=unsupported |
| 14827 | fi |
| 14828 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
| 14829 | printfscip-shell system . . printf. "%s\n" "$hardcode_action" >&6; } |
| 14830 | |
| 14831 | if testscip-shell system . . test. relink = "$hardcode_action" || |
| 14832 | testscip-shell system . . test. yes = "$inherit_rpath"; then |
| 14833 | # Fast installation is not supported |
| 14834 | enable_fast_install=no |
| 14835 | elif testscip-shell system . . test. yes = "$shlibpath_overrides_runpath" || |
| 14836 | testscip-shell system . . test. no = "$enable_shared"; then |
| 14837 | # Fast installation is not necessary |
| 14838 | enable_fast_install=needless |
| 14839 | fi |
| 14840 | |
| 14841 | |
| 14842 | |
| 14843 | |
| 14844 | |
| 14845 | |
| 14846 | if testscip-shell system . . test. yes != "$enable_dlopen"; then |
| 14847 | enable_dlopen=unknown |
| 14848 | enable_dlopen_self=unknown |
| 14849 | enable_dlopen_self_static=unknown |
| 14850 | else |
| 14851 | lt_cv_dlopen=no |
| 14852 | lt_cv_dlopen_libs= |
| 14853 | |
| 14854 | case $host_os in |
| 14855 | beos*) |
| 14856 | lt_cv_dlopen=load_add_on |
| 14857 | lt_cv_dlopen_libs= |
| 14858 | lt_cv_dlopen_self=yes |
| 14859 | ;; |
| 14860 | |
| 14861 | mingw* | pw32* | cegcc*) |
| 14862 | lt_cv_dlopen=LoadLibrary |
| 14863 | lt_cv_dlopen_libs= |
| 14864 | ;; |
| 14865 | |
| 14866 | cygwin*) |
| 14867 | lt_cv_dlopen=dlopen |
| 14868 | lt_cv_dlopen_libs= |
| 14869 | ;; |
| 14870 | |
| 14871 | darwin*) |
| 14872 | # if libdl is installed we need to link against it |
| 14873 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 14874 | printfscip-shell system . . printf. %s "checking for dlopen in -ldl... " >&6; } |
| 14875 | if testscip-shell system . . test. ${ac_cv_lib_dl_dlopen+y} |
| 14876 | then : |
| 14877 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14878 | else $as_nop |
| 14879 | ac_check_lib_save_LIBS=$LIBS |
| 14880 | LIBS="-ldl $LIBS" |
| 14881 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14882 | /* end confdefs.h. */ |
| 14883 | |
| 14884 | /* Override any GCC internal prototype to avoid an error. |
| 14885 | Use char because int might match the return type of a GCC |
| 14886 | builtin and then its argument prototype would still apply. */ |
| 14887 | char dlopen (); |
| 14888 | int |
| 14889 | main (void) |
| 14890 | { |
| 14891 | return dlopen (); |
| 14892 | ; |
| 14893 | return 0; |
| 14894 | } |
| 14895 | _ACEOF |
| 14896 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 14897 | then : |
| 14898 | ac_cv_lib_dl_dlopen=yes |
| 14899 | else $as_nop |
| 14900 | ac_cv_lib_dl_dlopen=no |
| 14901 | fi |
| 14902 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 14903 | conftest$ac_exeext conftest.$ac_ext |
| 14904 | LIBS=$ac_check_lib_save_LIBS |
| 14905 | fi |
| 14906 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 14907 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } |
| 14908 | if testscip-shell system . . test. "x$ac_cv_lib_dl_dlopen" = xyes |
| 14909 | then : |
| 14910 | lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
| 14911 | else $as_nop |
| 14912 | |
| 14913 | lt_cv_dlopen=dyld |
| 14914 | lt_cv_dlopen_libs= |
| 14915 | lt_cv_dlopen_self=yes |
| 14916 | |
| 14917 | fi |
| 14918 | |
| 14919 | ;; |
| 14920 | |
| 14921 | tpf*) |
| 14922 | # Don't try to run any link tests for TPF. We know it's impossible |
| 14923 | # because TPF is a cross-compiler, and we know how we open DSOs. |
| 14924 | lt_cv_dlopen=dlopen |
| 14925 | lt_cv_dlopen_libs= |
| 14926 | lt_cv_dlopen_self=no |
| 14927 | ;; |
| 14928 | |
| 14929 | *) |
| 14930 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "shl_load" "ac_cv_func_shl_load" |
| 14931 | if testscip-shell system . . test. "x$ac_cv_func_shl_load" = xyes |
| 14932 | then : |
| 14933 | lt_cv_dlopen=shl_load |
| 14934 | else $as_nop |
| 14935 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 14936 | printfscip-shell system . . printf. %s "checking for shl_load in -ldld... " >&6; } |
| 14937 | if testscip-shell system . . test. ${ac_cv_lib_dld_shl_load+y} |
| 14938 | then : |
| 14939 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14940 | else $as_nop |
| 14941 | ac_check_lib_save_LIBS=$LIBS |
| 14942 | LIBS="-ldld $LIBS" |
| 14943 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14944 | /* end confdefs.h. */ |
| 14945 | |
| 14946 | /* Override any GCC internal prototype to avoid an error. |
| 14947 | Use char because int might match the return type of a GCC |
| 14948 | builtin and then its argument prototype would still apply. */ |
| 14949 | char shl_load (); |
| 14950 | int |
| 14951 | main (void) |
| 14952 | { |
| 14953 | return shl_load (); |
| 14954 | ; |
| 14955 | return 0; |
| 14956 | } |
| 14957 | _ACEOF |
| 14958 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 14959 | then : |
| 14960 | ac_cv_lib_dld_shl_load=yes |
| 14961 | else $as_nop |
| 14962 | ac_cv_lib_dld_shl_load=no |
| 14963 | fi |
| 14964 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 14965 | conftest$ac_exeext conftest.$ac_ext |
| 14966 | LIBS=$ac_check_lib_save_LIBS |
| 14967 | fi |
| 14968 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 14969 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dld_shl_load" >&6; } |
| 14970 | if testscip-shell system . . test. "x$ac_cv_lib_dld_shl_load" = xyes |
| 14971 | then : |
| 14972 | lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld |
| 14973 | else $as_nop |
| 14974 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "dlopen" "ac_cv_func_dlopen" |
| 14975 | if testscip-shell system . . test. "x$ac_cv_func_dlopen" = xyes |
| 14976 | then : |
| 14977 | lt_cv_dlopen=dlopen |
| 14978 | else $as_nop |
| 14979 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 14980 | printfscip-shell system . . printf. %s "checking for dlopen in -ldl... " >&6; } |
| 14981 | if testscip-shell system . . test. ${ac_cv_lib_dl_dlopen+y} |
| 14982 | then : |
| 14983 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14984 | else $as_nop |
| 14985 | ac_check_lib_save_LIBS=$LIBS |
| 14986 | LIBS="-ldl $LIBS" |
| 14987 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14988 | /* end confdefs.h. */ |
| 14989 | |
| 14990 | /* Override any GCC internal prototype to avoid an error. |
| 14991 | Use char because int might match the return type of a GCC |
| 14992 | builtin and then its argument prototype would still apply. */ |
| 14993 | char dlopen (); |
| 14994 | int |
| 14995 | main (void) |
| 14996 | { |
| 14997 | return dlopen (); |
| 14998 | ; |
| 14999 | return 0; |
| 15000 | } |
| 15001 | _ACEOF |
| 15002 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 15003 | then : |
| 15004 | ac_cv_lib_dl_dlopen=yes |
| 15005 | else $as_nop |
| 15006 | ac_cv_lib_dl_dlopen=no |
| 15007 | fi |
| 15008 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 15009 | conftest$ac_exeext conftest.$ac_ext |
| 15010 | LIBS=$ac_check_lib_save_LIBS |
| 15011 | fi |
| 15012 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 15013 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } |
| 15014 | if testscip-shell system . . test. "x$ac_cv_lib_dl_dlopen" = xyes |
| 15015 | then : |
| 15016 | lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
| 15017 | else $as_nop |
| 15018 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 15019 | printfscip-shell system . . printf. %s "checking for dlopen in -lsvld... " >&6; } |
| 15020 | if testscip-shell system . . test. ${ac_cv_lib_svld_dlopen+y} |
| 15021 | then : |
| 15022 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15023 | else $as_nop |
| 15024 | ac_check_lib_save_LIBS=$LIBS |
| 15025 | LIBS="-lsvld $LIBS" |
| 15026 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15027 | /* end confdefs.h. */ |
| 15028 | |
| 15029 | /* Override any GCC internal prototype to avoid an error. |
| 15030 | Use char because int might match the return type of a GCC |
| 15031 | builtin and then its argument prototype would still apply. */ |
| 15032 | char dlopen (); |
| 15033 | int |
| 15034 | main (void) |
| 15035 | { |
| 15036 | return dlopen (); |
| 15037 | ; |
| 15038 | return 0; |
| 15039 | } |
| 15040 | _ACEOF |
| 15041 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 15042 | then : |
| 15043 | ac_cv_lib_svld_dlopen=yes |
| 15044 | else $as_nop |
| 15045 | ac_cv_lib_svld_dlopen=no |
| 15046 | fi |
| 15047 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 15048 | conftest$ac_exeext conftest.$ac_ext |
| 15049 | LIBS=$ac_check_lib_save_LIBS |
| 15050 | fi |
| 15051 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 15052 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_svld_dlopen" >&6; } |
| 15053 | if testscip-shell system . . test. "x$ac_cv_lib_svld_dlopen" = xyes |
| 15054 | then : |
| 15055 | lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld |
| 15056 | else $as_nop |
| 15057 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 15058 | printfscip-shell system . . printf. %s "checking for dld_link in -ldld... " >&6; } |
| 15059 | if testscip-shell system . . test. ${ac_cv_lib_dld_dld_link+y} |
| 15060 | then : |
| 15061 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15062 | else $as_nop |
| 15063 | ac_check_lib_save_LIBS=$LIBS |
| 15064 | LIBS="-ldld $LIBS" |
| 15065 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15066 | /* end confdefs.h. */ |
| 15067 | |
| 15068 | /* Override any GCC internal prototype to avoid an error. |
| 15069 | Use char because int might match the return type of a GCC |
| 15070 | builtin and then its argument prototype would still apply. */ |
| 15071 | char dld_link (); |
| 15072 | int |
| 15073 | main (void) |
| 15074 | { |
| 15075 | return dld_link (); |
| 15076 | ; |
| 15077 | return 0; |
| 15078 | } |
| 15079 | _ACEOF |
| 15080 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 15081 | then : |
| 15082 | ac_cv_lib_dld_dld_link=yes |
| 15083 | else $as_nop |
| 15084 | ac_cv_lib_dld_dld_link=no |
| 15085 | fi |
| 15086 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 15087 | conftest$ac_exeext conftest.$ac_ext |
| 15088 | LIBS=$ac_check_lib_save_LIBS |
| 15089 | fi |
| 15090 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 15091 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dld_dld_link" >&6; } |
| 15092 | if testscip-shell system . . test. "x$ac_cv_lib_dld_dld_link" = xyes |
| 15093 | then : |
| 15094 | lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld |
| 15095 | fi |
| 15096 | |
| 15097 | |
| 15098 | fi |
| 15099 | |
| 15100 | |
| 15101 | fi |
| 15102 | |
| 15103 | |
| 15104 | fi |
| 15105 | |
| 15106 | |
| 15107 | fi |
| 15108 | |
| 15109 | |
| 15110 | fi |
| 15111 | |
| 15112 | ;; |
| 15113 | esac |
| 15114 | |
| 15115 | if testscip-shell system . . test. no = "$lt_cv_dlopen"; then |
| 15116 | enable_dlopen=no |
| 15117 | else |
| 15118 | enable_dlopen=yes |
| 15119 | fi |
| 15120 | |
| 15121 | case $lt_cv_dlopen in |
| 15122 | dlopen) |
| 15123 | save_CPPFLAGS=$CPPFLAGS |
| 15124 | testscip-shell system . . test. yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
| 15125 | |
| 15126 | save_LDFLAGS=$LDFLAGS |
| 15127 | wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
| 15128 | |
| 15129 | save_LIBS=$LIBS |
| 15130 | LIBS="$lt_cv_dlopen_libs $LIBS" |
| 15131 | |
| 15132 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
| 15133 | printfscip-shell system . . printf. %s "checking whether a program can dlopen itself... " >&6; } |
| 15134 | if testscip-shell system . . test. ${lt_cv_dlopen_self+y} |
| 15135 | then : |
| 15136 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15137 | else $as_nop |
| 15138 | if testscip-shell system . . test. yes = "$cross_compiling"; then : |
| 15139 | lt_cv_dlopen_self=cross |
| 15140 | else |
| 15141 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 15142 | lt_status=$lt_dlunknown |
| 15143 | catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF |
| 15144 | #line $LINENO "configure" |
| 15145 | #include "confdefs.h" |
| 15146 | |
| 15147 | #if HAVE_DLFCN_H |
| 15148 | #include <dlfcn.h> |
| 15149 | #endif |
| 15150 | |
| 15151 | #include <stdio.h> |
| 15152 | |
| 15153 | #ifdef RTLD_GLOBAL |
| 15154 | # define LT_DLGLOBAL RTLD_GLOBAL |
| 15155 | #else |
| 15156 | # ifdef DL_GLOBAL |
| 15157 | # define LT_DLGLOBAL DL_GLOBAL |
| 15158 | # else |
| 15159 | # define LT_DLGLOBAL 0 |
| 15160 | # endif |
| 15161 | #endif |
| 15162 | |
| 15163 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
| 15164 | find out it does not work in some platform. */ |
| 15165 | #ifndef LT_DLLAZY_OR_NOW |
| 15166 | # ifdef RTLD_LAZY |
| 15167 | # define LT_DLLAZY_OR_NOW RTLD_LAZY |
| 15168 | # else |
| 15169 | # ifdef DL_LAZY |
| 15170 | # define LT_DLLAZY_OR_NOW DL_LAZY |
| 15171 | # else |
| 15172 | # ifdef RTLD_NOW |
| 15173 | # define LT_DLLAZY_OR_NOW RTLD_NOW |
| 15174 | # else |
| 15175 | # ifdef DL_NOW |
| 15176 | # define LT_DLLAZY_OR_NOW DL_NOW |
| 15177 | # else |
| 15178 | # define LT_DLLAZY_OR_NOW 0 |
| 15179 | # endif |
| 15180 | # endif |
| 15181 | # endif |
| 15182 | # endif |
| 15183 | #endif |
| 15184 | |
| 15185 | /* When -fvisibility=hidden is used, assume the code has been annotated |
| 15186 | correspondingly for the symbols needed. */ |
| 15187 | #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 15188 | int fnord () __attribute__((visibility("default"))); |
| 15189 | #endif |
| 15190 | |
| 15191 | int fnord () { return 42; } |
| 15192 | int main () |
| 15193 | { |
| 15194 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 15195 | int status = $lt_dlunknown; |
| 15196 | |
| 15197 | if (self) |
| 15198 | { |
| 15199 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 15200 | else |
| 15201 | { |
| 15202 | if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 15203 | else puts (dlerror ()); |
| 15204 | } |
| 15205 | /* dlclose (self); */ |
| 15206 | } |
| 15207 | else |
| 15208 | puts (dlerror ()); |
| 15209 | |
| 15210 | return status; |
| 15211 | } |
| 15212 | _LT_EOF |
| 15213 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 15214 | (eval $ac_link) 2>&5 |
| 15215 | ac_status=$? |
| 15216 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15217 | testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s "conftest$ac_exeext" 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 15218 | (./conftest; exit; ) >&5 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 15219 | lt_status=$? |
| 15220 | case x$lt_status in |
| 15221 | x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
| 15222 | x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
| 15223 | x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
| 15224 | esac |
| 15225 | else : |
| 15226 | # compilation failed |
| 15227 | lt_cv_dlopen_self=no |
| 15228 | fi |
| 15229 | fi |
| 15230 | rmscip-shell system . . rm. -fr conftest* |
| 15231 | |
| 15232 | |
| 15233 | fi |
| 15234 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
| 15235 | printfscip-shell system . . printf. "%s\n" "$lt_cv_dlopen_self" >&6; } |
| 15236 | |
| 15237 | if testscip-shell system . . test. yes = "$lt_cv_dlopen_self"; then |
| 15238 | wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
| 15239 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
| 15240 | printfscip-shell system . . printf. %s "checking whether a statically linked program can dlopen itself... " >&6; } |
| 15241 | if testscip-shell system . . test. ${lt_cv_dlopen_self_static+y} |
| 15242 | then : |
| 15243 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15244 | else $as_nop |
| 15245 | if testscip-shell system . . test. yes = "$cross_compiling"; then : |
| 15246 | lt_cv_dlopen_self_static=cross |
| 15247 | else |
| 15248 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 15249 | lt_status=$lt_dlunknown |
| 15250 | catscip-shell system . . cat. > conftest.$ac_ext <<_LT_EOF |
| 15251 | #line $LINENO "configure" |
| 15252 | #include "confdefs.h" |
| 15253 | |
| 15254 | #if HAVE_DLFCN_H |
| 15255 | #include <dlfcn.h> |
| 15256 | #endif |
| 15257 | |
| 15258 | #include <stdio.h> |
| 15259 | |
| 15260 | #ifdef RTLD_GLOBAL |
| 15261 | # define LT_DLGLOBAL RTLD_GLOBAL |
| 15262 | #else |
| 15263 | # ifdef DL_GLOBAL |
| 15264 | # define LT_DLGLOBAL DL_GLOBAL |
| 15265 | # else |
| 15266 | # define LT_DLGLOBAL 0 |
| 15267 | # endif |
| 15268 | #endif |
| 15269 | |
| 15270 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
| 15271 | find out it does not work in some platform. */ |
| 15272 | #ifndef LT_DLLAZY_OR_NOW |
| 15273 | # ifdef RTLD_LAZY |
| 15274 | # define LT_DLLAZY_OR_NOW RTLD_LAZY |
| 15275 | # else |
| 15276 | # ifdef DL_LAZY |
| 15277 | # define LT_DLLAZY_OR_NOW DL_LAZY |
| 15278 | # else |
| 15279 | # ifdef RTLD_NOW |
| 15280 | # define LT_DLLAZY_OR_NOW RTLD_NOW |
| 15281 | # else |
| 15282 | # ifdef DL_NOW |
| 15283 | # define LT_DLLAZY_OR_NOW DL_NOW |
| 15284 | # else |
| 15285 | # define LT_DLLAZY_OR_NOW 0 |
| 15286 | # endif |
| 15287 | # endif |
| 15288 | # endif |
| 15289 | # endif |
| 15290 | #endif |
| 15291 | |
| 15292 | /* When -fvisibility=hidden is used, assume the code has been annotated |
| 15293 | correspondingly for the symbols needed. */ |
| 15294 | #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 15295 | int fnord () __attribute__((visibility("default"))); |
| 15296 | #endif |
| 15297 | |
| 15298 | int fnord () { return 42; } |
| 15299 | int main () |
| 15300 | { |
| 15301 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 15302 | int status = $lt_dlunknown; |
| 15303 | |
| 15304 | if (self) |
| 15305 | { |
| 15306 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 15307 | else |
| 15308 | { |
| 15309 | if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 15310 | else puts (dlerror ()); |
| 15311 | } |
| 15312 | /* dlclose (self); */ |
| 15313 | } |
| 15314 | else |
| 15315 | puts (dlerror ()); |
| 15316 | |
| 15317 | return status; |
| 15318 | } |
| 15319 | _LT_EOF |
| 15320 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 15321 | (eval $ac_link) 2>&5 |
| 15322 | ac_status=$? |
| 15323 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15324 | testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s "conftest$ac_exeext" 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 15325 | (./conftest; exit; ) >&5 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 15326 | lt_status=$? |
| 15327 | case x$lt_status in |
| 15328 | x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
| 15329 | x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
| 15330 | x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
| 15331 | esac |
| 15332 | else : |
| 15333 | # compilation failed |
| 15334 | lt_cv_dlopen_self_static=no |
| 15335 | fi |
| 15336 | fi |
| 15337 | rmscip-shell system . . rm. -fr conftest* |
| 15338 | |
| 15339 | |
| 15340 | fi |
| 15341 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
| 15342 | printfscip-shell system . . printf. "%s\n" "$lt_cv_dlopen_self_static" >&6; } |
| 15343 | fi |
| 15344 | |
| 15345 | CPPFLAGS=$save_CPPFLAGS |
| 15346 | LDFLAGS=$save_LDFLAGS |
| 15347 | LIBS=$save_LIBS |
| 15348 | ;; |
| 15349 | esac |
| 15350 | |
| 15351 | case $lt_cv_dlopen_self in |
| 15352 | yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
| 15353 | *) enable_dlopen_self=unknown ;; |
| 15354 | esac |
| 15355 | |
| 15356 | case $lt_cv_dlopen_self_static in |
| 15357 | yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
| 15358 | *) enable_dlopen_self_static=unknown ;; |
| 15359 | esac |
| 15360 | fi |
| 15361 | |
| 15362 | |
| 15363 | |
| 15364 | |
| 15365 | |
| 15366 | |
| 15367 | |
| 15368 | |
| 15369 | |
| 15370 | |
| 15371 | |
| 15372 | |
| 15373 | |
| 15374 | |
| 15375 | |
| 15376 | |
| 15377 | |
| 15378 | striplib= |
| 15379 | old_striplib= |
| 15380 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
| 15381 | printfscip-shell system . . printf. %s "checking whether stripping libraries is possible... " >&6; } |
| 15382 | if testscip-shell system . . test. -z "$STRIP"; then |
| 15383 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 15384 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 15385 | else |
| 15386 | if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 15387 | old_striplib="$STRIP --strip-debug" |
| 15388 | striplib="$STRIP --strip-unneeded" |
| 15389 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 15390 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 15391 | else |
| 15392 | case $host_os in |
| 15393 | darwin*) |
| 15394 | # FIXME - insert some real tests, host_os isn't really good enough |
| 15395 | striplib="$STRIP -x" |
| 15396 | old_striplib="$STRIP -S" |
| 15397 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 15398 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 15399 | ;; |
| 15400 | freebsd*) |
| 15401 | if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 15402 | old_striplib="$STRIP --strip-debug" |
| 15403 | striplib="$STRIP --strip-unneeded" |
| 15404 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 15405 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 15406 | else |
| 15407 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 15408 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 15409 | fi |
| 15410 | ;; |
| 15411 | *) |
| 15412 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 15413 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 15414 | ;; |
| 15415 | esac |
| 15416 | fi |
| 15417 | fi |
| 15418 | |
| 15419 | |
| 15420 | |
| 15421 | |
| 15422 | |
| 15423 | |
| 15424 | |
| 15425 | |
| 15426 | |
| 15427 | |
| 15428 | |
| 15429 | |
| 15430 | # Report what library types will actually be built |
| 15431 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
| 15432 | printfscip-shell system . . printf. %s "checking if libtool supports shared libraries... " >&6; } |
| 15433 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
| 15434 | printfscip-shell system . . printf. "%s\n" "$can_build_shared" >&6; } |
| 15435 | |
| 15436 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
| 15437 | printfscip-shell system . . printf. %s "checking whether to build shared libraries... " >&6; } |
| 15438 | testscip-shell system . . test. no = "$can_build_shared" && enable_shared=no |
| 15439 | |
| 15440 | # On AIX, shared libraries and static libraries use the same namespace, and |
| 15441 | # are all built from PIC. |
| 15442 | case $host_os in |
| 15443 | aix3*) |
| 15444 | testscip-shell system . . test. yes = "$enable_shared" && enable_static=no |
| 15445 | if testscip-shell system . . test. -n "$RANLIB"; then |
| 15446 | archive_cmds="$archive_cmds~\$RANLIB \$lib" |
| 15447 | postinstall_cmds='$RANLIB $lib' |
| 15448 | fi |
| 15449 | ;; |
| 15450 | |
| 15451 | aix[4-9]*) |
| 15452 | if testscip-shell system . . test. ia64 != "$host_cpu"; then |
| 15453 | case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in |
| 15454 | yes,aix,yes) ;; # shared object as lib.so file only |
| 15455 | yes,svr4,*) ;; # shared object as lib.so archive member only |
| 15456 | yes,*) enable_static=no ;; # shared object in lib.a archive as well |
| 15457 | esac |
| 15458 | fi |
| 15459 | ;; |
| 15460 | esac |
| 15461 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
| 15462 | printfscip-shell system . . printf. "%s\n" "$enable_shared" >&6; } |
| 15463 | |
| 15464 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
| 15465 | printfscip-shell system . . printf. %s "checking whether to build static libraries... " >&6; } |
| 15466 | # Make sure either enable_shared or enable_static is yes. |
| 15467 | testscip-shell system . . test. yes = "$enable_shared" || enable_static=yes |
| 15468 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
| 15469 | printfscip-shell system . . printf. "%s\n" "$enable_static" >&6; } |
| 15470 | |
| 15471 | |
| 15472 | |
| 15473 | |
| 15474 | fi |
| 15475 | ac_ext=c |
| 15476 | ac_cpp='$CPP $CPPFLAGS' |
| 15477 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 15478 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 15479 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 15480 | |
| 15481 | CC=$lt_save_CC |
| 15482 | |
| 15483 | |
| 15484 | |
| 15485 | |
| 15486 | |
| 15487 | |
| 15488 | |
| 15489 | |
| 15490 | |
| 15491 | |
| 15492 | |
| 15493 | |
| 15494 | |
| 15495 | |
| 15496 | |
| 15497 | ac_config_commands="$ac_config_commands libtool" |
| 15498 | |
| 15499 | |
| 15500 | |
| 15501 | |
| 15502 | # Only expand once: |
| 15503 | |
| 15504 | |
| 15505 | |
| 15506 | |
| 15507 | if testscip-shell system . . test. "$GCC" = "yes" |
| 15508 | then |
| 15509 | |
| 15510 | |
| 15511 | |
| 15512 | |
| 15513 | |
| 15514 | # $is_release = (.git directory does not exist) |
| 15515 | if testscip-shell system . . test. -d ${srcdir}/.git || (testscip-shell system . . test. -f ${srcdir}/.git && grepscip-shell system . . grep. \.git/worktrees ${srcdir}/.git) |
| 15516 | then : |
| 15517 | ax_is_release=no |
| 15518 | else $as_nop |
| 15519 | ax_is_release=yes |
| 15520 | fi |
| 15521 | |
| 15522 | |
| 15523 | |
| 15524 | |
| 15525 | # C support is enabled by default. |
| 15526 | |
| 15527 | |
| 15528 | # Only enable C++ support if AC_PROG_CXX is called. The redefinition of |
| 15529 | # AC_PROG_CXX is so that a fatal error is emitted if this macro is called |
| 15530 | # before AC_PROG_CXX, which would otherwise cause no C++ warnings to be |
| 15531 | # checked. |
| 15532 | |
| 15533 | |
| 15534 | |
| 15535 | |
| 15536 | # Default value for IS-RELEASE is $ax_is_release |
| 15537 | ax_compiler_flags_is_release=$ax_is_release |
| 15538 | |
| 15539 | # Check whether --enable-compile-warnings was given. |
| 15540 | if testscip-shell system . . test. ${enable_compile_warnings+y} |
| 15541 | then : |
| 15542 | enableval=$enable_compile_warnings; |
| 15543 | else $as_nop |
| 15544 | if testscip-shell system . . test. "$ax_compiler_flags_is_release" = "yes" |
| 15545 | then : |
| 15546 | enable_compile_warnings="yes" |
| 15547 | else $as_nop |
| 15548 | enable_compile_warnings="error" |
| 15549 | fi |
| 15550 | fi |
| 15551 | |
| 15552 | # Check whether --enable-Werror was given. |
| 15553 | if testscip-shell system . . test. ${enable_Werror+y} |
| 15554 | then : |
| 15555 | enableval=$enable_Werror; |
| 15556 | else $as_nop |
| 15557 | enable_Werror=maybe |
| 15558 | fi |
| 15559 | |
| 15560 | |
| 15561 | # Return the user's chosen warning level |
| 15562 | if testscip-shell system . . test. "$enable_Werror" = "no" -a \ |
| 15563 | "$enable_compile_warnings" = "error" |
| 15564 | then : |
| 15565 | |
| 15566 | enable_compile_warnings="yes" |
| 15567 | |
| 15568 | fi |
| 15569 | |
| 15570 | ax_enable_compile_warnings=$enable_compile_warnings |
| 15571 | |
| 15572 | |
| 15573 | |
| 15574 | |
| 15575 | |
| 15576 | |
| 15577 | |
| 15578 | |
| 15579 | |
| 15580 | |
| 15581 | # Variable names |
| 15582 | |
| 15583 | |
| 15584 | ac_ext=c |
| 15585 | ac_cpp='$CPP $CPPFLAGS' |
| 15586 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 15587 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 15588 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 15589 | |
| 15590 | |
| 15591 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15592 | /* end confdefs.h. */ |
| 15593 | |
| 15594 | #ifndef __cplusplus |
| 15595 | #error "no C++" |
| 15596 | #endif |
| 15597 | int |
| 15598 | main (void) |
| 15599 | { |
| 15600 | |
| 15601 | ; |
| 15602 | return 0; |
| 15603 | } |
| 15604 | _ACEOF |
| 15605 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 15606 | then : |
| 15607 | ax_compiler_cxx=yes; |
| 15608 | else $as_nop |
| 15609 | ax_compiler_cxx=no; |
| 15610 | fi |
| 15611 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15612 | |
| 15613 | # Always pass -Werror=unknown-warning-option to get Clang to fail on bad |
| 15614 | # flags, otherwise they are always appended to the warn_cflags variable, and |
| 15615 | # Clang warns on them for every compilation unit. |
| 15616 | # If this is passed to GCC, it will explode, so the flag must be enabled |
| 15617 | # conditionally. |
| 15618 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5 |
| 15619 | printfscip-shell system . . printf. %s "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; } |
| 15620 | if testscip-shell system . . test. ${ax_cv_check_cflags___Werror_unknown_warning_option+y} |
| 15621 | then : |
| 15622 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15623 | else $as_nop |
| 15624 | |
| 15625 | ax_check_save_flags=$CFLAGS |
| 15626 | CFLAGS="$CFLAGS -Werror=unknown-warning-option" |
| 15627 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15628 | /* end confdefs.h. */ |
| 15629 | |
| 15630 | int |
| 15631 | main (void) |
| 15632 | { |
| 15633 | |
| 15634 | ; |
| 15635 | return 0; |
| 15636 | } |
| 15637 | _ACEOF |
| 15638 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 15639 | then : |
| 15640 | ax_cv_check_cflags___Werror_unknown_warning_option=yes |
| 15641 | else $as_nop |
| 15642 | ax_cv_check_cflags___Werror_unknown_warning_option=no |
| 15643 | fi |
| 15644 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15645 | CFLAGS=$ax_check_save_flags |
| 15646 | fi |
| 15647 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5 |
| 15648 | printfscip-shell system . . printf. "%s\n" "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; } |
| 15649 | if testscip-shell system . . test. "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes |
| 15650 | then : |
| 15651 | |
| 15652 | ax_compiler_flags_test="-Werror=unknown-warning-option" |
| 15653 | |
| 15654 | else $as_nop |
| 15655 | |
| 15656 | ax_compiler_flags_test="" |
| 15657 | |
| 15658 | fi |
| 15659 | |
| 15660 | |
| 15661 | # Check that -Wno-suggest-attribute=format is supported |
| 15662 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wno-suggest-attribute=format" >&5 |
| 15663 | printfscip-shell system . . printf. %s "checking whether C compiler accepts -Wno-suggest-attribute=format... " >&6; } |
| 15664 | if testscip-shell system . . test. ${ax_cv_check_cflags___Wno_suggest_attribute_format+y} |
| 15665 | then : |
| 15666 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15667 | else $as_nop |
| 15668 | |
| 15669 | ax_check_save_flags=$CFLAGS |
| 15670 | CFLAGS="$CFLAGS -Wno-suggest-attribute=format" |
| 15671 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15672 | /* end confdefs.h. */ |
| 15673 | |
| 15674 | int |
| 15675 | main (void) |
| 15676 | { |
| 15677 | |
| 15678 | ; |
| 15679 | return 0; |
| 15680 | } |
| 15681 | _ACEOF |
| 15682 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 15683 | then : |
| 15684 | ax_cv_check_cflags___Wno_suggest_attribute_format=yes |
| 15685 | else $as_nop |
| 15686 | ax_cv_check_cflags___Wno_suggest_attribute_format=no |
| 15687 | fi |
| 15688 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15689 | CFLAGS=$ax_check_save_flags |
| 15690 | fi |
| 15691 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wno_suggest_attribute_format" >&5 |
| 15692 | printfscip-shell system . . printf. "%s\n" "$ax_cv_check_cflags___Wno_suggest_attribute_format" >&6; } |
| 15693 | if testscip-shell system . . test. "x$ax_cv_check_cflags___Wno_suggest_attribute_format" = xyes |
| 15694 | then : |
| 15695 | |
| 15696 | ax_compiler_no_suggest_attribute_flags="-Wno-suggest-attribute=format" |
| 15697 | |
| 15698 | else $as_nop |
| 15699 | |
| 15700 | ax_compiler_no_suggest_attribute_flags="" |
| 15701 | |
| 15702 | fi |
| 15703 | |
| 15704 | |
| 15705 | # Base flags |
| 15706 | |
| 15707 | |
| 15708 | |
| 15709 | |
| 15710 | for flag in -fno-strict-aliasing ; do |
| 15711 | as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` |
| 15712 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15713 | printfscip-shell system . . printf. %s "checking whether C compiler accepts $flag... " >&6; } |
| 15714 | if eval test \${$as_CACHEVAR+y} |
| 15715 | then : |
| 15716 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15717 | else $as_nop |
| 15718 | |
| 15719 | ax_check_save_flags=$CFLAGS |
| 15720 | CFLAGS="$CFLAGS $ax_compiler_flags_test $flag" |
| 15721 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15722 | /* end confdefs.h. */ |
| 15723 | |
| 15724 | int |
| 15725 | main (void) |
| 15726 | { |
| 15727 | |
| 15728 | ; |
| 15729 | return 0; |
| 15730 | } |
| 15731 | _ACEOF |
| 15732 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 15733 | then : |
| 15734 | eval "$as_CACHEVAR=yes" |
| 15735 | else $as_nop |
| 15736 | eval "$as_CACHEVAR=no" |
| 15737 | fi |
| 15738 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15739 | CFLAGS=$ax_check_save_flags |
| 15740 | fi |
| 15741 | eval ac_res=\$$as_CACHEVAR |
| 15742 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15743 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 15744 | if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15745 | then : |
| 15746 | |
| 15747 | if testscip-shell system . . test. ${WARN_CFLAGS+y} |
| 15748 | then : |
| 15749 | |
| 15750 | case " $WARN_CFLAGS " in #( |
| 15751 | *" $flag "*) : |
| 15752 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5 |
| 15753 | (: WARN_CFLAGS already contains $flag) 2>&5 |
| 15754 | ac_status=$? |
| 15755 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15756 | testscip-shell system . . test. $ac_status = 0; } ;; #( |
| 15757 | *) : |
| 15758 | |
| 15759 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). WARN_CFLAGS " $flag" |
| 15760 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 |
| 15761 | (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 |
| 15762 | ac_status=$? |
| 15763 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15764 | testscip-shell system . . test. $ac_status = 0; } |
| 15765 | ;; |
| 15766 | esac |
| 15767 | |
| 15768 | else $as_nop |
| 15769 | |
| 15770 | WARN_CFLAGS=$flag |
| 15771 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 |
| 15772 | (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 |
| 15773 | ac_status=$? |
| 15774 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15775 | testscip-shell system . . test. $ac_status = 0; } |
| 15776 | |
| 15777 | fi |
| 15778 | |
| 15779 | else $as_nop |
| 15780 | : |
| 15781 | fi |
| 15782 | |
| 15783 | done |
| 15784 | |
| 15785 | |
| 15786 | if testscip-shell system . . test. "$ax_enable_compile_warnings" != "no" |
| 15787 | then : |
| 15788 | |
| 15789 | if testscip-shell system . . test. "$ax_compiler_cxx" = "no" ; then |
| 15790 | # C-only flags. Warn in C++ |
| 15791 | |
| 15792 | |
| 15793 | |
| 15794 | |
| 15795 | for flag in -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init ; do |
| 15796 | as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` |
| 15797 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15798 | printfscip-shell system . . printf. %s "checking whether C compiler accepts $flag... " >&6; } |
| 15799 | if eval test \${$as_CACHEVAR+y} |
| 15800 | then : |
| 15801 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15802 | else $as_nop |
| 15803 | |
| 15804 | ax_check_save_flags=$CFLAGS |
| 15805 | CFLAGS="$CFLAGS $ax_compiler_flags_test $flag" |
| 15806 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15807 | /* end confdefs.h. */ |
| 15808 | |
| 15809 | int |
| 15810 | main (void) |
| 15811 | { |
| 15812 | |
| 15813 | ; |
| 15814 | return 0; |
| 15815 | } |
| 15816 | _ACEOF |
| 15817 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 15818 | then : |
| 15819 | eval "$as_CACHEVAR=yes" |
| 15820 | else $as_nop |
| 15821 | eval "$as_CACHEVAR=no" |
| 15822 | fi |
| 15823 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15824 | CFLAGS=$ax_check_save_flags |
| 15825 | fi |
| 15826 | eval ac_res=\$$as_CACHEVAR |
| 15827 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15828 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 15829 | if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15830 | then : |
| 15831 | |
| 15832 | if testscip-shell system . . test. ${WARN_CFLAGS+y} |
| 15833 | then : |
| 15834 | |
| 15835 | case " $WARN_CFLAGS " in #( |
| 15836 | *" $flag "*) : |
| 15837 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5 |
| 15838 | (: WARN_CFLAGS already contains $flag) 2>&5 |
| 15839 | ac_status=$? |
| 15840 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15841 | testscip-shell system . . test. $ac_status = 0; } ;; #( |
| 15842 | *) : |
| 15843 | |
| 15844 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). WARN_CFLAGS " $flag" |
| 15845 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 |
| 15846 | (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 |
| 15847 | ac_status=$? |
| 15848 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15849 | testscip-shell system . . test. $ac_status = 0; } |
| 15850 | ;; |
| 15851 | esac |
| 15852 | |
| 15853 | else $as_nop |
| 15854 | |
| 15855 | WARN_CFLAGS=$flag |
| 15856 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 |
| 15857 | (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 |
| 15858 | ac_status=$? |
| 15859 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15860 | testscip-shell system . . test. $ac_status = 0; } |
| 15861 | |
| 15862 | fi |
| 15863 | |
| 15864 | else $as_nop |
| 15865 | : |
| 15866 | fi |
| 15867 | |
| 15868 | done |
| 15869 | |
| 15870 | fi |
| 15871 | |
| 15872 | # "yes" flags |
| 15873 | |
| 15874 | |
| 15875 | |
| 15876 | |
| 15877 | for flag in -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wredundant-decls -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wunused-parameter -Wmissing-field-initializers ; do |
| 15878 | as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` |
| 15879 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15880 | printfscip-shell system . . printf. %s "checking whether C compiler accepts $flag... " >&6; } |
| 15881 | if eval test \${$as_CACHEVAR+y} |
| 15882 | then : |
| 15883 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15884 | else $as_nop |
| 15885 | |
| 15886 | ax_check_save_flags=$CFLAGS |
| 15887 | CFLAGS="$CFLAGS $ax_compiler_flags_test $flag" |
| 15888 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15889 | /* end confdefs.h. */ |
| 15890 | |
| 15891 | int |
| 15892 | main (void) |
| 15893 | { |
| 15894 | |
| 15895 | ; |
| 15896 | return 0; |
| 15897 | } |
| 15898 | _ACEOF |
| 15899 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 15900 | then : |
| 15901 | eval "$as_CACHEVAR=yes" |
| 15902 | else $as_nop |
| 15903 | eval "$as_CACHEVAR=no" |
| 15904 | fi |
| 15905 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15906 | CFLAGS=$ax_check_save_flags |
| 15907 | fi |
| 15908 | eval ac_res=\$$as_CACHEVAR |
| 15909 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15910 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 15911 | if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15912 | then : |
| 15913 | |
| 15914 | if testscip-shell system . . test. ${WARN_CFLAGS+y} |
| 15915 | then : |
| 15916 | |
| 15917 | case " $WARN_CFLAGS " in #( |
| 15918 | *" $flag "*) : |
| 15919 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5 |
| 15920 | (: WARN_CFLAGS already contains $flag) 2>&5 |
| 15921 | ac_status=$? |
| 15922 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15923 | testscip-shell system . . test. $ac_status = 0; } ;; #( |
| 15924 | *) : |
| 15925 | |
| 15926 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). WARN_CFLAGS " $flag" |
| 15927 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 |
| 15928 | (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 |
| 15929 | ac_status=$? |
| 15930 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15931 | testscip-shell system . . test. $ac_status = 0; } |
| 15932 | ;; |
| 15933 | esac |
| 15934 | |
| 15935 | else $as_nop |
| 15936 | |
| 15937 | WARN_CFLAGS=$flag |
| 15938 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 |
| 15939 | (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 |
| 15940 | ac_status=$? |
| 15941 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15942 | testscip-shell system . . test. $ac_status = 0; } |
| 15943 | |
| 15944 | fi |
| 15945 | |
| 15946 | else $as_nop |
| 15947 | : |
| 15948 | fi |
| 15949 | |
| 15950 | done |
| 15951 | |
| 15952 | |
| 15953 | fi |
| 15954 | if testscip-shell system . . test. "$ax_enable_compile_warnings" = "error" |
| 15955 | then : |
| 15956 | |
| 15957 | # "error" flags; -Werror has to be appended unconditionally because |
| 15958 | # it's not possible to test for |
| 15959 | # |
| 15960 | # suggest-attribute=format is disabled because it gives too many false |
| 15961 | # positives |
| 15962 | |
| 15963 | if testscip-shell system . . test. ${WARN_CFLAGS+y} |
| 15964 | then : |
| 15965 | |
| 15966 | case " $WARN_CFLAGS " in #( |
| 15967 | *" -Werror "*) : |
| 15968 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains -Werror"; } >&5 |
| 15969 | (: WARN_CFLAGS already contains -Werror) 2>&5 |
| 15970 | ac_status=$? |
| 15971 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15972 | testscip-shell system . . test. $ac_status = 0; } ;; #( |
| 15973 | *) : |
| 15974 | |
| 15975 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). WARN_CFLAGS " -Werror" |
| 15976 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 |
| 15977 | (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 |
| 15978 | ac_status=$? |
| 15979 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15980 | testscip-shell system . . test. $ac_status = 0; } |
| 15981 | ;; |
| 15982 | esac |
| 15983 | |
| 15984 | else $as_nop |
| 15985 | |
| 15986 | WARN_CFLAGS=-Werror |
| 15987 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 |
| 15988 | (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 |
| 15989 | ac_status=$? |
| 15990 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15991 | testscip-shell system . . test. $ac_status = 0; } |
| 15992 | |
| 15993 | fi |
| 15994 | |
| 15995 | |
| 15996 | |
| 15997 | |
| 15998 | |
| 15999 | |
| 16000 | for flag in $ax_compiler_no_suggest_attribute_flags ; do |
| 16001 | as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` |
| 16002 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16003 | printfscip-shell system . . printf. %s "checking whether C compiler accepts $flag... " >&6; } |
| 16004 | if eval test \${$as_CACHEVAR+y} |
| 16005 | then : |
| 16006 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16007 | else $as_nop |
| 16008 | |
| 16009 | ax_check_save_flags=$CFLAGS |
| 16010 | CFLAGS="$CFLAGS $ax_compiler_flags_test $flag" |
| 16011 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16012 | /* end confdefs.h. */ |
| 16013 | |
| 16014 | int |
| 16015 | main (void) |
| 16016 | { |
| 16017 | |
| 16018 | ; |
| 16019 | return 0; |
| 16020 | } |
| 16021 | _ACEOF |
| 16022 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 16023 | then : |
| 16024 | eval "$as_CACHEVAR=yes" |
| 16025 | else $as_nop |
| 16026 | eval "$as_CACHEVAR=no" |
| 16027 | fi |
| 16028 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16029 | CFLAGS=$ax_check_save_flags |
| 16030 | fi |
| 16031 | eval ac_res=\$$as_CACHEVAR |
| 16032 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16033 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 16034 | if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16035 | then : |
| 16036 | |
| 16037 | if testscip-shell system . . test. ${WARN_CFLAGS+y} |
| 16038 | then : |
| 16039 | |
| 16040 | case " $WARN_CFLAGS " in #( |
| 16041 | *" $flag "*) : |
| 16042 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5 |
| 16043 | (: WARN_CFLAGS already contains $flag) 2>&5 |
| 16044 | ac_status=$? |
| 16045 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16046 | testscip-shell system . . test. $ac_status = 0; } ;; #( |
| 16047 | *) : |
| 16048 | |
| 16049 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). WARN_CFLAGS " $flag" |
| 16050 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 |
| 16051 | (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 |
| 16052 | ac_status=$? |
| 16053 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16054 | testscip-shell system . . test. $ac_status = 0; } |
| 16055 | ;; |
| 16056 | esac |
| 16057 | |
| 16058 | else $as_nop |
| 16059 | |
| 16060 | WARN_CFLAGS=$flag |
| 16061 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 |
| 16062 | (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 |
| 16063 | ac_status=$? |
| 16064 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16065 | testscip-shell system . . test. $ac_status = 0; } |
| 16066 | |
| 16067 | fi |
| 16068 | |
| 16069 | else $as_nop |
| 16070 | : |
| 16071 | fi |
| 16072 | |
| 16073 | done |
| 16074 | |
| 16075 | |
| 16076 | fi |
| 16077 | |
| 16078 | # In the flags below, when disabling specific flags, always add *both* |
| 16079 | # -Wno-foo and -Wno-error=foo. This fixes the situation where (for example) |
| 16080 | # we enable -Werror, disable a flag, and a build bot passes CFLAGS=-Wall, |
| 16081 | # which effectively turns that flag back on again as an error. |
| 16082 | for flag in $WARN_CFLAGS; do |
| 16083 | case $flag in #( |
| 16084 | -Wno-*=*) : |
| 16085 | ;; #( |
| 16086 | -Wno-*) : |
| 16087 | |
| 16088 | |
| 16089 | |
| 16090 | |
| 16091 | |
| 16092 | for flag in -Wno-error=$(printfscip-shell system . . printf. "%s\n" $flag | $SED 's/^-Wno-//'); do |
| 16093 | as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` |
| 16094 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16095 | printfscip-shell system . . printf. %s "checking whether C compiler accepts $flag... " >&6; } |
| 16096 | if eval test \${$as_CACHEVAR+y} |
| 16097 | then : |
| 16098 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16099 | else $as_nop |
| 16100 | |
| 16101 | ax_check_save_flags=$CFLAGS |
| 16102 | CFLAGS="$CFLAGS $ax_compiler_flags_test $flag" |
| 16103 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16104 | /* end confdefs.h. */ |
| 16105 | |
| 16106 | int |
| 16107 | main (void) |
| 16108 | { |
| 16109 | |
| 16110 | ; |
| 16111 | return 0; |
| 16112 | } |
| 16113 | _ACEOF |
| 16114 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 16115 | then : |
| 16116 | eval "$as_CACHEVAR=yes" |
| 16117 | else $as_nop |
| 16118 | eval "$as_CACHEVAR=no" |
| 16119 | fi |
| 16120 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16121 | CFLAGS=$ax_check_save_flags |
| 16122 | fi |
| 16123 | eval ac_res=\$$as_CACHEVAR |
| 16124 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16125 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 16126 | if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16127 | then : |
| 16128 | |
| 16129 | if testscip-shell system . . test. ${WARN_CFLAGS+y} |
| 16130 | then : |
| 16131 | |
| 16132 | case " $WARN_CFLAGS " in #( |
| 16133 | *" $flag "*) : |
| 16134 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5 |
| 16135 | (: WARN_CFLAGS already contains $flag) 2>&5 |
| 16136 | ac_status=$? |
| 16137 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16138 | testscip-shell system . . test. $ac_status = 0; } ;; #( |
| 16139 | *) : |
| 16140 | |
| 16141 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). WARN_CFLAGS " $flag" |
| 16142 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 |
| 16143 | (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 |
| 16144 | ac_status=$? |
| 16145 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16146 | testscip-shell system . . test. $ac_status = 0; } |
| 16147 | ;; |
| 16148 | esac |
| 16149 | |
| 16150 | else $as_nop |
| 16151 | |
| 16152 | WARN_CFLAGS=$flag |
| 16153 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 |
| 16154 | (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 |
| 16155 | ac_status=$? |
| 16156 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16157 | testscip-shell system . . test. $ac_status = 0; } |
| 16158 | |
| 16159 | fi |
| 16160 | |
| 16161 | else $as_nop |
| 16162 | : |
| 16163 | fi |
| 16164 | |
| 16165 | done |
| 16166 | |
| 16167 | ;; #( |
| 16168 | *) : |
| 16169 | ;; |
| 16170 | esac |
| 16171 | done |
| 16172 | |
| 16173 | ac_ext=c |
| 16174 | ac_cpp='$CPP $CPPFLAGS' |
| 16175 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 16176 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 16177 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 16178 | |
| 16179 | |
| 16180 | # Substitute the variables |
| 16181 | |
| 16182 | |
| 16183 | |
| 16184 | |
| 16185 | |
| 16186 | |
| 16187 | |
| 16188 | |
| 16189 | |
| 16190 | |
| 16191 | |
| 16192 | |
| 16193 | |
| 16194 | # Variable names |
| 16195 | |
| 16196 | |
| 16197 | # Always pass -Werror=unknown-warning-option to get Clang to fail on bad |
| 16198 | # flags, otherwise they are always appended to the warn_ldflags variable, |
| 16199 | # and Clang warns on them for every compilation unit. |
| 16200 | # If this is passed to GCC, it will explode, so the flag must be enabled |
| 16201 | # conditionally. |
| 16202 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5 |
| 16203 | printfscip-shell system . . printf. %s "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; } |
| 16204 | if testscip-shell system . . test. ${ax_cv_check_cflags___Werror_unknown_warning_option+y} |
| 16205 | then : |
| 16206 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16207 | else $as_nop |
| 16208 | |
| 16209 | ax_check_save_flags=$CFLAGS |
| 16210 | CFLAGS="$CFLAGS -Werror=unknown-warning-option" |
| 16211 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16212 | /* end confdefs.h. */ |
| 16213 | |
| 16214 | int |
| 16215 | main (void) |
| 16216 | { |
| 16217 | |
| 16218 | ; |
| 16219 | return 0; |
| 16220 | } |
| 16221 | _ACEOF |
| 16222 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 16223 | then : |
| 16224 | ax_cv_check_cflags___Werror_unknown_warning_option=yes |
| 16225 | else $as_nop |
| 16226 | ax_cv_check_cflags___Werror_unknown_warning_option=no |
| 16227 | fi |
| 16228 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16229 | CFLAGS=$ax_check_save_flags |
| 16230 | fi |
| 16231 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5 |
| 16232 | printfscip-shell system . . printf. "%s\n" "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; } |
| 16233 | if testscip-shell system . . test. "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes |
| 16234 | then : |
| 16235 | |
| 16236 | ax_compiler_flags_test="-Werror=unknown-warning-option" |
| 16237 | |
| 16238 | else $as_nop |
| 16239 | |
| 16240 | ax_compiler_flags_test="" |
| 16241 | |
| 16242 | fi |
| 16243 | |
| 16244 | |
| 16245 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--as-needed" >&5 |
| 16246 | printfscip-shell system . . printf. %s "checking whether the linker accepts -Wl,--as-needed... " >&6; } |
| 16247 | if testscip-shell system . . test. ${ax_cv_check_ldflags___Wl___as_needed+y} |
| 16248 | then : |
| 16249 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16250 | else $as_nop |
| 16251 | |
| 16252 | ax_check_save_flags=$LDFLAGS |
| 16253 | LDFLAGS="$LDFLAGS -Wl,--as-needed" |
| 16254 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16255 | /* end confdefs.h. */ |
| 16256 | |
| 16257 | int |
| 16258 | main (void) |
| 16259 | { |
| 16260 | |
| 16261 | ; |
| 16262 | return 0; |
| 16263 | } |
| 16264 | _ACEOF |
| 16265 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 16266 | then : |
| 16267 | ax_cv_check_ldflags___Wl___as_needed=yes |
| 16268 | else $as_nop |
| 16269 | ax_cv_check_ldflags___Wl___as_needed=no |
| 16270 | fi |
| 16271 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16272 | conftest$ac_exeext conftest.$ac_ext |
| 16273 | LDFLAGS=$ax_check_save_flags |
| 16274 | fi |
| 16275 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___as_needed" >&5 |
| 16276 | printfscip-shell system . . printf. "%s\n" "$ax_cv_check_ldflags___Wl___as_needed" >&6; } |
| 16277 | if testscip-shell system . . test. "x$ax_cv_check_ldflags___Wl___as_needed" = xyes |
| 16278 | then : |
| 16279 | |
| 16280 | |
| 16281 | |
| 16282 | |
| 16283 | |
| 16284 | for flag in -Wl,--as-needed; do |
| 16285 | as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` |
| 16286 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5 |
| 16287 | printfscip-shell system . . printf. %s "checking whether the linker accepts $flag... " >&6; } |
| 16288 | if eval test \${$as_CACHEVAR+y} |
| 16289 | then : |
| 16290 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16291 | else $as_nop |
| 16292 | |
| 16293 | ax_check_save_flags=$LDFLAGS |
| 16294 | LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag" |
| 16295 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16296 | /* end confdefs.h. */ |
| 16297 | |
| 16298 | int |
| 16299 | main (void) |
| 16300 | { |
| 16301 | |
| 16302 | ; |
| 16303 | return 0; |
| 16304 | } |
| 16305 | _ACEOF |
| 16306 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 16307 | then : |
| 16308 | eval "$as_CACHEVAR=yes" |
| 16309 | else $as_nop |
| 16310 | eval "$as_CACHEVAR=no" |
| 16311 | fi |
| 16312 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16313 | conftest$ac_exeext conftest.$ac_ext |
| 16314 | LDFLAGS=$ax_check_save_flags |
| 16315 | fi |
| 16316 | eval ac_res=\$$as_CACHEVAR |
| 16317 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16318 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 16319 | if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16320 | then : |
| 16321 | |
| 16322 | if testscip-shell system . . test. ${AM_LDFLAGS+y} |
| 16323 | then : |
| 16324 | |
| 16325 | case " $AM_LDFLAGS " in #( |
| 16326 | *" $flag "*) : |
| 16327 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5 |
| 16328 | (: AM_LDFLAGS already contains $flag) 2>&5 |
| 16329 | ac_status=$? |
| 16330 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16331 | testscip-shell system . . test. $ac_status = 0; } ;; #( |
| 16332 | *) : |
| 16333 | |
| 16334 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). AM_LDFLAGS " $flag" |
| 16335 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5 |
| 16336 | (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5 |
| 16337 | ac_status=$? |
| 16338 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16339 | testscip-shell system . . test. $ac_status = 0; } |
| 16340 | ;; |
| 16341 | esac |
| 16342 | |
| 16343 | else $as_nop |
| 16344 | |
| 16345 | AM_LDFLAGS=$flag |
| 16346 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5 |
| 16347 | (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5 |
| 16348 | ac_status=$? |
| 16349 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16350 | testscip-shell system . . test. $ac_status = 0; } |
| 16351 | |
| 16352 | fi |
| 16353 | |
| 16354 | else $as_nop |
| 16355 | : |
| 16356 | fi |
| 16357 | |
| 16358 | done |
| 16359 | |
| 16360 | |
| 16361 | else $as_nop |
| 16362 | : |
| 16363 | fi |
| 16364 | |
| 16365 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,relro" >&5 |
| 16366 | printfscip-shell system . . printf. %s "checking whether the linker accepts -Wl,-z,relro... " >&6; } |
| 16367 | if testscip-shell system . . test. ${ax_cv_check_ldflags___Wl__z_relro+y} |
| 16368 | then : |
| 16369 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16370 | else $as_nop |
| 16371 | |
| 16372 | ax_check_save_flags=$LDFLAGS |
| 16373 | LDFLAGS="$LDFLAGS -Wl,-z,relro" |
| 16374 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16375 | /* end confdefs.h. */ |
| 16376 | |
| 16377 | int |
| 16378 | main (void) |
| 16379 | { |
| 16380 | |
| 16381 | ; |
| 16382 | return 0; |
| 16383 | } |
| 16384 | _ACEOF |
| 16385 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 16386 | then : |
| 16387 | ax_cv_check_ldflags___Wl__z_relro=yes |
| 16388 | else $as_nop |
| 16389 | ax_cv_check_ldflags___Wl__z_relro=no |
| 16390 | fi |
| 16391 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16392 | conftest$ac_exeext conftest.$ac_ext |
| 16393 | LDFLAGS=$ax_check_save_flags |
| 16394 | fi |
| 16395 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_relro" >&5 |
| 16396 | printfscip-shell system . . printf. "%s\n" "$ax_cv_check_ldflags___Wl__z_relro" >&6; } |
| 16397 | if testscip-shell system . . test. "x$ax_cv_check_ldflags___Wl__z_relro" = xyes |
| 16398 | then : |
| 16399 | |
| 16400 | |
| 16401 | |
| 16402 | |
| 16403 | |
| 16404 | for flag in -Wl,-z,relro; do |
| 16405 | as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` |
| 16406 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5 |
| 16407 | printfscip-shell system . . printf. %s "checking whether the linker accepts $flag... " >&6; } |
| 16408 | if eval test \${$as_CACHEVAR+y} |
| 16409 | then : |
| 16410 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16411 | else $as_nop |
| 16412 | |
| 16413 | ax_check_save_flags=$LDFLAGS |
| 16414 | LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag" |
| 16415 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16416 | /* end confdefs.h. */ |
| 16417 | |
| 16418 | int |
| 16419 | main (void) |
| 16420 | { |
| 16421 | |
| 16422 | ; |
| 16423 | return 0; |
| 16424 | } |
| 16425 | _ACEOF |
| 16426 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 16427 | then : |
| 16428 | eval "$as_CACHEVAR=yes" |
| 16429 | else $as_nop |
| 16430 | eval "$as_CACHEVAR=no" |
| 16431 | fi |
| 16432 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16433 | conftest$ac_exeext conftest.$ac_ext |
| 16434 | LDFLAGS=$ax_check_save_flags |
| 16435 | fi |
| 16436 | eval ac_res=\$$as_CACHEVAR |
| 16437 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16438 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 16439 | if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16440 | then : |
| 16441 | |
| 16442 | if testscip-shell system . . test. ${AM_LDFLAGS+y} |
| 16443 | then : |
| 16444 | |
| 16445 | case " $AM_LDFLAGS " in #( |
| 16446 | *" $flag "*) : |
| 16447 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5 |
| 16448 | (: AM_LDFLAGS already contains $flag) 2>&5 |
| 16449 | ac_status=$? |
| 16450 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16451 | testscip-shell system . . test. $ac_status = 0; } ;; #( |
| 16452 | *) : |
| 16453 | |
| 16454 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). AM_LDFLAGS " $flag" |
| 16455 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5 |
| 16456 | (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5 |
| 16457 | ac_status=$? |
| 16458 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16459 | testscip-shell system . . test. $ac_status = 0; } |
| 16460 | ;; |
| 16461 | esac |
| 16462 | |
| 16463 | else $as_nop |
| 16464 | |
| 16465 | AM_LDFLAGS=$flag |
| 16466 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5 |
| 16467 | (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5 |
| 16468 | ac_status=$? |
| 16469 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16470 | testscip-shell system . . test. $ac_status = 0; } |
| 16471 | |
| 16472 | fi |
| 16473 | |
| 16474 | else $as_nop |
| 16475 | : |
| 16476 | fi |
| 16477 | |
| 16478 | done |
| 16479 | |
| 16480 | |
| 16481 | else $as_nop |
| 16482 | : |
| 16483 | fi |
| 16484 | |
| 16485 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,now" >&5 |
| 16486 | printfscip-shell system . . printf. %s "checking whether the linker accepts -Wl,-z,now... " >&6; } |
| 16487 | if testscip-shell system . . test. ${ax_cv_check_ldflags___Wl__z_now+y} |
| 16488 | then : |
| 16489 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16490 | else $as_nop |
| 16491 | |
| 16492 | ax_check_save_flags=$LDFLAGS |
| 16493 | LDFLAGS="$LDFLAGS -Wl,-z,now" |
| 16494 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16495 | /* end confdefs.h. */ |
| 16496 | |
| 16497 | int |
| 16498 | main (void) |
| 16499 | { |
| 16500 | |
| 16501 | ; |
| 16502 | return 0; |
| 16503 | } |
| 16504 | _ACEOF |
| 16505 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 16506 | then : |
| 16507 | ax_cv_check_ldflags___Wl__z_now=yes |
| 16508 | else $as_nop |
| 16509 | ax_cv_check_ldflags___Wl__z_now=no |
| 16510 | fi |
| 16511 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16512 | conftest$ac_exeext conftest.$ac_ext |
| 16513 | LDFLAGS=$ax_check_save_flags |
| 16514 | fi |
| 16515 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_now" >&5 |
| 16516 | printfscip-shell system . . printf. "%s\n" "$ax_cv_check_ldflags___Wl__z_now" >&6; } |
| 16517 | if testscip-shell system . . test. "x$ax_cv_check_ldflags___Wl__z_now" = xyes |
| 16518 | then : |
| 16519 | |
| 16520 | |
| 16521 | |
| 16522 | |
| 16523 | |
| 16524 | for flag in -Wl,-z,now; do |
| 16525 | as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` |
| 16526 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5 |
| 16527 | printfscip-shell system . . printf. %s "checking whether the linker accepts $flag... " >&6; } |
| 16528 | if eval test \${$as_CACHEVAR+y} |
| 16529 | then : |
| 16530 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16531 | else $as_nop |
| 16532 | |
| 16533 | ax_check_save_flags=$LDFLAGS |
| 16534 | LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag" |
| 16535 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16536 | /* end confdefs.h. */ |
| 16537 | |
| 16538 | int |
| 16539 | main (void) |
| 16540 | { |
| 16541 | |
| 16542 | ; |
| 16543 | return 0; |
| 16544 | } |
| 16545 | _ACEOF |
| 16546 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 16547 | then : |
| 16548 | eval "$as_CACHEVAR=yes" |
| 16549 | else $as_nop |
| 16550 | eval "$as_CACHEVAR=no" |
| 16551 | fi |
| 16552 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16553 | conftest$ac_exeext conftest.$ac_ext |
| 16554 | LDFLAGS=$ax_check_save_flags |
| 16555 | fi |
| 16556 | eval ac_res=\$$as_CACHEVAR |
| 16557 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16558 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 16559 | if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16560 | then : |
| 16561 | |
| 16562 | if testscip-shell system . . test. ${AM_LDFLAGS+y} |
| 16563 | then : |
| 16564 | |
| 16565 | case " $AM_LDFLAGS " in #( |
| 16566 | *" $flag "*) : |
| 16567 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5 |
| 16568 | (: AM_LDFLAGS already contains $flag) 2>&5 |
| 16569 | ac_status=$? |
| 16570 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16571 | testscip-shell system . . test. $ac_status = 0; } ;; #( |
| 16572 | *) : |
| 16573 | |
| 16574 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). AM_LDFLAGS " $flag" |
| 16575 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5 |
| 16576 | (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5 |
| 16577 | ac_status=$? |
| 16578 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16579 | testscip-shell system . . test. $ac_status = 0; } |
| 16580 | ;; |
| 16581 | esac |
| 16582 | |
| 16583 | else $as_nop |
| 16584 | |
| 16585 | AM_LDFLAGS=$flag |
| 16586 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5 |
| 16587 | (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5 |
| 16588 | ac_status=$? |
| 16589 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16590 | testscip-shell system . . test. $ac_status = 0; } |
| 16591 | |
| 16592 | fi |
| 16593 | |
| 16594 | else $as_nop |
| 16595 | : |
| 16596 | fi |
| 16597 | |
| 16598 | done |
| 16599 | |
| 16600 | |
| 16601 | else $as_nop |
| 16602 | : |
| 16603 | fi |
| 16604 | |
| 16605 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,noexecstack" >&5 |
| 16606 | printfscip-shell system . . printf. %s "checking whether the linker accepts -Wl,-z,noexecstack... " >&6; } |
| 16607 | if testscip-shell system . . test. ${ax_cv_check_ldflags___Wl__z_noexecstack+y} |
| 16608 | then : |
| 16609 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16610 | else $as_nop |
| 16611 | |
| 16612 | ax_check_save_flags=$LDFLAGS |
| 16613 | LDFLAGS="$LDFLAGS -Wl,-z,noexecstack" |
| 16614 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16615 | /* end confdefs.h. */ |
| 16616 | |
| 16617 | int |
| 16618 | main (void) |
| 16619 | { |
| 16620 | |
| 16621 | ; |
| 16622 | return 0; |
| 16623 | } |
| 16624 | _ACEOF |
| 16625 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 16626 | then : |
| 16627 | ax_cv_check_ldflags___Wl__z_noexecstack=yes |
| 16628 | else $as_nop |
| 16629 | ax_cv_check_ldflags___Wl__z_noexecstack=no |
| 16630 | fi |
| 16631 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16632 | conftest$ac_exeext conftest.$ac_ext |
| 16633 | LDFLAGS=$ax_check_save_flags |
| 16634 | fi |
| 16635 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_noexecstack" >&5 |
| 16636 | printfscip-shell system . . printf. "%s\n" "$ax_cv_check_ldflags___Wl__z_noexecstack" >&6; } |
| 16637 | if testscip-shell system . . test. "x$ax_cv_check_ldflags___Wl__z_noexecstack" = xyes |
| 16638 | then : |
| 16639 | |
| 16640 | |
| 16641 | |
| 16642 | |
| 16643 | |
| 16644 | for flag in -Wl,-z,noexecstack; do |
| 16645 | as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` |
| 16646 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5 |
| 16647 | printfscip-shell system . . printf. %s "checking whether the linker accepts $flag... " >&6; } |
| 16648 | if eval test \${$as_CACHEVAR+y} |
| 16649 | then : |
| 16650 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16651 | else $as_nop |
| 16652 | |
| 16653 | ax_check_save_flags=$LDFLAGS |
| 16654 | LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag" |
| 16655 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16656 | /* end confdefs.h. */ |
| 16657 | |
| 16658 | int |
| 16659 | main (void) |
| 16660 | { |
| 16661 | |
| 16662 | ; |
| 16663 | return 0; |
| 16664 | } |
| 16665 | _ACEOF |
| 16666 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 16667 | then : |
| 16668 | eval "$as_CACHEVAR=yes" |
| 16669 | else $as_nop |
| 16670 | eval "$as_CACHEVAR=no" |
| 16671 | fi |
| 16672 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16673 | conftest$ac_exeext conftest.$ac_ext |
| 16674 | LDFLAGS=$ax_check_save_flags |
| 16675 | fi |
| 16676 | eval ac_res=\$$as_CACHEVAR |
| 16677 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16678 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 16679 | if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16680 | then : |
| 16681 | |
| 16682 | if testscip-shell system . . test. ${AM_LDFLAGS+y} |
| 16683 | then : |
| 16684 | |
| 16685 | case " $AM_LDFLAGS " in #( |
| 16686 | *" $flag "*) : |
| 16687 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5 |
| 16688 | (: AM_LDFLAGS already contains $flag) 2>&5 |
| 16689 | ac_status=$? |
| 16690 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16691 | testscip-shell system . . test. $ac_status = 0; } ;; #( |
| 16692 | *) : |
| 16693 | |
| 16694 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). AM_LDFLAGS " $flag" |
| 16695 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5 |
| 16696 | (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5 |
| 16697 | ac_status=$? |
| 16698 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16699 | testscip-shell system . . test. $ac_status = 0; } |
| 16700 | ;; |
| 16701 | esac |
| 16702 | |
| 16703 | else $as_nop |
| 16704 | |
| 16705 | AM_LDFLAGS=$flag |
| 16706 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5 |
| 16707 | (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5 |
| 16708 | ac_status=$? |
| 16709 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16710 | testscip-shell system . . test. $ac_status = 0; } |
| 16711 | |
| 16712 | fi |
| 16713 | |
| 16714 | else $as_nop |
| 16715 | : |
| 16716 | fi |
| 16717 | |
| 16718 | done |
| 16719 | |
| 16720 | |
| 16721 | else $as_nop |
| 16722 | : |
| 16723 | fi |
| 16724 | |
| 16725 | # textonly, retpolineplt not yet |
| 16726 | |
| 16727 | # macOS and cygwin linker do not have --as-needed |
| 16728 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--no-as-needed" >&5 |
| 16729 | printfscip-shell system . . printf. %s "checking whether the linker accepts -Wl,--no-as-needed... " >&6; } |
| 16730 | if testscip-shell system . . test. ${ax_cv_check_ldflags___Wl___no_as_needed+y} |
| 16731 | then : |
| 16732 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16733 | else $as_nop |
| 16734 | |
| 16735 | ax_check_save_flags=$LDFLAGS |
| 16736 | LDFLAGS="$LDFLAGS -Wl,--no-as-needed" |
| 16737 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16738 | /* end confdefs.h. */ |
| 16739 | |
| 16740 | int |
| 16741 | main (void) |
| 16742 | { |
| 16743 | |
| 16744 | ; |
| 16745 | return 0; |
| 16746 | } |
| 16747 | _ACEOF |
| 16748 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 16749 | then : |
| 16750 | ax_cv_check_ldflags___Wl___no_as_needed=yes |
| 16751 | else $as_nop |
| 16752 | ax_cv_check_ldflags___Wl___no_as_needed=no |
| 16753 | fi |
| 16754 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16755 | conftest$ac_exeext conftest.$ac_ext |
| 16756 | LDFLAGS=$ax_check_save_flags |
| 16757 | fi |
| 16758 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___no_as_needed" >&5 |
| 16759 | printfscip-shell system . . printf. "%s\n" "$ax_cv_check_ldflags___Wl___no_as_needed" >&6; } |
| 16760 | if testscip-shell system . . test. "x$ax_cv_check_ldflags___Wl___no_as_needed" = xyes |
| 16761 | then : |
| 16762 | |
| 16763 | ax_compiler_flags_as_needed_option="-Wl,--no-as-needed" |
| 16764 | |
| 16765 | else $as_nop |
| 16766 | |
| 16767 | ax_compiler_flags_as_needed_option="" |
| 16768 | |
| 16769 | fi |
| 16770 | |
| 16771 | |
| 16772 | # macOS linker speaks with a different accent |
| 16773 | ax_compiler_flags_fatal_warnings_option="" |
| 16774 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--fatal-warnings" >&5 |
| 16775 | printfscip-shell system . . printf. %s "checking whether the linker accepts -Wl,--fatal-warnings... " >&6; } |
| 16776 | if testscip-shell system . . test. ${ax_cv_check_ldflags___Wl___fatal_warnings+y} |
| 16777 | then : |
| 16778 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16779 | else $as_nop |
| 16780 | |
| 16781 | ax_check_save_flags=$LDFLAGS |
| 16782 | LDFLAGS="$LDFLAGS -Wl,--fatal-warnings" |
| 16783 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16784 | /* end confdefs.h. */ |
| 16785 | |
| 16786 | int |
| 16787 | main (void) |
| 16788 | { |
| 16789 | |
| 16790 | ; |
| 16791 | return 0; |
| 16792 | } |
| 16793 | _ACEOF |
| 16794 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 16795 | then : |
| 16796 | ax_cv_check_ldflags___Wl___fatal_warnings=yes |
| 16797 | else $as_nop |
| 16798 | ax_cv_check_ldflags___Wl___fatal_warnings=no |
| 16799 | fi |
| 16800 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16801 | conftest$ac_exeext conftest.$ac_ext |
| 16802 | LDFLAGS=$ax_check_save_flags |
| 16803 | fi |
| 16804 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___fatal_warnings" >&5 |
| 16805 | printfscip-shell system . . printf. "%s\n" "$ax_cv_check_ldflags___Wl___fatal_warnings" >&6; } |
| 16806 | if testscip-shell system . . test. "x$ax_cv_check_ldflags___Wl___fatal_warnings" = xyes |
| 16807 | then : |
| 16808 | |
| 16809 | ax_compiler_flags_fatal_warnings_option="-Wl,--fatal-warnings" |
| 16810 | |
| 16811 | else $as_nop |
| 16812 | : |
| 16813 | fi |
| 16814 | |
| 16815 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-fatal_warnings" >&5 |
| 16816 | printfscip-shell system . . printf. %s "checking whether the linker accepts -Wl,-fatal_warnings... " >&6; } |
| 16817 | if testscip-shell system . . test. ${ax_cv_check_ldflags___Wl__fatal_warnings+y} |
| 16818 | then : |
| 16819 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16820 | else $as_nop |
| 16821 | |
| 16822 | ax_check_save_flags=$LDFLAGS |
| 16823 | LDFLAGS="$LDFLAGS -Wl,-fatal_warnings" |
| 16824 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16825 | /* end confdefs.h. */ |
| 16826 | |
| 16827 | int |
| 16828 | main (void) |
| 16829 | { |
| 16830 | |
| 16831 | ; |
| 16832 | return 0; |
| 16833 | } |
| 16834 | _ACEOF |
| 16835 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 16836 | then : |
| 16837 | ax_cv_check_ldflags___Wl__fatal_warnings=yes |
| 16838 | else $as_nop |
| 16839 | ax_cv_check_ldflags___Wl__fatal_warnings=no |
| 16840 | fi |
| 16841 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16842 | conftest$ac_exeext conftest.$ac_ext |
| 16843 | LDFLAGS=$ax_check_save_flags |
| 16844 | fi |
| 16845 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__fatal_warnings" >&5 |
| 16846 | printfscip-shell system . . printf. "%s\n" "$ax_cv_check_ldflags___Wl__fatal_warnings" >&6; } |
| 16847 | if testscip-shell system . . test. "x$ax_cv_check_ldflags___Wl__fatal_warnings" = xyes |
| 16848 | then : |
| 16849 | |
| 16850 | ax_compiler_flags_fatal_warnings_option="-Wl,-fatal_warnings" |
| 16851 | |
| 16852 | else $as_nop |
| 16853 | : |
| 16854 | fi |
| 16855 | |
| 16856 | |
| 16857 | # Base flags |
| 16858 | |
| 16859 | |
| 16860 | |
| 16861 | |
| 16862 | for flag in $ax_compiler_flags_as_needed_option ; do |
| 16863 | as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` |
| 16864 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5 |
| 16865 | printfscip-shell system . . printf. %s "checking whether the linker accepts $flag... " >&6; } |
| 16866 | if eval test \${$as_CACHEVAR+y} |
| 16867 | then : |
| 16868 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16869 | else $as_nop |
| 16870 | |
| 16871 | ax_check_save_flags=$LDFLAGS |
| 16872 | LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag" |
| 16873 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16874 | /* end confdefs.h. */ |
| 16875 | |
| 16876 | int |
| 16877 | main (void) |
| 16878 | { |
| 16879 | |
| 16880 | ; |
| 16881 | return 0; |
| 16882 | } |
| 16883 | _ACEOF |
| 16884 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 16885 | then : |
| 16886 | eval "$as_CACHEVAR=yes" |
| 16887 | else $as_nop |
| 16888 | eval "$as_CACHEVAR=no" |
| 16889 | fi |
| 16890 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16891 | conftest$ac_exeext conftest.$ac_ext |
| 16892 | LDFLAGS=$ax_check_save_flags |
| 16893 | fi |
| 16894 | eval ac_res=\$$as_CACHEVAR |
| 16895 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16896 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 16897 | if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16898 | then : |
| 16899 | |
| 16900 | if testscip-shell system . . test. ${WARN_LDFLAGS+y} |
| 16901 | then : |
| 16902 | |
| 16903 | case " $WARN_LDFLAGS " in #( |
| 16904 | *" $flag "*) : |
| 16905 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5 |
| 16906 | (: WARN_LDFLAGS already contains $flag) 2>&5 |
| 16907 | ac_status=$? |
| 16908 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16909 | testscip-shell system . . test. $ac_status = 0; } ;; #( |
| 16910 | *) : |
| 16911 | |
| 16912 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). WARN_LDFLAGS " $flag" |
| 16913 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5 |
| 16914 | (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5 |
| 16915 | ac_status=$? |
| 16916 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16917 | testscip-shell system . . test. $ac_status = 0; } |
| 16918 | ;; |
| 16919 | esac |
| 16920 | |
| 16921 | else $as_nop |
| 16922 | |
| 16923 | WARN_LDFLAGS=$flag |
| 16924 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5 |
| 16925 | (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5 |
| 16926 | ac_status=$? |
| 16927 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16928 | testscip-shell system . . test. $ac_status = 0; } |
| 16929 | |
| 16930 | fi |
| 16931 | |
| 16932 | else $as_nop |
| 16933 | : |
| 16934 | fi |
| 16935 | |
| 16936 | done |
| 16937 | |
| 16938 | |
| 16939 | if testscip-shell system . . test. "$ax_enable_compile_warnings" != "no" |
| 16940 | then : |
| 16941 | |
| 16942 | # "yes" flags |
| 16943 | |
| 16944 | |
| 16945 | |
| 16946 | |
| 16947 | for flag in ; do |
| 16948 | as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` |
| 16949 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5 |
| 16950 | printfscip-shell system . . printf. %s "checking whether the linker accepts $flag... " >&6; } |
| 16951 | if eval test \${$as_CACHEVAR+y} |
| 16952 | then : |
| 16953 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16954 | else $as_nop |
| 16955 | |
| 16956 | ax_check_save_flags=$LDFLAGS |
| 16957 | LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag" |
| 16958 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16959 | /* end confdefs.h. */ |
| 16960 | |
| 16961 | int |
| 16962 | main (void) |
| 16963 | { |
| 16964 | |
| 16965 | ; |
| 16966 | return 0; |
| 16967 | } |
| 16968 | _ACEOF |
| 16969 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 16970 | then : |
| 16971 | eval "$as_CACHEVAR=yes" |
| 16972 | else $as_nop |
| 16973 | eval "$as_CACHEVAR=no" |
| 16974 | fi |
| 16975 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16976 | conftest$ac_exeext conftest.$ac_ext |
| 16977 | LDFLAGS=$ax_check_save_flags |
| 16978 | fi |
| 16979 | eval ac_res=\$$as_CACHEVAR |
| 16980 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16981 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 16982 | if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16983 | then : |
| 16984 | |
| 16985 | if testscip-shell system . . test. ${WARN_LDFLAGS+y} |
| 16986 | then : |
| 16987 | |
| 16988 | case " $WARN_LDFLAGS " in #( |
| 16989 | *" $flag "*) : |
| 16990 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5 |
| 16991 | (: WARN_LDFLAGS already contains $flag) 2>&5 |
| 16992 | ac_status=$? |
| 16993 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16994 | testscip-shell system . . test. $ac_status = 0; } ;; #( |
| 16995 | *) : |
| 16996 | |
| 16997 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). WARN_LDFLAGS " $flag" |
| 16998 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5 |
| 16999 | (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5 |
| 17000 | ac_status=$? |
| 17001 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17002 | testscip-shell system . . test. $ac_status = 0; } |
| 17003 | ;; |
| 17004 | esac |
| 17005 | |
| 17006 | else $as_nop |
| 17007 | |
| 17008 | WARN_LDFLAGS=$flag |
| 17009 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5 |
| 17010 | (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5 |
| 17011 | ac_status=$? |
| 17012 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17013 | testscip-shell system . . test. $ac_status = 0; } |
| 17014 | |
| 17015 | fi |
| 17016 | |
| 17017 | else $as_nop |
| 17018 | : |
| 17019 | fi |
| 17020 | |
| 17021 | done |
| 17022 | |
| 17023 | |
| 17024 | fi |
| 17025 | if testscip-shell system . . test. "$ax_enable_compile_warnings" = "error" |
| 17026 | then : |
| 17027 | |
| 17028 | # "error" flags; -Werror has to be appended unconditionally because |
| 17029 | # it's not possible to test for |
| 17030 | # |
| 17031 | # suggest-attribute=format is disabled because it gives too many false |
| 17032 | # positives |
| 17033 | |
| 17034 | |
| 17035 | |
| 17036 | |
| 17037 | for flag in $ax_compiler_flags_fatal_warnings_option ; do |
| 17038 | as_CACHEVAR=`printfscip-shell system . . printf. "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` |
| 17039 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5 |
| 17040 | printfscip-shell system . . printf. %s "checking whether the linker accepts $flag... " >&6; } |
| 17041 | if eval test \${$as_CACHEVAR+y} |
| 17042 | then : |
| 17043 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 17044 | else $as_nop |
| 17045 | |
| 17046 | ax_check_save_flags=$LDFLAGS |
| 17047 | LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag" |
| 17048 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17049 | /* end confdefs.h. */ |
| 17050 | |
| 17051 | int |
| 17052 | main (void) |
| 17053 | { |
| 17054 | |
| 17055 | ; |
| 17056 | return 0; |
| 17057 | } |
| 17058 | _ACEOF |
| 17059 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 17060 | then : |
| 17061 | eval "$as_CACHEVAR=yes" |
| 17062 | else $as_nop |
| 17063 | eval "$as_CACHEVAR=no" |
| 17064 | fi |
| 17065 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 17066 | conftest$ac_exeext conftest.$ac_ext |
| 17067 | LDFLAGS=$ax_check_save_flags |
| 17068 | fi |
| 17069 | eval ac_res=\$$as_CACHEVAR |
| 17070 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 17071 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 17072 | if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 17073 | then : |
| 17074 | |
| 17075 | if testscip-shell system . . test. ${WARN_LDFLAGS+y} |
| 17076 | then : |
| 17077 | |
| 17078 | case " $WARN_LDFLAGS " in #( |
| 17079 | *" $flag "*) : |
| 17080 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5 |
| 17081 | (: WARN_LDFLAGS already contains $flag) 2>&5 |
| 17082 | ac_status=$? |
| 17083 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17084 | testscip-shell system . . test. $ac_status = 0; } ;; #( |
| 17085 | *) : |
| 17086 | |
| 17087 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). WARN_LDFLAGS " $flag" |
| 17088 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5 |
| 17089 | (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5 |
| 17090 | ac_status=$? |
| 17091 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17092 | testscip-shell system . . test. $ac_status = 0; } |
| 17093 | ;; |
| 17094 | esac |
| 17095 | |
| 17096 | else $as_nop |
| 17097 | |
| 17098 | WARN_LDFLAGS=$flag |
| 17099 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5 |
| 17100 | (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5 |
| 17101 | ac_status=$? |
| 17102 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17103 | testscip-shell system . . test. $ac_status = 0; } |
| 17104 | |
| 17105 | fi |
| 17106 | |
| 17107 | else $as_nop |
| 17108 | : |
| 17109 | fi |
| 17110 | |
| 17111 | done |
| 17112 | |
| 17113 | |
| 17114 | fi |
| 17115 | |
| 17116 | # Substitute the variables |
| 17117 | |
| 17118 | |
| 17119 | |
| 17120 | |
| 17121 | |
| 17122 | |
| 17123 | # Variable names |
| 17124 | |
| 17125 | |
| 17126 | # Base flags |
| 17127 | |
| 17128 | if testscip-shell system . . test. ${WARN_SCANNERFLAGS+y} |
| 17129 | then : |
| 17130 | |
| 17131 | case " $WARN_SCANNERFLAGS " in #( |
| 17132 | *" "*) : |
| 17133 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains "; } >&5 |
| 17134 | (: WARN_SCANNERFLAGS already contains ) 2>&5 |
| 17135 | ac_status=$? |
| 17136 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17137 | testscip-shell system . . test. $ac_status = 0; } ;; #( |
| 17138 | *) : |
| 17139 | |
| 17140 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). WARN_SCANNERFLAGS " " |
| 17141 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5 |
| 17142 | (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5 |
| 17143 | ac_status=$? |
| 17144 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17145 | testscip-shell system . . test. $ac_status = 0; } |
| 17146 | ;; |
| 17147 | esac |
| 17148 | |
| 17149 | else $as_nop |
| 17150 | |
| 17151 | WARN_SCANNERFLAGS= |
| 17152 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5 |
| 17153 | (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5 |
| 17154 | ac_status=$? |
| 17155 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17156 | testscip-shell system . . test. $ac_status = 0; } |
| 17157 | |
| 17158 | fi |
| 17159 | |
| 17160 | |
| 17161 | if testscip-shell system . . test. "$ax_enable_compile_warnings" != "no" |
| 17162 | then : |
| 17163 | |
| 17164 | # "yes" flags |
| 17165 | |
| 17166 | if testscip-shell system . . test. ${WARN_SCANNERFLAGS+y} |
| 17167 | then : |
| 17168 | |
| 17169 | case " $WARN_SCANNERFLAGS " in #( |
| 17170 | *" --warn-all "*) : |
| 17171 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains --warn-all "; } >&5 |
| 17172 | (: WARN_SCANNERFLAGS already contains --warn-all ) 2>&5 |
| 17173 | ac_status=$? |
| 17174 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17175 | testscip-shell system . . test. $ac_status = 0; } ;; #( |
| 17176 | *) : |
| 17177 | |
| 17178 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). WARN_SCANNERFLAGS " --warn-all " |
| 17179 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5 |
| 17180 | (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5 |
| 17181 | ac_status=$? |
| 17182 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17183 | testscip-shell system . . test. $ac_status = 0; } |
| 17184 | ;; |
| 17185 | esac |
| 17186 | |
| 17187 | else $as_nop |
| 17188 | |
| 17189 | WARN_SCANNERFLAGS= --warn-all |
| 17190 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5 |
| 17191 | (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5 |
| 17192 | ac_status=$? |
| 17193 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17194 | testscip-shell system . . test. $ac_status = 0; } |
| 17195 | |
| 17196 | fi |
| 17197 | |
| 17198 | |
| 17199 | fi |
| 17200 | if testscip-shell system . . test. "$ax_enable_compile_warnings" = "error" |
| 17201 | then : |
| 17202 | |
| 17203 | # "error" flags |
| 17204 | |
| 17205 | if testscip-shell system . . test. ${WARN_SCANNERFLAGS+y} |
| 17206 | then : |
| 17207 | |
| 17208 | case " $WARN_SCANNERFLAGS " in #( |
| 17209 | *" --warn-error "*) : |
| 17210 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains --warn-error "; } >&5 |
| 17211 | (: WARN_SCANNERFLAGS already contains --warn-error ) 2>&5 |
| 17212 | ac_status=$? |
| 17213 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17214 | testscip-shell system . . test. $ac_status = 0; } ;; #( |
| 17215 | *) : |
| 17216 | |
| 17217 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). WARN_SCANNERFLAGS " --warn-error " |
| 17218 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5 |
| 17219 | (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5 |
| 17220 | ac_status=$? |
| 17221 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17222 | testscip-shell system . . test. $ac_status = 0; } |
| 17223 | ;; |
| 17224 | esac |
| 17225 | |
| 17226 | else $as_nop |
| 17227 | |
| 17228 | WARN_SCANNERFLAGS= --warn-error |
| 17229 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5 |
| 17230 | (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5 |
| 17231 | ac_status=$? |
| 17232 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17233 | testscip-shell system . . test. $ac_status = 0; } |
| 17234 | |
| 17235 | fi |
| 17236 | |
| 17237 | |
| 17238 | fi |
| 17239 | |
| 17240 | # Substitute the variables |
| 17241 | |
| 17242 | |
| 17243 | |
| 17244 | # unfortunately, AX_COMPILER_FLAGS does not provide a way to override |
| 17245 | # the default -Wno-error=warning" flags. So we do this via sed below. |
| 17246 | # Note: we *really* want to have this error out during CI testing! |
| 17247 | # rgerhards, 2018-05-09 |
| 17248 | WARN_CFLAGS="$(echoscip-shell system . . echo. "$WARN_CFLAGS" | sedscip-shell system . . sed. s/-Wno-error=/-W/g)" |
| 17249 | |
| 17250 | |
| 17251 | else |
| 17252 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler is not GCC or close compatible, not using ax_compiler_flags because of this (CC=$CC)" >&5 |
| 17253 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: compiler is not GCC or close compatible, not using ax_compiler_flags because of this (CC=$CC)" >&2;} |
| 17254 | fi |
| 17255 | |
| 17256 | |
| 17257 | |
| 17258 | |
| 17259 | |
| 17260 | |
| 17261 | |
| 17262 | |
| 17263 | if testscip-shell system . . test. "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
| 17264 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 17265 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
| 17266 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
| 17267 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 17268 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 17269 | if testscip-shell system . . test. ${ac_cv_path_PKG_CONFIG+y} |
| 17270 | then : |
| 17271 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 17272 | else $as_nop |
| 17273 | case $PKG_CONFIG in |
| 17274 | [\\/]* | ?:[\\/]*) |
| 17275 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
| 17276 | ;; |
| 17277 | *) |
| 17278 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 17279 | for as_dir in $PATH |
| 17280 | do |
| 17281 | IFS=$as_save_IFS |
| 17282 | case $as_dir in #((( |
| 17283 | '') as_dir=./ ;; |
| 17284 | */) ;; |
| 17285 | *) as_dir=$as_dir/ ;; |
| 17286 | esac |
| 17287 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 17288 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 17289 | ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 17290 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 17291 | break 2 |
| 17292 | fi |
| 17293 | done |
| 17294 | done |
| 17295 | IFS=$as_save_IFS |
| 17296 | |
| 17297 | ;; |
| 17298 | esac |
| 17299 | fi |
| 17300 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 17301 | if testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 17302 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 17303 | printfscip-shell system . . printf. "%s\n" "$PKG_CONFIG" >&6; } |
| 17304 | else |
| 17305 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 17306 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 17307 | fi |
| 17308 | |
| 17309 | |
| 17310 | fi |
| 17311 | if testscip-shell system . . test. -z "$ac_cv_path_PKG_CONFIG"; then |
| 17312 | ac_pt_PKG_CONFIG=$PKG_CONFIG |
| 17313 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 17314 | set dummy pkg-config; ac_word=$2 |
| 17315 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 17316 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 17317 | if testscip-shell system . . test. ${ac_cv_path_ac_pt_PKG_CONFIG+y} |
| 17318 | then : |
| 17319 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 17320 | else $as_nop |
| 17321 | case $ac_pt_PKG_CONFIG in |
| 17322 | [\\/]* | ?:[\\/]*) |
| 17323 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
| 17324 | ;; |
| 17325 | *) |
| 17326 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 17327 | for as_dir in $PATH |
| 17328 | do |
| 17329 | IFS=$as_save_IFS |
| 17330 | case $as_dir in #((( |
| 17331 | '') as_dir=./ ;; |
| 17332 | */) ;; |
| 17333 | *) as_dir=$as_dir/ ;; |
| 17334 | esac |
| 17335 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 17336 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 17337 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 17338 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 17339 | break 2 |
| 17340 | fi |
| 17341 | done |
| 17342 | done |
| 17343 | IFS=$as_save_IFS |
| 17344 | |
| 17345 | ;; |
| 17346 | esac |
| 17347 | fi |
| 17348 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
| 17349 | if testscip-shell system . . test. -n "$ac_pt_PKG_CONFIG"; then |
| 17350 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
| 17351 | printfscip-shell system . . printf. "%s\n" "$ac_pt_PKG_CONFIG" >&6; } |
| 17352 | else |
| 17353 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 17354 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 17355 | fi |
| 17356 | |
| 17357 | if testscip-shell system . . test. "x$ac_pt_PKG_CONFIG" = x; then |
| 17358 | PKG_CONFIG="" |
| 17359 | else |
| 17360 | case $cross_compiling:$ac_tool_warned in |
| 17361 | yes:) |
| 17362 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 17363 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 17364 | ac_tool_warned=yes ;; |
| 17365 | esac |
| 17366 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
| 17367 | fi |
| 17368 | else |
| 17369 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
| 17370 | fi |
| 17371 | |
| 17372 | fi |
| 17373 | if testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 17374 | _pkg_min_version=0.9.0 |
| 17375 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
| 17376 | printfscip-shell system . . printf. %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
| 17377 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
| 17378 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 17379 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 17380 | else |
| 17381 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 17382 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 17383 | PKG_CONFIG="" |
| 17384 | fi |
| 17385 | fi |
| 17386 | |
| 17387 | |
| 17388 | if testscip-shell system . . test. "$ac_cv_env_CONF_FILE_PATH_set" = "set"; then |
| 17389 | |
| 17390 | printfscip-shell system . . printf. "%s\n" "#define PATH_CONFFILE \"${ac_cv_env_CONF_FILE_PATH_value}\"" >>confdefs.h |
| 17391 | |
| 17392 | fi |
| 17393 | |
| 17394 | |
| 17395 | if testscip-shell system . . test. "$ac_cv_env_PID_FILE_PATH_set" = "set"; then |
| 17396 | |
| 17397 | printfscip-shell system . . printf. "%s\n" "#define PATH_PIDFILE \"${ac_cv_env_PID_FILE_PATH_value}\"" >>confdefs.h |
| 17398 | |
| 17399 | fi |
| 17400 | |
| 17401 | |
| 17402 | # modules we require |
| 17403 | |
| 17404 | pkg_failed=no |
| 17405 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libestr >= 0.1.9" >&5 |
| 17406 | printfscip-shell system . . printf. %s "checking for libestr >= 0.1.9... " >&6; } |
| 17407 | |
| 17408 | if testscip-shell system . . test. -n "$LIBESTR_CFLAGS"; then |
| 17409 | pkg_cv_LIBESTR_CFLAGS="$LIBESTR_CFLAGS" |
| 17410 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 17411 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 17412 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libestr >= 0.1.9\""; } >&5 |
| 17413 | ($PKG_CONFIG --exists --print-errors "libestr >= 0.1.9") 2>&5 |
| 17414 | ac_status=$? |
| 17415 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17416 | testscip-shell system . . test. $ac_status = 0; }; then |
| 17417 | pkg_cv_LIBESTR_CFLAGS=`$PKG_CONFIG --cflags "libestr >= 0.1.9" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 17418 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 17419 | else |
| 17420 | pkg_failed=yes |
| 17421 | fi |
| 17422 | else |
| 17423 | pkg_failed=untried |
| 17424 | fi |
| 17425 | if testscip-shell system . . test. -n "$LIBESTR_LIBS"; then |
| 17426 | pkg_cv_LIBESTR_LIBS="$LIBESTR_LIBS" |
| 17427 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 17428 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 17429 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libestr >= 0.1.9\""; } >&5 |
| 17430 | ($PKG_CONFIG --exists --print-errors "libestr >= 0.1.9") 2>&5 |
| 17431 | ac_status=$? |
| 17432 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17433 | testscip-shell system . . test. $ac_status = 0; }; then |
| 17434 | pkg_cv_LIBESTR_LIBS=`$PKG_CONFIG --libs "libestr >= 0.1.9" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 17435 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 17436 | else |
| 17437 | pkg_failed=yes |
| 17438 | fi |
| 17439 | else |
| 17440 | pkg_failed=untried |
| 17441 | fi |
| 17442 | |
| 17443 | |
| 17444 | |
| 17445 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 17446 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 17447 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 17448 | |
| 17449 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 17450 | _pkg_short_errors_supported=yes |
| 17451 | else |
| 17452 | _pkg_short_errors_supported=no |
| 17453 | fi |
| 17454 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 17455 | LIBESTR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libestr >= 0.1.9" 2>&1` |
| 17456 | else |
| 17457 | LIBESTR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libestr >= 0.1.9" 2>&1` |
| 17458 | fi |
| 17459 | # Put the nasty error message in config.log where it belongs |
| 17460 | echoscip-shell system . . echo. "$LIBESTR_PKG_ERRORS" >&5 |
| 17461 | |
| 17462 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libestr >= 0.1.9) were not met: |
| 17463 | |
| 17464 | $LIBESTR_PKG_ERRORS |
| 17465 | |
| 17466 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 17467 | installed software in a non-standard prefix. |
| 17468 | |
| 17469 | Alternatively, you may set the environment variables LIBESTR_CFLAGS |
| 17470 | and LIBESTR_LIBS to avoid the need to call pkg-config. |
| 17471 | See the pkg-config man page for more details." "$LINENO" 5 |
| 17472 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 17473 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 17474 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 17475 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 17476 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 17477 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 17478 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 17479 | path to pkg-config. |
| 17480 | |
| 17481 | Alternatively, you may set the environment variables LIBESTR_CFLAGS |
| 17482 | and LIBESTR_LIBS to avoid the need to call pkg-config. |
| 17483 | See the pkg-config man page for more details. |
| 17484 | |
| 17485 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 17486 | See \`config.log' for more details" "$LINENO" 5; } |
| 17487 | else |
| 17488 | LIBESTR_CFLAGS=$pkg_cv_LIBESTR_CFLAGS |
| 17489 | LIBESTR_LIBS=$pkg_cv_LIBESTR_LIBS |
| 17490 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 17491 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 17492 | |
| 17493 | fi |
| 17494 | |
| 17495 | |
| 17496 | pkg_failed=no |
| 17497 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libfastjson >= 0.99.9" >&5 |
| 17498 | printfscip-shell system . . printf. %s "checking for libfastjson >= 0.99.9... " >&6; } |
| 17499 | |
| 17500 | if testscip-shell system . . test. -n "$LIBFASTJSON_CFLAGS"; then |
| 17501 | pkg_cv_LIBFASTJSON_CFLAGS="$LIBFASTJSON_CFLAGS" |
| 17502 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 17503 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 17504 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfastjson >= 0.99.9\""; } >&5 |
| 17505 | ($PKG_CONFIG --exists --print-errors "libfastjson >= 0.99.9") 2>&5 |
| 17506 | ac_status=$? |
| 17507 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17508 | testscip-shell system . . test. $ac_status = 0; }; then |
| 17509 | pkg_cv_LIBFASTJSON_CFLAGS=`$PKG_CONFIG --cflags "libfastjson >= 0.99.9" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 17510 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 17511 | else |
| 17512 | pkg_failed=yes |
| 17513 | fi |
| 17514 | else |
| 17515 | pkg_failed=untried |
| 17516 | fi |
| 17517 | if testscip-shell system . . test. -n "$LIBFASTJSON_LIBS"; then |
| 17518 | pkg_cv_LIBFASTJSON_LIBS="$LIBFASTJSON_LIBS" |
| 17519 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 17520 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 17521 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfastjson >= 0.99.9\""; } >&5 |
| 17522 | ($PKG_CONFIG --exists --print-errors "libfastjson >= 0.99.9") 2>&5 |
| 17523 | ac_status=$? |
| 17524 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17525 | testscip-shell system . . test. $ac_status = 0; }; then |
| 17526 | pkg_cv_LIBFASTJSON_LIBS=`$PKG_CONFIG --libs "libfastjson >= 0.99.9" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 17527 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 17528 | else |
| 17529 | pkg_failed=yes |
| 17530 | fi |
| 17531 | else |
| 17532 | pkg_failed=untried |
| 17533 | fi |
| 17534 | |
| 17535 | |
| 17536 | |
| 17537 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 17538 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 17539 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 17540 | |
| 17541 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 17542 | _pkg_short_errors_supported=yes |
| 17543 | else |
| 17544 | _pkg_short_errors_supported=no |
| 17545 | fi |
| 17546 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 17547 | LIBFASTJSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfastjson >= 0.99.9" 2>&1` |
| 17548 | else |
| 17549 | LIBFASTJSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfastjson >= 0.99.9" 2>&1` |
| 17550 | fi |
| 17551 | # Put the nasty error message in config.log where it belongs |
| 17552 | echoscip-shell system . . echo. "$LIBFASTJSON_PKG_ERRORS" >&5 |
| 17553 | |
| 17554 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libfastjson >= 0.99.9) were not met: |
| 17555 | |
| 17556 | $LIBFASTJSON_PKG_ERRORS |
| 17557 | |
| 17558 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 17559 | installed software in a non-standard prefix. |
| 17560 | |
| 17561 | Alternatively, you may set the environment variables LIBFASTJSON_CFLAGS |
| 17562 | and LIBFASTJSON_LIBS to avoid the need to call pkg-config. |
| 17563 | See the pkg-config man page for more details." "$LINENO" 5 |
| 17564 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 17565 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 17566 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 17567 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 17568 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 17569 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 17570 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 17571 | path to pkg-config. |
| 17572 | |
| 17573 | Alternatively, you may set the environment variables LIBFASTJSON_CFLAGS |
| 17574 | and LIBFASTJSON_LIBS to avoid the need to call pkg-config. |
| 17575 | See the pkg-config man page for more details. |
| 17576 | |
| 17577 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 17578 | See \`config.log' for more details" "$LINENO" 5; } |
| 17579 | else |
| 17580 | LIBFASTJSON_CFLAGS=$pkg_cv_LIBFASTJSON_CFLAGS |
| 17581 | LIBFASTJSON_LIBS=$pkg_cv_LIBFASTJSON_LIBS |
| 17582 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 17583 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 17584 | |
| 17585 | fi |
| 17586 | |
| 17587 | |
| 17588 | printfscip-shell system . . printf. "%s\n" "#define PLATFORM_ID \"${host}\"" >>confdefs.h |
| 17589 | |
| 17590 | # we don't mind if we don't have the lsb_release utility. But if we have, it's |
| 17591 | # nice to have the extra information. |
| 17592 | |
| 17593 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 17594 | #define PLATFORM_ID_LSB "`lsb_release -d`" |
| 17595 | _ACEOF |
| 17596 | |
| 17597 | |
| 17598 | echoscip-shell system . . echo. HOST: ${host} |
| 17599 | case "${host}" in |
| 17600 | *-*-linux*) |
| 17601 | |
| 17602 | printfscip-shell system . . printf. "%s\n" "#define OS_LINUX 1" >>confdefs.h |
| 17603 | |
| 17604 | os_type="linux" |
| 17605 | ;; |
| 17606 | *-*-*darwin*|*-*-dragonfly*|*-*-freebsd*|*-*-netbsd*|*-*-openbsd*) |
| 17607 | |
| 17608 | printfscip-shell system . . printf. "%s\n" "#define OS_BSD 1" >>confdefs.h |
| 17609 | |
| 17610 | os_type="bsd" |
| 17611 | ;; |
| 17612 | *-apple-*) |
| 17613 | |
| 17614 | printfscip-shell system . . printf. "%s\n" "#define OS_APPLE 1" >>confdefs.h |
| 17615 | |
| 17616 | os_type="apple" |
| 17617 | ;; |
| 17618 | *-*-kfreebsd*) |
| 17619 | # kernel is FreeBSD, but userspace is glibc - i.e. like linux |
| 17620 | # do not DEFINE OS_BSD |
| 17621 | os_type="bsd" |
| 17622 | ;; |
| 17623 | *-*-solaris*) |
| 17624 | os_type="solaris" |
| 17625 | |
| 17626 | printfscip-shell system . . printf. "%s\n" "#define OS_SOLARIS 1" >>confdefs.h |
| 17627 | |
| 17628 | |
| 17629 | printfscip-shell system . . printf. "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
| 17630 | |
| 17631 | |
| 17632 | printfscip-shell system . . printf. "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h |
| 17633 | |
| 17634 | CPPFLAGS="-std=c99 $CPPFLAGS" |
| 17635 | CFLAGS="-std=c99 $CFLAGS" |
| 17636 | SOL_LIBS="-lsocket -lnsl" |
| 17637 | # Solaris libuuid does not ship with a pkgconfig file so override the appropriate |
| 17638 | # variables (but only if they have not been set by the user). |
| 17639 | LIBUUID_CFLAGS=${LIBUUID_CFLAGS:= } |
| 17640 | LIBUUID_LIBS=${LIBUUID_LIBS:=-luuid} |
| 17641 | |
| 17642 | ;; |
| 17643 | *-*-aix*) |
| 17644 | os_type="aix" |
| 17645 | |
| 17646 | printfscip-shell system . . printf. "%s\n" "#define OS_AIX 1" >>confdefs.h |
| 17647 | |
| 17648 | ;; |
| 17649 | esac |
| 17650 | if testscip-shell system . . test. x$os_type == xapple; then |
| 17651 | OS_APPLE_TRUE= |
| 17652 | OS_APPLE_FALSE='#' |
| 17653 | else |
| 17654 | OS_APPLE_TRUE='#' |
| 17655 | OS_APPLE_FALSE= |
| 17656 | fi |
| 17657 | |
| 17658 | if testscip-shell system . . test. x$os_type == xlinux; then |
| 17659 | OS_LINUX_TRUE= |
| 17660 | OS_LINUX_FALSE='#' |
| 17661 | else |
| 17662 | OS_LINUX_TRUE='#' |
| 17663 | OS_LINUX_FALSE= |
| 17664 | fi |
| 17665 | |
| 17666 | if testscip-shell system . . test. x$os_type == xaix; then |
| 17667 | OS_AIX_TRUE= |
| 17668 | OS_AIX_FALSE='#' |
| 17669 | else |
| 17670 | OS_AIX_TRUE='#' |
| 17671 | OS_AIX_FALSE= |
| 17672 | fi |
| 17673 | |
| 17674 | |
| 17675 | |
| 17676 | |
| 17677 | |
| 17678 | |
| 17679 | |
| 17680 | |
| 17681 | # Find any Python interpreter. |
| 17682 | if testscip-shell system . . test. -z "$PYTHON"; then |
| 17683 | for ac_prog in python python2 python3 python3.11 python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 |
| 17684 | do |
| 17685 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 17686 | set dummy $ac_prog; ac_word=$2 |
| 17687 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 17688 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 17689 | if testscip-shell system . . test. ${ac_cv_path_PYTHON+y} |
| 17690 | then : |
| 17691 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 17692 | else $as_nop |
| 17693 | case $PYTHON in |
| 17694 | [\\/]* | ?:[\\/]*) |
| 17695 | ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. |
| 17696 | ;; |
| 17697 | *) |
| 17698 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 17699 | for as_dir in $PATH |
| 17700 | do |
| 17701 | IFS=$as_save_IFS |
| 17702 | case $as_dir in #((( |
| 17703 | '') as_dir=./ ;; |
| 17704 | */) ;; |
| 17705 | *) as_dir=$as_dir/ ;; |
| 17706 | esac |
| 17707 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 17708 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 17709 | ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext" |
| 17710 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 17711 | break 2 |
| 17712 | fi |
| 17713 | done |
| 17714 | done |
| 17715 | IFS=$as_save_IFS |
| 17716 | |
| 17717 | ;; |
| 17718 | esac |
| 17719 | fi |
| 17720 | PYTHON=$ac_cv_path_PYTHON |
| 17721 | if testscip-shell system . . test. -n "$PYTHON"; then |
| 17722 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 |
| 17723 | printfscip-shell system . . printf. "%s\n" "$PYTHON" >&6; } |
| 17724 | else |
| 17725 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 17726 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 17727 | fi |
| 17728 | |
| 17729 | |
| 17730 | testscip-shell system . . test. -n "$PYTHON" && break |
| 17731 | done |
| 17732 | testscip-shell system . . test. -n "$PYTHON" || PYTHON=":" |
| 17733 | |
| 17734 | fi |
| 17735 | am_display_PYTHON=python |
| 17736 | |
| 17737 | |
| 17738 | if testscip-shell system . . test. "$PYTHON" = :; then |
| 17739 | : |
| 17740 | else |
| 17741 | |
| 17742 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 |
| 17743 | printfscip-shell system . . printf. %s "checking for $am_display_PYTHON version... " >&6; } |
| 17744 | if testscip-shell system . . test. ${am_cv_python_version+y} |
| 17745 | then : |
| 17746 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 17747 | else $as_nop |
| 17748 | am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"` |
| 17749 | fi |
| 17750 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 |
| 17751 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_version" >&6; } |
| 17752 | PYTHON_VERSION=$am_cv_python_version |
| 17753 | |
| 17754 | |
| 17755 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 |
| 17756 | printfscip-shell system . . printf. %s "checking for $am_display_PYTHON platform... " >&6; } |
| 17757 | if testscip-shell system . . test. ${am_cv_python_platform+y} |
| 17758 | then : |
| 17759 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 17760 | else $as_nop |
| 17761 | am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` |
| 17762 | fi |
| 17763 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 |
| 17764 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_platform" >&6; } |
| 17765 | PYTHON_PLATFORM=$am_cv_python_platform |
| 17766 | |
| 17767 | |
| 17768 | if testscip-shell system . . test. "x$prefix" = xNONE; then |
| 17769 | am__usable_prefix=$ac_default_prefix |
| 17770 | else |
| 17771 | am__usable_prefix=$prefix |
| 17772 | fi |
| 17773 | |
| 17774 | # Allow user to request using sys.* values from Python, |
| 17775 | # instead of the GNU $prefix values. |
| 17776 | |
| 17777 | # Check whether --with-python-sys-prefix was given. |
| 17778 | if testscip-shell system . . test. ${with_python_sys_prefix+y} |
| 17779 | then : |
| 17780 | withval=$with_python_sys_prefix; am_use_python_sys=: |
| 17781 | else $as_nop |
| 17782 | am_use_python_sys=false |
| 17783 | fi |
| 17784 | |
| 17785 | |
| 17786 | # Allow user to override whatever the default Python prefix is. |
| 17787 | |
| 17788 | # Check whether --with-python_prefix was given. |
| 17789 | if testscip-shell system . . test. ${with_python_prefix+y} |
| 17790 | then : |
| 17791 | withval=$with_python_prefix; am_python_prefix_subst=$withval |
| 17792 | am_cv_python_prefix=$withval |
| 17793 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5 |
| 17794 | printfscip-shell system . . printf. %s "checking for explicit $am_display_PYTHON prefix... " >&6; } |
| 17795 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5 |
| 17796 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_prefix" >&6; } |
| 17797 | else $as_nop |
| 17798 | |
| 17799 | if $am_use_python_sys; then |
| 17800 | # using python sys.prefix value, not GNU |
| 17801 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5 |
| 17802 | printfscip-shell system . . printf. %s "checking for python default $am_display_PYTHON prefix... " >&6; } |
| 17803 | if testscip-shell system . . test. ${am_cv_python_prefix+y} |
| 17804 | then : |
| 17805 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 17806 | else $as_nop |
| 17807 | am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"` |
| 17808 | fi |
| 17809 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5 |
| 17810 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_prefix" >&6; } |
| 17811 | |
| 17812 | case $am_cv_python_prefix in |
| 17813 | $am__usable_prefix*) |
| 17814 | am__strip_prefix=`echoscip-shell system . . echo. "$am__usable_prefix" | sedscip-shell system . . sed. 's|.|.|g'` |
| 17815 | am_python_prefix_subst=`echoscip-shell system . . echo. "$am_cv_python_prefix" | sedscip-shell system . . sed. "s,^$am__strip_prefix,\\${prefix},"` |
| 17816 | ;; |
| 17817 | *) |
| 17818 | am_python_prefix_subst=$am_cv_python_prefix |
| 17819 | ;; |
| 17820 | esac |
| 17821 | else # using GNU prefix value, not python sys.prefix |
| 17822 | am_python_prefix_subst='${prefix}' |
| 17823 | am_python_prefix=$am_python_prefix_subst |
| 17824 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5 |
| 17825 | printfscip-shell system . . printf. %s "checking for GNU default $am_display_PYTHON prefix... " >&6; } |
| 17826 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5 |
| 17827 | printfscip-shell system . . printf. "%s\n" "$am_python_prefix" >&6; } |
| 17828 | fi |
| 17829 | fi |
| 17830 | |
| 17831 | # Substituting python_prefix_subst value. |
| 17832 | PYTHON_PREFIX=$am_python_prefix_subst |
| 17833 | |
| 17834 | |
| 17835 | # emacs-page Now do it all over again for Python exec_prefix, but with yet |
| 17836 | # another conditional: fall back to regular prefix if that was specified. |
| 17837 | |
| 17838 | # Check whether --with-python_exec_prefix was given. |
| 17839 | if testscip-shell system . . test. ${with_python_exec_prefix+y} |
| 17840 | then : |
| 17841 | withval=$with_python_exec_prefix; am_python_exec_prefix_subst=$withval |
| 17842 | am_cv_python_exec_prefix=$withval |
| 17843 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5 |
| 17844 | printfscip-shell system . . printf. %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; } |
| 17845 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5 |
| 17846 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_exec_prefix" >&6; } |
| 17847 | else $as_nop |
| 17848 | |
| 17849 | # no explicit --with-python_exec_prefix, but if |
| 17850 | # --with-python_prefix was given, use its value for python_exec_prefix too. |
| 17851 | if testscip-shell system . . test. -n "$with_python_prefix" |
| 17852 | then : |
| 17853 | am_python_exec_prefix_subst=$with_python_prefix |
| 17854 | am_cv_python_exec_prefix=$with_python_prefix |
| 17855 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5 |
| 17856 | printfscip-shell system . . printf. %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; } |
| 17857 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5 |
| 17858 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_exec_prefix" >&6; } |
| 17859 | else $as_nop |
| 17860 | |
| 17861 | # Set am__usable_exec_prefix whether using GNU or Python values, |
| 17862 | # since we use that variable for pyexecdir. |
| 17863 | if testscip-shell system . . test. "x$exec_prefix" = xNONE; then |
| 17864 | am__usable_exec_prefix=$am__usable_prefix |
| 17865 | else |
| 17866 | am__usable_exec_prefix=$exec_prefix |
| 17867 | fi |
| 17868 | # |
| 17869 | if $am_use_python_sys; then # using python sys.exec_prefix, not GNU |
| 17870 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5 |
| 17871 | printfscip-shell system . . printf. %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; } |
| 17872 | if testscip-shell system . . test. ${am_cv_python_exec_prefix+y} |
| 17873 | then : |
| 17874 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 17875 | else $as_nop |
| 17876 | am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"` |
| 17877 | fi |
| 17878 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5 |
| 17879 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_exec_prefix" >&6; } |
| 17880 | case $am_cv_python_exec_prefix in |
| 17881 | $am__usable_exec_prefix*) |
| 17882 | am__strip_prefix=`echoscip-shell system . . echo. "$am__usable_exec_prefix" | sedscip-shell system . . sed. 's|.|.|g'` |
| 17883 | am_python_exec_prefix_subst=`echoscip-shell system . . echo. "$am_cv_python_exec_prefix" | sedscip-shell system . . sed. "s,^$am__strip_prefix,\\${exec_prefix},"` |
| 17884 | ;; |
| 17885 | *) |
| 17886 | am_python_exec_prefix_subst=$am_cv_python_exec_prefix |
| 17887 | ;; |
| 17888 | esac |
| 17889 | else # using GNU $exec_prefix, not python sys.exec_prefix |
| 17890 | am_python_exec_prefix_subst='${exec_prefix}' |
| 17891 | am_python_exec_prefix=$am_python_exec_prefix_subst |
| 17892 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5 |
| 17893 | printfscip-shell system . . printf. %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; } |
| 17894 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5 |
| 17895 | printfscip-shell system . . printf. "%s\n" "$am_python_exec_prefix" >&6; } |
| 17896 | fi |
| 17897 | fi |
| 17898 | fi |
| 17899 | |
| 17900 | # Substituting python_exec_prefix_subst. |
| 17901 | PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst |
| 17902 | |
| 17903 | |
| 17904 | # Factor out some code duplication into this shell variable. |
| 17905 | am_python_setup_sysconfig="\ |
| 17906 | import sys |
| 17907 | # Prefer sysconfig over distutils.sysconfig, for better compatibility |
| 17908 | # with python 3.x. See automake bug#10227. |
| 17909 | try: |
| 17910 | import sysconfig |
| 17911 | except ImportError: |
| 17912 | can_use_sysconfig = 0 |
| 17913 | else: |
| 17914 | can_use_sysconfig = 1 |
| 17915 | # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs: |
| 17916 | # <https://github.com/pypa/virtualenv/issues/118> |
| 17917 | try: |
| 17918 | from platform import python_implementation |
| 17919 | if python_implementation() == 'CPython' and sys.version[:3] == '2.7': |
| 17920 | can_use_sysconfig = 0 |
| 17921 | except ImportError: |
| 17922 | pass" |
| 17923 | |
| 17924 | |
| 17925 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5 |
| 17926 | printfscip-shell system . . printf. %s "checking for $am_display_PYTHON script directory (pythondir)... " >&6; } |
| 17927 | if testscip-shell system . . test. ${am_cv_python_pythondir+y} |
| 17928 | then : |
| 17929 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 17930 | else $as_nop |
| 17931 | if testscip-shell system . . test. "x$am_cv_python_prefix" = x; then |
| 17932 | am_py_prefix=$am__usable_prefix |
| 17933 | else |
| 17934 | am_py_prefix=$am_cv_python_prefix |
| 17935 | fi |
| 17936 | am_cv_python_pythondir=`$PYTHON -c " |
| 17937 | $am_python_setup_sysconfig |
| 17938 | if can_use_sysconfig: |
| 17939 | if hasattr(sysconfig, 'get_default_scheme'): |
| 17940 | scheme = sysconfig.get_default_scheme() |
| 17941 | else: |
| 17942 | scheme = sysconfig._get_default_scheme() |
| 17943 | if scheme == 'posix_local': |
| 17944 | # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/ |
| 17945 | scheme = 'posix_prefix' |
| 17946 | sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'}) |
| 17947 | else: |
| 17948 | from distutils import sysconfig |
| 17949 | sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') |
| 17950 | sys.stdout.write(sitedir)"` |
| 17951 | # |
| 17952 | case $am_cv_python_pythondir in |
| 17953 | $am_py_prefix*) |
| 17954 | am__strip_prefix=`echoscip-shell system . . echo. "$am_py_prefix" | sedscip-shell system . . sed. 's|.|.|g'` |
| 17955 | am_cv_python_pythondir=`echoscip-shell system . . echo. "$am_cv_python_pythondir" | sedscip-shell system . . sed. "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"` |
| 17956 | ;; |
| 17957 | *) |
| 17958 | case $am_py_prefix in |
| 17959 | /usr|/System*) ;; |
| 17960 | *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages" |
| 17961 | ;; |
| 17962 | esac |
| 17963 | ;; |
| 17964 | esac |
| 17965 | |
| 17966 | fi |
| 17967 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 |
| 17968 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_pythondir" >&6; } |
| 17969 | pythondir=$am_cv_python_pythondir |
| 17970 | |
| 17971 | |
| 17972 | pkgpythondir=\${pythondir}/$PACKAGE |
| 17973 | |
| 17974 | |
| 17975 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5 |
| 17976 | printfscip-shell system . . printf. %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; } |
| 17977 | if testscip-shell system . . test. ${am_cv_python_pyexecdir+y} |
| 17978 | then : |
| 17979 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 17980 | else $as_nop |
| 17981 | if testscip-shell system . . test. "x$am_cv_python_exec_prefix" = x; then |
| 17982 | am_py_exec_prefix=$am__usable_exec_prefix |
| 17983 | else |
| 17984 | am_py_exec_prefix=$am_cv_python_exec_prefix |
| 17985 | fi |
| 17986 | am_cv_python_pyexecdir=`$PYTHON -c " |
| 17987 | $am_python_setup_sysconfig |
| 17988 | if can_use_sysconfig: |
| 17989 | if hasattr(sysconfig, 'get_default_scheme'): |
| 17990 | scheme = sysconfig.get_default_scheme() |
| 17991 | else: |
| 17992 | scheme = sysconfig._get_default_scheme() |
| 17993 | if scheme == 'posix_local': |
| 17994 | # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/ |
| 17995 | scheme = 'posix_prefix' |
| 17996 | sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'}) |
| 17997 | else: |
| 17998 | from distutils import sysconfig |
| 17999 | sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix') |
| 18000 | sys.stdout.write(sitedir)"` |
| 18001 | # |
| 18002 | case $am_cv_python_pyexecdir in |
| 18003 | $am_py_exec_prefix*) |
| 18004 | am__strip_prefix=`echoscip-shell system . . echo. "$am_py_exec_prefix" | sedscip-shell system . . sed. 's|.|.|g'` |
| 18005 | am_cv_python_pyexecdir=`echoscip-shell system . . echo. "$am_cv_python_pyexecdir" | sedscip-shell system . . sed. "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"` |
| 18006 | ;; |
| 18007 | *) |
| 18008 | case $am_py_exec_prefix in |
| 18009 | /usr|/System*) ;; |
| 18010 | *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages" |
| 18011 | ;; |
| 18012 | esac |
| 18013 | ;; |
| 18014 | esac |
| 18015 | |
| 18016 | fi |
| 18017 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 |
| 18018 | printfscip-shell system . . printf. "%s\n" "$am_cv_python_pyexecdir" >&6; } |
| 18019 | pyexecdir=$am_cv_python_pyexecdir |
| 18020 | |
| 18021 | |
| 18022 | pkgpyexecdir=\${pyexecdir}/$PACKAGE |
| 18023 | |
| 18024 | |
| 18025 | |
| 18026 | fi |
| 18027 | |
| 18028 | |
| 18029 | # Running from git source? |
| 18030 | in_git_src=no |
| 18031 | if testscip-shell system . . test. -d "$srcdir"/.git && ! testscip-shell system . . test. -f "$srcdir"/.tarball-version |
| 18032 | then : |
| 18033 | in_git_src=yes |
| 18034 | fi |
| 18035 | |
| 18036 | |
| 18037 | |
| 18038 | printfscip-shell system . . printf. "%s\n" "#define HOSTENV \"$host\"" >>confdefs.h |
| 18039 | |
| 18040 | |
| 18041 | # Some Unix systems, like Gnu Hurd, don't define PATH_MAX |
| 18042 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX" >&5 |
| 18043 | printfscip-shell system . . printf. %s "checking for PATH_MAX... " >&6; } |
| 18044 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18045 | /* end confdefs.h. */ |
| 18046 | #include <limits.h> |
| 18047 | int |
| 18048 | main (void) |
| 18049 | { |
| 18050 | char checker[PATH_MAX]; |
| 18051 | ; |
| 18052 | return 0; |
| 18053 | } |
| 18054 | _ACEOF |
| 18055 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 18056 | then : |
| 18057 | |
| 18058 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 18059 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 18060 | |
| 18061 | else $as_nop |
| 18062 | |
| 18063 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, mocking PATH_MAX = 4096" >&5 |
| 18064 | printfscip-shell system . . printf. "%s\n" "no, mocking PATH_MAX = 4096" >&6; } |
| 18065 | |
| 18066 | printfscip-shell system . . printf. "%s\n" "#define PATH_MAX 4096" >>confdefs.h |
| 18067 | |
| 18068 | |
| 18069 | printfscip-shell system . . printf. "%s\n" "#define MAXPATHLEN 4096" >>confdefs.h |
| 18070 | # we assume this does not exit |
| 18071 | |
| 18072 | |
| 18073 | fi |
| 18074 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 18075 | |
| 18076 | # Checks for libraries. |
| 18077 | |
| 18078 | pkg_failed=no |
| 18079 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for yaml-0.1" >&5 |
| 18080 | printfscip-shell system . . printf. %s "checking for yaml-0.1... " >&6; } |
| 18081 | |
| 18082 | if testscip-shell system . . test. -n "$LIBYAML_CFLAGS"; then |
| 18083 | pkg_cv_LIBYAML_CFLAGS="$LIBYAML_CFLAGS" |
| 18084 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 18085 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 18086 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"yaml-0.1\""; } >&5 |
| 18087 | ($PKG_CONFIG --exists --print-errors "yaml-0.1") 2>&5 |
| 18088 | ac_status=$? |
| 18089 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 18090 | testscip-shell system . . test. $ac_status = 0; }; then |
| 18091 | pkg_cv_LIBYAML_CFLAGS=`$PKG_CONFIG --cflags "yaml-0.1" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 18092 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 18093 | else |
| 18094 | pkg_failed=yes |
| 18095 | fi |
| 18096 | else |
| 18097 | pkg_failed=untried |
| 18098 | fi |
| 18099 | if testscip-shell system . . test. -n "$LIBYAML_LIBS"; then |
| 18100 | pkg_cv_LIBYAML_LIBS="$LIBYAML_LIBS" |
| 18101 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 18102 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 18103 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"yaml-0.1\""; } >&5 |
| 18104 | ($PKG_CONFIG --exists --print-errors "yaml-0.1") 2>&5 |
| 18105 | ac_status=$? |
| 18106 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 18107 | testscip-shell system . . test. $ac_status = 0; }; then |
| 18108 | pkg_cv_LIBYAML_LIBS=`$PKG_CONFIG --libs "yaml-0.1" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 18109 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 18110 | else |
| 18111 | pkg_failed=yes |
| 18112 | fi |
| 18113 | else |
| 18114 | pkg_failed=untried |
| 18115 | fi |
| 18116 | |
| 18117 | |
| 18118 | |
| 18119 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 18120 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 18121 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 18122 | |
| 18123 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 18124 | _pkg_short_errors_supported=yes |
| 18125 | else |
| 18126 | _pkg_short_errors_supported=no |
| 18127 | fi |
| 18128 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 18129 | LIBYAML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "yaml-0.1" 2>&1` |
| 18130 | else |
| 18131 | LIBYAML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "yaml-0.1" 2>&1` |
| 18132 | fi |
| 18133 | # Put the nasty error message in config.log where it belongs |
| 18134 | echoscip-shell system . . echo. "$LIBYAML_PKG_ERRORS" >&5 |
| 18135 | |
| 18136 | |
| 18137 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libyaml not found, rate limiting policies from files and YAML configuration support will be disabled" >&5 |
| 18138 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: libyaml not found, rate limiting policies from files and YAML configuration support will be disabled" >&2;} |
| 18139 | have_libyaml=no |
| 18140 | |
| 18141 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 18142 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 18143 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 18144 | |
| 18145 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libyaml not found, rate limiting policies from files and YAML configuration support will be disabled" >&5 |
| 18146 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: libyaml not found, rate limiting policies from files and YAML configuration support will be disabled" >&2;} |
| 18147 | have_libyaml=no |
| 18148 | |
| 18149 | else |
| 18150 | LIBYAML_CFLAGS=$pkg_cv_LIBYAML_CFLAGS |
| 18151 | LIBYAML_LIBS=$pkg_cv_LIBYAML_LIBS |
| 18152 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 18153 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 18154 | |
| 18155 | |
| 18156 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LIBYAML 1" >>confdefs.h |
| 18157 | |
| 18158 | have_libyaml=yes |
| 18159 | |
| 18160 | fi |
| 18161 | if testscip-shell system . . test. x$have_libyaml = xyes; then |
| 18162 | HAVE_LIBYAML_TRUE= |
| 18163 | HAVE_LIBYAML_FALSE='#' |
| 18164 | else |
| 18165 | HAVE_LIBYAML_TRUE='#' |
| 18166 | HAVE_LIBYAML_FALSE= |
| 18167 | fi |
| 18168 | |
| 18169 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: YAML configuration support: $have_libyaml" >&5 |
| 18170 | printfscip-shell system . . printf. "%s\n" "$as_me: YAML configuration support: $have_libyaml" >&6;} |
| 18171 | save_LIBS=$LIBS |
| 18172 | LIBS= |
| 18173 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 |
| 18174 | printfscip-shell system . . printf. %s "checking for library containing clock_gettime... " >&6; } |
| 18175 | if testscip-shell system . . test. ${ac_cv_search_clock_gettime+y} |
| 18176 | then : |
| 18177 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 18178 | else $as_nop |
| 18179 | ac_func_search_save_LIBS=$LIBS |
| 18180 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18181 | /* end confdefs.h. */ |
| 18182 | |
| 18183 | /* Override any GCC internal prototype to avoid an error. |
| 18184 | Use char because int might match the return type of a GCC |
| 18185 | builtin and then its argument prototype would still apply. */ |
| 18186 | char clock_gettime (); |
| 18187 | int |
| 18188 | main (void) |
| 18189 | { |
| 18190 | return clock_gettime (); |
| 18191 | ; |
| 18192 | return 0; |
| 18193 | } |
| 18194 | _ACEOF |
| 18195 | for ac_lib in '' rt |
| 18196 | do |
| 18197 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 18198 | ac_res="none required" |
| 18199 | else |
| 18200 | ac_res=-l$ac_lib |
| 18201 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 18202 | fi |
| 18203 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 18204 | then : |
| 18205 | ac_cv_search_clock_gettime=$ac_res |
| 18206 | fi |
| 18207 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 18208 | conftest$ac_exeext |
| 18209 | if testscip-shell system . . test. ${ac_cv_search_clock_gettime+y} |
| 18210 | then : |
| 18211 | break |
| 18212 | fi |
| 18213 | done |
| 18214 | if testscip-shell system . . test. ${ac_cv_search_clock_gettime+y} |
| 18215 | then : |
| 18216 | |
| 18217 | else $as_nop |
| 18218 | ac_cv_search_clock_gettime=no |
| 18219 | fi |
| 18220 | rmscip-shell system . . rm. conftest.$ac_ext |
| 18221 | LIBS=$ac_func_search_save_LIBS |
| 18222 | fi |
| 18223 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 |
| 18224 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_clock_gettime" >&6; } |
| 18225 | ac_res=$ac_cv_search_clock_gettime |
| 18226 | if testscip-shell system . . test. "$ac_res" != no |
| 18227 | then : |
| 18228 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 18229 | |
| 18230 | fi |
| 18231 | |
| 18232 | RT_LIBS=$LIBS |
| 18233 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing mq_getattr" >&5 |
| 18234 | printfscip-shell system . . printf. %s "checking for library containing mq_getattr... " >&6; } |
| 18235 | if testscip-shell system . . test. ${ac_cv_search_mq_getattr+y} |
| 18236 | then : |
| 18237 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 18238 | else $as_nop |
| 18239 | ac_func_search_save_LIBS=$LIBS |
| 18240 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18241 | /* end confdefs.h. */ |
| 18242 | |
| 18243 | /* Override any GCC internal prototype to avoid an error. |
| 18244 | Use char because int might match the return type of a GCC |
| 18245 | builtin and then its argument prototype would still apply. */ |
| 18246 | char mq_getattr (); |
| 18247 | int |
| 18248 | main (void) |
| 18249 | { |
| 18250 | return mq_getattr (); |
| 18251 | ; |
| 18252 | return 0; |
| 18253 | } |
| 18254 | _ACEOF |
| 18255 | for ac_lib in '' rt |
| 18256 | do |
| 18257 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 18258 | ac_res="none required" |
| 18259 | else |
| 18260 | ac_res=-l$ac_lib |
| 18261 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 18262 | fi |
| 18263 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 18264 | then : |
| 18265 | ac_cv_search_mq_getattr=$ac_res |
| 18266 | fi |
| 18267 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 18268 | conftest$ac_exeext |
| 18269 | if testscip-shell system . . test. ${ac_cv_search_mq_getattr+y} |
| 18270 | then : |
| 18271 | break |
| 18272 | fi |
| 18273 | done |
| 18274 | if testscip-shell system . . test. ${ac_cv_search_mq_getattr+y} |
| 18275 | then : |
| 18276 | |
| 18277 | else $as_nop |
| 18278 | ac_cv_search_mq_getattr=no |
| 18279 | fi |
| 18280 | rmscip-shell system . . rm. conftest.$ac_ext |
| 18281 | LIBS=$ac_func_search_save_LIBS |
| 18282 | fi |
| 18283 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mq_getattr" >&5 |
| 18284 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_mq_getattr" >&6; } |
| 18285 | ac_res=$ac_cv_search_mq_getattr |
| 18286 | if testscip-shell system . . test. "$ac_res" != no |
| 18287 | then : |
| 18288 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 18289 | |
| 18290 | fi |
| 18291 | |
| 18292 | RT_LIBS="$RT_LIBS $LIBS" |
| 18293 | LIBS= |
| 18294 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 |
| 18295 | printfscip-shell system . . printf. %s "checking for library containing dlopen... " >&6; } |
| 18296 | if testscip-shell system . . test. ${ac_cv_search_dlopen+y} |
| 18297 | then : |
| 18298 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 18299 | else $as_nop |
| 18300 | ac_func_search_save_LIBS=$LIBS |
| 18301 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18302 | /* end confdefs.h. */ |
| 18303 | |
| 18304 | /* Override any GCC internal prototype to avoid an error. |
| 18305 | Use char because int might match the return type of a GCC |
| 18306 | builtin and then its argument prototype would still apply. */ |
| 18307 | char dlopen (); |
| 18308 | int |
| 18309 | main (void) |
| 18310 | { |
| 18311 | return dlopen (); |
| 18312 | ; |
| 18313 | return 0; |
| 18314 | } |
| 18315 | _ACEOF |
| 18316 | for ac_lib in '' dl |
| 18317 | do |
| 18318 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 18319 | ac_res="none required" |
| 18320 | else |
| 18321 | ac_res=-l$ac_lib |
| 18322 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 18323 | fi |
| 18324 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 18325 | then : |
| 18326 | ac_cv_search_dlopen=$ac_res |
| 18327 | fi |
| 18328 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 18329 | conftest$ac_exeext |
| 18330 | if testscip-shell system . . test. ${ac_cv_search_dlopen+y} |
| 18331 | then : |
| 18332 | break |
| 18333 | fi |
| 18334 | done |
| 18335 | if testscip-shell system . . test. ${ac_cv_search_dlopen+y} |
| 18336 | then : |
| 18337 | |
| 18338 | else $as_nop |
| 18339 | ac_cv_search_dlopen=no |
| 18340 | fi |
| 18341 | rmscip-shell system . . rm. conftest.$ac_ext |
| 18342 | LIBS=$ac_func_search_save_LIBS |
| 18343 | fi |
| 18344 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 |
| 18345 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_dlopen" >&6; } |
| 18346 | ac_res=$ac_cv_search_dlopen |
| 18347 | if testscip-shell system . . test. "$ac_res" != no |
| 18348 | then : |
| 18349 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 18350 | |
| 18351 | fi |
| 18352 | |
| 18353 | DL_LIBS=$LIBS |
| 18354 | LIBS=$save_LIBS |
| 18355 | |
| 18356 | |
| 18357 | |
| 18358 | |
| 18359 | # Checks for header files. |
| 18360 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "#ifdef HAVE_SYS_TYPES_H |
| 18361 | # include <sys/types.h> |
| 18362 | #endif |
| 18363 | #ifdef HAVE_NETINET_IN_H |
| 18364 | # include <netinet/in.h> /* inet_ functions / structs */ |
| 18365 | #endif |
| 18366 | #ifdef HAVE_ARPA_NAMESER_H |
| 18367 | # include <arpa/nameser.h> /* DNS HEADER struct */ |
| 18368 | #endif |
| 18369 | #ifdef HAVE_NETDB_H |
| 18370 | # include <netdb.h> |
| 18371 | #endif |
| 18372 | " |
| 18373 | if testscip-shell system . . test. "x$ac_cv_header_sys_types_h" = xyes |
| 18374 | then : |
| 18375 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h |
| 18376 | |
| 18377 | fi |
| 18378 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "#ifdef HAVE_SYS_TYPES_H |
| 18379 | # include <sys/types.h> |
| 18380 | #endif |
| 18381 | #ifdef HAVE_NETINET_IN_H |
| 18382 | # include <netinet/in.h> /* inet_ functions / structs */ |
| 18383 | #endif |
| 18384 | #ifdef HAVE_ARPA_NAMESER_H |
| 18385 | # include <arpa/nameser.h> /* DNS HEADER struct */ |
| 18386 | #endif |
| 18387 | #ifdef HAVE_NETDB_H |
| 18388 | # include <netdb.h> |
| 18389 | #endif |
| 18390 | " |
| 18391 | if testscip-shell system . . test. "x$ac_cv_header_netinet_in_h" = xyes |
| 18392 | then : |
| 18393 | printfscip-shell system . . printf. "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h |
| 18394 | |
| 18395 | fi |
| 18396 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "#ifdef HAVE_SYS_TYPES_H |
| 18397 | # include <sys/types.h> |
| 18398 | #endif |
| 18399 | #ifdef HAVE_NETINET_IN_H |
| 18400 | # include <netinet/in.h> /* inet_ functions / structs */ |
| 18401 | #endif |
| 18402 | #ifdef HAVE_ARPA_NAMESER_H |
| 18403 | # include <arpa/nameser.h> /* DNS HEADER struct */ |
| 18404 | #endif |
| 18405 | #ifdef HAVE_NETDB_H |
| 18406 | # include <netdb.h> |
| 18407 | #endif |
| 18408 | " |
| 18409 | if testscip-shell system . . test. "x$ac_cv_header_arpa_nameser_h" = xyes |
| 18410 | then : |
| 18411 | printfscip-shell system . . printf. "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h |
| 18412 | |
| 18413 | fi |
| 18414 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "#ifdef HAVE_SYS_TYPES_H |
| 18415 | # include <sys/types.h> |
| 18416 | #endif |
| 18417 | #ifdef HAVE_NETINET_IN_H |
| 18418 | # include <netinet/in.h> /* inet_ functions / structs */ |
| 18419 | #endif |
| 18420 | #ifdef HAVE_ARPA_NAMESER_H |
| 18421 | # include <arpa/nameser.h> /* DNS HEADER struct */ |
| 18422 | #endif |
| 18423 | #ifdef HAVE_NETDB_H |
| 18424 | # include <netdb.h> |
| 18425 | #endif |
| 18426 | " |
| 18427 | if testscip-shell system . . test. "x$ac_cv_header_netdb_h" = xyes |
| 18428 | then : |
| 18429 | printfscip-shell system . . printf. "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h |
| 18430 | |
| 18431 | fi |
| 18432 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#ifdef HAVE_SYS_TYPES_H |
| 18433 | # include <sys/types.h> |
| 18434 | #endif |
| 18435 | #ifdef HAVE_NETINET_IN_H |
| 18436 | # include <netinet/in.h> /* inet_ functions / structs */ |
| 18437 | #endif |
| 18438 | #ifdef HAVE_ARPA_NAMESER_H |
| 18439 | # include <arpa/nameser.h> /* DNS HEADER struct */ |
| 18440 | #endif |
| 18441 | #ifdef HAVE_NETDB_H |
| 18442 | # include <netdb.h> |
| 18443 | #endif |
| 18444 | " |
| 18445 | if testscip-shell system . . test. "x$ac_cv_header_resolv_h" = xyes |
| 18446 | then : |
| 18447 | printfscip-shell system . . printf. "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h |
| 18448 | |
| 18449 | fi |
| 18450 | |
| 18451 | |
| 18452 | # Autoupdate added the next two lines to ensure that your configure |
| 18453 | # script's behavior did not change. They are probably safe to remove. |
| 18454 | |
| 18455 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 18456 | printfscip-shell system . . printf. %s "checking for egrep... " >&6; } |
| 18457 | if testscip-shell system . . test. ${ac_cv_path_EGREP+y} |
| 18458 | then : |
| 18459 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 18460 | else $as_nop |
| 18461 | if echoscip-shell system . . echo. a | $GREP -E '(a|b)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 |
| 18462 | then ac_cv_path_EGREP="$GREP -E" |
| 18463 | else |
| 18464 | if testscip-shell system . . test. -z "$EGREP"; then |
| 18465 | ac_path_EGREP_found=false |
| 18466 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 18467 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 18468 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 18469 | do |
| 18470 | IFS=$as_save_IFS |
| 18471 | case $as_dir in #((( |
| 18472 | '') as_dir=./ ;; |
| 18473 | */) ;; |
| 18474 | *) as_dir=$as_dir/ ;; |
| 18475 | esac |
| 18476 | for ac_prog in egrep |
| 18477 | do |
| 18478 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 18479 | ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" |
| 18480 | as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$ac_path_EGREP" || continue |
| 18481 | # Check for GNU ac_path_EGREP and select it if it is found. |
| 18482 | # Check for GNU $ac_path_EGREP |
| 18483 | case `"$ac_path_EGREP" --version 2>&1` in |
| 18484 | *GNU*) |
| 18485 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| 18486 | *) |
| 18487 | ac_count=0 |
| 18488 | printfscip-shell system . . printf. %s 0123456789 >"conftest.in" |
| 18489 | while : |
| 18490 | do |
| 18491 | catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp" |
| 18492 | mvscip-shell system . . mv. "conftest.tmp" "conftest.in" |
| 18493 | cpscip-shell system . . cp. "conftest.in" "conftest.nl" |
| 18494 | printfscip-shell system . . printf. "%s\n" 'EGREP' >> "conftest.nl" |
| 18495 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break |
| 18496 | diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break |
| 18497 | as_fn_arithscip-shell shell rsyslog 8.2604.0-4 as_fn_arith(). $ac_count + 1 && ac_count=$as_val |
| 18498 | if testscip-shell system . . test. $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 18499 | # Best one so far, save it but keep looking for a better one |
| 18500 | ac_cv_path_EGREP="$ac_path_EGREP" |
| 18501 | ac_path_EGREP_max=$ac_count |
| 18502 | fi |
| 18503 | # 10*(2^10) chars as input seems more than enough |
| 18504 | testscip-shell system . . test. $ac_count -gt 10 && break |
| 18505 | done |
| 18506 | rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 18507 | esac |
| 18508 | |
| 18509 | $ac_path_EGREP_found && break 3 |
| 18510 | done |
| 18511 | done |
| 18512 | done |
| 18513 | IFS=$as_save_IFS |
| 18514 | if testscip-shell system . . test. -z "$ac_cv_path_EGREP"; then |
| 18515 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 18516 | fi |
| 18517 | else |
| 18518 | ac_cv_path_EGREP=$EGREP |
| 18519 | fi |
| 18520 | |
| 18521 | fi |
| 18522 | fi |
| 18523 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
| 18524 | printfscip-shell system . . printf. "%s\n" "$ac_cv_path_EGREP" >&6; } |
| 18525 | EGREP="$ac_cv_path_EGREP" |
| 18526 | |
| 18527 | |
| 18528 | |
| 18529 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 18530 | printfscip-shell system . . printf. %s "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } |
| 18531 | if testscip-shell system . . test. ${ac_cv_header_sys_wait_h+y} |
| 18532 | then : |
| 18533 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 18534 | else $as_nop |
| 18535 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18536 | /* end confdefs.h. */ |
| 18537 | #include <sys/types.h> |
| 18538 | #include <sys/wait.h> |
| 18539 | #ifndef WEXITSTATUS |
| 18540 | # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
| 18541 | #endif |
| 18542 | #ifndef WIFEXITED |
| 18543 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
| 18544 | #endif |
| 18545 | |
| 18546 | int |
| 18547 | main (void) |
| 18548 | { |
| 18549 | int s; |
| 18550 | wait (&s); |
| 18551 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 18552 | ; |
| 18553 | return 0; |
| 18554 | } |
| 18555 | _ACEOF |
| 18556 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 18557 | then : |
| 18558 | ac_cv_header_sys_wait_h=yes |
| 18559 | else $as_nop |
| 18560 | ac_cv_header_sys_wait_h=no |
| 18561 | fi |
| 18562 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 18563 | fi |
| 18564 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 |
| 18565 | printfscip-shell system . . printf. "%s\n" "$ac_cv_header_sys_wait_h" >&6; } |
| 18566 | if testscip-shell system . . test. $ac_cv_header_sys_wait_h = yes; then |
| 18567 | |
| 18568 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h |
| 18569 | |
| 18570 | fi |
| 18571 | |
| 18572 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" " |
| 18573 | #ifdef HAVE_ARPA_INET_H |
| 18574 | # include <arpa/inet.h> |
| 18575 | #endif |
| 18576 | |
| 18577 | |
| 18578 | " |
| 18579 | if testscip-shell system . . test. "x$ac_cv_header_arpa_inet_h" = xyes |
| 18580 | then : |
| 18581 | |
| 18582 | fi |
| 18583 | |
| 18584 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "libgen.h" "ac_cv_header_libgen_h" " |
| 18585 | #ifdef HAVE_LIBGEN_H |
| 18586 | # include <libgen.h> |
| 18587 | #endif |
| 18588 | |
| 18589 | |
| 18590 | " |
| 18591 | if testscip-shell system . . test. "x$ac_cv_header_libgen_h" = xyes |
| 18592 | then : |
| 18593 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LIBGEN_H 1" >>confdefs.h |
| 18594 | |
| 18595 | fi |
| 18596 | |
| 18597 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "malloc.h" "ac_cv_header_malloc_h" " |
| 18598 | #ifdef HAVE_MALLOC_H |
| 18599 | # include <malloc.h> |
| 18600 | #endif |
| 18601 | |
| 18602 | |
| 18603 | " |
| 18604 | if testscip-shell system . . test. "x$ac_cv_header_malloc_h" = xyes |
| 18605 | then : |
| 18606 | printfscip-shell system . . printf. "%s\n" "#define HAVE_MALLOC_H 1" >>confdefs.h |
| 18607 | |
| 18608 | fi |
| 18609 | |
| 18610 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" |
| 18611 | if testscip-shell system . . test. "x$ac_cv_header_fcntl_h" = xyes |
| 18612 | then : |
| 18613 | printfscip-shell system . . printf. "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h |
| 18614 | |
| 18615 | fi |
| 18616 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" |
| 18617 | if testscip-shell system . . test. "x$ac_cv_header_locale_h" = xyes |
| 18618 | then : |
| 18619 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LOCALE_H 1" >>confdefs.h |
| 18620 | |
| 18621 | fi |
| 18622 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" |
| 18623 | if testscip-shell system . . test. "x$ac_cv_header_netdb_h" = xyes |
| 18624 | then : |
| 18625 | printfscip-shell system . . printf. "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h |
| 18626 | |
| 18627 | fi |
| 18628 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" |
| 18629 | if testscip-shell system . . test. "x$ac_cv_header_netinet_in_h" = xyes |
| 18630 | then : |
| 18631 | printfscip-shell system . . printf. "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h |
| 18632 | |
| 18633 | fi |
| 18634 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default" |
| 18635 | if testscip-shell system . . test. "x$ac_cv_header_paths_h" = xyes |
| 18636 | then : |
| 18637 | printfscip-shell system . . printf. "%s\n" "#define HAVE_PATHS_H 1" >>confdefs.h |
| 18638 | |
| 18639 | fi |
| 18640 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" |
| 18641 | if testscip-shell system . . test. "x$ac_cv_header_stddef_h" = xyes |
| 18642 | then : |
| 18643 | printfscip-shell system . . printf. "%s\n" "#define HAVE_STDDEF_H 1" >>confdefs.h |
| 18644 | |
| 18645 | fi |
| 18646 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
| 18647 | if testscip-shell system . . test. "x$ac_cv_header_stdlib_h" = xyes |
| 18648 | then : |
| 18649 | printfscip-shell system . . printf. "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h |
| 18650 | |
| 18651 | fi |
| 18652 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" |
| 18653 | if testscip-shell system . . test. "x$ac_cv_header_string_h" = xyes |
| 18654 | then : |
| 18655 | printfscip-shell system . . printf. "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h |
| 18656 | |
| 18657 | fi |
| 18658 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default" |
| 18659 | if testscip-shell system . . test. "x$ac_cv_header_sys_file_h" = xyes |
| 18660 | then : |
| 18661 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_FILE_H 1" >>confdefs.h |
| 18662 | |
| 18663 | fi |
| 18664 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" |
| 18665 | if testscip-shell system . . test. "x$ac_cv_header_sys_ioctl_h" = xyes |
| 18666 | then : |
| 18667 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h |
| 18668 | |
| 18669 | fi |
| 18670 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" |
| 18671 | if testscip-shell system . . test. "x$ac_cv_header_sys_param_h" = xyes |
| 18672 | then : |
| 18673 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h |
| 18674 | |
| 18675 | fi |
| 18676 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" |
| 18677 | if testscip-shell system . . test. "x$ac_cv_header_sys_socket_h" = xyes |
| 18678 | then : |
| 18679 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h |
| 18680 | |
| 18681 | fi |
| 18682 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" |
| 18683 | if testscip-shell system . . test. "x$ac_cv_header_sys_time_h" = xyes |
| 18684 | then : |
| 18685 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h |
| 18686 | |
| 18687 | fi |
| 18688 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default" |
| 18689 | if testscip-shell system . . test. "x$ac_cv_header_sys_stat_h" = xyes |
| 18690 | then : |
| 18691 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_STAT_H 1" >>confdefs.h |
| 18692 | |
| 18693 | fi |
| 18694 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" |
| 18695 | if testscip-shell system . . test. "x$ac_cv_header_unistd_h" = xyes |
| 18696 | then : |
| 18697 | printfscip-shell system . . printf. "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h |
| 18698 | |
| 18699 | fi |
| 18700 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" |
| 18701 | if testscip-shell system . . test. "x$ac_cv_header_utmp_h" = xyes |
| 18702 | then : |
| 18703 | printfscip-shell system . . printf. "%s\n" "#define HAVE_UTMP_H 1" >>confdefs.h |
| 18704 | |
| 18705 | fi |
| 18706 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" |
| 18707 | if testscip-shell system . . test. "x$ac_cv_header_utmpx_h" = xyes |
| 18708 | then : |
| 18709 | printfscip-shell system . . printf. "%s\n" "#define HAVE_UTMPX_H 1" >>confdefs.h |
| 18710 | |
| 18711 | fi |
| 18712 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default" |
| 18713 | if testscip-shell system . . test. "x$ac_cv_header_sys_epoll_h" = xyes |
| 18714 | then : |
| 18715 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h |
| 18716 | |
| 18717 | fi |
| 18718 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default" |
| 18719 | if testscip-shell system . . test. "x$ac_cv_header_sys_prctl_h" = xyes |
| 18720 | then : |
| 18721 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h |
| 18722 | |
| 18723 | fi |
| 18724 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" |
| 18725 | if testscip-shell system . . test. "x$ac_cv_header_sys_select_h" = xyes |
| 18726 | then : |
| 18727 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h |
| 18728 | |
| 18729 | fi |
| 18730 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" |
| 18731 | if testscip-shell system . . test. "x$ac_cv_header_getopt_h" = xyes |
| 18732 | then : |
| 18733 | printfscip-shell system . . printf. "%s\n" "#define HAVE_GETOPT_H 1" >>confdefs.h |
| 18734 | |
| 18735 | fi |
| 18736 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "linux/close_range.h" "ac_cv_header_linux_close_range_h" "$ac_includes_default" |
| 18737 | if testscip-shell system . . test. "x$ac_cv_header_linux_close_range_h" = xyes |
| 18738 | then : |
| 18739 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LINUX_CLOSE_RANGE_H 1" >>confdefs.h |
| 18740 | |
| 18741 | fi |
| 18742 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "linux/fs.h" "ac_cv_header_linux_fs_h" "$ac_includes_default" |
| 18743 | if testscip-shell system . . test. "x$ac_cv_header_linux_fs_h" = xyes |
| 18744 | then : |
| 18745 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LINUX_FS_H 1" >>confdefs.h |
| 18746 | |
| 18747 | fi |
| 18748 | |
| 18749 | |
| 18750 | # Checks for typedefs, structures, and compiler characteristics. |
| 18751 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
| 18752 | printfscip-shell system . . printf. %s "checking for an ANSI C-conforming const... " >&6; } |
| 18753 | if testscip-shell system . . test. ${ac_cv_c_const+y} |
| 18754 | then : |
| 18755 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 18756 | else $as_nop |
| 18757 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18758 | /* end confdefs.h. */ |
| 18759 | |
| 18760 | int |
| 18761 | main (void) |
| 18762 | { |
| 18763 | |
| 18764 | #ifndef __cplusplus |
| 18765 | /* Ultrix mips cc rejects this sort of thing. */ |
| 18766 | typedef int charset[2]; |
| 18767 | const charset cs = { 0, 0 }; |
| 18768 | /* SunOS 4.1.1 cc rejects this. */ |
| 18769 | char const *const *pcpcc; |
| 18770 | char **ppc; |
| 18771 | /* NEC SVR4.0.2 mips cc rejects this. */ |
| 18772 | struct point {int x, y;}; |
| 18773 | static struct point const zero = {0,0}; |
| 18774 | /* IBM XL C 1.02.0.0 rejects this. |
| 18775 | It does not let you subtract one const X* pointer from another in |
| 18776 | an arm of an if-expression whose if-part is not a constant |
| 18777 | expression */ |
| 18778 | const char *g = "string"; |
| 18779 | pcpcc = &g + (g ? g-g : 0); |
| 18780 | /* HPUX 7.0 cc rejects these. */ |
| 18781 | ++pcpcc; |
| 18782 | ppc = (char**) pcpcc; |
| 18783 | pcpcc = (char const *const *) ppc; |
| 18784 | { /* SCO 3.2v4 cc rejects this sort of thing. */ |
| 18785 | char tx; |
| 18786 | char *t = &tx; |
| 18787 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 18788 | |
| 18789 | *t++ = 0; |
| 18790 | if (s) return 0; |
| 18791 | } |
| 18792 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 18793 | int x[] = {25, 17}; |
| 18794 | const int *foo = &x[0]; |
| 18795 | ++foo; |
| 18796 | } |
| 18797 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
| 18798 | typedef const int *iptr; |
| 18799 | iptr p = 0; |
| 18800 | ++p; |
| 18801 | } |
| 18802 | { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying |
| 18803 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
| 18804 | struct s { int j; const int *ap[3]; } bx; |
| 18805 | struct s *b = &bx; b->j = 5; |
| 18806 | } |
| 18807 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 18808 | const int foo = 10; |
| 18809 | if (!foo) return 0; |
| 18810 | } |
| 18811 | return !cs[0] && !zero.x; |
| 18812 | #endif |
| 18813 | |
| 18814 | ; |
| 18815 | return 0; |
| 18816 | } |
| 18817 | _ACEOF |
| 18818 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 18819 | then : |
| 18820 | ac_cv_c_const=yes |
| 18821 | else $as_nop |
| 18822 | ac_cv_c_const=no |
| 18823 | fi |
| 18824 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 18825 | fi |
| 18826 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
| 18827 | printfscip-shell system . . printf. "%s\n" "$ac_cv_c_const" >&6; } |
| 18828 | if testscip-shell system . . test. $ac_cv_c_const = no; then |
| 18829 | |
| 18830 | printfscip-shell system . . printf. "%s\n" "#define const /**/" >>confdefs.h |
| 18831 | |
| 18832 | fi |
| 18833 | |
| 18834 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
| 18835 | printfscip-shell system . . printf. %s "checking for inline... " >&6; } |
| 18836 | if testscip-shell system . . test. ${ac_cv_c_inline+y} |
| 18837 | then : |
| 18838 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 18839 | else $as_nop |
| 18840 | ac_cv_c_inline=no |
| 18841 | for ac_kw in inline __inline__ __inline; do |
| 18842 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18843 | /* end confdefs.h. */ |
| 18844 | #ifndef __cplusplus |
| 18845 | typedef int foo_t; |
| 18846 | static $ac_kw foo_t static_foo (void) {return 0; } |
| 18847 | $ac_kw foo_t foo (void) {return 0; } |
| 18848 | #endif |
| 18849 | |
| 18850 | _ACEOF |
| 18851 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 18852 | then : |
| 18853 | ac_cv_c_inline=$ac_kw |
| 18854 | fi |
| 18855 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 18856 | testscip-shell system . . test. "$ac_cv_c_inline" != no && break |
| 18857 | done |
| 18858 | |
| 18859 | fi |
| 18860 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
| 18861 | printfscip-shell system . . printf. "%s\n" "$ac_cv_c_inline" >&6; } |
| 18862 | |
| 18863 | case $ac_cv_c_inline in |
| 18864 | inline | yes) ;; |
| 18865 | *) |
| 18866 | case $ac_cv_c_inline in |
| 18867 | no) ac_val=;; |
| 18868 | *) ac_val=$ac_cv_c_inline;; |
| 18869 | esac |
| 18870 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 18871 | #ifndef __cplusplus |
| 18872 | #define inline $ac_val |
| 18873 | #endif |
| 18874 | _ACEOF |
| 18875 | ;; |
| 18876 | esac |
| 18877 | |
| 18878 | ac_fn_c_check_typescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_type(). "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" |
| 18879 | if testscip-shell system . . test. "x$ac_cv_type_off_t" = xyes |
| 18880 | then : |
| 18881 | |
| 18882 | else $as_nop |
| 18883 | |
| 18884 | printfscip-shell system . . printf. "%s\n" "#define off_t long int" >>confdefs.h |
| 18885 | |
| 18886 | fi |
| 18887 | |
| 18888 | |
| 18889 | ac_fn_c_check_typescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_type(). "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default |
| 18890 | " |
| 18891 | if testscip-shell system . . test. "x$ac_cv_type_pid_t" = xyes |
| 18892 | then : |
| 18893 | |
| 18894 | else $as_nop |
| 18895 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18896 | /* end confdefs.h. */ |
| 18897 | |
| 18898 | #if defined _WIN64 && !defined __CYGWIN__ |
| 18899 | LLP64 |
| 18900 | #endif |
| 18901 | |
| 18902 | int |
| 18903 | main (void) |
| 18904 | { |
| 18905 | |
| 18906 | ; |
| 18907 | return 0; |
| 18908 | } |
| 18909 | |
| 18910 | _ACEOF |
| 18911 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 18912 | then : |
| 18913 | ac_pid_type='int' |
| 18914 | else $as_nop |
| 18915 | ac_pid_type='__int64' |
| 18916 | fi |
| 18917 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 18918 | |
| 18919 | printfscip-shell system . . printf. "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h |
| 18920 | |
| 18921 | |
| 18922 | fi |
| 18923 | |
| 18924 | |
| 18925 | ac_fn_c_check_typescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_type(). "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
| 18926 | if testscip-shell system . . test. "x$ac_cv_type_size_t" = xyes |
| 18927 | then : |
| 18928 | |
| 18929 | else $as_nop |
| 18930 | |
| 18931 | printfscip-shell system . . printf. "%s\n" "#define size_t unsigned int" >>confdefs.h |
| 18932 | |
| 18933 | fi |
| 18934 | |
| 18935 | ac_fn_c_check_typescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_type(). "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" |
| 18936 | if testscip-shell system . . test. "x$ac_cv_type_ssize_t" = xyes |
| 18937 | then : |
| 18938 | |
| 18939 | else $as_nop |
| 18940 | |
| 18941 | printfscip-shell system . . printf. "%s\n" "#define ssize_t int" >>confdefs.h |
| 18942 | |
| 18943 | fi |
| 18944 | |
| 18945 | ac_fn_c_check_typescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_type(). "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" |
| 18946 | if testscip-shell system . . test. "x$ac_cv_type_mode_t" = xyes |
| 18947 | then : |
| 18948 | |
| 18949 | else $as_nop |
| 18950 | |
| 18951 | printfscip-shell system . . printf. "%s\n" "#define mode_t int" >>confdefs.h |
| 18952 | |
| 18953 | fi |
| 18954 | |
| 18955 | ac_ext=c |
| 18956 | ac_cpp='$CPP $CPPFLAGS' |
| 18957 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 18958 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 18959 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 18960 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
| 18961 | printfscip-shell system . . printf. %s "checking how to run the C preprocessor... " >&6; } |
| 18962 | # On Suns, sometimes $CPP names a directory. |
| 18963 | if testscip-shell system . . test. -n "$CPP" && testscip-shell system . . test. -d "$CPP"; then |
| 18964 | CPP= |
| 18965 | fi |
| 18966 | if testscip-shell system . . test. -z "$CPP"; then |
| 18967 | if testscip-shell system . . test. ${ac_cv_prog_CPP+y} |
| 18968 | then : |
| 18969 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 18970 | else $as_nop |
| 18971 | # Double quotes because $CC needs to be expanded |
| 18972 | for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cppscip-shell filesystem . . `/lib/cpp`. |
| 18973 | do |
| 18974 | ac_preproc_ok=false |
| 18975 | for ac_c_preproc_warn_flag in '' yes |
| 18976 | do |
| 18977 | # Use a header file that comes with gcc, so configuring glibc |
| 18978 | # with a fresh cross-compiler works. |
| 18979 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 18980 | # not just through cpp. "Syntax error" is here to catch this case. |
| 18981 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18982 | /* end confdefs.h. */ |
| 18983 | #include <limits.h> |
| 18984 | Syntax error |
| 18985 | _ACEOF |
| 18986 | if ac_fn_c_try_cppscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_cpp(). "$LINENO" |
| 18987 | then : |
| 18988 | |
| 18989 | else $as_nop |
| 18990 | # Broken: fails on valid input. |
| 18991 | continue |
| 18992 | fi |
| 18993 | rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext |
| 18994 | |
| 18995 | # OK, works on sane cases. Now check whether nonexistent headers |
| 18996 | # can be detected and how. |
| 18997 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18998 | /* end confdefs.h. */ |
| 18999 | #include <ac_nonexistent.h> |
| 19000 | _ACEOF |
| 19001 | if ac_fn_c_try_cppscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_cpp(). "$LINENO" |
| 19002 | then : |
| 19003 | # Broken: success on invalid input. |
| 19004 | continue |
| 19005 | else $as_nop |
| 19006 | # Passes both tests. |
| 19007 | ac_preproc_ok=: |
| 19008 | break |
| 19009 | fi |
| 19010 | rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext |
| 19011 | |
| 19012 | done |
| 19013 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 19014 | rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext |
| 19015 | if $ac_preproc_ok |
| 19016 | then : |
| 19017 | break |
| 19018 | fi |
| 19019 | |
| 19020 | done |
| 19021 | ac_cv_prog_CPP=$CPP |
| 19022 | |
| 19023 | fi |
| 19024 | CPP=$ac_cv_prog_CPP |
| 19025 | else |
| 19026 | ac_cv_prog_CPP=$CPP |
| 19027 | fi |
| 19028 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
| 19029 | printfscip-shell system . . printf. "%s\n" "$CPP" >&6; } |
| 19030 | ac_preproc_ok=false |
| 19031 | for ac_c_preproc_warn_flag in '' yes |
| 19032 | do |
| 19033 | # Use a header file that comes with gcc, so configuring glibc |
| 19034 | # with a fresh cross-compiler works. |
| 19035 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 19036 | # not just through cpp. "Syntax error" is here to catch this case. |
| 19037 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19038 | /* end confdefs.h. */ |
| 19039 | #include <limits.h> |
| 19040 | Syntax error |
| 19041 | _ACEOF |
| 19042 | if ac_fn_c_try_cppscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_cpp(). "$LINENO" |
| 19043 | then : |
| 19044 | |
| 19045 | else $as_nop |
| 19046 | # Broken: fails on valid input. |
| 19047 | continue |
| 19048 | fi |
| 19049 | rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext |
| 19050 | |
| 19051 | # OK, works on sane cases. Now check whether nonexistent headers |
| 19052 | # can be detected and how. |
| 19053 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19054 | /* end confdefs.h. */ |
| 19055 | #include <ac_nonexistent.h> |
| 19056 | _ACEOF |
| 19057 | if ac_fn_c_try_cppscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_cpp(). "$LINENO" |
| 19058 | then : |
| 19059 | # Broken: success on invalid input. |
| 19060 | continue |
| 19061 | else $as_nop |
| 19062 | # Passes both tests. |
| 19063 | ac_preproc_ok=: |
| 19064 | break |
| 19065 | fi |
| 19066 | rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext |
| 19067 | |
| 19068 | done |
| 19069 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 19070 | rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext |
| 19071 | if $ac_preproc_ok |
| 19072 | then : |
| 19073 | |
| 19074 | else $as_nop |
| 19075 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 19076 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 19077 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "C preprocessor \"$CPP\" fails sanity check |
| 19078 | See \`config.log' for more details" "$LINENO" 5; } |
| 19079 | fi |
| 19080 | |
| 19081 | ac_ext=c |
| 19082 | ac_cpp='$CPP $CPPFLAGS' |
| 19083 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 19084 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 19085 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 19086 | |
| 19087 | |
| 19088 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 |
| 19089 | printfscip-shell system . . printf. %s "checking for uid_t in sys/types.h... " >&6; } |
| 19090 | if testscip-shell system . . test. ${ac_cv_type_uid_t+y} |
| 19091 | then : |
| 19092 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19093 | else $as_nop |
| 19094 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19095 | /* end confdefs.h. */ |
| 19096 | #include <sys/types.h> |
| 19097 | |
| 19098 | _ACEOF |
| 19099 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 19100 | $EGREP "uid_t" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 |
| 19101 | then : |
| 19102 | ac_cv_type_uid_t=yes |
| 19103 | else $as_nop |
| 19104 | ac_cv_type_uid_t=no |
| 19105 | fi |
| 19106 | rmscip-shell system . . rm. -rf conftest* |
| 19107 | |
| 19108 | fi |
| 19109 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 |
| 19110 | printfscip-shell system . . printf. "%s\n" "$ac_cv_type_uid_t" >&6; } |
| 19111 | if testscip-shell system . . test. $ac_cv_type_uid_t = no; then |
| 19112 | |
| 19113 | printfscip-shell system . . printf. "%s\n" "#define uid_t int" >>confdefs.h |
| 19114 | |
| 19115 | |
| 19116 | printfscip-shell system . . printf. "%s\n" "#define gid_t int" >>confdefs.h |
| 19117 | |
| 19118 | fi |
| 19119 | |
| 19120 | ac_fn_c_find_uintX_tscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_find_uintX_t(). "$LINENO" "8" "ac_cv_c_uint8_t" |
| 19121 | case $ac_cv_c_uint8_t in #( |
| 19122 | no|yes) ;; #( |
| 19123 | *) |
| 19124 | |
| 19125 | printfscip-shell system . . printf. "%s\n" "#define _UINT8_T 1" >>confdefs.h |
| 19126 | |
| 19127 | |
| 19128 | printfscip-shell system . . printf. "%s\n" "#define uint8_t $ac_cv_c_uint8_t" >>confdefs.h |
| 19129 | ;; |
| 19130 | esac |
| 19131 | |
| 19132 | |
| 19133 | |
| 19134 | # Obsolete code to be removed. |
| 19135 | if testscip-shell system . . test. $ac_cv_header_sys_time_h = yes; then |
| 19136 | |
| 19137 | printfscip-shell system . . printf. "%s\n" "#define TIME_WITH_SYS_TIME 1" >>confdefs.h |
| 19138 | |
| 19139 | fi |
| 19140 | # End of obsolete code. |
| 19141 | |
| 19142 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 19143 | printfscip-shell system . . printf. %s "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
| 19144 | if testscip-shell system . . test. ${ac_cv_struct_tm+y} |
| 19145 | then : |
| 19146 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19147 | else $as_nop |
| 19148 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19149 | /* end confdefs.h. */ |
| 19150 | #include <sys/types.h> |
| 19151 | #include <time.h> |
| 19152 | |
| 19153 | int |
| 19154 | main (void) |
| 19155 | { |
| 19156 | struct tm tm; |
| 19157 | int *p = &tm.tm_sec; |
| 19158 | return !p; |
| 19159 | ; |
| 19160 | return 0; |
| 19161 | } |
| 19162 | _ACEOF |
| 19163 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 19164 | then : |
| 19165 | ac_cv_struct_tm=time.h |
| 19166 | else $as_nop |
| 19167 | ac_cv_struct_tm=sys/time.h |
| 19168 | fi |
| 19169 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19170 | fi |
| 19171 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 |
| 19172 | printfscip-shell system . . printf. "%s\n" "$ac_cv_struct_tm" >&6; } |
| 19173 | if testscip-shell system . . test. $ac_cv_struct_tm = sys/time.h; then |
| 19174 | |
| 19175 | printfscip-shell system . . printf. "%s\n" "#define TM_IN_SYS_TIME 1" >>confdefs.h |
| 19176 | |
| 19177 | fi |
| 19178 | |
| 19179 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 |
| 19180 | printfscip-shell system . . printf. %s "checking for working volatile... " >&6; } |
| 19181 | if testscip-shell system . . test. ${ac_cv_c_volatile+y} |
| 19182 | then : |
| 19183 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19184 | else $as_nop |
| 19185 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19186 | /* end confdefs.h. */ |
| 19187 | |
| 19188 | int |
| 19189 | main (void) |
| 19190 | { |
| 19191 | |
| 19192 | volatile int x; |
| 19193 | int * volatile y = (int *) 0; |
| 19194 | return !x && !y; |
| 19195 | ; |
| 19196 | return 0; |
| 19197 | } |
| 19198 | _ACEOF |
| 19199 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 19200 | then : |
| 19201 | ac_cv_c_volatile=yes |
| 19202 | else $as_nop |
| 19203 | ac_cv_c_volatile=no |
| 19204 | fi |
| 19205 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19206 | fi |
| 19207 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 |
| 19208 | printfscip-shell system . . printf. "%s\n" "$ac_cv_c_volatile" >&6; } |
| 19209 | if testscip-shell system . . test. $ac_cv_c_volatile = no; then |
| 19210 | |
| 19211 | printfscip-shell system . . printf. "%s\n" "#define volatile /**/" >>confdefs.h |
| 19212 | |
| 19213 | fi |
| 19214 | |
| 19215 | |
| 19216 | sa_includes="\ |
| 19217 | $ac_includes_default |
| 19218 | #if HAVE_SYS_SOCKET_H |
| 19219 | # include <sys/socket.h> |
| 19220 | #endif |
| 19221 | " |
| 19222 | ac_fn_c_check_memberscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_member(). "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "$sa_includes |
| 19223 | " |
| 19224 | if testscip-shell system . . test. "x$ac_cv_member_struct_sockaddr_sa_len" = xyes |
| 19225 | then : |
| 19226 | |
| 19227 | printfscip-shell system . . printf. "%s\n" "#define HAVE_STRUCT_SOCKADDR_SA_LEN 1" >>confdefs.h |
| 19228 | |
| 19229 | |
| 19230 | fi |
| 19231 | |
| 19232 | |
| 19233 | # Checks for library functions. |
| 19234 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5 |
| 19235 | printfscip-shell system . . printf. %s "checking for working chown... " >&6; } |
| 19236 | if testscip-shell system . . test. ${ac_cv_func_chown_works+y} |
| 19237 | then : |
| 19238 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19239 | else $as_nop |
| 19240 | if testscip-shell system . . test. "$cross_compiling" = yes |
| 19241 | then : |
| 19242 | case "$host_os" in # (( |
| 19243 | # Guess yes on glibc systems. |
| 19244 | *-gnu*) ac_cv_func_chown_works=yes ;; |
| 19245 | # If we don't know, assume the worst. |
| 19246 | *) ac_cv_func_chown_works=no ;; |
| 19247 | esac |
| 19248 | else $as_nop |
| 19249 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19250 | /* end confdefs.h. */ |
| 19251 | $ac_includes_default |
| 19252 | #include <fcntl.h> |
| 19253 | |
| 19254 | int |
| 19255 | main (void) |
| 19256 | { |
| 19257 | char *f = "conftest.chown"; |
| 19258 | struct stat before, after; |
| 19259 | |
| 19260 | if (creat (f, 0600) < 0) |
| 19261 | return 1; |
| 19262 | if (stat (f, &before) < 0) |
| 19263 | return 1; |
| 19264 | if (chown (f, (uid_t) -1, (gid_t) -1) == -1) |
| 19265 | return 1; |
| 19266 | if (stat (f, &after) < 0) |
| 19267 | return 1; |
| 19268 | return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid); |
| 19269 | |
| 19270 | ; |
| 19271 | return 0; |
| 19272 | } |
| 19273 | _ACEOF |
| 19274 | if ac_fn_c_try_runscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_run(). "$LINENO" |
| 19275 | then : |
| 19276 | ac_cv_func_chown_works=yes |
| 19277 | else $as_nop |
| 19278 | ac_cv_func_chown_works=no |
| 19279 | fi |
| 19280 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 19281 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19282 | fi |
| 19283 | |
| 19284 | rmscip-shell system . . rm. -f conftest.chown |
| 19285 | |
| 19286 | fi |
| 19287 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5 |
| 19288 | printfscip-shell system . . printf. "%s\n" "$ac_cv_func_chown_works" >&6; } |
| 19289 | if testscip-shell system . . test. $ac_cv_func_chown_works = yes; then |
| 19290 | |
| 19291 | printfscip-shell system . . printf. "%s\n" "#define HAVE_CHOWN 1" >>confdefs.h |
| 19292 | |
| 19293 | fi |
| 19294 | |
| 19295 | |
| 19296 | ac_func= |
| 19297 | for ac_item in $ac_func_c_list |
| 19298 | do |
| 19299 | if testscip-shell system . . test. $ac_func; then |
| 19300 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" $ac_func ac_cv_func_$ac_func |
| 19301 | if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then |
| 19302 | echoscip-shell system . . echo. "#define $ac_item 1" >> confdefs.h |
| 19303 | fi |
| 19304 | ac_func= |
| 19305 | else |
| 19306 | ac_func=$ac_item |
| 19307 | fi |
| 19308 | done |
| 19309 | |
| 19310 | |
| 19311 | |
| 19312 | if testscip-shell system . . test. "x$ac_cv_func_fork" = xyes; then |
| 19313 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 |
| 19314 | printfscip-shell system . . printf. %s "checking for working fork... " >&6; } |
| 19315 | if testscip-shell system . . test. ${ac_cv_func_fork_works+y} |
| 19316 | then : |
| 19317 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19318 | else $as_nop |
| 19319 | if testscip-shell system . . test. "$cross_compiling" = yes |
| 19320 | then : |
| 19321 | ac_cv_func_fork_works=cross |
| 19322 | else $as_nop |
| 19323 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19324 | /* end confdefs.h. */ |
| 19325 | $ac_includes_default |
| 19326 | int |
| 19327 | main (void) |
| 19328 | { |
| 19329 | |
| 19330 | /* By Ruediger Kuhlmann. */ |
| 19331 | return fork () < 0; |
| 19332 | |
| 19333 | ; |
| 19334 | return 0; |
| 19335 | } |
| 19336 | _ACEOF |
| 19337 | if ac_fn_c_try_runscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_run(). "$LINENO" |
| 19338 | then : |
| 19339 | ac_cv_func_fork_works=yes |
| 19340 | else $as_nop |
| 19341 | ac_cv_func_fork_works=no |
| 19342 | fi |
| 19343 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 19344 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19345 | fi |
| 19346 | |
| 19347 | fi |
| 19348 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 |
| 19349 | printfscip-shell system . . printf. "%s\n" "$ac_cv_func_fork_works" >&6; } |
| 19350 | |
| 19351 | else |
| 19352 | ac_cv_func_fork_works=$ac_cv_func_fork |
| 19353 | fi |
| 19354 | if testscip-shell system . . test. "x$ac_cv_func_fork_works" = xcross; then |
| 19355 | case $host in |
| 19356 | *-*-amigaos* | *-*-msdosdjgpp*) |
| 19357 | # Override, as these systems have only a dummy fork() stub |
| 19358 | ac_cv_func_fork_works=no |
| 19359 | ;; |
| 19360 | *) |
| 19361 | ac_cv_func_fork_works=yes |
| 19362 | ;; |
| 19363 | esac |
| 19364 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 |
| 19365 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} |
| 19366 | fi |
| 19367 | ac_cv_func_vfork_works=$ac_cv_func_vfork |
| 19368 | if testscip-shell system . . test. "x$ac_cv_func_vfork" = xyes; then |
| 19369 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 |
| 19370 | printfscip-shell system . . printf. %s "checking for working vfork... " >&6; } |
| 19371 | if testscip-shell system . . test. ${ac_cv_func_vfork_works+y} |
| 19372 | then : |
| 19373 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19374 | else $as_nop |
| 19375 | if testscip-shell system . . test. "$cross_compiling" = yes |
| 19376 | then : |
| 19377 | ac_cv_func_vfork_works=cross |
| 19378 | else $as_nop |
| 19379 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19380 | /* end confdefs.h. */ |
| 19381 | /* Thanks to Paul Eggert for this test. */ |
| 19382 | $ac_includes_default |
| 19383 | #include <signal.h> |
| 19384 | #include <sys/wait.h> |
| 19385 | #ifdef HAVE_VFORK_H |
| 19386 | # include <vfork.h> |
| 19387 | #endif |
| 19388 | |
| 19389 | static void |
| 19390 | do_nothing (int sig) |
| 19391 | { |
| 19392 | (void) sig; |
| 19393 | } |
| 19394 | |
| 19395 | /* On some sparc systems, changes by the child to local and incoming |
| 19396 | argument registers are propagated back to the parent. The compiler |
| 19397 | is told about this with #include <vfork.h>, but some compilers |
| 19398 | (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a |
| 19399 | static variable whose address is put into a register that is |
| 19400 | clobbered by the vfork. */ |
| 19401 | static void |
| 19402 | sparc_address_test (int arg) |
| 19403 | { |
| 19404 | static pid_t child; |
| 19405 | if (!child) { |
| 19406 | child = vfork (); |
| 19407 | if (child < 0) { |
| 19408 | perror ("vfork"); |
| 19409 | _exit(2); |
| 19410 | } |
| 19411 | if (!child) { |
| 19412 | arg = getpid(); |
| 19413 | write(-1, "", 0); |
| 19414 | _exit (arg); |
| 19415 | } |
| 19416 | } |
| 19417 | } |
| 19418 | |
| 19419 | int |
| 19420 | main (void) |
| 19421 | { |
| 19422 | pid_t parent = getpid (); |
| 19423 | pid_t child; |
| 19424 | |
| 19425 | sparc_address_test (0); |
| 19426 | |
| 19427 | /* On Solaris 2.4, changes by the child to the signal handler |
| 19428 | also munge signal handlers in the parent. To detect this, |
| 19429 | start by putting the parent's handler in a known state. */ |
| 19430 | signal (SIGTERM, SIG_DFL); |
| 19431 | |
| 19432 | child = vfork (); |
| 19433 | |
| 19434 | if (child == 0) { |
| 19435 | /* Here is another test for sparc vfork register problems. This |
| 19436 | test uses lots of local variables, at least as many local |
| 19437 | variables as main has allocated so far including compiler |
| 19438 | temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris |
| 19439 | 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should |
| 19440 | reuse the register of parent for one of the local variables, |
| 19441 | since it will think that parent can't possibly be used any more |
| 19442 | in this routine. Assigning to the local variable will thus |
| 19443 | munge parent in the parent process. */ |
| 19444 | pid_t |
| 19445 | p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), |
| 19446 | p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); |
| 19447 | /* Convince the compiler that p..p7 are live; otherwise, it might |
| 19448 | use the same hardware register for all 8 local variables. */ |
| 19449 | if (p != p1 || p != p2 || p != p3 || p != p4 |
| 19450 | || p != p5 || p != p6 || p != p7) |
| 19451 | _exit(1); |
| 19452 | |
| 19453 | /* Alter the child's signal handler. */ |
| 19454 | if (signal (SIGTERM, do_nothing) != SIG_DFL) |
| 19455 | _exit(1); |
| 19456 | |
| 19457 | /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent |
| 19458 | from child file descriptors. If the child closes a descriptor |
| 19459 | before it execs or exits, this munges the parent's descriptor |
| 19460 | as well. Test for this by closing stdout in the child. */ |
| 19461 | _exit(close(fileno(stdout)) != 0); |
| 19462 | } else { |
| 19463 | int status; |
| 19464 | struct stat st; |
| 19465 | |
| 19466 | while (wait(&status) != child) |
| 19467 | ; |
| 19468 | return ( |
| 19469 | /* Was there some problem with vforking? */ |
| 19470 | child < 0 |
| 19471 | |
| 19472 | /* Did the child munge the parent's signal handler? */ |
| 19473 | || signal (SIGTERM, SIG_DFL) != SIG_DFL |
| 19474 | |
| 19475 | /* Did the child fail? (This shouldn't happen.) */ |
| 19476 | || status |
| 19477 | |
| 19478 | /* Did the vfork/compiler bug occur? */ |
| 19479 | || parent != getpid() |
| 19480 | |
| 19481 | /* Did the file descriptor bug occur? */ |
| 19482 | || fstat(fileno(stdout), &st) != 0 |
| 19483 | ); |
| 19484 | } |
| 19485 | } |
| 19486 | _ACEOF |
| 19487 | if ac_fn_c_try_runscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_run(). "$LINENO" |
| 19488 | then : |
| 19489 | ac_cv_func_vfork_works=yes |
| 19490 | else $as_nop |
| 19491 | ac_cv_func_vfork_works=no |
| 19492 | fi |
| 19493 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 19494 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19495 | fi |
| 19496 | |
| 19497 | fi |
| 19498 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 |
| 19499 | printfscip-shell system . . printf. "%s\n" "$ac_cv_func_vfork_works" >&6; } |
| 19500 | |
| 19501 | fi; |
| 19502 | if testscip-shell system . . test. "x$ac_cv_func_fork_works" = xcross; then |
| 19503 | ac_cv_func_vfork_works=$ac_cv_func_vfork |
| 19504 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 |
| 19505 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} |
| 19506 | fi |
| 19507 | |
| 19508 | if testscip-shell system . . test. "x$ac_cv_func_vfork_works" = xyes; then |
| 19509 | |
| 19510 | printfscip-shell system . . printf. "%s\n" "#define HAVE_WORKING_VFORK 1" >>confdefs.h |
| 19511 | |
| 19512 | else |
| 19513 | |
| 19514 | printfscip-shell system . . printf. "%s\n" "#define vfork fork" >>confdefs.h |
| 19515 | |
| 19516 | fi |
| 19517 | if testscip-shell system . . test. "x$ac_cv_func_fork_works" = xyes; then |
| 19518 | |
| 19519 | printfscip-shell system . . printf. "%s\n" "#define HAVE_WORKING_FORK 1" >>confdefs.h |
| 19520 | |
| 19521 | fi |
| 19522 | |
| 19523 | if testscip-shell system . . test. $ac_cv_c_compiler_gnu = yes; then |
| 19524 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 |
| 19525 | printfscip-shell system . . printf. %s "checking whether $CC needs -traditional... " >&6; } |
| 19526 | if testscip-shell system . . test. ${ac_cv_prog_gcc_traditional+y} |
| 19527 | then : |
| 19528 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19529 | else $as_nop |
| 19530 | ac_pattern="Autoconf.*'x'" |
| 19531 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19532 | /* end confdefs.h. */ |
| 19533 | #include <sgtty.h> |
| 19534 | Autoconf TIOCGETP |
| 19535 | _ACEOF |
| 19536 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 19537 | $EGREP "$ac_pattern" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 |
| 19538 | then : |
| 19539 | ac_cv_prog_gcc_traditional=yes |
| 19540 | else $as_nop |
| 19541 | ac_cv_prog_gcc_traditional=no |
| 19542 | fi |
| 19543 | rmscip-shell system . . rm. -rf conftest* |
| 19544 | |
| 19545 | |
| 19546 | if testscip-shell system . . test. $ac_cv_prog_gcc_traditional = no; then |
| 19547 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19548 | /* end confdefs.h. */ |
| 19549 | #include <termio.h> |
| 19550 | Autoconf TCGETA |
| 19551 | _ACEOF |
| 19552 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 19553 | $EGREP "$ac_pattern" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 |
| 19554 | then : |
| 19555 | ac_cv_prog_gcc_traditional=yes |
| 19556 | fi |
| 19557 | rmscip-shell system . . rm. -rf conftest* |
| 19558 | |
| 19559 | fi |
| 19560 | fi |
| 19561 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 |
| 19562 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_gcc_traditional" >&6; } |
| 19563 | if testscip-shell system . . test. $ac_cv_prog_gcc_traditional = yes; then |
| 19564 | CC="$CC -traditional" |
| 19565 | fi |
| 19566 | fi |
| 19567 | |
| 19568 | |
| 19569 | |
| 19570 | |
| 19571 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5 |
| 19572 | printfscip-shell system . . printf. %s "checking types of arguments for select... " >&6; } |
| 19573 | if testscip-shell system . . test. ${ac_cv_func_select_args+y} |
| 19574 | then : |
| 19575 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19576 | else $as_nop |
| 19577 | ac_cv_func_select_args='int,int *,struct timeval *' |
| 19578 | for ac_arg234 in 'fd_set *' 'int *' 'void *'; do |
| 19579 | for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do |
| 19580 | for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do |
| 19581 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19582 | /* end confdefs.h. */ |
| 19583 | $ac_includes_default |
| 19584 | #ifdef HAVE_SYS_SELECT_H |
| 19585 | # include <sys/select.h> |
| 19586 | #endif |
| 19587 | #ifdef HAVE_SYS_SOCKET_H |
| 19588 | # include <sys/socket.h> |
| 19589 | #endif |
| 19590 | |
| 19591 | int |
| 19592 | main (void) |
| 19593 | { |
| 19594 | extern int select ($ac_arg1, |
| 19595 | $ac_arg234, $ac_arg234, $ac_arg234, |
| 19596 | $ac_arg5); |
| 19597 | ; |
| 19598 | return 0; |
| 19599 | } |
| 19600 | _ACEOF |
| 19601 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 19602 | then : |
| 19603 | ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3 |
| 19604 | fi |
| 19605 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19606 | done |
| 19607 | done |
| 19608 | done |
| 19609 | |
| 19610 | fi |
| 19611 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5 |
| 19612 | printfscip-shell system . . printf. "%s\n" "$ac_cv_func_select_args" >&6; } |
| 19613 | ac_save_IFS=$IFS; IFS=',' |
| 19614 | set dummy `echoscip-shell system . . echo. "$ac_cv_func_select_args" | sedscip-shell system . . sed. 's/\*/\*/g'` |
| 19615 | IFS=$ac_save_IFS |
| 19616 | shift |
| 19617 | |
| 19618 | printfscip-shell system . . printf. "%s\n" "#define SELECT_TYPE_ARG1 $1" >>confdefs.h |
| 19619 | |
| 19620 | |
| 19621 | printfscip-shell system . . printf. "%s\n" "#define SELECT_TYPE_ARG234 ($2)" >>confdefs.h |
| 19622 | |
| 19623 | |
| 19624 | printfscip-shell system . . printf. "%s\n" "#define SELECT_TYPE_ARG5 ($3)" >>confdefs.h |
| 19625 | |
| 19626 | rmscip-shell system . . rm. -rf conftest* |
| 19627 | |
| 19628 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 |
| 19629 | printfscip-shell system . . printf. %s "checking return type of signal handlers... " >&6; } |
| 19630 | if testscip-shell system . . test. ${ac_cv_type_signal+y} |
| 19631 | then : |
| 19632 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19633 | else $as_nop |
| 19634 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19635 | /* end confdefs.h. */ |
| 19636 | #include <sys/types.h> |
| 19637 | #include <signal.h> |
| 19638 | |
| 19639 | int |
| 19640 | main (void) |
| 19641 | { |
| 19642 | return *(signal (0, 0)) (0) == 1; |
| 19643 | ; |
| 19644 | return 0; |
| 19645 | } |
| 19646 | _ACEOF |
| 19647 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 19648 | then : |
| 19649 | ac_cv_type_signal=int |
| 19650 | else $as_nop |
| 19651 | ac_cv_type_signal=void |
| 19652 | fi |
| 19653 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19654 | fi |
| 19655 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 |
| 19656 | printfscip-shell system . . printf. "%s\n" "$ac_cv_type_signal" >&6; } |
| 19657 | |
| 19658 | printfscip-shell system . . printf. "%s\n" "#define RETSIGTYPE $ac_cv_type_signal" >>confdefs.h |
| 19659 | |
| 19660 | |
| 19661 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 |
| 19662 | printfscip-shell system . . printf. %s "checking whether lstat correctly handles trailing slash... " >&6; } |
| 19663 | if testscip-shell system . . test. ${ac_cv_func_lstat_dereferences_slashed_symlink+y} |
| 19664 | then : |
| 19665 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19666 | else $as_nop |
| 19667 | rmscip-shell system . . rm. -f conftest.sym conftest.file |
| 19668 | echoscip-shell system . . echo. >conftest.file |
| 19669 | if testscip-shell system . . test. "$as_ln_s" = "ln -s" && lnscip-shell system . . ln. -s conftest.file conftest.sym; then |
| 19670 | if testscip-shell system . . test. "$cross_compiling" = yes |
| 19671 | then : |
| 19672 | case "$host_os" in # (( |
| 19673 | # Guess yes on glibc systems. |
| 19674 | *-gnu*) ac_cv_func_lstat_dereferences_slashed_symlink=yes ;; |
| 19675 | # If we don't know, assume the worst. |
| 19676 | *) ac_cv_func_lstat_dereferences_slashed_symlink=no ;; |
| 19677 | esac |
| 19678 | else $as_nop |
| 19679 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19680 | /* end confdefs.h. */ |
| 19681 | $ac_includes_default |
| 19682 | int |
| 19683 | main (void) |
| 19684 | { |
| 19685 | struct stat sbuf; |
| 19686 | /* Linux will dereference the symlink and fail, as required by POSIX. |
| 19687 | That is better in the sense that it means we will not |
| 19688 | have to compile and use the lstat wrapper. */ |
| 19689 | return lstat ("conftest.sym/", &sbuf) == 0; |
| 19690 | ; |
| 19691 | return 0; |
| 19692 | } |
| 19693 | _ACEOF |
| 19694 | if ac_fn_c_try_runscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_run(). "$LINENO" |
| 19695 | then : |
| 19696 | ac_cv_func_lstat_dereferences_slashed_symlink=yes |
| 19697 | else $as_nop |
| 19698 | ac_cv_func_lstat_dereferences_slashed_symlink=no |
| 19699 | fi |
| 19700 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 19701 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19702 | fi |
| 19703 | |
| 19704 | else |
| 19705 | # If the `ln -s' command failed, then we probably don't even |
| 19706 | # have an lstat function. |
| 19707 | ac_cv_func_lstat_dereferences_slashed_symlink=no |
| 19708 | fi |
| 19709 | rmscip-shell system . . rm. -f conftest.sym conftest.file |
| 19710 | |
| 19711 | fi |
| 19712 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 |
| 19713 | printfscip-shell system . . printf. "%s\n" "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; } |
| 19714 | |
| 19715 | testscip-shell system . . test. $ac_cv_func_lstat_dereferences_slashed_symlink = yes && |
| 19716 | |
| 19717 | printfscip-shell system . . printf. "%s\n" "#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1" >>confdefs.h |
| 19718 | |
| 19719 | |
| 19720 | if testscip-shell system . . test. "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then |
| 19721 | case " $LIBOBJS " in |
| 19722 | *" lstat.$ac_objext "* ) ;; |
| 19723 | *) LIBOBJS="$LIBOBJS lstat.$ac_objext" |
| 19724 | ;; |
| 19725 | esac |
| 19726 | |
| 19727 | fi |
| 19728 | |
| 19729 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5 |
| 19730 | printfscip-shell system . . printf. %s "checking whether stat accepts an empty string... " >&6; } |
| 19731 | if testscip-shell system . . test. ${ac_cv_func_stat_empty_string_bug+y} |
| 19732 | then : |
| 19733 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19734 | else $as_nop |
| 19735 | if testscip-shell system . . test. "$cross_compiling" = yes |
| 19736 | then : |
| 19737 | ac_cv_func_stat_empty_string_bug=yes |
| 19738 | else $as_nop |
| 19739 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19740 | /* end confdefs.h. */ |
| 19741 | $ac_includes_default |
| 19742 | int |
| 19743 | main (void) |
| 19744 | { |
| 19745 | struct stat sbuf; |
| 19746 | return stat ("", &sbuf) == 0; |
| 19747 | ; |
| 19748 | return 0; |
| 19749 | } |
| 19750 | _ACEOF |
| 19751 | if ac_fn_c_try_runscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_run(). "$LINENO" |
| 19752 | then : |
| 19753 | ac_cv_func_stat_empty_string_bug=no |
| 19754 | else $as_nop |
| 19755 | ac_cv_func_stat_empty_string_bug=yes |
| 19756 | fi |
| 19757 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 19758 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19759 | fi |
| 19760 | |
| 19761 | fi |
| 19762 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5 |
| 19763 | printfscip-shell system . . printf. "%s\n" "$ac_cv_func_stat_empty_string_bug" >&6; } |
| 19764 | if testscip-shell system . . test. $ac_cv_func_stat_empty_string_bug = yes; then |
| 19765 | case " $LIBOBJS " in |
| 19766 | *" stat.$ac_objext "* ) ;; |
| 19767 | *) LIBOBJS="$LIBOBJS stat.$ac_objext" |
| 19768 | ;; |
| 19769 | esac |
| 19770 | |
| 19771 | |
| 19772 | printfscip-shell system . . printf. "%s\n" "#define HAVE_STAT_EMPTY_STRING_BUG 1" >>confdefs.h |
| 19773 | |
| 19774 | fi |
| 19775 | |
| 19776 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 |
| 19777 | printfscip-shell system . . printf. %s "checking for $CC options needed to detect all undeclared functions... " >&6; } |
| 19778 | if testscip-shell system . . test. ${ac_cv_c_undeclared_builtin_options+y} |
| 19779 | then : |
| 19780 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19781 | else $as_nop |
| 19782 | ac_save_CFLAGS=$CFLAGS |
| 19783 | ac_cv_c_undeclared_builtin_options='cannot detect' |
| 19784 | for ac_arg in '' -fno-builtin; do |
| 19785 | CFLAGS="$ac_save_CFLAGS $ac_arg" |
| 19786 | # This test program should *not* compile successfully. |
| 19787 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19788 | /* end confdefs.h. */ |
| 19789 | |
| 19790 | int |
| 19791 | main (void) |
| 19792 | { |
| 19793 | (void) strchr; |
| 19794 | ; |
| 19795 | return 0; |
| 19796 | } |
| 19797 | _ACEOF |
| 19798 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 19799 | then : |
| 19800 | |
| 19801 | else $as_nop |
| 19802 | # This test program should compile successfully. |
| 19803 | # No library function is consistently available on |
| 19804 | # freestanding implementations, so test against a dummy |
| 19805 | # declaration. Include always-available headers on the |
| 19806 | # off chance that they somehow elicit warnings. |
| 19807 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19808 | /* end confdefs.h. */ |
| 19809 | #include <float.h> |
| 19810 | #include <limits.h> |
| 19811 | #include <stdarg.h> |
| 19812 | #include <stddef.h> |
| 19813 | extern void ac_decl (int, char *); |
| 19814 | |
| 19815 | int |
| 19816 | main (void) |
| 19817 | { |
| 19818 | (void) ac_decl (0, (char *) 0); |
| 19819 | (void) ac_decl; |
| 19820 | |
| 19821 | ; |
| 19822 | return 0; |
| 19823 | } |
| 19824 | _ACEOF |
| 19825 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 19826 | then : |
| 19827 | if testscip-shell system . . test. x"$ac_arg" = x |
| 19828 | then : |
| 19829 | ac_cv_c_undeclared_builtin_options='none needed' |
| 19830 | else $as_nop |
| 19831 | ac_cv_c_undeclared_builtin_options=$ac_arg |
| 19832 | fi |
| 19833 | break |
| 19834 | fi |
| 19835 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19836 | fi |
| 19837 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19838 | done |
| 19839 | CFLAGS=$ac_save_CFLAGS |
| 19840 | |
| 19841 | fi |
| 19842 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 |
| 19843 | printfscip-shell system . . printf. "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } |
| 19844 | case $ac_cv_c_undeclared_builtin_options in #( |
| 19845 | 'cannot detect') : |
| 19846 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 19847 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 19848 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "cannot make $CC report undeclared builtins |
| 19849 | See \`config.log' for more details" "$LINENO" 5; } ;; #( |
| 19850 | 'none needed') : |
| 19851 | ac_c_undeclared_builtin_options='' ;; #( |
| 19852 | *) : |
| 19853 | ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; |
| 19854 | esac |
| 19855 | |
| 19856 | ac_fn_check_declscip-shell shell rsyslog 8.2604.0-4 ac_fn_check_decl(). "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" |
| 19857 | if testscip-shell system . . test. "x$ac_cv_have_decl_strerror_r" = xyes |
| 19858 | then : |
| 19859 | ac_have_decl=1 |
| 19860 | else $as_nop |
| 19861 | ac_have_decl=0 |
| 19862 | fi |
| 19863 | printfscip-shell system . . printf. "%s\n" "#define HAVE_DECL_STRERROR_R $ac_have_decl" >>confdefs.h |
| 19864 | |
| 19865 | |
| 19866 | if testscip-shell system . . test. $ac_cv_have_decl_strerror_r = yes; then |
| 19867 | # For backward compatibility's sake, define HAVE_STRERROR_R. |
| 19868 | # (We used to run AC_CHECK_FUNCS_ONCE for strerror_r, as well |
| 19869 | # as AC_CHECK_DECLS_ONCE.) |
| 19870 | |
| 19871 | printfscip-shell system . . printf. "%s\n" "#define HAVE_STRERROR_R 1" >>confdefs.h |
| 19872 | |
| 19873 | fi |
| 19874 | |
| 19875 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 |
| 19876 | printfscip-shell system . . printf. %s "checking whether strerror_r returns char *... " >&6; } |
| 19877 | if testscip-shell system . . test. ${ac_cv_func_strerror_r_char_p+y} |
| 19878 | then : |
| 19879 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 19880 | else $as_nop |
| 19881 | |
| 19882 | ac_cv_func_strerror_r_char_p=no |
| 19883 | if testscip-shell system . . test. $ac_cv_have_decl_strerror_r = yes; then |
| 19884 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19885 | /* end confdefs.h. */ |
| 19886 | #include <string.h> |
| 19887 | int |
| 19888 | main (void) |
| 19889 | { |
| 19890 | |
| 19891 | char buf[100]; |
| 19892 | char x = *strerror_r (0, buf, sizeof buf); |
| 19893 | char *p = strerror_r (0, buf, sizeof buf); |
| 19894 | return !p || x; |
| 19895 | |
| 19896 | ; |
| 19897 | return 0; |
| 19898 | } |
| 19899 | _ACEOF |
| 19900 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 19901 | then : |
| 19902 | ac_cv_func_strerror_r_char_p=yes |
| 19903 | fi |
| 19904 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19905 | |
| 19906 | fi |
| 19907 | |
| 19908 | fi |
| 19909 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 |
| 19910 | printfscip-shell system . . printf. "%s\n" "$ac_cv_func_strerror_r_char_p" >&6; } |
| 19911 | if testscip-shell system . . test. $ac_cv_func_strerror_r_char_p = yes; then |
| 19912 | |
| 19913 | printfscip-shell system . . printf. "%s\n" "#define STRERROR_R_CHAR_P 1" >>confdefs.h |
| 19914 | |
| 19915 | fi |
| 19916 | |
| 19917 | |
| 19918 | |
| 19919 | if testscip-shell system . . test. "x$ac_cv_func_vprintf" = xno |
| 19920 | then : |
| 19921 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "_doprnt" "ac_cv_func__doprnt" |
| 19922 | if testscip-shell system . . test. "x$ac_cv_func__doprnt" = xyes |
| 19923 | then : |
| 19924 | |
| 19925 | printfscip-shell system . . printf. "%s\n" "#define HAVE_DOPRNT 1" >>confdefs.h |
| 19926 | |
| 19927 | fi |
| 19928 | |
| 19929 | fi |
| 19930 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "flock" "ac_cv_func_flock" |
| 19931 | if testscip-shell system . . test. "x$ac_cv_func_flock" = xyes |
| 19932 | then : |
| 19933 | printfscip-shell system . . printf. "%s\n" "#define HAVE_FLOCK 1" >>confdefs.h |
| 19934 | |
| 19935 | fi |
| 19936 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "recvmmsg" "ac_cv_func_recvmmsg" |
| 19937 | if testscip-shell system . . test. "x$ac_cv_func_recvmmsg" = xyes |
| 19938 | then : |
| 19939 | printfscip-shell system . . printf. "%s\n" "#define HAVE_RECVMMSG 1" >>confdefs.h |
| 19940 | |
| 19941 | fi |
| 19942 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "basename" "ac_cv_func_basename" |
| 19943 | if testscip-shell system . . test. "x$ac_cv_func_basename" = xyes |
| 19944 | then : |
| 19945 | printfscip-shell system . . printf. "%s\n" "#define HAVE_BASENAME 1" >>confdefs.h |
| 19946 | |
| 19947 | fi |
| 19948 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "alarm" "ac_cv_func_alarm" |
| 19949 | if testscip-shell system . . test. "x$ac_cv_func_alarm" = xyes |
| 19950 | then : |
| 19951 | printfscip-shell system . . printf. "%s\n" "#define HAVE_ALARM 1" >>confdefs.h |
| 19952 | |
| 19953 | fi |
| 19954 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
| 19955 | if testscip-shell system . . test. "x$ac_cv_func_clock_gettime" = xyes |
| 19956 | then : |
| 19957 | printfscip-shell system . . printf. "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h |
| 19958 | |
| 19959 | fi |
| 19960 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
| 19961 | if testscip-shell system . . test. "x$ac_cv_func_gethostbyname" = xyes |
| 19962 | then : |
| 19963 | printfscip-shell system . . printf. "%s\n" "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h |
| 19964 | |
| 19965 | fi |
| 19966 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "gethostname" "ac_cv_func_gethostname" |
| 19967 | if testscip-shell system . . test. "x$ac_cv_func_gethostname" = xyes |
| 19968 | then : |
| 19969 | printfscip-shell system . . printf. "%s\n" "#define HAVE_GETHOSTNAME 1" >>confdefs.h |
| 19970 | |
| 19971 | fi |
| 19972 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" |
| 19973 | if testscip-shell system . . test. "x$ac_cv_func_gettimeofday" = xyes |
| 19974 | then : |
| 19975 | printfscip-shell system . . printf. "%s\n" "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h |
| 19976 | |
| 19977 | fi |
| 19978 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "localtime_r" "ac_cv_func_localtime_r" |
| 19979 | if testscip-shell system . . test. "x$ac_cv_func_localtime_r" = xyes |
| 19980 | then : |
| 19981 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LOCALTIME_R 1" >>confdefs.h |
| 19982 | |
| 19983 | fi |
| 19984 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "memset" "ac_cv_func_memset" |
| 19985 | if testscip-shell system . . test. "x$ac_cv_func_memset" = xyes |
| 19986 | then : |
| 19987 | printfscip-shell system . . printf. "%s\n" "#define HAVE_MEMSET 1" >>confdefs.h |
| 19988 | |
| 19989 | fi |
| 19990 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "mkdir" "ac_cv_func_mkdir" |
| 19991 | if testscip-shell system . . test. "x$ac_cv_func_mkdir" = xyes |
| 19992 | then : |
| 19993 | printfscip-shell system . . printf. "%s\n" "#define HAVE_MKDIR 1" >>confdefs.h |
| 19994 | |
| 19995 | fi |
| 19996 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "regcomp" "ac_cv_func_regcomp" |
| 19997 | if testscip-shell system . . test. "x$ac_cv_func_regcomp" = xyes |
| 19998 | then : |
| 19999 | printfscip-shell system . . printf. "%s\n" "#define HAVE_REGCOMP 1" >>confdefs.h |
| 20000 | |
| 20001 | fi |
| 20002 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "select" "ac_cv_func_select" |
| 20003 | if testscip-shell system . . test. "x$ac_cv_func_select" = xyes |
| 20004 | then : |
| 20005 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SELECT 1" >>confdefs.h |
| 20006 | |
| 20007 | fi |
| 20008 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "setsid" "ac_cv_func_setsid" |
| 20009 | if testscip-shell system . . test. "x$ac_cv_func_setsid" = xyes |
| 20010 | then : |
| 20011 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SETSID 1" >>confdefs.h |
| 20012 | |
| 20013 | fi |
| 20014 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "socket" "ac_cv_func_socket" |
| 20015 | if testscip-shell system . . test. "x$ac_cv_func_socket" = xyes |
| 20016 | then : |
| 20017 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SOCKET 1" >>confdefs.h |
| 20018 | |
| 20019 | fi |
| 20020 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" |
| 20021 | if testscip-shell system . . test. "x$ac_cv_func_strcasecmp" = xyes |
| 20022 | then : |
| 20023 | printfscip-shell system . . printf. "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h |
| 20024 | |
| 20025 | fi |
| 20026 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "strchr" "ac_cv_func_strchr" |
| 20027 | if testscip-shell system . . test. "x$ac_cv_func_strchr" = xyes |
| 20028 | then : |
| 20029 | printfscip-shell system . . printf. "%s\n" "#define HAVE_STRCHR 1" >>confdefs.h |
| 20030 | |
| 20031 | fi |
| 20032 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "strdup" "ac_cv_func_strdup" |
| 20033 | if testscip-shell system . . test. "x$ac_cv_func_strdup" = xyes |
| 20034 | then : |
| 20035 | printfscip-shell system . . printf. "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h |
| 20036 | |
| 20037 | fi |
| 20038 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "strerror" "ac_cv_func_strerror" |
| 20039 | if testscip-shell system . . test. "x$ac_cv_func_strerror" = xyes |
| 20040 | then : |
| 20041 | printfscip-shell system . . printf. "%s\n" "#define HAVE_STRERROR 1" >>confdefs.h |
| 20042 | |
| 20043 | fi |
| 20044 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "strndup" "ac_cv_func_strndup" |
| 20045 | if testscip-shell system . . test. "x$ac_cv_func_strndup" = xyes |
| 20046 | then : |
| 20047 | printfscip-shell system . . printf. "%s\n" "#define HAVE_STRNDUP 1" >>confdefs.h |
| 20048 | |
| 20049 | fi |
| 20050 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "strnlen" "ac_cv_func_strnlen" |
| 20051 | if testscip-shell system . . test. "x$ac_cv_func_strnlen" = xyes |
| 20052 | then : |
| 20053 | printfscip-shell system . . printf. "%s\n" "#define HAVE_STRNLEN 1" >>confdefs.h |
| 20054 | |
| 20055 | fi |
| 20056 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "strrchr" "ac_cv_func_strrchr" |
| 20057 | if testscip-shell system . . test. "x$ac_cv_func_strrchr" = xyes |
| 20058 | then : |
| 20059 | printfscip-shell system . . printf. "%s\n" "#define HAVE_STRRCHR 1" >>confdefs.h |
| 20060 | |
| 20061 | fi |
| 20062 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "strstr" "ac_cv_func_strstr" |
| 20063 | if testscip-shell system . . test. "x$ac_cv_func_strstr" = xyes |
| 20064 | then : |
| 20065 | printfscip-shell system . . printf. "%s\n" "#define HAVE_STRSTR 1" >>confdefs.h |
| 20066 | |
| 20067 | fi |
| 20068 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "strtol" "ac_cv_func_strtol" |
| 20069 | if testscip-shell system . . test. "x$ac_cv_func_strtol" = xyes |
| 20070 | then : |
| 20071 | printfscip-shell system . . printf. "%s\n" "#define HAVE_STRTOL 1" >>confdefs.h |
| 20072 | |
| 20073 | fi |
| 20074 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "strtoul" "ac_cv_func_strtoul" |
| 20075 | if testscip-shell system . . test. "x$ac_cv_func_strtoul" = xyes |
| 20076 | then : |
| 20077 | printfscip-shell system . . printf. "%s\n" "#define HAVE_STRTOUL 1" >>confdefs.h |
| 20078 | |
| 20079 | fi |
| 20080 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "uname" "ac_cv_func_uname" |
| 20081 | if testscip-shell system . . test. "x$ac_cv_func_uname" = xyes |
| 20082 | then : |
| 20083 | printfscip-shell system . . printf. "%s\n" "#define HAVE_UNAME 1" >>confdefs.h |
| 20084 | |
| 20085 | fi |
| 20086 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "ttyname_r" "ac_cv_func_ttyname_r" |
| 20087 | if testscip-shell system . . test. "x$ac_cv_func_ttyname_r" = xyes |
| 20088 | then : |
| 20089 | printfscip-shell system . . printf. "%s\n" "#define HAVE_TTYNAME_R 1" >>confdefs.h |
| 20090 | |
| 20091 | fi |
| 20092 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "getline" "ac_cv_func_getline" |
| 20093 | if testscip-shell system . . test. "x$ac_cv_func_getline" = xyes |
| 20094 | then : |
| 20095 | printfscip-shell system . . printf. "%s\n" "#define HAVE_GETLINE 1" >>confdefs.h |
| 20096 | |
| 20097 | fi |
| 20098 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "malloc_trim" "ac_cv_func_malloc_trim" |
| 20099 | if testscip-shell system . . test. "x$ac_cv_func_malloc_trim" = xyes |
| 20100 | then : |
| 20101 | printfscip-shell system . . printf. "%s\n" "#define HAVE_MALLOC_TRIM 1" >>confdefs.h |
| 20102 | |
| 20103 | fi |
| 20104 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "prctl" "ac_cv_func_prctl" |
| 20105 | if testscip-shell system . . test. "x$ac_cv_func_prctl" = xyes |
| 20106 | then : |
| 20107 | printfscip-shell system . . printf. "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h |
| 20108 | |
| 20109 | fi |
| 20110 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "epoll_create" "ac_cv_func_epoll_create" |
| 20111 | if testscip-shell system . . test. "x$ac_cv_func_epoll_create" = xyes |
| 20112 | then : |
| 20113 | printfscip-shell system . . printf. "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h |
| 20114 | |
| 20115 | fi |
| 20116 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "epoll_create1" "ac_cv_func_epoll_create1" |
| 20117 | if testscip-shell system . . test. "x$ac_cv_func_epoll_create1" = xyes |
| 20118 | then : |
| 20119 | printfscip-shell system . . printf. "%s\n" "#define HAVE_EPOLL_CREATE1 1" >>confdefs.h |
| 20120 | |
| 20121 | fi |
| 20122 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "fdatasync" "ac_cv_func_fdatasync" |
| 20123 | if testscip-shell system . . test. "x$ac_cv_func_fdatasync" = xyes |
| 20124 | then : |
| 20125 | printfscip-shell system . . printf. "%s\n" "#define HAVE_FDATASYNC 1" >>confdefs.h |
| 20126 | |
| 20127 | fi |
| 20128 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "syscall" "ac_cv_func_syscall" |
| 20129 | if testscip-shell system . . test. "x$ac_cv_func_syscall" = xyes |
| 20130 | then : |
| 20131 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYSCALL 1" >>confdefs.h |
| 20132 | |
| 20133 | fi |
| 20134 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "lseek64" "ac_cv_func_lseek64" |
| 20135 | if testscip-shell system . . test. "x$ac_cv_func_lseek64" = xyes |
| 20136 | then : |
| 20137 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LSEEK64 1" >>confdefs.h |
| 20138 | |
| 20139 | fi |
| 20140 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "asprintf" "ac_cv_func_asprintf" |
| 20141 | if testscip-shell system . . test. "x$ac_cv_func_asprintf" = xyes |
| 20142 | then : |
| 20143 | printfscip-shell system . . printf. "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h |
| 20144 | |
| 20145 | fi |
| 20146 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "close_range" "ac_cv_func_close_range" |
| 20147 | if testscip-shell system . . test. "x$ac_cv_func_close_range" = xyes |
| 20148 | then : |
| 20149 | printfscip-shell system . . printf. "%s\n" "#define HAVE_CLOSE_RANGE 1" >>confdefs.h |
| 20150 | |
| 20151 | fi |
| 20152 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "pthread_setname_np" "ac_cv_func_pthread_setname_np" |
| 20153 | if testscip-shell system . . test. "x$ac_cv_func_pthread_setname_np" = xyes |
| 20154 | then : |
| 20155 | printfscip-shell system . . printf. "%s\n" "#define HAVE_PTHREAD_SETNAME_NP 1" >>confdefs.h |
| 20156 | |
| 20157 | fi |
| 20158 | |
| 20159 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "setns" "ac_cv_func_setns" |
| 20160 | if testscip-shell system . . test. "x$ac_cv_func_setns" = xyes |
| 20161 | then : |
| 20162 | |
| 20163 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SETNS 1" >>confdefs.h |
| 20164 | |
| 20165 | fi |
| 20166 | |
| 20167 | ac_fn_c_check_typescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_type(). "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default" |
| 20168 | if testscip-shell system . . test. "x$ac_cv_type_off64_t" = xyes |
| 20169 | then : |
| 20170 | |
| 20171 | printfscip-shell system . . printf. "%s\n" "#define HAVE_OFF64_T 1" >>confdefs.h |
| 20172 | |
| 20173 | |
| 20174 | fi |
| 20175 | |
| 20176 | |
| 20177 | for ac_header in sys/inotify.h |
| 20178 | do : |
| 20179 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default" |
| 20180 | if testscip-shell system . . test. "x$ac_cv_header_sys_inotify_h" = xyes |
| 20181 | then : |
| 20182 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h |
| 20183 | rsyslog_sysinotify=yes |
| 20184 | fi |
| 20185 | |
| 20186 | done |
| 20187 | |
| 20188 | for ac_func in inotify_init |
| 20189 | do : |
| 20190 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "inotify_init" "ac_cv_func_inotify_init" |
| 20191 | if testscip-shell system . . test. "x$ac_cv_func_inotify_init" = xyes |
| 20192 | then : |
| 20193 | printfscip-shell system . . printf. "%s\n" "#define HAVE_INOTIFY_INIT 1" >>confdefs.h |
| 20194 | rsyslog_inotify_init=yes |
| 20195 | fi |
| 20196 | |
| 20197 | done |
| 20198 | if testscip-shell system . . test. x$rsyslog_sysinotify = xyes -a x$rsyslog_inotify_init = xyes; then |
| 20199 | ENABLE_INOTIFY_TRUE= |
| 20200 | ENABLE_INOTIFY_FALSE='#' |
| 20201 | else |
| 20202 | ENABLE_INOTIFY_TRUE='#' |
| 20203 | ENABLE_INOTIFY_FALSE= |
| 20204 | fi |
| 20205 | |
| 20206 | |
| 20207 | # getifaddrs is in libc (mostly) or in libsocket (eg Solaris 11) or not defined (eg Solaris 10) |
| 20208 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getifaddrs" >&5 |
| 20209 | printfscip-shell system . . printf. %s "checking for library containing getifaddrs... " >&6; } |
| 20210 | if testscip-shell system . . test. ${ac_cv_search_getifaddrs+y} |
| 20211 | then : |
| 20212 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 20213 | else $as_nop |
| 20214 | ac_func_search_save_LIBS=$LIBS |
| 20215 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20216 | /* end confdefs.h. */ |
| 20217 | |
| 20218 | /* Override any GCC internal prototype to avoid an error. |
| 20219 | Use char because int might match the return type of a GCC |
| 20220 | builtin and then its argument prototype would still apply. */ |
| 20221 | char getifaddrs (); |
| 20222 | int |
| 20223 | main (void) |
| 20224 | { |
| 20225 | return getifaddrs (); |
| 20226 | ; |
| 20227 | return 0; |
| 20228 | } |
| 20229 | _ACEOF |
| 20230 | for ac_lib in '' socket |
| 20231 | do |
| 20232 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 20233 | ac_res="none required" |
| 20234 | else |
| 20235 | ac_res=-l$ac_lib |
| 20236 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 20237 | fi |
| 20238 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 20239 | then : |
| 20240 | ac_cv_search_getifaddrs=$ac_res |
| 20241 | fi |
| 20242 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 20243 | conftest$ac_exeext |
| 20244 | if testscip-shell system . . test. ${ac_cv_search_getifaddrs+y} |
| 20245 | then : |
| 20246 | break |
| 20247 | fi |
| 20248 | done |
| 20249 | if testscip-shell system . . test. ${ac_cv_search_getifaddrs+y} |
| 20250 | then : |
| 20251 | |
| 20252 | else $as_nop |
| 20253 | ac_cv_search_getifaddrs=no |
| 20254 | fi |
| 20255 | rmscip-shell system . . rm. conftest.$ac_ext |
| 20256 | LIBS=$ac_func_search_save_LIBS |
| 20257 | fi |
| 20258 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getifaddrs" >&5 |
| 20259 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_getifaddrs" >&6; } |
| 20260 | ac_res=$ac_cv_search_getifaddrs |
| 20261 | if testscip-shell system . . test. "$ac_res" != no |
| 20262 | then : |
| 20263 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 20264 | |
| 20265 | printfscip-shell system . . printf. "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h |
| 20266 | |
| 20267 | fi |
| 20268 | |
| 20269 | |
| 20270 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default" |
| 20271 | if testscip-shell system . . test. "x$ac_cv_header_arpa_nameser_h" = xyes |
| 20272 | then : |
| 20273 | printfscip-shell system . . printf. "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h |
| 20274 | |
| 20275 | fi |
| 20276 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "$ac_includes_default" |
| 20277 | if testscip-shell system . . test. "x$ac_cv_header_resolv_h" = xyes |
| 20278 | then : |
| 20279 | printfscip-shell system . . printf. "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h |
| 20280 | |
| 20281 | fi |
| 20282 | |
| 20283 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing ns_initparse" >&5 |
| 20284 | printfscip-shell system . . printf. %s "checking for library containing ns_initparse... " >&6; } |
| 20285 | if testscip-shell system . . test. ${ac_cv_search_ns_initparse+y} |
| 20286 | then : |
| 20287 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 20288 | else $as_nop |
| 20289 | ac_func_search_save_LIBS=$LIBS |
| 20290 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20291 | /* end confdefs.h. */ |
| 20292 | |
| 20293 | /* Override any GCC internal prototype to avoid an error. |
| 20294 | Use char because int might match the return type of a GCC |
| 20295 | builtin and then its argument prototype would still apply. */ |
| 20296 | char ns_initparse (); |
| 20297 | int |
| 20298 | main (void) |
| 20299 | { |
| 20300 | return ns_initparse (); |
| 20301 | ; |
| 20302 | return 0; |
| 20303 | } |
| 20304 | _ACEOF |
| 20305 | for ac_lib in '' resolv |
| 20306 | do |
| 20307 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 20308 | ac_res="none required" |
| 20309 | else |
| 20310 | ac_res=-l$ac_lib |
| 20311 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 20312 | fi |
| 20313 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 20314 | then : |
| 20315 | ac_cv_search_ns_initparse=$ac_res |
| 20316 | fi |
| 20317 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 20318 | conftest$ac_exeext |
| 20319 | if testscip-shell system . . test. ${ac_cv_search_ns_initparse+y} |
| 20320 | then : |
| 20321 | break |
| 20322 | fi |
| 20323 | done |
| 20324 | if testscip-shell system . . test. ${ac_cv_search_ns_initparse+y} |
| 20325 | then : |
| 20326 | |
| 20327 | else $as_nop |
| 20328 | ac_cv_search_ns_initparse=no |
| 20329 | fi |
| 20330 | rmscip-shell system . . rm. conftest.$ac_ext |
| 20331 | LIBS=$ac_func_search_save_LIBS |
| 20332 | fi |
| 20333 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ns_initparse" >&5 |
| 20334 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_ns_initparse" >&6; } |
| 20335 | ac_res=$ac_cv_search_ns_initparse |
| 20336 | if testscip-shell system . . test. "$ac_res" != no |
| 20337 | then : |
| 20338 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 20339 | |
| 20340 | fi |
| 20341 | |
| 20342 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing res_query" >&5 |
| 20343 | printfscip-shell system . . printf. %s "checking for library containing res_query... " >&6; } |
| 20344 | if testscip-shell system . . test. ${ac_cv_search_res_query+y} |
| 20345 | then : |
| 20346 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 20347 | else $as_nop |
| 20348 | ac_func_search_save_LIBS=$LIBS |
| 20349 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20350 | /* end confdefs.h. */ |
| 20351 | |
| 20352 | /* Override any GCC internal prototype to avoid an error. |
| 20353 | Use char because int might match the return type of a GCC |
| 20354 | builtin and then its argument prototype would still apply. */ |
| 20355 | char res_query (); |
| 20356 | int |
| 20357 | main (void) |
| 20358 | { |
| 20359 | return res_query (); |
| 20360 | ; |
| 20361 | return 0; |
| 20362 | } |
| 20363 | _ACEOF |
| 20364 | for ac_lib in '' resolv |
| 20365 | do |
| 20366 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 20367 | ac_res="none required" |
| 20368 | else |
| 20369 | ac_res=-l$ac_lib |
| 20370 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 20371 | fi |
| 20372 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 20373 | then : |
| 20374 | ac_cv_search_res_query=$ac_res |
| 20375 | fi |
| 20376 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 20377 | conftest$ac_exeext |
| 20378 | if testscip-shell system . . test. ${ac_cv_search_res_query+y} |
| 20379 | then : |
| 20380 | break |
| 20381 | fi |
| 20382 | done |
| 20383 | if testscip-shell system . . test. ${ac_cv_search_res_query+y} |
| 20384 | then : |
| 20385 | |
| 20386 | else $as_nop |
| 20387 | ac_cv_search_res_query=no |
| 20388 | fi |
| 20389 | rmscip-shell system . . rm. conftest.$ac_ext |
| 20390 | LIBS=$ac_func_search_save_LIBS |
| 20391 | fi |
| 20392 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_query" >&5 |
| 20393 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_res_query" >&6; } |
| 20394 | ac_res=$ac_cv_search_res_query |
| 20395 | if testscip-shell system . . test. "$ac_res" != no |
| 20396 | then : |
| 20397 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 20398 | |
| 20399 | fi |
| 20400 | |
| 20401 | LIBRESOLV_LIBS= |
| 20402 | case $ac_cv_search_ns_initparse in #( |
| 20403 | "none required") : |
| 20404 | ;; #( |
| 20405 | "no") : |
| 20406 | ;; #( |
| 20407 | *) : |
| 20408 | LIBRESOLV_LIBS="$ac_cv_search_ns_initparse" ;; #( |
| 20409 | *) : |
| 20410 | ;; |
| 20411 | esac |
| 20412 | case $ac_cv_search_res_query in #( |
| 20413 | "none required") : |
| 20414 | ;; #( |
| 20415 | "no") : |
| 20416 | ;; #( |
| 20417 | *) : |
| 20418 | case " $LIBRESOLV_LIBS " in #( |
| 20419 | *" $ac_cv_search_res_query "*) : |
| 20420 | ;; #( |
| 20421 | *) : |
| 20422 | LIBRESOLV_LIBS="$LIBRESOLV_LIBS $ac_cv_search_res_query" ;; |
| 20423 | esac ;; #( |
| 20424 | *) : |
| 20425 | ;; |
| 20426 | esac |
| 20427 | LIBRESOLV_LIBS=${LIBRESOLV_LIBS# } |
| 20428 | |
| 20429 | if testscip-shell system . . test. "x$ac_cv_search_ns_initparse" != "xno" |
| 20430 | then : |
| 20431 | |
| 20432 | printfscip-shell system . . printf. "%s\n" "#define HAVE_RESOLV_NS_INITPARSE 1" >>confdefs.h |
| 20433 | |
| 20434 | fi |
| 20435 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "res_ninit" "ac_cv_func_res_ninit" |
| 20436 | if testscip-shell system . . test. "x$ac_cv_func_res_ninit" = xyes |
| 20437 | then : |
| 20438 | printfscip-shell system . . printf. "%s\n" "#define HAVE_RES_NINIT 1" >>confdefs.h |
| 20439 | |
| 20440 | fi |
| 20441 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "res_nquery" "ac_cv_func_res_nquery" |
| 20442 | if testscip-shell system . . test. "x$ac_cv_func_res_nquery" = xyes |
| 20443 | then : |
| 20444 | printfscip-shell system . . printf. "%s\n" "#define HAVE_RES_NQUERY 1" >>confdefs.h |
| 20445 | |
| 20446 | fi |
| 20447 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "res_nclose" "ac_cv_func_res_nclose" |
| 20448 | if testscip-shell system . . test. "x$ac_cv_func_res_nclose" = xyes |
| 20449 | then : |
| 20450 | printfscip-shell system . . printf. "%s\n" "#define HAVE_RES_NCLOSE 1" >>confdefs.h |
| 20451 | |
| 20452 | fi |
| 20453 | |
| 20454 | if testscip-shell system . . test. "x$ac_cv_func_res_ninit" = "xyes" -a "x$ac_cv_func_res_nquery" = "xyes" -a "x$ac_cv_func_res_nclose" = "xyes" |
| 20455 | then : |
| 20456 | |
| 20457 | printfscip-shell system . . printf. "%s\n" "#define HAVE_RESOLV_RES_N_API 1" >>confdefs.h |
| 20458 | |
| 20459 | fi |
| 20460 | if testscip-shell system . . test. "x$ac_cv_search_ns_initparse" != "xno"; then |
| 20461 | HAVE_SRV_DISCOVERY_TRUE= |
| 20462 | HAVE_SRV_DISCOVERY_FALSE='#' |
| 20463 | else |
| 20464 | HAVE_SRV_DISCOVERY_TRUE='#' |
| 20465 | HAVE_SRV_DISCOVERY_FALSE= |
| 20466 | fi |
| 20467 | |
| 20468 | |
| 20469 | # the check below is probably ugly. If someone knows how to do it in a better way, please |
| 20470 | # let me know! -- rgerhards, 2010-10-06 |
| 20471 | ac_fn_check_declscip-shell shell rsyslog 8.2604.0-4 ac_fn_check_decl(). "$LINENO" "SCM_CREDENTIALS" "ac_cv_have_decl_SCM_CREDENTIALS" "#include <sys/types.h> |
| 20472 | #include <sys/socket.h> |
| 20473 | " "$ac_c_undeclared_builtin_options" "CFLAGS" |
| 20474 | if testscip-shell system . . test. "x$ac_cv_have_decl_SCM_CREDENTIALS" = xyes |
| 20475 | then : |
| 20476 | |
| 20477 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SCM_CREDENTIALS 1" >>confdefs.h |
| 20478 | |
| 20479 | fi |
| 20480 | ac_fn_check_declscip-shell shell rsyslog 8.2604.0-4 ac_fn_check_decl(). "$LINENO" "SO_TIMESTAMP" "ac_cv_have_decl_SO_TIMESTAMP" "#include <sys/types.h> |
| 20481 | #include <sys/socket.h> |
| 20482 | " "$ac_c_undeclared_builtin_options" "CFLAGS" |
| 20483 | if testscip-shell system . . test. "x$ac_cv_have_decl_SO_TIMESTAMP" = xyes |
| 20484 | then : |
| 20485 | |
| 20486 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SO_TIMESTAMP 1" >>confdefs.h |
| 20487 | |
| 20488 | fi |
| 20489 | ac_fn_check_declscip-shell shell rsyslog 8.2604.0-4 ac_fn_check_decl(). "$LINENO" "SYS_gettid" "ac_cv_have_decl_SYS_gettid" "#include <sys/syscall.h> |
| 20490 | " "$ac_c_undeclared_builtin_options" "CFLAGS" |
| 20491 | if testscip-shell system . . test. "x$ac_cv_have_decl_SYS_gettid" = xyes |
| 20492 | then : |
| 20493 | |
| 20494 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_gettid 1" >>confdefs.h |
| 20495 | |
| 20496 | fi |
| 20497 | ac_fn_c_check_memberscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_member(). "$LINENO" "struct sysinfo" "uptime" "ac_cv_member_struct_sysinfo_uptime" "#include <sys/sysinfo.h> |
| 20498 | " |
| 20499 | if testscip-shell system . . test. "x$ac_cv_member_struct_sysinfo_uptime" = xyes |
| 20500 | then : |
| 20501 | |
| 20502 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYSINFO_UPTIME 1" >>confdefs.h |
| 20503 | |
| 20504 | fi |
| 20505 | |
| 20506 | ac_fn_check_declscip-shell shell rsyslog 8.2604.0-4 ac_fn_check_decl(). "$LINENO" "GLOB_NOMAGIC" "ac_cv_have_decl_GLOB_NOMAGIC" "#include <glob.h> |
| 20507 | " "$ac_c_undeclared_builtin_options" "CFLAGS" |
| 20508 | if testscip-shell system . . test. "x$ac_cv_have_decl_GLOB_NOMAGIC" = xyes |
| 20509 | then : |
| 20510 | |
| 20511 | printfscip-shell system . . printf. "%s\n" "#define HAVE_GLOB_NOMAGIC 1" >>confdefs.h |
| 20512 | |
| 20513 | fi |
| 20514 | |
| 20515 | # Check for MAXHOSTNAMELEN |
| 20516 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MAXHOSTNAMELEN" >&5 |
| 20517 | printfscip-shell system . . printf. %s "checking for MAXHOSTNAMELEN... " >&6; } |
| 20518 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20519 | /* end confdefs.h. */ |
| 20520 | |
| 20521 | #include <sys/param.h> |
| 20522 | #include <netdb.h> |
| 20523 | |
| 20524 | int |
| 20525 | main (void) |
| 20526 | { |
| 20527 | |
| 20528 | return MAXHOSTNAMELEN; |
| 20529 | |
| 20530 | |
| 20531 | ; |
| 20532 | return 0; |
| 20533 | } |
| 20534 | _ACEOF |
| 20535 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 20536 | then : |
| 20537 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 20538 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 20539 | |
| 20540 | else $as_nop |
| 20541 | # note: we use 1024 here, which should be far more than needed by any system. If that's too low, we simply |
| 20542 | # life with the need to change it. Most of the code doesn't need it anyways, but there are a few places |
| 20543 | # where it actually is needed and it makes no sense to change them. |
| 20544 | |
| 20545 | printfscip-shell system . . printf. "%s\n" "#define MAXHOSTNAMELEN 1024" >>confdefs.h |
| 20546 | |
| 20547 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no; defined as 64" >&5 |
| 20548 | printfscip-shell system . . printf. "%s\n" "no; defined as 64" >&6; } |
| 20549 | |
| 20550 | fi |
| 20551 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 20552 | |
| 20553 | # check if GNU's ld is used |
| 20554 | |
| 20555 | # Check for __builtin_expect() |
| 20556 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect()" >&5 |
| 20557 | printfscip-shell system . . printf. %s "checking for __builtin_expect()... " >&6; } |
| 20558 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20559 | /* end confdefs.h. */ |
| 20560 | |
| 20561 | int |
| 20562 | main (void) |
| 20563 | { |
| 20564 | return __builtin_expect(main != 0, 1) |
| 20565 | ; |
| 20566 | return 0; |
| 20567 | } |
| 20568 | _ACEOF |
| 20569 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 20570 | then : |
| 20571 | |
| 20572 | printfscip-shell system . . printf. "%s\n" "#define HAVE_BUILTIN_EXPECT 1" >>confdefs.h |
| 20573 | |
| 20574 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 20575 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 20576 | else $as_nop |
| 20577 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20578 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 20579 | fi |
| 20580 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 20581 | conftest$ac_exeext conftest.$ac_ext |
| 20582 | |
| 20583 | # check for availability of atomic operations |
| 20584 | # Note: this switch is primarily for the testbench, so that we can try |
| 20585 | # to build w/o automic operations on systems that actually support them. |
| 20586 | # Usually, atomic operations should be used when available as this |
| 20587 | # speeds up processig. |
| 20588 | # note that when automic operations are enabled but not available, they |
| 20589 | # will silently NOT be used! |
| 20590 | # Check whether --enable-atomic-operations was given. |
| 20591 | if testscip-shell system . . test. ${enable_atomic_operations+y} |
| 20592 | then : |
| 20593 | enableval=$enable_atomic_operations; case "${enableval}" in |
| 20594 | yes) enable_atomic_operations="yes" ;; |
| 20595 | no) enable_atomic_operations="no" ;; |
| 20596 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-atomic-operations" "$LINENO" 5 ;; |
| 20597 | esac |
| 20598 | else $as_nop |
| 20599 | enable_atomic_operations=yes |
| 20600 | |
| 20601 | fi |
| 20602 | |
| 20603 | if testscip-shell system . . test. "$enable_atomic_operations" = "yes"; then |
| 20604 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler provides atomic builtins" >&5 |
| 20605 | printfscip-shell system . . printf. %s "checking whether the compiler provides atomic builtins... " >&6; } |
| 20606 | if testscip-shell system . . test. ${ap_cv_atomic_builtins+y} |
| 20607 | then : |
| 20608 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 20609 | else $as_nop |
| 20610 | if testscip-shell system . . test. "$cross_compiling" = yes |
| 20611 | then : |
| 20612 | ap_cv_atomic_builtins=no |
| 20613 | else $as_nop |
| 20614 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20615 | /* end confdefs.h. */ |
| 20616 | |
| 20617 | #include <sys/types.h> |
| 20618 | int main() |
| 20619 | { |
| 20620 | unsigned long val = 1010, tmp, *mem = &val; |
| 20621 | time_t tval = 1010, ttmp, *tmem = &tval; |
| 20622 | |
| 20623 | if (__sync_fetch_and_add(&val, 1010) != 1010 || val != 2020) |
| 20624 | return 1; |
| 20625 | tmp = val; |
| 20626 | if (__sync_fetch_and_sub(mem, 1010) != tmp || val != 1010) |
| 20627 | return 1; |
| 20628 | if (__sync_sub_and_fetch(&val, 1010) != 0 || val != 0) |
| 20629 | return 1; |
| 20630 | tmp = 3030; |
| 20631 | if (__sync_val_compare_and_swap(mem, 0, tmp) != 0 || val != tmp) |
| 20632 | return 1; |
| 20633 | if (__sync_lock_test_and_set(&val, 4040) != 3030) |
| 20634 | return 1; |
| 20635 | mem = &tmp; |
| 20636 | if (__sync_val_compare_and_swap(&mem, &tmp, &val) != &tmp) |
| 20637 | return 1; |
| 20638 | |
| 20639 | if (__sync_fetch_and_add(&tval, 1010) != 1010 || tval != 2020) |
| 20640 | return 1; |
| 20641 | ttmp = tval; |
| 20642 | if (__sync_fetch_and_sub(tmem, 1010) != ttmp || tval != 1010) |
| 20643 | return 1; |
| 20644 | if (__sync_sub_and_fetch(&tval, 1010) != 0 || tval != 0) |
| 20645 | return 1; |
| 20646 | ttmp = 3030; |
| 20647 | if (__sync_val_compare_and_swap(tmem, 0, ttmp) != 0 || tval != ttmp) |
| 20648 | return 1; |
| 20649 | if (__sync_lock_test_and_set(&tval, 4040) != 3030) |
| 20650 | return 1; |
| 20651 | tmem = &ttmp; |
| 20652 | if (__sync_val_compare_and_swap(&tmem, &ttmp, &tval) != &ttmp) |
| 20653 | return 1; |
| 20654 | |
| 20655 | __sync_synchronize(); |
| 20656 | |
| 20657 | if (mem != &val) |
| 20658 | return 1; |
| 20659 | |
| 20660 | if (tmem != &tval) |
| 20661 | return 1; |
| 20662 | |
| 20663 | return 0; |
| 20664 | } |
| 20665 | _ACEOF |
| 20666 | if ac_fn_c_try_runscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_run(). "$LINENO" |
| 20667 | then : |
| 20668 | ap_cv_atomic_builtins=yes |
| 20669 | else $as_nop |
| 20670 | ap_cv_atomic_builtins=no |
| 20671 | fi |
| 20672 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 20673 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 20674 | fi |
| 20675 | |
| 20676 | fi |
| 20677 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ap_cv_atomic_builtins" >&5 |
| 20678 | printfscip-shell system . . printf. "%s\n" "$ap_cv_atomic_builtins" >&6; } |
| 20679 | |
| 20680 | if testscip-shell system . . test. "$ap_cv_atomic_builtins" = "yes"; then |
| 20681 | |
| 20682 | printfscip-shell system . . printf. "%s\n" "#define HAVE_ATOMIC_BUILTINS 1" >>confdefs.h |
| 20683 | |
| 20684 | fi |
| 20685 | |
| 20686 | |
| 20687 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler provides atomic builtins for 64 bit data types" >&5 |
| 20688 | printfscip-shell system . . printf. %s "checking whether the compiler provides atomic builtins for 64 bit data types... " >&6; } |
| 20689 | if testscip-shell system . . test. ${ap_cv_atomic_builtins_64+y} |
| 20690 | then : |
| 20691 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 20692 | else $as_nop |
| 20693 | if testscip-shell system . . test. "$cross_compiling" = yes |
| 20694 | then : |
| 20695 | ap_cv_atomic_builtins_64=no |
| 20696 | else $as_nop |
| 20697 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20698 | /* end confdefs.h. */ |
| 20699 | |
| 20700 | int main() |
| 20701 | { |
| 20702 | unsigned long long val = 1010, tmp, *mem = &val; |
| 20703 | |
| 20704 | if (__sync_fetch_and_add(&val, 1010) != 1010 || val != 2020) |
| 20705 | return 1; |
| 20706 | |
| 20707 | tmp = val; |
| 20708 | |
| 20709 | if (__sync_fetch_and_sub(mem, 1010) != tmp || val != 1010) |
| 20710 | return 1; |
| 20711 | |
| 20712 | if (__sync_sub_and_fetch(&val, 1010) != 0 || val != 0) |
| 20713 | return 1; |
| 20714 | |
| 20715 | tmp = 3030; |
| 20716 | |
| 20717 | if (__sync_val_compare_and_swap(mem, 0, tmp) != 0 || val != tmp) |
| 20718 | return 1; |
| 20719 | |
| 20720 | if (__sync_lock_test_and_set(&val, 4040) != 3030) |
| 20721 | return 1; |
| 20722 | |
| 20723 | mem = &tmp; |
| 20724 | |
| 20725 | if (__sync_val_compare_and_swap(&mem, &tmp, &val) != &tmp) |
| 20726 | return 1; |
| 20727 | |
| 20728 | __sync_synchronize(); |
| 20729 | |
| 20730 | if (mem != &val) |
| 20731 | return 1; |
| 20732 | |
| 20733 | return 0; |
| 20734 | } |
| 20735 | _ACEOF |
| 20736 | if ac_fn_c_try_runscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_run(). "$LINENO" |
| 20737 | then : |
| 20738 | ap_cv_atomic_builtins_64=yes |
| 20739 | else $as_nop |
| 20740 | ap_cv_atomic_builtins_64=no |
| 20741 | fi |
| 20742 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 20743 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 20744 | fi |
| 20745 | |
| 20746 | fi |
| 20747 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ap_cv_atomic_builtins_64" >&5 |
| 20748 | printfscip-shell system . . printf. "%s\n" "$ap_cv_atomic_builtins_64" >&6; } |
| 20749 | |
| 20750 | if testscip-shell system . . test. "$ap_cv_atomic_builtins_64" = "yes"; then |
| 20751 | |
| 20752 | printfscip-shell system . . printf. "%s\n" "#define HAVE_ATOMIC_BUILTINS64 1" >>confdefs.h |
| 20753 | |
| 20754 | fi |
| 20755 | |
| 20756 | |
| 20757 | fi |
| 20758 | |
| 20759 | # fall back to POSIX sems for atomic operations (cpu expensive) |
| 20760 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" |
| 20761 | if testscip-shell system . . test. "x$ac_cv_header_semaphore_h" = xyes |
| 20762 | then : |
| 20763 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SEMAPHORE_H 1" >>confdefs.h |
| 20764 | |
| 20765 | fi |
| 20766 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default" |
| 20767 | if testscip-shell system . . test. "x$ac_cv_header_sys_syscall_h" = xyes |
| 20768 | then : |
| 20769 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h |
| 20770 | |
| 20771 | fi |
| 20772 | |
| 20773 | |
| 20774 | |
| 20775 | # Additional module directories |
| 20776 | |
| 20777 | # Check whether --with-moddirs was given. |
| 20778 | if testscip-shell system . . test. ${with_moddirs+y} |
| 20779 | then : |
| 20780 | withval=$with_moddirs; _save_IFS=$IFS ; IFS=$PATH_SEPARATOR ; moddirs="" |
| 20781 | for w in ${with_moddirs} ; |
| 20782 | do |
| 20783 | case $w in |
| 20784 | "") continue ;; */) ;; *) w="${w}/" ;; |
| 20785 | esac |
| 20786 | for m in ${moddirs} ; |
| 20787 | do |
| 20788 | testscip-shell system . . test. "x$w" = "x${libdir}/${PACKAGE}/" || \ |
| 20789 | test "x$w" = "x$m" || testscip-shell system . . test. "x$w" = "x/" && \ |
| 20790 | continue 2 |
| 20791 | done |
| 20792 | case $moddirs in |
| 20793 | "") moddirs="$w" ;; *) moddirs="${moddirs}:${w}" ;; |
| 20794 | esac |
| 20795 | done ; IFS=$_save_IFS |
| 20796 | else $as_nop |
| 20797 | moddirs="" |
| 20798 | |
| 20799 | fi |
| 20800 | |
| 20801 | if testscip-shell system . . test. x$moddirs != x; then |
| 20802 | WITH_MODDIRS_TRUE= |
| 20803 | WITH_MODDIRS_FALSE='#' |
| 20804 | else |
| 20805 | WITH_MODDIRS_TRUE='#' |
| 20806 | WITH_MODDIRS_FALSE= |
| 20807 | fi |
| 20808 | |
| 20809 | |
| 20810 | |
| 20811 | |
| 20812 | # Large file support |
| 20813 | # http://www.gnu.org/software/autoconf/manual/html_node/System-Services.html#index-AC_005fSYS_005fLARGEFILE-1028 |
| 20814 | # Check whether --enable-largefile was given. |
| 20815 | if testscip-shell system . . test. ${enable_largefile+y} |
| 20816 | then : |
| 20817 | enableval=$enable_largefile; |
| 20818 | fi |
| 20819 | |
| 20820 | if testscip-shell system . . test. "$enable_largefile" != no; then |
| 20821 | |
| 20822 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 |
| 20823 | printfscip-shell system . . printf. %s "checking for special C compiler options needed for large files... " >&6; } |
| 20824 | if testscip-shell system . . test. ${ac_cv_sys_largefile_CC+y} |
| 20825 | then : |
| 20826 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 20827 | else $as_nop |
| 20828 | ac_cv_sys_largefile_CC=no |
| 20829 | if testscip-shell system . . test. "$GCC" != yes; then |
| 20830 | ac_save_CC=$CC |
| 20831 | while :; do |
| 20832 | # IRIX 6.2 and later do not support large files by default, |
| 20833 | # so use the C compiler's -n32 option if that helps. |
| 20834 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20835 | /* end confdefs.h. */ |
| 20836 | #include <sys/types.h> |
| 20837 | /* Check that off_t can represent 2**63 - 1 correctly. |
| 20838 | We can't simply define LARGE_OFF_T to be 9223372036854775807, |
| 20839 | since some C++ compilers masquerading as C compilers |
| 20840 | incorrectly reject 9223372036854775807. */ |
| 20841 | #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) |
| 20842 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
| 20843 | && LARGE_OFF_T % 2147483647 == 1) |
| 20844 | ? 1 : -1]; |
| 20845 | int |
| 20846 | main (void) |
| 20847 | { |
| 20848 | |
| 20849 | ; |
| 20850 | return 0; |
| 20851 | } |
| 20852 | _ACEOF |
| 20853 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 20854 | then : |
| 20855 | break |
| 20856 | fi |
| 20857 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam |
| 20858 | CC="$CC -n32" |
| 20859 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 20860 | then : |
| 20861 | ac_cv_sys_largefile_CC=' -n32'; break |
| 20862 | fi |
| 20863 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam |
| 20864 | break |
| 20865 | done |
| 20866 | CC=$ac_save_CC |
| 20867 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 20868 | fi |
| 20869 | fi |
| 20870 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 |
| 20871 | printfscip-shell system . . printf. "%s\n" "$ac_cv_sys_largefile_CC" >&6; } |
| 20872 | if testscip-shell system . . test. "$ac_cv_sys_largefile_CC" != no; then |
| 20873 | CC=$CC$ac_cv_sys_largefile_CC |
| 20874 | fi |
| 20875 | |
| 20876 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
| 20877 | printfscip-shell system . . printf. %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } |
| 20878 | if testscip-shell system . . test. ${ac_cv_sys_file_offset_bits+y} |
| 20879 | then : |
| 20880 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 20881 | else $as_nop |
| 20882 | while :; do |
| 20883 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20884 | /* end confdefs.h. */ |
| 20885 | #include <sys/types.h> |
| 20886 | /* Check that off_t can represent 2**63 - 1 correctly. |
| 20887 | We can't simply define LARGE_OFF_T to be 9223372036854775807, |
| 20888 | since some C++ compilers masquerading as C compilers |
| 20889 | incorrectly reject 9223372036854775807. */ |
| 20890 | #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) |
| 20891 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
| 20892 | && LARGE_OFF_T % 2147483647 == 1) |
| 20893 | ? 1 : -1]; |
| 20894 | int |
| 20895 | main (void) |
| 20896 | { |
| 20897 | |
| 20898 | ; |
| 20899 | return 0; |
| 20900 | } |
| 20901 | _ACEOF |
| 20902 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 20903 | then : |
| 20904 | ac_cv_sys_file_offset_bits=no; break |
| 20905 | fi |
| 20906 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 20907 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20908 | /* end confdefs.h. */ |
| 20909 | #define _FILE_OFFSET_BITS 64 |
| 20910 | #include <sys/types.h> |
| 20911 | /* Check that off_t can represent 2**63 - 1 correctly. |
| 20912 | We can't simply define LARGE_OFF_T to be 9223372036854775807, |
| 20913 | since some C++ compilers masquerading as C compilers |
| 20914 | incorrectly reject 9223372036854775807. */ |
| 20915 | #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) |
| 20916 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
| 20917 | && LARGE_OFF_T % 2147483647 == 1) |
| 20918 | ? 1 : -1]; |
| 20919 | int |
| 20920 | main (void) |
| 20921 | { |
| 20922 | |
| 20923 | ; |
| 20924 | return 0; |
| 20925 | } |
| 20926 | _ACEOF |
| 20927 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 20928 | then : |
| 20929 | ac_cv_sys_file_offset_bits=64; break |
| 20930 | fi |
| 20931 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 20932 | ac_cv_sys_file_offset_bits=unknown |
| 20933 | break |
| 20934 | done |
| 20935 | fi |
| 20936 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 |
| 20937 | printfscip-shell system . . printf. "%s\n" "$ac_cv_sys_file_offset_bits" >&6; } |
| 20938 | case $ac_cv_sys_file_offset_bits in #( |
| 20939 | no | unknown) ;; |
| 20940 | *) |
| 20941 | printfscip-shell system . . printf. "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h |
| 20942 | ;; |
| 20943 | esac |
| 20944 | rmscip-shell system . . rm. -rf conftest* |
| 20945 | if testscip-shell system . . test. $ac_cv_sys_file_offset_bits = unknown; then |
| 20946 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 |
| 20947 | printfscip-shell system . . printf. %s "checking for _LARGE_FILES value needed for large files... " >&6; } |
| 20948 | if testscip-shell system . . test. ${ac_cv_sys_large_files+y} |
| 20949 | then : |
| 20950 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 20951 | else $as_nop |
| 20952 | while :; do |
| 20953 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20954 | /* end confdefs.h. */ |
| 20955 | #include <sys/types.h> |
| 20956 | /* Check that off_t can represent 2**63 - 1 correctly. |
| 20957 | We can't simply define LARGE_OFF_T to be 9223372036854775807, |
| 20958 | since some C++ compilers masquerading as C compilers |
| 20959 | incorrectly reject 9223372036854775807. */ |
| 20960 | #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) |
| 20961 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
| 20962 | && LARGE_OFF_T % 2147483647 == 1) |
| 20963 | ? 1 : -1]; |
| 20964 | int |
| 20965 | main (void) |
| 20966 | { |
| 20967 | |
| 20968 | ; |
| 20969 | return 0; |
| 20970 | } |
| 20971 | _ACEOF |
| 20972 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 20973 | then : |
| 20974 | ac_cv_sys_large_files=no; break |
| 20975 | fi |
| 20976 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 20977 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20978 | /* end confdefs.h. */ |
| 20979 | #define _LARGE_FILES 1 |
| 20980 | #include <sys/types.h> |
| 20981 | /* Check that off_t can represent 2**63 - 1 correctly. |
| 20982 | We can't simply define LARGE_OFF_T to be 9223372036854775807, |
| 20983 | since some C++ compilers masquerading as C compilers |
| 20984 | incorrectly reject 9223372036854775807. */ |
| 20985 | #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) |
| 20986 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
| 20987 | && LARGE_OFF_T % 2147483647 == 1) |
| 20988 | ? 1 : -1]; |
| 20989 | int |
| 20990 | main (void) |
| 20991 | { |
| 20992 | |
| 20993 | ; |
| 20994 | return 0; |
| 20995 | } |
| 20996 | _ACEOF |
| 20997 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 20998 | then : |
| 20999 | ac_cv_sys_large_files=1; break |
| 21000 | fi |
| 21001 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 21002 | ac_cv_sys_large_files=unknown |
| 21003 | break |
| 21004 | done |
| 21005 | fi |
| 21006 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 |
| 21007 | printfscip-shell system . . printf. "%s\n" "$ac_cv_sys_large_files" >&6; } |
| 21008 | case $ac_cv_sys_large_files in #( |
| 21009 | no | unknown) ;; |
| 21010 | *) |
| 21011 | printfscip-shell system . . printf. "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h |
| 21012 | ;; |
| 21013 | esac |
| 21014 | rmscip-shell system . . rm. -rf conftest* |
| 21015 | fi |
| 21016 | fi |
| 21017 | |
| 21018 | case "${enable_largefile}" in |
| 21019 | no) ;; |
| 21020 | *) enable_largefile="yes" ;; |
| 21021 | esac |
| 21022 | |
| 21023 | # Regular expressions |
| 21024 | # Check whether --enable-regexp was given. |
| 21025 | if testscip-shell system . . test. ${enable_regexp+y} |
| 21026 | then : |
| 21027 | enableval=$enable_regexp; case "${enableval}" in |
| 21028 | yes) enable_regexp="yes" ;; |
| 21029 | no) enable_regexp="no" ;; |
| 21030 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-regexp" "$LINENO" 5 ;; |
| 21031 | esac |
| 21032 | else $as_nop |
| 21033 | enable_regexp=yes |
| 21034 | |
| 21035 | fi |
| 21036 | |
| 21037 | if testscip-shell system . . test. x$enable_regexp = xyes; then |
| 21038 | ENABLE_REGEXP_TRUE= |
| 21039 | ENABLE_REGEXP_FALSE='#' |
| 21040 | else |
| 21041 | ENABLE_REGEXP_TRUE='#' |
| 21042 | ENABLE_REGEXP_FALSE= |
| 21043 | fi |
| 21044 | |
| 21045 | if testscip-shell system . . test. "$enable_regexp" = "yes"; then |
| 21046 | |
| 21047 | printfscip-shell system . . printf. "%s\n" "#define FEATURE_REGEXP 1" >>confdefs.h |
| 21048 | |
| 21049 | fi |
| 21050 | |
| 21051 | # zlib support |
| 21052 | |
| 21053 | pkg_failed=no |
| 21054 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5 |
| 21055 | printfscip-shell system . . printf. %s "checking for zlib... " >&6; } |
| 21056 | |
| 21057 | if testscip-shell system . . test. -n "$ZLIB_CFLAGS"; then |
| 21058 | pkg_cv_ZLIB_CFLAGS="$ZLIB_CFLAGS" |
| 21059 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 21060 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 21061 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5 |
| 21062 | ($PKG_CONFIG --exists --print-errors "zlib") 2>&5 |
| 21063 | ac_status=$? |
| 21064 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21065 | testscip-shell system . . test. $ac_status = 0; }; then |
| 21066 | pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 21067 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 21068 | else |
| 21069 | pkg_failed=yes |
| 21070 | fi |
| 21071 | else |
| 21072 | pkg_failed=untried |
| 21073 | fi |
| 21074 | if testscip-shell system . . test. -n "$ZLIB_LIBS"; then |
| 21075 | pkg_cv_ZLIB_LIBS="$ZLIB_LIBS" |
| 21076 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 21077 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 21078 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5 |
| 21079 | ($PKG_CONFIG --exists --print-errors "zlib") 2>&5 |
| 21080 | ac_status=$? |
| 21081 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21082 | testscip-shell system . . test. $ac_status = 0; }; then |
| 21083 | pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 21084 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 21085 | else |
| 21086 | pkg_failed=yes |
| 21087 | fi |
| 21088 | else |
| 21089 | pkg_failed=untried |
| 21090 | fi |
| 21091 | |
| 21092 | |
| 21093 | |
| 21094 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 21095 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21096 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 21097 | |
| 21098 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 21099 | _pkg_short_errors_supported=yes |
| 21100 | else |
| 21101 | _pkg_short_errors_supported=no |
| 21102 | fi |
| 21103 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 21104 | ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib" 2>&1` |
| 21105 | else |
| 21106 | ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib" 2>&1` |
| 21107 | fi |
| 21108 | # Put the nasty error message in config.log where it belongs |
| 21109 | echoscip-shell system . . echo. "$ZLIB_PKG_ERRORS" >&5 |
| 21110 | |
| 21111 | found_zlib=no |
| 21112 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 21113 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21114 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 21115 | found_zlib=no |
| 21116 | else |
| 21117 | ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS |
| 21118 | ZLIB_LIBS=$pkg_cv_ZLIB_LIBS |
| 21119 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 21120 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 21121 | found_zlib=yes |
| 21122 | fi |
| 21123 | if testscip-shell system . . test. "x$found_zlib" = "xno" |
| 21124 | then : |
| 21125 | |
| 21126 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inflate" >&5 |
| 21127 | printfscip-shell system . . printf. %s "checking for library containing inflate... " >&6; } |
| 21128 | if testscip-shell system . . test. ${ac_cv_search_inflate+y} |
| 21129 | then : |
| 21130 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 21131 | else $as_nop |
| 21132 | ac_func_search_save_LIBS=$LIBS |
| 21133 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21134 | /* end confdefs.h. */ |
| 21135 | |
| 21136 | /* Override any GCC internal prototype to avoid an error. |
| 21137 | Use char because int might match the return type of a GCC |
| 21138 | builtin and then its argument prototype would still apply. */ |
| 21139 | char inflate (); |
| 21140 | int |
| 21141 | main (void) |
| 21142 | { |
| 21143 | return inflate (); |
| 21144 | ; |
| 21145 | return 0; |
| 21146 | } |
| 21147 | _ACEOF |
| 21148 | for ac_lib in '' z |
| 21149 | do |
| 21150 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 21151 | ac_res="none required" |
| 21152 | else |
| 21153 | ac_res=-l$ac_lib |
| 21154 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 21155 | fi |
| 21156 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 21157 | then : |
| 21158 | ac_cv_search_inflate=$ac_res |
| 21159 | fi |
| 21160 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 21161 | conftest$ac_exeext |
| 21162 | if testscip-shell system . . test. ${ac_cv_search_inflate+y} |
| 21163 | then : |
| 21164 | break |
| 21165 | fi |
| 21166 | done |
| 21167 | if testscip-shell system . . test. ${ac_cv_search_inflate+y} |
| 21168 | then : |
| 21169 | |
| 21170 | else $as_nop |
| 21171 | ac_cv_search_inflate=no |
| 21172 | fi |
| 21173 | rmscip-shell system . . rm. conftest.$ac_ext |
| 21174 | LIBS=$ac_func_search_save_LIBS |
| 21175 | fi |
| 21176 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inflate" >&5 |
| 21177 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_inflate" >&6; } |
| 21178 | ac_res=$ac_cv_search_inflate |
| 21179 | if testscip-shell system . . test. "$ac_res" != no |
| 21180 | then : |
| 21181 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 21182 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
| 21183 | if testscip-shell system . . test. "x$ac_cv_header_zlib_h" = xyes |
| 21184 | then : |
| 21185 | found_zlib=yes |
| 21186 | fi |
| 21187 | |
| 21188 | fi |
| 21189 | |
| 21190 | if testscip-shell system . . test. "x$found_zlib" = "xno" ; then |
| 21191 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "zlib library and headers not found" "$LINENO" 5 |
| 21192 | fi |
| 21193 | ZLIB_LIBS="-lz" |
| 21194 | |
| 21195 | |
| 21196 | fi |
| 21197 | |
| 21198 | |
| 21199 | #hash implementations header checks |
| 21200 | # Check whether --enable-fmhash was given. |
| 21201 | if testscip-shell system . . test. ${enable_fmhash+y} |
| 21202 | then : |
| 21203 | enableval=$enable_fmhash; case "${enableval}" in |
| 21204 | yes) enable_fmhash="yes" ;; |
| 21205 | no) enable_fmhash="no" ;; |
| 21206 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-fmhash" "$LINENO" 5 ;; |
| 21207 | esac |
| 21208 | else $as_nop |
| 21209 | enable_fmhash=yes |
| 21210 | |
| 21211 | fi |
| 21212 | |
| 21213 | |
| 21214 | # Check whether --enable-libcap-ng was given. |
| 21215 | if testscip-shell system . . test. ${enable_libcap_ng+y} |
| 21216 | then : |
| 21217 | enableval=$enable_libcap_ng; case "${enableval}" in |
| 21218 | yes) enable_libcapng="yes" ;; |
| 21219 | no) enable_libcapng="no" ;; |
| 21220 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable_libcapng" "$LINENO" 5 ;; |
| 21221 | esac |
| 21222 | else $as_nop |
| 21223 | enable_libcapng=no |
| 21224 | |
| 21225 | fi |
| 21226 | |
| 21227 | |
| 21228 | if testscip-shell system . . test. "$enable_libcapng" = "yes"; then |
| 21229 | |
| 21230 | pkg_failed=no |
| 21231 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcap-ng" >&5 |
| 21232 | printfscip-shell system . . printf. %s "checking for libcap-ng... " >&6; } |
| 21233 | |
| 21234 | if testscip-shell system . . test. -n "$LIBCAPNG_PRESENT_CFLAGS"; then |
| 21235 | pkg_cv_LIBCAPNG_PRESENT_CFLAGS="$LIBCAPNG_PRESENT_CFLAGS" |
| 21236 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 21237 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 21238 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcap-ng\""; } >&5 |
| 21239 | ($PKG_CONFIG --exists --print-errors "libcap-ng") 2>&5 |
| 21240 | ac_status=$? |
| 21241 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21242 | testscip-shell system . . test. $ac_status = 0; }; then |
| 21243 | pkg_cv_LIBCAPNG_PRESENT_CFLAGS=`$PKG_CONFIG --cflags "libcap-ng" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 21244 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 21245 | else |
| 21246 | pkg_failed=yes |
| 21247 | fi |
| 21248 | else |
| 21249 | pkg_failed=untried |
| 21250 | fi |
| 21251 | if testscip-shell system . . test. -n "$LIBCAPNG_PRESENT_LIBS"; then |
| 21252 | pkg_cv_LIBCAPNG_PRESENT_LIBS="$LIBCAPNG_PRESENT_LIBS" |
| 21253 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 21254 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 21255 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcap-ng\""; } >&5 |
| 21256 | ($PKG_CONFIG --exists --print-errors "libcap-ng") 2>&5 |
| 21257 | ac_status=$? |
| 21258 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21259 | testscip-shell system . . test. $ac_status = 0; }; then |
| 21260 | pkg_cv_LIBCAPNG_PRESENT_LIBS=`$PKG_CONFIG --libs "libcap-ng" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 21261 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 21262 | else |
| 21263 | pkg_failed=yes |
| 21264 | fi |
| 21265 | else |
| 21266 | pkg_failed=untried |
| 21267 | fi |
| 21268 | |
| 21269 | |
| 21270 | |
| 21271 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 21272 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21273 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 21274 | |
| 21275 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 21276 | _pkg_short_errors_supported=yes |
| 21277 | else |
| 21278 | _pkg_short_errors_supported=no |
| 21279 | fi |
| 21280 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 21281 | LIBCAPNG_PRESENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcap-ng" 2>&1` |
| 21282 | else |
| 21283 | LIBCAPNG_PRESENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcap-ng" 2>&1` |
| 21284 | fi |
| 21285 | # Put the nasty error message in config.log where it belongs |
| 21286 | echoscip-shell system . . echo. "$LIBCAPNG_PRESENT_PKG_ERRORS" >&5 |
| 21287 | |
| 21288 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libcap-ng is not present." "$LINENO" 5 |
| 21289 | |
| 21290 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 21291 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21292 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 21293 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libcap-ng is not present." "$LINENO" 5 |
| 21294 | |
| 21295 | else |
| 21296 | LIBCAPNG_PRESENT_CFLAGS=$pkg_cv_LIBCAPNG_PRESENT_CFLAGS |
| 21297 | LIBCAPNG_PRESENT_LIBS=$pkg_cv_LIBCAPNG_PRESENT_LIBS |
| 21298 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 21299 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 21300 | |
| 21301 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_LIBCAPNG_PRESENT 1" >>confdefs.h |
| 21302 | |
| 21303 | fi |
| 21304 | |
| 21305 | pkg_failed=no |
| 21306 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcap-ng >= 0.8.2" >&5 |
| 21307 | printfscip-shell system . . printf. %s "checking for libcap-ng >= 0.8.2... " >&6; } |
| 21308 | |
| 21309 | if testscip-shell system . . test. -n "$LIBCAPNG_CFLAGS"; then |
| 21310 | pkg_cv_LIBCAPNG_CFLAGS="$LIBCAPNG_CFLAGS" |
| 21311 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 21312 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 21313 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcap-ng >= 0.8.2\""; } >&5 |
| 21314 | ($PKG_CONFIG --exists --print-errors "libcap-ng >= 0.8.2") 2>&5 |
| 21315 | ac_status=$? |
| 21316 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21317 | testscip-shell system . . test. $ac_status = 0; }; then |
| 21318 | pkg_cv_LIBCAPNG_CFLAGS=`$PKG_CONFIG --cflags "libcap-ng >= 0.8.2" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 21319 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 21320 | else |
| 21321 | pkg_failed=yes |
| 21322 | fi |
| 21323 | else |
| 21324 | pkg_failed=untried |
| 21325 | fi |
| 21326 | if testscip-shell system . . test. -n "$LIBCAPNG_LIBS"; then |
| 21327 | pkg_cv_LIBCAPNG_LIBS="$LIBCAPNG_LIBS" |
| 21328 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 21329 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 21330 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcap-ng >= 0.8.2\""; } >&5 |
| 21331 | ($PKG_CONFIG --exists --print-errors "libcap-ng >= 0.8.2") 2>&5 |
| 21332 | ac_status=$? |
| 21333 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21334 | testscip-shell system . . test. $ac_status = 0; }; then |
| 21335 | pkg_cv_LIBCAPNG_LIBS=`$PKG_CONFIG --libs "libcap-ng >= 0.8.2" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 21336 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 21337 | else |
| 21338 | pkg_failed=yes |
| 21339 | fi |
| 21340 | else |
| 21341 | pkg_failed=untried |
| 21342 | fi |
| 21343 | |
| 21344 | |
| 21345 | |
| 21346 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 21347 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21348 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 21349 | |
| 21350 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 21351 | _pkg_short_errors_supported=yes |
| 21352 | else |
| 21353 | _pkg_short_errors_supported=no |
| 21354 | fi |
| 21355 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 21356 | LIBCAPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcap-ng >= 0.8.2" 2>&1` |
| 21357 | else |
| 21358 | LIBCAPNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcap-ng >= 0.8.2" 2>&1` |
| 21359 | fi |
| 21360 | # Put the nasty error message in config.log where it belongs |
| 21361 | echoscip-shell system . . echo. "$LIBCAPNG_PKG_ERRORS" >&5 |
| 21362 | |
| 21363 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libcap-ng is present, but outdated - need 0.8.2 or above." "$LINENO" 5 |
| 21364 | |
| 21365 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 21366 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21367 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 21368 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libcap-ng is present, but outdated - need 0.8.2 or above." "$LINENO" 5 |
| 21369 | |
| 21370 | else |
| 21371 | LIBCAPNG_CFLAGS=$pkg_cv_LIBCAPNG_CFLAGS |
| 21372 | LIBCAPNG_LIBS=$pkg_cv_LIBCAPNG_LIBS |
| 21373 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 21374 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 21375 | |
| 21376 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_LIBCAPNG 1" >>confdefs.h |
| 21377 | |
| 21378 | fi |
| 21379 | CFLAGS="$CFLAGS $LIBCAPNG_CFLAGS" |
| 21380 | LIBS="$LIBS $LIBCAPNG_LIBS" |
| 21381 | fi |
| 21382 | |
| 21383 | |
| 21384 | # Check whether --enable-fmhash-xxhash was given. |
| 21385 | if testscip-shell system . . test. ${enable_fmhash_xxhash+y} |
| 21386 | then : |
| 21387 | enableval=$enable_fmhash_xxhash; case "${enableval}" in |
| 21388 | yes) enable_fmhash_xxhash="yes" ;; |
| 21389 | no) enable_fmhash_xxhash="no" ;; |
| 21390 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-fmhash-xxhash" "$LINENO" 5 ;; |
| 21391 | esac |
| 21392 | else $as_nop |
| 21393 | enable_fmhash_xxhash=no |
| 21394 | |
| 21395 | fi |
| 21396 | |
| 21397 | |
| 21398 | if testscip-shell system . . test. "x$enable_fmhash" = "xyes" || testscip-shell system . . test. "x$enable_fmhash_xxhash" = "xyes"; then |
| 21399 | ENABLE_FMHASH_TRUE= |
| 21400 | ENABLE_FMHASH_FALSE='#' |
| 21401 | else |
| 21402 | ENABLE_FMHASH_TRUE='#' |
| 21403 | ENABLE_FMHASH_FALSE= |
| 21404 | fi |
| 21405 | |
| 21406 | |
| 21407 | if testscip-shell system . . test. x$enable_fmhash_xxhash = xyes; then |
| 21408 | ENABLE_FMHASH_XXHASH_TRUE= |
| 21409 | ENABLE_FMHASH_XXHASH_FALSE='#' |
| 21410 | else |
| 21411 | ENABLE_FMHASH_XXHASH_TRUE='#' |
| 21412 | ENABLE_FMHASH_XXHASH_FALSE= |
| 21413 | fi |
| 21414 | |
| 21415 | if testscip-shell system . . test. "$enable_fmhash_xxhash" = "yes"; then |
| 21416 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XXH64 in -lxxhash" >&5 |
| 21417 | printfscip-shell system . . printf. %s "checking for XXH64 in -lxxhash... " >&6; } |
| 21418 | if testscip-shell system . . test. ${ac_cv_lib_xxhash_XXH64+y} |
| 21419 | then : |
| 21420 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 21421 | else $as_nop |
| 21422 | ac_check_lib_save_LIBS=$LIBS |
| 21423 | LIBS="-lxxhash $LIBS" |
| 21424 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21425 | /* end confdefs.h. */ |
| 21426 | |
| 21427 | /* Override any GCC internal prototype to avoid an error. |
| 21428 | Use char because int might match the return type of a GCC |
| 21429 | builtin and then its argument prototype would still apply. */ |
| 21430 | char XXH64 (); |
| 21431 | int |
| 21432 | main (void) |
| 21433 | { |
| 21434 | return XXH64 (); |
| 21435 | ; |
| 21436 | return 0; |
| 21437 | } |
| 21438 | _ACEOF |
| 21439 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 21440 | then : |
| 21441 | ac_cv_lib_xxhash_XXH64=yes |
| 21442 | else $as_nop |
| 21443 | ac_cv_lib_xxhash_XXH64=no |
| 21444 | fi |
| 21445 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 21446 | conftest$ac_exeext conftest.$ac_ext |
| 21447 | LIBS=$ac_check_lib_save_LIBS |
| 21448 | fi |
| 21449 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xxhash_XXH64" >&5 |
| 21450 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_xxhash_XXH64" >&6; } |
| 21451 | if testscip-shell system . . test. "x$ac_cv_lib_xxhash_XXH64" = xyes |
| 21452 | then : |
| 21453 | |
| 21454 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "xxhash.h" "ac_cv_header_xxhash_h" "$ac_includes_default" |
| 21455 | if testscip-shell system . . test. "x$ac_cv_header_xxhash_h" = xyes |
| 21456 | then : |
| 21457 | |
| 21458 | |
| 21459 | printfscip-shell system . . printf. "%s\n" "#define USE_HASH_XXHASH 1" >>confdefs.h |
| 21460 | |
| 21461 | HASH_XXHASH_LIBS="-lxxhash" |
| 21462 | |
| 21463 | else $as_nop |
| 21464 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Unable to add XXHASH support for hash64." "$LINENO" 5 |
| 21465 | fi |
| 21466 | |
| 21467 | |
| 21468 | else $as_nop |
| 21469 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libxxhash not found, but xxhash support was requested" "$LINENO" 5 |
| 21470 | fi |
| 21471 | |
| 21472 | fi |
| 21473 | |
| 21474 | |
| 21475 | #faup header checks |
| 21476 | # Check whether --enable-ffaup was given. |
| 21477 | if testscip-shell system . . test. ${enable_ffaup+y} |
| 21478 | then : |
| 21479 | enableval=$enable_ffaup; case "${enableval}" in |
| 21480 | yes) enable_ffaup="yes" ;; |
| 21481 | no) enable_ffaup="no" ;; |
| 21482 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-ffaup" "$LINENO" 5 ;; |
| 21483 | esac |
| 21484 | else $as_nop |
| 21485 | enable_ffaup=no |
| 21486 | |
| 21487 | fi |
| 21488 | |
| 21489 | |
| 21490 | if testscip-shell system . . test. x$enable_ffaup = xyes; then |
| 21491 | ENABLE_FFAUP_TRUE= |
| 21492 | ENABLE_FFAUP_FALSE='#' |
| 21493 | else |
| 21494 | ENABLE_FFAUP_TRUE='#' |
| 21495 | ENABLE_FFAUP_FALSE= |
| 21496 | fi |
| 21497 | |
| 21498 | if testscip-shell system . . test. "$enable_ffaup" = "yes"; then |
| 21499 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for faup_init in -lfaupl" >&5 |
| 21500 | printfscip-shell system . . printf. %s "checking for faup_init in -lfaupl... " >&6; } |
| 21501 | if testscip-shell system . . test. ${ac_cv_lib_faupl_faup_init+y} |
| 21502 | then : |
| 21503 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 21504 | else $as_nop |
| 21505 | ac_check_lib_save_LIBS=$LIBS |
| 21506 | LIBS="-lfaupl $LIBS" |
| 21507 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21508 | /* end confdefs.h. */ |
| 21509 | |
| 21510 | /* Override any GCC internal prototype to avoid an error. |
| 21511 | Use char because int might match the return type of a GCC |
| 21512 | builtin and then its argument prototype would still apply. */ |
| 21513 | char faup_init (); |
| 21514 | int |
| 21515 | main (void) |
| 21516 | { |
| 21517 | return faup_init (); |
| 21518 | ; |
| 21519 | return 0; |
| 21520 | } |
| 21521 | _ACEOF |
| 21522 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 21523 | then : |
| 21524 | ac_cv_lib_faupl_faup_init=yes |
| 21525 | else $as_nop |
| 21526 | ac_cv_lib_faupl_faup_init=no |
| 21527 | fi |
| 21528 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 21529 | conftest$ac_exeext conftest.$ac_ext |
| 21530 | LIBS=$ac_check_lib_save_LIBS |
| 21531 | fi |
| 21532 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_faupl_faup_init" >&5 |
| 21533 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_faupl_faup_init" >&6; } |
| 21534 | if testscip-shell system . . test. "x$ac_cv_lib_faupl_faup_init" = xyes |
| 21535 | then : |
| 21536 | |
| 21537 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "faup/faup.h" "ac_cv_header_faup_faup_h" "$ac_includes_default" |
| 21538 | if testscip-shell system . . test. "x$ac_cv_header_faup_faup_h" = xyes |
| 21539 | then : |
| 21540 | |
| 21541 | FAUP_LIBS="-lfaupl" |
| 21542 | |
| 21543 | else $as_nop |
| 21544 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Unable to add faup support for URL parsing." "$LINENO" 5 |
| 21545 | fi |
| 21546 | |
| 21547 | |
| 21548 | fi |
| 21549 | |
| 21550 | fi |
| 21551 | |
| 21552 | |
| 21553 | # rscript function unflatten |
| 21554 | # Check whether --enable-fmunflatten was given. |
| 21555 | if testscip-shell system . . test. ${enable_fmunflatten+y} |
| 21556 | then : |
| 21557 | enableval=$enable_fmunflatten; case "${enableval}" in |
| 21558 | yes) enable_fmunflatten="yes" ;; |
| 21559 | no) enable_fmunflatten="no" ;; |
| 21560 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-fmunflatten" "$LINENO" 5 ;; |
| 21561 | esac |
| 21562 | else $as_nop |
| 21563 | enable_fmunflatten=no |
| 21564 | |
| 21565 | fi |
| 21566 | |
| 21567 | if testscip-shell system . . test. x$enable_fmunflatten = xyes; then |
| 21568 | ENABLE_FMUNFLATTEN_TRUE= |
| 21569 | ENABLE_FMUNFLATTEN_FALSE='#' |
| 21570 | else |
| 21571 | ENABLE_FMUNFLATTEN_TRUE='#' |
| 21572 | ENABLE_FMUNFLATTEN_FALSE= |
| 21573 | fi |
| 21574 | |
| 21575 | |
| 21576 | # PCRE function module |
| 21577 | # Check whether --enable-fmpcre was given. |
| 21578 | if testscip-shell system . . test. ${enable_fmpcre+y} |
| 21579 | then : |
| 21580 | enableval=$enable_fmpcre; case "${enableval}" in |
| 21581 | yes) enable_fmpcre="yes" ;; |
| 21582 | no) enable_fmpcre="no" ;; |
| 21583 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-fmpcre" "$LINENO" 5 ;; |
| 21584 | esac |
| 21585 | else $as_nop |
| 21586 | enable_fmpcre=no |
| 21587 | |
| 21588 | fi |
| 21589 | |
| 21590 | if testscip-shell system . . test. "x$enable_fmpcre" = "xyes"; then |
| 21591 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcre_exec in -lpcre" >&5 |
| 21592 | printfscip-shell system . . printf. %s "checking for pcre_exec in -lpcre... " >&6; } |
| 21593 | if testscip-shell system . . test. ${ac_cv_lib_pcre_pcre_exec+y} |
| 21594 | then : |
| 21595 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 21596 | else $as_nop |
| 21597 | ac_check_lib_save_LIBS=$LIBS |
| 21598 | LIBS="-lpcre $LIBS" |
| 21599 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21600 | /* end confdefs.h. */ |
| 21601 | |
| 21602 | /* Override any GCC internal prototype to avoid an error. |
| 21603 | Use char because int might match the return type of a GCC |
| 21604 | builtin and then its argument prototype would still apply. */ |
| 21605 | char pcre_exec (); |
| 21606 | int |
| 21607 | main (void) |
| 21608 | { |
| 21609 | return pcre_exec (); |
| 21610 | ; |
| 21611 | return 0; |
| 21612 | } |
| 21613 | _ACEOF |
| 21614 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 21615 | then : |
| 21616 | ac_cv_lib_pcre_pcre_exec=yes |
| 21617 | else $as_nop |
| 21618 | ac_cv_lib_pcre_pcre_exec=no |
| 21619 | fi |
| 21620 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 21621 | conftest$ac_exeext conftest.$ac_ext |
| 21622 | LIBS=$ac_check_lib_save_LIBS |
| 21623 | fi |
| 21624 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_exec" >&5 |
| 21625 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_pcre_pcre_exec" >&6; } |
| 21626 | if testscip-shell system . . test. "x$ac_cv_lib_pcre_pcre_exec" = xyes |
| 21627 | then : |
| 21628 | |
| 21629 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
| 21630 | if testscip-shell system . . test. "x$ac_cv_header_pcre_h" = xyes |
| 21631 | then : |
| 21632 | |
| 21633 | PCRE_LIBS="-lpcre" |
| 21634 | PCRE_CFLAGS="" |
| 21635 | |
| 21636 | |
| 21637 | |
| 21638 | else $as_nop |
| 21639 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "pcre headers not found" "$LINENO" 5 |
| 21640 | fi |
| 21641 | |
| 21642 | |
| 21643 | else $as_nop |
| 21644 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libpcre not found" "$LINENO" 5 |
| 21645 | fi |
| 21646 | |
| 21647 | fi |
| 21648 | if testscip-shell system . . test. x$enable_fmpcre = xyes; then |
| 21649 | ENABLE_FMPCRE_TRUE= |
| 21650 | ENABLE_FMPCRE_FALSE='#' |
| 21651 | else |
| 21652 | ENABLE_FMPCRE_TRUE='#' |
| 21653 | ENABLE_FMPCRE_FALSE= |
| 21654 | fi |
| 21655 | |
| 21656 | |
| 21657 | |
| 21658 | #gssapi |
| 21659 | # Check whether --enable-gssapi_krb5 was given. |
| 21660 | if testscip-shell system . . test. ${enable_gssapi_krb5+y} |
| 21661 | then : |
| 21662 | enableval=$enable_gssapi_krb5; case "${enableval}" in |
| 21663 | yes) enable_gssapi_krb5="yes" ;; |
| 21664 | no) enable_gssapi_krb5="no" ;; |
| 21665 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-gssapi-krb5" "$LINENO" 5 ;; |
| 21666 | esac |
| 21667 | else $as_nop |
| 21668 | enable_gssapi_krb5=no |
| 21669 | |
| 21670 | fi |
| 21671 | |
| 21672 | |
| 21673 | case "${os_type}" in |
| 21674 | solaris) GSSLIB=gss ;; |
| 21675 | *) GSSLIB=gssapi_krb5 ;; |
| 21676 | esac |
| 21677 | |
| 21678 | gssapi_found=no |
| 21679 | GSS_CFLAGS="" |
| 21680 | GSS_LIBS="" |
| 21681 | if testscip-shell system . . test. $enable_gssapi_krb5 = yes; then |
| 21682 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default" |
| 21683 | if testscip-shell system . . test. "x$ac_cv_header_gssapi_gssapi_h" = xyes |
| 21684 | then : |
| 21685 | |
| 21686 | if testscip-shell system . . test. "x$PKG_CONFIG" != "xno" && $PKG_CONFIG --exists krb5-gssapi; then |
| 21687 | GSS_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi` |
| 21688 | GSS_LIBS=`$PKG_CONFIG --libs krb5-gssapi` |
| 21689 | gssapi_found=yes |
| 21690 | else |
| 21691 | save_LIBS="$LIBS" |
| 21692 | LIBS="-l$GSSLIB $LIBS" |
| 21693 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21694 | /* end confdefs.h. */ |
| 21695 | #include <gssapi/gssapi.h> |
| 21696 | int |
| 21697 | main (void) |
| 21698 | { |
| 21699 | OM_uint32 maj = 0, min = 0; gss_cred_id_t cred = GSS_C_NO_CREDENTIAL; |
| 21700 | return gss_acquire_cred(&min, GSS_C_NO_NAME, 0, GSS_C_NULL_OID_SET, |
| 21701 | GSS_C_ACCEPT, &cred, 0, 0) == maj; |
| 21702 | |
| 21703 | ; |
| 21704 | return 0; |
| 21705 | } |
| 21706 | _ACEOF |
| 21707 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 21708 | then : |
| 21709 | |
| 21710 | GSS_LIBS="-l$GSSLIB" |
| 21711 | gssapi_found=yes |
| 21712 | |
| 21713 | |
| 21714 | fi |
| 21715 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 21716 | conftest$ac_exeext conftest.$ac_ext |
| 21717 | LIBS="$save_LIBS" |
| 21718 | fi |
| 21719 | |
| 21720 | fi |
| 21721 | |
| 21722 | if testscip-shell system . . test. "x$gssapi_found" = "xyes"; then |
| 21723 | |
| 21724 | printfscip-shell system . . printf. "%s\n" "#define USE_GSSAPI /**/" >>confdefs.h |
| 21725 | |
| 21726 | else |
| 21727 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "--enable-gssapi-krb5 requested, but usable GSSAPI headers/libraries were not found" "$LINENO" 5 |
| 21728 | fi |
| 21729 | fi |
| 21730 | |
| 21731 | |
| 21732 | if testscip-shell system . . test. x$gssapi_found = xyes; then |
| 21733 | ENABLE_GSSAPI_TRUE= |
| 21734 | ENABLE_GSSAPI_FALSE='#' |
| 21735 | else |
| 21736 | ENABLE_GSSAPI_TRUE='#' |
| 21737 | ENABLE_GSSAPI_FALSE= |
| 21738 | fi |
| 21739 | |
| 21740 | |
| 21741 | |
| 21742 | # shall the testbench try to run test that require root permissions? |
| 21743 | # This is uncommon. Test skip if run under non-root, but that pollutes the |
| 21744 | # testbench result. So the default is not to do that. |
| 21745 | # Check whether --enable-root_tests was given. |
| 21746 | if testscip-shell system . . test. ${enable_root_tests+y} |
| 21747 | then : |
| 21748 | enableval=$enable_root_tests; case "${enableval}" in |
| 21749 | yes) enable_root_tests="yes" ;; |
| 21750 | no) enable_root_tests="no" ;; |
| 21751 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-root-tests" "$LINENO" 5 ;; |
| 21752 | esac |
| 21753 | else $as_nop |
| 21754 | enable_root_tests=no |
| 21755 | |
| 21756 | fi |
| 21757 | |
| 21758 | if testscip-shell system . . test. x$enable_root_tests = xyes; then |
| 21759 | ENABLE_ROOT_TESTS_TRUE= |
| 21760 | ENABLE_ROOT_TESTS_FALSE='#' |
| 21761 | else |
| 21762 | ENABLE_ROOT_TESTS_TRUE='#' |
| 21763 | ENABLE_ROOT_TESTS_FALSE= |
| 21764 | fi |
| 21765 | |
| 21766 | |
| 21767 | # shall the testbench try to run test that are known flaky? |
| 21768 | # The core idea is to still include these tests, but do not run them on the |
| 21769 | # majority of platforms as long as the known flakes could not be fixed. |
| 21770 | # Note that some tests are inherently flaky, due to hard-to-get-right |
| 21771 | # timing conditions inside the test environment. |
| 21772 | # Nevertheless, as few as possible tests should be flagged as flaky. |
| 21773 | # Check whether --enable-flaky_tests was given. |
| 21774 | if testscip-shell system . . test. ${enable_flaky_tests+y} |
| 21775 | then : |
| 21776 | enableval=$enable_flaky_tests; case "${enableval}" in |
| 21777 | yes) enable_flaky_tests="yes" ;; |
| 21778 | no) enable_flaky_tests="no" ;; |
| 21779 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-flaky-tests" "$LINENO" 5 ;; |
| 21780 | esac |
| 21781 | else $as_nop |
| 21782 | enable_flaky_tests=no |
| 21783 | |
| 21784 | fi |
| 21785 | |
| 21786 | if testscip-shell system . . test. x$enable_flaky_tests = xyes; then |
| 21787 | ENABLE_FLAKY_TESTS_TRUE= |
| 21788 | ENABLE_FLAKY_TESTS_FALSE='#' |
| 21789 | else |
| 21790 | ENABLE_FLAKY_TESTS_TRUE='#' |
| 21791 | ENABLE_FLAKY_TESTS_FALSE= |
| 21792 | fi |
| 21793 | |
| 21794 | |
| 21795 | # multithreading via pthreads |
| 21796 | if testscip-shell system . . test. "$os_type" != "solaris" |
| 21797 | then |
| 21798 | for ac_header in pthread.h |
| 21799 | do : |
| 21800 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" |
| 21801 | if testscip-shell system . . test. "x$ac_cv_header_pthread_h" = xyes |
| 21802 | then : |
| 21803 | printfscip-shell system . . printf. "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h |
| 21804 | |
| 21805 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 |
| 21806 | printfscip-shell system . . printf. %s "checking for pthread_create in -lpthread... " >&6; } |
| 21807 | if testscip-shell system . . test. ${ac_cv_lib_pthread_pthread_create+y} |
| 21808 | then : |
| 21809 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 21810 | else $as_nop |
| 21811 | ac_check_lib_save_LIBS=$LIBS |
| 21812 | LIBS="-lpthread -lpthread |
| 21813 | $LIBS" |
| 21814 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21815 | /* end confdefs.h. */ |
| 21816 | |
| 21817 | /* Override any GCC internal prototype to avoid an error. |
| 21818 | Use char because int might match the return type of a GCC |
| 21819 | builtin and then its argument prototype would still apply. */ |
| 21820 | char pthread_create (); |
| 21821 | int |
| 21822 | main (void) |
| 21823 | { |
| 21824 | return pthread_create (); |
| 21825 | ; |
| 21826 | return 0; |
| 21827 | } |
| 21828 | _ACEOF |
| 21829 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 21830 | then : |
| 21831 | ac_cv_lib_pthread_pthread_create=yes |
| 21832 | else $as_nop |
| 21833 | ac_cv_lib_pthread_pthread_create=no |
| 21834 | fi |
| 21835 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 21836 | conftest$ac_exeext conftest.$ac_ext |
| 21837 | LIBS=$ac_check_lib_save_LIBS |
| 21838 | fi |
| 21839 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 |
| 21840 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; } |
| 21841 | if testscip-shell system . . test. "x$ac_cv_lib_pthread_pthread_create" = xyes |
| 21842 | then : |
| 21843 | |
| 21844 | PTHREADS_LIBS="-lpthread" |
| 21845 | if testscip-shell system . . test. "$unamestr" = "AIX"; then |
| 21846 | case "${CC}" in |
| 21847 | *xlc*|*xlC*) PTHREADS_CFLAGS="-qthreaded" ;; |
| 21848 | *) PTHREADS_CFLAGS="-lpthreads" ;; |
| 21849 | esac |
| 21850 | else |
| 21851 | PTHREADS_CFLAGS="-pthread" |
| 21852 | fi |
| 21853 | |
| 21854 | |
| 21855 | |
| 21856 | else $as_nop |
| 21857 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 21858 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 21859 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "pthread is missing |
| 21860 | See \`config.log' for more details" "$LINENO" 5; } |
| 21861 | fi |
| 21862 | |
| 21863 | |
| 21864 | else $as_nop |
| 21865 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 21866 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 21867 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "pthread is missing |
| 21868 | See \`config.log' for more details" "$LINENO" 5; } |
| 21869 | |
| 21870 | fi |
| 21871 | |
| 21872 | done |
| 21873 | fi |
| 21874 | |
| 21875 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlockattr_setkind_np in -lpthread" >&5 |
| 21876 | printfscip-shell system . . printf. %s "checking for pthread_rwlockattr_setkind_np in -lpthread... " >&6; } |
| 21877 | if testscip-shell system . . test. ${ac_cv_lib_pthread_pthread_rwlockattr_setkind_np+y} |
| 21878 | then : |
| 21879 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 21880 | else $as_nop |
| 21881 | ac_check_lib_save_LIBS=$LIBS |
| 21882 | LIBS="-lpthread $LIBS" |
| 21883 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21884 | /* end confdefs.h. */ |
| 21885 | |
| 21886 | /* Override any GCC internal prototype to avoid an error. |
| 21887 | Use char because int might match the return type of a GCC |
| 21888 | builtin and then its argument prototype would still apply. */ |
| 21889 | char pthread_rwlockattr_setkind_np (); |
| 21890 | int |
| 21891 | main (void) |
| 21892 | { |
| 21893 | return pthread_rwlockattr_setkind_np (); |
| 21894 | ; |
| 21895 | return 0; |
| 21896 | } |
| 21897 | _ACEOF |
| 21898 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 21899 | then : |
| 21900 | ac_cv_lib_pthread_pthread_rwlockattr_setkind_np=yes |
| 21901 | else $as_nop |
| 21902 | ac_cv_lib_pthread_pthread_rwlockattr_setkind_np=no |
| 21903 | fi |
| 21904 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 21905 | conftest$ac_exeext conftest.$ac_ext |
| 21906 | LIBS=$ac_check_lib_save_LIBS |
| 21907 | fi |
| 21908 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlockattr_setkind_np" >&5 |
| 21909 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_pthread_pthread_rwlockattr_setkind_np" >&6; } |
| 21910 | if testscip-shell system . . test. "x$ac_cv_lib_pthread_pthread_rwlockattr_setkind_np" = xyes |
| 21911 | then : |
| 21912 | |
| 21913 | printfscip-shell system . . printf. "%s\n" "#define HAVE_PTHREAD_RWLOCKATTR_SETKIND_NP 1" >>confdefs.h |
| 21914 | |
| 21915 | fi |
| 21916 | |
| 21917 | |
| 21918 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np in -lpthread" >&5 |
| 21919 | printfscip-shell system . . printf. %s "checking for pthread_setname_np in -lpthread... " >&6; } |
| 21920 | if testscip-shell system . . test. ${ac_cv_lib_pthread_pthread_setname_np+y} |
| 21921 | then : |
| 21922 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 21923 | else $as_nop |
| 21924 | ac_check_lib_save_LIBS=$LIBS |
| 21925 | LIBS="-lpthread $LIBS" |
| 21926 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21927 | /* end confdefs.h. */ |
| 21928 | |
| 21929 | /* Override any GCC internal prototype to avoid an error. |
| 21930 | Use char because int might match the return type of a GCC |
| 21931 | builtin and then its argument prototype would still apply. */ |
| 21932 | char pthread_setname_np (); |
| 21933 | int |
| 21934 | main (void) |
| 21935 | { |
| 21936 | return pthread_setname_np (); |
| 21937 | ; |
| 21938 | return 0; |
| 21939 | } |
| 21940 | _ACEOF |
| 21941 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 21942 | then : |
| 21943 | ac_cv_lib_pthread_pthread_setname_np=yes |
| 21944 | else $as_nop |
| 21945 | ac_cv_lib_pthread_pthread_setname_np=no |
| 21946 | fi |
| 21947 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 21948 | conftest$ac_exeext conftest.$ac_ext |
| 21949 | LIBS=$ac_check_lib_save_LIBS |
| 21950 | fi |
| 21951 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setname_np" >&5 |
| 21952 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_pthread_pthread_setname_np" >&6; } |
| 21953 | if testscip-shell system . . test. "x$ac_cv_lib_pthread_pthread_setname_np" = xyes |
| 21954 | then : |
| 21955 | |
| 21956 | printfscip-shell system . . printf. "%s\n" "#define HAVE_PTHREAD_SETNAME_NP 1" >>confdefs.h |
| 21957 | |
| 21958 | fi |
| 21959 | |
| 21960 | |
| 21961 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_setschedparam" >&5 |
| 21962 | printfscip-shell system . . printf. %s "checking for library containing pthread_setschedparam... " >&6; } |
| 21963 | if testscip-shell system . . test. ${ac_cv_search_pthread_setschedparam+y} |
| 21964 | then : |
| 21965 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 21966 | else $as_nop |
| 21967 | ac_func_search_save_LIBS=$LIBS |
| 21968 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 21969 | /* end confdefs.h. */ |
| 21970 | |
| 21971 | /* Override any GCC internal prototype to avoid an error. |
| 21972 | Use char because int might match the return type of a GCC |
| 21973 | builtin and then its argument prototype would still apply. */ |
| 21974 | char pthread_setschedparam (); |
| 21975 | int |
| 21976 | main (void) |
| 21977 | { |
| 21978 | return pthread_setschedparam (); |
| 21979 | ; |
| 21980 | return 0; |
| 21981 | } |
| 21982 | _ACEOF |
| 21983 | for ac_lib in '' pthread |
| 21984 | do |
| 21985 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 21986 | ac_res="none required" |
| 21987 | else |
| 21988 | ac_res=-l$ac_lib |
| 21989 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 21990 | fi |
| 21991 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 21992 | then : |
| 21993 | ac_cv_search_pthread_setschedparam=$ac_res |
| 21994 | fi |
| 21995 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 21996 | conftest$ac_exeext |
| 21997 | if testscip-shell system . . test. ${ac_cv_search_pthread_setschedparam+y} |
| 21998 | then : |
| 21999 | break |
| 22000 | fi |
| 22001 | done |
| 22002 | if testscip-shell system . . test. ${ac_cv_search_pthread_setschedparam+y} |
| 22003 | then : |
| 22004 | |
| 22005 | else $as_nop |
| 22006 | ac_cv_search_pthread_setschedparam=no |
| 22007 | fi |
| 22008 | rmscip-shell system . . rm. conftest.$ac_ext |
| 22009 | LIBS=$ac_func_search_save_LIBS |
| 22010 | fi |
| 22011 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_setschedparam" >&5 |
| 22012 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_pthread_setschedparam" >&6; } |
| 22013 | ac_res=$ac_cv_search_pthread_setschedparam |
| 22014 | if testscip-shell system . . test. "$ac_res" != no |
| 22015 | then : |
| 22016 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 22017 | |
| 22018 | rsyslog_have_pthread_setschedparam=yes |
| 22019 | |
| 22020 | printfscip-shell system . . printf. "%s\n" "#define HAVE_PTHREAD_SETSCHEDPARAM 1" >>confdefs.h |
| 22021 | |
| 22022 | |
| 22023 | else $as_nop |
| 22024 | |
| 22025 | rsyslog_have_pthread_setschedparam=no |
| 22026 | |
| 22027 | |
| 22028 | fi |
| 22029 | |
| 22030 | for ac_header in sched.h |
| 22031 | do : |
| 22032 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default" |
| 22033 | if testscip-shell system . . test. "x$ac_cv_header_sched_h" = xyes |
| 22034 | then : |
| 22035 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h |
| 22036 | |
| 22037 | rsyslog_have_sched_h=yes |
| 22038 | |
| 22039 | else $as_nop |
| 22040 | |
| 22041 | rsyslog_have_sched_h=no |
| 22042 | |
| 22043 | |
| 22044 | fi |
| 22045 | |
| 22046 | done |
| 22047 | if testscip-shell system . . test. "$rsyslog_have_pthread_setschedparam" = "yes" -a "$rsyslog_have_sched_h" = "yes"; then |
| 22048 | save_LIBS=$LIBS |
| 22049 | LIBS= |
| 22050 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sched_get_priority_max" >&5 |
| 22051 | printfscip-shell system . . printf. %s "checking for library containing sched_get_priority_max... " >&6; } |
| 22052 | if testscip-shell system . . test. ${ac_cv_search_sched_get_priority_max+y} |
| 22053 | then : |
| 22054 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 22055 | else $as_nop |
| 22056 | ac_func_search_save_LIBS=$LIBS |
| 22057 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 22058 | /* end confdefs.h. */ |
| 22059 | |
| 22060 | /* Override any GCC internal prototype to avoid an error. |
| 22061 | Use char because int might match the return type of a GCC |
| 22062 | builtin and then its argument prototype would still apply. */ |
| 22063 | char sched_get_priority_max (); |
| 22064 | int |
| 22065 | main (void) |
| 22066 | { |
| 22067 | return sched_get_priority_max (); |
| 22068 | ; |
| 22069 | return 0; |
| 22070 | } |
| 22071 | _ACEOF |
| 22072 | for ac_lib in '' rt |
| 22073 | do |
| 22074 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 22075 | ac_res="none required" |
| 22076 | else |
| 22077 | ac_res=-l$ac_lib |
| 22078 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 22079 | fi |
| 22080 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 22081 | then : |
| 22082 | ac_cv_search_sched_get_priority_max=$ac_res |
| 22083 | fi |
| 22084 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 22085 | conftest$ac_exeext |
| 22086 | if testscip-shell system . . test. ${ac_cv_search_sched_get_priority_max+y} |
| 22087 | then : |
| 22088 | break |
| 22089 | fi |
| 22090 | done |
| 22091 | if testscip-shell system . . test. ${ac_cv_search_sched_get_priority_max+y} |
| 22092 | then : |
| 22093 | |
| 22094 | else $as_nop |
| 22095 | ac_cv_search_sched_get_priority_max=no |
| 22096 | fi |
| 22097 | rmscip-shell system . . rm. conftest.$ac_ext |
| 22098 | LIBS=$ac_func_search_save_LIBS |
| 22099 | fi |
| 22100 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_get_priority_max" >&5 |
| 22101 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_sched_get_priority_max" >&6; } |
| 22102 | ac_res=$ac_cv_search_sched_get_priority_max |
| 22103 | if testscip-shell system . . test. "$ac_res" != no |
| 22104 | then : |
| 22105 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 22106 | |
| 22107 | fi |
| 22108 | |
| 22109 | if testscip-shell system . . test. "x$ac_cv_search" != "xno"; then |
| 22110 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max" |
| 22111 | if testscip-shell system . . test. "x$ac_cv_func_sched_get_priority_max" = xyes |
| 22112 | then : |
| 22113 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SCHED_GET_PRIORITY_MAX 1" >>confdefs.h |
| 22114 | |
| 22115 | fi |
| 22116 | |
| 22117 | fi |
| 22118 | IMUDP_LIBS=$LIBS |
| 22119 | |
| 22120 | LIBS=$save_LIBS |
| 22121 | fi |
| 22122 | |
| 22123 | if testscip-shell system . . test. "$unamestr" = "AIX"; then |
| 22124 | enable_klog="no" |
| 22125 | else |
| 22126 | # klog |
| 22127 | # Check whether --enable-klog was given. |
| 22128 | if testscip-shell system . . test. ${enable_klog+y} |
| 22129 | then : |
| 22130 | enableval=$enable_klog; case "${enableval}" in |
| 22131 | yes) enable_klog="yes" ;; |
| 22132 | no) enable_klog="no" ;; |
| 22133 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-klog" "$LINENO" 5 ;; |
| 22134 | esac |
| 22135 | else $as_nop |
| 22136 | enable_klog="yes" |
| 22137 | |
| 22138 | fi |
| 22139 | |
| 22140 | fi |
| 22141 | if testscip-shell system . . test. x$enable_klog = xyes; then |
| 22142 | ENABLE_IMKLOG_TRUE= |
| 22143 | ENABLE_IMKLOG_FALSE='#' |
| 22144 | else |
| 22145 | ENABLE_IMKLOG_TRUE='#' |
| 22146 | ENABLE_IMKLOG_FALSE= |
| 22147 | fi |
| 22148 | |
| 22149 | if testscip-shell system . . test. x$os_type = xbsd; then |
| 22150 | ENABLE_IMKLOG_BSD_TRUE= |
| 22151 | ENABLE_IMKLOG_BSD_FALSE='#' |
| 22152 | else |
| 22153 | ENABLE_IMKLOG_BSD_TRUE='#' |
| 22154 | ENABLE_IMKLOG_BSD_FALSE= |
| 22155 | fi |
| 22156 | |
| 22157 | if testscip-shell system . . test. x$os_type = xlinux; then |
| 22158 | ENABLE_IMKLOG_LINUX_TRUE= |
| 22159 | ENABLE_IMKLOG_LINUX_FALSE='#' |
| 22160 | else |
| 22161 | ENABLE_IMKLOG_LINUX_TRUE='#' |
| 22162 | ENABLE_IMKLOG_LINUX_FALSE= |
| 22163 | fi |
| 22164 | |
| 22165 | if testscip-shell system . . test. x$os_type = xsolaris; then |
| 22166 | ENABLE_IMKLOG_SOLARIS_TRUE= |
| 22167 | ENABLE_IMKLOG_SOLARIS_FALSE='#' |
| 22168 | else |
| 22169 | ENABLE_IMKLOG_SOLARIS_TRUE='#' |
| 22170 | ENABLE_IMKLOG_SOLARIS_FALSE= |
| 22171 | fi |
| 22172 | |
| 22173 | |
| 22174 | # kmsg |
| 22175 | # Check whether --enable-kmsg was given. |
| 22176 | if testscip-shell system . . test. ${enable_kmsg+y} |
| 22177 | then : |
| 22178 | enableval=$enable_kmsg; case "${enableval}" in |
| 22179 | yes) enable_kmsg="yes" ;; |
| 22180 | no) enable_kmsg="no" ;; |
| 22181 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-kmsg" "$LINENO" 5 ;; |
| 22182 | esac |
| 22183 | else $as_nop |
| 22184 | enable_kmsg="no" |
| 22185 | |
| 22186 | fi |
| 22187 | |
| 22188 | if testscip-shell system . . test. x$enable_kmsg = xyes; then |
| 22189 | ENABLE_IMKMSG_TRUE= |
| 22190 | ENABLE_IMKMSG_FALSE='#' |
| 22191 | else |
| 22192 | ENABLE_IMKMSG_TRUE='#' |
| 22193 | ENABLE_IMKMSG_FALSE= |
| 22194 | fi |
| 22195 | |
| 22196 | |
| 22197 | # imjournal |
| 22198 | # Check whether --enable-imjournal was given. |
| 22199 | if testscip-shell system . . test. ${enable_imjournal+y} |
| 22200 | then : |
| 22201 | enableval=$enable_imjournal; case "${enableval}" in |
| 22202 | yes) enable_imjournal="yes" ;; |
| 22203 | no) enable_imjournal="no" ;; |
| 22204 | optional) enable_imjournal="optional" ;; |
| 22205 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-imjournal" "$LINENO" 5 ;; |
| 22206 | esac |
| 22207 | else $as_nop |
| 22208 | enable_imjournal="no" |
| 22209 | |
| 22210 | fi |
| 22211 | |
| 22212 | imjournal_use_dummy="no" |
| 22213 | if testscip-shell system . . test. "x$enable_imjournal" = "xyes" -o "x$enable_imjournal" = "xoptional"; then |
| 22214 | |
| 22215 | pkg_failed=no |
| 22216 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd >= 234 " >&5 |
| 22217 | printfscip-shell system . . printf. %s "checking for libsystemd >= 234 ... " >&6; } |
| 22218 | |
| 22219 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_CFLAGS"; then |
| 22220 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS="$LIBSYSTEMD_JOURNAL_CFLAGS" |
| 22221 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22222 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22223 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 234 \""; } >&5 |
| 22224 | ($PKG_CONFIG --exists --print-errors "libsystemd >= 234 ") 2>&5 |
| 22225 | ac_status=$? |
| 22226 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22227 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22228 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS=`$PKG_CONFIG --cflags "libsystemd >= 234 " 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22229 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22230 | else |
| 22231 | pkg_failed=yes |
| 22232 | fi |
| 22233 | else |
| 22234 | pkg_failed=untried |
| 22235 | fi |
| 22236 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_LIBS"; then |
| 22237 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS="$LIBSYSTEMD_JOURNAL_LIBS" |
| 22238 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22239 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22240 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 234 \""; } >&5 |
| 22241 | ($PKG_CONFIG --exists --print-errors "libsystemd >= 234 ") 2>&5 |
| 22242 | ac_status=$? |
| 22243 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22244 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22245 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS=`$PKG_CONFIG --libs "libsystemd >= 234 " 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22246 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22247 | else |
| 22248 | pkg_failed=yes |
| 22249 | fi |
| 22250 | else |
| 22251 | pkg_failed=untried |
| 22252 | fi |
| 22253 | |
| 22254 | |
| 22255 | |
| 22256 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 22257 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22258 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22259 | |
| 22260 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 22261 | _pkg_short_errors_supported=yes |
| 22262 | else |
| 22263 | _pkg_short_errors_supported=no |
| 22264 | fi |
| 22265 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 22266 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd >= 234 " 2>&1` |
| 22267 | else |
| 22268 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd >= 234 " 2>&1` |
| 22269 | fi |
| 22270 | # Put the nasty error message in config.log where it belongs |
| 22271 | echoscip-shell system . . echo. "$LIBSYSTEMD_JOURNAL_PKG_ERRORS" >&5 |
| 22272 | |
| 22273 | |
| 22274 | |
| 22275 | pkg_failed=no |
| 22276 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd >= 209 " >&5 |
| 22277 | printfscip-shell system . . printf. %s "checking for libsystemd >= 209 ... " >&6; } |
| 22278 | |
| 22279 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_CFLAGS"; then |
| 22280 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS="$LIBSYSTEMD_JOURNAL_CFLAGS" |
| 22281 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22282 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22283 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209 \""; } >&5 |
| 22284 | ($PKG_CONFIG --exists --print-errors "libsystemd >= 209 ") 2>&5 |
| 22285 | ac_status=$? |
| 22286 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22287 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22288 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS=`$PKG_CONFIG --cflags "libsystemd >= 209 " 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22289 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22290 | else |
| 22291 | pkg_failed=yes |
| 22292 | fi |
| 22293 | else |
| 22294 | pkg_failed=untried |
| 22295 | fi |
| 22296 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_LIBS"; then |
| 22297 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS="$LIBSYSTEMD_JOURNAL_LIBS" |
| 22298 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22299 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22300 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209 \""; } >&5 |
| 22301 | ($PKG_CONFIG --exists --print-errors "libsystemd >= 209 ") 2>&5 |
| 22302 | ac_status=$? |
| 22303 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22304 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22305 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS=`$PKG_CONFIG --libs "libsystemd >= 209 " 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22306 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22307 | else |
| 22308 | pkg_failed=yes |
| 22309 | fi |
| 22310 | else |
| 22311 | pkg_failed=untried |
| 22312 | fi |
| 22313 | |
| 22314 | |
| 22315 | |
| 22316 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 22317 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22318 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22319 | |
| 22320 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 22321 | _pkg_short_errors_supported=yes |
| 22322 | else |
| 22323 | _pkg_short_errors_supported=no |
| 22324 | fi |
| 22325 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 22326 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd >= 209 " 2>&1` |
| 22327 | else |
| 22328 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd >= 209 " 2>&1` |
| 22329 | fi |
| 22330 | # Put the nasty error message in config.log where it belongs |
| 22331 | echoscip-shell system . . echo. "$LIBSYSTEMD_JOURNAL_PKG_ERRORS" >&5 |
| 22332 | |
| 22333 | |
| 22334 | |
| 22335 | pkg_failed=no |
| 22336 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd-journal >= 197" >&5 |
| 22337 | printfscip-shell system . . printf. %s "checking for libsystemd-journal >= 197... " >&6; } |
| 22338 | |
| 22339 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_CFLAGS"; then |
| 22340 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS="$LIBSYSTEMD_JOURNAL_CFLAGS" |
| 22341 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22342 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22343 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal >= 197\""; } >&5 |
| 22344 | ($PKG_CONFIG --exists --print-errors "libsystemd-journal >= 197") 2>&5 |
| 22345 | ac_status=$? |
| 22346 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22347 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22348 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal >= 197" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22349 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22350 | else |
| 22351 | pkg_failed=yes |
| 22352 | fi |
| 22353 | else |
| 22354 | pkg_failed=untried |
| 22355 | fi |
| 22356 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_LIBS"; then |
| 22357 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS="$LIBSYSTEMD_JOURNAL_LIBS" |
| 22358 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22359 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22360 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal >= 197\""; } >&5 |
| 22361 | ($PKG_CONFIG --exists --print-errors "libsystemd-journal >= 197") 2>&5 |
| 22362 | ac_status=$? |
| 22363 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22364 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22365 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS=`$PKG_CONFIG --libs "libsystemd-journal >= 197" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22366 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22367 | else |
| 22368 | pkg_failed=yes |
| 22369 | fi |
| 22370 | else |
| 22371 | pkg_failed=untried |
| 22372 | fi |
| 22373 | |
| 22374 | |
| 22375 | |
| 22376 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 22377 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22378 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22379 | |
| 22380 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 22381 | _pkg_short_errors_supported=yes |
| 22382 | else |
| 22383 | _pkg_short_errors_supported=no |
| 22384 | fi |
| 22385 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 22386 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal >= 197" 2>&1` |
| 22387 | else |
| 22388 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal >= 197" 2>&1` |
| 22389 | fi |
| 22390 | # Put the nasty error message in config.log where it belongs |
| 22391 | echoscip-shell system . . echo. "$LIBSYSTEMD_JOURNAL_PKG_ERRORS" >&5 |
| 22392 | |
| 22393 | |
| 22394 | if testscip-shell system . . test. x$enable_imjournal = xyes |
| 22395 | then : |
| 22396 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 22397 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 22398 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "imjournal support libraries are missing |
| 22399 | See \`config.log' for more details" "$LINENO" 5; } |
| 22400 | |
| 22401 | fi |
| 22402 | imjournal_use_dummy="yes" |
| 22403 | |
| 22404 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 22405 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22406 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22407 | |
| 22408 | if testscip-shell system . . test. x$enable_imjournal = xyes |
| 22409 | then : |
| 22410 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 22411 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 22412 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "imjournal support libraries are missing |
| 22413 | See \`config.log' for more details" "$LINENO" 5; } |
| 22414 | |
| 22415 | fi |
| 22416 | imjournal_use_dummy="yes" |
| 22417 | |
| 22418 | else |
| 22419 | LIBSYSTEMD_JOURNAL_CFLAGS=$pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS |
| 22420 | LIBSYSTEMD_JOURNAL_LIBS=$pkg_cv_LIBSYSTEMD_JOURNAL_LIBS |
| 22421 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 22422 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 22423 | |
| 22424 | fi |
| 22425 | |
| 22426 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 22427 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22428 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22429 | |
| 22430 | |
| 22431 | pkg_failed=no |
| 22432 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd-journal >= 197" >&5 |
| 22433 | printfscip-shell system . . printf. %s "checking for libsystemd-journal >= 197... " >&6; } |
| 22434 | |
| 22435 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_CFLAGS"; then |
| 22436 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS="$LIBSYSTEMD_JOURNAL_CFLAGS" |
| 22437 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22438 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22439 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal >= 197\""; } >&5 |
| 22440 | ($PKG_CONFIG --exists --print-errors "libsystemd-journal >= 197") 2>&5 |
| 22441 | ac_status=$? |
| 22442 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22443 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22444 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal >= 197" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22445 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22446 | else |
| 22447 | pkg_failed=yes |
| 22448 | fi |
| 22449 | else |
| 22450 | pkg_failed=untried |
| 22451 | fi |
| 22452 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_LIBS"; then |
| 22453 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS="$LIBSYSTEMD_JOURNAL_LIBS" |
| 22454 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22455 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22456 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal >= 197\""; } >&5 |
| 22457 | ($PKG_CONFIG --exists --print-errors "libsystemd-journal >= 197") 2>&5 |
| 22458 | ac_status=$? |
| 22459 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22460 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22461 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS=`$PKG_CONFIG --libs "libsystemd-journal >= 197" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22462 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22463 | else |
| 22464 | pkg_failed=yes |
| 22465 | fi |
| 22466 | else |
| 22467 | pkg_failed=untried |
| 22468 | fi |
| 22469 | |
| 22470 | |
| 22471 | |
| 22472 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 22473 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22474 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22475 | |
| 22476 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 22477 | _pkg_short_errors_supported=yes |
| 22478 | else |
| 22479 | _pkg_short_errors_supported=no |
| 22480 | fi |
| 22481 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 22482 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal >= 197" 2>&1` |
| 22483 | else |
| 22484 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal >= 197" 2>&1` |
| 22485 | fi |
| 22486 | # Put the nasty error message in config.log where it belongs |
| 22487 | echoscip-shell system . . echo. "$LIBSYSTEMD_JOURNAL_PKG_ERRORS" >&5 |
| 22488 | |
| 22489 | |
| 22490 | if testscip-shell system . . test. x$enable_imjournal = xyes |
| 22491 | then : |
| 22492 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 22493 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 22494 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "imjournal support libraries are missing |
| 22495 | See \`config.log' for more details" "$LINENO" 5; } |
| 22496 | |
| 22497 | fi |
| 22498 | imjournal_use_dummy="yes" |
| 22499 | |
| 22500 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 22501 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22502 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22503 | |
| 22504 | if testscip-shell system . . test. x$enable_imjournal = xyes |
| 22505 | then : |
| 22506 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 22507 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 22508 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "imjournal support libraries are missing |
| 22509 | See \`config.log' for more details" "$LINENO" 5; } |
| 22510 | |
| 22511 | fi |
| 22512 | imjournal_use_dummy="yes" |
| 22513 | |
| 22514 | else |
| 22515 | LIBSYSTEMD_JOURNAL_CFLAGS=$pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS |
| 22516 | LIBSYSTEMD_JOURNAL_LIBS=$pkg_cv_LIBSYSTEMD_JOURNAL_LIBS |
| 22517 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 22518 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 22519 | |
| 22520 | fi |
| 22521 | |
| 22522 | else |
| 22523 | LIBSYSTEMD_JOURNAL_CFLAGS=$pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS |
| 22524 | LIBSYSTEMD_JOURNAL_LIBS=$pkg_cv_LIBSYSTEMD_JOURNAL_LIBS |
| 22525 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 22526 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 22527 | |
| 22528 | fi |
| 22529 | |
| 22530 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 22531 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22532 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22533 | |
| 22534 | |
| 22535 | pkg_failed=no |
| 22536 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd >= 209 " >&5 |
| 22537 | printfscip-shell system . . printf. %s "checking for libsystemd >= 209 ... " >&6; } |
| 22538 | |
| 22539 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_CFLAGS"; then |
| 22540 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS="$LIBSYSTEMD_JOURNAL_CFLAGS" |
| 22541 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22542 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22543 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209 \""; } >&5 |
| 22544 | ($PKG_CONFIG --exists --print-errors "libsystemd >= 209 ") 2>&5 |
| 22545 | ac_status=$? |
| 22546 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22547 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22548 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS=`$PKG_CONFIG --cflags "libsystemd >= 209 " 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22549 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22550 | else |
| 22551 | pkg_failed=yes |
| 22552 | fi |
| 22553 | else |
| 22554 | pkg_failed=untried |
| 22555 | fi |
| 22556 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_LIBS"; then |
| 22557 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS="$LIBSYSTEMD_JOURNAL_LIBS" |
| 22558 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22559 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22560 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209 \""; } >&5 |
| 22561 | ($PKG_CONFIG --exists --print-errors "libsystemd >= 209 ") 2>&5 |
| 22562 | ac_status=$? |
| 22563 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22564 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22565 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS=`$PKG_CONFIG --libs "libsystemd >= 209 " 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22566 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22567 | else |
| 22568 | pkg_failed=yes |
| 22569 | fi |
| 22570 | else |
| 22571 | pkg_failed=untried |
| 22572 | fi |
| 22573 | |
| 22574 | |
| 22575 | |
| 22576 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 22577 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22578 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22579 | |
| 22580 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 22581 | _pkg_short_errors_supported=yes |
| 22582 | else |
| 22583 | _pkg_short_errors_supported=no |
| 22584 | fi |
| 22585 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 22586 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd >= 209 " 2>&1` |
| 22587 | else |
| 22588 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd >= 209 " 2>&1` |
| 22589 | fi |
| 22590 | # Put the nasty error message in config.log where it belongs |
| 22591 | echoscip-shell system . . echo. "$LIBSYSTEMD_JOURNAL_PKG_ERRORS" >&5 |
| 22592 | |
| 22593 | |
| 22594 | |
| 22595 | pkg_failed=no |
| 22596 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd-journal >= 197" >&5 |
| 22597 | printfscip-shell system . . printf. %s "checking for libsystemd-journal >= 197... " >&6; } |
| 22598 | |
| 22599 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_CFLAGS"; then |
| 22600 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS="$LIBSYSTEMD_JOURNAL_CFLAGS" |
| 22601 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22602 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22603 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal >= 197\""; } >&5 |
| 22604 | ($PKG_CONFIG --exists --print-errors "libsystemd-journal >= 197") 2>&5 |
| 22605 | ac_status=$? |
| 22606 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22607 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22608 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal >= 197" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22609 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22610 | else |
| 22611 | pkg_failed=yes |
| 22612 | fi |
| 22613 | else |
| 22614 | pkg_failed=untried |
| 22615 | fi |
| 22616 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_LIBS"; then |
| 22617 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS="$LIBSYSTEMD_JOURNAL_LIBS" |
| 22618 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22619 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22620 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal >= 197\""; } >&5 |
| 22621 | ($PKG_CONFIG --exists --print-errors "libsystemd-journal >= 197") 2>&5 |
| 22622 | ac_status=$? |
| 22623 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22624 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22625 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS=`$PKG_CONFIG --libs "libsystemd-journal >= 197" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22626 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22627 | else |
| 22628 | pkg_failed=yes |
| 22629 | fi |
| 22630 | else |
| 22631 | pkg_failed=untried |
| 22632 | fi |
| 22633 | |
| 22634 | |
| 22635 | |
| 22636 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 22637 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22638 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22639 | |
| 22640 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 22641 | _pkg_short_errors_supported=yes |
| 22642 | else |
| 22643 | _pkg_short_errors_supported=no |
| 22644 | fi |
| 22645 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 22646 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal >= 197" 2>&1` |
| 22647 | else |
| 22648 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal >= 197" 2>&1` |
| 22649 | fi |
| 22650 | # Put the nasty error message in config.log where it belongs |
| 22651 | echoscip-shell system . . echo. "$LIBSYSTEMD_JOURNAL_PKG_ERRORS" >&5 |
| 22652 | |
| 22653 | |
| 22654 | if testscip-shell system . . test. x$enable_imjournal = xyes |
| 22655 | then : |
| 22656 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 22657 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 22658 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "imjournal support libraries are missing |
| 22659 | See \`config.log' for more details" "$LINENO" 5; } |
| 22660 | |
| 22661 | fi |
| 22662 | imjournal_use_dummy="yes" |
| 22663 | |
| 22664 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 22665 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22666 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22667 | |
| 22668 | if testscip-shell system . . test. x$enable_imjournal = xyes |
| 22669 | then : |
| 22670 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 22671 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 22672 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "imjournal support libraries are missing |
| 22673 | See \`config.log' for more details" "$LINENO" 5; } |
| 22674 | |
| 22675 | fi |
| 22676 | imjournal_use_dummy="yes" |
| 22677 | |
| 22678 | else |
| 22679 | LIBSYSTEMD_JOURNAL_CFLAGS=$pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS |
| 22680 | LIBSYSTEMD_JOURNAL_LIBS=$pkg_cv_LIBSYSTEMD_JOURNAL_LIBS |
| 22681 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 22682 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 22683 | |
| 22684 | fi |
| 22685 | |
| 22686 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 22687 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22688 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22689 | |
| 22690 | |
| 22691 | pkg_failed=no |
| 22692 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd-journal >= 197" >&5 |
| 22693 | printfscip-shell system . . printf. %s "checking for libsystemd-journal >= 197... " >&6; } |
| 22694 | |
| 22695 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_CFLAGS"; then |
| 22696 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS="$LIBSYSTEMD_JOURNAL_CFLAGS" |
| 22697 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22698 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22699 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal >= 197\""; } >&5 |
| 22700 | ($PKG_CONFIG --exists --print-errors "libsystemd-journal >= 197") 2>&5 |
| 22701 | ac_status=$? |
| 22702 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22703 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22704 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal >= 197" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22705 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22706 | else |
| 22707 | pkg_failed=yes |
| 22708 | fi |
| 22709 | else |
| 22710 | pkg_failed=untried |
| 22711 | fi |
| 22712 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_LIBS"; then |
| 22713 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS="$LIBSYSTEMD_JOURNAL_LIBS" |
| 22714 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22715 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22716 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal >= 197\""; } >&5 |
| 22717 | ($PKG_CONFIG --exists --print-errors "libsystemd-journal >= 197") 2>&5 |
| 22718 | ac_status=$? |
| 22719 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22720 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22721 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS=`$PKG_CONFIG --libs "libsystemd-journal >= 197" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22722 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22723 | else |
| 22724 | pkg_failed=yes |
| 22725 | fi |
| 22726 | else |
| 22727 | pkg_failed=untried |
| 22728 | fi |
| 22729 | |
| 22730 | |
| 22731 | |
| 22732 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 22733 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22734 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22735 | |
| 22736 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 22737 | _pkg_short_errors_supported=yes |
| 22738 | else |
| 22739 | _pkg_short_errors_supported=no |
| 22740 | fi |
| 22741 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 22742 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal >= 197" 2>&1` |
| 22743 | else |
| 22744 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal >= 197" 2>&1` |
| 22745 | fi |
| 22746 | # Put the nasty error message in config.log where it belongs |
| 22747 | echoscip-shell system . . echo. "$LIBSYSTEMD_JOURNAL_PKG_ERRORS" >&5 |
| 22748 | |
| 22749 | |
| 22750 | if testscip-shell system . . test. x$enable_imjournal = xyes |
| 22751 | then : |
| 22752 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 22753 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 22754 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "imjournal support libraries are missing |
| 22755 | See \`config.log' for more details" "$LINENO" 5; } |
| 22756 | |
| 22757 | fi |
| 22758 | imjournal_use_dummy="yes" |
| 22759 | |
| 22760 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 22761 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22762 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22763 | |
| 22764 | if testscip-shell system . . test. x$enable_imjournal = xyes |
| 22765 | then : |
| 22766 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 22767 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 22768 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "imjournal support libraries are missing |
| 22769 | See \`config.log' for more details" "$LINENO" 5; } |
| 22770 | |
| 22771 | fi |
| 22772 | imjournal_use_dummy="yes" |
| 22773 | |
| 22774 | else |
| 22775 | LIBSYSTEMD_JOURNAL_CFLAGS=$pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS |
| 22776 | LIBSYSTEMD_JOURNAL_LIBS=$pkg_cv_LIBSYSTEMD_JOURNAL_LIBS |
| 22777 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 22778 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 22779 | |
| 22780 | fi |
| 22781 | |
| 22782 | else |
| 22783 | LIBSYSTEMD_JOURNAL_CFLAGS=$pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS |
| 22784 | LIBSYSTEMD_JOURNAL_LIBS=$pkg_cv_LIBSYSTEMD_JOURNAL_LIBS |
| 22785 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 22786 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 22787 | |
| 22788 | fi |
| 22789 | |
| 22790 | else |
| 22791 | LIBSYSTEMD_JOURNAL_CFLAGS=$pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS |
| 22792 | LIBSYSTEMD_JOURNAL_LIBS=$pkg_cv_LIBSYSTEMD_JOURNAL_LIBS |
| 22793 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 22794 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 22795 | |
| 22796 | printfscip-shell system . . printf. "%s\n" "#define NEW_JOURNAL 1" >>confdefs.h |
| 22797 | |
| 22798 | fi |
| 22799 | fi |
| 22800 | if testscip-shell system . . test. x$imjournal_use_dummy = xyes; then |
| 22801 | IMJOURNAL_USE_DUMMY_TRUE= |
| 22802 | IMJOURNAL_USE_DUMMY_FALSE='#' |
| 22803 | else |
| 22804 | IMJOURNAL_USE_DUMMY_TRUE='#' |
| 22805 | IMJOURNAL_USE_DUMMY_FALSE= |
| 22806 | fi |
| 22807 | |
| 22808 | if testscip-shell system . . test. x$enable_imjournal = xyes -o x$enable_imjournal = xoptional; then |
| 22809 | ENABLE_IMJOURNAL_TRUE= |
| 22810 | ENABLE_IMJOURNAL_FALSE='#' |
| 22811 | else |
| 22812 | ENABLE_IMJOURNAL_TRUE='#' |
| 22813 | ENABLE_IMJOURNAL_FALSE= |
| 22814 | fi |
| 22815 | |
| 22816 | |
| 22817 | # use libsystemd |
| 22818 | # Check whether --enable-libsystemd was given. |
| 22819 | if testscip-shell system . . test. ${enable_libsystemd+y} |
| 22820 | then : |
| 22821 | enableval=$enable_libsystemd; case "${enableval}" in |
| 22822 | yes) enable_libsystemd="yes" ;; |
| 22823 | no) enable_libsystemd="no" ;; |
| 22824 | auto) enable_libsystemd="auto" ;; |
| 22825 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-libsystemd" "$LINENO" 5 ;; |
| 22826 | esac |
| 22827 | else $as_nop |
| 22828 | enable_libsystemd="auto" |
| 22829 | |
| 22830 | fi |
| 22831 | |
| 22832 | if testscip-shell system . . test. "$enable_libsystemd" = "yes"; then |
| 22833 | |
| 22834 | pkg_failed=no |
| 22835 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd" >&5 |
| 22836 | printfscip-shell system . . printf. %s "checking for libsystemd... " >&6; } |
| 22837 | |
| 22838 | if testscip-shell system . . test. -n "$LIBSYSTEMD_CFLAGS"; then |
| 22839 | pkg_cv_LIBSYSTEMD_CFLAGS="$LIBSYSTEMD_CFLAGS" |
| 22840 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22841 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22842 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 |
| 22843 | ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 |
| 22844 | ac_status=$? |
| 22845 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22846 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22847 | pkg_cv_LIBSYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22848 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22849 | else |
| 22850 | pkg_failed=yes |
| 22851 | fi |
| 22852 | else |
| 22853 | pkg_failed=untried |
| 22854 | fi |
| 22855 | if testscip-shell system . . test. -n "$LIBSYSTEMD_LIBS"; then |
| 22856 | pkg_cv_LIBSYSTEMD_LIBS="$LIBSYSTEMD_LIBS" |
| 22857 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22858 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22859 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 |
| 22860 | ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 |
| 22861 | ac_status=$? |
| 22862 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22863 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22864 | pkg_cv_LIBSYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22865 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22866 | else |
| 22867 | pkg_failed=yes |
| 22868 | fi |
| 22869 | else |
| 22870 | pkg_failed=untried |
| 22871 | fi |
| 22872 | |
| 22873 | |
| 22874 | |
| 22875 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 22876 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22877 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22878 | |
| 22879 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 22880 | _pkg_short_errors_supported=yes |
| 22881 | else |
| 22882 | _pkg_short_errors_supported=no |
| 22883 | fi |
| 22884 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 22885 | LIBSYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1` |
| 22886 | else |
| 22887 | LIBSYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1` |
| 22888 | fi |
| 22889 | # Put the nasty error message in config.log where it belongs |
| 22890 | echoscip-shell system . . echo. "$LIBSYSTEMD_PKG_ERRORS" >&5 |
| 22891 | |
| 22892 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libsystemd) were not met: |
| 22893 | |
| 22894 | $LIBSYSTEMD_PKG_ERRORS |
| 22895 | |
| 22896 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 22897 | installed software in a non-standard prefix. |
| 22898 | |
| 22899 | Alternatively, you may set the environment variables LIBSYSTEMD_CFLAGS |
| 22900 | and LIBSYSTEMD_LIBS to avoid the need to call pkg-config. |
| 22901 | See the pkg-config man page for more details." "$LINENO" 5 |
| 22902 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 22903 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22904 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22905 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 22906 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 22907 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 22908 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 22909 | path to pkg-config. |
| 22910 | |
| 22911 | Alternatively, you may set the environment variables LIBSYSTEMD_CFLAGS |
| 22912 | and LIBSYSTEMD_LIBS to avoid the need to call pkg-config. |
| 22913 | See the pkg-config man page for more details. |
| 22914 | |
| 22915 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 22916 | See \`config.log' for more details" "$LINENO" 5; } |
| 22917 | else |
| 22918 | LIBSYSTEMD_CFLAGS=$pkg_cv_LIBSYSTEMD_CFLAGS |
| 22919 | LIBSYSTEMD_LIBS=$pkg_cv_LIBSYSTEMD_LIBS |
| 22920 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 22921 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 22922 | |
| 22923 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LIBSYSTEMD 1" >>confdefs.h |
| 22924 | |
| 22925 | |
| 22926 | fi |
| 22927 | fi |
| 22928 | if testscip-shell system . . test. "$enable_libsystemd" = "auto"; then |
| 22929 | |
| 22930 | pkg_failed=no |
| 22931 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd" >&5 |
| 22932 | printfscip-shell system . . printf. %s "checking for libsystemd... " >&6; } |
| 22933 | |
| 22934 | if testscip-shell system . . test. -n "$LIBSYSTEMD_CFLAGS"; then |
| 22935 | pkg_cv_LIBSYSTEMD_CFLAGS="$LIBSYSTEMD_CFLAGS" |
| 22936 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22937 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22938 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 |
| 22939 | ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 |
| 22940 | ac_status=$? |
| 22941 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22942 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22943 | pkg_cv_LIBSYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22944 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22945 | else |
| 22946 | pkg_failed=yes |
| 22947 | fi |
| 22948 | else |
| 22949 | pkg_failed=untried |
| 22950 | fi |
| 22951 | if testscip-shell system . . test. -n "$LIBSYSTEMD_LIBS"; then |
| 22952 | pkg_cv_LIBSYSTEMD_LIBS="$LIBSYSTEMD_LIBS" |
| 22953 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 22954 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 22955 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 |
| 22956 | ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 |
| 22957 | ac_status=$? |
| 22958 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22959 | testscip-shell system . . test. $ac_status = 0; }; then |
| 22960 | pkg_cv_LIBSYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 22961 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 22962 | else |
| 22963 | pkg_failed=yes |
| 22964 | fi |
| 22965 | else |
| 22966 | pkg_failed=untried |
| 22967 | fi |
| 22968 | |
| 22969 | |
| 22970 | |
| 22971 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 22972 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22973 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22974 | |
| 22975 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 22976 | _pkg_short_errors_supported=yes |
| 22977 | else |
| 22978 | _pkg_short_errors_supported=no |
| 22979 | fi |
| 22980 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 22981 | LIBSYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1` |
| 22982 | else |
| 22983 | LIBSYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1` |
| 22984 | fi |
| 22985 | # Put the nasty error message in config.log where it belongs |
| 22986 | echoscip-shell system . . echo. "$LIBSYSTEMD_PKG_ERRORS" >&5 |
| 22987 | |
| 22988 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libsystemd not present - disabling systemd support" >&5 |
| 22989 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: libsystemd not present - disabling systemd support" >&2;} |
| 22990 | enable_libsystemd="no" |
| 22991 | |
| 22992 | |
| 22993 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 22994 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22995 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 22996 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libsystemd not present - disabling systemd support" >&5 |
| 22997 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: libsystemd not present - disabling systemd support" >&2;} |
| 22998 | enable_libsystemd="no" |
| 22999 | |
| 23000 | |
| 23001 | else |
| 23002 | LIBSYSTEMD_CFLAGS=$pkg_cv_LIBSYSTEMD_CFLAGS |
| 23003 | LIBSYSTEMD_LIBS=$pkg_cv_LIBSYSTEMD_LIBS |
| 23004 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 23005 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 23006 | |
| 23007 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LIBSYSTEMD 1" >>confdefs.h |
| 23008 | |
| 23009 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: --enable-libsystemd in auto mode" >&5 |
| 23010 | printfscip-shell system . . printf. "%s\n" "$as_me: --enable-libsystemd in auto mode" >&6;} |
| 23011 | enable_libsystemd="yes" |
| 23012 | |
| 23013 | fi |
| 23014 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: --enable-libsystemd in auto mode, enable-libsystemd is set to ${enable_libsystemd}" >&5 |
| 23015 | printfscip-shell system . . printf. "%s\n" "$as_me: --enable-libsystemd in auto mode, enable-libsystemd is set to ${enable_libsystemd}" >&6;} |
| 23016 | fi |
| 23017 | |
| 23018 | # inet |
| 23019 | # Check whether --enable-inet was given. |
| 23020 | if testscip-shell system . . test. ${enable_inet+y} |
| 23021 | then : |
| 23022 | enableval=$enable_inet; case "${enableval}" in |
| 23023 | yes) enable_inet="yes" ;; |
| 23024 | no) enable_inet="no" ;; |
| 23025 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-inet" "$LINENO" 5 ;; |
| 23026 | esac |
| 23027 | else $as_nop |
| 23028 | enable_inet="yes" |
| 23029 | |
| 23030 | fi |
| 23031 | |
| 23032 | if testscip-shell system . . test. x$enable_inet = xyes; then |
| 23033 | ENABLE_INET_TRUE= |
| 23034 | ENABLE_INET_FALSE='#' |
| 23035 | else |
| 23036 | ENABLE_INET_TRUE='#' |
| 23037 | ENABLE_INET_FALSE= |
| 23038 | fi |
| 23039 | |
| 23040 | if testscip-shell system . . test. "$enable_inet" = "yes"; then |
| 23041 | |
| 23042 | printfscip-shell system . . printf. "%s\n" "#define SYSLOG_INET 1" >>confdefs.h |
| 23043 | |
| 23044 | fi |
| 23045 | |
| 23046 | # jemalloc |
| 23047 | # Check whether --enable-jemalloc was given. |
| 23048 | if testscip-shell system . . test. ${enable_jemalloc+y} |
| 23049 | then : |
| 23050 | enableval=$enable_jemalloc; case "${enableval}" in |
| 23051 | yes) enable_jemalloc="yes" ;; |
| 23052 | no) enable_jemalloc="no" ;; |
| 23053 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-jemalloc" "$LINENO" 5 ;; |
| 23054 | esac |
| 23055 | else $as_nop |
| 23056 | enable_jemalloc="no" |
| 23057 | |
| 23058 | fi |
| 23059 | |
| 23060 | if testscip-shell system . . test. x$enable_jemalloc = xyes; then |
| 23061 | ENABLE_JEMALLOC_TRUE= |
| 23062 | ENABLE_JEMALLOC_FALSE='#' |
| 23063 | else |
| 23064 | ENABLE_JEMALLOC_TRUE='#' |
| 23065 | ENABLE_JEMALLOC_FALSE= |
| 23066 | fi |
| 23067 | |
| 23068 | if testscip-shell system . . test. "$enable_jemalloc" = "yes"; then |
| 23069 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for malloc_stats_print in -ljemalloc" >&5 |
| 23070 | printfscip-shell system . . printf. %s "checking for malloc_stats_print in -ljemalloc... " >&6; } |
| 23071 | if testscip-shell system . . test. ${ac_cv_lib_jemalloc_malloc_stats_print+y} |
| 23072 | then : |
| 23073 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 23074 | else $as_nop |
| 23075 | ac_check_lib_save_LIBS=$LIBS |
| 23076 | LIBS="-ljemalloc |
| 23077 | $LIBS" |
| 23078 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23079 | /* end confdefs.h. */ |
| 23080 | |
| 23081 | /* Override any GCC internal prototype to avoid an error. |
| 23082 | Use char because int might match the return type of a GCC |
| 23083 | builtin and then its argument prototype would still apply. */ |
| 23084 | char malloc_stats_print (); |
| 23085 | int |
| 23086 | main (void) |
| 23087 | { |
| 23088 | return malloc_stats_print (); |
| 23089 | ; |
| 23090 | return 0; |
| 23091 | } |
| 23092 | _ACEOF |
| 23093 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 23094 | then : |
| 23095 | ac_cv_lib_jemalloc_malloc_stats_print=yes |
| 23096 | else $as_nop |
| 23097 | ac_cv_lib_jemalloc_malloc_stats_print=no |
| 23098 | fi |
| 23099 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 23100 | conftest$ac_exeext conftest.$ac_ext |
| 23101 | LIBS=$ac_check_lib_save_LIBS |
| 23102 | fi |
| 23103 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jemalloc_malloc_stats_print" >&5 |
| 23104 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_jemalloc_malloc_stats_print" >&6; } |
| 23105 | if testscip-shell system . . test. "x$ac_cv_lib_jemalloc_malloc_stats_print" = xyes |
| 23106 | then : |
| 23107 | RT_LIBS="$RT_LIBS -ljemalloc" |
| 23108 | |
| 23109 | printfscip-shell system . . printf. "%s\n" "#define HAVE_JEMALLOC 1" >>confdefs.h |
| 23110 | |
| 23111 | |
| 23112 | else $as_nop |
| 23113 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 23114 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 23115 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "jemalloc library is missing |
| 23116 | See \`config.log' for more details" "$LINENO" 5; } |
| 23117 | fi |
| 23118 | |
| 23119 | fi |
| 23120 | |
| 23121 | |
| 23122 | # support for unlimited select() syscall |
| 23123 | # Check whether --enable-unlimited_select was given. |
| 23124 | if testscip-shell system . . test. ${enable_unlimited_select+y} |
| 23125 | then : |
| 23126 | enableval=$enable_unlimited_select; case "${enableval}" in |
| 23127 | yes) enable_unlimited_select="yes" ;; |
| 23128 | no) enable_unlimited_select="no" ;; |
| 23129 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-unlimited-select" "$LINENO" 5 ;; |
| 23130 | esac |
| 23131 | else $as_nop |
| 23132 | enable_unlimited_select="no" |
| 23133 | |
| 23134 | fi |
| 23135 | |
| 23136 | if testscip-shell system . . test. "$enable_unlimited_select" = "yes"; then |
| 23137 | |
| 23138 | printfscip-shell system . . printf. "%s\n" "#define USE_UNLIMITED_SELECT 1" >>confdefs.h |
| 23139 | |
| 23140 | fi |
| 23141 | |
| 23142 | |
| 23143 | # debug |
| 23144 | # Check whether --enable-debug was given. |
| 23145 | if testscip-shell system . . test. ${enable_debug+y} |
| 23146 | then : |
| 23147 | enableval=$enable_debug; case "${enableval}" in |
| 23148 | yes) enable_debug="yes" ;; |
| 23149 | no) enable_debug="no" ;; |
| 23150 | auto) enable_debug="auto" ;; |
| 23151 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;; |
| 23152 | esac |
| 23153 | else $as_nop |
| 23154 | enable_debug="auto" |
| 23155 | |
| 23156 | fi |
| 23157 | |
| 23158 | if testscip-shell system . . test. "$enable_debug" = "auto"; then |
| 23159 | if testscip-shell system . . test. "x$in_git_src" = "xyes"; then |
| 23160 | enable_debug="yes" |
| 23161 | else |
| 23162 | enable_debug="no" |
| 23163 | fi |
| 23164 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: enable-debug in auto mode, enable-debug is set to ${enable_debug}" >&5 |
| 23165 | printfscip-shell system . . printf. "%s\n" "$as_me: enable-debug in auto mode, enable-debug is set to ${enable_debug}" >&6;} |
| 23166 | fi |
| 23167 | if testscip-shell system . . test. "$enable_debug" = "yes"; then |
| 23168 | |
| 23169 | printfscip-shell system . . printf. "%s\n" "#define DEBUG 1" >>confdefs.h |
| 23170 | |
| 23171 | fi |
| 23172 | if testscip-shell system . . test. "$enable_debug" = "no"; then |
| 23173 | |
| 23174 | printfscip-shell system . . printf. "%s\n" "#define NDEBUG 1" >>confdefs.h |
| 23175 | |
| 23176 | fi |
| 23177 | |
| 23178 | |
| 23179 | # debug-symbols |
| 23180 | # Check whether --enable-debug_symbols was given. |
| 23181 | if testscip-shell system . . test. ${enable_debug_symbols+y} |
| 23182 | then : |
| 23183 | enableval=$enable_debug_symbols; case "${enableval}" in |
| 23184 | yes) enable_debug_symbols="yes" ;; |
| 23185 | no) enable_debug_symbols="no" ;; |
| 23186 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --disable-debug-symbols" "$LINENO" 5 ;; |
| 23187 | esac |
| 23188 | else $as_nop |
| 23189 | enable_debug_symbols="yes" |
| 23190 | |
| 23191 | fi |
| 23192 | |
| 23193 | |
| 23194 | # coverage |
| 23195 | # Check whether --enable-coverage was given. |
| 23196 | if testscip-shell system . . test. ${enable_coverage+y} |
| 23197 | then : |
| 23198 | enableval=$enable_coverage; case "${enableval}" in |
| 23199 | yes) enable_coverage="yes" ;; |
| 23200 | no) enable_coverage="no" ;; |
| 23201 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-coverage" "$LINENO" 5 ;; |
| 23202 | esac |
| 23203 | else $as_nop |
| 23204 | enable_coverage="no" |
| 23205 | |
| 23206 | fi |
| 23207 | |
| 23208 | if testscip-shell system . . test. "$enable_coverage" = "yes"; then |
| 23209 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 23210 | # Extract the first word of "${ac_tool_prefix}gcov", so it can be a program name with args. |
| 23211 | set dummy ${ac_tool_prefix}gcov; ac_word=$2 |
| 23212 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23213 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 23214 | if testscip-shell system . . test. ${ac_cv_prog_GCOV+y} |
| 23215 | then : |
| 23216 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 23217 | else $as_nop |
| 23218 | if testscip-shell system . . test. -n "$GCOV"; then |
| 23219 | ac_cv_prog_GCOV="$GCOV" # Let the user override the test. |
| 23220 | else |
| 23221 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23222 | for as_dir in $PATH |
| 23223 | do |
| 23224 | IFS=$as_save_IFS |
| 23225 | case $as_dir in #((( |
| 23226 | '') as_dir=./ ;; |
| 23227 | */) ;; |
| 23228 | *) as_dir=$as_dir/ ;; |
| 23229 | esac |
| 23230 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 23231 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 23232 | ac_cv_prog_GCOV="${ac_tool_prefix}gcov" |
| 23233 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23234 | break 2 |
| 23235 | fi |
| 23236 | done |
| 23237 | done |
| 23238 | IFS=$as_save_IFS |
| 23239 | |
| 23240 | fi |
| 23241 | fi |
| 23242 | GCOV=$ac_cv_prog_GCOV |
| 23243 | if testscip-shell system . . test. -n "$GCOV"; then |
| 23244 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5 |
| 23245 | printfscip-shell system . . printf. "%s\n" "$GCOV" >&6; } |
| 23246 | else |
| 23247 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23248 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23249 | fi |
| 23250 | |
| 23251 | |
| 23252 | fi |
| 23253 | if testscip-shell system . . test. -z "$ac_cv_prog_GCOV"; then |
| 23254 | ac_ct_GCOV=$GCOV |
| 23255 | # Extract the first word of "gcov", so it can be a program name with args. |
| 23256 | set dummy gcov; ac_word=$2 |
| 23257 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23258 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 23259 | if testscip-shell system . . test. ${ac_cv_prog_ac_ct_GCOV+y} |
| 23260 | then : |
| 23261 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 23262 | else $as_nop |
| 23263 | if testscip-shell system . . test. -n "$ac_ct_GCOV"; then |
| 23264 | ac_cv_prog_ac_ct_GCOV="$ac_ct_GCOV" # Let the user override the test. |
| 23265 | else |
| 23266 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23267 | for as_dir in $PATH |
| 23268 | do |
| 23269 | IFS=$as_save_IFS |
| 23270 | case $as_dir in #((( |
| 23271 | '') as_dir=./ ;; |
| 23272 | */) ;; |
| 23273 | *) as_dir=$as_dir/ ;; |
| 23274 | esac |
| 23275 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 23276 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 23277 | ac_cv_prog_ac_ct_GCOV="gcov" |
| 23278 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23279 | break 2 |
| 23280 | fi |
| 23281 | done |
| 23282 | done |
| 23283 | IFS=$as_save_IFS |
| 23284 | |
| 23285 | fi |
| 23286 | fi |
| 23287 | ac_ct_GCOV=$ac_cv_prog_ac_ct_GCOV |
| 23288 | if testscip-shell system . . test. -n "$ac_ct_GCOV"; then |
| 23289 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5 |
| 23290 | printfscip-shell system . . printf. "%s\n" "$ac_ct_GCOV" >&6; } |
| 23291 | else |
| 23292 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23293 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23294 | fi |
| 23295 | |
| 23296 | if testscip-shell system . . test. "x$ac_ct_GCOV" = x; then |
| 23297 | GCOV="no" |
| 23298 | else |
| 23299 | case $cross_compiling:$ac_tool_warned in |
| 23300 | yes:) |
| 23301 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 23302 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 23303 | ac_tool_warned=yes ;; |
| 23304 | esac |
| 23305 | GCOV=$ac_ct_GCOV |
| 23306 | fi |
| 23307 | else |
| 23308 | GCOV="$ac_cv_prog_GCOV" |
| 23309 | fi |
| 23310 | |
| 23311 | if testscip-shell system . . test. "x$GCOV" = "xno" |
| 23312 | then : |
| 23313 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "required program \"gcov\" for code coverage not found" "$LINENO" 5 |
| 23314 | |
| 23315 | fi |
| 23316 | # Extract the first word of "lcov", so it can be a program name with args. |
| 23317 | set dummy lcov; ac_word=$2 |
| 23318 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23319 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 23320 | if testscip-shell system . . test. ${ac_cv_prog_LCOV+y} |
| 23321 | then : |
| 23322 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 23323 | else $as_nop |
| 23324 | if testscip-shell system . . test. -n "$LCOV"; then |
| 23325 | ac_cv_prog_LCOV="$LCOV" # Let the user override the test. |
| 23326 | else |
| 23327 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23328 | for as_dir in $PATH |
| 23329 | do |
| 23330 | IFS=$as_save_IFS |
| 23331 | case $as_dir in #((( |
| 23332 | '') as_dir=./ ;; |
| 23333 | */) ;; |
| 23334 | *) as_dir=$as_dir/ ;; |
| 23335 | esac |
| 23336 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 23337 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 23338 | ac_cv_prog_LCOV="lcov" |
| 23339 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23340 | break 2 |
| 23341 | fi |
| 23342 | done |
| 23343 | done |
| 23344 | IFS=$as_save_IFS |
| 23345 | |
| 23346 | testscip-shell system . . test. -z "$ac_cv_prog_LCOV" && ac_cv_prog_LCOV="no" |
| 23347 | fi |
| 23348 | fi |
| 23349 | LCOV=$ac_cv_prog_LCOV |
| 23350 | if testscip-shell system . . test. -n "$LCOV"; then |
| 23351 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5 |
| 23352 | printfscip-shell system . . printf. "%s\n" "$LCOV" >&6; } |
| 23353 | else |
| 23354 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23355 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23356 | fi |
| 23357 | |
| 23358 | |
| 23359 | if testscip-shell system . . test. "x$LCOV" = "xno" |
| 23360 | then : |
| 23361 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "required program \"lcov\" for code coverage not found" "$LINENO" 5 |
| 23362 | |
| 23363 | fi |
| 23364 | # Extract the first word of "genhtml", so it can be a program name with args. |
| 23365 | set dummy genhtml; ac_word=$2 |
| 23366 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23367 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 23368 | if testscip-shell system . . test. ${ac_cv_prog_GENHTML+y} |
| 23369 | then : |
| 23370 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 23371 | else $as_nop |
| 23372 | if testscip-shell system . . test. -n "$GENHTML"; then |
| 23373 | ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test. |
| 23374 | else |
| 23375 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23376 | for as_dir in $PATH |
| 23377 | do |
| 23378 | IFS=$as_save_IFS |
| 23379 | case $as_dir in #((( |
| 23380 | '') as_dir=./ ;; |
| 23381 | */) ;; |
| 23382 | *) as_dir=$as_dir/ ;; |
| 23383 | esac |
| 23384 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 23385 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 23386 | ac_cv_prog_GENHTML="genhtml" |
| 23387 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23388 | break 2 |
| 23389 | fi |
| 23390 | done |
| 23391 | done |
| 23392 | IFS=$as_save_IFS |
| 23393 | |
| 23394 | testscip-shell system . . test. -z "$ac_cv_prog_GENHTML" && ac_cv_prog_GENHTML="no" |
| 23395 | fi |
| 23396 | fi |
| 23397 | GENHTML=$ac_cv_prog_GENHTML |
| 23398 | if testscip-shell system . . test. -n "$GENHTML"; then |
| 23399 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5 |
| 23400 | printfscip-shell system . . printf. "%s\n" "$GENHTML" >&6; } |
| 23401 | else |
| 23402 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23403 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23404 | fi |
| 23405 | |
| 23406 | |
| 23407 | if testscip-shell system . . test. "x$GENHTML" = "xno" |
| 23408 | then : |
| 23409 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "required program \"genhtml\" for code coverage not found" "$LINENO" 5 |
| 23410 | |
| 23411 | fi |
| 23412 | |
| 23413 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_COVERAGE 1" >>confdefs.h |
| 23414 | |
| 23415 | fi |
| 23416 | if testscip-shell system . . test. "x$enable_coverage" = xyes; then |
| 23417 | ENABLE_COVERAGE_TRUE= |
| 23418 | ENABLE_COVERAGE_FALSE='#' |
| 23419 | else |
| 23420 | ENABLE_COVERAGE_TRUE='#' |
| 23421 | ENABLE_COVERAGE_FALSE= |
| 23422 | fi |
| 23423 | |
| 23424 | |
| 23425 | |
| 23426 | # total debugless: highest performance, but no way at all to enable debug |
| 23427 | # logging |
| 23428 | # Check whether --enable-debugless was given. |
| 23429 | if testscip-shell system . . test. ${enable_debugless+y} |
| 23430 | then : |
| 23431 | enableval=$enable_debugless; case "${enableval}" in |
| 23432 | yes) enable_debugless="yes" ;; |
| 23433 | no) enable_debugless="no" ;; |
| 23434 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-debugless" "$LINENO" 5 ;; |
| 23435 | esac |
| 23436 | else $as_nop |
| 23437 | enable_debugless="no" |
| 23438 | |
| 23439 | fi |
| 23440 | |
| 23441 | if testscip-shell system . . test. "$enable_debugless" = "yes"; then |
| 23442 | |
| 23443 | printfscip-shell system . . printf. "%s\n" "#define DEBUGLESS 1" >>confdefs.h |
| 23444 | |
| 23445 | fi |
| 23446 | |
| 23447 | |
| 23448 | # valgrind |
| 23449 | # Check whether --enable-valgrind was given. |
| 23450 | if testscip-shell system . . test. ${enable_valgrind+y} |
| 23451 | then : |
| 23452 | enableval=$enable_valgrind; case "${enableval}" in |
| 23453 | yes) enable_valgrind="yes" ;; |
| 23454 | no) enable_valgrind="no" ;; |
| 23455 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;; |
| 23456 | esac |
| 23457 | else $as_nop |
| 23458 | enable_valgrind="no" |
| 23459 | |
| 23460 | fi |
| 23461 | |
| 23462 | if testscip-shell system . . test. "$enable_valgrind" = "yes"; then |
| 23463 | |
| 23464 | printfscip-shell system . . printf. "%s\n" "#define VALGRIND 1" >>confdefs.h |
| 23465 | |
| 23466 | fi |
| 23467 | |
| 23468 | |
| 23469 | # compile diagnostic tools (small helpers usually not needed) |
| 23470 | # Check whether --enable-diagtools was given. |
| 23471 | if testscip-shell system . . test. ${enable_diagtools+y} |
| 23472 | then : |
| 23473 | enableval=$enable_diagtools; case "${enableval}" in |
| 23474 | yes) enable_diagtools="yes" ;; |
| 23475 | no) enable_diagtools="no" ;; |
| 23476 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-diagtools" "$LINENO" 5 ;; |
| 23477 | esac |
| 23478 | else $as_nop |
| 23479 | enable_diagtools=no |
| 23480 | |
| 23481 | fi |
| 23482 | |
| 23483 | if testscip-shell system . . test. x$enable_diagtools = xyes; then |
| 23484 | ENABLE_DIAGTOOLS_TRUE= |
| 23485 | ENABLE_DIAGTOOLS_FALSE='#' |
| 23486 | else |
| 23487 | ENABLE_DIAGTOOLS_TRUE='#' |
| 23488 | ENABLE_DIAGTOOLS_FALSE= |
| 23489 | fi |
| 23490 | |
| 23491 | |
| 23492 | |
| 23493 | # compile end-user tools |
| 23494 | # Check whether --enable-usertools was given. |
| 23495 | if testscip-shell system . . test. ${enable_usertools+y} |
| 23496 | then : |
| 23497 | enableval=$enable_usertools; case "${enableval}" in |
| 23498 | yes) enable_usertools="yes" ;; |
| 23499 | no) enable_usertools="no" ;; |
| 23500 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-usertools" "$LINENO" 5 ;; |
| 23501 | esac |
| 23502 | else $as_nop |
| 23503 | enable_usertools=no |
| 23504 | |
| 23505 | fi |
| 23506 | |
| 23507 | if testscip-shell system . . test. x$enable_usertools = xyes; then |
| 23508 | ENABLE_USERTOOLS_TRUE= |
| 23509 | ENABLE_USERTOOLS_FALSE='#' |
| 23510 | else |
| 23511 | ENABLE_USERTOOLS_TRUE='#' |
| 23512 | ENABLE_USERTOOLS_FALSE= |
| 23513 | fi |
| 23514 | |
| 23515 | |
| 23516 | |
| 23517 | # MySQL support |
| 23518 | # Check whether --enable-mysql was given. |
| 23519 | if testscip-shell system . . test. ${enable_mysql+y} |
| 23520 | then : |
| 23521 | enableval=$enable_mysql; case "${enableval}" in |
| 23522 | yes) enable_mysql="yes" ;; |
| 23523 | no) enable_mysql="no" ;; |
| 23524 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mysql" "$LINENO" 5 ;; |
| 23525 | esac |
| 23526 | else $as_nop |
| 23527 | enable_mysql=no |
| 23528 | |
| 23529 | fi |
| 23530 | |
| 23531 | if testscip-shell system . . test. "x$enable_mysql" = "xyes" |
| 23532 | then : |
| 23533 | |
| 23534 | |
| 23535 | pkg_failed=no |
| 23536 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mysqlclient" >&5 |
| 23537 | printfscip-shell system . . printf. %s "checking for mysqlclient... " >&6; } |
| 23538 | |
| 23539 | if testscip-shell system . . test. -n "$MYSQL_CFLAGS"; then |
| 23540 | pkg_cv_MYSQL_CFLAGS="$MYSQL_CFLAGS" |
| 23541 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 23542 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 23543 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mysqlclient\""; } >&5 |
| 23544 | ($PKG_CONFIG --exists --print-errors "mysqlclient") 2>&5 |
| 23545 | ac_status=$? |
| 23546 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23547 | testscip-shell system . . test. $ac_status = 0; }; then |
| 23548 | pkg_cv_MYSQL_CFLAGS=`$PKG_CONFIG --cflags "mysqlclient" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 23549 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 23550 | else |
| 23551 | pkg_failed=yes |
| 23552 | fi |
| 23553 | else |
| 23554 | pkg_failed=untried |
| 23555 | fi |
| 23556 | if testscip-shell system . . test. -n "$MYSQL_LIBS"; then |
| 23557 | pkg_cv_MYSQL_LIBS="$MYSQL_LIBS" |
| 23558 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 23559 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 23560 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mysqlclient\""; } >&5 |
| 23561 | ($PKG_CONFIG --exists --print-errors "mysqlclient") 2>&5 |
| 23562 | ac_status=$? |
| 23563 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23564 | testscip-shell system . . test. $ac_status = 0; }; then |
| 23565 | pkg_cv_MYSQL_LIBS=`$PKG_CONFIG --libs "mysqlclient" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 23566 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 23567 | else |
| 23568 | pkg_failed=yes |
| 23569 | fi |
| 23570 | else |
| 23571 | pkg_failed=untried |
| 23572 | fi |
| 23573 | |
| 23574 | |
| 23575 | |
| 23576 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 23577 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23578 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23579 | |
| 23580 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 23581 | _pkg_short_errors_supported=yes |
| 23582 | else |
| 23583 | _pkg_short_errors_supported=no |
| 23584 | fi |
| 23585 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 23586 | MYSQL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mysqlclient" 2>&1` |
| 23587 | else |
| 23588 | MYSQL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mysqlclient" 2>&1` |
| 23589 | fi |
| 23590 | # Put the nasty error message in config.log where it belongs |
| 23591 | echoscip-shell system . . echo. "$MYSQL_PKG_ERRORS" >&5 |
| 23592 | |
| 23593 | |
| 23594 | # Extract the first word of "mysql_config", so it can be a program name with args. |
| 23595 | set dummy mysql_config; ac_word=$2 |
| 23596 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23597 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 23598 | if testscip-shell system . . test. ${ac_cv_prog_MYSQL_CONFIG+y} |
| 23599 | then : |
| 23600 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 23601 | else $as_nop |
| 23602 | if testscip-shell system . . test. -n "$MYSQL_CONFIG"; then |
| 23603 | ac_cv_prog_MYSQL_CONFIG="$MYSQL_CONFIG" # Let the user override the test. |
| 23604 | else |
| 23605 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23606 | for as_dir in $PATH |
| 23607 | do |
| 23608 | IFS=$as_save_IFS |
| 23609 | case $as_dir in #((( |
| 23610 | '') as_dir=./ ;; |
| 23611 | */) ;; |
| 23612 | *) as_dir=$as_dir/ ;; |
| 23613 | esac |
| 23614 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 23615 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 23616 | ac_cv_prog_MYSQL_CONFIG="mysql_config" |
| 23617 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23618 | break 2 |
| 23619 | fi |
| 23620 | done |
| 23621 | done |
| 23622 | IFS=$as_save_IFS |
| 23623 | |
| 23624 | testscip-shell system . . test. -z "$ac_cv_prog_MYSQL_CONFIG" && ac_cv_prog_MYSQL_CONFIG="no" |
| 23625 | fi |
| 23626 | fi |
| 23627 | MYSQL_CONFIG=$ac_cv_prog_MYSQL_CONFIG |
| 23628 | if testscip-shell system . . test. -n "$MYSQL_CONFIG"; then |
| 23629 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MYSQL_CONFIG" >&5 |
| 23630 | printfscip-shell system . . printf. "%s\n" "$MYSQL_CONFIG" >&6; } |
| 23631 | else |
| 23632 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23633 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23634 | fi |
| 23635 | |
| 23636 | |
| 23637 | if testscip-shell system . . test. "x${MYSQL_CONFIG}" = "xno" |
| 23638 | then : |
| 23639 | |
| 23640 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 23641 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 23642 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "mysql_config not found - usually a package named mysql-dev, libmysql-dev or similar, is missing - install it to fix this issue |
| 23643 | See \`config.log' for more details" "$LINENO" 5; } |
| 23644 | |
| 23645 | fi |
| 23646 | MYSQL_CFLAGS=`$MYSQL_CONFIG --cflags` |
| 23647 | MYSQL_LIBS=`$MYSQL_CONFIG --libs` |
| 23648 | |
| 23649 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 23650 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23651 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23652 | |
| 23653 | # Extract the first word of "mysql_config", so it can be a program name with args. |
| 23654 | set dummy mysql_config; ac_word=$2 |
| 23655 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23656 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 23657 | if testscip-shell system . . test. ${ac_cv_prog_MYSQL_CONFIG+y} |
| 23658 | then : |
| 23659 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 23660 | else $as_nop |
| 23661 | if testscip-shell system . . test. -n "$MYSQL_CONFIG"; then |
| 23662 | ac_cv_prog_MYSQL_CONFIG="$MYSQL_CONFIG" # Let the user override the test. |
| 23663 | else |
| 23664 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23665 | for as_dir in $PATH |
| 23666 | do |
| 23667 | IFS=$as_save_IFS |
| 23668 | case $as_dir in #((( |
| 23669 | '') as_dir=./ ;; |
| 23670 | */) ;; |
| 23671 | *) as_dir=$as_dir/ ;; |
| 23672 | esac |
| 23673 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 23674 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 23675 | ac_cv_prog_MYSQL_CONFIG="mysql_config" |
| 23676 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23677 | break 2 |
| 23678 | fi |
| 23679 | done |
| 23680 | done |
| 23681 | IFS=$as_save_IFS |
| 23682 | |
| 23683 | testscip-shell system . . test. -z "$ac_cv_prog_MYSQL_CONFIG" && ac_cv_prog_MYSQL_CONFIG="no" |
| 23684 | fi |
| 23685 | fi |
| 23686 | MYSQL_CONFIG=$ac_cv_prog_MYSQL_CONFIG |
| 23687 | if testscip-shell system . . test. -n "$MYSQL_CONFIG"; then |
| 23688 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MYSQL_CONFIG" >&5 |
| 23689 | printfscip-shell system . . printf. "%s\n" "$MYSQL_CONFIG" >&6; } |
| 23690 | else |
| 23691 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23692 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23693 | fi |
| 23694 | |
| 23695 | |
| 23696 | if testscip-shell system . . test. "x${MYSQL_CONFIG}" = "xno" |
| 23697 | then : |
| 23698 | |
| 23699 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 23700 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 23701 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "mysql_config not found - usually a package named mysql-dev, libmysql-dev or similar, is missing - install it to fix this issue |
| 23702 | See \`config.log' for more details" "$LINENO" 5; } |
| 23703 | |
| 23704 | fi |
| 23705 | MYSQL_CFLAGS=`$MYSQL_CONFIG --cflags` |
| 23706 | MYSQL_LIBS=`$MYSQL_CONFIG --libs` |
| 23707 | |
| 23708 | else |
| 23709 | MYSQL_CFLAGS=$pkg_cv_MYSQL_CFLAGS |
| 23710 | MYSQL_LIBS=$pkg_cv_MYSQL_LIBS |
| 23711 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 23712 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 23713 | |
| 23714 | fi |
| 23715 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we have mysql_library_init" >&5 |
| 23716 | printfscip-shell system . . printf. %s "checking if we have mysql_library_init... " >&6; } |
| 23717 | save_CFLAGS="$CFLAGS" |
| 23718 | CFLAGS="$CFLAGS $MYSQL_CFLAGS" |
| 23719 | save_LIBS="$LIBS" |
| 23720 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mysql_init in -lmysqlclient" >&5 |
| 23721 | printfscip-shell system . . printf. %s "checking for mysql_init in -lmysqlclient... " >&6; } |
| 23722 | if testscip-shell system . . test. ${ac_cv_lib_mysqlclient_mysql_init+y} |
| 23723 | then : |
| 23724 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 23725 | else $as_nop |
| 23726 | ac_check_lib_save_LIBS=$LIBS |
| 23727 | LIBS="-lmysqlclient $MYSQL_LIBS |
| 23728 | $LIBS" |
| 23729 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23730 | /* end confdefs.h. */ |
| 23731 | |
| 23732 | /* Override any GCC internal prototype to avoid an error. |
| 23733 | Use char because int might match the return type of a GCC |
| 23734 | builtin and then its argument prototype would still apply. */ |
| 23735 | char mysql_init (); |
| 23736 | int |
| 23737 | main (void) |
| 23738 | { |
| 23739 | return mysql_init (); |
| 23740 | ; |
| 23741 | return 0; |
| 23742 | } |
| 23743 | _ACEOF |
| 23744 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 23745 | then : |
| 23746 | ac_cv_lib_mysqlclient_mysql_init=yes |
| 23747 | else $as_nop |
| 23748 | ac_cv_lib_mysqlclient_mysql_init=no |
| 23749 | fi |
| 23750 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 23751 | conftest$ac_exeext conftest.$ac_ext |
| 23752 | LIBS=$ac_check_lib_save_LIBS |
| 23753 | fi |
| 23754 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mysqlclient_mysql_init" >&5 |
| 23755 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_mysqlclient_mysql_init" >&6; } |
| 23756 | if testscip-shell system . . test. "x$ac_cv_lib_mysqlclient_mysql_init" = xyes |
| 23757 | then : |
| 23758 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LIBMYSQLCLIENT 1" >>confdefs.h |
| 23759 | |
| 23760 | LIBS="-lmysqlclient $LIBS" |
| 23761 | |
| 23762 | else $as_nop |
| 23763 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 23764 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 23765 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "MySQL library is missing |
| 23766 | See \`config.log' for more details" "$LINENO" 5; } |
| 23767 | fi |
| 23768 | |
| 23769 | LIBS="$LIBS $MYSQL_LIBS" |
| 23770 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23771 | /* end confdefs.h. */ |
| 23772 | #include <mysql.h> |
| 23773 | #include <stdio.h> |
| 23774 | int |
| 23775 | main (void) |
| 23776 | { |
| 23777 | mysql_library_init(0, NULL, NULL) |
| 23778 | ; |
| 23779 | return 0; |
| 23780 | } |
| 23781 | _ACEOF |
| 23782 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 23783 | then : |
| 23784 | have_mysql_library_init=yes |
| 23785 | else $as_nop |
| 23786 | have_mysql_library_init=no |
| 23787 | fi |
| 23788 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 23789 | conftest$ac_exeext conftest.$ac_ext |
| 23790 | CFLAGS="$save_CFLAGS" |
| 23791 | LIBS="$save_LIBS" |
| 23792 | |
| 23793 | fi |
| 23794 | if testscip-shell system . . test. x$enable_mysql = xyes; then |
| 23795 | ENABLE_MYSQL_TRUE= |
| 23796 | ENABLE_MYSQL_FALSE='#' |
| 23797 | else |
| 23798 | ENABLE_MYSQL_TRUE='#' |
| 23799 | ENABLE_MYSQL_FALSE= |
| 23800 | fi |
| 23801 | |
| 23802 | if testscip-shell system . . test. "$have_mysql_library_init" = "yes"; then |
| 23803 | |
| 23804 | printfscip-shell system . . printf. "%s\n" "#define HAVE_MYSQL_LIBRARY_INIT 1" >>confdefs.h |
| 23805 | |
| 23806 | fi |
| 23807 | |
| 23808 | |
| 23809 | |
| 23810 | |
| 23811 | # PostgreSQL support |
| 23812 | # Check whether --enable-pgsql was given. |
| 23813 | if testscip-shell system . . test. ${enable_pgsql+y} |
| 23814 | then : |
| 23815 | enableval=$enable_pgsql; case "${enableval}" in |
| 23816 | yes) enable_pgsql="yes" ;; |
| 23817 | no) enable_pgsql="no" ;; |
| 23818 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-pgsql" "$LINENO" 5 ;; |
| 23819 | esac |
| 23820 | else $as_nop |
| 23821 | enable_pgsql=no |
| 23822 | |
| 23823 | fi |
| 23824 | |
| 23825 | if testscip-shell system . . test. "x$enable_pgsql" = "xyes"; then |
| 23826 | |
| 23827 | pkg_failed=no |
| 23828 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libpq" >&5 |
| 23829 | printfscip-shell system . . printf. %s "checking for libpq... " >&6; } |
| 23830 | |
| 23831 | if testscip-shell system . . test. -n "$PGSQL_CFLAGS"; then |
| 23832 | pkg_cv_PGSQL_CFLAGS="$PGSQL_CFLAGS" |
| 23833 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 23834 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 23835 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpq\""; } >&5 |
| 23836 | ($PKG_CONFIG --exists --print-errors "libpq") 2>&5 |
| 23837 | ac_status=$? |
| 23838 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23839 | testscip-shell system . . test. $ac_status = 0; }; then |
| 23840 | pkg_cv_PGSQL_CFLAGS=`$PKG_CONFIG --cflags "libpq" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 23841 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 23842 | else |
| 23843 | pkg_failed=yes |
| 23844 | fi |
| 23845 | else |
| 23846 | pkg_failed=untried |
| 23847 | fi |
| 23848 | if testscip-shell system . . test. -n "$PGSQL_LIBS"; then |
| 23849 | pkg_cv_PGSQL_LIBS="$PGSQL_LIBS" |
| 23850 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 23851 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 23852 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpq\""; } >&5 |
| 23853 | ($PKG_CONFIG --exists --print-errors "libpq") 2>&5 |
| 23854 | ac_status=$? |
| 23855 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23856 | testscip-shell system . . test. $ac_status = 0; }; then |
| 23857 | pkg_cv_PGSQL_LIBS=`$PKG_CONFIG --libs "libpq" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 23858 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 23859 | else |
| 23860 | pkg_failed=yes |
| 23861 | fi |
| 23862 | else |
| 23863 | pkg_failed=untried |
| 23864 | fi |
| 23865 | |
| 23866 | |
| 23867 | |
| 23868 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 23869 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23870 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23871 | |
| 23872 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 23873 | _pkg_short_errors_supported=yes |
| 23874 | else |
| 23875 | _pkg_short_errors_supported=no |
| 23876 | fi |
| 23877 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 23878 | PGSQL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpq" 2>&1` |
| 23879 | else |
| 23880 | PGSQL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpq" 2>&1` |
| 23881 | fi |
| 23882 | # Put the nasty error message in config.log where it belongs |
| 23883 | echoscip-shell system . . echo. "$PGSQL_PKG_ERRORS" >&5 |
| 23884 | |
| 23885 | |
| 23886 | # Extract the first word of "pg_config", so it can be a program name with args. |
| 23887 | set dummy pg_config; ac_word=$2 |
| 23888 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23889 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 23890 | if testscip-shell system . . test. ${ac_cv_prog_PG_CONFIG+y} |
| 23891 | then : |
| 23892 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 23893 | else $as_nop |
| 23894 | if testscip-shell system . . test. -n "$PG_CONFIG"; then |
| 23895 | ac_cv_prog_PG_CONFIG="$PG_CONFIG" # Let the user override the test. |
| 23896 | else |
| 23897 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23898 | for as_dir in $PATH |
| 23899 | do |
| 23900 | IFS=$as_save_IFS |
| 23901 | case $as_dir in #((( |
| 23902 | '') as_dir=./ ;; |
| 23903 | */) ;; |
| 23904 | *) as_dir=$as_dir/ ;; |
| 23905 | esac |
| 23906 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 23907 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 23908 | ac_cv_prog_PG_CONFIG="pg_config" |
| 23909 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23910 | break 2 |
| 23911 | fi |
| 23912 | done |
| 23913 | done |
| 23914 | IFS=$as_save_IFS |
| 23915 | |
| 23916 | testscip-shell system . . test. -z "$ac_cv_prog_PG_CONFIG" && ac_cv_prog_PG_CONFIG="no" |
| 23917 | fi |
| 23918 | fi |
| 23919 | PG_CONFIG=$ac_cv_prog_PG_CONFIG |
| 23920 | if testscip-shell system . . test. -n "$PG_CONFIG"; then |
| 23921 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5 |
| 23922 | printfscip-shell system . . printf. "%s\n" "$PG_CONFIG" >&6; } |
| 23923 | else |
| 23924 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23925 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23926 | fi |
| 23927 | |
| 23928 | |
| 23929 | if testscip-shell system . . test. "x${PG_CONFIG}" = "xno"; then |
| 23930 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 23931 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 23932 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "pg_config not found |
| 23933 | See \`config.log' for more details" "$LINENO" 5; } |
| 23934 | fi |
| 23935 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PQconnectdb in -lpq" >&5 |
| 23936 | printfscip-shell system . . printf. %s "checking for PQconnectdb in -lpq... " >&6; } |
| 23937 | if testscip-shell system . . test. ${ac_cv_lib_pq_PQconnectdb+y} |
| 23938 | then : |
| 23939 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 23940 | else $as_nop |
| 23941 | ac_check_lib_save_LIBS=$LIBS |
| 23942 | LIBS="-lpq -L`$PG_CONFIG --libdir` |
| 23943 | $LIBS" |
| 23944 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 23945 | /* end confdefs.h. */ |
| 23946 | |
| 23947 | /* Override any GCC internal prototype to avoid an error. |
| 23948 | Use char because int might match the return type of a GCC |
| 23949 | builtin and then its argument prototype would still apply. */ |
| 23950 | char PQconnectdb (); |
| 23951 | int |
| 23952 | main (void) |
| 23953 | { |
| 23954 | return PQconnectdb (); |
| 23955 | ; |
| 23956 | return 0; |
| 23957 | } |
| 23958 | _ACEOF |
| 23959 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 23960 | then : |
| 23961 | ac_cv_lib_pq_PQconnectdb=yes |
| 23962 | else $as_nop |
| 23963 | ac_cv_lib_pq_PQconnectdb=no |
| 23964 | fi |
| 23965 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 23966 | conftest$ac_exeext conftest.$ac_ext |
| 23967 | LIBS=$ac_check_lib_save_LIBS |
| 23968 | fi |
| 23969 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQconnectdb" >&5 |
| 23970 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_pq_PQconnectdb" >&6; } |
| 23971 | if testscip-shell system . . test. "x$ac_cv_lib_pq_PQconnectdb" = xyes |
| 23972 | then : |
| 23973 | PGSQL_CFLAGS="-I`$PG_CONFIG --includedir`" |
| 23974 | PGSQL_LIBS="-L`$PG_CONFIG --libdir` -lpq" |
| 23975 | |
| 23976 | else $as_nop |
| 23977 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 23978 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 23979 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "PgSQL library is missing |
| 23980 | See \`config.log' for more details" "$LINENO" 5; } |
| 23981 | fi |
| 23982 | |
| 23983 | |
| 23984 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 23985 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23986 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 23987 | |
| 23988 | # Extract the first word of "pg_config", so it can be a program name with args. |
| 23989 | set dummy pg_config; ac_word=$2 |
| 23990 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23991 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 23992 | if testscip-shell system . . test. ${ac_cv_prog_PG_CONFIG+y} |
| 23993 | then : |
| 23994 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 23995 | else $as_nop |
| 23996 | if testscip-shell system . . test. -n "$PG_CONFIG"; then |
| 23997 | ac_cv_prog_PG_CONFIG="$PG_CONFIG" # Let the user override the test. |
| 23998 | else |
| 23999 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 24000 | for as_dir in $PATH |
| 24001 | do |
| 24002 | IFS=$as_save_IFS |
| 24003 | case $as_dir in #((( |
| 24004 | '') as_dir=./ ;; |
| 24005 | */) ;; |
| 24006 | *) as_dir=$as_dir/ ;; |
| 24007 | esac |
| 24008 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 24009 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 24010 | ac_cv_prog_PG_CONFIG="pg_config" |
| 24011 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 24012 | break 2 |
| 24013 | fi |
| 24014 | done |
| 24015 | done |
| 24016 | IFS=$as_save_IFS |
| 24017 | |
| 24018 | testscip-shell system . . test. -z "$ac_cv_prog_PG_CONFIG" && ac_cv_prog_PG_CONFIG="no" |
| 24019 | fi |
| 24020 | fi |
| 24021 | PG_CONFIG=$ac_cv_prog_PG_CONFIG |
| 24022 | if testscip-shell system . . test. -n "$PG_CONFIG"; then |
| 24023 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5 |
| 24024 | printfscip-shell system . . printf. "%s\n" "$PG_CONFIG" >&6; } |
| 24025 | else |
| 24026 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 24027 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 24028 | fi |
| 24029 | |
| 24030 | |
| 24031 | if testscip-shell system . . test. "x${PG_CONFIG}" = "xno"; then |
| 24032 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 24033 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 24034 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "pg_config not found |
| 24035 | See \`config.log' for more details" "$LINENO" 5; } |
| 24036 | fi |
| 24037 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PQconnectdb in -lpq" >&5 |
| 24038 | printfscip-shell system . . printf. %s "checking for PQconnectdb in -lpq... " >&6; } |
| 24039 | if testscip-shell system . . test. ${ac_cv_lib_pq_PQconnectdb+y} |
| 24040 | then : |
| 24041 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 24042 | else $as_nop |
| 24043 | ac_check_lib_save_LIBS=$LIBS |
| 24044 | LIBS="-lpq -L`$PG_CONFIG --libdir` |
| 24045 | $LIBS" |
| 24046 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24047 | /* end confdefs.h. */ |
| 24048 | |
| 24049 | /* Override any GCC internal prototype to avoid an error. |
| 24050 | Use char because int might match the return type of a GCC |
| 24051 | builtin and then its argument prototype would still apply. */ |
| 24052 | char PQconnectdb (); |
| 24053 | int |
| 24054 | main (void) |
| 24055 | { |
| 24056 | return PQconnectdb (); |
| 24057 | ; |
| 24058 | return 0; |
| 24059 | } |
| 24060 | _ACEOF |
| 24061 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 24062 | then : |
| 24063 | ac_cv_lib_pq_PQconnectdb=yes |
| 24064 | else $as_nop |
| 24065 | ac_cv_lib_pq_PQconnectdb=no |
| 24066 | fi |
| 24067 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 24068 | conftest$ac_exeext conftest.$ac_ext |
| 24069 | LIBS=$ac_check_lib_save_LIBS |
| 24070 | fi |
| 24071 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQconnectdb" >&5 |
| 24072 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_pq_PQconnectdb" >&6; } |
| 24073 | if testscip-shell system . . test. "x$ac_cv_lib_pq_PQconnectdb" = xyes |
| 24074 | then : |
| 24075 | PGSQL_CFLAGS="-I`$PG_CONFIG --includedir`" |
| 24076 | PGSQL_LIBS="-L`$PG_CONFIG --libdir` -lpq" |
| 24077 | |
| 24078 | else $as_nop |
| 24079 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 24080 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 24081 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "PgSQL library is missing |
| 24082 | See \`config.log' for more details" "$LINENO" 5; } |
| 24083 | fi |
| 24084 | |
| 24085 | |
| 24086 | else |
| 24087 | PGSQL_CFLAGS=$pkg_cv_PGSQL_CFLAGS |
| 24088 | PGSQL_LIBS=$pkg_cv_PGSQL_LIBS |
| 24089 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 24090 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 24091 | |
| 24092 | fi |
| 24093 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PGsslInUse in -lpq" >&5 |
| 24094 | printfscip-shell system . . printf. %s "checking for PGsslInUse in -lpq... " >&6; } |
| 24095 | if testscip-shell system . . test. ${ac_cv_lib_pq_PGsslInUse+y} |
| 24096 | then : |
| 24097 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 24098 | else $as_nop |
| 24099 | ac_check_lib_save_LIBS=$LIBS |
| 24100 | LIBS="-lpq $LIBS" |
| 24101 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24102 | /* end confdefs.h. */ |
| 24103 | |
| 24104 | /* Override any GCC internal prototype to avoid an error. |
| 24105 | Use char because int might match the return type of a GCC |
| 24106 | builtin and then its argument prototype would still apply. */ |
| 24107 | char PGsslInUse (); |
| 24108 | int |
| 24109 | main (void) |
| 24110 | { |
| 24111 | return PGsslInUse (); |
| 24112 | ; |
| 24113 | return 0; |
| 24114 | } |
| 24115 | _ACEOF |
| 24116 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 24117 | then : |
| 24118 | ac_cv_lib_pq_PGsslInUse=yes |
| 24119 | else $as_nop |
| 24120 | ac_cv_lib_pq_PGsslInUse=no |
| 24121 | fi |
| 24122 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 24123 | conftest$ac_exeext conftest.$ac_ext |
| 24124 | LIBS=$ac_check_lib_save_LIBS |
| 24125 | fi |
| 24126 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PGsslInUse" >&5 |
| 24127 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_pq_PGsslInUse" >&6; } |
| 24128 | if testscip-shell system . . test. "x$ac_cv_lib_pq_PGsslInUse" = xyes |
| 24129 | then : |
| 24130 | |
| 24131 | printfscip-shell system . . printf. "%s\n" "#define HAVE_PGSSLINUSE 1" >>confdefs.h |
| 24132 | |
| 24133 | |
| 24134 | fi |
| 24135 | |
| 24136 | fi |
| 24137 | if testscip-shell system . . test. x$enable_pgsql = xyes; then |
| 24138 | ENABLE_PGSQL_TRUE= |
| 24139 | ENABLE_PGSQL_FALSE='#' |
| 24140 | else |
| 24141 | ENABLE_PGSQL_TRUE='#' |
| 24142 | ENABLE_PGSQL_FALSE= |
| 24143 | fi |
| 24144 | |
| 24145 | |
| 24146 | |
| 24147 | |
| 24148 | # libdbi support |
| 24149 | # Check whether --enable-libdbi was given. |
| 24150 | if testscip-shell system . . test. ${enable_libdbi+y} |
| 24151 | then : |
| 24152 | enableval=$enable_libdbi; case "${enableval}" in |
| 24153 | yes) enable_libdbi="yes" ;; |
| 24154 | no) enable_libdbi="no" ;; |
| 24155 | optional) enable_libdbi="optional" ;; |
| 24156 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-libdbi" "$LINENO" 5 ;; |
| 24157 | esac |
| 24158 | else $as_nop |
| 24159 | enable_libdbi=no |
| 24160 | |
| 24161 | fi |
| 24162 | |
| 24163 | libdbi_use_dummy="no" |
| 24164 | if testscip-shell system . . test. "x$enable_libdbi" = "xyes" -o x$enable_libdbi = xoptional; then |
| 24165 | for ac_header in dbi/dbi.h |
| 24166 | do : |
| 24167 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "dbi/dbi.h" "ac_cv_header_dbi_dbi_h" "$ac_includes_default" |
| 24168 | if testscip-shell system . . test. "x$ac_cv_header_dbi_dbi_h" = xyes |
| 24169 | then : |
| 24170 | printfscip-shell system . . printf. "%s\n" "#define HAVE_DBI_DBI_H 1" >>confdefs.h |
| 24171 | |
| 24172 | else $as_nop |
| 24173 | |
| 24174 | if testscip-shell system . . test. x$enable_libdbi = xyes |
| 24175 | then : |
| 24176 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 24177 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 24178 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libdbi is missing |
| 24179 | See \`config.log' for more details" "$LINENO" 5; } |
| 24180 | |
| 24181 | fi |
| 24182 | libdbi_use_dummy="yes" |
| 24183 | |
| 24184 | |
| 24185 | fi |
| 24186 | |
| 24187 | done |
| 24188 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dbi_initialize in -ldbi" >&5 |
| 24189 | printfscip-shell system . . printf. %s "checking for dbi_initialize in -ldbi... " >&6; } |
| 24190 | if testscip-shell system . . test. ${ac_cv_lib_dbi_dbi_initialize+y} |
| 24191 | then : |
| 24192 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 24193 | else $as_nop |
| 24194 | ac_check_lib_save_LIBS=$LIBS |
| 24195 | LIBS="-ldbi $LIBS" |
| 24196 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24197 | /* end confdefs.h. */ |
| 24198 | |
| 24199 | /* Override any GCC internal prototype to avoid an error. |
| 24200 | Use char because int might match the return type of a GCC |
| 24201 | builtin and then its argument prototype would still apply. */ |
| 24202 | char dbi_initialize (); |
| 24203 | int |
| 24204 | main (void) |
| 24205 | { |
| 24206 | return dbi_initialize (); |
| 24207 | ; |
| 24208 | return 0; |
| 24209 | } |
| 24210 | _ACEOF |
| 24211 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 24212 | then : |
| 24213 | ac_cv_lib_dbi_dbi_initialize=yes |
| 24214 | else $as_nop |
| 24215 | ac_cv_lib_dbi_dbi_initialize=no |
| 24216 | fi |
| 24217 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 24218 | conftest$ac_exeext conftest.$ac_ext |
| 24219 | LIBS=$ac_check_lib_save_LIBS |
| 24220 | fi |
| 24221 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbi_dbi_initialize" >&5 |
| 24222 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dbi_dbi_initialize" >&6; } |
| 24223 | if testscip-shell system . . test. "x$ac_cv_lib_dbi_dbi_initialize" = xyes |
| 24224 | then : |
| 24225 | LIBDBI_CFLAGS="" |
| 24226 | LIBDBI_LIBS="-ldbi" |
| 24227 | |
| 24228 | else $as_nop |
| 24229 | |
| 24230 | if testscip-shell system . . test. x$enable_libdbi = xyes |
| 24231 | then : |
| 24232 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 24233 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 24234 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libdbi is missing |
| 24235 | See \`config.log' for more details" "$LINENO" 5; } |
| 24236 | |
| 24237 | fi |
| 24238 | libdbi_use_dummy="yes" |
| 24239 | |
| 24240 | |
| 24241 | fi |
| 24242 | |
| 24243 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dbi_initialize_r in -ldbi" >&5 |
| 24244 | printfscip-shell system . . printf. %s "checking for dbi_initialize_r in -ldbi... " >&6; } |
| 24245 | if testscip-shell system . . test. ${ac_cv_lib_dbi_dbi_initialize_r+y} |
| 24246 | then : |
| 24247 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 24248 | else $as_nop |
| 24249 | ac_check_lib_save_LIBS=$LIBS |
| 24250 | LIBS="-ldbi $LIBS" |
| 24251 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24252 | /* end confdefs.h. */ |
| 24253 | |
| 24254 | /* Override any GCC internal prototype to avoid an error. |
| 24255 | Use char because int might match the return type of a GCC |
| 24256 | builtin and then its argument prototype would still apply. */ |
| 24257 | char dbi_initialize_r (); |
| 24258 | int |
| 24259 | main (void) |
| 24260 | { |
| 24261 | return dbi_initialize_r (); |
| 24262 | ; |
| 24263 | return 0; |
| 24264 | } |
| 24265 | _ACEOF |
| 24266 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 24267 | then : |
| 24268 | ac_cv_lib_dbi_dbi_initialize_r=yes |
| 24269 | else $as_nop |
| 24270 | ac_cv_lib_dbi_dbi_initialize_r=no |
| 24271 | fi |
| 24272 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 24273 | conftest$ac_exeext conftest.$ac_ext |
| 24274 | LIBS=$ac_check_lib_save_LIBS |
| 24275 | fi |
| 24276 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbi_dbi_initialize_r" >&5 |
| 24277 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dbi_dbi_initialize_r" >&6; } |
| 24278 | if testscip-shell system . . test. "x$ac_cv_lib_dbi_dbi_initialize_r" = xyes |
| 24279 | then : |
| 24280 | |
| 24281 | printfscip-shell system . . printf. "%s\n" "#define HAVE_DBI_R 1" >>confdefs.h |
| 24282 | |
| 24283 | |
| 24284 | fi |
| 24285 | |
| 24286 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dbi_conn_transaction_begin in -ldbi" >&5 |
| 24287 | printfscip-shell system . . printf. %s "checking for dbi_conn_transaction_begin in -ldbi... " >&6; } |
| 24288 | if testscip-shell system . . test. ${ac_cv_lib_dbi_dbi_conn_transaction_begin+y} |
| 24289 | then : |
| 24290 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 24291 | else $as_nop |
| 24292 | ac_check_lib_save_LIBS=$LIBS |
| 24293 | LIBS="-ldbi $LIBS" |
| 24294 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24295 | /* end confdefs.h. */ |
| 24296 | |
| 24297 | /* Override any GCC internal prototype to avoid an error. |
| 24298 | Use char because int might match the return type of a GCC |
| 24299 | builtin and then its argument prototype would still apply. */ |
| 24300 | char dbi_conn_transaction_begin (); |
| 24301 | int |
| 24302 | main (void) |
| 24303 | { |
| 24304 | return dbi_conn_transaction_begin (); |
| 24305 | ; |
| 24306 | return 0; |
| 24307 | } |
| 24308 | _ACEOF |
| 24309 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 24310 | then : |
| 24311 | ac_cv_lib_dbi_dbi_conn_transaction_begin=yes |
| 24312 | else $as_nop |
| 24313 | ac_cv_lib_dbi_dbi_conn_transaction_begin=no |
| 24314 | fi |
| 24315 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 24316 | conftest$ac_exeext conftest.$ac_ext |
| 24317 | LIBS=$ac_check_lib_save_LIBS |
| 24318 | fi |
| 24319 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbi_dbi_conn_transaction_begin" >&5 |
| 24320 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dbi_dbi_conn_transaction_begin" >&6; } |
| 24321 | if testscip-shell system . . test. "x$ac_cv_lib_dbi_dbi_conn_transaction_begin" = xyes |
| 24322 | then : |
| 24323 | |
| 24324 | printfscip-shell system . . printf. "%s\n" "#define HAVE_DBI_TXSUPP 1" >>confdefs.h |
| 24325 | |
| 24326 | |
| 24327 | fi |
| 24328 | |
| 24329 | fi |
| 24330 | if testscip-shell system . . test. x$libdbi_use_dummy = xyes; then |
| 24331 | LIBDBI_USE_DUMMY_TRUE= |
| 24332 | LIBDBI_USE_DUMMY_FALSE='#' |
| 24333 | else |
| 24334 | LIBDBI_USE_DUMMY_TRUE='#' |
| 24335 | LIBDBI_USE_DUMMY_FALSE= |
| 24336 | fi |
| 24337 | |
| 24338 | if testscip-shell system . . test. x$enable_libdbi = xyes -o x$enable_libdbi = xoptional; then |
| 24339 | ENABLE_OMLIBDBI_TRUE= |
| 24340 | ENABLE_OMLIBDBI_FALSE='#' |
| 24341 | else |
| 24342 | ENABLE_OMLIBDBI_TRUE='#' |
| 24343 | ENABLE_OMLIBDBI_FALSE= |
| 24344 | fi |
| 24345 | |
| 24346 | |
| 24347 | |
| 24348 | |
| 24349 | |
| 24350 | # SNMP support |
| 24351 | # Check whether --enable-snmp was given. |
| 24352 | if testscip-shell system . . test. ${enable_snmp+y} |
| 24353 | then : |
| 24354 | enableval=$enable_snmp; case "${enableval}" in |
| 24355 | yes) enable_snmp="yes" ;; |
| 24356 | no) enable_snmp="no" ;; |
| 24357 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-snmp" "$LINENO" 5 ;; |
| 24358 | esac |
| 24359 | else $as_nop |
| 24360 | enable_snmp=no |
| 24361 | |
| 24362 | fi |
| 24363 | |
| 24364 | if testscip-shell system . . test. "x$enable_snmp" = "xyes"; then |
| 24365 | for ac_header in net-snmp/net-snmp-config.h |
| 24366 | do : |
| 24367 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "net-snmp/net-snmp-config.h" "ac_cv_header_net_snmp_net_snmp_config_h" "$ac_includes_default" |
| 24368 | if testscip-shell system . . test. "x$ac_cv_header_net_snmp_net_snmp_config_h" = xyes |
| 24369 | then : |
| 24370 | printfscip-shell system . . printf. "%s\n" "#define HAVE_NET_SNMP_NET_SNMP_CONFIG_H 1" >>confdefs.h |
| 24371 | |
| 24372 | else $as_nop |
| 24373 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 24374 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 24375 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Net-SNMP is missing |
| 24376 | See \`config.log' for more details" "$LINENO" 5; } |
| 24377 | |
| 24378 | fi |
| 24379 | |
| 24380 | done |
| 24381 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snmp_timeout in -lnetsnmp" >&5 |
| 24382 | printfscip-shell system . . printf. %s "checking for snmp_timeout in -lnetsnmp... " >&6; } |
| 24383 | if testscip-shell system . . test. ${ac_cv_lib_netsnmp_snmp_timeout+y} |
| 24384 | then : |
| 24385 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 24386 | else $as_nop |
| 24387 | ac_check_lib_save_LIBS=$LIBS |
| 24388 | LIBS="-lnetsnmp $LIBS" |
| 24389 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24390 | /* end confdefs.h. */ |
| 24391 | |
| 24392 | /* Override any GCC internal prototype to avoid an error. |
| 24393 | Use char because int might match the return type of a GCC |
| 24394 | builtin and then its argument prototype would still apply. */ |
| 24395 | char snmp_timeout (); |
| 24396 | int |
| 24397 | main (void) |
| 24398 | { |
| 24399 | return snmp_timeout (); |
| 24400 | ; |
| 24401 | return 0; |
| 24402 | } |
| 24403 | _ACEOF |
| 24404 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 24405 | then : |
| 24406 | ac_cv_lib_netsnmp_snmp_timeout=yes |
| 24407 | else $as_nop |
| 24408 | ac_cv_lib_netsnmp_snmp_timeout=no |
| 24409 | fi |
| 24410 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 24411 | conftest$ac_exeext conftest.$ac_ext |
| 24412 | LIBS=$ac_check_lib_save_LIBS |
| 24413 | fi |
| 24414 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_netsnmp_snmp_timeout" >&5 |
| 24415 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_netsnmp_snmp_timeout" >&6; } |
| 24416 | if testscip-shell system . . test. "x$ac_cv_lib_netsnmp_snmp_timeout" = xyes |
| 24417 | then : |
| 24418 | SNMP_CFLAGS="" |
| 24419 | SNMP_LIBS="-lnetsnmp" |
| 24420 | |
| 24421 | else $as_nop |
| 24422 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 24423 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 24424 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Net-SNMP library is missing |
| 24425 | See \`config.log' for more details" "$LINENO" 5; } |
| 24426 | |
| 24427 | fi |
| 24428 | |
| 24429 | fi |
| 24430 | if testscip-shell system . . test. x$enable_snmp = xyes; then |
| 24431 | ENABLE_SNMP_TRUE= |
| 24432 | ENABLE_SNMP_FALSE='#' |
| 24433 | else |
| 24434 | ENABLE_SNMP_TRUE='#' |
| 24435 | ENABLE_SNMP_FALSE= |
| 24436 | fi |
| 24437 | |
| 24438 | |
| 24439 | |
| 24440 | |
| 24441 | # SNMP Test Support |
| 24442 | # Check whether --enable-snmp-tests was given. |
| 24443 | if testscip-shell system . . test. ${enable_snmp_tests+y} |
| 24444 | then : |
| 24445 | enableval=$enable_snmp_tests; case "${enableval}" in |
| 24446 | yes) enable_snmp_tests="yes" ;; |
| 24447 | no) enable_snmp_tests="no" ;; |
| 24448 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-snmp-tests" "$LINENO" 5 ;; |
| 24449 | esac |
| 24450 | else $as_nop |
| 24451 | enable_snmp_tests=no |
| 24452 | |
| 24453 | fi |
| 24454 | |
| 24455 | if testscip-shell system . . test. x$enable_snmp_tests = xyes; then |
| 24456 | ENABLE_SNMP_TESTS_TRUE= |
| 24457 | ENABLE_SNMP_TESTS_FALSE='#' |
| 24458 | else |
| 24459 | ENABLE_SNMP_TESTS_TRUE='#' |
| 24460 | ENABLE_SNMP_TESTS_FALSE= |
| 24461 | fi |
| 24462 | |
| 24463 | |
| 24464 | # uuid support |
| 24465 | # Check whether --enable-uuid was given. |
| 24466 | if testscip-shell system . . test. ${enable_uuid+y} |
| 24467 | then : |
| 24468 | enableval=$enable_uuid; case "${enableval}" in |
| 24469 | yes) enable_uuid="yes" ;; |
| 24470 | no) enable_uuid="no" ;; |
| 24471 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-uuid" "$LINENO" 5 ;; |
| 24472 | esac |
| 24473 | else $as_nop |
| 24474 | enable_uuid=yes |
| 24475 | |
| 24476 | fi |
| 24477 | |
| 24478 | if testscip-shell system . . test. "x$enable_uuid" = "xyes"; then |
| 24479 | |
| 24480 | pkg_failed=no |
| 24481 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid" >&5 |
| 24482 | printfscip-shell system . . printf. %s "checking for uuid... " >&6; } |
| 24483 | |
| 24484 | if testscip-shell system . . test. -n "$LIBUUID_CFLAGS"; then |
| 24485 | pkg_cv_LIBUUID_CFLAGS="$LIBUUID_CFLAGS" |
| 24486 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 24487 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 24488 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5 |
| 24489 | ($PKG_CONFIG --exists --print-errors "uuid") 2>&5 |
| 24490 | ac_status=$? |
| 24491 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 24492 | testscip-shell system . . test. $ac_status = 0; }; then |
| 24493 | pkg_cv_LIBUUID_CFLAGS=`$PKG_CONFIG --cflags "uuid" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 24494 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 24495 | else |
| 24496 | pkg_failed=yes |
| 24497 | fi |
| 24498 | else |
| 24499 | pkg_failed=untried |
| 24500 | fi |
| 24501 | if testscip-shell system . . test. -n "$LIBUUID_LIBS"; then |
| 24502 | pkg_cv_LIBUUID_LIBS="$LIBUUID_LIBS" |
| 24503 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 24504 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 24505 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5 |
| 24506 | ($PKG_CONFIG --exists --print-errors "uuid") 2>&5 |
| 24507 | ac_status=$? |
| 24508 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 24509 | testscip-shell system . . test. $ac_status = 0; }; then |
| 24510 | pkg_cv_LIBUUID_LIBS=`$PKG_CONFIG --libs "uuid" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 24511 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 24512 | else |
| 24513 | pkg_failed=yes |
| 24514 | fi |
| 24515 | else |
| 24516 | pkg_failed=untried |
| 24517 | fi |
| 24518 | |
| 24519 | |
| 24520 | |
| 24521 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 24522 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 24523 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 24524 | |
| 24525 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 24526 | _pkg_short_errors_supported=yes |
| 24527 | else |
| 24528 | _pkg_short_errors_supported=no |
| 24529 | fi |
| 24530 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 24531 | LIBUUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid" 2>&1` |
| 24532 | else |
| 24533 | LIBUUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid" 2>&1` |
| 24534 | fi |
| 24535 | # Put the nasty error message in config.log where it belongs |
| 24536 | echoscip-shell system . . echo. "$LIBUUID_PKG_ERRORS" >&5 |
| 24537 | |
| 24538 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (uuid) were not met: |
| 24539 | |
| 24540 | $LIBUUID_PKG_ERRORS |
| 24541 | |
| 24542 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 24543 | installed software in a non-standard prefix. |
| 24544 | |
| 24545 | Alternatively, you may set the environment variables LIBUUID_CFLAGS |
| 24546 | and LIBUUID_LIBS to avoid the need to call pkg-config. |
| 24547 | See the pkg-config man page for more details." "$LINENO" 5 |
| 24548 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 24549 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 24550 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 24551 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 24552 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 24553 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 24554 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 24555 | path to pkg-config. |
| 24556 | |
| 24557 | Alternatively, you may set the environment variables LIBUUID_CFLAGS |
| 24558 | and LIBUUID_LIBS to avoid the need to call pkg-config. |
| 24559 | See the pkg-config man page for more details. |
| 24560 | |
| 24561 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 24562 | See \`config.log' for more details" "$LINENO" 5; } |
| 24563 | else |
| 24564 | LIBUUID_CFLAGS=$pkg_cv_LIBUUID_CFLAGS |
| 24565 | LIBUUID_LIBS=$pkg_cv_LIBUUID_LIBS |
| 24566 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 24567 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 24568 | |
| 24569 | fi |
| 24570 | |
| 24571 | printfscip-shell system . . printf. "%s\n" "#define USE_LIBUUID 1" >>confdefs.h |
| 24572 | |
| 24573 | fi |
| 24574 | if testscip-shell system . . test. x$enable_uuid = xyes; then |
| 24575 | ENABLE_UUID_TRUE= |
| 24576 | ENABLE_UUID_FALSE='#' |
| 24577 | else |
| 24578 | ENABLE_UUID_TRUE='#' |
| 24579 | ENABLE_UUID_FALSE= |
| 24580 | fi |
| 24581 | |
| 24582 | |
| 24583 | |
| 24584 | # elasticsearch support |
| 24585 | # Check whether --enable-elasticsearch was given. |
| 24586 | if testscip-shell system . . test. ${enable_elasticsearch+y} |
| 24587 | then : |
| 24588 | enableval=$enable_elasticsearch; case "${enableval}" in |
| 24589 | yes) enable_elasticsearch="yes" ;; |
| 24590 | no) enable_elasticsearch="no" ;; |
| 24591 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-elasticsearch" "$LINENO" 5 ;; |
| 24592 | esac |
| 24593 | else $as_nop |
| 24594 | enable_elasticsearch=no |
| 24595 | |
| 24596 | fi |
| 24597 | |
| 24598 | if testscip-shell system . . test. "x$enable_elasticsearch" = "xyes"; then |
| 24599 | |
| 24600 | pkg_failed=no |
| 24601 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5 |
| 24602 | printfscip-shell system . . printf. %s "checking for libcurl... " >&6; } |
| 24603 | |
| 24604 | if testscip-shell system . . test. -n "$CURL_CFLAGS"; then |
| 24605 | pkg_cv_CURL_CFLAGS="$CURL_CFLAGS" |
| 24606 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 24607 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 24608 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 |
| 24609 | ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
| 24610 | ac_status=$? |
| 24611 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 24612 | testscip-shell system . . test. $ac_status = 0; }; then |
| 24613 | pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 24614 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 24615 | else |
| 24616 | pkg_failed=yes |
| 24617 | fi |
| 24618 | else |
| 24619 | pkg_failed=untried |
| 24620 | fi |
| 24621 | if testscip-shell system . . test. -n "$CURL_LIBS"; then |
| 24622 | pkg_cv_CURL_LIBS="$CURL_LIBS" |
| 24623 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 24624 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 24625 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 |
| 24626 | ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
| 24627 | ac_status=$? |
| 24628 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 24629 | testscip-shell system . . test. $ac_status = 0; }; then |
| 24630 | pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 24631 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 24632 | else |
| 24633 | pkg_failed=yes |
| 24634 | fi |
| 24635 | else |
| 24636 | pkg_failed=untried |
| 24637 | fi |
| 24638 | |
| 24639 | |
| 24640 | |
| 24641 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 24642 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 24643 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 24644 | |
| 24645 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 24646 | _pkg_short_errors_supported=yes |
| 24647 | else |
| 24648 | _pkg_short_errors_supported=no |
| 24649 | fi |
| 24650 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 24651 | CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1` |
| 24652 | else |
| 24653 | CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1` |
| 24654 | fi |
| 24655 | # Put the nasty error message in config.log where it belongs |
| 24656 | echoscip-shell system . . echo. "$CURL_PKG_ERRORS" >&5 |
| 24657 | |
| 24658 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libcurl) were not met: |
| 24659 | |
| 24660 | $CURL_PKG_ERRORS |
| 24661 | |
| 24662 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 24663 | installed software in a non-standard prefix. |
| 24664 | |
| 24665 | Alternatively, you may set the environment variables CURL_CFLAGS |
| 24666 | and CURL_LIBS to avoid the need to call pkg-config. |
| 24667 | See the pkg-config man page for more details." "$LINENO" 5 |
| 24668 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 24669 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 24670 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 24671 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 24672 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 24673 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 24674 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 24675 | path to pkg-config. |
| 24676 | |
| 24677 | Alternatively, you may set the environment variables CURL_CFLAGS |
| 24678 | and CURL_LIBS to avoid the need to call pkg-config. |
| 24679 | See the pkg-config man page for more details. |
| 24680 | |
| 24681 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 24682 | See \`config.log' for more details" "$LINENO" 5; } |
| 24683 | else |
| 24684 | CURL_CFLAGS=$pkg_cv_CURL_CFLAGS |
| 24685 | CURL_LIBS=$pkg_cv_CURL_LIBS |
| 24686 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 24687 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 24688 | |
| 24689 | fi |
| 24690 | LIBM= |
| 24691 | case $host in |
| 24692 | *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) |
| 24693 | # These system don't have libm, or don't need it |
| 24694 | ;; |
| 24695 | *-ncr-sysv4.3*) |
| 24696 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5 |
| 24697 | printfscip-shell system . . printf. %s "checking for _mwvalidcheckl in -lmw... " >&6; } |
| 24698 | if testscip-shell system . . test. ${ac_cv_lib_mw__mwvalidcheckl+y} |
| 24699 | then : |
| 24700 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 24701 | else $as_nop |
| 24702 | ac_check_lib_save_LIBS=$LIBS |
| 24703 | LIBS="-lmw $LIBS" |
| 24704 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24705 | /* end confdefs.h. */ |
| 24706 | |
| 24707 | /* Override any GCC internal prototype to avoid an error. |
| 24708 | Use char because int might match the return type of a GCC |
| 24709 | builtin and then its argument prototype would still apply. */ |
| 24710 | char _mwvalidcheckl (); |
| 24711 | int |
| 24712 | main (void) |
| 24713 | { |
| 24714 | return _mwvalidcheckl (); |
| 24715 | ; |
| 24716 | return 0; |
| 24717 | } |
| 24718 | _ACEOF |
| 24719 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 24720 | then : |
| 24721 | ac_cv_lib_mw__mwvalidcheckl=yes |
| 24722 | else $as_nop |
| 24723 | ac_cv_lib_mw__mwvalidcheckl=no |
| 24724 | fi |
| 24725 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 24726 | conftest$ac_exeext conftest.$ac_ext |
| 24727 | LIBS=$ac_check_lib_save_LIBS |
| 24728 | fi |
| 24729 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 |
| 24730 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_mw__mwvalidcheckl" >&6; } |
| 24731 | if testscip-shell system . . test. "x$ac_cv_lib_mw__mwvalidcheckl" = xyes |
| 24732 | then : |
| 24733 | LIBM=-lmw |
| 24734 | fi |
| 24735 | |
| 24736 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 |
| 24737 | printfscip-shell system . . printf. %s "checking for cos in -lm... " >&6; } |
| 24738 | if testscip-shell system . . test. ${ac_cv_lib_m_cos+y} |
| 24739 | then : |
| 24740 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 24741 | else $as_nop |
| 24742 | ac_check_lib_save_LIBS=$LIBS |
| 24743 | LIBS="-lm $LIBS" |
| 24744 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24745 | /* end confdefs.h. */ |
| 24746 | |
| 24747 | /* Override any GCC internal prototype to avoid an error. |
| 24748 | Use char because int might match the return type of a GCC |
| 24749 | builtin and then its argument prototype would still apply. */ |
| 24750 | char cos (); |
| 24751 | int |
| 24752 | main (void) |
| 24753 | { |
| 24754 | return cos (); |
| 24755 | ; |
| 24756 | return 0; |
| 24757 | } |
| 24758 | _ACEOF |
| 24759 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 24760 | then : |
| 24761 | ac_cv_lib_m_cos=yes |
| 24762 | else $as_nop |
| 24763 | ac_cv_lib_m_cos=no |
| 24764 | fi |
| 24765 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 24766 | conftest$ac_exeext conftest.$ac_ext |
| 24767 | LIBS=$ac_check_lib_save_LIBS |
| 24768 | fi |
| 24769 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 |
| 24770 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_m_cos" >&6; } |
| 24771 | if testscip-shell system . . test. "x$ac_cv_lib_m_cos" = xyes |
| 24772 | then : |
| 24773 | LIBM="$LIBM -lm" |
| 24774 | fi |
| 24775 | |
| 24776 | ;; |
| 24777 | *) |
| 24778 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 |
| 24779 | printfscip-shell system . . printf. %s "checking for cos in -lm... " >&6; } |
| 24780 | if testscip-shell system . . test. ${ac_cv_lib_m_cos+y} |
| 24781 | then : |
| 24782 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 24783 | else $as_nop |
| 24784 | ac_check_lib_save_LIBS=$LIBS |
| 24785 | LIBS="-lm $LIBS" |
| 24786 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24787 | /* end confdefs.h. */ |
| 24788 | |
| 24789 | /* Override any GCC internal prototype to avoid an error. |
| 24790 | Use char because int might match the return type of a GCC |
| 24791 | builtin and then its argument prototype would still apply. */ |
| 24792 | char cos (); |
| 24793 | int |
| 24794 | main (void) |
| 24795 | { |
| 24796 | return cos (); |
| 24797 | ; |
| 24798 | return 0; |
| 24799 | } |
| 24800 | _ACEOF |
| 24801 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 24802 | then : |
| 24803 | ac_cv_lib_m_cos=yes |
| 24804 | else $as_nop |
| 24805 | ac_cv_lib_m_cos=no |
| 24806 | fi |
| 24807 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 24808 | conftest$ac_exeext conftest.$ac_ext |
| 24809 | LIBS=$ac_check_lib_save_LIBS |
| 24810 | fi |
| 24811 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 |
| 24812 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_m_cos" >&6; } |
| 24813 | if testscip-shell system . . test. "x$ac_cv_lib_m_cos" = xyes |
| 24814 | then : |
| 24815 | LIBM=-lm |
| 24816 | fi |
| 24817 | |
| 24818 | ;; |
| 24819 | esac |
| 24820 | |
| 24821 | |
| 24822 | fi |
| 24823 | if testscip-shell system . . test. x$enable_elasticsearch = xyes; then |
| 24824 | ENABLE_ELASTICSEARCH_TRUE= |
| 24825 | ENABLE_ELASTICSEARCH_FALSE='#' |
| 24826 | else |
| 24827 | ENABLE_ELASTICSEARCH_TRUE='#' |
| 24828 | ENABLE_ELASTICSEARCH_FALSE= |
| 24829 | fi |
| 24830 | |
| 24831 | |
| 24832 | |
| 24833 | # clickhouse support |
| 24834 | # Check whether --enable-clickhouse was given. |
| 24835 | if testscip-shell system . . test. ${enable_clickhouse+y} |
| 24836 | then : |
| 24837 | enableval=$enable_clickhouse; case "${enableval}" in |
| 24838 | yes) enable_clickhouse="yes" ;; |
| 24839 | no) enable_clickhouse="no" ;; |
| 24840 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-clickhouse" "$LINENO" 5 ;; |
| 24841 | esac |
| 24842 | else $as_nop |
| 24843 | enable_clickhouse=no |
| 24844 | |
| 24845 | fi |
| 24846 | |
| 24847 | if testscip-shell system . . test. "x$enable_clickhouse" = "xyes"; then |
| 24848 | |
| 24849 | pkg_failed=no |
| 24850 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5 |
| 24851 | printfscip-shell system . . printf. %s "checking for libcurl... " >&6; } |
| 24852 | |
| 24853 | if testscip-shell system . . test. -n "$CURL_CFLAGS"; then |
| 24854 | pkg_cv_CURL_CFLAGS="$CURL_CFLAGS" |
| 24855 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 24856 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 24857 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 |
| 24858 | ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
| 24859 | ac_status=$? |
| 24860 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 24861 | testscip-shell system . . test. $ac_status = 0; }; then |
| 24862 | pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 24863 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 24864 | else |
| 24865 | pkg_failed=yes |
| 24866 | fi |
| 24867 | else |
| 24868 | pkg_failed=untried |
| 24869 | fi |
| 24870 | if testscip-shell system . . test. -n "$CURL_LIBS"; then |
| 24871 | pkg_cv_CURL_LIBS="$CURL_LIBS" |
| 24872 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 24873 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 24874 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 |
| 24875 | ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
| 24876 | ac_status=$? |
| 24877 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 24878 | testscip-shell system . . test. $ac_status = 0; }; then |
| 24879 | pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 24880 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 24881 | else |
| 24882 | pkg_failed=yes |
| 24883 | fi |
| 24884 | else |
| 24885 | pkg_failed=untried |
| 24886 | fi |
| 24887 | |
| 24888 | |
| 24889 | |
| 24890 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 24891 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 24892 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 24893 | |
| 24894 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 24895 | _pkg_short_errors_supported=yes |
| 24896 | else |
| 24897 | _pkg_short_errors_supported=no |
| 24898 | fi |
| 24899 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 24900 | CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1` |
| 24901 | else |
| 24902 | CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1` |
| 24903 | fi |
| 24904 | # Put the nasty error message in config.log where it belongs |
| 24905 | echoscip-shell system . . echo. "$CURL_PKG_ERRORS" >&5 |
| 24906 | |
| 24907 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libcurl) were not met: |
| 24908 | |
| 24909 | $CURL_PKG_ERRORS |
| 24910 | |
| 24911 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 24912 | installed software in a non-standard prefix. |
| 24913 | |
| 24914 | Alternatively, you may set the environment variables CURL_CFLAGS |
| 24915 | and CURL_LIBS to avoid the need to call pkg-config. |
| 24916 | See the pkg-config man page for more details." "$LINENO" 5 |
| 24917 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 24918 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 24919 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 24920 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 24921 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 24922 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 24923 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 24924 | path to pkg-config. |
| 24925 | |
| 24926 | Alternatively, you may set the environment variables CURL_CFLAGS |
| 24927 | and CURL_LIBS to avoid the need to call pkg-config. |
| 24928 | See the pkg-config man page for more details. |
| 24929 | |
| 24930 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 24931 | See \`config.log' for more details" "$LINENO" 5; } |
| 24932 | else |
| 24933 | CURL_CFLAGS=$pkg_cv_CURL_CFLAGS |
| 24934 | CURL_LIBS=$pkg_cv_CURL_LIBS |
| 24935 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 24936 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 24937 | |
| 24938 | fi |
| 24939 | LIBM= |
| 24940 | case $host in |
| 24941 | *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) |
| 24942 | # These system don't have libm, or don't need it |
| 24943 | ;; |
| 24944 | *-ncr-sysv4.3*) |
| 24945 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5 |
| 24946 | printfscip-shell system . . printf. %s "checking for _mwvalidcheckl in -lmw... " >&6; } |
| 24947 | if testscip-shell system . . test. ${ac_cv_lib_mw__mwvalidcheckl+y} |
| 24948 | then : |
| 24949 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 24950 | else $as_nop |
| 24951 | ac_check_lib_save_LIBS=$LIBS |
| 24952 | LIBS="-lmw $LIBS" |
| 24953 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24954 | /* end confdefs.h. */ |
| 24955 | |
| 24956 | /* Override any GCC internal prototype to avoid an error. |
| 24957 | Use char because int might match the return type of a GCC |
| 24958 | builtin and then its argument prototype would still apply. */ |
| 24959 | char _mwvalidcheckl (); |
| 24960 | int |
| 24961 | main (void) |
| 24962 | { |
| 24963 | return _mwvalidcheckl (); |
| 24964 | ; |
| 24965 | return 0; |
| 24966 | } |
| 24967 | _ACEOF |
| 24968 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 24969 | then : |
| 24970 | ac_cv_lib_mw__mwvalidcheckl=yes |
| 24971 | else $as_nop |
| 24972 | ac_cv_lib_mw__mwvalidcheckl=no |
| 24973 | fi |
| 24974 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 24975 | conftest$ac_exeext conftest.$ac_ext |
| 24976 | LIBS=$ac_check_lib_save_LIBS |
| 24977 | fi |
| 24978 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 |
| 24979 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_mw__mwvalidcheckl" >&6; } |
| 24980 | if testscip-shell system . . test. "x$ac_cv_lib_mw__mwvalidcheckl" = xyes |
| 24981 | then : |
| 24982 | LIBM=-lmw |
| 24983 | fi |
| 24984 | |
| 24985 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 |
| 24986 | printfscip-shell system . . printf. %s "checking for cos in -lm... " >&6; } |
| 24987 | if testscip-shell system . . test. ${ac_cv_lib_m_cos+y} |
| 24988 | then : |
| 24989 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 24990 | else $as_nop |
| 24991 | ac_check_lib_save_LIBS=$LIBS |
| 24992 | LIBS="-lm $LIBS" |
| 24993 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 24994 | /* end confdefs.h. */ |
| 24995 | |
| 24996 | /* Override any GCC internal prototype to avoid an error. |
| 24997 | Use char because int might match the return type of a GCC |
| 24998 | builtin and then its argument prototype would still apply. */ |
| 24999 | char cos (); |
| 25000 | int |
| 25001 | main (void) |
| 25002 | { |
| 25003 | return cos (); |
| 25004 | ; |
| 25005 | return 0; |
| 25006 | } |
| 25007 | _ACEOF |
| 25008 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 25009 | then : |
| 25010 | ac_cv_lib_m_cos=yes |
| 25011 | else $as_nop |
| 25012 | ac_cv_lib_m_cos=no |
| 25013 | fi |
| 25014 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 25015 | conftest$ac_exeext conftest.$ac_ext |
| 25016 | LIBS=$ac_check_lib_save_LIBS |
| 25017 | fi |
| 25018 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 |
| 25019 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_m_cos" >&6; } |
| 25020 | if testscip-shell system . . test. "x$ac_cv_lib_m_cos" = xyes |
| 25021 | then : |
| 25022 | LIBM="$LIBM -lm" |
| 25023 | fi |
| 25024 | |
| 25025 | ;; |
| 25026 | *) |
| 25027 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 |
| 25028 | printfscip-shell system . . printf. %s "checking for cos in -lm... " >&6; } |
| 25029 | if testscip-shell system . . test. ${ac_cv_lib_m_cos+y} |
| 25030 | then : |
| 25031 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 25032 | else $as_nop |
| 25033 | ac_check_lib_save_LIBS=$LIBS |
| 25034 | LIBS="-lm $LIBS" |
| 25035 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25036 | /* end confdefs.h. */ |
| 25037 | |
| 25038 | /* Override any GCC internal prototype to avoid an error. |
| 25039 | Use char because int might match the return type of a GCC |
| 25040 | builtin and then its argument prototype would still apply. */ |
| 25041 | char cos (); |
| 25042 | int |
| 25043 | main (void) |
| 25044 | { |
| 25045 | return cos (); |
| 25046 | ; |
| 25047 | return 0; |
| 25048 | } |
| 25049 | _ACEOF |
| 25050 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 25051 | then : |
| 25052 | ac_cv_lib_m_cos=yes |
| 25053 | else $as_nop |
| 25054 | ac_cv_lib_m_cos=no |
| 25055 | fi |
| 25056 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 25057 | conftest$ac_exeext conftest.$ac_ext |
| 25058 | LIBS=$ac_check_lib_save_LIBS |
| 25059 | fi |
| 25060 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 |
| 25061 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_m_cos" >&6; } |
| 25062 | if testscip-shell system . . test. "x$ac_cv_lib_m_cos" = xyes |
| 25063 | then : |
| 25064 | LIBM=-lm |
| 25065 | fi |
| 25066 | |
| 25067 | ;; |
| 25068 | esac |
| 25069 | |
| 25070 | |
| 25071 | fi |
| 25072 | if testscip-shell system . . test. x$enable_clickhouse = xyes; then |
| 25073 | ENABLE_CLICKHOUSE_TRUE= |
| 25074 | ENABLE_CLICKHOUSE_FALSE='#' |
| 25075 | else |
| 25076 | ENABLE_CLICKHOUSE_TRUE='#' |
| 25077 | ENABLE_CLICKHOUSE_FALSE= |
| 25078 | fi |
| 25079 | |
| 25080 | |
| 25081 | |
| 25082 | # omhttp support |
| 25083 | # Check whether --enable-omhttp was given. |
| 25084 | if testscip-shell system . . test. ${enable_omhttp+y} |
| 25085 | then : |
| 25086 | enableval=$enable_omhttp; case "${enableval}" in |
| 25087 | yes) enable_omhttp="yes" ;; |
| 25088 | no) enable_omhttp="no" ;; |
| 25089 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omhttp" "$LINENO" 5 ;; |
| 25090 | esac |
| 25091 | else $as_nop |
| 25092 | enable_omhttp=no |
| 25093 | |
| 25094 | fi |
| 25095 | |
| 25096 | if testscip-shell system . . test. "x$enable_omhttp" = "xyes"; then |
| 25097 | |
| 25098 | pkg_failed=no |
| 25099 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5 |
| 25100 | printfscip-shell system . . printf. %s "checking for libcurl... " >&6; } |
| 25101 | |
| 25102 | if testscip-shell system . . test. -n "$CURL_CFLAGS"; then |
| 25103 | pkg_cv_CURL_CFLAGS="$CURL_CFLAGS" |
| 25104 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 25105 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 25106 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 |
| 25107 | ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
| 25108 | ac_status=$? |
| 25109 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25110 | testscip-shell system . . test. $ac_status = 0; }; then |
| 25111 | pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 25112 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 25113 | else |
| 25114 | pkg_failed=yes |
| 25115 | fi |
| 25116 | else |
| 25117 | pkg_failed=untried |
| 25118 | fi |
| 25119 | if testscip-shell system . . test. -n "$CURL_LIBS"; then |
| 25120 | pkg_cv_CURL_LIBS="$CURL_LIBS" |
| 25121 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 25122 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 25123 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 |
| 25124 | ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
| 25125 | ac_status=$? |
| 25126 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25127 | testscip-shell system . . test. $ac_status = 0; }; then |
| 25128 | pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 25129 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 25130 | else |
| 25131 | pkg_failed=yes |
| 25132 | fi |
| 25133 | else |
| 25134 | pkg_failed=untried |
| 25135 | fi |
| 25136 | |
| 25137 | |
| 25138 | |
| 25139 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 25140 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25141 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 25142 | |
| 25143 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 25144 | _pkg_short_errors_supported=yes |
| 25145 | else |
| 25146 | _pkg_short_errors_supported=no |
| 25147 | fi |
| 25148 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 25149 | CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1` |
| 25150 | else |
| 25151 | CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1` |
| 25152 | fi |
| 25153 | # Put the nasty error message in config.log where it belongs |
| 25154 | echoscip-shell system . . echo. "$CURL_PKG_ERRORS" >&5 |
| 25155 | |
| 25156 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libcurl) were not met: |
| 25157 | |
| 25158 | $CURL_PKG_ERRORS |
| 25159 | |
| 25160 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 25161 | installed software in a non-standard prefix. |
| 25162 | |
| 25163 | Alternatively, you may set the environment variables CURL_CFLAGS |
| 25164 | and CURL_LIBS to avoid the need to call pkg-config. |
| 25165 | See the pkg-config man page for more details." "$LINENO" 5 |
| 25166 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 25167 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25168 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 25169 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 25170 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 25171 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 25172 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 25173 | path to pkg-config. |
| 25174 | |
| 25175 | Alternatively, you may set the environment variables CURL_CFLAGS |
| 25176 | and CURL_LIBS to avoid the need to call pkg-config. |
| 25177 | See the pkg-config man page for more details. |
| 25178 | |
| 25179 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 25180 | See \`config.log' for more details" "$LINENO" 5; } |
| 25181 | else |
| 25182 | CURL_CFLAGS=$pkg_cv_CURL_CFLAGS |
| 25183 | CURL_LIBS=$pkg_cv_CURL_LIBS |
| 25184 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 25185 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 25186 | |
| 25187 | fi |
| 25188 | LIBM= |
| 25189 | case $host in |
| 25190 | *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) |
| 25191 | # These system don't have libm, or don't need it |
| 25192 | ;; |
| 25193 | *-ncr-sysv4.3*) |
| 25194 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5 |
| 25195 | printfscip-shell system . . printf. %s "checking for _mwvalidcheckl in -lmw... " >&6; } |
| 25196 | if testscip-shell system . . test. ${ac_cv_lib_mw__mwvalidcheckl+y} |
| 25197 | then : |
| 25198 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 25199 | else $as_nop |
| 25200 | ac_check_lib_save_LIBS=$LIBS |
| 25201 | LIBS="-lmw $LIBS" |
| 25202 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25203 | /* end confdefs.h. */ |
| 25204 | |
| 25205 | /* Override any GCC internal prototype to avoid an error. |
| 25206 | Use char because int might match the return type of a GCC |
| 25207 | builtin and then its argument prototype would still apply. */ |
| 25208 | char _mwvalidcheckl (); |
| 25209 | int |
| 25210 | main (void) |
| 25211 | { |
| 25212 | return _mwvalidcheckl (); |
| 25213 | ; |
| 25214 | return 0; |
| 25215 | } |
| 25216 | _ACEOF |
| 25217 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 25218 | then : |
| 25219 | ac_cv_lib_mw__mwvalidcheckl=yes |
| 25220 | else $as_nop |
| 25221 | ac_cv_lib_mw__mwvalidcheckl=no |
| 25222 | fi |
| 25223 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 25224 | conftest$ac_exeext conftest.$ac_ext |
| 25225 | LIBS=$ac_check_lib_save_LIBS |
| 25226 | fi |
| 25227 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 |
| 25228 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_mw__mwvalidcheckl" >&6; } |
| 25229 | if testscip-shell system . . test. "x$ac_cv_lib_mw__mwvalidcheckl" = xyes |
| 25230 | then : |
| 25231 | LIBM=-lmw |
| 25232 | fi |
| 25233 | |
| 25234 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 |
| 25235 | printfscip-shell system . . printf. %s "checking for cos in -lm... " >&6; } |
| 25236 | if testscip-shell system . . test. ${ac_cv_lib_m_cos+y} |
| 25237 | then : |
| 25238 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 25239 | else $as_nop |
| 25240 | ac_check_lib_save_LIBS=$LIBS |
| 25241 | LIBS="-lm $LIBS" |
| 25242 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25243 | /* end confdefs.h. */ |
| 25244 | |
| 25245 | /* Override any GCC internal prototype to avoid an error. |
| 25246 | Use char because int might match the return type of a GCC |
| 25247 | builtin and then its argument prototype would still apply. */ |
| 25248 | char cos (); |
| 25249 | int |
| 25250 | main (void) |
| 25251 | { |
| 25252 | return cos (); |
| 25253 | ; |
| 25254 | return 0; |
| 25255 | } |
| 25256 | _ACEOF |
| 25257 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 25258 | then : |
| 25259 | ac_cv_lib_m_cos=yes |
| 25260 | else $as_nop |
| 25261 | ac_cv_lib_m_cos=no |
| 25262 | fi |
| 25263 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 25264 | conftest$ac_exeext conftest.$ac_ext |
| 25265 | LIBS=$ac_check_lib_save_LIBS |
| 25266 | fi |
| 25267 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 |
| 25268 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_m_cos" >&6; } |
| 25269 | if testscip-shell system . . test. "x$ac_cv_lib_m_cos" = xyes |
| 25270 | then : |
| 25271 | LIBM="$LIBM -lm" |
| 25272 | fi |
| 25273 | |
| 25274 | ;; |
| 25275 | *) |
| 25276 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 |
| 25277 | printfscip-shell system . . printf. %s "checking for cos in -lm... " >&6; } |
| 25278 | if testscip-shell system . . test. ${ac_cv_lib_m_cos+y} |
| 25279 | then : |
| 25280 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 25281 | else $as_nop |
| 25282 | ac_check_lib_save_LIBS=$LIBS |
| 25283 | LIBS="-lm $LIBS" |
| 25284 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25285 | /* end confdefs.h. */ |
| 25286 | |
| 25287 | /* Override any GCC internal prototype to avoid an error. |
| 25288 | Use char because int might match the return type of a GCC |
| 25289 | builtin and then its argument prototype would still apply. */ |
| 25290 | char cos (); |
| 25291 | int |
| 25292 | main (void) |
| 25293 | { |
| 25294 | return cos (); |
| 25295 | ; |
| 25296 | return 0; |
| 25297 | } |
| 25298 | _ACEOF |
| 25299 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 25300 | then : |
| 25301 | ac_cv_lib_m_cos=yes |
| 25302 | else $as_nop |
| 25303 | ac_cv_lib_m_cos=no |
| 25304 | fi |
| 25305 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 25306 | conftest$ac_exeext conftest.$ac_ext |
| 25307 | LIBS=$ac_check_lib_save_LIBS |
| 25308 | fi |
| 25309 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 |
| 25310 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_m_cos" >&6; } |
| 25311 | if testscip-shell system . . test. "x$ac_cv_lib_m_cos" = xyes |
| 25312 | then : |
| 25313 | LIBM=-lm |
| 25314 | fi |
| 25315 | |
| 25316 | ;; |
| 25317 | esac |
| 25318 | |
| 25319 | |
| 25320 | fi |
| 25321 | if testscip-shell system . . test. x$enable_omhttp = xyes; then |
| 25322 | ENABLE_OMHTTP_TRUE= |
| 25323 | ENABLE_OMHTTP_FALSE='#' |
| 25324 | else |
| 25325 | ENABLE_OMHTTP_TRUE='#' |
| 25326 | ENABLE_OMHTTP_FALSE= |
| 25327 | fi |
| 25328 | |
| 25329 | |
| 25330 | |
| 25331 | # capability to enable elasticsearch testbench tests. This requries that an ES test |
| 25332 | # environment is present on the local (127.0.0.1) machine. |
| 25333 | # we support a "minimal" mode to take care of travis where we cannot run all tests |
| 25334 | # due to runtime constraints |
| 25335 | # Check whether --enable-elasticsearch_tests was given. |
| 25336 | if testscip-shell system . . test. ${enable_elasticsearch_tests+y} |
| 25337 | then : |
| 25338 | enableval=$enable_elasticsearch_tests; case "${enableval}" in |
| 25339 | yes) enable_elasticsearch_tests="yes" ;; |
| 25340 | no) enable_elasticsearch_tests="no" ;; |
| 25341 | minimal) enable_elasticsearch_tests="minimal" ;; |
| 25342 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-elasticsearch-tests" "$LINENO" 5 ;; |
| 25343 | esac |
| 25344 | else $as_nop |
| 25345 | enable_elasticsearch_tests=no |
| 25346 | |
| 25347 | fi |
| 25348 | |
| 25349 | if testscip-shell system . . test. x$enable_elasticsearch_tests = xyes; then |
| 25350 | ENABLE_ELASTICSEARCH_TESTS_TRUE= |
| 25351 | ENABLE_ELASTICSEARCH_TESTS_FALSE='#' |
| 25352 | else |
| 25353 | ENABLE_ELASTICSEARCH_TESTS_TRUE='#' |
| 25354 | ENABLE_ELASTICSEARCH_TESTS_FALSE= |
| 25355 | fi |
| 25356 | |
| 25357 | if testscip-shell system . . test. x$enable_elasticsearch_tests = xminimal -o x$enable_elasticsearch_tests = xyes; then |
| 25358 | ENABLE_ELASTICSEARCH_TESTS_MINIMAL_TRUE= |
| 25359 | ENABLE_ELASTICSEARCH_TESTS_MINIMAL_FALSE='#' |
| 25360 | else |
| 25361 | ENABLE_ELASTICSEARCH_TESTS_MINIMAL_TRUE='#' |
| 25362 | ENABLE_ELASTICSEARCH_TESTS_MINIMAL_FALSE= |
| 25363 | fi |
| 25364 | |
| 25365 | |
| 25366 | |
| 25367 | # capability to enable clickhouse testbench tests. This requries that a test |
| 25368 | # environment is present on the local (127.0.0.1) machine. |
| 25369 | # Check whether --enable-clickhouse_tests was given. |
| 25370 | if testscip-shell system . . test. ${enable_clickhouse_tests+y} |
| 25371 | then : |
| 25372 | enableval=$enable_clickhouse_tests; case "${enableval}" in |
| 25373 | yes) enable_clickhouse_tests="yes" ;; |
| 25374 | no) enable_clickhouse_tests="no" ;; |
| 25375 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-clickhouse-tests" "$LINENO" 5 ;; |
| 25376 | esac |
| 25377 | else $as_nop |
| 25378 | enable_clickhouse_tests=no |
| 25379 | |
| 25380 | fi |
| 25381 | |
| 25382 | if testscip-shell system . . test. x$enable_clickhouse_tests = xyes; then |
| 25383 | ENABLE_CLICKHOUSE_TESTS_TRUE= |
| 25384 | ENABLE_CLICKHOUSE_TESTS_FALSE='#' |
| 25385 | else |
| 25386 | ENABLE_CLICKHOUSE_TESTS_TRUE='#' |
| 25387 | ENABLE_CLICKHOUSE_TESTS_FALSE= |
| 25388 | fi |
| 25389 | |
| 25390 | |
| 25391 | |
| 25392 | |
| 25393 | |
| 25394 | |
| 25395 | # Check whether --enable-wolfssl was given. |
| 25396 | if testscip-shell system . . test. ${enable_wolfssl+y} |
| 25397 | then : |
| 25398 | enableval=$enable_wolfssl; |
| 25399 | case "${enableval}" in |
| 25400 | yes) |
| 25401 | |
| 25402 | pkg_failed=no |
| 25403 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfssl" >&5 |
| 25404 | printfscip-shell system . . printf. %s "checking for wolfssl... " >&6; } |
| 25405 | |
| 25406 | if testscip-shell system . . test. -n "$WOLFSSL_CFLAGS"; then |
| 25407 | pkg_cv_WOLFSSL_CFLAGS="$WOLFSSL_CFLAGS" |
| 25408 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 25409 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 25410 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wolfssl\""; } >&5 |
| 25411 | ($PKG_CONFIG --exists --print-errors "wolfssl") 2>&5 |
| 25412 | ac_status=$? |
| 25413 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25414 | testscip-shell system . . test. $ac_status = 0; }; then |
| 25415 | pkg_cv_WOLFSSL_CFLAGS=`$PKG_CONFIG --cflags "wolfssl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 25416 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 25417 | else |
| 25418 | pkg_failed=yes |
| 25419 | fi |
| 25420 | else |
| 25421 | pkg_failed=untried |
| 25422 | fi |
| 25423 | if testscip-shell system . . test. -n "$WOLFSSL_LIBS"; then |
| 25424 | pkg_cv_WOLFSSL_LIBS="$WOLFSSL_LIBS" |
| 25425 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 25426 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 25427 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wolfssl\""; } >&5 |
| 25428 | ($PKG_CONFIG --exists --print-errors "wolfssl") 2>&5 |
| 25429 | ac_status=$? |
| 25430 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25431 | testscip-shell system . . test. $ac_status = 0; }; then |
| 25432 | pkg_cv_WOLFSSL_LIBS=`$PKG_CONFIG --libs "wolfssl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 25433 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 25434 | else |
| 25435 | pkg_failed=yes |
| 25436 | fi |
| 25437 | else |
| 25438 | pkg_failed=untried |
| 25439 | fi |
| 25440 | |
| 25441 | |
| 25442 | |
| 25443 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 25444 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25445 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 25446 | |
| 25447 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 25448 | _pkg_short_errors_supported=yes |
| 25449 | else |
| 25450 | _pkg_short_errors_supported=no |
| 25451 | fi |
| 25452 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 25453 | WOLFSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wolfssl" 2>&1` |
| 25454 | else |
| 25455 | WOLFSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wolfssl" 2>&1` |
| 25456 | fi |
| 25457 | # Put the nasty error message in config.log where it belongs |
| 25458 | echoscip-shell system . . echo. "$WOLFSSL_PKG_ERRORS" >&5 |
| 25459 | |
| 25460 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (wolfssl) were not met: |
| 25461 | |
| 25462 | $WOLFSSL_PKG_ERRORS |
| 25463 | |
| 25464 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 25465 | installed software in a non-standard prefix. |
| 25466 | |
| 25467 | Alternatively, you may set the environment variables WOLFSSL_CFLAGS |
| 25468 | and WOLFSSL_LIBS to avoid the need to call pkg-config. |
| 25469 | See the pkg-config man page for more details." "$LINENO" 5 |
| 25470 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 25471 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25472 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 25473 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 25474 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 25475 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 25476 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 25477 | path to pkg-config. |
| 25478 | |
| 25479 | Alternatively, you may set the environment variables WOLFSSL_CFLAGS |
| 25480 | and WOLFSSL_LIBS to avoid the need to call pkg-config. |
| 25481 | See the pkg-config man page for more details. |
| 25482 | |
| 25483 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 25484 | See \`config.log' for more details" "$LINENO" 5; } |
| 25485 | else |
| 25486 | WOLFSSL_CFLAGS=$pkg_cv_WOLFSSL_CFLAGS |
| 25487 | WOLFSSL_LIBS=$pkg_cv_WOLFSSL_LIBS |
| 25488 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 25489 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 25490 | |
| 25491 | fi |
| 25492 | ;; |
| 25493 | no) |
| 25494 | enable_wolfssl=no |
| 25495 | ;; |
| 25496 | *) |
| 25497 | WOLFSSL_CFLAGS="-I${enableval}/include/wolfssl -I${enableval}/include" |
| 25498 | WOLFSSL_LIBS="-L${enableval}/lib -lwolfssl" |
| 25499 | ;; |
| 25500 | esac |
| 25501 | if testscip-shell system . . test. "x$enable_wolfssl" != "xno"; then |
| 25502 | enable_wolfssl=yes |
| 25503 | |
| 25504 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_WOLFSSL 1" >>confdefs.h |
| 25505 | |
| 25506 | |
| 25507 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_OSSL 1" >>confdefs.h |
| 25508 | |
| 25509 | fi |
| 25510 | |
| 25511 | else $as_nop |
| 25512 | |
| 25513 | enable_wolfssl=no |
| 25514 | |
| 25515 | fi |
| 25516 | |
| 25517 | if testscip-shell system . . test. "x$enable_wolfssl" = "xyes"; then |
| 25518 | ENABLE_WOLFSSL_TRUE= |
| 25519 | ENABLE_WOLFSSL_FALSE='#' |
| 25520 | else |
| 25521 | ENABLE_WOLFSSL_TRUE='#' |
| 25522 | ENABLE_WOLFSSL_FALSE= |
| 25523 | fi |
| 25524 | |
| 25525 | |
| 25526 | # openssl support |
| 25527 | # Check whether --enable-openssl was given. |
| 25528 | if testscip-shell system . . test. ${enable_openssl+y} |
| 25529 | then : |
| 25530 | enableval=$enable_openssl; case "${enableval}" in |
| 25531 | yes) enable_openssl="yes" ;; |
| 25532 | no) enable_openssl="no" ;; |
| 25533 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-openssl" "$LINENO" 5 ;; |
| 25534 | esac |
| 25535 | else $as_nop |
| 25536 | enable_openssl=no |
| 25537 | |
| 25538 | fi |
| 25539 | |
| 25540 | if testscip-shell system . . test. "x$enable_openssl" = "xyes"; then |
| 25541 | |
| 25542 | pkg_failed=no |
| 25543 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5 |
| 25544 | printfscip-shell system . . printf. %s "checking for openssl... " >&6; } |
| 25545 | |
| 25546 | if testscip-shell system . . test. -n "$OPENSSL_CFLAGS"; then |
| 25547 | pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS" |
| 25548 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 25549 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 25550 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5 |
| 25551 | ($PKG_CONFIG --exists --print-errors "openssl") 2>&5 |
| 25552 | ac_status=$? |
| 25553 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25554 | testscip-shell system . . test. $ac_status = 0; }; then |
| 25555 | pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 25556 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 25557 | else |
| 25558 | pkg_failed=yes |
| 25559 | fi |
| 25560 | else |
| 25561 | pkg_failed=untried |
| 25562 | fi |
| 25563 | if testscip-shell system . . test. -n "$OPENSSL_LIBS"; then |
| 25564 | pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS" |
| 25565 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 25566 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 25567 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5 |
| 25568 | ($PKG_CONFIG --exists --print-errors "openssl") 2>&5 |
| 25569 | ac_status=$? |
| 25570 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25571 | testscip-shell system . . test. $ac_status = 0; }; then |
| 25572 | pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 25573 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 25574 | else |
| 25575 | pkg_failed=yes |
| 25576 | fi |
| 25577 | else |
| 25578 | pkg_failed=untried |
| 25579 | fi |
| 25580 | |
| 25581 | |
| 25582 | |
| 25583 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 25584 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25585 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 25586 | |
| 25587 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 25588 | _pkg_short_errors_supported=yes |
| 25589 | else |
| 25590 | _pkg_short_errors_supported=no |
| 25591 | fi |
| 25592 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 25593 | OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl" 2>&1` |
| 25594 | else |
| 25595 | OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl" 2>&1` |
| 25596 | fi |
| 25597 | # Put the nasty error message in config.log where it belongs |
| 25598 | echoscip-shell system . . echo. "$OPENSSL_PKG_ERRORS" >&5 |
| 25599 | |
| 25600 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (openssl) were not met: |
| 25601 | |
| 25602 | $OPENSSL_PKG_ERRORS |
| 25603 | |
| 25604 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 25605 | installed software in a non-standard prefix. |
| 25606 | |
| 25607 | Alternatively, you may set the environment variables OPENSSL_CFLAGS |
| 25608 | and OPENSSL_LIBS to avoid the need to call pkg-config. |
| 25609 | See the pkg-config man page for more details." "$LINENO" 5 |
| 25610 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 25611 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25612 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 25613 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 25614 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 25615 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 25616 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 25617 | path to pkg-config. |
| 25618 | |
| 25619 | Alternatively, you may set the environment variables OPENSSL_CFLAGS |
| 25620 | and OPENSSL_LIBS to avoid the need to call pkg-config. |
| 25621 | See the pkg-config man page for more details. |
| 25622 | |
| 25623 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 25624 | See \`config.log' for more details" "$LINENO" 5; } |
| 25625 | else |
| 25626 | OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS |
| 25627 | OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS |
| 25628 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 25629 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 25630 | |
| 25631 | fi |
| 25632 | |
| 25633 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_OPENSSL 1" >>confdefs.h |
| 25634 | |
| 25635 | |
| 25636 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_OSSL 1" >>confdefs.h |
| 25637 | |
| 25638 | save_libs=$LIBS |
| 25639 | |
| 25640 | # Check if OpenSSL has ENGINE support (it is deprecated in 3.0 and may be missing) |
| 25641 | save_CFLAGS="$CFLAGS" |
| 25642 | save_LIBS="$LIBS" |
| 25643 | CFLAGS="$CFLAGS $OPENSSL_CFLAGS" |
| 25644 | LIBS="$LIBS $OPENSSL_LIBS" |
| 25645 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "openssl/engine.h" "ac_cv_header_openssl_engine_h" "$ac_includes_default" |
| 25646 | if testscip-shell system . . test. "x$ac_cv_header_openssl_engine_h" = xyes |
| 25647 | then : |
| 25648 | |
| 25649 | ac_fn_check_declscip-shell shell rsyslog 8.2604.0-4 ac_fn_check_decl(). "$LINENO" "ENGINE_load_builtin_engines" "ac_cv_have_decl_ENGINE_load_builtin_engines" "#include <openssl/engine.h> |
| 25650 | |
| 25651 | " "$ac_c_undeclared_builtin_options" "CFLAGS" |
| 25652 | if testscip-shell system . . test. "x$ac_cv_have_decl_ENGINE_load_builtin_engines" = xyes |
| 25653 | then : |
| 25654 | |
| 25655 | else $as_nop |
| 25656 | |
| 25657 | printfscip-shell system . . printf. "%s\n" "#define OPENSSL_NO_ENGINE 1" >>confdefs.h |
| 25658 | |
| 25659 | fi |
| 25660 | |
| 25661 | else $as_nop |
| 25662 | |
| 25663 | |
| 25664 | printfscip-shell system . . printf. "%s\n" "#define OPENSSL_NO_ENGINE 1" >>confdefs.h |
| 25665 | |
| 25666 | |
| 25667 | |
| 25668 | fi |
| 25669 | |
| 25670 | CFLAGS="$save_CFLAGS" |
| 25671 | LIBS="$save_LIBS" |
| 25672 | fi |
| 25673 | if testscip-shell system . . test. "x$enable_wolfssl" = "xyes" && testscip-shell system . . test. "x$enable_openssl" = "xyes"; then |
| 25674 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "wolfSSL and OpenSSL cannot be enabled together; select only one" "$LINENO" 5 |
| 25675 | fi |
| 25676 | if testscip-shell system . . test. "x$enable_openssl" = "xyes"; then |
| 25677 | ENABLE_OPENSSL_TRUE= |
| 25678 | ENABLE_OPENSSL_FALSE='#' |
| 25679 | else |
| 25680 | ENABLE_OPENSSL_TRUE='#' |
| 25681 | ENABLE_OPENSSL_FALSE= |
| 25682 | fi |
| 25683 | |
| 25684 | if testscip-shell system . . test. "x$enable_openssl" = "xyes" || testscip-shell system . . test. "x$enable_wolfssl" = "xyes"; then |
| 25685 | ENABLE_OSSL_TRUE= |
| 25686 | ENABLE_OSSL_FALSE='#' |
| 25687 | else |
| 25688 | ENABLE_OSSL_TRUE='#' |
| 25689 | ENABLE_OSSL_FALSE= |
| 25690 | fi |
| 25691 | |
| 25692 | |
| 25693 | # Check whether --enable-openssl_crypto_provider was given. |
| 25694 | if testscip-shell system . . test. ${enable_openssl_crypto_provider+y} |
| 25695 | then : |
| 25696 | enableval=$enable_openssl_crypto_provider; case "${enableval}" in |
| 25697 | yes) enable_openssl_crypto_provider="yes" ;; |
| 25698 | no) enable_openssl_crypto_provider="no" ;; |
| 25699 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-openssl" "$LINENO" 5 ;; |
| 25700 | esac |
| 25701 | else $as_nop |
| 25702 | enable_openssl_crypto_provider=no |
| 25703 | |
| 25704 | fi |
| 25705 | |
| 25706 | if testscip-shell system . . test. "x$enable_openssl" = "xyes" && testscip-shell system . . test. "x$enable_openssl_crypto_provider" = "xyes"; then |
| 25707 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_get_block_size in -lcrypto" >&5 |
| 25708 | printfscip-shell system . . printf. %s "checking for EVP_CIPHER_get_block_size in -lcrypto... " >&6; } |
| 25709 | if testscip-shell system . . test. ${ac_cv_lib_crypto_EVP_CIPHER_get_block_size+y} |
| 25710 | then : |
| 25711 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 25712 | else $as_nop |
| 25713 | ac_check_lib_save_LIBS=$LIBS |
| 25714 | LIBS="-lcrypto $LIBS" |
| 25715 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 25716 | /* end confdefs.h. */ |
| 25717 | |
| 25718 | /* Override any GCC internal prototype to avoid an error. |
| 25719 | Use char because int might match the return type of a GCC |
| 25720 | builtin and then its argument prototype would still apply. */ |
| 25721 | char EVP_CIPHER_get_block_size (); |
| 25722 | int |
| 25723 | main (void) |
| 25724 | { |
| 25725 | return EVP_CIPHER_get_block_size (); |
| 25726 | ; |
| 25727 | return 0; |
| 25728 | } |
| 25729 | _ACEOF |
| 25730 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 25731 | then : |
| 25732 | ac_cv_lib_crypto_EVP_CIPHER_get_block_size=yes |
| 25733 | else $as_nop |
| 25734 | ac_cv_lib_crypto_EVP_CIPHER_get_block_size=no |
| 25735 | fi |
| 25736 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 25737 | conftest$ac_exeext conftest.$ac_ext |
| 25738 | LIBS=$ac_check_lib_save_LIBS |
| 25739 | fi |
| 25740 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_get_block_size" >&5 |
| 25741 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_crypto_EVP_CIPHER_get_block_size" >&6; } |
| 25742 | if testscip-shell system . . test. "x$ac_cv_lib_crypto_EVP_CIPHER_get_block_size" = xyes |
| 25743 | then : |
| 25744 | enable_openssl_crypto_provider="yes" |
| 25745 | |
| 25746 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_OPENSSL_CRYPTO_PROVIDER 1" >>confdefs.h |
| 25747 | |
| 25748 | |
| 25749 | else $as_nop |
| 25750 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: The ossl encryption provider will not be enabled (EVP_CIPHER_get_block_size is missing)" >&5 |
| 25751 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: The ossl encryption provider will not be enabled (EVP_CIPHER_get_block_size is missing)" >&2;} |
| 25752 | |
| 25753 | fi |
| 25754 | |
| 25755 | fi |
| 25756 | |
| 25757 | # GnuTLS support |
| 25758 | # Check whether --enable-gnutls was given. |
| 25759 | if testscip-shell system . . test. ${enable_gnutls+y} |
| 25760 | then : |
| 25761 | enableval=$enable_gnutls; case "${enableval}" in |
| 25762 | yes) enable_gnutls="yes" ;; |
| 25763 | no) enable_gnutls="no" ;; |
| 25764 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-gnutls" "$LINENO" 5 ;; |
| 25765 | esac |
| 25766 | else $as_nop |
| 25767 | enable_gnutls=no |
| 25768 | |
| 25769 | fi |
| 25770 | |
| 25771 | if testscip-shell system . . test. "x$enable_gnutls" = "xyes"; then |
| 25772 | |
| 25773 | pkg_failed=no |
| 25774 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls >= 1.4.0" >&5 |
| 25775 | printfscip-shell system . . printf. %s "checking for gnutls >= 1.4.0... " >&6; } |
| 25776 | |
| 25777 | if testscip-shell system . . test. -n "$GNUTLS_CFLAGS"; then |
| 25778 | pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS" |
| 25779 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 25780 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 25781 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 1.4.0\""; } >&5 |
| 25782 | ($PKG_CONFIG --exists --print-errors "gnutls >= 1.4.0") 2>&5 |
| 25783 | ac_status=$? |
| 25784 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25785 | testscip-shell system . . test. $ac_status = 0; }; then |
| 25786 | pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 1.4.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 25787 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 25788 | else |
| 25789 | pkg_failed=yes |
| 25790 | fi |
| 25791 | else |
| 25792 | pkg_failed=untried |
| 25793 | fi |
| 25794 | if testscip-shell system . . test. -n "$GNUTLS_LIBS"; then |
| 25795 | pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS" |
| 25796 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 25797 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 25798 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 1.4.0\""; } >&5 |
| 25799 | ($PKG_CONFIG --exists --print-errors "gnutls >= 1.4.0") 2>&5 |
| 25800 | ac_status=$? |
| 25801 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25802 | testscip-shell system . . test. $ac_status = 0; }; then |
| 25803 | pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 1.4.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 25804 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 25805 | else |
| 25806 | pkg_failed=yes |
| 25807 | fi |
| 25808 | else |
| 25809 | pkg_failed=untried |
| 25810 | fi |
| 25811 | |
| 25812 | |
| 25813 | |
| 25814 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 25815 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25816 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 25817 | |
| 25818 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 25819 | _pkg_short_errors_supported=yes |
| 25820 | else |
| 25821 | _pkg_short_errors_supported=no |
| 25822 | fi |
| 25823 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 25824 | GNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnutls >= 1.4.0" 2>&1` |
| 25825 | else |
| 25826 | GNUTLS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnutls >= 1.4.0" 2>&1` |
| 25827 | fi |
| 25828 | # Put the nasty error message in config.log where it belongs |
| 25829 | echoscip-shell system . . echo. "$GNUTLS_PKG_ERRORS" >&5 |
| 25830 | |
| 25831 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (gnutls >= 1.4.0) were not met: |
| 25832 | |
| 25833 | $GNUTLS_PKG_ERRORS |
| 25834 | |
| 25835 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 25836 | installed software in a non-standard prefix. |
| 25837 | |
| 25838 | Alternatively, you may set the environment variables GNUTLS_CFLAGS |
| 25839 | and GNUTLS_LIBS to avoid the need to call pkg-config. |
| 25840 | See the pkg-config man page for more details." "$LINENO" 5 |
| 25841 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 25842 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25843 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 25844 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 25845 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 25846 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 25847 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 25848 | path to pkg-config. |
| 25849 | |
| 25850 | Alternatively, you may set the environment variables GNUTLS_CFLAGS |
| 25851 | and GNUTLS_LIBS to avoid the need to call pkg-config. |
| 25852 | See the pkg-config man page for more details. |
| 25853 | |
| 25854 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 25855 | See \`config.log' for more details" "$LINENO" 5; } |
| 25856 | else |
| 25857 | GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS |
| 25858 | GNUTLS_LIBS=$pkg_cv_GNUTLS_LIBS |
| 25859 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 25860 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 25861 | |
| 25862 | fi |
| 25863 | |
| 25864 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_GNUTLS 1" >>confdefs.h |
| 25865 | |
| 25866 | save_libs=$LIBS |
| 25867 | LIBS="$LIBS $GNUTLS_LIBS" |
| 25868 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "gnutls_certificate_set_retrieve_function" "ac_cv_func_gnutls_certificate_set_retrieve_function" |
| 25869 | if testscip-shell system . . test. "x$ac_cv_func_gnutls_certificate_set_retrieve_function" = xyes |
| 25870 | then : |
| 25871 | printfscip-shell system . . printf. "%s\n" "#define HAVE_GNUTLS_CERTIFICATE_SET_RETRIEVE_FUNCTION 1" >>confdefs.h |
| 25872 | |
| 25873 | fi |
| 25874 | |
| 25875 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "gnutls_certificate_type_set_priority" "ac_cv_func_gnutls_certificate_type_set_priority" |
| 25876 | if testscip-shell system . . test. "x$ac_cv_func_gnutls_certificate_type_set_priority" = xyes |
| 25877 | then : |
| 25878 | printfscip-shell system . . printf. "%s\n" "#define HAVE_GNUTLS_CERTIFICATE_TYPE_SET_PRIORITY 1" >>confdefs.h |
| 25879 | |
| 25880 | fi |
| 25881 | |
| 25882 | LIBS=$save_libs |
| 25883 | fi |
| 25884 | |
| 25885 | if testscip-shell system . . test. x$enable_gnutls = xyes; then |
| 25886 | ENABLE_GNUTLS_TRUE= |
| 25887 | ENABLE_GNUTLS_FALSE='#' |
| 25888 | else |
| 25889 | ENABLE_GNUTLS_TRUE='#' |
| 25890 | ENABLE_GNUTLS_FALSE= |
| 25891 | fi |
| 25892 | |
| 25893 | |
| 25894 | # Check whether --enable-gnutls-tests was given. |
| 25895 | if testscip-shell system . . test. ${enable_gnutls_tests+y} |
| 25896 | then : |
| 25897 | enableval=$enable_gnutls_tests; case "${enableval}" in |
| 25898 | yes) enable_gnutls_tests="yes" ;; |
| 25899 | no) enable_gnutls_tests="no" ;; |
| 25900 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-gnutls-tests" "$LINENO" 5 ;; |
| 25901 | esac |
| 25902 | else $as_nop |
| 25903 | if testscip-shell system . . test. "x$enable_gnutls" = "xyes"; then |
| 25904 | enable_gnutls_tests=yes |
| 25905 | else |
| 25906 | enable_gnutls_tests=no |
| 25907 | fi |
| 25908 | |
| 25909 | fi |
| 25910 | |
| 25911 | if testscip-shell system . . test. "x$enable_gnutls_tests" = "xyes" && testscip-shell system . . test. "x$enable_gnutls" != "xyes"; then |
| 25912 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: gnutls-tests can not be enabled without gnutls support. Disabling gnutls tests..." >&5 |
| 25913 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: gnutls-tests can not be enabled without gnutls support. Disabling gnutls tests..." >&2;} |
| 25914 | enable_gnutls_tests="no" |
| 25915 | fi |
| 25916 | |
| 25917 | if testscip-shell system . . test. x$enable_gnutls_tests = xyes; then |
| 25918 | ENABLE_GNUTLS_TESTS_TRUE= |
| 25919 | ENABLE_GNUTLS_TESTS_FALSE='#' |
| 25920 | else |
| 25921 | ENABLE_GNUTLS_TESTS_TRUE='#' |
| 25922 | ENABLE_GNUTLS_TESTS_FALSE= |
| 25923 | fi |
| 25924 | |
| 25925 | |
| 25926 | # Mbed TLS support |
| 25927 | # Check whether --enable-mbedtls was given. |
| 25928 | if testscip-shell system . . test. ${enable_mbedtls+y} |
| 25929 | then : |
| 25930 | enableval=$enable_mbedtls; case "${enableval}" in |
| 25931 | yes) enable_mbedtls="yes" ;; |
| 25932 | no) enable_mbedtls="no" ;; |
| 25933 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mbedtls" "$LINENO" 5 ;; |
| 25934 | esac |
| 25935 | else $as_nop |
| 25936 | enable_mbedtls=no |
| 25937 | |
| 25938 | fi |
| 25939 | |
| 25940 | if testscip-shell system . . test. "x$enable_mbedtls" = "xyes"; then |
| 25941 | |
| 25942 | pkg_failed=no |
| 25943 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mbedtls" >&5 |
| 25944 | printfscip-shell system . . printf. %s "checking for mbedtls... " >&6; } |
| 25945 | |
| 25946 | if testscip-shell system . . test. -n "$MBEDTLS_CFLAGS"; then |
| 25947 | pkg_cv_MBEDTLS_CFLAGS="$MBEDTLS_CFLAGS" |
| 25948 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 25949 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 25950 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mbedtls\""; } >&5 |
| 25951 | ($PKG_CONFIG --exists --print-errors "mbedtls") 2>&5 |
| 25952 | ac_status=$? |
| 25953 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25954 | testscip-shell system . . test. $ac_status = 0; }; then |
| 25955 | pkg_cv_MBEDTLS_CFLAGS=`$PKG_CONFIG --cflags "mbedtls" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 25956 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 25957 | else |
| 25958 | pkg_failed=yes |
| 25959 | fi |
| 25960 | else |
| 25961 | pkg_failed=untried |
| 25962 | fi |
| 25963 | if testscip-shell system . . test. -n "$MBEDTLS_LIBS"; then |
| 25964 | pkg_cv_MBEDTLS_LIBS="$MBEDTLS_LIBS" |
| 25965 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 25966 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 25967 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mbedtls\""; } >&5 |
| 25968 | ($PKG_CONFIG --exists --print-errors "mbedtls") 2>&5 |
| 25969 | ac_status=$? |
| 25970 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25971 | testscip-shell system . . test. $ac_status = 0; }; then |
| 25972 | pkg_cv_MBEDTLS_LIBS=`$PKG_CONFIG --libs "mbedtls" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 25973 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 25974 | else |
| 25975 | pkg_failed=yes |
| 25976 | fi |
| 25977 | else |
| 25978 | pkg_failed=untried |
| 25979 | fi |
| 25980 | |
| 25981 | |
| 25982 | |
| 25983 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 25984 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25985 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 25986 | |
| 25987 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 25988 | _pkg_short_errors_supported=yes |
| 25989 | else |
| 25990 | _pkg_short_errors_supported=no |
| 25991 | fi |
| 25992 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 25993 | MBEDTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mbedtls" 2>&1` |
| 25994 | else |
| 25995 | MBEDTLS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mbedtls" 2>&1` |
| 25996 | fi |
| 25997 | # Put the nasty error message in config.log where it belongs |
| 25998 | echoscip-shell system . . echo. "$MBEDTLS_PKG_ERRORS" >&5 |
| 25999 | |
| 26000 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (mbedtls) were not met: |
| 26001 | |
| 26002 | $MBEDTLS_PKG_ERRORS |
| 26003 | |
| 26004 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 26005 | installed software in a non-standard prefix. |
| 26006 | |
| 26007 | Alternatively, you may set the environment variables MBEDTLS_CFLAGS |
| 26008 | and MBEDTLS_LIBS to avoid the need to call pkg-config. |
| 26009 | See the pkg-config man page for more details." "$LINENO" 5 |
| 26010 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 26011 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 26012 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 26013 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 26014 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 26015 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 26016 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 26017 | path to pkg-config. |
| 26018 | |
| 26019 | Alternatively, you may set the environment variables MBEDTLS_CFLAGS |
| 26020 | and MBEDTLS_LIBS to avoid the need to call pkg-config. |
| 26021 | See the pkg-config man page for more details. |
| 26022 | |
| 26023 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 26024 | See \`config.log' for more details" "$LINENO" 5; } |
| 26025 | else |
| 26026 | MBEDTLS_CFLAGS=$pkg_cv_MBEDTLS_CFLAGS |
| 26027 | MBEDTLS_LIBS=$pkg_cv_MBEDTLS_LIBS |
| 26028 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 26029 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 26030 | |
| 26031 | fi |
| 26032 | |
| 26033 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_MBEDTLS 1" >>confdefs.h |
| 26034 | |
| 26035 | fi |
| 26036 | if testscip-shell system . . test. x$enable_mbedtls = xyes; then |
| 26037 | ENABLE_MBEDTLS_TRUE= |
| 26038 | ENABLE_MBEDTLS_FALSE='#' |
| 26039 | else |
| 26040 | ENABLE_MBEDTLS_TRUE='#' |
| 26041 | ENABLE_MBEDTLS_FALSE= |
| 26042 | fi |
| 26043 | |
| 26044 | |
| 26045 | # libgcrypt support |
| 26046 | # Check whether --enable-libgcrypt was given. |
| 26047 | if testscip-shell system . . test. ${enable_libgcrypt+y} |
| 26048 | then : |
| 26049 | enableval=$enable_libgcrypt; case "${enableval}" in |
| 26050 | yes) enable_libgcrypt="yes" ;; |
| 26051 | no) enable_libgcrypt="no" ;; |
| 26052 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-libgcrypt" "$LINENO" 5 ;; |
| 26053 | esac |
| 26054 | else $as_nop |
| 26055 | enable_libgcrypt=yes |
| 26056 | |
| 26057 | fi |
| 26058 | |
| 26059 | if testscip-shell system . . test. "x$enable_libgcrypt" = "xyes"; then |
| 26060 | # Check for the modern pkg-config method first |
| 26061 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 26062 | set dummy pkg-config; ac_word=$2 |
| 26063 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 26064 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 26065 | if testscip-shell system . . test. ${ac_cv_prog_HAVE_PKG_CONFIG+y} |
| 26066 | then : |
| 26067 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 26068 | else $as_nop |
| 26069 | if testscip-shell system . . test. -n "$HAVE_PKG_CONFIG"; then |
| 26070 | ac_cv_prog_HAVE_PKG_CONFIG="$HAVE_PKG_CONFIG" # Let the user override the test. |
| 26071 | else |
| 26072 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 26073 | for as_dir in $PATH |
| 26074 | do |
| 26075 | IFS=$as_save_IFS |
| 26076 | case $as_dir in #((( |
| 26077 | '') as_dir=./ ;; |
| 26078 | */) ;; |
| 26079 | *) as_dir=$as_dir/ ;; |
| 26080 | esac |
| 26081 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 26082 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 26083 | ac_cv_prog_HAVE_PKG_CONFIG="yes" |
| 26084 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 26085 | break 2 |
| 26086 | fi |
| 26087 | done |
| 26088 | done |
| 26089 | IFS=$as_save_IFS |
| 26090 | |
| 26091 | testscip-shell system . . test. -z "$ac_cv_prog_HAVE_PKG_CONFIG" && ac_cv_prog_HAVE_PKG_CONFIG="no" |
| 26092 | fi |
| 26093 | fi |
| 26094 | HAVE_PKG_CONFIG=$ac_cv_prog_HAVE_PKG_CONFIG |
| 26095 | if testscip-shell system . . test. -n "$HAVE_PKG_CONFIG"; then |
| 26096 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAVE_PKG_CONFIG" >&5 |
| 26097 | printfscip-shell system . . printf. "%s\n" "$HAVE_PKG_CONFIG" >&6; } |
| 26098 | else |
| 26099 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 26100 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 26101 | fi |
| 26102 | |
| 26103 | |
| 26104 | if testscip-shell system . . test. "x${HAVE_PKG_CONFIG}" = "xno"; then |
| 26105 | # Fallback to the outdated libgcrypt-config approach |
| 26106 | # Extract the first word of "libgcrypt-config", so it can be a program name with args. |
| 26107 | set dummy libgcrypt-config; ac_word=$2 |
| 26108 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 26109 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 26110 | if testscip-shell system . . test. ${ac_cv_path_LIBGCRYPT_CONFIG+y} |
| 26111 | then : |
| 26112 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 26113 | else $as_nop |
| 26114 | case $LIBGCRYPT_CONFIG in |
| 26115 | [\\/]* | ?:[\\/]*) |
| 26116 | ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path. |
| 26117 | ;; |
| 26118 | *) |
| 26119 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 26120 | for as_dir in $PATH |
| 26121 | do |
| 26122 | IFS=$as_save_IFS |
| 26123 | case $as_dir in #((( |
| 26124 | '') as_dir=./ ;; |
| 26125 | */) ;; |
| 26126 | *) as_dir=$as_dir/ ;; |
| 26127 | esac |
| 26128 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 26129 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 26130 | ac_cv_path_LIBGCRYPT_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 26131 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 26132 | break 2 |
| 26133 | fi |
| 26134 | done |
| 26135 | done |
| 26136 | IFS=$as_save_IFS |
| 26137 | |
| 26138 | testscip-shell system . . test. -z "$ac_cv_path_LIBGCRYPT_CONFIG" && ac_cv_path_LIBGCRYPT_CONFIG="no" |
| 26139 | ;; |
| 26140 | esac |
| 26141 | fi |
| 26142 | LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG |
| 26143 | if testscip-shell system . . test. -n "$LIBGCRYPT_CONFIG"; then |
| 26144 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5 |
| 26145 | printfscip-shell system . . printf. "%s\n" "$LIBGCRYPT_CONFIG" >&6; } |
| 26146 | else |
| 26147 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 26148 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 26149 | fi |
| 26150 | |
| 26151 | |
| 26152 | if testscip-shell system . . test. "x${LIBGCRYPT_CONFIG}" = "xno"; then |
| 26153 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 26154 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 26155 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libgcrypt-config not found in PATH and pkg-config is not available. libgcrypt is missing. |
| 26156 | See \`config.log' for more details" "$LINENO" 5; } |
| 26157 | fi |
| 26158 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gcry_cipher_open in -lgcrypt" >&5 |
| 26159 | printfscip-shell system . . printf. %s "checking for gcry_cipher_open in -lgcrypt... " >&6; } |
| 26160 | if testscip-shell system . . test. ${ac_cv_lib_gcrypt_gcry_cipher_open+y} |
| 26161 | then : |
| 26162 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 26163 | else $as_nop |
| 26164 | ac_check_lib_save_LIBS=$LIBS |
| 26165 | LIBS="-lgcrypt `${LIBGCRYPT_CONFIG} --libs --cflags` |
| 26166 | $LIBS" |
| 26167 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26168 | /* end confdefs.h. */ |
| 26169 | |
| 26170 | /* Override any GCC internal prototype to avoid an error. |
| 26171 | Use char because int might match the return type of a GCC |
| 26172 | builtin and then its argument prototype would still apply. */ |
| 26173 | char gcry_cipher_open (); |
| 26174 | int |
| 26175 | main (void) |
| 26176 | { |
| 26177 | return gcry_cipher_open (); |
| 26178 | ; |
| 26179 | return 0; |
| 26180 | } |
| 26181 | _ACEOF |
| 26182 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 26183 | then : |
| 26184 | ac_cv_lib_gcrypt_gcry_cipher_open=yes |
| 26185 | else $as_nop |
| 26186 | ac_cv_lib_gcrypt_gcry_cipher_open=no |
| 26187 | fi |
| 26188 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26189 | conftest$ac_exeext conftest.$ac_ext |
| 26190 | LIBS=$ac_check_lib_save_LIBS |
| 26191 | fi |
| 26192 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcrypt_gcry_cipher_open" >&5 |
| 26193 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_gcrypt_gcry_cipher_open" >&6; } |
| 26194 | if testscip-shell system . . test. "x$ac_cv_lib_gcrypt_gcry_cipher_open" = xyes |
| 26195 | then : |
| 26196 | LIBGCRYPT_CFLAGS="`${LIBGCRYPT_CONFIG} --cflags`" |
| 26197 | LIBGCRYPT_LIBS="`${LIBGCRYPT_CONFIG} --libs`" |
| 26198 | |
| 26199 | else $as_nop |
| 26200 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 26201 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 26202 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libgcrypt is missing |
| 26203 | See \`config.log' for more details" "$LINENO" 5; } |
| 26204 | fi |
| 26205 | |
| 26206 | else |
| 26207 | # Use the preferred pkg-config approach |
| 26208 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gcry_cipher_open in -lgcrypt" >&5 |
| 26209 | printfscip-shell system . . printf. %s "checking for gcry_cipher_open in -lgcrypt... " >&6; } |
| 26210 | if testscip-shell system . . test. ${ac_cv_lib_gcrypt_gcry_cipher_open+y} |
| 26211 | then : |
| 26212 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 26213 | else $as_nop |
| 26214 | ac_check_lib_save_LIBS=$LIBS |
| 26215 | LIBS="-lgcrypt `pkg-config --libs --cflags libgcrypt gpg-error` |
| 26216 | $LIBS" |
| 26217 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26218 | /* end confdefs.h. */ |
| 26219 | |
| 26220 | /* Override any GCC internal prototype to avoid an error. |
| 26221 | Use char because int might match the return type of a GCC |
| 26222 | builtin and then its argument prototype would still apply. */ |
| 26223 | char gcry_cipher_open (); |
| 26224 | int |
| 26225 | main (void) |
| 26226 | { |
| 26227 | return gcry_cipher_open (); |
| 26228 | ; |
| 26229 | return 0; |
| 26230 | } |
| 26231 | _ACEOF |
| 26232 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 26233 | then : |
| 26234 | ac_cv_lib_gcrypt_gcry_cipher_open=yes |
| 26235 | else $as_nop |
| 26236 | ac_cv_lib_gcrypt_gcry_cipher_open=no |
| 26237 | fi |
| 26238 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26239 | conftest$ac_exeext conftest.$ac_ext |
| 26240 | LIBS=$ac_check_lib_save_LIBS |
| 26241 | fi |
| 26242 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcrypt_gcry_cipher_open" >&5 |
| 26243 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_gcrypt_gcry_cipher_open" >&6; } |
| 26244 | if testscip-shell system . . test. "x$ac_cv_lib_gcrypt_gcry_cipher_open" = xyes |
| 26245 | then : |
| 26246 | LIBGCRYPT_CFLAGS="`pkg-config --cflags libgcrypt gpg-error`" |
| 26247 | LIBGCRYPT_LIBS="`pkg-config --libs libgcrypt gpg-error`" |
| 26248 | |
| 26249 | else $as_nop |
| 26250 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 26251 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 26252 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libgcrypt is missing |
| 26253 | See \`config.log' for more details" "$LINENO" 5; } |
| 26254 | fi |
| 26255 | |
| 26256 | if testscip-shell system . . test. "x${LIBGCRYPT_CFLAGS}" = "x" && testscip-shell system . . test. "x${LIBGCRYPT_LIBS}" = "x";then |
| 26257 | # Extract the first word of "libgcrypt-config", so it can be a program name with args. |
| 26258 | set dummy libgcrypt-config; ac_word=$2 |
| 26259 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 26260 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 26261 | if testscip-shell system . . test. ${ac_cv_path_LIBGCRYPT_CONFIG+y} |
| 26262 | then : |
| 26263 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 26264 | else $as_nop |
| 26265 | case $LIBGCRYPT_CONFIG in |
| 26266 | [\\/]* | ?:[\\/]*) |
| 26267 | ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path. |
| 26268 | ;; |
| 26269 | *) |
| 26270 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 26271 | for as_dir in $PATH |
| 26272 | do |
| 26273 | IFS=$as_save_IFS |
| 26274 | case $as_dir in #((( |
| 26275 | '') as_dir=./ ;; |
| 26276 | */) ;; |
| 26277 | *) as_dir=$as_dir/ ;; |
| 26278 | esac |
| 26279 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 26280 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 26281 | ac_cv_path_LIBGCRYPT_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 26282 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 26283 | break 2 |
| 26284 | fi |
| 26285 | done |
| 26286 | done |
| 26287 | IFS=$as_save_IFS |
| 26288 | |
| 26289 | testscip-shell system . . test. -z "$ac_cv_path_LIBGCRYPT_CONFIG" && ac_cv_path_LIBGCRYPT_CONFIG="no" |
| 26290 | ;; |
| 26291 | esac |
| 26292 | fi |
| 26293 | LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG |
| 26294 | if testscip-shell system . . test. -n "$LIBGCRYPT_CONFIG"; then |
| 26295 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5 |
| 26296 | printfscip-shell system . . printf. "%s\n" "$LIBGCRYPT_CONFIG" >&6; } |
| 26297 | else |
| 26298 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 26299 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 26300 | fi |
| 26301 | |
| 26302 | |
| 26303 | if testscip-shell system . . test. "x${LIBGCRYPT_CONFIG}" = "xno"; then |
| 26304 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 26305 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 26306 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libgcrypt-config not found in PATH and pkgconfig file of libgcrypt is not available. libgcrypt is missing. |
| 26307 | See \`config.log' for more details" "$LINENO" 5; } |
| 26308 | fi |
| 26309 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gcry_cipher_open in -lgcrypt" >&5 |
| 26310 | printfscip-shell system . . printf. %s "checking for gcry_cipher_open in -lgcrypt... " >&6; } |
| 26311 | if testscip-shell system . . test. ${ac_cv_lib_gcrypt_gcry_cipher_open+y} |
| 26312 | then : |
| 26313 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 26314 | else $as_nop |
| 26315 | ac_check_lib_save_LIBS=$LIBS |
| 26316 | LIBS="-lgcrypt `${LIBGCRYPT_CONFIG} --libs --cflags` |
| 26317 | $LIBS" |
| 26318 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26319 | /* end confdefs.h. */ |
| 26320 | |
| 26321 | /* Override any GCC internal prototype to avoid an error. |
| 26322 | Use char because int might match the return type of a GCC |
| 26323 | builtin and then its argument prototype would still apply. */ |
| 26324 | char gcry_cipher_open (); |
| 26325 | int |
| 26326 | main (void) |
| 26327 | { |
| 26328 | return gcry_cipher_open (); |
| 26329 | ; |
| 26330 | return 0; |
| 26331 | } |
| 26332 | _ACEOF |
| 26333 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 26334 | then : |
| 26335 | ac_cv_lib_gcrypt_gcry_cipher_open=yes |
| 26336 | else $as_nop |
| 26337 | ac_cv_lib_gcrypt_gcry_cipher_open=no |
| 26338 | fi |
| 26339 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26340 | conftest$ac_exeext conftest.$ac_ext |
| 26341 | LIBS=$ac_check_lib_save_LIBS |
| 26342 | fi |
| 26343 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcrypt_gcry_cipher_open" >&5 |
| 26344 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_gcrypt_gcry_cipher_open" >&6; } |
| 26345 | if testscip-shell system . . test. "x$ac_cv_lib_gcrypt_gcry_cipher_open" = xyes |
| 26346 | then : |
| 26347 | LIBGCRYPT_CFLAGS="`${LIBGCRYPT_CONFIG} --cflags`" |
| 26348 | LIBGCRYPT_LIBS="`${LIBGCRYPT_CONFIG} --libs`" |
| 26349 | |
| 26350 | else $as_nop |
| 26351 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 26352 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 26353 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libgcrypt is missing |
| 26354 | See \`config.log' for more details" "$LINENO" 5; } |
| 26355 | fi |
| 26356 | |
| 26357 | fi |
| 26358 | fi |
| 26359 | |
| 26360 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_LIBGCRYPT 1" >>confdefs.h |
| 26361 | |
| 26362 | fi |
| 26363 | if testscip-shell system . . test. x$enable_libgcrypt = xyes; then |
| 26364 | ENABLE_LIBGCRYPT_TRUE= |
| 26365 | ENABLE_LIBGCRYPT_FALSE='#' |
| 26366 | else |
| 26367 | ENABLE_LIBGCRYPT_TRUE='#' |
| 26368 | ENABLE_LIBGCRYPT_FALSE= |
| 26369 | fi |
| 26370 | |
| 26371 | if testscip-shell system . . test. x$enable_libgcrypt = xyes || testscip-shell system . . test. x$enable_openssl_crypto_provider = xyes; then |
| 26372 | ENABLE_RSCRYUTIL_TRUE= |
| 26373 | ENABLE_RSCRYUTIL_FALSE='#' |
| 26374 | else |
| 26375 | ENABLE_RSCRYUTIL_TRUE='#' |
| 26376 | ENABLE_RSCRYUTIL_FALSE= |
| 26377 | fi |
| 26378 | |
| 26379 | if testscip-shell system . . test. x$enable_openssl_crypto_provider = xyes; then |
| 26380 | ENABLE_OPENSSL_CRYPTO_PROVIDER_TRUE= |
| 26381 | ENABLE_OPENSSL_CRYPTO_PROVIDER_FALSE='#' |
| 26382 | else |
| 26383 | ENABLE_OPENSSL_CRYPTO_PROVIDER_TRUE='#' |
| 26384 | ENABLE_OPENSSL_CRYPTO_PROVIDER_FALSE= |
| 26385 | fi |
| 26386 | |
| 26387 | |
| 26388 | |
| 26389 | |
| 26390 | |
| 26391 | # libzstd support |
| 26392 | # Check whether --enable-libzstd was given. |
| 26393 | if testscip-shell system . . test. ${enable_libzstd+y} |
| 26394 | then : |
| 26395 | enableval=$enable_libzstd; case "${enableval}" in |
| 26396 | yes) enable_libzstd="yes" ;; |
| 26397 | no) enable_libzstd="no" ;; |
| 26398 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-libzstd" "$LINENO" 5 ;; |
| 26399 | esac |
| 26400 | else $as_nop |
| 26401 | enable_libzstd=no |
| 26402 | |
| 26403 | fi |
| 26404 | |
| 26405 | if testscip-shell system . . test. "x$enable_libzstd" = "xyes"; then |
| 26406 | save_LIBS="$LIBS" |
| 26407 | |
| 26408 | pkg_failed=no |
| 26409 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zstd >= 1.4.0" >&5 |
| 26410 | printfscip-shell system . . printf. %s "checking for zstd >= 1.4.0... " >&6; } |
| 26411 | |
| 26412 | if testscip-shell system . . test. -n "$ZSTD_CFLAGS"; then |
| 26413 | pkg_cv_ZSTD_CFLAGS="$ZSTD_CFLAGS" |
| 26414 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 26415 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 26416 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zstd >= 1.4.0\""; } >&5 |
| 26417 | ($PKG_CONFIG --exists --print-errors "zstd >= 1.4.0") 2>&5 |
| 26418 | ac_status=$? |
| 26419 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 26420 | testscip-shell system . . test. $ac_status = 0; }; then |
| 26421 | pkg_cv_ZSTD_CFLAGS=`$PKG_CONFIG --cflags "zstd >= 1.4.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 26422 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 26423 | else |
| 26424 | pkg_failed=yes |
| 26425 | fi |
| 26426 | else |
| 26427 | pkg_failed=untried |
| 26428 | fi |
| 26429 | if testscip-shell system . . test. -n "$ZSTD_LIBS"; then |
| 26430 | pkg_cv_ZSTD_LIBS="$ZSTD_LIBS" |
| 26431 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 26432 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 26433 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zstd >= 1.4.0\""; } >&5 |
| 26434 | ($PKG_CONFIG --exists --print-errors "zstd >= 1.4.0") 2>&5 |
| 26435 | ac_status=$? |
| 26436 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 26437 | testscip-shell system . . test. $ac_status = 0; }; then |
| 26438 | pkg_cv_ZSTD_LIBS=`$PKG_CONFIG --libs "zstd >= 1.4.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 26439 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 26440 | else |
| 26441 | pkg_failed=yes |
| 26442 | fi |
| 26443 | else |
| 26444 | pkg_failed=untried |
| 26445 | fi |
| 26446 | |
| 26447 | |
| 26448 | |
| 26449 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 26450 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 26451 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 26452 | |
| 26453 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 26454 | _pkg_short_errors_supported=yes |
| 26455 | else |
| 26456 | _pkg_short_errors_supported=no |
| 26457 | fi |
| 26458 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 26459 | ZSTD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zstd >= 1.4.0" 2>&1` |
| 26460 | else |
| 26461 | ZSTD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zstd >= 1.4.0" 2>&1` |
| 26462 | fi |
| 26463 | # Put the nasty error message in config.log where it belongs |
| 26464 | echoscip-shell system . . echo. "$ZSTD_PKG_ERRORS" >&5 |
| 26465 | |
| 26466 | |
| 26467 | LIBS="$LIBS -lzstd" |
| 26468 | ZSTD_LIBS="-lzstd" |
| 26469 | |
| 26470 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing ZSTD_compressStream2" >&5 |
| 26471 | printfscip-shell system . . printf. %s "checking for library containing ZSTD_compressStream2... " >&6; } |
| 26472 | if testscip-shell system . . test. ${ac_cv_search_ZSTD_compressStream2+y} |
| 26473 | then : |
| 26474 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 26475 | else $as_nop |
| 26476 | ac_func_search_save_LIBS=$LIBS |
| 26477 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26478 | /* end confdefs.h. */ |
| 26479 | |
| 26480 | /* Override any GCC internal prototype to avoid an error. |
| 26481 | Use char because int might match the return type of a GCC |
| 26482 | builtin and then its argument prototype would still apply. */ |
| 26483 | char ZSTD_compressStream2 (); |
| 26484 | int |
| 26485 | main (void) |
| 26486 | { |
| 26487 | return ZSTD_compressStream2 (); |
| 26488 | ; |
| 26489 | return 0; |
| 26490 | } |
| 26491 | _ACEOF |
| 26492 | for ac_lib in '' zstd |
| 26493 | do |
| 26494 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 26495 | ac_res="none required" |
| 26496 | else |
| 26497 | ac_res=-l$ac_lib |
| 26498 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 26499 | fi |
| 26500 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 26501 | then : |
| 26502 | ac_cv_search_ZSTD_compressStream2=$ac_res |
| 26503 | fi |
| 26504 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26505 | conftest$ac_exeext |
| 26506 | if testscip-shell system . . test. ${ac_cv_search_ZSTD_compressStream2+y} |
| 26507 | then : |
| 26508 | break |
| 26509 | fi |
| 26510 | done |
| 26511 | if testscip-shell system . . test. ${ac_cv_search_ZSTD_compressStream2+y} |
| 26512 | then : |
| 26513 | |
| 26514 | else $as_nop |
| 26515 | ac_cv_search_ZSTD_compressStream2=no |
| 26516 | fi |
| 26517 | rmscip-shell system . . rm. conftest.$ac_ext |
| 26518 | LIBS=$ac_func_search_save_LIBS |
| 26519 | fi |
| 26520 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ZSTD_compressStream2" >&5 |
| 26521 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_ZSTD_compressStream2" >&6; } |
| 26522 | ac_res=$ac_cv_search_ZSTD_compressStream2 |
| 26523 | if testscip-shell system . . test. "$ac_res" != no |
| 26524 | then : |
| 26525 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 26526 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26527 | /* end confdefs.h. */ |
| 26528 | #include <zstd.h> |
| 26529 | int |
| 26530 | main (void) |
| 26531 | { |
| 26532 | |
| 26533 | ZSTD_CCtx* cctx = ZSTD_createCCtx(); |
| 26534 | ZSTD_CCtx_setParameter(cctx, ZSTD_c_nbWorkers, 5); |
| 26535 | |
| 26536 | |
| 26537 | ; |
| 26538 | return 0; |
| 26539 | } |
| 26540 | _ACEOF |
| 26541 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 26542 | then : |
| 26543 | |
| 26544 | else $as_nop |
| 26545 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libzstd version must be >= 1.4.0" "$LINENO" 5 |
| 26546 | |
| 26547 | fi |
| 26548 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 26549 | else $as_nop |
| 26550 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libzstd not found" "$LINENO" 5 |
| 26551 | |
| 26552 | fi |
| 26553 | |
| 26554 | |
| 26555 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 26556 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 26557 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 26558 | |
| 26559 | LIBS="$LIBS -lzstd" |
| 26560 | ZSTD_LIBS="-lzstd" |
| 26561 | |
| 26562 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing ZSTD_compressStream2" >&5 |
| 26563 | printfscip-shell system . . printf. %s "checking for library containing ZSTD_compressStream2... " >&6; } |
| 26564 | if testscip-shell system . . test. ${ac_cv_search_ZSTD_compressStream2+y} |
| 26565 | then : |
| 26566 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 26567 | else $as_nop |
| 26568 | ac_func_search_save_LIBS=$LIBS |
| 26569 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26570 | /* end confdefs.h. */ |
| 26571 | |
| 26572 | /* Override any GCC internal prototype to avoid an error. |
| 26573 | Use char because int might match the return type of a GCC |
| 26574 | builtin and then its argument prototype would still apply. */ |
| 26575 | char ZSTD_compressStream2 (); |
| 26576 | int |
| 26577 | main (void) |
| 26578 | { |
| 26579 | return ZSTD_compressStream2 (); |
| 26580 | ; |
| 26581 | return 0; |
| 26582 | } |
| 26583 | _ACEOF |
| 26584 | for ac_lib in '' zstd |
| 26585 | do |
| 26586 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 26587 | ac_res="none required" |
| 26588 | else |
| 26589 | ac_res=-l$ac_lib |
| 26590 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 26591 | fi |
| 26592 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 26593 | then : |
| 26594 | ac_cv_search_ZSTD_compressStream2=$ac_res |
| 26595 | fi |
| 26596 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 26597 | conftest$ac_exeext |
| 26598 | if testscip-shell system . . test. ${ac_cv_search_ZSTD_compressStream2+y} |
| 26599 | then : |
| 26600 | break |
| 26601 | fi |
| 26602 | done |
| 26603 | if testscip-shell system . . test. ${ac_cv_search_ZSTD_compressStream2+y} |
| 26604 | then : |
| 26605 | |
| 26606 | else $as_nop |
| 26607 | ac_cv_search_ZSTD_compressStream2=no |
| 26608 | fi |
| 26609 | rmscip-shell system . . rm. conftest.$ac_ext |
| 26610 | LIBS=$ac_func_search_save_LIBS |
| 26611 | fi |
| 26612 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ZSTD_compressStream2" >&5 |
| 26613 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_ZSTD_compressStream2" >&6; } |
| 26614 | ac_res=$ac_cv_search_ZSTD_compressStream2 |
| 26615 | if testscip-shell system . . test. "$ac_res" != no |
| 26616 | then : |
| 26617 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 26618 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 26619 | /* end confdefs.h. */ |
| 26620 | #include <zstd.h> |
| 26621 | int |
| 26622 | main (void) |
| 26623 | { |
| 26624 | |
| 26625 | ZSTD_CCtx* cctx = ZSTD_createCCtx(); |
| 26626 | ZSTD_CCtx_setParameter(cctx, ZSTD_c_nbWorkers, 5); |
| 26627 | |
| 26628 | |
| 26629 | ; |
| 26630 | return 0; |
| 26631 | } |
| 26632 | _ACEOF |
| 26633 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 26634 | then : |
| 26635 | |
| 26636 | else $as_nop |
| 26637 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libzstd version must be >= 1.4.0" "$LINENO" 5 |
| 26638 | |
| 26639 | fi |
| 26640 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 26641 | else $as_nop |
| 26642 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libzstd not found" "$LINENO" 5 |
| 26643 | |
| 26644 | fi |
| 26645 | |
| 26646 | |
| 26647 | else |
| 26648 | ZSTD_CFLAGS=$pkg_cv_ZSTD_CFLAGS |
| 26649 | ZSTD_LIBS=$pkg_cv_ZSTD_LIBS |
| 26650 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 26651 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 26652 | |
| 26653 | fi |
| 26654 | LIBS="$save_LIBS" |
| 26655 | fi |
| 26656 | if testscip-shell system . . test. x$enable_libzstd = xyes; then |
| 26657 | ENABLE_LIBZSTD_TRUE= |
| 26658 | ENABLE_LIBZSTD_FALSE='#' |
| 26659 | else |
| 26660 | ENABLE_LIBZSTD_TRUE='#' |
| 26661 | ENABLE_LIBZSTD_FALSE= |
| 26662 | fi |
| 26663 | |
| 26664 | |
| 26665 | |
| 26666 | # support for building the rsyslogd runtime |
| 26667 | # Check whether --enable-rsyslogrt was given. |
| 26668 | if testscip-shell system . . test. ${enable_rsyslogrt+y} |
| 26669 | then : |
| 26670 | enableval=$enable_rsyslogrt; case "${enableval}" in |
| 26671 | yes) enable_rsyslogrt="yes" ;; |
| 26672 | no) enable_rsyslogrt="no" ;; |
| 26673 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-rsyslogrt" "$LINENO" 5 ;; |
| 26674 | esac |
| 26675 | else $as_nop |
| 26676 | enable_rsyslogrt=yes |
| 26677 | |
| 26678 | fi |
| 26679 | |
| 26680 | if testscip-shell system . . test. "x$enable_rsyslogrt" = "xyes"; then |
| 26681 | RSRT_CFLAGS1="-I\$(top_srcdir)/runtime -I\$(top_srcdir) -I\$(top_srcdir)/grammar" |
| 26682 | RSRT_LIBS1="\$(top_builddir)/runtime/librsyslog.la" |
| 26683 | fi |
| 26684 | if testscip-shell system . . test. x$enable_rsyslogrt = xyes; then |
| 26685 | ENABLE_RSYSLOGRT_TRUE= |
| 26686 | ENABLE_RSYSLOGRT_FALSE='#' |
| 26687 | else |
| 26688 | ENABLE_RSYSLOGRT_TRUE='#' |
| 26689 | ENABLE_RSYSLOGRT_FALSE= |
| 26690 | fi |
| 26691 | |
| 26692 | RSRT_CFLAGS="\$(RSRT_CFLAGS1) \$(LIBESTR_CFLAGS) \$(LIBFASTJSON_CFLAGS) \$(LIBSYSTEMD_CFLAGS)" |
| 26693 | if testscip-shell system . . test. "$GCC" = "yes"; then |
| 26694 | RSRT_CFLAGS="$RSRT_CFLAGS -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute" |
| 26695 | if $CC -Werror=implicit-function-declaration -x c -c /dev/nullscip-shell filesystem . . `/dev/null`. -o /dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 26696 | RSRT_CFLAGS="$RSRT_CFLAGS -Werror=implicit-function-declaration" |
| 26697 | elif $CC -Werror-implicit-function-declaration -x c -c /dev/nullscip-shell filesystem . . `/dev/null`. -o /dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 26698 | RSRT_CFLAGS="$RSRT_CFLAGS -Werror-implicit-function-declaration" |
| 26699 | fi |
| 26700 | |
| 26701 | if testscip-shell system . . test. "x$enable_debug_symbols" = "xyes"; then |
| 26702 | RSRT_CFLAGS="$RSRT_CFLAGS -g" |
| 26703 | fi |
| 26704 | if testscip-shell system . . test. "x$enable_coverage" = "xyes"; then |
| 26705 | RSRT_CFLAGS="$RSRT_CFLAGS --coverage -g -O0" |
| 26706 | LDFLAGS="$LDFLAGS --coverage" |
| 26707 | fi |
| 26708 | fi |
| 26709 | RSRT_CFLAGS="$RSRT_CFLAGS $WARN_CFLAGS" |
| 26710 | RSRT_LIBS="\$(RSRT_LIBS1) \$(LIBESTR_LIBS) \$(LIBFASTJSON_LIBS) \$(LIBSYSTEMD_LIBS)" |
| 26711 | |
| 26712 | |
| 26713 | |
| 26714 | |
| 26715 | |
| 26716 | |
| 26717 | # support for NOT building rsyslogd (useful for source-based packaging systems) |
| 26718 | # Check whether --enable-rsyslogd was given. |
| 26719 | if testscip-shell system . . test. ${enable_rsyslogd+y} |
| 26720 | then : |
| 26721 | enableval=$enable_rsyslogd; case "${enableval}" in |
| 26722 | yes) enable_rsyslogd="yes" ;; |
| 26723 | no) enable_rsyslogd="no" ;; |
| 26724 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-rsyslogd" "$LINENO" 5 ;; |
| 26725 | esac |
| 26726 | else $as_nop |
| 26727 | enable_rsyslogd=yes |
| 26728 | |
| 26729 | fi |
| 26730 | |
| 26731 | if testscip-shell system . . test. x$enable_rsyslogd = xyes; then |
| 26732 | ENABLE_RSYSLOGD_TRUE= |
| 26733 | ENABLE_RSYSLOGD_FALSE='#' |
| 26734 | else |
| 26735 | ENABLE_RSYSLOGD_TRUE='#' |
| 26736 | ENABLE_RSYSLOGD_FALSE= |
| 26737 | fi |
| 26738 | |
| 26739 | |
| 26740 | |
| 26741 | # capability to enable an extended testbench. By default, this is off. The reason |
| 26742 | # for this switch is that some test simply take too long to execute them on a regular |
| 26743 | # basis. So we enable to skip them, while the majority of tests can still be used. The |
| 26744 | # idea is that at least "make distcheck" executes the extended testbench, and also |
| 26745 | # developers should explicitely enable it after important changes. -- rgerhards, 2010-04-12 |
| 26746 | # Check whether --enable-extended_tests was given. |
| 26747 | if testscip-shell system . . test. ${enable_extended_tests+y} |
| 26748 | then : |
| 26749 | enableval=$enable_extended_tests; case "${enableval}" in |
| 26750 | yes) enable_extended_tests="yes" ;; |
| 26751 | no) enable_extended_tests="no" ;; |
| 26752 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-extended-tests" "$LINENO" 5 ;; |
| 26753 | esac |
| 26754 | else $as_nop |
| 26755 | enable_extended_tests=no |
| 26756 | |
| 26757 | fi |
| 26758 | |
| 26759 | if testscip-shell system . . test. x$enable_extended_tests = xyes; then |
| 26760 | ENABLE_EXTENDED_TESTS_TRUE= |
| 26761 | ENABLE_EXTENDED_TESTS_FALSE='#' |
| 26762 | else |
| 26763 | ENABLE_EXTENDED_TESTS_TRUE='#' |
| 26764 | ENABLE_EXTENDED_TESTS_FALSE= |
| 26765 | fi |
| 26766 | |
| 26767 | |
| 26768 | |
| 26769 | # capability to enable MySQL testbench tests. This requries that a Syslog database |
| 26770 | # with the default schema has been created on the local (127.0.0.1) MySQL server and |
| 26771 | # a user "rsyslog" with password "testbench" exists, is able to login with default |
| 26772 | # parameters and has sufficient (read: all) privileges on that database. |
| 26773 | # rgerhards, 2011-03-09 |
| 26774 | # Check whether --enable-mysql_tests was given. |
| 26775 | if testscip-shell system . . test. ${enable_mysql_tests+y} |
| 26776 | then : |
| 26777 | enableval=$enable_mysql_tests; case "${enableval}" in |
| 26778 | yes) enable_mysql_tests="yes" ;; |
| 26779 | no) enable_mysql_tests="no" ;; |
| 26780 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mysql-tests" "$LINENO" 5 ;; |
| 26781 | esac |
| 26782 | else $as_nop |
| 26783 | enable_mysql_tests=no |
| 26784 | |
| 26785 | fi |
| 26786 | |
| 26787 | if testscip-shell system . . test. x$enable_mysql_tests = xyes; then |
| 26788 | ENABLE_MYSQL_TESTS_TRUE= |
| 26789 | ENABLE_MYSQL_TESTS_FALSE='#' |
| 26790 | else |
| 26791 | ENABLE_MYSQL_TESTS_TRUE='#' |
| 26792 | ENABLE_MYSQL_TESTS_FALSE= |
| 26793 | fi |
| 26794 | |
| 26795 | |
| 26796 | |
| 26797 | # capability to enable PostgreSQL testbench tests. This requries that a Syslog database |
| 26798 | # with the default schema (see plugins/ompgsql/createDB.sql) has been created on the |
| 26799 | # local (127.0.0.1) PostgreSQL server and a user "rsyslog" with password "testbench" |
| 26800 | # exists, is able to login with default parameters and has sufficient (read: all) |
| 26801 | # privileges on that database |
| 26802 | # Check whether --enable-pgsql_tests was given. |
| 26803 | if testscip-shell system . . test. ${enable_pgsql_tests+y} |
| 26804 | then : |
| 26805 | enableval=$enable_pgsql_tests; case "${enableval}" in |
| 26806 | yes) enable_pgsql_tests="yes" ;; |
| 26807 | no) enable_pgsql_tests="no" ;; |
| 26808 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-pgsql-tests" "$LINENO" 5 ;; |
| 26809 | esac |
| 26810 | else $as_nop |
| 26811 | enable_pgsql_tests=no |
| 26812 | |
| 26813 | fi |
| 26814 | |
| 26815 | if testscip-shell system . . test. x$enable_pgsql_tests = xyes; then |
| 26816 | ENABLE_PGSQL_TESTS_TRUE= |
| 26817 | ENABLE_PGSQL_TESTS_FALSE='#' |
| 26818 | else |
| 26819 | ENABLE_PGSQL_TESTS_TRUE='#' |
| 26820 | ENABLE_PGSQL_TESTS_FALSE= |
| 26821 | fi |
| 26822 | |
| 26823 | |
| 26824 | |
| 26825 | # Mail support (so far we do not need a library, but we need to turn this on and off) |
| 26826 | # Check whether --enable-mail was given. |
| 26827 | if testscip-shell system . . test. ${enable_mail+y} |
| 26828 | then : |
| 26829 | enableval=$enable_mail; case "${enableval}" in |
| 26830 | yes) enable_mail="yes" ;; |
| 26831 | no) enable_mail="no" ;; |
| 26832 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mail" "$LINENO" 5 ;; |
| 26833 | esac |
| 26834 | else $as_nop |
| 26835 | enable_mail=no |
| 26836 | |
| 26837 | fi |
| 26838 | |
| 26839 | if testscip-shell system . . test. x$enable_mail = xyes; then |
| 26840 | ENABLE_MAIL_TRUE= |
| 26841 | ENABLE_MAIL_FALSE='#' |
| 26842 | else |
| 26843 | ENABLE_MAIL_TRUE='#' |
| 26844 | ENABLE_MAIL_FALSE= |
| 26845 | fi |
| 26846 | |
| 26847 | |
| 26848 | |
| 26849 | # Check whether --enable-fmhttp was given. |
| 26850 | if testscip-shell system . . test. ${enable_fmhttp+y} |
| 26851 | then : |
| 26852 | enableval=$enable_fmhttp; case "${enableval}" in |
| 26853 | yes) enable_fmhttp="yes" ;; |
| 26854 | no) enable_fmhttp="no" ;; |
| 26855 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-fmhttp" "$LINENO" 5 ;; |
| 26856 | esac |
| 26857 | else $as_nop |
| 26858 | enable_fmhttp=yes |
| 26859 | |
| 26860 | fi |
| 26861 | |
| 26862 | if testscip-shell system . . test. "$enable_fmhttp" = "yes"; then |
| 26863 | |
| 26864 | pkg_failed=no |
| 26865 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5 |
| 26866 | printfscip-shell system . . printf. %s "checking for libcurl... " >&6; } |
| 26867 | |
| 26868 | if testscip-shell system . . test. -n "$CURL_CFLAGS"; then |
| 26869 | pkg_cv_CURL_CFLAGS="$CURL_CFLAGS" |
| 26870 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 26871 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 26872 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 |
| 26873 | ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
| 26874 | ac_status=$? |
| 26875 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 26876 | testscip-shell system . . test. $ac_status = 0; }; then |
| 26877 | pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 26878 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 26879 | else |
| 26880 | pkg_failed=yes |
| 26881 | fi |
| 26882 | else |
| 26883 | pkg_failed=untried |
| 26884 | fi |
| 26885 | if testscip-shell system . . test. -n "$CURL_LIBS"; then |
| 26886 | pkg_cv_CURL_LIBS="$CURL_LIBS" |
| 26887 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 26888 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 26889 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 |
| 26890 | ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
| 26891 | ac_status=$? |
| 26892 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 26893 | testscip-shell system . . test. $ac_status = 0; }; then |
| 26894 | pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 26895 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 26896 | else |
| 26897 | pkg_failed=yes |
| 26898 | fi |
| 26899 | else |
| 26900 | pkg_failed=untried |
| 26901 | fi |
| 26902 | |
| 26903 | |
| 26904 | |
| 26905 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 26906 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 26907 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 26908 | |
| 26909 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 26910 | _pkg_short_errors_supported=yes |
| 26911 | else |
| 26912 | _pkg_short_errors_supported=no |
| 26913 | fi |
| 26914 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 26915 | CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1` |
| 26916 | else |
| 26917 | CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1` |
| 26918 | fi |
| 26919 | # Put the nasty error message in config.log where it belongs |
| 26920 | echoscip-shell system . . echo. "$CURL_PKG_ERRORS" >&5 |
| 26921 | |
| 26922 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libcurl) were not met: |
| 26923 | |
| 26924 | $CURL_PKG_ERRORS |
| 26925 | |
| 26926 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 26927 | installed software in a non-standard prefix. |
| 26928 | |
| 26929 | Alternatively, you may set the environment variables CURL_CFLAGS |
| 26930 | and CURL_LIBS to avoid the need to call pkg-config. |
| 26931 | See the pkg-config man page for more details." "$LINENO" 5 |
| 26932 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 26933 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 26934 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 26935 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 26936 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 26937 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 26938 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 26939 | path to pkg-config. |
| 26940 | |
| 26941 | Alternatively, you may set the environment variables CURL_CFLAGS |
| 26942 | and CURL_LIBS to avoid the need to call pkg-config. |
| 26943 | See the pkg-config man page for more details. |
| 26944 | |
| 26945 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 26946 | See \`config.log' for more details" "$LINENO" 5; } |
| 26947 | else |
| 26948 | CURL_CFLAGS=$pkg_cv_CURL_CFLAGS |
| 26949 | CURL_LIBS=$pkg_cv_CURL_LIBS |
| 26950 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 26951 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 26952 | |
| 26953 | fi |
| 26954 | fi |
| 26955 | if testscip-shell system . . test. x$enable_fmhttp = xyes; then |
| 26956 | ENABLE_FMHTTP_TRUE= |
| 26957 | ENABLE_FMHTTP_FALSE='#' |
| 26958 | else |
| 26959 | ENABLE_FMHTTP_TRUE='#' |
| 26960 | ENABLE_FMHTTP_FALSE= |
| 26961 | fi |
| 26962 | |
| 26963 | |
| 26964 | |
| 26965 | # imdiag support |
| 26966 | # This is a core testbench tool. You need to enable it if you want to |
| 26967 | # use not only a small subset of the testbench. |
| 26968 | imdiag_user_set=no |
| 26969 | # Check whether --enable-imdiag was given. |
| 26970 | if testscip-shell system . . test. ${enable_imdiag+y} |
| 26971 | then : |
| 26972 | enableval=$enable_imdiag; case "${enableval}" in |
| 26973 | yes) enable_imdiag="yes"; imdiag_user_set=yes ;; |
| 26974 | no) enable_imdiag="no"; imdiag_user_set=yes ;; |
| 26975 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-imdiag" "$LINENO" 5 ;; |
| 26976 | esac |
| 26977 | else $as_nop |
| 26978 | enable_imdiag=no |
| 26979 | |
| 26980 | fi |
| 26981 | |
| 26982 | |
| 26983 | |
| 26984 | # mmnormalize |
| 26985 | # Check whether --enable-mmnormalize was given. |
| 26986 | if testscip-shell system . . test. ${enable_mmnormalize+y} |
| 26987 | then : |
| 26988 | enableval=$enable_mmnormalize; case "${enableval}" in |
| 26989 | yes) enable_mmnormalize="yes" ;; |
| 26990 | no) enable_mmnormalize="no" ;; |
| 26991 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmnormalize" "$LINENO" 5 ;; |
| 26992 | esac |
| 26993 | else $as_nop |
| 26994 | enable_mmnormalize=no |
| 26995 | |
| 26996 | fi |
| 26997 | |
| 26998 | if testscip-shell system . . test. "x$enable_mmnormalize" = "xyes"; then |
| 26999 | |
| 27000 | pkg_failed=no |
| 27001 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lognorm >= 2.0.3" >&5 |
| 27002 | printfscip-shell system . . printf. %s "checking for lognorm >= 2.0.3... " >&6; } |
| 27003 | |
| 27004 | if testscip-shell system . . test. -n "$LIBLOGNORM_CFLAGS"; then |
| 27005 | pkg_cv_LIBLOGNORM_CFLAGS="$LIBLOGNORM_CFLAGS" |
| 27006 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 27007 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 27008 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lognorm >= 2.0.3\""; } >&5 |
| 27009 | ($PKG_CONFIG --exists --print-errors "lognorm >= 2.0.3") 2>&5 |
| 27010 | ac_status=$? |
| 27011 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 27012 | testscip-shell system . . test. $ac_status = 0; }; then |
| 27013 | pkg_cv_LIBLOGNORM_CFLAGS=`$PKG_CONFIG --cflags "lognorm >= 2.0.3" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 27014 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 27015 | else |
| 27016 | pkg_failed=yes |
| 27017 | fi |
| 27018 | else |
| 27019 | pkg_failed=untried |
| 27020 | fi |
| 27021 | if testscip-shell system . . test. -n "$LIBLOGNORM_LIBS"; then |
| 27022 | pkg_cv_LIBLOGNORM_LIBS="$LIBLOGNORM_LIBS" |
| 27023 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 27024 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 27025 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lognorm >= 2.0.3\""; } >&5 |
| 27026 | ($PKG_CONFIG --exists --print-errors "lognorm >= 2.0.3") 2>&5 |
| 27027 | ac_status=$? |
| 27028 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 27029 | testscip-shell system . . test. $ac_status = 0; }; then |
| 27030 | pkg_cv_LIBLOGNORM_LIBS=`$PKG_CONFIG --libs "lognorm >= 2.0.3" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 27031 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 27032 | else |
| 27033 | pkg_failed=yes |
| 27034 | fi |
| 27035 | else |
| 27036 | pkg_failed=untried |
| 27037 | fi |
| 27038 | |
| 27039 | |
| 27040 | |
| 27041 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 27042 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 27043 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 27044 | |
| 27045 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 27046 | _pkg_short_errors_supported=yes |
| 27047 | else |
| 27048 | _pkg_short_errors_supported=no |
| 27049 | fi |
| 27050 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 27051 | LIBLOGNORM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lognorm >= 2.0.3" 2>&1` |
| 27052 | else |
| 27053 | LIBLOGNORM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lognorm >= 2.0.3" 2>&1` |
| 27054 | fi |
| 27055 | # Put the nasty error message in config.log where it belongs |
| 27056 | echoscip-shell system . . echo. "$LIBLOGNORM_PKG_ERRORS" >&5 |
| 27057 | |
| 27058 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (lognorm >= 2.0.3) were not met: |
| 27059 | |
| 27060 | $LIBLOGNORM_PKG_ERRORS |
| 27061 | |
| 27062 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 27063 | installed software in a non-standard prefix. |
| 27064 | |
| 27065 | Alternatively, you may set the environment variables LIBLOGNORM_CFLAGS |
| 27066 | and LIBLOGNORM_LIBS to avoid the need to call pkg-config. |
| 27067 | See the pkg-config man page for more details." "$LINENO" 5 |
| 27068 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 27069 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 27070 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 27071 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 27072 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 27073 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 27074 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 27075 | path to pkg-config. |
| 27076 | |
| 27077 | Alternatively, you may set the environment variables LIBLOGNORM_CFLAGS |
| 27078 | and LIBLOGNORM_LIBS to avoid the need to call pkg-config. |
| 27079 | See the pkg-config man page for more details. |
| 27080 | |
| 27081 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 27082 | See \`config.log' for more details" "$LINENO" 5; } |
| 27083 | else |
| 27084 | LIBLOGNORM_CFLAGS=$pkg_cv_LIBLOGNORM_CFLAGS |
| 27085 | LIBLOGNORM_LIBS=$pkg_cv_LIBLOGNORM_LIBS |
| 27086 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 27087 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 27088 | |
| 27089 | fi |
| 27090 | |
| 27091 | save_CFLAGS="$CFLAGS" |
| 27092 | save_LIBS="$LIBS" |
| 27093 | |
| 27094 | CFLAGS="$CFLAGS $LIBLOGNORM_CFLAGS" |
| 27095 | LIBS="$LIBS $LIBLOGNORM_LIBS" |
| 27096 | |
| 27097 | |
| 27098 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LOGNORM_REGEX_SUPPORTED defined" >&5 |
| 27099 | printfscip-shell system . . printf. %s "checking for LOGNORM_REGEX_SUPPORTED defined... " >&6; } |
| 27100 | if testscip-shell system . . test. ${ac_cv_defined_LOGNORM_REGEX_SUPPORTED+y} |
| 27101 | then : |
| 27102 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 27103 | else $as_nop |
| 27104 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 27105 | /* end confdefs.h. */ |
| 27106 | #include <lognorm-features.h> |
| 27107 | int |
| 27108 | main (void) |
| 27109 | { |
| 27110 | |
| 27111 | #ifdef LOGNORM_REGEX_SUPPORTED |
| 27112 | int ok; |
| 27113 | #else |
| 27114 | choke me |
| 27115 | #endif |
| 27116 | |
| 27117 | ; |
| 27118 | return 0; |
| 27119 | } |
| 27120 | _ACEOF |
| 27121 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 27122 | then : |
| 27123 | ac_cv_defined_LOGNORM_REGEX_SUPPORTED=yes |
| 27124 | else $as_nop |
| 27125 | ac_cv_defined_LOGNORM_REGEX_SUPPORTED=no |
| 27126 | fi |
| 27127 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 27128 | fi |
| 27129 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined_LOGNORM_REGEX_SUPPORTED" >&5 |
| 27130 | printfscip-shell system . . printf. "%s\n" "$ac_cv_defined_LOGNORM_REGEX_SUPPORTED" >&6; } |
| 27131 | if testscip-shell system . . test. $ac_cv_defined_LOGNORM_REGEX_SUPPORTED != "no" |
| 27132 | then : |
| 27133 | lognorm_regex_supported="yes" |
| 27134 | fi |
| 27135 | |
| 27136 | CFLAGS="$save_CFLAGS" |
| 27137 | LIBS="$save_LIBS" |
| 27138 | fi |
| 27139 | if testscip-shell system . . test. x$lognorm_regex_supported = xyes; then |
| 27140 | LOGNORM_REGEX_SUPPORTED_TRUE= |
| 27141 | LOGNORM_REGEX_SUPPORTED_FALSE='#' |
| 27142 | else |
| 27143 | LOGNORM_REGEX_SUPPORTED_TRUE='#' |
| 27144 | LOGNORM_REGEX_SUPPORTED_FALSE= |
| 27145 | fi |
| 27146 | |
| 27147 | if testscip-shell system . . test. x$enable_mmnormalize = xyes; then |
| 27148 | ENABLE_MMNORMALIZE_TRUE= |
| 27149 | ENABLE_MMNORMALIZE_FALSE='#' |
| 27150 | else |
| 27151 | ENABLE_MMNORMALIZE_TRUE='#' |
| 27152 | ENABLE_MMNORMALIZE_FALSE= |
| 27153 | fi |
| 27154 | |
| 27155 | |
| 27156 | # mmleefparse |
| 27157 | # Check whether --enable-mmleefparse was given. |
| 27158 | if testscip-shell system . . test. ${enable_mmleefparse+y} |
| 27159 | then : |
| 27160 | enableval=$enable_mmleefparse; case "${enableval}" in |
| 27161 | yes) enable_mmleefparse="yes" ;; |
| 27162 | no) enable_mmleefparse="no" ;; |
| 27163 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmleefparse" "$LINENO" 5 ;; |
| 27164 | esac |
| 27165 | else $as_nop |
| 27166 | enable_mmleefparse=yes |
| 27167 | |
| 27168 | fi |
| 27169 | |
| 27170 | if testscip-shell system . . test. x$enable_mmleefparse = xyes; then |
| 27171 | ENABLE_MMLEEFPARSE_TRUE= |
| 27172 | ENABLE_MMLEEFPARSE_FALSE='#' |
| 27173 | else |
| 27174 | ENABLE_MMLEEFPARSE_TRUE='#' |
| 27175 | ENABLE_MMLEEFPARSE_FALSE= |
| 27176 | fi |
| 27177 | |
| 27178 | |
| 27179 | # mmnjsonparse |
| 27180 | # Check whether --enable-mmjsonparse was given. |
| 27181 | if testscip-shell system . . test. ${enable_mmjsonparse+y} |
| 27182 | then : |
| 27183 | enableval=$enable_mmjsonparse; case "${enableval}" in |
| 27184 | yes) enable_mmjsonparse="yes" ;; |
| 27185 | no) enable_mmjsonparse="no" ;; |
| 27186 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmjsonparse" "$LINENO" 5 ;; |
| 27187 | esac |
| 27188 | else $as_nop |
| 27189 | enable_mmjsonparse=no |
| 27190 | |
| 27191 | fi |
| 27192 | |
| 27193 | if testscip-shell system . . test. x$enable_mmjsonparse = xyes; then |
| 27194 | ENABLE_MMJSONPARSE_TRUE= |
| 27195 | ENABLE_MMJSONPARSE_FALSE='#' |
| 27196 | else |
| 27197 | ENABLE_MMJSONPARSE_TRUE='#' |
| 27198 | ENABLE_MMJSONPARSE_FALSE= |
| 27199 | fi |
| 27200 | |
| 27201 | |
| 27202 | # mmjsontransform |
| 27203 | # Check whether --enable-mmjsontransform was given. |
| 27204 | if testscip-shell system . . test. ${enable_mmjsontransform+y} |
| 27205 | then : |
| 27206 | enableval=$enable_mmjsontransform; case "${enableval}" in |
| 27207 | yes) enable_mmjsontransform="yes" ;; |
| 27208 | no) enable_mmjsontransform="no" ;; |
| 27209 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmjsontransform" "$LINENO" 5 ;; |
| 27210 | esac |
| 27211 | else $as_nop |
| 27212 | enable_mmjsontransform=no |
| 27213 | |
| 27214 | fi |
| 27215 | |
| 27216 | if testscip-shell system . . test. x$enable_mmjsontransform = xyes; then |
| 27217 | ENABLE_MMJSONTRANSFORM_TRUE= |
| 27218 | ENABLE_MMJSONTRANSFORM_FALSE='#' |
| 27219 | else |
| 27220 | ENABLE_MMJSONTRANSFORM_TRUE='#' |
| 27221 | ENABLE_MMJSONTRANSFORM_FALSE= |
| 27222 | fi |
| 27223 | |
| 27224 | |
| 27225 | # mmgrok |
| 27226 | # Check whether --enable-mmgrok was given. |
| 27227 | if testscip-shell system . . test. ${enable_mmgrok+y} |
| 27228 | then : |
| 27229 | enableval=$enable_mmgrok; case "${enableval}" in |
| 27230 | yes) enable_mmgrok="yes" ;; |
| 27231 | no) enable_mmgrok="no" ;; |
| 27232 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmgrok" "$LINENO" 5 ;; |
| 27233 | esac |
| 27234 | else $as_nop |
| 27235 | enable_mmgrok=no |
| 27236 | |
| 27237 | fi |
| 27238 | |
| 27239 | if testscip-shell system . . test. "x$enable_mmgrok" = "xyes"; then |
| 27240 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "grok.h" "ac_cv_header_grok_h" "$ac_includes_default" |
| 27241 | if testscip-shell system . . test. "x$ac_cv_header_grok_h" = xyes |
| 27242 | then : |
| 27243 | printfscip-shell system . . printf. "%s\n" "#define HAVE_GROK_H 1" >>confdefs.h |
| 27244 | |
| 27245 | fi |
| 27246 | |
| 27247 | GLIB_CFLAGS="$(pkg-config --cflags glib-2.0)" |
| 27248 | GLIB_LIBS="$(pkg-config --libs glib-2.0)" |
| 27249 | fi |
| 27250 | if testscip-shell system . . test. x$enable_mmgrok = xyes; then |
| 27251 | ENABLE_MMGROK_TRUE= |
| 27252 | ENABLE_MMGROK_FALSE='#' |
| 27253 | else |
| 27254 | ENABLE_MMGROK_TRUE='#' |
| 27255 | ENABLE_MMGROK_FALSE= |
| 27256 | fi |
| 27257 | |
| 27258 | |
| 27259 | |
| 27260 | |
| 27261 | # mmaudit |
| 27262 | # Check whether --enable-mmaudit was given. |
| 27263 | if testscip-shell system . . test. ${enable_mmaudit+y} |
| 27264 | then : |
| 27265 | enableval=$enable_mmaudit; case "${enableval}" in |
| 27266 | yes) enable_mmaudit="yes" ;; |
| 27267 | no) enable_mmaudit="no" ;; |
| 27268 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmaudit" "$LINENO" 5 ;; |
| 27269 | esac |
| 27270 | else $as_nop |
| 27271 | enable_mmaudit=no |
| 27272 | |
| 27273 | fi |
| 27274 | |
| 27275 | if testscip-shell system . . test. x$enable_mmaudit = xyes; then |
| 27276 | ENABLE_MMAUDIT_TRUE= |
| 27277 | ENABLE_MMAUDIT_FALSE='#' |
| 27278 | else |
| 27279 | ENABLE_MMAUDIT_TRUE='#' |
| 27280 | ENABLE_MMAUDIT_FALSE= |
| 27281 | fi |
| 27282 | |
| 27283 | |
| 27284 | |
| 27285 | # mmanon |
| 27286 | # Check whether --enable-mmanon was given. |
| 27287 | if testscip-shell system . . test. ${enable_mmanon+y} |
| 27288 | then : |
| 27289 | enableval=$enable_mmanon; case "${enableval}" in |
| 27290 | yes) enable_mmanon="yes" ;; |
| 27291 | no) enable_mmanon="no" ;; |
| 27292 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmanon" "$LINENO" 5 ;; |
| 27293 | esac |
| 27294 | else $as_nop |
| 27295 | enable_mmanon=no |
| 27296 | |
| 27297 | fi |
| 27298 | |
| 27299 | if testscip-shell system . . test. x$enable_mmanon = xyes; then |
| 27300 | ENABLE_MMANON_TRUE= |
| 27301 | ENABLE_MMANON_FALSE='#' |
| 27302 | else |
| 27303 | ENABLE_MMANON_TRUE='#' |
| 27304 | ENABLE_MMANON_FALSE= |
| 27305 | fi |
| 27306 | |
| 27307 | |
| 27308 | |
| 27309 | # mmrm1stspace |
| 27310 | # Check whether --enable-mmrm1stspace was given. |
| 27311 | if testscip-shell system . . test. ${enable_mmrm1stspace+y} |
| 27312 | then : |
| 27313 | enableval=$enable_mmrm1stspace; case "${enableval}" in |
| 27314 | yes) enable_mmrm1stspace="yes" ;; |
| 27315 | no) enable_mmrm1stspace="no" ;; |
| 27316 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmrm1stspace" "$LINENO" 5 ;; |
| 27317 | esac |
| 27318 | else $as_nop |
| 27319 | enable_mmrm1stspace=no |
| 27320 | |
| 27321 | fi |
| 27322 | |
| 27323 | if testscip-shell system . . test. x$enable_mmrm1stspace = xyes; then |
| 27324 | ENABLE_MMRM1STSPACE_TRUE= |
| 27325 | ENABLE_MMRM1STSPACE_FALSE='#' |
| 27326 | else |
| 27327 | ENABLE_MMRM1STSPACE_TRUE='#' |
| 27328 | ENABLE_MMRM1STSPACE_FALSE= |
| 27329 | fi |
| 27330 | |
| 27331 | |
| 27332 | |
| 27333 | # mmutf8fix |
| 27334 | # Check whether --enable-mmutf8fix was given. |
| 27335 | if testscip-shell system . . test. ${enable_mmutf8fix+y} |
| 27336 | then : |
| 27337 | enableval=$enable_mmutf8fix; case "${enableval}" in |
| 27338 | yes) enable_mmutf8fix="yes" ;; |
| 27339 | no) enable_mmutf8fix="no" ;; |
| 27340 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmutf8fix" "$LINENO" 5 ;; |
| 27341 | esac |
| 27342 | else $as_nop |
| 27343 | enable_mmutf8fix=no |
| 27344 | |
| 27345 | fi |
| 27346 | |
| 27347 | if testscip-shell system . . test. x$enable_mmutf8fix = xyes; then |
| 27348 | ENABLE_MMUTF8FIX_TRUE= |
| 27349 | ENABLE_MMUTF8FIX_FALSE='#' |
| 27350 | else |
| 27351 | ENABLE_MMUTF8FIX_TRUE='#' |
| 27352 | ENABLE_MMUTF8FIX_FALSE= |
| 27353 | fi |
| 27354 | |
| 27355 | |
| 27356 | |
| 27357 | # mmcount |
| 27358 | # Check whether --enable-mmcount was given. |
| 27359 | if testscip-shell system . . test. ${enable_mmcount+y} |
| 27360 | then : |
| 27361 | enableval=$enable_mmcount; case "${enableval}" in |
| 27362 | yes) enable_mmcount="yes" ;; |
| 27363 | no) enable_mmcount="no" ;; |
| 27364 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmcount" "$LINENO" 5 ;; |
| 27365 | esac |
| 27366 | else $as_nop |
| 27367 | enable_mmcount=no |
| 27368 | |
| 27369 | fi |
| 27370 | |
| 27371 | if testscip-shell system . . test. x$enable_mmcount = xyes; then |
| 27372 | ENABLE_MMCOUNT_TRUE= |
| 27373 | ENABLE_MMCOUNT_FALSE='#' |
| 27374 | else |
| 27375 | ENABLE_MMCOUNT_TRUE='#' |
| 27376 | ENABLE_MMCOUNT_FALSE= |
| 27377 | fi |
| 27378 | |
| 27379 | |
| 27380 | |
| 27381 | # mmsequence |
| 27382 | # Check whether --enable-mmsequence was given. |
| 27383 | if testscip-shell system . . test. ${enable_mmsequence+y} |
| 27384 | then : |
| 27385 | enableval=$enable_mmsequence; case "${enableval}" in |
| 27386 | yes) enable_mmsequence="yes" ;; |
| 27387 | no) enable_mmsequence="no" ;; |
| 27388 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmsequence" "$LINENO" 5 ;; |
| 27389 | esac |
| 27390 | else $as_nop |
| 27391 | enable_mmsequence=no |
| 27392 | |
| 27393 | fi |
| 27394 | |
| 27395 | if testscip-shell system . . test. x$enable_mmsequence = xyes; then |
| 27396 | ENABLE_MMSEQUENCE_TRUE= |
| 27397 | ENABLE_MMSEQUENCE_FALSE='#' |
| 27398 | else |
| 27399 | ENABLE_MMSEQUENCE_TRUE='#' |
| 27400 | ENABLE_MMSEQUENCE_FALSE= |
| 27401 | fi |
| 27402 | |
| 27403 | |
| 27404 | |
| 27405 | |
| 27406 | # mmdblookup |
| 27407 | # Check whether --enable-mmdblookup was given. |
| 27408 | if testscip-shell system . . test. ${enable_mmdblookup+y} |
| 27409 | then : |
| 27410 | enableval=$enable_mmdblookup; case "${enableval}" in |
| 27411 | yes) enable_mmdblookup="yes" ;; |
| 27412 | no) enable_mmdblookup="no" ;; |
| 27413 | optional) enable_mmdblookup="optional" ;; |
| 27414 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmdblookup" "$LINENO" 5 ;; |
| 27415 | esac |
| 27416 | else $as_nop |
| 27417 | enable_mmdblookup=no |
| 27418 | |
| 27419 | fi |
| 27420 | |
| 27421 | if testscip-shell system . . test. x$enable_mmdblookup = xyes -o x$enable_mmdblookup = xoptional; then |
| 27422 | ENABLE_MMDBLOOKUP_TRUE= |
| 27423 | ENABLE_MMDBLOOKUP_FALSE='#' |
| 27424 | else |
| 27425 | ENABLE_MMDBLOOKUP_TRUE='#' |
| 27426 | ENABLE_MMDBLOOKUP_FALSE= |
| 27427 | fi |
| 27428 | |
| 27429 | mmdblookup_use_dummy="no" |
| 27430 | if testscip-shell system . . test. x$enable_mmdblookup = xoptional -o x$enable_mmdblookup = xyes; then |
| 27431 | #PKG_CHECK_MODULES(LIBMAXMINDDB, libmaxminddb) -- does not work - later? |
| 27432 | for ac_header in maxminddb.h |
| 27433 | do : |
| 27434 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "maxminddb.h" "ac_cv_header_maxminddb_h" "$ac_includes_default" |
| 27435 | if testscip-shell system . . test. "x$ac_cv_header_maxminddb_h" = xyes |
| 27436 | then : |
| 27437 | printfscip-shell system . . printf. "%s\n" "#define HAVE_MAXMINDDB_H 1" >>confdefs.h |
| 27438 | |
| 27439 | |
| 27440 | else $as_nop |
| 27441 | |
| 27442 | if testscip-shell system . . test. x$enable_mmdblookup = xyes |
| 27443 | then : |
| 27444 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libmaxminddb library for mmdblookup could not be found" "$LINENO" 5 |
| 27445 | |
| 27446 | fi |
| 27447 | mmdblookup_use_dummy="yes" |
| 27448 | |
| 27449 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_MMBDLOOKUP_DUMMY 1" >>confdefs.h |
| 27450 | |
| 27451 | |
| 27452 | fi |
| 27453 | |
| 27454 | done |
| 27455 | fi |
| 27456 | if testscip-shell system . . test. x$mmdblookup_use_dummy = xyes; then |
| 27457 | MMDBLOOKUP_USE_DUMMY_TRUE= |
| 27458 | MMDBLOOKUP_USE_DUMMY_FALSE='#' |
| 27459 | else |
| 27460 | MMDBLOOKUP_USE_DUMMY_TRUE='#' |
| 27461 | MMDBLOOKUP_USE_DUMMY_FALSE= |
| 27462 | fi |
| 27463 | |
| 27464 | |
| 27465 | |
| 27466 | # mmdarwin |
| 27467 | # Check whether --enable-mmdarwin was given. |
| 27468 | if testscip-shell system . . test. ${enable_mmdarwin+y} |
| 27469 | then : |
| 27470 | enableval=$enable_mmdarwin; case "${enableval}" in |
| 27471 | yes) enable_mmdarwin="yes" ;; |
| 27472 | no) enable_mmdarwin="no" ;; |
| 27473 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmdarwin" "$LINENO" 5 ;; |
| 27474 | esac |
| 27475 | else $as_nop |
| 27476 | enable_mmdarwin=no |
| 27477 | |
| 27478 | fi |
| 27479 | |
| 27480 | if testscip-shell system . . test. "x$enable_mmdarwin"; then |
| 27481 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "protocol.h" "ac_cv_header_protocol_h" "$ac_includes_default" |
| 27482 | if testscip-shell system . . test. "x$ac_cv_header_protocol_h" = xyes |
| 27483 | then : |
| 27484 | printfscip-shell system . . printf. "%s\n" "#define HAVE_PROTOCOL_H 1" >>confdefs.h |
| 27485 | |
| 27486 | fi |
| 27487 | |
| 27488 | fi |
| 27489 | if testscip-shell system . . test. x$enable_mmdarwin = xyes; then |
| 27490 | ENABLE_MMDARWIN_TRUE= |
| 27491 | ENABLE_MMDARWIN_FALSE='#' |
| 27492 | else |
| 27493 | ENABLE_MMDARWIN_TRUE='#' |
| 27494 | ENABLE_MMDARWIN_FALSE= |
| 27495 | fi |
| 27496 | |
| 27497 | |
| 27498 | |
| 27499 | |
| 27500 | |
| 27501 | # mmfields |
| 27502 | # Check whether --enable-mmfields was given. |
| 27503 | if testscip-shell system . . test. ${enable_mmfields+y} |
| 27504 | then : |
| 27505 | enableval=$enable_mmfields; case "${enableval}" in |
| 27506 | yes) enable_mmfields="yes" ;; |
| 27507 | no) enable_mmfields="no" ;; |
| 27508 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmfields" "$LINENO" 5 ;; |
| 27509 | esac |
| 27510 | else $as_nop |
| 27511 | enable_mmfields=no |
| 27512 | |
| 27513 | fi |
| 27514 | |
| 27515 | if testscip-shell system . . test. x$enable_mmfields = xyes; then |
| 27516 | ENABLE_MMFIELDS_TRUE= |
| 27517 | ENABLE_MMFIELDS_FALSE='#' |
| 27518 | else |
| 27519 | ENABLE_MMFIELDS_TRUE='#' |
| 27520 | ENABLE_MMFIELDS_FALSE= |
| 27521 | fi |
| 27522 | |
| 27523 | |
| 27524 | # mmpstrucdata |
| 27525 | # Check whether --enable-mmpstrucdata was given. |
| 27526 | if testscip-shell system . . test. ${enable_mmpstrucdata+y} |
| 27527 | then : |
| 27528 | enableval=$enable_mmpstrucdata; case "${enableval}" in |
| 27529 | yes) enable_mmpstrucdata="yes" ;; |
| 27530 | no) enable_mmpstrucdata="no" ;; |
| 27531 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmpstrucdata" "$LINENO" 5 ;; |
| 27532 | esac |
| 27533 | else $as_nop |
| 27534 | enable_mmpstrucdata=no |
| 27535 | |
| 27536 | fi |
| 27537 | |
| 27538 | if testscip-shell system . . test. x$enable_mmpstrucdata = xyes; then |
| 27539 | ENABLE_MMPSTRUCDATA_TRUE= |
| 27540 | ENABLE_MMPSTRUCDATA_FALSE='#' |
| 27541 | else |
| 27542 | ENABLE_MMPSTRUCDATA_TRUE='#' |
| 27543 | ENABLE_MMPSTRUCDATA_FALSE= |
| 27544 | fi |
| 27545 | |
| 27546 | |
| 27547 | # mmaitag |
| 27548 | # Check whether --enable-mmaitag was given. |
| 27549 | if testscip-shell system . . test. ${enable_mmaitag+y} |
| 27550 | then : |
| 27551 | enableval=$enable_mmaitag; case "${enableval}" in |
| 27552 | yes) enable_mmaitag="yes" ;; |
| 27553 | no) enable_mmaitag="no" ;; |
| 27554 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmaitag" "$LINENO" 5 ;; |
| 27555 | esac |
| 27556 | else $as_nop |
| 27557 | enable_mmaitag=no |
| 27558 | |
| 27559 | fi |
| 27560 | |
| 27561 | if testscip-shell system . . test. "x$enable_mmaitag" = "xyes"; then |
| 27562 | |
| 27563 | pkg_failed=no |
| 27564 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5 |
| 27565 | printfscip-shell system . . printf. %s "checking for libcurl... " >&6; } |
| 27566 | |
| 27567 | if testscip-shell system . . test. -n "$CURL_CFLAGS"; then |
| 27568 | pkg_cv_CURL_CFLAGS="$CURL_CFLAGS" |
| 27569 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 27570 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 27571 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 |
| 27572 | ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
| 27573 | ac_status=$? |
| 27574 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 27575 | testscip-shell system . . test. $ac_status = 0; }; then |
| 27576 | pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 27577 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 27578 | else |
| 27579 | pkg_failed=yes |
| 27580 | fi |
| 27581 | else |
| 27582 | pkg_failed=untried |
| 27583 | fi |
| 27584 | if testscip-shell system . . test. -n "$CURL_LIBS"; then |
| 27585 | pkg_cv_CURL_LIBS="$CURL_LIBS" |
| 27586 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 27587 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 27588 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 |
| 27589 | ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
| 27590 | ac_status=$? |
| 27591 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 27592 | testscip-shell system . . test. $ac_status = 0; }; then |
| 27593 | pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 27594 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 27595 | else |
| 27596 | pkg_failed=yes |
| 27597 | fi |
| 27598 | else |
| 27599 | pkg_failed=untried |
| 27600 | fi |
| 27601 | |
| 27602 | |
| 27603 | |
| 27604 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 27605 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 27606 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 27607 | |
| 27608 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 27609 | _pkg_short_errors_supported=yes |
| 27610 | else |
| 27611 | _pkg_short_errors_supported=no |
| 27612 | fi |
| 27613 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 27614 | CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1` |
| 27615 | else |
| 27616 | CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1` |
| 27617 | fi |
| 27618 | # Put the nasty error message in config.log where it belongs |
| 27619 | echoscip-shell system . . echo. "$CURL_PKG_ERRORS" >&5 |
| 27620 | |
| 27621 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libcurl) were not met: |
| 27622 | |
| 27623 | $CURL_PKG_ERRORS |
| 27624 | |
| 27625 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 27626 | installed software in a non-standard prefix. |
| 27627 | |
| 27628 | Alternatively, you may set the environment variables CURL_CFLAGS |
| 27629 | and CURL_LIBS to avoid the need to call pkg-config. |
| 27630 | See the pkg-config man page for more details." "$LINENO" 5 |
| 27631 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 27632 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 27633 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 27634 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 27635 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 27636 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 27637 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 27638 | path to pkg-config. |
| 27639 | |
| 27640 | Alternatively, you may set the environment variables CURL_CFLAGS |
| 27641 | and CURL_LIBS to avoid the need to call pkg-config. |
| 27642 | See the pkg-config man page for more details. |
| 27643 | |
| 27644 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 27645 | See \`config.log' for more details" "$LINENO" 5; } |
| 27646 | else |
| 27647 | CURL_CFLAGS=$pkg_cv_CURL_CFLAGS |
| 27648 | CURL_LIBS=$pkg_cv_CURL_LIBS |
| 27649 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 27650 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 27651 | |
| 27652 | fi |
| 27653 | fi |
| 27654 | if testscip-shell system . . test. x$enable_mmaitag = xyes; then |
| 27655 | ENABLE_MMAITAG_TRUE= |
| 27656 | ENABLE_MMAITAG_FALSE='#' |
| 27657 | else |
| 27658 | ENABLE_MMAITAG_TRUE='#' |
| 27659 | ENABLE_MMAITAG_FALSE= |
| 27660 | fi |
| 27661 | |
| 27662 | |
| 27663 | |
| 27664 | # mmrfc5424addhmac |
| 27665 | # Check whether --enable-mmrfc5424addhmac was given. |
| 27666 | if testscip-shell system . . test. ${enable_mmrfc5424addhmac+y} |
| 27667 | then : |
| 27668 | enableval=$enable_mmrfc5424addhmac; case "${enableval}" in |
| 27669 | yes) enable_mmrfc5424addhmac="yes" ;; |
| 27670 | no) enable_mmrfc5424addhmac="no" ;; |
| 27671 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmrfc5424addhmac" "$LINENO" 5 ;; |
| 27672 | esac |
| 27673 | else $as_nop |
| 27674 | enable_mmrfc5424addhmac=no |
| 27675 | |
| 27676 | fi |
| 27677 | |
| 27678 | if testscip-shell system . . test. "x$enable_mmrfc5424addhmac" = "xyes"; then |
| 27679 | |
| 27680 | pkg_failed=no |
| 27681 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl >= 0.9.7" >&5 |
| 27682 | printfscip-shell system . . printf. %s "checking for openssl >= 0.9.7... " >&6; } |
| 27683 | |
| 27684 | if testscip-shell system . . test. -n "$OPENSSL_CFLAGS"; then |
| 27685 | pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS" |
| 27686 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 27687 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 27688 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\""; } >&5 |
| 27689 | ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5 |
| 27690 | ac_status=$? |
| 27691 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 27692 | testscip-shell system . . test. $ac_status = 0; }; then |
| 27693 | pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 0.9.7" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 27694 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 27695 | else |
| 27696 | pkg_failed=yes |
| 27697 | fi |
| 27698 | else |
| 27699 | pkg_failed=untried |
| 27700 | fi |
| 27701 | if testscip-shell system . . test. -n "$OPENSSL_LIBS"; then |
| 27702 | pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS" |
| 27703 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 27704 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 27705 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\""; } >&5 |
| 27706 | ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5 |
| 27707 | ac_status=$? |
| 27708 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 27709 | testscip-shell system . . test. $ac_status = 0; }; then |
| 27710 | pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 0.9.7" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 27711 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 27712 | else |
| 27713 | pkg_failed=yes |
| 27714 | fi |
| 27715 | else |
| 27716 | pkg_failed=untried |
| 27717 | fi |
| 27718 | |
| 27719 | |
| 27720 | |
| 27721 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 27722 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 27723 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 27724 | |
| 27725 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 27726 | _pkg_short_errors_supported=yes |
| 27727 | else |
| 27728 | _pkg_short_errors_supported=no |
| 27729 | fi |
| 27730 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 27731 | OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 0.9.7" 2>&1` |
| 27732 | else |
| 27733 | OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 0.9.7" 2>&1` |
| 27734 | fi |
| 27735 | # Put the nasty error message in config.log where it belongs |
| 27736 | echoscip-shell system . . echo. "$OPENSSL_PKG_ERRORS" >&5 |
| 27737 | |
| 27738 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (openssl >= 0.9.7) were not met: |
| 27739 | |
| 27740 | $OPENSSL_PKG_ERRORS |
| 27741 | |
| 27742 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 27743 | installed software in a non-standard prefix. |
| 27744 | |
| 27745 | Alternatively, you may set the environment variables OPENSSL_CFLAGS |
| 27746 | and OPENSSL_LIBS to avoid the need to call pkg-config. |
| 27747 | See the pkg-config man page for more details." "$LINENO" 5 |
| 27748 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 27749 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 27750 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 27751 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 27752 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 27753 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 27754 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 27755 | path to pkg-config. |
| 27756 | |
| 27757 | Alternatively, you may set the environment variables OPENSSL_CFLAGS |
| 27758 | and OPENSSL_LIBS to avoid the need to call pkg-config. |
| 27759 | See the pkg-config man page for more details. |
| 27760 | |
| 27761 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 27762 | See \`config.log' for more details" "$LINENO" 5; } |
| 27763 | else |
| 27764 | OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS |
| 27765 | OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS |
| 27766 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 27767 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 27768 | |
| 27769 | fi |
| 27770 | #AC_CHECK_LIB([crypto],[CRYPTO_new_ex_data], [], [AC_MSG_ERROR([OpenSSL libraries required])]) |
| 27771 | #AC_CHECK_LIB([ssl],[SSL_library_init], [], [AC_MSG_ERROR([OpenSSL libraries required])]) |
| 27772 | #AC_CHECK_HEADERS([openssl/crypto.h openssl/x509.h openssl/pem.h openssl/ssl.h openssl/err.h],[],[AC_MSG_ERROR([OpenSSL headers required])]) |
| 27773 | fi |
| 27774 | if testscip-shell system . . test. x$enable_mmrfc5424addhmac = xyes; then |
| 27775 | ENABLE_MMRFC5424ADDHMAC_TRUE= |
| 27776 | ENABLE_MMRFC5424ADDHMAC_FALSE='#' |
| 27777 | else |
| 27778 | ENABLE_MMRFC5424ADDHMAC_TRUE='#' |
| 27779 | ENABLE_MMRFC5424ADDHMAC_FALSE= |
| 27780 | fi |
| 27781 | |
| 27782 | |
| 27783 | |
| 27784 | # mmsnareparse |
| 27785 | # Check whether --enable-mmsnareparse was given. |
| 27786 | if testscip-shell system . . test. ${enable_mmsnareparse+y} |
| 27787 | then : |
| 27788 | enableval=$enable_mmsnareparse; case "${enableval}" in |
| 27789 | yes) enable_mmsnareparse="yes" ;; |
| 27790 | no) enable_mmsnareparse="no" ;; |
| 27791 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmsnareparse" "$LINENO" 5 ;; |
| 27792 | esac |
| 27793 | else $as_nop |
| 27794 | enable_mmsnareparse=no |
| 27795 | |
| 27796 | fi |
| 27797 | |
| 27798 | if testscip-shell system . . test. x$enable_mmsnareparse = xyes; then |
| 27799 | ENABLE_MMSNAREPARSE_TRUE= |
| 27800 | ENABLE_MMSNAREPARSE_FALSE='#' |
| 27801 | else |
| 27802 | ENABLE_MMSNAREPARSE_TRUE='#' |
| 27803 | ENABLE_MMSNAREPARSE_FALSE= |
| 27804 | fi |
| 27805 | |
| 27806 | |
| 27807 | |
| 27808 | # experimental omfile-hardened module |
| 27809 | # Check whether --enable-omfile-hardened was given. |
| 27810 | if testscip-shell system . . test. ${enable_omfile_hardened+y} |
| 27811 | then : |
| 27812 | enableval=$enable_omfile_hardened; case "${enableval}" in |
| 27813 | yes) enable_omfile_hardened="yes" ;; |
| 27814 | no) enable_omfile_hardened="no" ;; |
| 27815 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omfile-hardened" "$LINENO" 5 ;; |
| 27816 | esac |
| 27817 | else $as_nop |
| 27818 | enable_omfile_hardened=no |
| 27819 | |
| 27820 | fi |
| 27821 | |
| 27822 | if testscip-shell system . . test. x$enable_omfile_hardened = xyes; then |
| 27823 | ENABLE_OMFILE_HARDENED_TRUE= |
| 27824 | ENABLE_OMFILE_HARDENED_FALSE='#' |
| 27825 | else |
| 27826 | ENABLE_OMFILE_HARDENED_TRUE='#' |
| 27827 | ENABLE_OMFILE_HARDENED_FALSE= |
| 27828 | fi |
| 27829 | |
| 27830 | |
| 27831 | |
| 27832 | # RELP support |
| 27833 | # Check whether --enable-relp was given. |
| 27834 | if testscip-shell system . . test. ${enable_relp+y} |
| 27835 | then : |
| 27836 | enableval=$enable_relp; case "${enableval}" in |
| 27837 | yes) enable_relp="yes" ;; |
| 27838 | no) enable_relp="no" ;; |
| 27839 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-relp" "$LINENO" 5 ;; |
| 27840 | esac |
| 27841 | else $as_nop |
| 27842 | enable_relp=no |
| 27843 | |
| 27844 | fi |
| 27845 | |
| 27846 | if testscip-shell system . . test. "x$enable_relp" = "xyes"; then |
| 27847 | |
| 27848 | pkg_failed=no |
| 27849 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for relp >= 1.2.14" >&5 |
| 27850 | printfscip-shell system . . printf. %s "checking for relp >= 1.2.14... " >&6; } |
| 27851 | |
| 27852 | if testscip-shell system . . test. -n "$RELP_CFLAGS"; then |
| 27853 | pkg_cv_RELP_CFLAGS="$RELP_CFLAGS" |
| 27854 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 27855 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 27856 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"relp >= 1.2.14\""; } >&5 |
| 27857 | ($PKG_CONFIG --exists --print-errors "relp >= 1.2.14") 2>&5 |
| 27858 | ac_status=$? |
| 27859 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 27860 | testscip-shell system . . test. $ac_status = 0; }; then |
| 27861 | pkg_cv_RELP_CFLAGS=`$PKG_CONFIG --cflags "relp >= 1.2.14" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 27862 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 27863 | else |
| 27864 | pkg_failed=yes |
| 27865 | fi |
| 27866 | else |
| 27867 | pkg_failed=untried |
| 27868 | fi |
| 27869 | if testscip-shell system . . test. -n "$RELP_LIBS"; then |
| 27870 | pkg_cv_RELP_LIBS="$RELP_LIBS" |
| 27871 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 27872 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 27873 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"relp >= 1.2.14\""; } >&5 |
| 27874 | ($PKG_CONFIG --exists --print-errors "relp >= 1.2.14") 2>&5 |
| 27875 | ac_status=$? |
| 27876 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 27877 | testscip-shell system . . test. $ac_status = 0; }; then |
| 27878 | pkg_cv_RELP_LIBS=`$PKG_CONFIG --libs "relp >= 1.2.14" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 27879 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 27880 | else |
| 27881 | pkg_failed=yes |
| 27882 | fi |
| 27883 | else |
| 27884 | pkg_failed=untried |
| 27885 | fi |
| 27886 | |
| 27887 | |
| 27888 | |
| 27889 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 27890 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 27891 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 27892 | |
| 27893 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 27894 | _pkg_short_errors_supported=yes |
| 27895 | else |
| 27896 | _pkg_short_errors_supported=no |
| 27897 | fi |
| 27898 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 27899 | RELP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "relp >= 1.2.14" 2>&1` |
| 27900 | else |
| 27901 | RELP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "relp >= 1.2.14" 2>&1` |
| 27902 | fi |
| 27903 | # Put the nasty error message in config.log where it belongs |
| 27904 | echoscip-shell system . . echo. "$RELP_PKG_ERRORS" >&5 |
| 27905 | |
| 27906 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (relp >= 1.2.14) were not met: |
| 27907 | |
| 27908 | $RELP_PKG_ERRORS |
| 27909 | |
| 27910 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 27911 | installed software in a non-standard prefix. |
| 27912 | |
| 27913 | Alternatively, you may set the environment variables RELP_CFLAGS |
| 27914 | and RELP_LIBS to avoid the need to call pkg-config. |
| 27915 | See the pkg-config man page for more details." "$LINENO" 5 |
| 27916 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 27917 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 27918 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 27919 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 27920 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 27921 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 27922 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 27923 | path to pkg-config. |
| 27924 | |
| 27925 | Alternatively, you may set the environment variables RELP_CFLAGS |
| 27926 | and RELP_LIBS to avoid the need to call pkg-config. |
| 27927 | See the pkg-config man page for more details. |
| 27928 | |
| 27929 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 27930 | See \`config.log' for more details" "$LINENO" 5; } |
| 27931 | else |
| 27932 | RELP_CFLAGS=$pkg_cv_RELP_CFLAGS |
| 27933 | RELP_LIBS=$pkg_cv_RELP_LIBS |
| 27934 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 27935 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 27936 | |
| 27937 | fi |
| 27938 | |
| 27939 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_RELP 1" >>confdefs.h |
| 27940 | |
| 27941 | save_CFLAGS="$CFLAGS" |
| 27942 | save_LIBS="$LIBS" |
| 27943 | |
| 27944 | CFLAGS="$CFLAGS $RELP_CFLAGS" |
| 27945 | LIBS="$LIBS $RELP_LIBS" |
| 27946 | # Export RELP Version for testbench tools |
| 27947 | RELP_VERSION="$(pkg-config --modversion relp)" |
| 27948 | |
| 27949 | printfscip-shell system . . printf. "%s\n" "#define RELP_VERSION \"${RELP_VERSION}\"" >>confdefs.h |
| 27950 | |
| 27951 | |
| 27952 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "relpSrvSetOversizeMode" "ac_cv_func_relpSrvSetOversizeMode" |
| 27953 | if testscip-shell system . . test. "x$ac_cv_func_relpSrvSetOversizeMode" = xyes |
| 27954 | then : |
| 27955 | |
| 27956 | printfscip-shell system . . printf. "%s\n" "#define HAVE_RELPSRVSETOVERSIZEMODE 1" >>confdefs.h |
| 27957 | |
| 27958 | fi |
| 27959 | |
| 27960 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "relpSrvSetLstnAddr" "ac_cv_func_relpSrvSetLstnAddr" |
| 27961 | if testscip-shell system . . test. "x$ac_cv_func_relpSrvSetLstnAddr" = xyes |
| 27962 | then : |
| 27963 | |
| 27964 | printfscip-shell system . . printf. "%s\n" "#define HAVE_RELPSRVSETLSTNADDR 1" >>confdefs.h |
| 27965 | |
| 27966 | fi |
| 27967 | |
| 27968 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "relpEngineSetTLSLibByName" "ac_cv_func_relpEngineSetTLSLibByName" |
| 27969 | if testscip-shell system . . test. "x$ac_cv_func_relpEngineSetTLSLibByName" = xyes |
| 27970 | then : |
| 27971 | |
| 27972 | printfscip-shell system . . printf. "%s\n" "#define HAVE_RELPENGINESETTLSLIBBYNAME 1" >>confdefs.h |
| 27973 | |
| 27974 | fi |
| 27975 | |
| 27976 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "relpSrvSetTlsConfigCmd" "ac_cv_func_relpSrvSetTlsConfigCmd" |
| 27977 | if testscip-shell system . . test. "x$ac_cv_func_relpSrvSetTlsConfigCmd" = xyes |
| 27978 | then : |
| 27979 | |
| 27980 | printfscip-shell system . . printf. "%s\n" "#define HAVE_RELPENGINESETTLSCFGCMD 1" >>confdefs.h |
| 27981 | |
| 27982 | fi |
| 27983 | |
| 27984 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "relpSrvSetTlsConfigCmd" "ac_cv_func_relpSrvSetTlsConfigCmd" |
| 27985 | if testscip-shell system . . test. "x$ac_cv_func_relpSrvSetTlsConfigCmd" = xyes |
| 27986 | then : |
| 27987 | HAVE_RELPENGINESETTLSCFGCMD=1 |
| 27988 | fi |
| 27989 | |
| 27990 | |
| 27991 | CFLAGS="$save_CFLAGS" |
| 27992 | LIBS="$save_LIBS" |
| 27993 | fi |
| 27994 | if testscip-shell system . . test. x$enable_relp = xyes; then |
| 27995 | ENABLE_RELP_TRUE= |
| 27996 | ENABLE_RELP_FALSE='#' |
| 27997 | else |
| 27998 | ENABLE_RELP_TRUE='#' |
| 27999 | ENABLE_RELP_FALSE= |
| 28000 | fi |
| 28001 | |
| 28002 | if testscip-shell system . . test. "x$HAVE_RELPENGINESETTLSCFGCMD" = x1; then |
| 28003 | USE_RELPENGINESETTLSCFGCMD_TRUE= |
| 28004 | USE_RELPENGINESETTLSCFGCMD_FALSE='#' |
| 28005 | else |
| 28006 | USE_RELPENGINESETTLSCFGCMD_TRUE='#' |
| 28007 | USE_RELPENGINESETTLSCFGCMD_FALSE= |
| 28008 | fi |
| 28009 | |
| 28010 | |
| 28011 | # RELP default port |
| 28012 | # Check whether --enable-omrelp-default-port was given. |
| 28013 | if testscip-shell system . . test. ${enable_omrelp_default_port+y} |
| 28014 | then : |
| 28015 | enableval=$enable_omrelp_default_port; |
| 28016 | printfscip-shell system . . printf. "%s\n" "#define RELP_DFLT_PT \"${enableval}\"" >>confdefs.h |
| 28017 | |
| 28018 | else $as_nop |
| 28019 | |
| 28020 | printfscip-shell system . . printf. "%s\n" "#define RELP_DFLT_PT \"514\"" >>confdefs.h |
| 28021 | |
| 28022 | |
| 28023 | fi |
| 28024 | |
| 28025 | |
| 28026 | |
| 28027 | |
| 28028 | # GuardTime KSI LOGSIG 12 support |
| 28029 | # Check whether --enable-ksi-ls12 was given. |
| 28030 | if testscip-shell system . . test. ${enable_ksi_ls12+y} |
| 28031 | then : |
| 28032 | enableval=$enable_ksi_ls12; case "${enableval}" in |
| 28033 | yes) enable_ksi_ls12="yes" ;; |
| 28034 | no) enable_ksi_ls12="no" ;; |
| 28035 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-ksi-ls12" "$LINENO" 5 ;; |
| 28036 | esac |
| 28037 | else $as_nop |
| 28038 | enable_ksi_ls12=no |
| 28039 | |
| 28040 | fi |
| 28041 | |
| 28042 | if testscip-shell system . . test. "x$enable_ksi_ls12" = "xyes"; then |
| 28043 | |
| 28044 | pkg_failed=no |
| 28045 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libksi >= 3.19.0" >&5 |
| 28046 | printfscip-shell system . . printf. %s "checking for libksi >= 3.19.0... " >&6; } |
| 28047 | |
| 28048 | if testscip-shell system . . test. -n "$GT_KSI_LS12_CFLAGS"; then |
| 28049 | pkg_cv_GT_KSI_LS12_CFLAGS="$GT_KSI_LS12_CFLAGS" |
| 28050 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 28051 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 28052 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libksi >= 3.19.0\""; } >&5 |
| 28053 | ($PKG_CONFIG --exists --print-errors "libksi >= 3.19.0") 2>&5 |
| 28054 | ac_status=$? |
| 28055 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 28056 | testscip-shell system . . test. $ac_status = 0; }; then |
| 28057 | pkg_cv_GT_KSI_LS12_CFLAGS=`$PKG_CONFIG --cflags "libksi >= 3.19.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 28058 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 28059 | else |
| 28060 | pkg_failed=yes |
| 28061 | fi |
| 28062 | else |
| 28063 | pkg_failed=untried |
| 28064 | fi |
| 28065 | if testscip-shell system . . test. -n "$GT_KSI_LS12_LIBS"; then |
| 28066 | pkg_cv_GT_KSI_LS12_LIBS="$GT_KSI_LS12_LIBS" |
| 28067 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 28068 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 28069 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libksi >= 3.19.0\""; } >&5 |
| 28070 | ($PKG_CONFIG --exists --print-errors "libksi >= 3.19.0") 2>&5 |
| 28071 | ac_status=$? |
| 28072 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 28073 | testscip-shell system . . test. $ac_status = 0; }; then |
| 28074 | pkg_cv_GT_KSI_LS12_LIBS=`$PKG_CONFIG --libs "libksi >= 3.19.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 28075 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 28076 | else |
| 28077 | pkg_failed=yes |
| 28078 | fi |
| 28079 | else |
| 28080 | pkg_failed=untried |
| 28081 | fi |
| 28082 | |
| 28083 | |
| 28084 | |
| 28085 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 28086 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 28087 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 28088 | |
| 28089 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 28090 | _pkg_short_errors_supported=yes |
| 28091 | else |
| 28092 | _pkg_short_errors_supported=no |
| 28093 | fi |
| 28094 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 28095 | GT_KSI_LS12_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libksi >= 3.19.0" 2>&1` |
| 28096 | else |
| 28097 | GT_KSI_LS12_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libksi >= 3.19.0" 2>&1` |
| 28098 | fi |
| 28099 | # Put the nasty error message in config.log where it belongs |
| 28100 | echoscip-shell system . . echo. "$GT_KSI_LS12_PKG_ERRORS" >&5 |
| 28101 | |
| 28102 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libksi >= 3.19.0) were not met: |
| 28103 | |
| 28104 | $GT_KSI_LS12_PKG_ERRORS |
| 28105 | |
| 28106 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 28107 | installed software in a non-standard prefix. |
| 28108 | |
| 28109 | Alternatively, you may set the environment variables GT_KSI_LS12_CFLAGS |
| 28110 | and GT_KSI_LS12_LIBS to avoid the need to call pkg-config. |
| 28111 | See the pkg-config man page for more details." "$LINENO" 5 |
| 28112 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 28113 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 28114 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 28115 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 28116 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 28117 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 28118 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 28119 | path to pkg-config. |
| 28120 | |
| 28121 | Alternatively, you may set the environment variables GT_KSI_LS12_CFLAGS |
| 28122 | and GT_KSI_LS12_LIBS to avoid the need to call pkg-config. |
| 28123 | See the pkg-config man page for more details. |
| 28124 | |
| 28125 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 28126 | See \`config.log' for more details" "$LINENO" 5; } |
| 28127 | else |
| 28128 | GT_KSI_LS12_CFLAGS=$pkg_cv_GT_KSI_LS12_CFLAGS |
| 28129 | GT_KSI_LS12_LIBS=$pkg_cv_GT_KSI_LS12_LIBS |
| 28130 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 28131 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 28132 | |
| 28133 | fi |
| 28134 | fi |
| 28135 | if testscip-shell system . . test. x$enable_ksi_ls12 = xyes; then |
| 28136 | ENABLE_KSI_LS12_TRUE= |
| 28137 | ENABLE_KSI_LS12_FALSE='#' |
| 28138 | else |
| 28139 | ENABLE_KSI_LS12_TRUE='#' |
| 28140 | ENABLE_KSI_LS12_FALSE= |
| 28141 | fi |
| 28142 | |
| 28143 | |
| 28144 | # liblogging-stdlog support |
| 28145 | # we use liblogging-stdlog inside the testbench, which is why we need to check for it in any case |
| 28146 | |
| 28147 | pkg_failed=no |
| 28148 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for liblogging-stdlog >= 1.0.3" >&5 |
| 28149 | printfscip-shell system . . printf. %s "checking for liblogging-stdlog >= 1.0.3... " >&6; } |
| 28150 | |
| 28151 | if testscip-shell system . . test. -n "$LIBLOGGING_STDLOG_CFLAGS"; then |
| 28152 | pkg_cv_LIBLOGGING_STDLOG_CFLAGS="$LIBLOGGING_STDLOG_CFLAGS" |
| 28153 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 28154 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 28155 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblogging-stdlog >= 1.0.3\""; } >&5 |
| 28156 | ($PKG_CONFIG --exists --print-errors "liblogging-stdlog >= 1.0.3") 2>&5 |
| 28157 | ac_status=$? |
| 28158 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 28159 | testscip-shell system . . test. $ac_status = 0; }; then |
| 28160 | pkg_cv_LIBLOGGING_STDLOG_CFLAGS=`$PKG_CONFIG --cflags "liblogging-stdlog >= 1.0.3" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 28161 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 28162 | else |
| 28163 | pkg_failed=yes |
| 28164 | fi |
| 28165 | else |
| 28166 | pkg_failed=untried |
| 28167 | fi |
| 28168 | if testscip-shell system . . test. -n "$LIBLOGGING_STDLOG_LIBS"; then |
| 28169 | pkg_cv_LIBLOGGING_STDLOG_LIBS="$LIBLOGGING_STDLOG_LIBS" |
| 28170 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 28171 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 28172 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblogging-stdlog >= 1.0.3\""; } >&5 |
| 28173 | ($PKG_CONFIG --exists --print-errors "liblogging-stdlog >= 1.0.3") 2>&5 |
| 28174 | ac_status=$? |
| 28175 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 28176 | testscip-shell system . . test. $ac_status = 0; }; then |
| 28177 | pkg_cv_LIBLOGGING_STDLOG_LIBS=`$PKG_CONFIG --libs "liblogging-stdlog >= 1.0.3" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 28178 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 28179 | else |
| 28180 | pkg_failed=yes |
| 28181 | fi |
| 28182 | else |
| 28183 | pkg_failed=untried |
| 28184 | fi |
| 28185 | |
| 28186 | |
| 28187 | |
| 28188 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 28189 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 28190 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 28191 | |
| 28192 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 28193 | _pkg_short_errors_supported=yes |
| 28194 | else |
| 28195 | _pkg_short_errors_supported=no |
| 28196 | fi |
| 28197 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 28198 | LIBLOGGING_STDLOG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblogging-stdlog >= 1.0.3" 2>&1` |
| 28199 | else |
| 28200 | LIBLOGGING_STDLOG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblogging-stdlog >= 1.0.3" 2>&1` |
| 28201 | fi |
| 28202 | # Put the nasty error message in config.log where it belongs |
| 28203 | echoscip-shell system . . echo. "$LIBLOGGING_STDLOG_PKG_ERRORS" >&5 |
| 28204 | |
| 28205 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: liblogging-stdlog not found, parts of the testbench will not run" >&5 |
| 28206 | printfscip-shell system . . printf. "%s\n" "$as_me: liblogging-stdlog not found, parts of the testbench will not run" >&6;} |
| 28207 | |
| 28208 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 28209 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 28210 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 28211 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: liblogging-stdlog not found, parts of the testbench will not run" >&5 |
| 28212 | printfscip-shell system . . printf. "%s\n" "$as_me: liblogging-stdlog not found, parts of the testbench will not run" >&6;} |
| 28213 | |
| 28214 | else |
| 28215 | LIBLOGGING_STDLOG_CFLAGS=$pkg_cv_LIBLOGGING_STDLOG_CFLAGS |
| 28216 | LIBLOGGING_STDLOG_LIBS=$pkg_cv_LIBLOGGING_STDLOG_LIBS |
| 28217 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 28218 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 28219 | |
| 28220 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LIBLOGGING_STDLOG 1" >>confdefs.h |
| 28221 | |
| 28222 | found_liblogging_stdlog="yes" |
| 28223 | fi |
| 28224 | |
| 28225 | # Check whether --enable-liblogging-stdlog was given. |
| 28226 | if testscip-shell system . . test. ${enable_liblogging_stdlog+y} |
| 28227 | then : |
| 28228 | enableval=$enable_liblogging_stdlog; case "${enableval}" in |
| 28229 | yes) enable_liblogging_stdlog="yes" ;; |
| 28230 | no) enable_liblogging_stdlog="no" ;; |
| 28231 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-liblogging-stdlog" "$LINENO" 5 ;; |
| 28232 | esac |
| 28233 | else $as_nop |
| 28234 | enable_liblogging_stdlog=no |
| 28235 | |
| 28236 | fi |
| 28237 | |
| 28238 | if testscip-shell system . . test. "x$enable_liblogging_stdlog" = "xyes" -a "x$found_liblogging_stdlog" != "xyes"; then |
| 28239 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "--enable-liblogging-stdlog set but liblogging-stdlog was not found" "$LINENO" 5 |
| 28240 | fi |
| 28241 | if testscip-shell system . . test. "x$enable_liblogging_stdlog" = "xyes"; then |
| 28242 | ENABLE_LIBLOGGING_STDLOG_TRUE= |
| 28243 | ENABLE_LIBLOGGING_STDLOG_FALSE='#' |
| 28244 | else |
| 28245 | ENABLE_LIBLOGGING_STDLOG_TRUE='#' |
| 28246 | ENABLE_LIBLOGGING_STDLOG_FALSE= |
| 28247 | fi |
| 28248 | |
| 28249 | |
| 28250 | # RFC 3195 support |
| 28251 | # Check whether --enable-rfc3195 was given. |
| 28252 | if testscip-shell system . . test. ${enable_rfc3195+y} |
| 28253 | then : |
| 28254 | enableval=$enable_rfc3195; case "${enableval}" in |
| 28255 | yes) enable_rfc3195="yes" ;; |
| 28256 | no) enable_rfc3195="no" ;; |
| 28257 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-rfc3195" "$LINENO" 5 ;; |
| 28258 | esac |
| 28259 | else $as_nop |
| 28260 | enable_rfc3195=no |
| 28261 | |
| 28262 | fi |
| 28263 | |
| 28264 | if testscip-shell system . . test. "x$enable_rfc3195" = "xyes"; then |
| 28265 | |
| 28266 | pkg_failed=no |
| 28267 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for liblogging-rfc3195 >= 1.0.1" >&5 |
| 28268 | printfscip-shell system . . printf. %s "checking for liblogging-rfc3195 >= 1.0.1... " >&6; } |
| 28269 | |
| 28270 | if testscip-shell system . . test. -n "$LIBLOGGING_CFLAGS"; then |
| 28271 | pkg_cv_LIBLOGGING_CFLAGS="$LIBLOGGING_CFLAGS" |
| 28272 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 28273 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 28274 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblogging-rfc3195 >= 1.0.1\""; } >&5 |
| 28275 | ($PKG_CONFIG --exists --print-errors "liblogging-rfc3195 >= 1.0.1") 2>&5 |
| 28276 | ac_status=$? |
| 28277 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 28278 | testscip-shell system . . test. $ac_status = 0; }; then |
| 28279 | pkg_cv_LIBLOGGING_CFLAGS=`$PKG_CONFIG --cflags "liblogging-rfc3195 >= 1.0.1" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 28280 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 28281 | else |
| 28282 | pkg_failed=yes |
| 28283 | fi |
| 28284 | else |
| 28285 | pkg_failed=untried |
| 28286 | fi |
| 28287 | if testscip-shell system . . test. -n "$LIBLOGGING_LIBS"; then |
| 28288 | pkg_cv_LIBLOGGING_LIBS="$LIBLOGGING_LIBS" |
| 28289 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 28290 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 28291 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblogging-rfc3195 >= 1.0.1\""; } >&5 |
| 28292 | ($PKG_CONFIG --exists --print-errors "liblogging-rfc3195 >= 1.0.1") 2>&5 |
| 28293 | ac_status=$? |
| 28294 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 28295 | testscip-shell system . . test. $ac_status = 0; }; then |
| 28296 | pkg_cv_LIBLOGGING_LIBS=`$PKG_CONFIG --libs "liblogging-rfc3195 >= 1.0.1" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 28297 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 28298 | else |
| 28299 | pkg_failed=yes |
| 28300 | fi |
| 28301 | else |
| 28302 | pkg_failed=untried |
| 28303 | fi |
| 28304 | |
| 28305 | |
| 28306 | |
| 28307 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 28308 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 28309 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 28310 | |
| 28311 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 28312 | _pkg_short_errors_supported=yes |
| 28313 | else |
| 28314 | _pkg_short_errors_supported=no |
| 28315 | fi |
| 28316 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 28317 | LIBLOGGING_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblogging-rfc3195 >= 1.0.1" 2>&1` |
| 28318 | else |
| 28319 | LIBLOGGING_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblogging-rfc3195 >= 1.0.1" 2>&1` |
| 28320 | fi |
| 28321 | # Put the nasty error message in config.log where it belongs |
| 28322 | echoscip-shell system . . echo. "$LIBLOGGING_PKG_ERRORS" >&5 |
| 28323 | |
| 28324 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (liblogging-rfc3195 >= 1.0.1) were not met: |
| 28325 | |
| 28326 | $LIBLOGGING_PKG_ERRORS |
| 28327 | |
| 28328 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 28329 | installed software in a non-standard prefix. |
| 28330 | |
| 28331 | Alternatively, you may set the environment variables LIBLOGGING_CFLAGS |
| 28332 | and LIBLOGGING_LIBS to avoid the need to call pkg-config. |
| 28333 | See the pkg-config man page for more details." "$LINENO" 5 |
| 28334 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 28335 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 28336 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 28337 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 28338 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 28339 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 28340 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 28341 | path to pkg-config. |
| 28342 | |
| 28343 | Alternatively, you may set the environment variables LIBLOGGING_CFLAGS |
| 28344 | and LIBLOGGING_LIBS to avoid the need to call pkg-config. |
| 28345 | See the pkg-config man page for more details. |
| 28346 | |
| 28347 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 28348 | See \`config.log' for more details" "$LINENO" 5; } |
| 28349 | else |
| 28350 | LIBLOGGING_CFLAGS=$pkg_cv_LIBLOGGING_CFLAGS |
| 28351 | LIBLOGGING_LIBS=$pkg_cv_LIBLOGGING_LIBS |
| 28352 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 28353 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 28354 | |
| 28355 | fi |
| 28356 | fi |
| 28357 | if testscip-shell system . . test. x$enable_rfc3195 = xyes; then |
| 28358 | ENABLE_RFC3195_TRUE= |
| 28359 | ENABLE_RFC3195_FALSE='#' |
| 28360 | else |
| 28361 | ENABLE_RFC3195_TRUE='#' |
| 28362 | ENABLE_RFC3195_FALSE= |
| 28363 | fi |
| 28364 | |
| 28365 | |
| 28366 | |
| 28367 | # enable/disable the testbench (e.g. because some important parts |
| 28368 | # are missing) |
| 28369 | # Check whether --enable-testbench was given. |
| 28370 | if testscip-shell system . . test. ${enable_testbench+y} |
| 28371 | then : |
| 28372 | enableval=$enable_testbench; case "${enableval}" in |
| 28373 | yes) enable_testbench="yes" ;; |
| 28374 | no) enable_testbench="no" ;; |
| 28375 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-testbench" "$LINENO" 5 ;; |
| 28376 | esac |
| 28377 | else $as_nop |
| 28378 | enable_testbench=no |
| 28379 | |
| 28380 | fi |
| 28381 | |
| 28382 | |
| 28383 | # Add a capability to turn off libfaketime tests. Unfortunately, libfaketime |
| 28384 | # becomes more and more problematic in newer versions and causes aborts |
| 28385 | # on some platforms. This provides the ability to turn it off. In the |
| 28386 | # longer term, we should consider writing our own replacement. |
| 28387 | # Check whether --enable-libfaketime was given. |
| 28388 | if testscip-shell system . . test. ${enable_libfaketime+y} |
| 28389 | then : |
| 28390 | enableval=$enable_libfaketime; case "${enableval}" in |
| 28391 | yes) enable_libfaketime="yes" ;; |
| 28392 | no) enable_libfaketime="no" ;; |
| 28393 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-libfaketime" "$LINENO" 5 ;; |
| 28394 | esac |
| 28395 | else $as_nop |
| 28396 | enable_libfaketime=no |
| 28397 | |
| 28398 | fi |
| 28399 | |
| 28400 | if testscip-shell system . . test. "x${enable_libfaketime}" = "xyes"; then |
| 28401 | ENABLE_LIBFAKETIME_TRUE= |
| 28402 | ENABLE_LIBFAKETIME_FALSE='#' |
| 28403 | else |
| 28404 | ENABLE_LIBFAKETIME_TRUE='#' |
| 28405 | ENABLE_LIBFAKETIME_FALSE= |
| 28406 | fi |
| 28407 | |
| 28408 | |
| 28409 | # this permits to control the "default tests" in testbench runs. These |
| 28410 | # are those tests that do not need a special configure option. There are |
| 28411 | # some situations where we really want to turn them of so that we can |
| 28412 | # run tests only for a specific component (e.g. ElasticSearch). |
| 28413 | # Check whether --enable-default-tests was given. |
| 28414 | if testscip-shell system . . test. ${enable_default_tests+y} |
| 28415 | then : |
| 28416 | enableval=$enable_default_tests; case "${enableval}" in |
| 28417 | yes) enable_default_tests="yes" ;; |
| 28418 | no) enable_default_tests="no" ;; |
| 28419 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-default-tests" "$LINENO" 5 ;; |
| 28420 | esac |
| 28421 | else $as_nop |
| 28422 | enable_default_tests=yes |
| 28423 | |
| 28424 | fi |
| 28425 | |
| 28426 | if testscip-shell system . . test. "x${enable_default_tests}" = "xyes"; then |
| 28427 | ENABLE_DEFAULT_TESTS_TRUE= |
| 28428 | ENABLE_DEFAULT_TESTS_FALSE='#' |
| 28429 | else |
| 28430 | ENABLE_DEFAULT_TESTS_TRUE='#' |
| 28431 | ENABLE_DEFAULT_TESTS_FALSE= |
| 28432 | fi |
| 28433 | |
| 28434 | |
| 28435 | # Extract the first word of "ip", so it can be a program name with args. |
| 28436 | set dummy ip; ac_word=$2 |
| 28437 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 28438 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 28439 | if testscip-shell system . . test. ${ac_cv_prog_IP+y} |
| 28440 | then : |
| 28441 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 28442 | else $as_nop |
| 28443 | if testscip-shell system . . test. -n "$IP"; then |
| 28444 | ac_cv_prog_IP="$IP" # Let the user override the test. |
| 28445 | else |
| 28446 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 28447 | for as_dir in $PATH |
| 28448 | do |
| 28449 | IFS=$as_save_IFS |
| 28450 | case $as_dir in #((( |
| 28451 | '') as_dir=./ ;; |
| 28452 | */) ;; |
| 28453 | *) as_dir=$as_dir/ ;; |
| 28454 | esac |
| 28455 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 28456 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 28457 | ac_cv_prog_IP="yes" |
| 28458 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 28459 | break 2 |
| 28460 | fi |
| 28461 | done |
| 28462 | done |
| 28463 | IFS=$as_save_IFS |
| 28464 | |
| 28465 | testscip-shell system . . test. -z "$ac_cv_prog_IP" && ac_cv_prog_IP="no" |
| 28466 | fi |
| 28467 | fi |
| 28468 | IP=$ac_cv_prog_IP |
| 28469 | if testscip-shell system . . test. -n "$IP"; then |
| 28470 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IP" >&5 |
| 28471 | printfscip-shell system . . printf. "%s\n" "$IP" >&6; } |
| 28472 | else |
| 28473 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 28474 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 28475 | fi |
| 28476 | |
| 28477 | |
| 28478 | if testscip-shell system . . test. "x${IP}" = "xno"; then |
| 28479 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: Will not check network namespace functionality as 'ip' (part of iproute2) is not available." >&5 |
| 28480 | printfscip-shell system . . printf. "%s\n" "$as_me: Will not check network namespace functionality as 'ip' (part of iproute2) is not available." >&6;} |
| 28481 | fi |
| 28482 | if testscip-shell system . . test. "x${IP}" = "xyes"; then |
| 28483 | ENABLE_IP_TRUE= |
| 28484 | ENABLE_IP_FALSE='#' |
| 28485 | else |
| 28486 | ENABLE_IP_TRUE='#' |
| 28487 | ENABLE_IP_FALSE= |
| 28488 | fi |
| 28489 | |
| 28490 | |
| 28491 | # Check whether --enable-imtcp-tests was given. |
| 28492 | if testscip-shell system . . test. ${enable_imtcp_tests+y} |
| 28493 | then : |
| 28494 | enableval=$enable_imtcp_tests; case "${enableval}" in |
| 28495 | yes) enable_imtcp_tests="yes" ;; |
| 28496 | no) enable_imtcp_tests="no" ;; |
| 28497 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-imtcp-tests" "$LINENO" 5 ;; |
| 28498 | esac |
| 28499 | else $as_nop |
| 28500 | enable_imtcp_tests=yes |
| 28501 | |
| 28502 | fi |
| 28503 | |
| 28504 | if testscip-shell system . . test. "x${enable_imtcp_tests}" = "xyes"; then |
| 28505 | ENABLE_IMTCP_TESTS_TRUE= |
| 28506 | ENABLE_IMTCP_TESTS_FALSE='#' |
| 28507 | else |
| 28508 | ENABLE_IMTCP_TESTS_TRUE='#' |
| 28509 | ENABLE_IMTCP_TESTS_FALSE= |
| 28510 | fi |
| 28511 | |
| 28512 | |
| 28513 | |
| 28514 | # valgrind-testbench |
| 28515 | |
| 28516 | # Check whether --with-valgrind_testbench was given. |
| 28517 | if testscip-shell system . . test. ${with_valgrind_testbench+y} |
| 28518 | then : |
| 28519 | withval=$with_valgrind_testbench; |
| 28520 | fi |
| 28521 | |
| 28522 | |
| 28523 | if testscip-shell system . . test. "x$with_valgrind_testbench" != "xno"; then |
| 28524 | # Extract the first word of "valgrind", so it can be a program name with args. |
| 28525 | set dummy valgrind; ac_word=$2 |
| 28526 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 28527 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 28528 | if testscip-shell system . . test. ${ac_cv_prog_VALGRIND+y} |
| 28529 | then : |
| 28530 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 28531 | else $as_nop |
| 28532 | if testscip-shell system . . test. -n "$VALGRIND"; then |
| 28533 | ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test. |
| 28534 | else |
| 28535 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 28536 | for as_dir in $PATH |
| 28537 | do |
| 28538 | IFS=$as_save_IFS |
| 28539 | case $as_dir in #((( |
| 28540 | '') as_dir=./ ;; |
| 28541 | */) ;; |
| 28542 | *) as_dir=$as_dir/ ;; |
| 28543 | esac |
| 28544 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 28545 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 28546 | ac_cv_prog_VALGRIND="valgrind" |
| 28547 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 28548 | break 2 |
| 28549 | fi |
| 28550 | done |
| 28551 | done |
| 28552 | IFS=$as_save_IFS |
| 28553 | |
| 28554 | testscip-shell system . . test. -z "$ac_cv_prog_VALGRIND" && ac_cv_prog_VALGRIND="no" |
| 28555 | fi |
| 28556 | fi |
| 28557 | VALGRIND=$ac_cv_prog_VALGRIND |
| 28558 | if testscip-shell system . . test. -n "$VALGRIND"; then |
| 28559 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5 |
| 28560 | printfscip-shell system . . printf. "%s\n" "$VALGRIND" >&6; } |
| 28561 | else |
| 28562 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 28563 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 28564 | fi |
| 28565 | |
| 28566 | |
| 28567 | |
| 28568 | if testscip-shell system . . test. "x$enable_testbench" = "xyes" && testscip-shell system . . test. "x$VALGRIND" = "xno"; then |
| 28569 | if testscip-shell system . . test. "x$with_valgrind_testbench" = "xyes"; then |
| 28570 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "valgrind is missing but forced with --with-valgrind-testbench. Either install valgrind or remove the option!" "$LINENO" 5 |
| 28571 | else |
| 28572 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: valgrind is missing -- testbench won't use valgrind!" >&5 |
| 28573 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: valgrind is missing -- testbench won't use valgrind!" >&2;} |
| 28574 | fi |
| 28575 | else |
| 28576 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: testbench will use valgrind" >&5 |
| 28577 | printfscip-shell system . . printf. "%s\n" "$as_me: testbench will use valgrind" >&6;} |
| 28578 | fi |
| 28579 | else |
| 28580 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: testbench won't use valgrind due to set --without-valgrind-testbench option" >&5 |
| 28581 | printfscip-shell system . . printf. "%s\n" "$as_me: testbench won't use valgrind due to set --without-valgrind-testbench option" >&6;} |
| 28582 | fi |
| 28583 | if testscip-shell system . . test. "x$with_valgrind_testbench" != "xno" && testscip-shell system . . test. "x$VALGRIND" != "xno"; then |
| 28584 | HAVE_VALGRIND_TRUE= |
| 28585 | HAVE_VALGRIND_FALSE='#' |
| 28586 | else |
| 28587 | HAVE_VALGRIND_TRUE='#' |
| 28588 | HAVE_VALGRIND_FALSE= |
| 28589 | fi |
| 28590 | |
| 28591 | |
| 28592 | # ability to disable helgrind tests - we at least need this for |
| 28593 | # clang coverage reports, where we cannot suppress the races |
| 28594 | # Check whether --enable-helgrind was given. |
| 28595 | if testscip-shell system . . test. ${enable_helgrind+y} |
| 28596 | then : |
| 28597 | enableval=$enable_helgrind; case "${enableval}" in |
| 28598 | yes) enable_helgrind="yes" ;; |
| 28599 | no) enable_helgrind="no" ;; |
| 28600 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-helgrind" "$LINENO" 5 ;; |
| 28601 | esac |
| 28602 | else $as_nop |
| 28603 | enable_helgrind=yes |
| 28604 | |
| 28605 | fi |
| 28606 | |
| 28607 | if testscip-shell system . . test. x$enable_helgrind = xyes; then |
| 28608 | ENABLE_HELGRIND_TRUE= |
| 28609 | ENABLE_HELGRIND_FALSE='#' |
| 28610 | else |
| 28611 | ENABLE_HELGRIND_TRUE='#' |
| 28612 | ENABLE_HELGRIND_FALSE= |
| 28613 | fi |
| 28614 | |
| 28615 | |
| 28616 | # settings for the batch report input module |
| 28617 | # Check whether --enable-imbatchreport was given. |
| 28618 | if testscip-shell system . . test. ${enable_imbatchreport+y} |
| 28619 | then : |
| 28620 | enableval=$enable_imbatchreport; case "${enableval}" in |
| 28621 | yes) enable_imbatchreport="yes" ;; |
| 28622 | no) enable_imbatchreport="no" ;; |
| 28623 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-imbatchreport" "$LINENO" 5 ;; |
| 28624 | esac |
| 28625 | else $as_nop |
| 28626 | enable_imbatchreport=no |
| 28627 | |
| 28628 | fi |
| 28629 | |
| 28630 | if testscip-shell system . . test. x$enable_imbatchreport = xyes; then |
| 28631 | ENABLE_IMBATCHREPORT_TRUE= |
| 28632 | ENABLE_IMBATCHREPORT_FALSE='#' |
| 28633 | else |
| 28634 | ENABLE_IMBATCHREPORT_TRUE='#' |
| 28635 | ENABLE_IMBATCHREPORT_FALSE= |
| 28636 | fi |
| 28637 | |
| 28638 | |
| 28639 | # settings for the db2diag parser module |
| 28640 | # Check whether --enable-pmdb2diag was given. |
| 28641 | if testscip-shell system . . test. ${enable_pmdb2diag+y} |
| 28642 | then : |
| 28643 | enableval=$enable_pmdb2diag; case "${enableval}" in |
| 28644 | yes) enable_pmdb2diag="yes" ;; |
| 28645 | no) enable_pmdb2diag="no" ;; |
| 28646 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-pmdb2diag" "$LINENO" 5 ;; |
| 28647 | esac |
| 28648 | else $as_nop |
| 28649 | enable_pmdb2diag=no |
| 28650 | |
| 28651 | fi |
| 28652 | |
| 28653 | if testscip-shell system . . test. x$enable_pmdb2diag = xyes; then |
| 28654 | ENABLE_PMDB2DIAG_TRUE= |
| 28655 | ENABLE_PMDB2DIAG_FALSE='#' |
| 28656 | else |
| 28657 | ENABLE_PMDB2DIAG_TRUE='#' |
| 28658 | ENABLE_PMDB2DIAG_FALSE= |
| 28659 | fi |
| 28660 | |
| 28661 | |
| 28662 | # settings for the file input module |
| 28663 | # Check whether --enable-imfile was given. |
| 28664 | if testscip-shell system . . test. ${enable_imfile+y} |
| 28665 | then : |
| 28666 | enableval=$enable_imfile; case "${enableval}" in |
| 28667 | yes) enable_imfile="yes" ;; |
| 28668 | no) enable_imfile="no" ;; |
| 28669 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-imfile" "$LINENO" 5 ;; |
| 28670 | esac |
| 28671 | else $as_nop |
| 28672 | enable_imfile=no |
| 28673 | |
| 28674 | fi |
| 28675 | |
| 28676 | if testscip-shell system . . test. "x$enable_imfile" = "xyes"; then |
| 28677 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "port_create" "ac_cv_func_port_create" |
| 28678 | if testscip-shell system . . test. "x$ac_cv_func_port_create" = xyes |
| 28679 | then : |
| 28680 | printfscip-shell system . . printf. "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h |
| 28681 | |
| 28682 | fi |
| 28683 | |
| 28684 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Solaris File Events Notification API support" >&5 |
| 28685 | printfscip-shell system . . printf. %s "checking for Solaris File Events Notification API support... " >&6; } |
| 28686 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28687 | /* end confdefs.h. */ |
| 28688 | |
| 28689 | #include <port.h> |
| 28690 | #include <sys/port.h> |
| 28691 | |
| 28692 | int |
| 28693 | main (void) |
| 28694 | { |
| 28695 | |
| 28696 | return PORT_SOURCE_FILE; |
| 28697 | |
| 28698 | |
| 28699 | ; |
| 28700 | return 0; |
| 28701 | } |
| 28702 | _ACEOF |
| 28703 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 28704 | then : |
| 28705 | |
| 28706 | printfscip-shell system . . printf. "%s\n" "#define HAVE_PORT_SOURCE_FILE 1" >>confdefs.h |
| 28707 | |
| 28708 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 28709 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 28710 | |
| 28711 | else $as_nop |
| 28712 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 28713 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 28714 | |
| 28715 | fi |
| 28716 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 28717 | fi |
| 28718 | if testscip-shell system . . test. x$enable_imfile = xyes; then |
| 28719 | ENABLE_IMFILE_TRUE= |
| 28720 | ENABLE_IMFILE_FALSE='#' |
| 28721 | else |
| 28722 | ENABLE_IMFILE_TRUE='#' |
| 28723 | ENABLE_IMFILE_FALSE= |
| 28724 | fi |
| 28725 | |
| 28726 | |
| 28727 | # Check whether --enable-imfile-tests was given. |
| 28728 | if testscip-shell system . . test. ${enable_imfile_tests+y} |
| 28729 | then : |
| 28730 | enableval=$enable_imfile_tests; case "${enableval}" in |
| 28731 | yes) enable_imfile_tests="yes" ;; |
| 28732 | no) enable_imfile_tests="no" ;; |
| 28733 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-imfile-tests" "$LINENO" 5 ;; |
| 28734 | esac |
| 28735 | else $as_nop |
| 28736 | enable_imfile_tests=yes |
| 28737 | |
| 28738 | fi |
| 28739 | |
| 28740 | if testscip-shell system . . test. "x$enable_imfile_tests" = "xyes" && testscip-shell system . . test. "x$enable_imfile" != "xyes"; then |
| 28741 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: imfile-tests can not be enabled without imfile support. Disabling imfile tests..." >&5 |
| 28742 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: imfile-tests can not be enabled without imfile support. Disabling imfile tests..." >&2;} |
| 28743 | enable_imfile_tests="no" |
| 28744 | fi |
| 28745 | if testscip-shell system . . test. x$enable_imfile_tests = xyes; then |
| 28746 | ENABLE_IMFILE_TESTS_TRUE= |
| 28747 | ENABLE_IMFILE_TESTS_FALSE='#' |
| 28748 | else |
| 28749 | ENABLE_IMFILE_TESTS_TRUE='#' |
| 28750 | ENABLE_IMFILE_TESTS_FALSE= |
| 28751 | fi |
| 28752 | |
| 28753 | |
| 28754 | |
| 28755 | # settings for the docker log input module |
| 28756 | # Check whether --enable-imdocker was given. |
| 28757 | if testscip-shell system . . test. ${enable_imdocker+y} |
| 28758 | then : |
| 28759 | enableval=$enable_imdocker; case "${enableval}" in |
| 28760 | yes) enable_imdocker="yes" ;; |
| 28761 | no) enable_imdocker="no" ;; |
| 28762 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-imdocker" "$LINENO" 5 ;; |
| 28763 | esac |
| 28764 | else $as_nop |
| 28765 | enable_imdocker=no |
| 28766 | |
| 28767 | fi |
| 28768 | |
| 28769 | if testscip-shell system . . test. "x$enable_imdocker" = "xyes"; then |
| 28770 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default" |
| 28771 | if testscip-shell system . . test. "x$ac_cv_header_curl_curl_h" = xyes |
| 28772 | then : |
| 28773 | printfscip-shell system . . printf. "%s\n" "#define HAVE_CURL_CURL_H 1" >>confdefs.h |
| 28774 | |
| 28775 | fi |
| 28776 | |
| 28777 | |
| 28778 | pkg_failed=no |
| 28779 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl >= 7.40.0" >&5 |
| 28780 | printfscip-shell system . . printf. %s "checking for libcurl >= 7.40.0... " >&6; } |
| 28781 | |
| 28782 | if testscip-shell system . . test. -n "$CURL_CFLAGS"; then |
| 28783 | pkg_cv_CURL_CFLAGS="$CURL_CFLAGS" |
| 28784 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 28785 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 28786 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.40.0\""; } >&5 |
| 28787 | ($PKG_CONFIG --exists --print-errors "libcurl >= 7.40.0") 2>&5 |
| 28788 | ac_status=$? |
| 28789 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 28790 | testscip-shell system . . test. $ac_status = 0; }; then |
| 28791 | pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.40.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 28792 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 28793 | else |
| 28794 | pkg_failed=yes |
| 28795 | fi |
| 28796 | else |
| 28797 | pkg_failed=untried |
| 28798 | fi |
| 28799 | if testscip-shell system . . test. -n "$CURL_LIBS"; then |
| 28800 | pkg_cv_CURL_LIBS="$CURL_LIBS" |
| 28801 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 28802 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 28803 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.40.0\""; } >&5 |
| 28804 | ($PKG_CONFIG --exists --print-errors "libcurl >= 7.40.0") 2>&5 |
| 28805 | ac_status=$? |
| 28806 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 28807 | testscip-shell system . . test. $ac_status = 0; }; then |
| 28808 | pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.40.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 28809 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 28810 | else |
| 28811 | pkg_failed=yes |
| 28812 | fi |
| 28813 | else |
| 28814 | pkg_failed=untried |
| 28815 | fi |
| 28816 | |
| 28817 | |
| 28818 | |
| 28819 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 28820 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 28821 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 28822 | |
| 28823 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 28824 | _pkg_short_errors_supported=yes |
| 28825 | else |
| 28826 | _pkg_short_errors_supported=no |
| 28827 | fi |
| 28828 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 28829 | CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl >= 7.40.0" 2>&1` |
| 28830 | else |
| 28831 | CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl >= 7.40.0" 2>&1` |
| 28832 | fi |
| 28833 | # Put the nasty error message in config.log where it belongs |
| 28834 | echoscip-shell system . . echo. "$CURL_PKG_ERRORS" >&5 |
| 28835 | |
| 28836 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libcurl >= 7.40.0) were not met: |
| 28837 | |
| 28838 | $CURL_PKG_ERRORS |
| 28839 | |
| 28840 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 28841 | installed software in a non-standard prefix. |
| 28842 | |
| 28843 | Alternatively, you may set the environment variables CURL_CFLAGS |
| 28844 | and CURL_LIBS to avoid the need to call pkg-config. |
| 28845 | See the pkg-config man page for more details." "$LINENO" 5 |
| 28846 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 28847 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 28848 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 28849 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 28850 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 28851 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 28852 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 28853 | path to pkg-config. |
| 28854 | |
| 28855 | Alternatively, you may set the environment variables CURL_CFLAGS |
| 28856 | and CURL_LIBS to avoid the need to call pkg-config. |
| 28857 | See the pkg-config man page for more details. |
| 28858 | |
| 28859 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 28860 | See \`config.log' for more details" "$LINENO" 5; } |
| 28861 | else |
| 28862 | CURL_CFLAGS=$pkg_cv_CURL_CFLAGS |
| 28863 | CURL_LIBS=$pkg_cv_CURL_LIBS |
| 28864 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 28865 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 28866 | |
| 28867 | fi |
| 28868 | fi |
| 28869 | if testscip-shell system . . test. x$enable_imdocker = xyes; then |
| 28870 | ENABLE_IMDOCKER_TRUE= |
| 28871 | ENABLE_IMDOCKER_FALSE='#' |
| 28872 | else |
| 28873 | ENABLE_IMDOCKER_TRUE='#' |
| 28874 | ENABLE_IMDOCKER_FALSE= |
| 28875 | fi |
| 28876 | |
| 28877 | |
| 28878 | # Check whether --enable-imdocker-tests was given. |
| 28879 | if testscip-shell system . . test. ${enable_imdocker_tests+y} |
| 28880 | then : |
| 28881 | enableval=$enable_imdocker_tests; case "${enableval}" in |
| 28882 | yes) enable_imdocker_tests="yes" ;; |
| 28883 | no) enable_imdocker_tests="no" ;; |
| 28884 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-imdocker-tests" "$LINENO" 5 ;; |
| 28885 | esac |
| 28886 | else $as_nop |
| 28887 | enable_imdocker_tests=no |
| 28888 | |
| 28889 | fi |
| 28890 | |
| 28891 | |
| 28892 | if testscip-shell system . . test. x$enable_imdocker_tests = xyes; then |
| 28893 | ENABLE_IMDOCKER_TESTS_TRUE= |
| 28894 | ENABLE_IMDOCKER_TESTS_FALSE='#' |
| 28895 | else |
| 28896 | ENABLE_IMDOCKER_TESTS_TRUE='#' |
| 28897 | ENABLE_IMDOCKER_TESTS_FALSE= |
| 28898 | fi |
| 28899 | |
| 28900 | |
| 28901 | |
| 28902 | # settings for the tuxedo ULOG input module |
| 28903 | # Check whether --enable-imtuxedoulog was given. |
| 28904 | if testscip-shell system . . test. ${enable_imtuxedoulog+y} |
| 28905 | then : |
| 28906 | enableval=$enable_imtuxedoulog; case "${enableval}" in |
| 28907 | yes) enable_imtuxedoulog="yes" ;; |
| 28908 | no) enable_imtuxedoulog="no" ;; |
| 28909 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-imtuxedoulog" "$LINENO" 5 ;; |
| 28910 | esac |
| 28911 | else $as_nop |
| 28912 | enable_imtuxedoulog=no |
| 28913 | |
| 28914 | fi |
| 28915 | |
| 28916 | if testscip-shell system . . test. x$enable_imtuxedoulog = xyes; then |
| 28917 | ENABLE_IMTUXEDOULOG_TRUE= |
| 28918 | ENABLE_IMTUXEDOULOG_FALSE='#' |
| 28919 | else |
| 28920 | ENABLE_IMTUXEDOULOG_TRUE='#' |
| 28921 | ENABLE_IMTUXEDOULOG_FALSE= |
| 28922 | fi |
| 28923 | |
| 28924 | |
| 28925 | # settings for the external program input module |
| 28926 | # Check whether --enable-improg was given. |
| 28927 | if testscip-shell system . . test. ${enable_improg+y} |
| 28928 | then : |
| 28929 | enableval=$enable_improg; case "${enableval}" in |
| 28930 | yes) enable_improg="yes" ;; |
| 28931 | no) enable_improg="no" ;; |
| 28932 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-improg" "$LINENO" 5 ;; |
| 28933 | esac |
| 28934 | else $as_nop |
| 28935 | enable_improg=no |
| 28936 | |
| 28937 | fi |
| 28938 | |
| 28939 | if testscip-shell system . . test. x$enable_improg = xyes; then |
| 28940 | ENABLE_IMPROG_TRUE= |
| 28941 | ENABLE_IMPROG_FALSE='#' |
| 28942 | else |
| 28943 | ENABLE_IMPROG_TRUE='#' |
| 28944 | ENABLE_IMPROG_FALSE= |
| 28945 | fi |
| 28946 | |
| 28947 | |
| 28948 | # settings for the external http input module |
| 28949 | # Check whether --enable-imhttp was given. |
| 28950 | if testscip-shell system . . test. ${enable_imhttp+y} |
| 28951 | then : |
| 28952 | enableval=$enable_imhttp; case "${enableval}" in |
| 28953 | yes) enable_imhttp="yes" ;; |
| 28954 | no) enable_imhttp="no" ;; |
| 28955 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-imhttp" "$LINENO" 5 ;; |
| 28956 | esac |
| 28957 | else $as_nop |
| 28958 | enable_imhttp=no |
| 28959 | |
| 28960 | fi |
| 28961 | |
| 28962 | if testscip-shell system . . test. "x$enable_imhttp" = "xyes"; then |
| 28963 | for ac_header in civetweb.h |
| 28964 | do : |
| 28965 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "civetweb.h" "ac_cv_header_civetweb_h" "$ac_includes_default" |
| 28966 | if testscip-shell system . . test. "x$ac_cv_header_civetweb_h" = xyes |
| 28967 | then : |
| 28968 | printfscip-shell system . . printf. "%s\n" "#define HAVE_CIVETWEB_H 1" >>confdefs.h |
| 28969 | |
| 28970 | else $as_nop |
| 28971 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 28972 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 28973 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "civetweb is missing |
| 28974 | See \`config.log' for more details" "$LINENO" 5; } |
| 28975 | |
| 28976 | fi |
| 28977 | |
| 28978 | done |
| 28979 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing mg_version" >&5 |
| 28980 | printfscip-shell system . . printf. %s "checking for library containing mg_version... " >&6; } |
| 28981 | if testscip-shell system . . test. ${ac_cv_search_mg_version+y} |
| 28982 | then : |
| 28983 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 28984 | else $as_nop |
| 28985 | ac_func_search_save_LIBS=$LIBS |
| 28986 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 28987 | /* end confdefs.h. */ |
| 28988 | |
| 28989 | /* Override any GCC internal prototype to avoid an error. |
| 28990 | Use char because int might match the return type of a GCC |
| 28991 | builtin and then its argument prototype would still apply. */ |
| 28992 | char mg_version (); |
| 28993 | int |
| 28994 | main (void) |
| 28995 | { |
| 28996 | return mg_version (); |
| 28997 | ; |
| 28998 | return 0; |
| 28999 | } |
| 29000 | _ACEOF |
| 29001 | for ac_lib in '' civetweb |
| 29002 | do |
| 29003 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 29004 | ac_res="none required" |
| 29005 | else |
| 29006 | ac_res=-l$ac_lib |
| 29007 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 29008 | fi |
| 29009 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 29010 | then : |
| 29011 | ac_cv_search_mg_version=$ac_res |
| 29012 | fi |
| 29013 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 29014 | conftest$ac_exeext |
| 29015 | if testscip-shell system . . test. ${ac_cv_search_mg_version+y} |
| 29016 | then : |
| 29017 | break |
| 29018 | fi |
| 29019 | done |
| 29020 | if testscip-shell system . . test. ${ac_cv_search_mg_version+y} |
| 29021 | then : |
| 29022 | |
| 29023 | else $as_nop |
| 29024 | ac_cv_search_mg_version=no |
| 29025 | fi |
| 29026 | rmscip-shell system . . rm. conftest.$ac_ext |
| 29027 | LIBS=$ac_func_search_save_LIBS |
| 29028 | fi |
| 29029 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mg_version" >&5 |
| 29030 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_mg_version" >&6; } |
| 29031 | ac_res=$ac_cv_search_mg_version |
| 29032 | if testscip-shell system . . test. "$ac_res" != no |
| 29033 | then : |
| 29034 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 29035 | |
| 29036 | fi |
| 29037 | |
| 29038 | |
| 29039 | |
| 29040 | pkg_failed=no |
| 29041 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for apr-util-1 >= 1.0" >&5 |
| 29042 | printfscip-shell system . . printf. %s "checking for apr-util-1 >= 1.0... " >&6; } |
| 29043 | |
| 29044 | if testscip-shell system . . test. -n "$APU_CFLAGS"; then |
| 29045 | pkg_cv_APU_CFLAGS="$APU_CFLAGS" |
| 29046 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 29047 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 29048 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"apr-util-1 >= 1.0\""; } >&5 |
| 29049 | ($PKG_CONFIG --exists --print-errors "apr-util-1 >= 1.0") 2>&5 |
| 29050 | ac_status=$? |
| 29051 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 29052 | testscip-shell system . . test. $ac_status = 0; }; then |
| 29053 | pkg_cv_APU_CFLAGS=`$PKG_CONFIG --cflags "apr-util-1 >= 1.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 29054 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 29055 | else |
| 29056 | pkg_failed=yes |
| 29057 | fi |
| 29058 | else |
| 29059 | pkg_failed=untried |
| 29060 | fi |
| 29061 | if testscip-shell system . . test. -n "$APU_LIBS"; then |
| 29062 | pkg_cv_APU_LIBS="$APU_LIBS" |
| 29063 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 29064 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 29065 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"apr-util-1 >= 1.0\""; } >&5 |
| 29066 | ($PKG_CONFIG --exists --print-errors "apr-util-1 >= 1.0") 2>&5 |
| 29067 | ac_status=$? |
| 29068 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 29069 | testscip-shell system . . test. $ac_status = 0; }; then |
| 29070 | pkg_cv_APU_LIBS=`$PKG_CONFIG --libs "apr-util-1 >= 1.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 29071 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 29072 | else |
| 29073 | pkg_failed=yes |
| 29074 | fi |
| 29075 | else |
| 29076 | pkg_failed=untried |
| 29077 | fi |
| 29078 | |
| 29079 | |
| 29080 | |
| 29081 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 29082 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 29083 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 29084 | |
| 29085 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 29086 | _pkg_short_errors_supported=yes |
| 29087 | else |
| 29088 | _pkg_short_errors_supported=no |
| 29089 | fi |
| 29090 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 29091 | APU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "apr-util-1 >= 1.0" 2>&1` |
| 29092 | else |
| 29093 | APU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "apr-util-1 >= 1.0" 2>&1` |
| 29094 | fi |
| 29095 | # Put the nasty error message in config.log where it belongs |
| 29096 | echoscip-shell system . . echo. "$APU_PKG_ERRORS" >&5 |
| 29097 | |
| 29098 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (apr-util-1 >= 1.0) were not met: |
| 29099 | |
| 29100 | $APU_PKG_ERRORS |
| 29101 | |
| 29102 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 29103 | installed software in a non-standard prefix. |
| 29104 | |
| 29105 | Alternatively, you may set the environment variables APU_CFLAGS |
| 29106 | and APU_LIBS to avoid the need to call pkg-config. |
| 29107 | See the pkg-config man page for more details." "$LINENO" 5 |
| 29108 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 29109 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 29110 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 29111 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 29112 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 29113 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 29114 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 29115 | path to pkg-config. |
| 29116 | |
| 29117 | Alternatively, you may set the environment variables APU_CFLAGS |
| 29118 | and APU_LIBS to avoid the need to call pkg-config. |
| 29119 | See the pkg-config man page for more details. |
| 29120 | |
| 29121 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 29122 | See \`config.log' for more details" "$LINENO" 5; } |
| 29123 | else |
| 29124 | APU_CFLAGS=$pkg_cv_APU_CFLAGS |
| 29125 | APU_LIBS=$pkg_cv_APU_LIBS |
| 29126 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 29127 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 29128 | |
| 29129 | fi |
| 29130 | save_CFLAGS="$CFLAGS" |
| 29131 | save_LIBS="$LIBS" |
| 29132 | |
| 29133 | CFLAGS="$CFLAGS $APU_CFLAGS" |
| 29134 | LIBS="$LIBS $APU_LIBS" |
| 29135 | |
| 29136 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "apr_md5.h" "ac_cv_header_apr_md5_h" "$ac_includes_default" |
| 29137 | if testscip-shell system . . test. "x$ac_cv_header_apr_md5_h" = xyes |
| 29138 | then : |
| 29139 | printfscip-shell system . . printf. "%s\n" "#define HAVE_APR_MD5_H 1" >>confdefs.h |
| 29140 | |
| 29141 | fi |
| 29142 | |
| 29143 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "apr_base64.h" "ac_cv_header_apr_base64_h" "$ac_includes_default" |
| 29144 | if testscip-shell system . . test. "x$ac_cv_header_apr_base64_h" = xyes |
| 29145 | then : |
| 29146 | printfscip-shell system . . printf. "%s\n" "#define HAVE_APR_BASE64_H 1" >>confdefs.h |
| 29147 | |
| 29148 | fi |
| 29149 | |
| 29150 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing apr_base64_decode" >&5 |
| 29151 | printfscip-shell system . . printf. %s "checking for library containing apr_base64_decode... " >&6; } |
| 29152 | if testscip-shell system . . test. ${ac_cv_search_apr_base64_decode+y} |
| 29153 | then : |
| 29154 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 29155 | else $as_nop |
| 29156 | ac_func_search_save_LIBS=$LIBS |
| 29157 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29158 | /* end confdefs.h. */ |
| 29159 | |
| 29160 | /* Override any GCC internal prototype to avoid an error. |
| 29161 | Use char because int might match the return type of a GCC |
| 29162 | builtin and then its argument prototype would still apply. */ |
| 29163 | char apr_base64_decode (); |
| 29164 | int |
| 29165 | main (void) |
| 29166 | { |
| 29167 | return apr_base64_decode (); |
| 29168 | ; |
| 29169 | return 0; |
| 29170 | } |
| 29171 | _ACEOF |
| 29172 | for ac_lib in '' aprutil-1 |
| 29173 | do |
| 29174 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 29175 | ac_res="none required" |
| 29176 | else |
| 29177 | ac_res=-l$ac_lib |
| 29178 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 29179 | fi |
| 29180 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 29181 | then : |
| 29182 | ac_cv_search_apr_base64_decode=$ac_res |
| 29183 | fi |
| 29184 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 29185 | conftest$ac_exeext |
| 29186 | if testscip-shell system . . test. ${ac_cv_search_apr_base64_decode+y} |
| 29187 | then : |
| 29188 | break |
| 29189 | fi |
| 29190 | done |
| 29191 | if testscip-shell system . . test. ${ac_cv_search_apr_base64_decode+y} |
| 29192 | then : |
| 29193 | |
| 29194 | else $as_nop |
| 29195 | ac_cv_search_apr_base64_decode=no |
| 29196 | fi |
| 29197 | rmscip-shell system . . rm. conftest.$ac_ext |
| 29198 | LIBS=$ac_func_search_save_LIBS |
| 29199 | fi |
| 29200 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_apr_base64_decode" >&5 |
| 29201 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_apr_base64_decode" >&6; } |
| 29202 | ac_res=$ac_cv_search_apr_base64_decode |
| 29203 | if testscip-shell system . . test. "$ac_res" != no |
| 29204 | then : |
| 29205 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 29206 | |
| 29207 | fi |
| 29208 | |
| 29209 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing apr_password_validate" >&5 |
| 29210 | printfscip-shell system . . printf. %s "checking for library containing apr_password_validate... " >&6; } |
| 29211 | if testscip-shell system . . test. ${ac_cv_search_apr_password_validate+y} |
| 29212 | then : |
| 29213 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 29214 | else $as_nop |
| 29215 | ac_func_search_save_LIBS=$LIBS |
| 29216 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29217 | /* end confdefs.h. */ |
| 29218 | |
| 29219 | /* Override any GCC internal prototype to avoid an error. |
| 29220 | Use char because int might match the return type of a GCC |
| 29221 | builtin and then its argument prototype would still apply. */ |
| 29222 | char apr_password_validate (); |
| 29223 | int |
| 29224 | main (void) |
| 29225 | { |
| 29226 | return apr_password_validate (); |
| 29227 | ; |
| 29228 | return 0; |
| 29229 | } |
| 29230 | _ACEOF |
| 29231 | for ac_lib in '' aprutil-1 |
| 29232 | do |
| 29233 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 29234 | ac_res="none required" |
| 29235 | else |
| 29236 | ac_res=-l$ac_lib |
| 29237 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 29238 | fi |
| 29239 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 29240 | then : |
| 29241 | ac_cv_search_apr_password_validate=$ac_res |
| 29242 | fi |
| 29243 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 29244 | conftest$ac_exeext |
| 29245 | if testscip-shell system . . test. ${ac_cv_search_apr_password_validate+y} |
| 29246 | then : |
| 29247 | break |
| 29248 | fi |
| 29249 | done |
| 29250 | if testscip-shell system . . test. ${ac_cv_search_apr_password_validate+y} |
| 29251 | then : |
| 29252 | |
| 29253 | else $as_nop |
| 29254 | ac_cv_search_apr_password_validate=no |
| 29255 | fi |
| 29256 | rmscip-shell system . . rm. conftest.$ac_ext |
| 29257 | LIBS=$ac_func_search_save_LIBS |
| 29258 | fi |
| 29259 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_apr_password_validate" >&5 |
| 29260 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_apr_password_validate" >&6; } |
| 29261 | ac_res=$ac_cv_search_apr_password_validate |
| 29262 | if testscip-shell system . . test. "$ac_res" != no |
| 29263 | then : |
| 29264 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 29265 | |
| 29266 | fi |
| 29267 | |
| 29268 | |
| 29269 | CIVETWEB_LIBS=-lcivetweb |
| 29270 | |
| 29271 | |
| 29272 | CFLAGS="$save_CFLAGS" |
| 29273 | LIBS="$save_LIBS" |
| 29274 | fi |
| 29275 | if testscip-shell system . . test. x$enable_imhttp = xyes; then |
| 29276 | ENABLE_IMHTTP_TRUE= |
| 29277 | ENABLE_IMHTTP_FALSE='#' |
| 29278 | else |
| 29279 | ENABLE_IMHTTP_TRUE='#' |
| 29280 | ENABLE_IMHTTP_FALSE= |
| 29281 | fi |
| 29282 | |
| 29283 | |
| 29284 | # settings for the door input module (under solaris, thus default off) |
| 29285 | # Check whether --enable-imsolaris was given. |
| 29286 | if testscip-shell system . . test. ${enable_imsolaris+y} |
| 29287 | then : |
| 29288 | enableval=$enable_imsolaris; case "${enableval}" in |
| 29289 | yes) enable_imsolaris="yes" ;; |
| 29290 | no) enable_imsolaris="no" ;; |
| 29291 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-imsolaris" "$LINENO" 5 ;; |
| 29292 | esac |
| 29293 | else $as_nop |
| 29294 | enable_imsolaris=no |
| 29295 | |
| 29296 | fi |
| 29297 | |
| 29298 | if testscip-shell system . . test. x$enable_imsolaris = xyes; then |
| 29299 | ENABLE_IMSOLARIS_TRUE= |
| 29300 | ENABLE_IMSOLARIS_FALSE='#' |
| 29301 | else |
| 29302 | ENABLE_IMSOLARIS_TRUE='#' |
| 29303 | ENABLE_IMSOLARIS_FALSE= |
| 29304 | fi |
| 29305 | |
| 29306 | |
| 29307 | |
| 29308 | # settings for the imtcp input module |
| 29309 | # Check whether --enable-imtcp_epoll was given. |
| 29310 | if testscip-shell system . . test. ${enable_imtcp_epoll+y} |
| 29311 | then : |
| 29312 | enableval=$enable_imtcp_epoll; case "${enableval}" in |
| 29313 | yes) enable_imtcp_epoll="yes" ;; |
| 29314 | no) enable_imtcp_epoll="no" ;; |
| 29315 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --disable-imtcp-epoll" "$LINENO" 5 ;; |
| 29316 | esac |
| 29317 | else $as_nop |
| 29318 | enable_imtcp_epoll=auto |
| 29319 | |
| 29320 | fi |
| 29321 | |
| 29322 | |
| 29323 | # Default: Enable imtcp_epoll if epoll is available, unless explicitly disabled |
| 29324 | if testscip-shell system . . test. "x$enable_imtcp_epoll" = "xauto"; then |
| 29325 | if testscip-shell system . . test. "x$ac_cv_header_sys_epoll_h" = "xyes" && testscip-shell system . . test. "x$ac_cv_func_epoll_create" = "xyes"; then |
| 29326 | enable_imtcp_epoll="yes" |
| 29327 | else |
| 29328 | enable_imtcp_epoll="no" |
| 29329 | fi |
| 29330 | fi |
| 29331 | |
| 29332 | # Define ENABLE_IMTCP_EPOLL in config.h if epoll is enabled |
| 29333 | if testscip-shell system . . test. "x$enable_imtcp_epoll" = "xyes"; then |
| 29334 | |
| 29335 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_IMTCP_EPOLL 1" >>confdefs.h |
| 29336 | |
| 29337 | fi |
| 29338 | |
| 29339 | # Automake conditional |
| 29340 | if testscip-shell system . . test. x$enable_imtcp_epoll = xyes; then |
| 29341 | ENABLE_IMTCP_EPOLL_TRUE= |
| 29342 | ENABLE_IMTCP_EPOLL_FALSE='#' |
| 29343 | else |
| 29344 | ENABLE_IMTCP_EPOLL_TRUE='#' |
| 29345 | ENABLE_IMTCP_EPOLL_FALSE= |
| 29346 | fi |
| 29347 | |
| 29348 | |
| 29349 | # Print result |
| 29350 | echoscip-shell system . . echo. " TCP input module epoll mode: $enable_imtcp_epoll" |
| 29351 | |
| 29352 | |
| 29353 | |
| 29354 | |
| 29355 | # settings for the imtcp input module |
| 29356 | # Check whether --enable-imtcp_epoll was given. |
| 29357 | if testscip-shell system . . test. ${enable_imtcp_epoll+y} |
| 29358 | then : |
| 29359 | enableval=$enable_imtcp_epoll; case "${enableval}" in |
| 29360 | yes) enable_imtcp_epoll="yes" ;; |
| 29361 | no) enable_imtcp_epoll="no" ;; |
| 29362 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-imptcp-epoll" "$LINENO" 5 ;; |
| 29363 | esac |
| 29364 | else $as_nop |
| 29365 | enable_imptcp_epoll=yes |
| 29366 | |
| 29367 | fi |
| 29368 | |
| 29369 | if testscip-shell system . . test. x$enable_imptcp_epoll = xyes; then |
| 29370 | ENABLE_IMPTCP_EPOLL_TRUE= |
| 29371 | ENABLE_IMPTCP_EPOLL_FALSE='#' |
| 29372 | else |
| 29373 | ENABLE_IMPTCP_EPOLL_TRUE='#' |
| 29374 | ENABLE_IMPTCP_EPOLL_FALSE= |
| 29375 | fi |
| 29376 | |
| 29377 | # Define a preprocessor macro if enabled |
| 29378 | if testscip-shell system . . test. "x$enable_imtcp_epoll" = "xyes"; then |
| 29379 | |
| 29380 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_IMTCP_EPOLL 1" >>confdefs.h |
| 29381 | |
| 29382 | fi |
| 29383 | |
| 29384 | |
| 29385 | # settings for the ptcp input module |
| 29386 | # Check whether --enable-imptcp was given. |
| 29387 | if testscip-shell system . . test. ${enable_imptcp+y} |
| 29388 | then : |
| 29389 | enableval=$enable_imptcp; case "${enableval}" in |
| 29390 | yes) enable_imptcp="yes" ;; |
| 29391 | no) enable_imptcp="no" ;; |
| 29392 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-imptcp" "$LINENO" 5 ;; |
| 29393 | esac |
| 29394 | else $as_nop |
| 29395 | enable_imptcp=no |
| 29396 | |
| 29397 | fi |
| 29398 | |
| 29399 | if testscip-shell system . . test. x$enable_imptcp = xyes; then |
| 29400 | ENABLE_IMPTCP_TRUE= |
| 29401 | ENABLE_IMPTCP_FALSE='#' |
| 29402 | else |
| 29403 | ENABLE_IMPTCP_TRUE='#' |
| 29404 | ENABLE_IMPTCP_FALSE= |
| 29405 | fi |
| 29406 | |
| 29407 | |
| 29408 | |
| 29409 | # settings for the pstats input module |
| 29410 | impstats_user_set=no |
| 29411 | # Check whether --enable-impstats was given. |
| 29412 | if testscip-shell system . . test. ${enable_impstats+y} |
| 29413 | then : |
| 29414 | enableval=$enable_impstats; case "${enableval}" in |
| 29415 | yes) enable_impstats="yes"; impstats_user_set=yes ;; |
| 29416 | no) enable_impstats="no"; impstats_user_set=yes ;; |
| 29417 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-impstats" "$LINENO" 5 ;; |
| 29418 | esac |
| 29419 | else $as_nop |
| 29420 | enable_impstats=no |
| 29421 | |
| 29422 | fi |
| 29423 | |
| 29424 | |
| 29425 | # settings for impstats push support (requires impstats) |
| 29426 | # Check whether --enable-impstats-push was given. |
| 29427 | if testscip-shell system . . test. ${enable_impstats_push+y} |
| 29428 | then : |
| 29429 | enableval=$enable_impstats_push; case "${enableval}" in |
| 29430 | yes) enable_impstats_push="yes" ;; |
| 29431 | no) enable_impstats_push="no" ;; |
| 29432 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-impstats-push" "$LINENO" 5 ;; |
| 29433 | esac |
| 29434 | else $as_nop |
| 29435 | enable_impstats_push=yes |
| 29436 | |
| 29437 | fi |
| 29438 | |
| 29439 | |
| 29440 | # settings for the pcap input module |
| 29441 | # Check whether --enable-impcap was given. |
| 29442 | if testscip-shell system . . test. ${enable_impcap+y} |
| 29443 | then : |
| 29444 | enableval=$enable_impcap; case "${enableval}" in |
| 29445 | yes) enable_impcap="yes" ;; |
| 29446 | no) enable_impcap="no" ;; |
| 29447 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-impcap" "$LINENO" 5 ;; |
| 29448 | esac |
| 29449 | else $as_nop |
| 29450 | enable_impcap=no |
| 29451 | |
| 29452 | fi |
| 29453 | |
| 29454 | |
| 29455 | if testscip-shell system . . test. "x$enable_impcap" = "xyes"; then |
| 29456 | for ac_header in pcap.h |
| 29457 | do : |
| 29458 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "pcap.h" "ac_cv_header_pcap_h" "$ac_includes_default" |
| 29459 | if testscip-shell system . . test. "x$ac_cv_header_pcap_h" = xyes |
| 29460 | then : |
| 29461 | printfscip-shell system . . printf. "%s\n" "#define HAVE_PCAP_H 1" >>confdefs.h |
| 29462 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: pcap found" >&5 |
| 29463 | printfscip-shell system . . printf. "%s\n" "$as_me: pcap found" >&6;} |
| 29464 | else $as_nop |
| 29465 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libpcap library and headers not found" "$LINENO" 5 |
| 29466 | |
| 29467 | fi |
| 29468 | |
| 29469 | done |
| 29470 | fi |
| 29471 | if testscip-shell system . . test. x$enable_impcap = xyes; then |
| 29472 | ENABLE_IMPCAP_TRUE= |
| 29473 | ENABLE_IMPCAP_FALSE='#' |
| 29474 | else |
| 29475 | ENABLE_IMPCAP_TRUE='#' |
| 29476 | ENABLE_IMPCAP_FALSE= |
| 29477 | fi |
| 29478 | |
| 29479 | |
| 29480 | # settings for the omprog output module |
| 29481 | # Check whether --enable-omprog was given. |
| 29482 | if testscip-shell system . . test. ${enable_omprog+y} |
| 29483 | then : |
| 29484 | enableval=$enable_omprog; case "${enableval}" in |
| 29485 | yes) enable_omprog="yes" ;; |
| 29486 | no) enable_omprog="no" ;; |
| 29487 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omprog" "$LINENO" 5 ;; |
| 29488 | esac |
| 29489 | else $as_nop |
| 29490 | enable_omprog=no |
| 29491 | |
| 29492 | fi |
| 29493 | |
| 29494 | if testscip-shell system . . test. x$enable_omprog = xyes; then |
| 29495 | ENABLE_OMPROG_TRUE= |
| 29496 | ENABLE_OMPROG_FALSE='#' |
| 29497 | else |
| 29498 | ENABLE_OMPROG_TRUE='#' |
| 29499 | ENABLE_OMPROG_FALSE= |
| 29500 | fi |
| 29501 | |
| 29502 | |
| 29503 | |
| 29504 | # settings for omudpspoof |
| 29505 | # Check whether --enable-omudpspoof was given. |
| 29506 | if testscip-shell system . . test. ${enable_omudpspoof+y} |
| 29507 | then : |
| 29508 | enableval=$enable_omudpspoof; case "${enableval}" in |
| 29509 | yes) enable_omudpspoof="yes" ;; |
| 29510 | no) enable_omudpspoof="no" ;; |
| 29511 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omudpspoof" "$LINENO" 5 ;; |
| 29512 | esac |
| 29513 | else $as_nop |
| 29514 | enable_omudpspoof=no |
| 29515 | |
| 29516 | fi |
| 29517 | |
| 29518 | |
| 29519 | if testscip-shell system . . test. "x$enable_omudpspoof" = "xyes"; then |
| 29520 | for ac_header in libnet.h |
| 29521 | do : |
| 29522 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "libnet.h" "ac_cv_header_libnet_h" "$ac_includes_default" |
| 29523 | if testscip-shell system . . test. "x$ac_cv_header_libnet_h" = xyes |
| 29524 | then : |
| 29525 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LIBNET_H 1" >>confdefs.h |
| 29526 | |
| 29527 | else $as_nop |
| 29528 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 29529 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 29530 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libnet is missing |
| 29531 | See \`config.log' for more details" "$LINENO" 5; } |
| 29532 | |
| 29533 | fi |
| 29534 | |
| 29535 | done |
| 29536 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libnet_init in -lnet" >&5 |
| 29537 | printfscip-shell system . . printf. %s "checking for libnet_init in -lnet... " >&6; } |
| 29538 | if testscip-shell system . . test. ${ac_cv_lib_net_libnet_init+y} |
| 29539 | then : |
| 29540 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 29541 | else $as_nop |
| 29542 | ac_check_lib_save_LIBS=$LIBS |
| 29543 | LIBS="-lnet $LIBS" |
| 29544 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29545 | /* end confdefs.h. */ |
| 29546 | |
| 29547 | /* Override any GCC internal prototype to avoid an error. |
| 29548 | Use char because int might match the return type of a GCC |
| 29549 | builtin and then its argument prototype would still apply. */ |
| 29550 | char libnet_init (); |
| 29551 | int |
| 29552 | main (void) |
| 29553 | { |
| 29554 | return libnet_init (); |
| 29555 | ; |
| 29556 | return 0; |
| 29557 | } |
| 29558 | _ACEOF |
| 29559 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 29560 | then : |
| 29561 | ac_cv_lib_net_libnet_init=yes |
| 29562 | else $as_nop |
| 29563 | ac_cv_lib_net_libnet_init=no |
| 29564 | fi |
| 29565 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 29566 | conftest$ac_exeext conftest.$ac_ext |
| 29567 | LIBS=$ac_check_lib_save_LIBS |
| 29568 | fi |
| 29569 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_net_libnet_init" >&5 |
| 29570 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_net_libnet_init" >&6; } |
| 29571 | if testscip-shell system . . test. "x$ac_cv_lib_net_libnet_init" = xyes |
| 29572 | then : |
| 29573 | UDPSPOOF_CFLAGS="" |
| 29574 | UDPSPOOF_LIBS="-lnet" |
| 29575 | |
| 29576 | else $as_nop |
| 29577 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 29578 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 29579 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "libnet is missing |
| 29580 | See \`config.log' for more details" "$LINENO" 5; } |
| 29581 | |
| 29582 | fi |
| 29583 | |
| 29584 | fi |
| 29585 | if testscip-shell system . . test. x$enable_omudpspoof = xyes; then |
| 29586 | ENABLE_OMUDPSPOOF_TRUE= |
| 29587 | ENABLE_OMUDPSPOOF_FALSE='#' |
| 29588 | else |
| 29589 | ENABLE_OMUDPSPOOF_TRUE='#' |
| 29590 | ENABLE_OMUDPSPOOF_FALSE= |
| 29591 | fi |
| 29592 | |
| 29593 | |
| 29594 | |
| 29595 | |
| 29596 | |
| 29597 | # settings for omsendertrack |
| 29598 | # Check whether --enable-omsendertrack was given. |
| 29599 | if testscip-shell system . . test. ${enable_omsendertrack+y} |
| 29600 | then : |
| 29601 | enableval=$enable_omsendertrack; case "${enableval}" in |
| 29602 | yes) enable_omsendertrack="yes" ;; |
| 29603 | no) enable_omsendertrack="no" ;; |
| 29604 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omsendertrack" "$LINENO" 5 ;; |
| 29605 | esac |
| 29606 | else $as_nop |
| 29607 | enable_omsendertrack=no |
| 29608 | |
| 29609 | fi |
| 29610 | |
| 29611 | if testscip-shell system . . test. x$enable_omsendertrack = xyes; then |
| 29612 | ENABLE_OMSENDERTRACK_TRUE= |
| 29613 | ENABLE_OMSENDERTRACK_FALSE='#' |
| 29614 | else |
| 29615 | ENABLE_OMSENDERTRACK_TRUE='#' |
| 29616 | ENABLE_OMSENDERTRACK_FALSE= |
| 29617 | fi |
| 29618 | |
| 29619 | |
| 29620 | omstdout_user_set=no |
| 29621 | # settings for omstdout |
| 29622 | # Check whether --enable-omstdout was given. |
| 29623 | if testscip-shell system . . test. ${enable_omstdout+y} |
| 29624 | then : |
| 29625 | enableval=$enable_omstdout; case "${enableval}" in |
| 29626 | yes) enable_omstdout="yes"; omstdout_user_set=yes ;; |
| 29627 | no) enable_omstdout="no"; omstdout_user_set=yes ;; |
| 29628 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omstdout" "$LINENO" 5 ;; |
| 29629 | esac |
| 29630 | else $as_nop |
| 29631 | enable_omstdout=no |
| 29632 | |
| 29633 | fi |
| 29634 | |
| 29635 | |
| 29636 | if testscip-shell system . . test. "x$enable_testbench" = "xyes"; then |
| 29637 | if testscip-shell system . . test. "x$enable_imdiag" != "xyes"; then |
| 29638 | if testscip-shell system . . test. "x$imdiag_user_set" = "xyes"; then |
| 29639 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "--enable-testbench conflicts with --disable-imdiag" "$LINENO" 5 |
| 29640 | fi |
| 29641 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: --enable-testbench auto-enabling imdiag" >&5 |
| 29642 | printfscip-shell system . . printf. "%s\n" "$as_me: --enable-testbench auto-enabling imdiag" >&6;} |
| 29643 | enable_imdiag="yes" |
| 29644 | fi |
| 29645 | if testscip-shell system . . test. "x$enable_omstdout" != "xyes"; then |
| 29646 | if testscip-shell system . . test. "x$omstdout_user_set" = "xyes"; then |
| 29647 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "--enable-testbench conflicts with --disable-omstdout" "$LINENO" 5 |
| 29648 | fi |
| 29649 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: --enable-testbench auto-enabling omstdout" >&5 |
| 29650 | printfscip-shell system . . printf. "%s\n" "$as_me: --enable-testbench auto-enabling omstdout" >&6;} |
| 29651 | enable_omstdout="yes" |
| 29652 | fi |
| 29653 | if testscip-shell system . . test. "x$enable_impstats" != "xyes"; then |
| 29654 | if testscip-shell system . . test. "x$impstats_user_set" != "xyes"; then |
| 29655 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: --enable-testbench auto-enabling impstats" >&5 |
| 29656 | printfscip-shell system . . printf. "%s\n" "$as_me: --enable-testbench auto-enabling impstats" >&6;} |
| 29657 | enable_impstats="yes" |
| 29658 | fi |
| 29659 | fi |
| 29660 | fi |
| 29661 | |
| 29662 | if testscip-shell system . . test. "x$enable_impstats_push" = "xyes" -a "x$enable_impstats" != "xyes"; then |
| 29663 | if testscip-shell system . . test. "x$impstats_user_set" = "xyes"; then |
| 29664 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "--enable-impstats-push requires --enable-impstats to be enabled" "$LINENO" 5 |
| 29665 | fi |
| 29666 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: --enable-impstats-push auto-enabling impstats" >&5 |
| 29667 | printfscip-shell system . . printf. "%s\n" "$as_me: --enable-impstats-push auto-enabling impstats" >&6;} |
| 29668 | enable_impstats="yes" |
| 29669 | fi |
| 29670 | |
| 29671 | IMPSTATS_PUSH_CFLAGS="" |
| 29672 | IMPSTATS_PUSH_LIBS="" |
| 29673 | if testscip-shell system . . test. "x$enable_impstats_push" = "xyes"; then |
| 29674 | # Check for protoc-c compiler |
| 29675 | # Extract the first word of "protoc-c", so it can be a program name with args. |
| 29676 | set dummy protoc-c; ac_word=$2 |
| 29677 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 29678 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 29679 | if testscip-shell system . . test. ${ac_cv_path_PROTOC_C+y} |
| 29680 | then : |
| 29681 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 29682 | else $as_nop |
| 29683 | case $PROTOC_C in |
| 29684 | [\\/]* | ?:[\\/]*) |
| 29685 | ac_cv_path_PROTOC_C="$PROTOC_C" # Let the user override the test with a path. |
| 29686 | ;; |
| 29687 | *) |
| 29688 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 29689 | for as_dir in $PATH |
| 29690 | do |
| 29691 | IFS=$as_save_IFS |
| 29692 | case $as_dir in #((( |
| 29693 | '') as_dir=./ ;; |
| 29694 | */) ;; |
| 29695 | *) as_dir=$as_dir/ ;; |
| 29696 | esac |
| 29697 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 29698 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 29699 | ac_cv_path_PROTOC_C="$as_dir$ac_word$ac_exec_ext" |
| 29700 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 29701 | break 2 |
| 29702 | fi |
| 29703 | done |
| 29704 | done |
| 29705 | IFS=$as_save_IFS |
| 29706 | |
| 29707 | ;; |
| 29708 | esac |
| 29709 | fi |
| 29710 | PROTOC_C=$ac_cv_path_PROTOC_C |
| 29711 | if testscip-shell system . . test. -n "$PROTOC_C"; then |
| 29712 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PROTOC_C" >&5 |
| 29713 | printfscip-shell system . . printf. "%s\n" "$PROTOC_C" >&6; } |
| 29714 | else |
| 29715 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 29716 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 29717 | fi |
| 29718 | |
| 29719 | |
| 29720 | if testscip-shell system . . test. "x$PROTOC_C" = "x"; then |
| 29721 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "protoc-c not found. Please install protobuf-c-compiler package." "$LINENO" 5 |
| 29722 | fi |
| 29723 | |
| 29724 | |
| 29725 | |
| 29726 | pkg_failed=no |
| 29727 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl >= 7.40.0" >&5 |
| 29728 | printfscip-shell system . . printf. %s "checking for libcurl >= 7.40.0... " >&6; } |
| 29729 | |
| 29730 | if testscip-shell system . . test. -n "$IMPSTATS_PUSH_CURL_CFLAGS"; then |
| 29731 | pkg_cv_IMPSTATS_PUSH_CURL_CFLAGS="$IMPSTATS_PUSH_CURL_CFLAGS" |
| 29732 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 29733 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 29734 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.40.0\""; } >&5 |
| 29735 | ($PKG_CONFIG --exists --print-errors "libcurl >= 7.40.0") 2>&5 |
| 29736 | ac_status=$? |
| 29737 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 29738 | testscip-shell system . . test. $ac_status = 0; }; then |
| 29739 | pkg_cv_IMPSTATS_PUSH_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.40.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 29740 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 29741 | else |
| 29742 | pkg_failed=yes |
| 29743 | fi |
| 29744 | else |
| 29745 | pkg_failed=untried |
| 29746 | fi |
| 29747 | if testscip-shell system . . test. -n "$IMPSTATS_PUSH_CURL_LIBS"; then |
| 29748 | pkg_cv_IMPSTATS_PUSH_CURL_LIBS="$IMPSTATS_PUSH_CURL_LIBS" |
| 29749 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 29750 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 29751 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.40.0\""; } >&5 |
| 29752 | ($PKG_CONFIG --exists --print-errors "libcurl >= 7.40.0") 2>&5 |
| 29753 | ac_status=$? |
| 29754 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 29755 | testscip-shell system . . test. $ac_status = 0; }; then |
| 29756 | pkg_cv_IMPSTATS_PUSH_CURL_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.40.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 29757 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 29758 | else |
| 29759 | pkg_failed=yes |
| 29760 | fi |
| 29761 | else |
| 29762 | pkg_failed=untried |
| 29763 | fi |
| 29764 | |
| 29765 | |
| 29766 | |
| 29767 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 29768 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 29769 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 29770 | |
| 29771 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 29772 | _pkg_short_errors_supported=yes |
| 29773 | else |
| 29774 | _pkg_short_errors_supported=no |
| 29775 | fi |
| 29776 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 29777 | IMPSTATS_PUSH_CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl >= 7.40.0" 2>&1` |
| 29778 | else |
| 29779 | IMPSTATS_PUSH_CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl >= 7.40.0" 2>&1` |
| 29780 | fi |
| 29781 | # Put the nasty error message in config.log where it belongs |
| 29782 | echoscip-shell system . . echo. "$IMPSTATS_PUSH_CURL_PKG_ERRORS" >&5 |
| 29783 | |
| 29784 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libcurl >= 7.40.0) were not met: |
| 29785 | |
| 29786 | $IMPSTATS_PUSH_CURL_PKG_ERRORS |
| 29787 | |
| 29788 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 29789 | installed software in a non-standard prefix. |
| 29790 | |
| 29791 | Alternatively, you may set the environment variables IMPSTATS_PUSH_CURL_CFLAGS |
| 29792 | and IMPSTATS_PUSH_CURL_LIBS to avoid the need to call pkg-config. |
| 29793 | See the pkg-config man page for more details." "$LINENO" 5 |
| 29794 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 29795 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 29796 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 29797 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 29798 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 29799 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 29800 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 29801 | path to pkg-config. |
| 29802 | |
| 29803 | Alternatively, you may set the environment variables IMPSTATS_PUSH_CURL_CFLAGS |
| 29804 | and IMPSTATS_PUSH_CURL_LIBS to avoid the need to call pkg-config. |
| 29805 | See the pkg-config man page for more details. |
| 29806 | |
| 29807 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 29808 | See \`config.log' for more details" "$LINENO" 5; } |
| 29809 | else |
| 29810 | IMPSTATS_PUSH_CURL_CFLAGS=$pkg_cv_IMPSTATS_PUSH_CURL_CFLAGS |
| 29811 | IMPSTATS_PUSH_CURL_LIBS=$pkg_cv_IMPSTATS_PUSH_CURL_LIBS |
| 29812 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 29813 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 29814 | |
| 29815 | fi |
| 29816 | |
| 29817 | pkg_failed=no |
| 29818 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libprotobuf-c >= 1.0.0" >&5 |
| 29819 | printfscip-shell system . . printf. %s "checking for libprotobuf-c >= 1.0.0... " >&6; } |
| 29820 | |
| 29821 | if testscip-shell system . . test. -n "$IMPSTATS_PUSH_PROTOBUF_CFLAGS"; then |
| 29822 | pkg_cv_IMPSTATS_PUSH_PROTOBUF_CFLAGS="$IMPSTATS_PUSH_PROTOBUF_CFLAGS" |
| 29823 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 29824 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 29825 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprotobuf-c >= 1.0.0\""; } >&5 |
| 29826 | ($PKG_CONFIG --exists --print-errors "libprotobuf-c >= 1.0.0") 2>&5 |
| 29827 | ac_status=$? |
| 29828 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 29829 | testscip-shell system . . test. $ac_status = 0; }; then |
| 29830 | pkg_cv_IMPSTATS_PUSH_PROTOBUF_CFLAGS=`$PKG_CONFIG --cflags "libprotobuf-c >= 1.0.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 29831 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 29832 | else |
| 29833 | pkg_failed=yes |
| 29834 | fi |
| 29835 | else |
| 29836 | pkg_failed=untried |
| 29837 | fi |
| 29838 | if testscip-shell system . . test. -n "$IMPSTATS_PUSH_PROTOBUF_LIBS"; then |
| 29839 | pkg_cv_IMPSTATS_PUSH_PROTOBUF_LIBS="$IMPSTATS_PUSH_PROTOBUF_LIBS" |
| 29840 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 29841 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 29842 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprotobuf-c >= 1.0.0\""; } >&5 |
| 29843 | ($PKG_CONFIG --exists --print-errors "libprotobuf-c >= 1.0.0") 2>&5 |
| 29844 | ac_status=$? |
| 29845 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 29846 | testscip-shell system . . test. $ac_status = 0; }; then |
| 29847 | pkg_cv_IMPSTATS_PUSH_PROTOBUF_LIBS=`$PKG_CONFIG --libs "libprotobuf-c >= 1.0.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 29848 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 29849 | else |
| 29850 | pkg_failed=yes |
| 29851 | fi |
| 29852 | else |
| 29853 | pkg_failed=untried |
| 29854 | fi |
| 29855 | |
| 29856 | |
| 29857 | |
| 29858 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 29859 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 29860 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 29861 | |
| 29862 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 29863 | _pkg_short_errors_supported=yes |
| 29864 | else |
| 29865 | _pkg_short_errors_supported=no |
| 29866 | fi |
| 29867 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 29868 | IMPSTATS_PUSH_PROTOBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libprotobuf-c >= 1.0.0" 2>&1` |
| 29869 | else |
| 29870 | IMPSTATS_PUSH_PROTOBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libprotobuf-c >= 1.0.0" 2>&1` |
| 29871 | fi |
| 29872 | # Put the nasty error message in config.log where it belongs |
| 29873 | echoscip-shell system . . echo. "$IMPSTATS_PUSH_PROTOBUF_PKG_ERRORS" >&5 |
| 29874 | |
| 29875 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libprotobuf-c >= 1.0.0) were not met: |
| 29876 | |
| 29877 | $IMPSTATS_PUSH_PROTOBUF_PKG_ERRORS |
| 29878 | |
| 29879 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 29880 | installed software in a non-standard prefix. |
| 29881 | |
| 29882 | Alternatively, you may set the environment variables IMPSTATS_PUSH_PROTOBUF_CFLAGS |
| 29883 | and IMPSTATS_PUSH_PROTOBUF_LIBS to avoid the need to call pkg-config. |
| 29884 | See the pkg-config man page for more details." "$LINENO" 5 |
| 29885 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 29886 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 29887 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 29888 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 29889 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 29890 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 29891 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 29892 | path to pkg-config. |
| 29893 | |
| 29894 | Alternatively, you may set the environment variables IMPSTATS_PUSH_PROTOBUF_CFLAGS |
| 29895 | and IMPSTATS_PUSH_PROTOBUF_LIBS to avoid the need to call pkg-config. |
| 29896 | See the pkg-config man page for more details. |
| 29897 | |
| 29898 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 29899 | See \`config.log' for more details" "$LINENO" 5; } |
| 29900 | else |
| 29901 | IMPSTATS_PUSH_PROTOBUF_CFLAGS=$pkg_cv_IMPSTATS_PUSH_PROTOBUF_CFLAGS |
| 29902 | IMPSTATS_PUSH_PROTOBUF_LIBS=$pkg_cv_IMPSTATS_PUSH_PROTOBUF_LIBS |
| 29903 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 29904 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 29905 | |
| 29906 | fi |
| 29907 | # Note: snappy doesn't always provide a pkg-config file, try library check as fallback |
| 29908 | |
| 29909 | pkg_failed=no |
| 29910 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snappy" >&5 |
| 29911 | printfscip-shell system . . printf. %s "checking for snappy... " >&6; } |
| 29912 | |
| 29913 | if testscip-shell system . . test. -n "$IMPSTATS_PUSH_SNAPPY_CFLAGS"; then |
| 29914 | pkg_cv_IMPSTATS_PUSH_SNAPPY_CFLAGS="$IMPSTATS_PUSH_SNAPPY_CFLAGS" |
| 29915 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 29916 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 29917 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"snappy\""; } >&5 |
| 29918 | ($PKG_CONFIG --exists --print-errors "snappy") 2>&5 |
| 29919 | ac_status=$? |
| 29920 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 29921 | testscip-shell system . . test. $ac_status = 0; }; then |
| 29922 | pkg_cv_IMPSTATS_PUSH_SNAPPY_CFLAGS=`$PKG_CONFIG --cflags "snappy" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 29923 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 29924 | else |
| 29925 | pkg_failed=yes |
| 29926 | fi |
| 29927 | else |
| 29928 | pkg_failed=untried |
| 29929 | fi |
| 29930 | if testscip-shell system . . test. -n "$IMPSTATS_PUSH_SNAPPY_LIBS"; then |
| 29931 | pkg_cv_IMPSTATS_PUSH_SNAPPY_LIBS="$IMPSTATS_PUSH_SNAPPY_LIBS" |
| 29932 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 29933 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 29934 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"snappy\""; } >&5 |
| 29935 | ($PKG_CONFIG --exists --print-errors "snappy") 2>&5 |
| 29936 | ac_status=$? |
| 29937 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 29938 | testscip-shell system . . test. $ac_status = 0; }; then |
| 29939 | pkg_cv_IMPSTATS_PUSH_SNAPPY_LIBS=`$PKG_CONFIG --libs "snappy" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 29940 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 29941 | else |
| 29942 | pkg_failed=yes |
| 29943 | fi |
| 29944 | else |
| 29945 | pkg_failed=untried |
| 29946 | fi |
| 29947 | |
| 29948 | |
| 29949 | |
| 29950 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 29951 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 29952 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 29953 | |
| 29954 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 29955 | _pkg_short_errors_supported=yes |
| 29956 | else |
| 29957 | _pkg_short_errors_supported=no |
| 29958 | fi |
| 29959 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 29960 | IMPSTATS_PUSH_SNAPPY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "snappy" 2>&1` |
| 29961 | else |
| 29962 | IMPSTATS_PUSH_SNAPPY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "snappy" 2>&1` |
| 29963 | fi |
| 29964 | # Put the nasty error message in config.log where it belongs |
| 29965 | echoscip-shell system . . echo. "$IMPSTATS_PUSH_SNAPPY_PKG_ERRORS" >&5 |
| 29966 | |
| 29967 | |
| 29968 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "snappy-c.h" "ac_cv_header_snappy_c_h" "$ac_includes_default" |
| 29969 | if testscip-shell system . . test. "x$ac_cv_header_snappy_c_h" = xyes |
| 29970 | then : |
| 29971 | |
| 29972 | else $as_nop |
| 29973 | |
| 29974 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "snappy header not found - install libsnappy-dev" "$LINENO" 5 |
| 29975 | |
| 29976 | fi |
| 29977 | |
| 29978 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snappy_compress in -lsnappy" >&5 |
| 29979 | printfscip-shell system . . printf. %s "checking for snappy_compress in -lsnappy... " >&6; } |
| 29980 | if testscip-shell system . . test. ${ac_cv_lib_snappy_snappy_compress+y} |
| 29981 | then : |
| 29982 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 29983 | else $as_nop |
| 29984 | ac_check_lib_save_LIBS=$LIBS |
| 29985 | LIBS="-lsnappy $LIBS" |
| 29986 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 29987 | /* end confdefs.h. */ |
| 29988 | |
| 29989 | /* Override any GCC internal prototype to avoid an error. |
| 29990 | Use char because int might match the return type of a GCC |
| 29991 | builtin and then its argument prototype would still apply. */ |
| 29992 | char snappy_compress (); |
| 29993 | int |
| 29994 | main (void) |
| 29995 | { |
| 29996 | return snappy_compress (); |
| 29997 | ; |
| 29998 | return 0; |
| 29999 | } |
| 30000 | _ACEOF |
| 30001 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 30002 | then : |
| 30003 | ac_cv_lib_snappy_snappy_compress=yes |
| 30004 | else $as_nop |
| 30005 | ac_cv_lib_snappy_snappy_compress=no |
| 30006 | fi |
| 30007 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 30008 | conftest$ac_exeext conftest.$ac_ext |
| 30009 | LIBS=$ac_check_lib_save_LIBS |
| 30010 | fi |
| 30011 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_snappy_snappy_compress" >&5 |
| 30012 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_snappy_snappy_compress" >&6; } |
| 30013 | if testscip-shell system . . test. "x$ac_cv_lib_snappy_snappy_compress" = xyes |
| 30014 | then : |
| 30015 | |
| 30016 | IMPSTATS_PUSH_SNAPPY_LIBS="-lsnappy" |
| 30017 | |
| 30018 | else $as_nop |
| 30019 | |
| 30020 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "snappy library not found - install libsnappy" "$LINENO" 5 |
| 30021 | |
| 30022 | fi |
| 30023 | |
| 30024 | |
| 30025 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 30026 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 30027 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 30028 | |
| 30029 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "snappy-c.h" "ac_cv_header_snappy_c_h" "$ac_includes_default" |
| 30030 | if testscip-shell system . . test. "x$ac_cv_header_snappy_c_h" = xyes |
| 30031 | then : |
| 30032 | |
| 30033 | else $as_nop |
| 30034 | |
| 30035 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "snappy header not found - install libsnappy-dev" "$LINENO" 5 |
| 30036 | |
| 30037 | fi |
| 30038 | |
| 30039 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snappy_compress in -lsnappy" >&5 |
| 30040 | printfscip-shell system . . printf. %s "checking for snappy_compress in -lsnappy... " >&6; } |
| 30041 | if testscip-shell system . . test. ${ac_cv_lib_snappy_snappy_compress+y} |
| 30042 | then : |
| 30043 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 30044 | else $as_nop |
| 30045 | ac_check_lib_save_LIBS=$LIBS |
| 30046 | LIBS="-lsnappy $LIBS" |
| 30047 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 30048 | /* end confdefs.h. */ |
| 30049 | |
| 30050 | /* Override any GCC internal prototype to avoid an error. |
| 30051 | Use char because int might match the return type of a GCC |
| 30052 | builtin and then its argument prototype would still apply. */ |
| 30053 | char snappy_compress (); |
| 30054 | int |
| 30055 | main (void) |
| 30056 | { |
| 30057 | return snappy_compress (); |
| 30058 | ; |
| 30059 | return 0; |
| 30060 | } |
| 30061 | _ACEOF |
| 30062 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 30063 | then : |
| 30064 | ac_cv_lib_snappy_snappy_compress=yes |
| 30065 | else $as_nop |
| 30066 | ac_cv_lib_snappy_snappy_compress=no |
| 30067 | fi |
| 30068 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 30069 | conftest$ac_exeext conftest.$ac_ext |
| 30070 | LIBS=$ac_check_lib_save_LIBS |
| 30071 | fi |
| 30072 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_snappy_snappy_compress" >&5 |
| 30073 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_snappy_snappy_compress" >&6; } |
| 30074 | if testscip-shell system . . test. "x$ac_cv_lib_snappy_snappy_compress" = xyes |
| 30075 | then : |
| 30076 | |
| 30077 | IMPSTATS_PUSH_SNAPPY_LIBS="-lsnappy" |
| 30078 | |
| 30079 | else $as_nop |
| 30080 | |
| 30081 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "snappy library not found - install libsnappy" "$LINENO" 5 |
| 30082 | |
| 30083 | fi |
| 30084 | |
| 30085 | |
| 30086 | else |
| 30087 | IMPSTATS_PUSH_SNAPPY_CFLAGS=$pkg_cv_IMPSTATS_PUSH_SNAPPY_CFLAGS |
| 30088 | IMPSTATS_PUSH_SNAPPY_LIBS=$pkg_cv_IMPSTATS_PUSH_SNAPPY_LIBS |
| 30089 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 30090 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 30091 | |
| 30092 | |
| 30093 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SNAPPY_PKG_CONFIG 1" >>confdefs.h |
| 30094 | |
| 30095 | |
| 30096 | fi |
| 30097 | |
| 30098 | IMPSTATS_PUSH_CFLAGS="$IMPSTATS_PUSH_CURL_CFLAGS $IMPSTATS_PUSH_PROTOBUF_CFLAGS $IMPSTATS_PUSH_SNAPPY_CFLAGS" |
| 30099 | IMPSTATS_PUSH_LIBS="$IMPSTATS_PUSH_CURL_LIBS $IMPSTATS_PUSH_PROTOBUF_LIBS $IMPSTATS_PUSH_SNAPPY_LIBS" |
| 30100 | |
| 30101 | |
| 30102 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_IMPSTATS_PUSH 1" >>confdefs.h |
| 30103 | |
| 30104 | fi |
| 30105 | |
| 30106 | |
| 30107 | |
| 30108 | if testscip-shell system . . test. "x$enable_imdiag" = "xyes"; then |
| 30109 | |
| 30110 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_IMDIAG 1" >>confdefs.h |
| 30111 | |
| 30112 | fi |
| 30113 | if testscip-shell system . . test. x$enable_imdiag = xyes; then |
| 30114 | ENABLE_IMDIAG_TRUE= |
| 30115 | ENABLE_IMDIAG_FALSE='#' |
| 30116 | else |
| 30117 | ENABLE_IMDIAG_TRUE='#' |
| 30118 | ENABLE_IMDIAG_FALSE= |
| 30119 | fi |
| 30120 | |
| 30121 | if testscip-shell system . . test. x$enable_omstdout = xyes; then |
| 30122 | ENABLE_OMSTDOUT_TRUE= |
| 30123 | ENABLE_OMSTDOUT_FALSE='#' |
| 30124 | else |
| 30125 | ENABLE_OMSTDOUT_TRUE='#' |
| 30126 | ENABLE_OMSTDOUT_FALSE= |
| 30127 | fi |
| 30128 | |
| 30129 | if testscip-shell system . . test. x$enable_impstats = xyes; then |
| 30130 | ENABLE_IMPSTATS_TRUE= |
| 30131 | ENABLE_IMPSTATS_FALSE='#' |
| 30132 | else |
| 30133 | ENABLE_IMPSTATS_TRUE='#' |
| 30134 | ENABLE_IMPSTATS_FALSE= |
| 30135 | fi |
| 30136 | |
| 30137 | if testscip-shell system . . test. x$enable_impstats_push = xyes; then |
| 30138 | ENABLE_IMPSTATS_PUSH_TRUE= |
| 30139 | ENABLE_IMPSTATS_PUSH_FALSE='#' |
| 30140 | else |
| 30141 | ENABLE_IMPSTATS_PUSH_TRUE='#' |
| 30142 | ENABLE_IMPSTATS_PUSH_FALSE= |
| 30143 | fi |
| 30144 | |
| 30145 | if testscip-shell system . . test. x$enable_testbench = xyes; then |
| 30146 | ENABLE_TESTBENCH_TRUE= |
| 30147 | ENABLE_TESTBENCH_FALSE='#' |
| 30148 | else |
| 30149 | ENABLE_TESTBENCH_TRUE='#' |
| 30150 | ENABLE_TESTBENCH_FALSE= |
| 30151 | fi |
| 30152 | |
| 30153 | |
| 30154 | |
| 30155 | # settings for omjournal |
| 30156 | # Check whether --enable-omjournal was given. |
| 30157 | if testscip-shell system . . test. ${enable_omjournal+y} |
| 30158 | then : |
| 30159 | enableval=$enable_omjournal; case "${enableval}" in |
| 30160 | yes) enable_omjournal="yes" ;; |
| 30161 | no) enable_omjournal="no" ;; |
| 30162 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omjournal" "$LINENO" 5 ;; |
| 30163 | esac |
| 30164 | else $as_nop |
| 30165 | enable_omjournal=no |
| 30166 | |
| 30167 | fi |
| 30168 | |
| 30169 | if testscip-shell system . . test. "x$enable_omjournal" = "xyes"; then |
| 30170 | |
| 30171 | pkg_failed=no |
| 30172 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd >= 209 " >&5 |
| 30173 | printfscip-shell system . . printf. %s "checking for libsystemd >= 209 ... " >&6; } |
| 30174 | |
| 30175 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_CFLAGS"; then |
| 30176 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS="$LIBSYSTEMD_JOURNAL_CFLAGS" |
| 30177 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 30178 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 30179 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209 \""; } >&5 |
| 30180 | ($PKG_CONFIG --exists --print-errors "libsystemd >= 209 ") 2>&5 |
| 30181 | ac_status=$? |
| 30182 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 30183 | testscip-shell system . . test. $ac_status = 0; }; then |
| 30184 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS=`$PKG_CONFIG --cflags "libsystemd >= 209 " 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 30185 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 30186 | else |
| 30187 | pkg_failed=yes |
| 30188 | fi |
| 30189 | else |
| 30190 | pkg_failed=untried |
| 30191 | fi |
| 30192 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_LIBS"; then |
| 30193 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS="$LIBSYSTEMD_JOURNAL_LIBS" |
| 30194 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 30195 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 30196 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209 \""; } >&5 |
| 30197 | ($PKG_CONFIG --exists --print-errors "libsystemd >= 209 ") 2>&5 |
| 30198 | ac_status=$? |
| 30199 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 30200 | testscip-shell system . . test. $ac_status = 0; }; then |
| 30201 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS=`$PKG_CONFIG --libs "libsystemd >= 209 " 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 30202 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 30203 | else |
| 30204 | pkg_failed=yes |
| 30205 | fi |
| 30206 | else |
| 30207 | pkg_failed=untried |
| 30208 | fi |
| 30209 | |
| 30210 | |
| 30211 | |
| 30212 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 30213 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 30214 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 30215 | |
| 30216 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 30217 | _pkg_short_errors_supported=yes |
| 30218 | else |
| 30219 | _pkg_short_errors_supported=no |
| 30220 | fi |
| 30221 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 30222 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd >= 209 " 2>&1` |
| 30223 | else |
| 30224 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd >= 209 " 2>&1` |
| 30225 | fi |
| 30226 | # Put the nasty error message in config.log where it belongs |
| 30227 | echoscip-shell system . . echo. "$LIBSYSTEMD_JOURNAL_PKG_ERRORS" >&5 |
| 30228 | |
| 30229 | |
| 30230 | |
| 30231 | pkg_failed=no |
| 30232 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd-journal >= 197" >&5 |
| 30233 | printfscip-shell system . . printf. %s "checking for libsystemd-journal >= 197... " >&6; } |
| 30234 | |
| 30235 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_CFLAGS"; then |
| 30236 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS="$LIBSYSTEMD_JOURNAL_CFLAGS" |
| 30237 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 30238 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 30239 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal >= 197\""; } >&5 |
| 30240 | ($PKG_CONFIG --exists --print-errors "libsystemd-journal >= 197") 2>&5 |
| 30241 | ac_status=$? |
| 30242 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 30243 | testscip-shell system . . test. $ac_status = 0; }; then |
| 30244 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal >= 197" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 30245 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 30246 | else |
| 30247 | pkg_failed=yes |
| 30248 | fi |
| 30249 | else |
| 30250 | pkg_failed=untried |
| 30251 | fi |
| 30252 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_LIBS"; then |
| 30253 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS="$LIBSYSTEMD_JOURNAL_LIBS" |
| 30254 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 30255 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 30256 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal >= 197\""; } >&5 |
| 30257 | ($PKG_CONFIG --exists --print-errors "libsystemd-journal >= 197") 2>&5 |
| 30258 | ac_status=$? |
| 30259 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 30260 | testscip-shell system . . test. $ac_status = 0; }; then |
| 30261 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS=`$PKG_CONFIG --libs "libsystemd-journal >= 197" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 30262 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 30263 | else |
| 30264 | pkg_failed=yes |
| 30265 | fi |
| 30266 | else |
| 30267 | pkg_failed=untried |
| 30268 | fi |
| 30269 | |
| 30270 | |
| 30271 | |
| 30272 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 30273 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 30274 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 30275 | |
| 30276 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 30277 | _pkg_short_errors_supported=yes |
| 30278 | else |
| 30279 | _pkg_short_errors_supported=no |
| 30280 | fi |
| 30281 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 30282 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal >= 197" 2>&1` |
| 30283 | else |
| 30284 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal >= 197" 2>&1` |
| 30285 | fi |
| 30286 | # Put the nasty error message in config.log where it belongs |
| 30287 | echoscip-shell system . . echo. "$LIBSYSTEMD_JOURNAL_PKG_ERRORS" >&5 |
| 30288 | |
| 30289 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libsystemd-journal >= 197) were not met: |
| 30290 | |
| 30291 | $LIBSYSTEMD_JOURNAL_PKG_ERRORS |
| 30292 | |
| 30293 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 30294 | installed software in a non-standard prefix. |
| 30295 | |
| 30296 | Alternatively, you may set the environment variables LIBSYSTEMD_JOURNAL_CFLAGS |
| 30297 | and LIBSYSTEMD_JOURNAL_LIBS to avoid the need to call pkg-config. |
| 30298 | See the pkg-config man page for more details." "$LINENO" 5 |
| 30299 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 30300 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 30301 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 30302 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 30303 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 30304 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 30305 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 30306 | path to pkg-config. |
| 30307 | |
| 30308 | Alternatively, you may set the environment variables LIBSYSTEMD_JOURNAL_CFLAGS |
| 30309 | and LIBSYSTEMD_JOURNAL_LIBS to avoid the need to call pkg-config. |
| 30310 | See the pkg-config man page for more details. |
| 30311 | |
| 30312 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 30313 | See \`config.log' for more details" "$LINENO" 5; } |
| 30314 | else |
| 30315 | LIBSYSTEMD_JOURNAL_CFLAGS=$pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS |
| 30316 | LIBSYSTEMD_JOURNAL_LIBS=$pkg_cv_LIBSYSTEMD_JOURNAL_LIBS |
| 30317 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 30318 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 30319 | |
| 30320 | fi |
| 30321 | |
| 30322 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 30323 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 30324 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 30325 | |
| 30326 | |
| 30327 | pkg_failed=no |
| 30328 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd-journal >= 197" >&5 |
| 30329 | printfscip-shell system . . printf. %s "checking for libsystemd-journal >= 197... " >&6; } |
| 30330 | |
| 30331 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_CFLAGS"; then |
| 30332 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS="$LIBSYSTEMD_JOURNAL_CFLAGS" |
| 30333 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 30334 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 30335 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal >= 197\""; } >&5 |
| 30336 | ($PKG_CONFIG --exists --print-errors "libsystemd-journal >= 197") 2>&5 |
| 30337 | ac_status=$? |
| 30338 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 30339 | testscip-shell system . . test. $ac_status = 0; }; then |
| 30340 | pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal >= 197" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 30341 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 30342 | else |
| 30343 | pkg_failed=yes |
| 30344 | fi |
| 30345 | else |
| 30346 | pkg_failed=untried |
| 30347 | fi |
| 30348 | if testscip-shell system . . test. -n "$LIBSYSTEMD_JOURNAL_LIBS"; then |
| 30349 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS="$LIBSYSTEMD_JOURNAL_LIBS" |
| 30350 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 30351 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 30352 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal >= 197\""; } >&5 |
| 30353 | ($PKG_CONFIG --exists --print-errors "libsystemd-journal >= 197") 2>&5 |
| 30354 | ac_status=$? |
| 30355 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 30356 | testscip-shell system . . test. $ac_status = 0; }; then |
| 30357 | pkg_cv_LIBSYSTEMD_JOURNAL_LIBS=`$PKG_CONFIG --libs "libsystemd-journal >= 197" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 30358 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 30359 | else |
| 30360 | pkg_failed=yes |
| 30361 | fi |
| 30362 | else |
| 30363 | pkg_failed=untried |
| 30364 | fi |
| 30365 | |
| 30366 | |
| 30367 | |
| 30368 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 30369 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 30370 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 30371 | |
| 30372 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 30373 | _pkg_short_errors_supported=yes |
| 30374 | else |
| 30375 | _pkg_short_errors_supported=no |
| 30376 | fi |
| 30377 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 30378 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal >= 197" 2>&1` |
| 30379 | else |
| 30380 | LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal >= 197" 2>&1` |
| 30381 | fi |
| 30382 | # Put the nasty error message in config.log where it belongs |
| 30383 | echoscip-shell system . . echo. "$LIBSYSTEMD_JOURNAL_PKG_ERRORS" >&5 |
| 30384 | |
| 30385 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libsystemd-journal >= 197) were not met: |
| 30386 | |
| 30387 | $LIBSYSTEMD_JOURNAL_PKG_ERRORS |
| 30388 | |
| 30389 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 30390 | installed software in a non-standard prefix. |
| 30391 | |
| 30392 | Alternatively, you may set the environment variables LIBSYSTEMD_JOURNAL_CFLAGS |
| 30393 | and LIBSYSTEMD_JOURNAL_LIBS to avoid the need to call pkg-config. |
| 30394 | See the pkg-config man page for more details." "$LINENO" 5 |
| 30395 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 30396 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 30397 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 30398 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 30399 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 30400 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 30401 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 30402 | path to pkg-config. |
| 30403 | |
| 30404 | Alternatively, you may set the environment variables LIBSYSTEMD_JOURNAL_CFLAGS |
| 30405 | and LIBSYSTEMD_JOURNAL_LIBS to avoid the need to call pkg-config. |
| 30406 | See the pkg-config man page for more details. |
| 30407 | |
| 30408 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 30409 | See \`config.log' for more details" "$LINENO" 5; } |
| 30410 | else |
| 30411 | LIBSYSTEMD_JOURNAL_CFLAGS=$pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS |
| 30412 | LIBSYSTEMD_JOURNAL_LIBS=$pkg_cv_LIBSYSTEMD_JOURNAL_LIBS |
| 30413 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 30414 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 30415 | |
| 30416 | fi |
| 30417 | |
| 30418 | else |
| 30419 | LIBSYSTEMD_JOURNAL_CFLAGS=$pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS |
| 30420 | LIBSYSTEMD_JOURNAL_LIBS=$pkg_cv_LIBSYSTEMD_JOURNAL_LIBS |
| 30421 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 30422 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 30423 | |
| 30424 | fi |
| 30425 | |
| 30426 | save_libs=$LIBS |
| 30427 | LIBS="$LIBS $LIBSYSTEMD_JOURNAL_LIBS" |
| 30428 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "sd_journal_stream_fd_with_namespace" "ac_cv_func_sd_journal_stream_fd_with_namespace" |
| 30429 | if testscip-shell system . . test. "x$ac_cv_func_sd_journal_stream_fd_with_namespace" = xyes |
| 30430 | then : |
| 30431 | printfscip-shell system . . printf. "%s\n" "#define HAVE_SD_JOURNAL_STREAM_FD_WITH_NAMESPACE 1" >>confdefs.h |
| 30432 | |
| 30433 | fi |
| 30434 | |
| 30435 | LIBS=$save_libs |
| 30436 | fi |
| 30437 | if testscip-shell system . . test. x$enable_omjournal = xyes; then |
| 30438 | ENABLE_OMJOURNAL_TRUE= |
| 30439 | ENABLE_OMJOURNAL_FALSE='#' |
| 30440 | else |
| 30441 | ENABLE_OMJOURNAL_TRUE='#' |
| 30442 | ENABLE_OMJOURNAL_FALSE= |
| 30443 | fi |
| 30444 | |
| 30445 | |
| 30446 | # capability to enable journal testbench tests. They have very special requirements, |
| 30447 | # so it does not make sense to have them run by default. |
| 30448 | # Also note that as of now, they have a pretty high rate of false positives due |
| 30449 | # to bugs in the journal. |
| 30450 | # see also https://github.com/rsyslog/rsyslog/issues/2931#issuecomment-416914707 |
| 30451 | # Check whether --enable-journal_tests was given. |
| 30452 | if testscip-shell system . . test. ${enable_journal_tests+y} |
| 30453 | then : |
| 30454 | enableval=$enable_journal_tests; case "${enableval}" in |
| 30455 | yes) enable_journal_tests="yes" ;; |
| 30456 | no) enable_journal_tests="no" ;; |
| 30457 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-journal-tests" "$LINENO" 5 ;; |
| 30458 | esac |
| 30459 | else $as_nop |
| 30460 | enable_journal_tests=no |
| 30461 | |
| 30462 | fi |
| 30463 | |
| 30464 | if testscip-shell system . . test. x$enable_journal_tests = xyes; then |
| 30465 | ENABLE_JOURNAL_TESTS_TRUE= |
| 30466 | ENABLE_JOURNAL_TESTS_FALSE='#' |
| 30467 | else |
| 30468 | ENABLE_JOURNAL_TESTS_TRUE='#' |
| 30469 | ENABLE_JOURNAL_TESTS_FALSE= |
| 30470 | fi |
| 30471 | |
| 30472 | |
| 30473 | |
| 30474 | # settings for pmlastmsg |
| 30475 | # Check whether --enable-pmlastmsg was given. |
| 30476 | if testscip-shell system . . test. ${enable_pmlastmsg+y} |
| 30477 | then : |
| 30478 | enableval=$enable_pmlastmsg; case "${enableval}" in |
| 30479 | yes) enable_pmlastmsg="yes" ;; |
| 30480 | no) enable_pmlastmsg="no" ;; |
| 30481 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-pmlastmsg" "$LINENO" 5 ;; |
| 30482 | esac |
| 30483 | else $as_nop |
| 30484 | enable_pmlastmsg=no |
| 30485 | |
| 30486 | fi |
| 30487 | |
| 30488 | if testscip-shell system . . test. x$enable_pmlastmsg = xyes; then |
| 30489 | ENABLE_PMLASTMSG_TRUE= |
| 30490 | ENABLE_PMLASTMSG_FALSE='#' |
| 30491 | else |
| 30492 | ENABLE_PMLASTMSG_TRUE='#' |
| 30493 | ENABLE_PMLASTMSG_FALSE= |
| 30494 | fi |
| 30495 | |
| 30496 | |
| 30497 | |
| 30498 | # settings for pmcisconames |
| 30499 | # Check whether --enable-pmcisconames was given. |
| 30500 | if testscip-shell system . . test. ${enable_pmcisconames+y} |
| 30501 | then : |
| 30502 | enableval=$enable_pmcisconames; case "${enableval}" in |
| 30503 | yes) enable_pmcisconames="yes" ;; |
| 30504 | no) enable_pmcisconames="no" ;; |
| 30505 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-pmcisconames" "$LINENO" 5 ;; |
| 30506 | esac |
| 30507 | else $as_nop |
| 30508 | enable_pmcisconames=no |
| 30509 | |
| 30510 | fi |
| 30511 | |
| 30512 | if testscip-shell system . . test. x$enable_pmcisconames = xyes; then |
| 30513 | ENABLE_PMCISCONAMES_TRUE= |
| 30514 | ENABLE_PMCISCONAMES_FALSE='#' |
| 30515 | else |
| 30516 | ENABLE_PMCISCONAMES_TRUE='#' |
| 30517 | ENABLE_PMCISCONAMES_FALSE= |
| 30518 | fi |
| 30519 | |
| 30520 | |
| 30521 | |
| 30522 | # settings for pmciscoios |
| 30523 | # Check whether --enable-pmciscoios was given. |
| 30524 | if testscip-shell system . . test. ${enable_pmciscoios+y} |
| 30525 | then : |
| 30526 | enableval=$enable_pmciscoios; case "${enableval}" in |
| 30527 | yes) enable_pmciscoios="yes" ;; |
| 30528 | no) enable_pmciscoios="no" ;; |
| 30529 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-pmciscoios" "$LINENO" 5 ;; |
| 30530 | esac |
| 30531 | else $as_nop |
| 30532 | enable_pmciscoios=no |
| 30533 | |
| 30534 | fi |
| 30535 | |
| 30536 | if testscip-shell system . . test. x$enable_pmciscoios = xyes; then |
| 30537 | ENABLE_PMCISCOIOS_TRUE= |
| 30538 | ENABLE_PMCISCOIOS_FALSE='#' |
| 30539 | else |
| 30540 | ENABLE_PMCISCOIOS_TRUE='#' |
| 30541 | ENABLE_PMCISCOIOS_FALSE= |
| 30542 | fi |
| 30543 | |
| 30544 | |
| 30545 | |
| 30546 | # settings for pmnull |
| 30547 | # Check whether --enable-pmnull was given. |
| 30548 | if testscip-shell system . . test. ${enable_pmnull+y} |
| 30549 | then : |
| 30550 | enableval=$enable_pmnull; case "${enableval}" in |
| 30551 | yes) enable_pmnull="yes" ;; |
| 30552 | no) enable_pmnull="no" ;; |
| 30553 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-pmnull" "$LINENO" 5 ;; |
| 30554 | esac |
| 30555 | else $as_nop |
| 30556 | enable_pmnull=no |
| 30557 | |
| 30558 | fi |
| 30559 | |
| 30560 | if testscip-shell system . . test. x$enable_pmnull = xyes; then |
| 30561 | ENABLE_PMNULL_TRUE= |
| 30562 | ENABLE_PMNULL_FALSE='#' |
| 30563 | else |
| 30564 | ENABLE_PMNULL_TRUE='#' |
| 30565 | ENABLE_PMNULL_FALSE= |
| 30566 | fi |
| 30567 | |
| 30568 | |
| 30569 | |
| 30570 | # settings for pmnormalize |
| 30571 | # Check whether --enable-pmnormalize was given. |
| 30572 | if testscip-shell system . . test. ${enable_pmnormalize+y} |
| 30573 | then : |
| 30574 | enableval=$enable_pmnormalize; case "${enableval}" in |
| 30575 | yes) enable_pmnormalize="yes" ;; |
| 30576 | no) enable_pmnormalize="no" ;; |
| 30577 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-pmnormalize" "$LINENO" 5 ;; |
| 30578 | esac |
| 30579 | else $as_nop |
| 30580 | enable_pmnormalize=no |
| 30581 | |
| 30582 | fi |
| 30583 | |
| 30584 | if testscip-shell system . . test. x$enable_pmnormalize = xyes; then |
| 30585 | ENABLE_PMNORMALIZE_TRUE= |
| 30586 | ENABLE_PMNORMALIZE_FALSE='#' |
| 30587 | else |
| 30588 | ENABLE_PMNORMALIZE_TRUE='#' |
| 30589 | ENABLE_PMNORMALIZE_FALSE= |
| 30590 | fi |
| 30591 | |
| 30592 | |
| 30593 | |
| 30594 | # settings for pmaixforwardedfrom |
| 30595 | # Check whether --enable-pmaixforwardedfrom was given. |
| 30596 | if testscip-shell system . . test. ${enable_pmaixforwardedfrom+y} |
| 30597 | then : |
| 30598 | enableval=$enable_pmaixforwardedfrom; case "${enableval}" in |
| 30599 | yes) enable_pmaixforwardedfrom="yes" ;; |
| 30600 | no) enable_pmaixforwardedfrom="no" ;; |
| 30601 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-pmaixforwardedfrom" "$LINENO" 5 ;; |
| 30602 | esac |
| 30603 | else $as_nop |
| 30604 | enable_pmaixforwardedfrom=no |
| 30605 | |
| 30606 | fi |
| 30607 | |
| 30608 | if testscip-shell system . . test. x$enable_pmaixforwardedfrom = xyes; then |
| 30609 | ENABLE_PMAIXFORWARDEDFROM_TRUE= |
| 30610 | ENABLE_PMAIXFORWARDEDFROM_FALSE='#' |
| 30611 | else |
| 30612 | ENABLE_PMAIXFORWARDEDFROM_TRUE='#' |
| 30613 | ENABLE_PMAIXFORWARDEDFROM_FALSE= |
| 30614 | fi |
| 30615 | |
| 30616 | |
| 30617 | |
| 30618 | # settings for pmsnare |
| 30619 | # Check whether --enable-pmsnare was given. |
| 30620 | if testscip-shell system . . test. ${enable_pmsnare+y} |
| 30621 | then : |
| 30622 | enableval=$enable_pmsnare; case "${enableval}" in |
| 30623 | yes) enable_pmsnare="yes" ;; |
| 30624 | no) enable_pmsnare="no" ;; |
| 30625 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-pmsnare" "$LINENO" 5 ;; |
| 30626 | esac |
| 30627 | else $as_nop |
| 30628 | enable_pmsnare=no |
| 30629 | |
| 30630 | fi |
| 30631 | |
| 30632 | if testscip-shell system . . test. x$enable_pmsnare = xyes; then |
| 30633 | ENABLE_PMSNARE_TRUE= |
| 30634 | ENABLE_PMSNARE_FALSE='#' |
| 30635 | else |
| 30636 | ENABLE_PMSNARE_TRUE='#' |
| 30637 | ENABLE_PMSNARE_FALSE= |
| 30638 | fi |
| 30639 | |
| 30640 | |
| 30641 | |
| 30642 | # settings for pmpanngfw |
| 30643 | # Check whether --enable-pmpanngfw was given. |
| 30644 | if testscip-shell system . . test. ${enable_pmpanngfw+y} |
| 30645 | then : |
| 30646 | enableval=$enable_pmpanngfw; case "${enableval}" in |
| 30647 | yes) enable_pmpanngfw="yes" ;; |
| 30648 | no) enable_pmpanngfw="no" ;; |
| 30649 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-pmpanngfw" "$LINENO" 5 ;; |
| 30650 | esac |
| 30651 | else $as_nop |
| 30652 | enable_pmpanngfw=no |
| 30653 | |
| 30654 | fi |
| 30655 | |
| 30656 | if testscip-shell system . . test. x$enable_pmpanngfw = xyes; then |
| 30657 | ENABLE_PMPANNGFW_TRUE= |
| 30658 | ENABLE_PMPANNGFW_FALSE='#' |
| 30659 | else |
| 30660 | ENABLE_PMPANNGFW_TRUE='#' |
| 30661 | ENABLE_PMPANNGFW_FALSE= |
| 30662 | fi |
| 30663 | |
| 30664 | |
| 30665 | |
| 30666 | # settings for omruleset |
| 30667 | # Check whether --enable-omruleset was given. |
| 30668 | if testscip-shell system . . test. ${enable_omruleset+y} |
| 30669 | then : |
| 30670 | enableval=$enable_omruleset; case "${enableval}" in |
| 30671 | yes) enable_omruleset="yes" ;; |
| 30672 | no) enable_omruleset="no" ;; |
| 30673 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omruleset" "$LINENO" 5 ;; |
| 30674 | esac |
| 30675 | else $as_nop |
| 30676 | enable_omruleset=no |
| 30677 | |
| 30678 | fi |
| 30679 | |
| 30680 | if testscip-shell system . . test. x$enable_omruleset = xyes; then |
| 30681 | ENABLE_OMRULESET_TRUE= |
| 30682 | ENABLE_OMRULESET_FALSE='#' |
| 30683 | else |
| 30684 | ENABLE_OMRULESET_TRUE='#' |
| 30685 | ENABLE_OMRULESET_FALSE= |
| 30686 | fi |
| 30687 | |
| 30688 | |
| 30689 | |
| 30690 | # settings for omuxsock |
| 30691 | # Check whether --enable-omuxsock was given. |
| 30692 | if testscip-shell system . . test. ${enable_omuxsock+y} |
| 30693 | then : |
| 30694 | enableval=$enable_omuxsock; case "${enableval}" in |
| 30695 | yes) enable_omuxsock="yes" ;; |
| 30696 | no) enable_omuxsock="no" ;; |
| 30697 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omuxsock" "$LINENO" 5 ;; |
| 30698 | esac |
| 30699 | else $as_nop |
| 30700 | enable_omuxsock=no |
| 30701 | |
| 30702 | fi |
| 30703 | |
| 30704 | if testscip-shell system . . test. x$enable_omuxsock = xyes; then |
| 30705 | ENABLE_OMUXSOCK_TRUE= |
| 30706 | ENABLE_OMUXSOCK_FALSE='#' |
| 30707 | else |
| 30708 | ENABLE_OMUXSOCK_TRUE='#' |
| 30709 | ENABLE_OMUXSOCK_FALSE= |
| 30710 | fi |
| 30711 | |
| 30712 | |
| 30713 | |
| 30714 | # settings for mmsnmptrapd message modification module |
| 30715 | # Check whether --enable-mmsnmptrapd was given. |
| 30716 | if testscip-shell system . . test. ${enable_mmsnmptrapd+y} |
| 30717 | then : |
| 30718 | enableval=$enable_mmsnmptrapd; case "${enableval}" in |
| 30719 | yes) enable_mmsnmptrapd="yes" ;; |
| 30720 | no) enable_mmsnmptrapd="no" ;; |
| 30721 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmsnmptrapd" "$LINENO" 5 ;; |
| 30722 | esac |
| 30723 | else $as_nop |
| 30724 | enable_mmsnmptrapd=no |
| 30725 | |
| 30726 | fi |
| 30727 | |
| 30728 | if testscip-shell system . . test. x$enable_mmsnmptrapd = xyes; then |
| 30729 | ENABLE_MMSNMPTRAPD_TRUE= |
| 30730 | ENABLE_MMSNMPTRAPD_FALSE='#' |
| 30731 | else |
| 30732 | ENABLE_MMSNMPTRAPD_TRUE='#' |
| 30733 | ENABLE_MMSNMPTRAPD_FALSE= |
| 30734 | fi |
| 30735 | |
| 30736 | |
| 30737 | |
| 30738 | # settings for the omhdfs; |
| 30739 | # Check whether --enable-omhdfs was given. |
| 30740 | if testscip-shell system . . test. ${enable_omhdfs+y} |
| 30741 | then : |
| 30742 | enableval=$enable_omhdfs; case "${enableval}" in |
| 30743 | yes) enable_omhdfs="yes" ;; |
| 30744 | no) enable_omhdfs="no" ;; |
| 30745 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omhdfs" "$LINENO" 5 ;; |
| 30746 | esac |
| 30747 | else $as_nop |
| 30748 | enable_omhdfs=no |
| 30749 | |
| 30750 | fi |
| 30751 | |
| 30752 | if testscip-shell system . . test. "x$enable_omhdfs"; then |
| 30753 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "hdfs.h" "ac_cv_header_hdfs_h" "$ac_includes_default" |
| 30754 | if testscip-shell system . . test. "x$ac_cv_header_hdfs_h" = xyes |
| 30755 | then : |
| 30756 | printfscip-shell system . . printf. "%s\n" "#define HAVE_HDFS_H 1" >>confdefs.h |
| 30757 | |
| 30758 | fi |
| 30759 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "hadoop/hdfs.h" "ac_cv_header_hadoop_hdfs_h" "$ac_includes_default" |
| 30760 | if testscip-shell system . . test. "x$ac_cv_header_hadoop_hdfs_h" = xyes |
| 30761 | then : |
| 30762 | printfscip-shell system . . printf. "%s\n" "#define HAVE_HADOOP_HDFS_H 1" >>confdefs.h |
| 30763 | |
| 30764 | fi |
| 30765 | |
| 30766 | fi |
| 30767 | if testscip-shell system . . test. x$enable_omhdfs = xyes; then |
| 30768 | ENABLE_OMHDFS_TRUE= |
| 30769 | ENABLE_OMHDFS_FALSE='#' |
| 30770 | else |
| 30771 | ENABLE_OMHDFS_TRUE='#' |
| 30772 | ENABLE_OMHDFS_FALSE= |
| 30773 | fi |
| 30774 | |
| 30775 | |
| 30776 | # Check whether --enable-omotel was given. |
| 30777 | if testscip-shell system . . test. ${enable_omotel+y} |
| 30778 | then : |
| 30779 | enableval=$enable_omotel; case "${enableval}" in |
| 30780 | yes) enable_omotel="yes" ;; |
| 30781 | no) enable_omotel="no" ;; |
| 30782 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omotel" "$LINENO" 5 ;; |
| 30783 | esac |
| 30784 | else $as_nop |
| 30785 | enable_omotel=no |
| 30786 | |
| 30787 | fi |
| 30788 | |
| 30789 | OMOTEL_HTTP_CFLAGS="" |
| 30790 | OMOTEL_HTTP_LIBS="" |
| 30791 | OMOTEL_PROTOBUF_CFLAGS="" |
| 30792 | OMOTEL_PROTOBUF_LIBS="" |
| 30793 | if testscip-shell system . . test. "x$enable_omotel" = "xyes"; then |
| 30794 | |
| 30795 | pkg_failed=no |
| 30796 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl libfastjson" >&5 |
| 30797 | printfscip-shell system . . printf. %s "checking for libcurl libfastjson... " >&6; } |
| 30798 | |
| 30799 | if testscip-shell system . . test. -n "$OMOTEL_HTTP_CFLAGS"; then |
| 30800 | pkg_cv_OMOTEL_HTTP_CFLAGS="$OMOTEL_HTTP_CFLAGS" |
| 30801 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 30802 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 30803 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl libfastjson\""; } >&5 |
| 30804 | ($PKG_CONFIG --exists --print-errors "libcurl libfastjson") 2>&5 |
| 30805 | ac_status=$? |
| 30806 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 30807 | testscip-shell system . . test. $ac_status = 0; }; then |
| 30808 | pkg_cv_OMOTEL_HTTP_CFLAGS=`$PKG_CONFIG --cflags "libcurl libfastjson" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 30809 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 30810 | else |
| 30811 | pkg_failed=yes |
| 30812 | fi |
| 30813 | else |
| 30814 | pkg_failed=untried |
| 30815 | fi |
| 30816 | if testscip-shell system . . test. -n "$OMOTEL_HTTP_LIBS"; then |
| 30817 | pkg_cv_OMOTEL_HTTP_LIBS="$OMOTEL_HTTP_LIBS" |
| 30818 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 30819 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 30820 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl libfastjson\""; } >&5 |
| 30821 | ($PKG_CONFIG --exists --print-errors "libcurl libfastjson") 2>&5 |
| 30822 | ac_status=$? |
| 30823 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 30824 | testscip-shell system . . test. $ac_status = 0; }; then |
| 30825 | pkg_cv_OMOTEL_HTTP_LIBS=`$PKG_CONFIG --libs "libcurl libfastjson" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 30826 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 30827 | else |
| 30828 | pkg_failed=yes |
| 30829 | fi |
| 30830 | else |
| 30831 | pkg_failed=untried |
| 30832 | fi |
| 30833 | |
| 30834 | |
| 30835 | |
| 30836 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 30837 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 30838 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 30839 | |
| 30840 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 30841 | _pkg_short_errors_supported=yes |
| 30842 | else |
| 30843 | _pkg_short_errors_supported=no |
| 30844 | fi |
| 30845 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 30846 | OMOTEL_HTTP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl libfastjson" 2>&1` |
| 30847 | else |
| 30848 | OMOTEL_HTTP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl libfastjson" 2>&1` |
| 30849 | fi |
| 30850 | # Put the nasty error message in config.log where it belongs |
| 30851 | echoscip-shell system . . echo. "$OMOTEL_HTTP_PKG_ERRORS" >&5 |
| 30852 | |
| 30853 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libcurl libfastjson) were not met: |
| 30854 | |
| 30855 | $OMOTEL_HTTP_PKG_ERRORS |
| 30856 | |
| 30857 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 30858 | installed software in a non-standard prefix. |
| 30859 | |
| 30860 | Alternatively, you may set the environment variables OMOTEL_HTTP_CFLAGS |
| 30861 | and OMOTEL_HTTP_LIBS to avoid the need to call pkg-config. |
| 30862 | See the pkg-config man page for more details." "$LINENO" 5 |
| 30863 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 30864 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 30865 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 30866 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 30867 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 30868 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 30869 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 30870 | path to pkg-config. |
| 30871 | |
| 30872 | Alternatively, you may set the environment variables OMOTEL_HTTP_CFLAGS |
| 30873 | and OMOTEL_HTTP_LIBS to avoid the need to call pkg-config. |
| 30874 | See the pkg-config man page for more details. |
| 30875 | |
| 30876 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 30877 | See \`config.log' for more details" "$LINENO" 5; } |
| 30878 | else |
| 30879 | OMOTEL_HTTP_CFLAGS=$pkg_cv_OMOTEL_HTTP_CFLAGS |
| 30880 | OMOTEL_HTTP_LIBS=$pkg_cv_OMOTEL_HTTP_LIBS |
| 30881 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 30882 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 30883 | |
| 30884 | fi |
| 30885 | |
| 30886 | pkg_failed=no |
| 30887 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libprotobuf-c >= 1.0.0" >&5 |
| 30888 | printfscip-shell system . . printf. %s "checking for libprotobuf-c >= 1.0.0... " >&6; } |
| 30889 | |
| 30890 | if testscip-shell system . . test. -n "$OMOTEL_PROTOBUF_CFLAGS"; then |
| 30891 | pkg_cv_OMOTEL_PROTOBUF_CFLAGS="$OMOTEL_PROTOBUF_CFLAGS" |
| 30892 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 30893 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 30894 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprotobuf-c >= 1.0.0\""; } >&5 |
| 30895 | ($PKG_CONFIG --exists --print-errors "libprotobuf-c >= 1.0.0") 2>&5 |
| 30896 | ac_status=$? |
| 30897 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 30898 | testscip-shell system . . test. $ac_status = 0; }; then |
| 30899 | pkg_cv_OMOTEL_PROTOBUF_CFLAGS=`$PKG_CONFIG --cflags "libprotobuf-c >= 1.0.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 30900 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 30901 | else |
| 30902 | pkg_failed=yes |
| 30903 | fi |
| 30904 | else |
| 30905 | pkg_failed=untried |
| 30906 | fi |
| 30907 | if testscip-shell system . . test. -n "$OMOTEL_PROTOBUF_LIBS"; then |
| 30908 | pkg_cv_OMOTEL_PROTOBUF_LIBS="$OMOTEL_PROTOBUF_LIBS" |
| 30909 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 30910 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 30911 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprotobuf-c >= 1.0.0\""; } >&5 |
| 30912 | ($PKG_CONFIG --exists --print-errors "libprotobuf-c >= 1.0.0") 2>&5 |
| 30913 | ac_status=$? |
| 30914 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 30915 | testscip-shell system . . test. $ac_status = 0; }; then |
| 30916 | pkg_cv_OMOTEL_PROTOBUF_LIBS=`$PKG_CONFIG --libs "libprotobuf-c >= 1.0.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 30917 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 30918 | else |
| 30919 | pkg_failed=yes |
| 30920 | fi |
| 30921 | else |
| 30922 | pkg_failed=untried |
| 30923 | fi |
| 30924 | |
| 30925 | |
| 30926 | |
| 30927 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 30928 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 30929 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 30930 | |
| 30931 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 30932 | _pkg_short_errors_supported=yes |
| 30933 | else |
| 30934 | _pkg_short_errors_supported=no |
| 30935 | fi |
| 30936 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 30937 | OMOTEL_PROTOBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libprotobuf-c >= 1.0.0" 2>&1` |
| 30938 | else |
| 30939 | OMOTEL_PROTOBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libprotobuf-c >= 1.0.0" 2>&1` |
| 30940 | fi |
| 30941 | # Put the nasty error message in config.log where it belongs |
| 30942 | echoscip-shell system . . echo. "$OMOTEL_PROTOBUF_PKG_ERRORS" >&5 |
| 30943 | |
| 30944 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libprotobuf-c >= 1.0.0) were not met: |
| 30945 | |
| 30946 | $OMOTEL_PROTOBUF_PKG_ERRORS |
| 30947 | |
| 30948 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 30949 | installed software in a non-standard prefix. |
| 30950 | |
| 30951 | Alternatively, you may set the environment variables OMOTEL_PROTOBUF_CFLAGS |
| 30952 | and OMOTEL_PROTOBUF_LIBS to avoid the need to call pkg-config. |
| 30953 | See the pkg-config man page for more details." "$LINENO" 5 |
| 30954 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 30955 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 30956 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 30957 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 30958 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 30959 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 30960 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 30961 | path to pkg-config. |
| 30962 | |
| 30963 | Alternatively, you may set the environment variables OMOTEL_PROTOBUF_CFLAGS |
| 30964 | and OMOTEL_PROTOBUF_LIBS to avoid the need to call pkg-config. |
| 30965 | See the pkg-config man page for more details. |
| 30966 | |
| 30967 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 30968 | See \`config.log' for more details" "$LINENO" 5; } |
| 30969 | else |
| 30970 | OMOTEL_PROTOBUF_CFLAGS=$pkg_cv_OMOTEL_PROTOBUF_CFLAGS |
| 30971 | OMOTEL_PROTOBUF_LIBS=$pkg_cv_OMOTEL_PROTOBUF_LIBS |
| 30972 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 30973 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 30974 | |
| 30975 | fi |
| 30976 | # Extract the first word of "protoc-c", so it can be a program name with args. |
| 30977 | set dummy protoc-c; ac_word=$2 |
| 30978 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 30979 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 30980 | if testscip-shell system . . test. ${ac_cv_prog_PROTOC_C+y} |
| 30981 | then : |
| 30982 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 30983 | else $as_nop |
| 30984 | if testscip-shell system . . test. -n "$PROTOC_C"; then |
| 30985 | ac_cv_prog_PROTOC_C="$PROTOC_C" # Let the user override the test. |
| 30986 | else |
| 30987 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 30988 | for as_dir in $PATH |
| 30989 | do |
| 30990 | IFS=$as_save_IFS |
| 30991 | case $as_dir in #((( |
| 30992 | '') as_dir=./ ;; |
| 30993 | */) ;; |
| 30994 | *) as_dir=$as_dir/ ;; |
| 30995 | esac |
| 30996 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 30997 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 30998 | ac_cv_prog_PROTOC_C="protoc-c" |
| 30999 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 31000 | break 2 |
| 31001 | fi |
| 31002 | done |
| 31003 | done |
| 31004 | IFS=$as_save_IFS |
| 31005 | |
| 31006 | fi |
| 31007 | fi |
| 31008 | PROTOC_C=$ac_cv_prog_PROTOC_C |
| 31009 | if testscip-shell system . . test. -n "$PROTOC_C"; then |
| 31010 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PROTOC_C" >&5 |
| 31011 | printfscip-shell system . . printf. "%s\n" "$PROTOC_C" >&6; } |
| 31012 | else |
| 31013 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 31014 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 31015 | fi |
| 31016 | |
| 31017 | |
| 31018 | if testscip-shell system . . test. "x$PROTOC_C" = "x"; then |
| 31019 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "protoc-c is required for omotel protobuf support" "$LINENO" 5 |
| 31020 | fi |
| 31021 | |
| 31022 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_OMOTEL_PROTOBUF 1" >>confdefs.h |
| 31023 | |
| 31024 | fi |
| 31025 | |
| 31026 | |
| 31027 | |
| 31028 | |
| 31029 | if testscip-shell system . . test. x$enable_omotel = xyes; then |
| 31030 | ENABLE_OMOTEL_TRUE= |
| 31031 | ENABLE_OMOTEL_FALSE='#' |
| 31032 | else |
| 31033 | ENABLE_OMOTEL_TRUE='#' |
| 31034 | ENABLE_OMOTEL_FALSE= |
| 31035 | fi |
| 31036 | |
| 31037 | |
| 31038 | # support for kafka input output |
| 31039 | # Check whether --enable-omkafka was given. |
| 31040 | if testscip-shell system . . test. ${enable_omkafka+y} |
| 31041 | then : |
| 31042 | enableval=$enable_omkafka; case "${enableval}" in |
| 31043 | yes) enable_omkafka="yes" ;; |
| 31044 | no) enable_omkafka="no" ;; |
| 31045 | optional) enable_omkafka="optional" ;; |
| 31046 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omkafka" "$LINENO" 5 ;; |
| 31047 | esac |
| 31048 | else $as_nop |
| 31049 | enable_omkafka=no |
| 31050 | |
| 31051 | fi |
| 31052 | |
| 31053 | # Check whether --enable-imkafka was given. |
| 31054 | if testscip-shell system . . test. ${enable_imkafka+y} |
| 31055 | then : |
| 31056 | enableval=$enable_imkafka; case "${enableval}" in |
| 31057 | yes) enable_imkafka="yes" ;; |
| 31058 | no) enable_imkafka="no" ;; |
| 31059 | optional) enable_imkafka="optional" ;; |
| 31060 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-imkafka" "$LINENO" 5 ;; |
| 31061 | esac |
| 31062 | else $as_nop |
| 31063 | enable_imkafka=no |
| 31064 | |
| 31065 | fi |
| 31066 | |
| 31067 | |
| 31068 | # Check whether --enable-omazureeventhubs_tests was given. |
| 31069 | if testscip-shell system . . test. ${enable_omazureeventhubs_tests+y} |
| 31070 | then : |
| 31071 | enableval=$enable_omazureeventhubs_tests; case "${enableval}" in |
| 31072 | yes) enable_omazureeventhubs_tests="yes" ;; |
| 31073 | no) enable_omazureeventhubs_tests="no" ;; |
| 31074 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omazureeventhubs-tests" "$LINENO" 5 ;; |
| 31075 | esac |
| 31076 | else $as_nop |
| 31077 | enable_omazureeventhubs_tests=no |
| 31078 | |
| 31079 | fi |
| 31080 | |
| 31081 | if testscip-shell system . . test. x$enable_omazureeventhubs_tests = xyes; then |
| 31082 | ENABLE_OMAZUREEVENTHUBS_TESTS_TRUE= |
| 31083 | ENABLE_OMAZUREEVENTHUBS_TESTS_FALSE='#' |
| 31084 | else |
| 31085 | ENABLE_OMAZUREEVENTHUBS_TESTS_TRUE='#' |
| 31086 | ENABLE_OMAZUREEVENTHUBS_TESTS_FALSE= |
| 31087 | fi |
| 31088 | |
| 31089 | |
| 31090 | # Check whether --enable-omazuredce_tests was given. |
| 31091 | if testscip-shell system . . test. ${enable_omazuredce_tests+y} |
| 31092 | then : |
| 31093 | enableval=$enable_omazuredce_tests; case "${enableval}" in |
| 31094 | yes) enable_omazuredce_tests="yes" ;; |
| 31095 | no) enable_omazuredce_tests="no" ;; |
| 31096 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omazuredce-tests" "$LINENO" 5 ;; |
| 31097 | esac |
| 31098 | else $as_nop |
| 31099 | enable_omazuredce_tests=no |
| 31100 | |
| 31101 | fi |
| 31102 | |
| 31103 | if testscip-shell system . . test. x$enable_omazuredce_tests = xyes; then |
| 31104 | ENABLE_OMAZUREDCE_TESTS_TRUE= |
| 31105 | ENABLE_OMAZUREDCE_TESTS_FALSE='#' |
| 31106 | else |
| 31107 | ENABLE_OMAZUREDCE_TESTS_TRUE='#' |
| 31108 | ENABLE_OMAZUREDCE_TESTS_FALSE= |
| 31109 | fi |
| 31110 | |
| 31111 | |
| 31112 | # Check whether --enable-kafka_tests was given. |
| 31113 | if testscip-shell system . . test. ${enable_kafka_tests+y} |
| 31114 | then : |
| 31115 | enableval=$enable_kafka_tests; case "${enableval}" in |
| 31116 | yes) enable_kafka_tests="yes" ;; |
| 31117 | no) enable_kafka_tests="no" ;; |
| 31118 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-kafka-tests" "$LINENO" 5 ;; |
| 31119 | esac |
| 31120 | else $as_nop |
| 31121 | enable_kafka_tests=no |
| 31122 | |
| 31123 | fi |
| 31124 | |
| 31125 | if testscip-shell system . . test. x$enable_kafka_tests = xyes; then |
| 31126 | ENABLE_KAFKA_TESTS_TRUE= |
| 31127 | ENABLE_KAFKA_TESTS_FALSE='#' |
| 31128 | else |
| 31129 | ENABLE_KAFKA_TESTS_TRUE='#' |
| 31130 | ENABLE_KAFKA_TESTS_FALSE= |
| 31131 | fi |
| 31132 | |
| 31133 | |
| 31134 | # Check whether --enable-kafka_static was given. |
| 31135 | if testscip-shell system . . test. ${enable_kafka_static+y} |
| 31136 | then : |
| 31137 | enableval=$enable_kafka_static; case "${enableval}" in |
| 31138 | yes) enable_kafka_static="yes" ;; |
| 31139 | no) enable_kafka_static="no" ;; |
| 31140 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-kafka-static" "$LINENO" 5 ;; |
| 31141 | esac |
| 31142 | else $as_nop |
| 31143 | enable_kafka_static=no |
| 31144 | |
| 31145 | fi |
| 31146 | |
| 31147 | if testscip-shell system . . test. x$enable_kafka_static = xyes; then |
| 31148 | ENABLE_KAFKA_STATIC_TRUE= |
| 31149 | ENABLE_KAFKA_STATIC_FALSE='#' |
| 31150 | else |
| 31151 | ENABLE_KAFKA_STATIC_TRUE='#' |
| 31152 | ENABLE_KAFKA_STATIC_FALSE= |
| 31153 | fi |
| 31154 | |
| 31155 | |
| 31156 | # omkafka works with older library |
| 31157 | omkafka_use_dummy="no" |
| 31158 | if testscip-shell system . . test. "$enable_omkafka" = "yes" -o "$enable_omkafka" = "optional"; then |
| 31159 | |
| 31160 | pkg_failed=no |
| 31161 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rdkafka >= 0.11.0" >&5 |
| 31162 | printfscip-shell system . . printf. %s "checking for rdkafka >= 0.11.0... " >&6; } |
| 31163 | |
| 31164 | if testscip-shell system . . test. -n "$LIBRDKAFKA_CFLAGS"; then |
| 31165 | pkg_cv_LIBRDKAFKA_CFLAGS="$LIBRDKAFKA_CFLAGS" |
| 31166 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 31167 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 31168 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"rdkafka >= 0.11.0\""; } >&5 |
| 31169 | ($PKG_CONFIG --exists --print-errors "rdkafka >= 0.11.0") 2>&5 |
| 31170 | ac_status=$? |
| 31171 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 31172 | testscip-shell system . . test. $ac_status = 0; }; then |
| 31173 | pkg_cv_LIBRDKAFKA_CFLAGS=`$PKG_CONFIG --cflags "rdkafka >= 0.11.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 31174 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 31175 | else |
| 31176 | pkg_failed=yes |
| 31177 | fi |
| 31178 | else |
| 31179 | pkg_failed=untried |
| 31180 | fi |
| 31181 | if testscip-shell system . . test. -n "$LIBRDKAFKA_LIBS"; then |
| 31182 | pkg_cv_LIBRDKAFKA_LIBS="$LIBRDKAFKA_LIBS" |
| 31183 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 31184 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 31185 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"rdkafka >= 0.11.0\""; } >&5 |
| 31186 | ($PKG_CONFIG --exists --print-errors "rdkafka >= 0.11.0") 2>&5 |
| 31187 | ac_status=$? |
| 31188 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 31189 | testscip-shell system . . test. $ac_status = 0; }; then |
| 31190 | pkg_cv_LIBRDKAFKA_LIBS=`$PKG_CONFIG --libs "rdkafka >= 0.11.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 31191 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 31192 | else |
| 31193 | pkg_failed=yes |
| 31194 | fi |
| 31195 | else |
| 31196 | pkg_failed=untried |
| 31197 | fi |
| 31198 | |
| 31199 | |
| 31200 | |
| 31201 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 31202 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 31203 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 31204 | |
| 31205 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 31206 | _pkg_short_errors_supported=yes |
| 31207 | else |
| 31208 | _pkg_short_errors_supported=no |
| 31209 | fi |
| 31210 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 31211 | LIBRDKAFKA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "rdkafka >= 0.11.0" 2>&1` |
| 31212 | else |
| 31213 | LIBRDKAFKA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "rdkafka >= 0.11.0" 2>&1` |
| 31214 | fi |
| 31215 | # Put the nasty error message in config.log where it belongs |
| 31216 | echoscip-shell system . . echo. "$LIBRDKAFKA_PKG_ERRORS" >&5 |
| 31217 | |
| 31218 | |
| 31219 | |
| 31220 | pkg_failed=no |
| 31221 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for librdkafka" >&5 |
| 31222 | printfscip-shell system . . printf. %s "checking for librdkafka... " >&6; } |
| 31223 | |
| 31224 | if testscip-shell system . . test. -n "$LIBRDKAFKA_CFLAGS"; then |
| 31225 | pkg_cv_LIBRDKAFKA_CFLAGS="$LIBRDKAFKA_CFLAGS" |
| 31226 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 31227 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 31228 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librdkafka\""; } >&5 |
| 31229 | ($PKG_CONFIG --exists --print-errors "librdkafka") 2>&5 |
| 31230 | ac_status=$? |
| 31231 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 31232 | testscip-shell system . . test. $ac_status = 0; }; then |
| 31233 | pkg_cv_LIBRDKAFKA_CFLAGS=`$PKG_CONFIG --cflags "librdkafka" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 31234 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 31235 | else |
| 31236 | pkg_failed=yes |
| 31237 | fi |
| 31238 | else |
| 31239 | pkg_failed=untried |
| 31240 | fi |
| 31241 | if testscip-shell system . . test. -n "$LIBRDKAFKA_LIBS"; then |
| 31242 | pkg_cv_LIBRDKAFKA_LIBS="$LIBRDKAFKA_LIBS" |
| 31243 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 31244 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 31245 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librdkafka\""; } >&5 |
| 31246 | ($PKG_CONFIG --exists --print-errors "librdkafka") 2>&5 |
| 31247 | ac_status=$? |
| 31248 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 31249 | testscip-shell system . . test. $ac_status = 0; }; then |
| 31250 | pkg_cv_LIBRDKAFKA_LIBS=`$PKG_CONFIG --libs "librdkafka" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 31251 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 31252 | else |
| 31253 | pkg_failed=yes |
| 31254 | fi |
| 31255 | else |
| 31256 | pkg_failed=untried |
| 31257 | fi |
| 31258 | |
| 31259 | |
| 31260 | |
| 31261 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 31262 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 31263 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 31264 | |
| 31265 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 31266 | _pkg_short_errors_supported=yes |
| 31267 | else |
| 31268 | _pkg_short_errors_supported=no |
| 31269 | fi |
| 31270 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 31271 | LIBRDKAFKA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "librdkafka" 2>&1` |
| 31272 | else |
| 31273 | LIBRDKAFKA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "librdkafka" 2>&1` |
| 31274 | fi |
| 31275 | # Put the nasty error message in config.log where it belongs |
| 31276 | echoscip-shell system . . echo. "$LIBRDKAFKA_PKG_ERRORS" >&5 |
| 31277 | |
| 31278 | |
| 31279 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rd_kafka_last_error in -lrdkafka" >&5 |
| 31280 | printfscip-shell system . . printf. %s "checking for rd_kafka_last_error in -lrdkafka... " >&6; } |
| 31281 | if testscip-shell system . . test. ${ac_cv_lib_rdkafka_rd_kafka_last_error+y} |
| 31282 | then : |
| 31283 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 31284 | else $as_nop |
| 31285 | ac_check_lib_save_LIBS=$LIBS |
| 31286 | LIBS="-lrdkafka $LIBS" |
| 31287 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31288 | /* end confdefs.h. */ |
| 31289 | |
| 31290 | /* Override any GCC internal prototype to avoid an error. |
| 31291 | Use char because int might match the return type of a GCC |
| 31292 | builtin and then its argument prototype would still apply. */ |
| 31293 | char rd_kafka_last_error (); |
| 31294 | int |
| 31295 | main (void) |
| 31296 | { |
| 31297 | return rd_kafka_last_error (); |
| 31298 | ; |
| 31299 | return 0; |
| 31300 | } |
| 31301 | _ACEOF |
| 31302 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 31303 | then : |
| 31304 | ac_cv_lib_rdkafka_rd_kafka_last_error=yes |
| 31305 | else $as_nop |
| 31306 | ac_cv_lib_rdkafka_rd_kafka_last_error=no |
| 31307 | fi |
| 31308 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 31309 | conftest$ac_exeext conftest.$ac_ext |
| 31310 | LIBS=$ac_check_lib_save_LIBS |
| 31311 | fi |
| 31312 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rdkafka_rd_kafka_last_error" >&5 |
| 31313 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_rdkafka_rd_kafka_last_error" >&6; } |
| 31314 | if testscip-shell system . . test. "x$ac_cv_lib_rdkafka_rd_kafka_last_error" = xyes |
| 31315 | then : |
| 31316 | |
| 31317 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: librdkafka is missing but library present, using -lrdkafka" >&5 |
| 31318 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: librdkafka is missing but library present, using -lrdkafka" >&2;} |
| 31319 | LIBRDKAFKA_LIBS=-lrdkafka |
| 31320 | |
| 31321 | else $as_nop |
| 31322 | |
| 31323 | if testscip-shell system . . test. "$enable_omkafka" = "yes" |
| 31324 | then : |
| 31325 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "could not find rdkafka library" "$LINENO" 5 |
| 31326 | |
| 31327 | fi |
| 31328 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: omkafka: no suiteable build environment, use omkafka dummy" >&5 |
| 31329 | printfscip-shell system . . printf. "%s\n" "$as_me: omkafka: no suiteable build environment, use omkafka dummy" >&6;} |
| 31330 | omkafka_use_dummy=yes |
| 31331 | |
| 31332 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_OMKAFKA_DUMMY 1" >>confdefs.h |
| 31333 | |
| 31334 | |
| 31335 | fi |
| 31336 | |
| 31337 | |
| 31338 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 31339 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 31340 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 31341 | |
| 31342 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rd_kafka_last_error in -lrdkafka" >&5 |
| 31343 | printfscip-shell system . . printf. %s "checking for rd_kafka_last_error in -lrdkafka... " >&6; } |
| 31344 | if testscip-shell system . . test. ${ac_cv_lib_rdkafka_rd_kafka_last_error+y} |
| 31345 | then : |
| 31346 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 31347 | else $as_nop |
| 31348 | ac_check_lib_save_LIBS=$LIBS |
| 31349 | LIBS="-lrdkafka $LIBS" |
| 31350 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31351 | /* end confdefs.h. */ |
| 31352 | |
| 31353 | /* Override any GCC internal prototype to avoid an error. |
| 31354 | Use char because int might match the return type of a GCC |
| 31355 | builtin and then its argument prototype would still apply. */ |
| 31356 | char rd_kafka_last_error (); |
| 31357 | int |
| 31358 | main (void) |
| 31359 | { |
| 31360 | return rd_kafka_last_error (); |
| 31361 | ; |
| 31362 | return 0; |
| 31363 | } |
| 31364 | _ACEOF |
| 31365 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 31366 | then : |
| 31367 | ac_cv_lib_rdkafka_rd_kafka_last_error=yes |
| 31368 | else $as_nop |
| 31369 | ac_cv_lib_rdkafka_rd_kafka_last_error=no |
| 31370 | fi |
| 31371 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 31372 | conftest$ac_exeext conftest.$ac_ext |
| 31373 | LIBS=$ac_check_lib_save_LIBS |
| 31374 | fi |
| 31375 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rdkafka_rd_kafka_last_error" >&5 |
| 31376 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_rdkafka_rd_kafka_last_error" >&6; } |
| 31377 | if testscip-shell system . . test. "x$ac_cv_lib_rdkafka_rd_kafka_last_error" = xyes |
| 31378 | then : |
| 31379 | |
| 31380 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: librdkafka is missing but library present, using -lrdkafka" >&5 |
| 31381 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: librdkafka is missing but library present, using -lrdkafka" >&2;} |
| 31382 | LIBRDKAFKA_LIBS=-lrdkafka |
| 31383 | |
| 31384 | else $as_nop |
| 31385 | |
| 31386 | if testscip-shell system . . test. "$enable_omkafka" = "yes" |
| 31387 | then : |
| 31388 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "could not find rdkafka library" "$LINENO" 5 |
| 31389 | |
| 31390 | fi |
| 31391 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: omkafka: no suiteable build environment, use omkafka dummy" >&5 |
| 31392 | printfscip-shell system . . printf. "%s\n" "$as_me: omkafka: no suiteable build environment, use omkafka dummy" >&6;} |
| 31393 | omkafka_use_dummy=yes |
| 31394 | |
| 31395 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_OMKAFKA_DUMMY 1" >>confdefs.h |
| 31396 | |
| 31397 | |
| 31398 | fi |
| 31399 | |
| 31400 | |
| 31401 | else |
| 31402 | LIBRDKAFKA_CFLAGS=$pkg_cv_LIBRDKAFKA_CFLAGS |
| 31403 | LIBRDKAFKA_LIBS=$pkg_cv_LIBRDKAFKA_LIBS |
| 31404 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 31405 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 31406 | |
| 31407 | fi |
| 31408 | |
| 31409 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 31410 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 31411 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 31412 | |
| 31413 | |
| 31414 | pkg_failed=no |
| 31415 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for librdkafka" >&5 |
| 31416 | printfscip-shell system . . printf. %s "checking for librdkafka... " >&6; } |
| 31417 | |
| 31418 | if testscip-shell system . . test. -n "$LIBRDKAFKA_CFLAGS"; then |
| 31419 | pkg_cv_LIBRDKAFKA_CFLAGS="$LIBRDKAFKA_CFLAGS" |
| 31420 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 31421 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 31422 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librdkafka\""; } >&5 |
| 31423 | ($PKG_CONFIG --exists --print-errors "librdkafka") 2>&5 |
| 31424 | ac_status=$? |
| 31425 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 31426 | testscip-shell system . . test. $ac_status = 0; }; then |
| 31427 | pkg_cv_LIBRDKAFKA_CFLAGS=`$PKG_CONFIG --cflags "librdkafka" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 31428 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 31429 | else |
| 31430 | pkg_failed=yes |
| 31431 | fi |
| 31432 | else |
| 31433 | pkg_failed=untried |
| 31434 | fi |
| 31435 | if testscip-shell system . . test. -n "$LIBRDKAFKA_LIBS"; then |
| 31436 | pkg_cv_LIBRDKAFKA_LIBS="$LIBRDKAFKA_LIBS" |
| 31437 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 31438 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 31439 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librdkafka\""; } >&5 |
| 31440 | ($PKG_CONFIG --exists --print-errors "librdkafka") 2>&5 |
| 31441 | ac_status=$? |
| 31442 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 31443 | testscip-shell system . . test. $ac_status = 0; }; then |
| 31444 | pkg_cv_LIBRDKAFKA_LIBS=`$PKG_CONFIG --libs "librdkafka" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 31445 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 31446 | else |
| 31447 | pkg_failed=yes |
| 31448 | fi |
| 31449 | else |
| 31450 | pkg_failed=untried |
| 31451 | fi |
| 31452 | |
| 31453 | |
| 31454 | |
| 31455 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 31456 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 31457 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 31458 | |
| 31459 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 31460 | _pkg_short_errors_supported=yes |
| 31461 | else |
| 31462 | _pkg_short_errors_supported=no |
| 31463 | fi |
| 31464 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 31465 | LIBRDKAFKA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "librdkafka" 2>&1` |
| 31466 | else |
| 31467 | LIBRDKAFKA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "librdkafka" 2>&1` |
| 31468 | fi |
| 31469 | # Put the nasty error message in config.log where it belongs |
| 31470 | echoscip-shell system . . echo. "$LIBRDKAFKA_PKG_ERRORS" >&5 |
| 31471 | |
| 31472 | |
| 31473 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rd_kafka_last_error in -lrdkafka" >&5 |
| 31474 | printfscip-shell system . . printf. %s "checking for rd_kafka_last_error in -lrdkafka... " >&6; } |
| 31475 | if testscip-shell system . . test. ${ac_cv_lib_rdkafka_rd_kafka_last_error+y} |
| 31476 | then : |
| 31477 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 31478 | else $as_nop |
| 31479 | ac_check_lib_save_LIBS=$LIBS |
| 31480 | LIBS="-lrdkafka $LIBS" |
| 31481 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31482 | /* end confdefs.h. */ |
| 31483 | |
| 31484 | /* Override any GCC internal prototype to avoid an error. |
| 31485 | Use char because int might match the return type of a GCC |
| 31486 | builtin and then its argument prototype would still apply. */ |
| 31487 | char rd_kafka_last_error (); |
| 31488 | int |
| 31489 | main (void) |
| 31490 | { |
| 31491 | return rd_kafka_last_error (); |
| 31492 | ; |
| 31493 | return 0; |
| 31494 | } |
| 31495 | _ACEOF |
| 31496 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 31497 | then : |
| 31498 | ac_cv_lib_rdkafka_rd_kafka_last_error=yes |
| 31499 | else $as_nop |
| 31500 | ac_cv_lib_rdkafka_rd_kafka_last_error=no |
| 31501 | fi |
| 31502 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 31503 | conftest$ac_exeext conftest.$ac_ext |
| 31504 | LIBS=$ac_check_lib_save_LIBS |
| 31505 | fi |
| 31506 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rdkafka_rd_kafka_last_error" >&5 |
| 31507 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_rdkafka_rd_kafka_last_error" >&6; } |
| 31508 | if testscip-shell system . . test. "x$ac_cv_lib_rdkafka_rd_kafka_last_error" = xyes |
| 31509 | then : |
| 31510 | |
| 31511 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: librdkafka is missing but library present, using -lrdkafka" >&5 |
| 31512 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: librdkafka is missing but library present, using -lrdkafka" >&2;} |
| 31513 | LIBRDKAFKA_LIBS=-lrdkafka |
| 31514 | |
| 31515 | else $as_nop |
| 31516 | |
| 31517 | if testscip-shell system . . test. "$enable_omkafka" = "yes" |
| 31518 | then : |
| 31519 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "could not find rdkafka library" "$LINENO" 5 |
| 31520 | |
| 31521 | fi |
| 31522 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: omkafka: no suiteable build environment, use omkafka dummy" >&5 |
| 31523 | printfscip-shell system . . printf. "%s\n" "$as_me: omkafka: no suiteable build environment, use omkafka dummy" >&6;} |
| 31524 | omkafka_use_dummy=yes |
| 31525 | |
| 31526 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_OMKAFKA_DUMMY 1" >>confdefs.h |
| 31527 | |
| 31528 | |
| 31529 | fi |
| 31530 | |
| 31531 | |
| 31532 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 31533 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 31534 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 31535 | |
| 31536 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rd_kafka_last_error in -lrdkafka" >&5 |
| 31537 | printfscip-shell system . . printf. %s "checking for rd_kafka_last_error in -lrdkafka... " >&6; } |
| 31538 | if testscip-shell system . . test. ${ac_cv_lib_rdkafka_rd_kafka_last_error+y} |
| 31539 | then : |
| 31540 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 31541 | else $as_nop |
| 31542 | ac_check_lib_save_LIBS=$LIBS |
| 31543 | LIBS="-lrdkafka $LIBS" |
| 31544 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31545 | /* end confdefs.h. */ |
| 31546 | |
| 31547 | /* Override any GCC internal prototype to avoid an error. |
| 31548 | Use char because int might match the return type of a GCC |
| 31549 | builtin and then its argument prototype would still apply. */ |
| 31550 | char rd_kafka_last_error (); |
| 31551 | int |
| 31552 | main (void) |
| 31553 | { |
| 31554 | return rd_kafka_last_error (); |
| 31555 | ; |
| 31556 | return 0; |
| 31557 | } |
| 31558 | _ACEOF |
| 31559 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 31560 | then : |
| 31561 | ac_cv_lib_rdkafka_rd_kafka_last_error=yes |
| 31562 | else $as_nop |
| 31563 | ac_cv_lib_rdkafka_rd_kafka_last_error=no |
| 31564 | fi |
| 31565 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 31566 | conftest$ac_exeext conftest.$ac_ext |
| 31567 | LIBS=$ac_check_lib_save_LIBS |
| 31568 | fi |
| 31569 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rdkafka_rd_kafka_last_error" >&5 |
| 31570 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_rdkafka_rd_kafka_last_error" >&6; } |
| 31571 | if testscip-shell system . . test. "x$ac_cv_lib_rdkafka_rd_kafka_last_error" = xyes |
| 31572 | then : |
| 31573 | |
| 31574 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: librdkafka is missing but library present, using -lrdkafka" >&5 |
| 31575 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: librdkafka is missing but library present, using -lrdkafka" >&2;} |
| 31576 | LIBRDKAFKA_LIBS=-lrdkafka |
| 31577 | |
| 31578 | else $as_nop |
| 31579 | |
| 31580 | if testscip-shell system . . test. "$enable_omkafka" = "yes" |
| 31581 | then : |
| 31582 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "could not find rdkafka library" "$LINENO" 5 |
| 31583 | |
| 31584 | fi |
| 31585 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: omkafka: no suiteable build environment, use omkafka dummy" >&5 |
| 31586 | printfscip-shell system . . printf. "%s\n" "$as_me: omkafka: no suiteable build environment, use omkafka dummy" >&6;} |
| 31587 | omkafka_use_dummy=yes |
| 31588 | |
| 31589 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_OMKAFKA_DUMMY 1" >>confdefs.h |
| 31590 | |
| 31591 | |
| 31592 | fi |
| 31593 | |
| 31594 | |
| 31595 | else |
| 31596 | LIBRDKAFKA_CFLAGS=$pkg_cv_LIBRDKAFKA_CFLAGS |
| 31597 | LIBRDKAFKA_LIBS=$pkg_cv_LIBRDKAFKA_LIBS |
| 31598 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 31599 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 31600 | |
| 31601 | fi |
| 31602 | |
| 31603 | else |
| 31604 | LIBRDKAFKA_CFLAGS=$pkg_cv_LIBRDKAFKA_CFLAGS |
| 31605 | LIBRDKAFKA_LIBS=$pkg_cv_LIBRDKAFKA_LIBS |
| 31606 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 31607 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 31608 | |
| 31609 | fi |
| 31610 | fi |
| 31611 | if testscip-shell system . . test. x$omkafka_use_dummy = xyes; then |
| 31612 | OMKAFKA_USE_DUMMY_TRUE= |
| 31613 | OMKAFKA_USE_DUMMY_FALSE='#' |
| 31614 | else |
| 31615 | OMKAFKA_USE_DUMMY_TRUE='#' |
| 31616 | OMKAFKA_USE_DUMMY_FALSE= |
| 31617 | fi |
| 31618 | |
| 31619 | if testscip-shell system . . test. "$enable_omkafka" = "yes" -o "$enable_omkafka" = "optional" && testscip-shell system . . test. "$omkafka_use_dummy" = "no"; then |
| 31620 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "librdkafka/rdkafka.h" "ac_cv_header_librdkafka_rdkafka_h" "$ac_includes_default" |
| 31621 | if testscip-shell system . . test. "x$ac_cv_header_librdkafka_rdkafka_h" = xyes |
| 31622 | then : |
| 31623 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LIBRDKAFKA_RDKAFKA_H 1" >>confdefs.h |
| 31624 | |
| 31625 | fi |
| 31626 | |
| 31627 | |
| 31628 | # Add additional dependencies if statically linking rdkafka |
| 31629 | if testscip-shell system . . test. "x$enable_kafka_static" = "xyes"; then |
| 31630 | |
| 31631 | pkg_failed=no |
| 31632 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for liblz4" >&5 |
| 31633 | printfscip-shell system . . printf. %s "checking for liblz4... " >&6; } |
| 31634 | |
| 31635 | if testscip-shell system . . test. -n "$LIBLZ4_CFLAGS"; then |
| 31636 | pkg_cv_LIBLZ4_CFLAGS="$LIBLZ4_CFLAGS" |
| 31637 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 31638 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 31639 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblz4\""; } >&5 |
| 31640 | ($PKG_CONFIG --exists --print-errors "liblz4") 2>&5 |
| 31641 | ac_status=$? |
| 31642 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 31643 | testscip-shell system . . test. $ac_status = 0; }; then |
| 31644 | pkg_cv_LIBLZ4_CFLAGS=`$PKG_CONFIG --cflags "liblz4" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 31645 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 31646 | else |
| 31647 | pkg_failed=yes |
| 31648 | fi |
| 31649 | else |
| 31650 | pkg_failed=untried |
| 31651 | fi |
| 31652 | if testscip-shell system . . test. -n "$LIBLZ4_LIBS"; then |
| 31653 | pkg_cv_LIBLZ4_LIBS="$LIBLZ4_LIBS" |
| 31654 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 31655 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 31656 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblz4\""; } >&5 |
| 31657 | ($PKG_CONFIG --exists --print-errors "liblz4") 2>&5 |
| 31658 | ac_status=$? |
| 31659 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 31660 | testscip-shell system . . test. $ac_status = 0; }; then |
| 31661 | pkg_cv_LIBLZ4_LIBS=`$PKG_CONFIG --libs "liblz4" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 31662 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 31663 | else |
| 31664 | pkg_failed=yes |
| 31665 | fi |
| 31666 | else |
| 31667 | pkg_failed=untried |
| 31668 | fi |
| 31669 | |
| 31670 | |
| 31671 | |
| 31672 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 31673 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 31674 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 31675 | |
| 31676 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 31677 | _pkg_short_errors_supported=yes |
| 31678 | else |
| 31679 | _pkg_short_errors_supported=no |
| 31680 | fi |
| 31681 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 31682 | LIBLZ4_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblz4" 2>&1` |
| 31683 | else |
| 31684 | LIBLZ4_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblz4" 2>&1` |
| 31685 | fi |
| 31686 | # Put the nasty error message in config.log where it belongs |
| 31687 | echoscip-shell system . . echo. "$LIBLZ4_PKG_ERRORS" >&5 |
| 31688 | |
| 31689 | |
| 31690 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LZ4_compress in -llz4" >&5 |
| 31691 | printfscip-shell system . . printf. %s "checking for LZ4_compress in -llz4... " >&6; } |
| 31692 | if testscip-shell system . . test. ${ac_cv_lib_lz4_LZ4_compress+y} |
| 31693 | then : |
| 31694 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 31695 | else $as_nop |
| 31696 | ac_check_lib_save_LIBS=$LIBS |
| 31697 | LIBS="-llz4 $LIBS" |
| 31698 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31699 | /* end confdefs.h. */ |
| 31700 | |
| 31701 | /* Override any GCC internal prototype to avoid an error. |
| 31702 | Use char because int might match the return type of a GCC |
| 31703 | builtin and then its argument prototype would still apply. */ |
| 31704 | char LZ4_compress (); |
| 31705 | int |
| 31706 | main (void) |
| 31707 | { |
| 31708 | return LZ4_compress (); |
| 31709 | ; |
| 31710 | return 0; |
| 31711 | } |
| 31712 | _ACEOF |
| 31713 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 31714 | then : |
| 31715 | ac_cv_lib_lz4_LZ4_compress=yes |
| 31716 | else $as_nop |
| 31717 | ac_cv_lib_lz4_LZ4_compress=no |
| 31718 | fi |
| 31719 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 31720 | conftest$ac_exeext conftest.$ac_ext |
| 31721 | LIBS=$ac_check_lib_save_LIBS |
| 31722 | fi |
| 31723 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lz4_LZ4_compress" >&5 |
| 31724 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_lz4_LZ4_compress" >&6; } |
| 31725 | if testscip-shell system . . test. "x$ac_cv_lib_lz4_LZ4_compress" = xyes |
| 31726 | then : |
| 31727 | |
| 31728 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: liblz4 is missing but library present, using -llz4" >&5 |
| 31729 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: liblz4 is missing but library present, using -llz4" >&2;} |
| 31730 | LIBRDKAFKA_LIBS=-llz4 |
| 31731 | |
| 31732 | else $as_nop |
| 31733 | |
| 31734 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "could not find liblz4 library" "$LINENO" 5 |
| 31735 | |
| 31736 | fi |
| 31737 | |
| 31738 | |
| 31739 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 31740 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 31741 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 31742 | |
| 31743 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LZ4_compress in -llz4" >&5 |
| 31744 | printfscip-shell system . . printf. %s "checking for LZ4_compress in -llz4... " >&6; } |
| 31745 | if testscip-shell system . . test. ${ac_cv_lib_lz4_LZ4_compress+y} |
| 31746 | then : |
| 31747 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 31748 | else $as_nop |
| 31749 | ac_check_lib_save_LIBS=$LIBS |
| 31750 | LIBS="-llz4 $LIBS" |
| 31751 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31752 | /* end confdefs.h. */ |
| 31753 | |
| 31754 | /* Override any GCC internal prototype to avoid an error. |
| 31755 | Use char because int might match the return type of a GCC |
| 31756 | builtin and then its argument prototype would still apply. */ |
| 31757 | char LZ4_compress (); |
| 31758 | int |
| 31759 | main (void) |
| 31760 | { |
| 31761 | return LZ4_compress (); |
| 31762 | ; |
| 31763 | return 0; |
| 31764 | } |
| 31765 | _ACEOF |
| 31766 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 31767 | then : |
| 31768 | ac_cv_lib_lz4_LZ4_compress=yes |
| 31769 | else $as_nop |
| 31770 | ac_cv_lib_lz4_LZ4_compress=no |
| 31771 | fi |
| 31772 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 31773 | conftest$ac_exeext conftest.$ac_ext |
| 31774 | LIBS=$ac_check_lib_save_LIBS |
| 31775 | fi |
| 31776 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lz4_LZ4_compress" >&5 |
| 31777 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_lz4_LZ4_compress" >&6; } |
| 31778 | if testscip-shell system . . test. "x$ac_cv_lib_lz4_LZ4_compress" = xyes |
| 31779 | then : |
| 31780 | |
| 31781 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: liblz4 is missing but library present, using -llz4" >&5 |
| 31782 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: liblz4 is missing but library present, using -llz4" >&2;} |
| 31783 | LIBRDKAFKA_LIBS=-llz4 |
| 31784 | |
| 31785 | else $as_nop |
| 31786 | |
| 31787 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "could not find liblz4 library" "$LINENO" 5 |
| 31788 | |
| 31789 | fi |
| 31790 | |
| 31791 | |
| 31792 | else |
| 31793 | LIBLZ4_CFLAGS=$pkg_cv_LIBLZ4_CFLAGS |
| 31794 | LIBLZ4_LIBS=$pkg_cv_LIBLZ4_LIBS |
| 31795 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 31796 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 31797 | |
| 31798 | fi |
| 31799 | fi |
| 31800 | fi |
| 31801 | |
| 31802 | imkafka_use_dummy="no" |
| 31803 | # imkafka needs newer library |
| 31804 | if testscip-shell system . . test. "x$enable_imkafka" = "xyes" -o "$enable_imkafka" = "optional"; then |
| 31805 | |
| 31806 | pkg_failed=no |
| 31807 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rdkafka >= 0.11.0" >&5 |
| 31808 | printfscip-shell system . . printf. %s "checking for rdkafka >= 0.11.0... " >&6; } |
| 31809 | |
| 31810 | if testscip-shell system . . test. -n "$LIBRDKAFKA_CFLAGS"; then |
| 31811 | pkg_cv_LIBRDKAFKA_CFLAGS="$LIBRDKAFKA_CFLAGS" |
| 31812 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 31813 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 31814 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"rdkafka >= 0.11.0\""; } >&5 |
| 31815 | ($PKG_CONFIG --exists --print-errors "rdkafka >= 0.11.0") 2>&5 |
| 31816 | ac_status=$? |
| 31817 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 31818 | testscip-shell system . . test. $ac_status = 0; }; then |
| 31819 | pkg_cv_LIBRDKAFKA_CFLAGS=`$PKG_CONFIG --cflags "rdkafka >= 0.11.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 31820 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 31821 | else |
| 31822 | pkg_failed=yes |
| 31823 | fi |
| 31824 | else |
| 31825 | pkg_failed=untried |
| 31826 | fi |
| 31827 | if testscip-shell system . . test. -n "$LIBRDKAFKA_LIBS"; then |
| 31828 | pkg_cv_LIBRDKAFKA_LIBS="$LIBRDKAFKA_LIBS" |
| 31829 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 31830 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 31831 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"rdkafka >= 0.11.0\""; } >&5 |
| 31832 | ($PKG_CONFIG --exists --print-errors "rdkafka >= 0.11.0") 2>&5 |
| 31833 | ac_status=$? |
| 31834 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 31835 | testscip-shell system . . test. $ac_status = 0; }; then |
| 31836 | pkg_cv_LIBRDKAFKA_LIBS=`$PKG_CONFIG --libs "rdkafka >= 0.11.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 31837 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 31838 | else |
| 31839 | pkg_failed=yes |
| 31840 | fi |
| 31841 | else |
| 31842 | pkg_failed=untried |
| 31843 | fi |
| 31844 | |
| 31845 | |
| 31846 | |
| 31847 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 31848 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 31849 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 31850 | |
| 31851 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 31852 | _pkg_short_errors_supported=yes |
| 31853 | else |
| 31854 | _pkg_short_errors_supported=no |
| 31855 | fi |
| 31856 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 31857 | LIBRDKAFKA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "rdkafka >= 0.11.0" 2>&1` |
| 31858 | else |
| 31859 | LIBRDKAFKA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "rdkafka >= 0.11.0" 2>&1` |
| 31860 | fi |
| 31861 | # Put the nasty error message in config.log where it belongs |
| 31862 | echoscip-shell system . . echo. "$LIBRDKAFKA_PKG_ERRORS" >&5 |
| 31863 | |
| 31864 | |
| 31865 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rd_kafka_consumer_poll in -lrdkafka" >&5 |
| 31866 | printfscip-shell system . . printf. %s "checking for rd_kafka_consumer_poll in -lrdkafka... " >&6; } |
| 31867 | if testscip-shell system . . test. ${ac_cv_lib_rdkafka_rd_kafka_consumer_poll+y} |
| 31868 | then : |
| 31869 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 31870 | else $as_nop |
| 31871 | ac_check_lib_save_LIBS=$LIBS |
| 31872 | LIBS="-lrdkafka $LIBS" |
| 31873 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31874 | /* end confdefs.h. */ |
| 31875 | |
| 31876 | /* Override any GCC internal prototype to avoid an error. |
| 31877 | Use char because int might match the return type of a GCC |
| 31878 | builtin and then its argument prototype would still apply. */ |
| 31879 | char rd_kafka_consumer_poll (); |
| 31880 | int |
| 31881 | main (void) |
| 31882 | { |
| 31883 | return rd_kafka_consumer_poll (); |
| 31884 | ; |
| 31885 | return 0; |
| 31886 | } |
| 31887 | _ACEOF |
| 31888 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 31889 | then : |
| 31890 | ac_cv_lib_rdkafka_rd_kafka_consumer_poll=yes |
| 31891 | else $as_nop |
| 31892 | ac_cv_lib_rdkafka_rd_kafka_consumer_poll=no |
| 31893 | fi |
| 31894 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 31895 | conftest$ac_exeext conftest.$ac_ext |
| 31896 | LIBS=$ac_check_lib_save_LIBS |
| 31897 | fi |
| 31898 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rdkafka_rd_kafka_consumer_poll" >&5 |
| 31899 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_rdkafka_rd_kafka_consumer_poll" >&6; } |
| 31900 | if testscip-shell system . . test. "x$ac_cv_lib_rdkafka_rd_kafka_consumer_poll" = xyes |
| 31901 | then : |
| 31902 | |
| 31903 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: librdkafka is missing but library present, using -lrdkafka" >&5 |
| 31904 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: librdkafka is missing but library present, using -lrdkafka" >&2;} |
| 31905 | LIBRDKAFKA_LIBS=-lrdkafka |
| 31906 | |
| 31907 | else $as_nop |
| 31908 | |
| 31909 | if testscip-shell system . . test. "$enable_imkafka" = "yes" |
| 31910 | then : |
| 31911 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "could not find sufficiently current rdkafka library" "$LINENO" 5 |
| 31912 | |
| 31913 | fi |
| 31914 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: imkafka: no suiteable build environment, use imkafka dummy" >&5 |
| 31915 | printfscip-shell system . . printf. "%s\n" "$as_me: imkafka: no suiteable build environment, use imkafka dummy" >&6;} |
| 31916 | imkafka_use_dummy=yes |
| 31917 | |
| 31918 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_IMKAFKA_DUMMY 1" >>confdefs.h |
| 31919 | |
| 31920 | |
| 31921 | fi |
| 31922 | |
| 31923 | |
| 31924 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 31925 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 31926 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 31927 | |
| 31928 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rd_kafka_consumer_poll in -lrdkafka" >&5 |
| 31929 | printfscip-shell system . . printf. %s "checking for rd_kafka_consumer_poll in -lrdkafka... " >&6; } |
| 31930 | if testscip-shell system . . test. ${ac_cv_lib_rdkafka_rd_kafka_consumer_poll+y} |
| 31931 | then : |
| 31932 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 31933 | else $as_nop |
| 31934 | ac_check_lib_save_LIBS=$LIBS |
| 31935 | LIBS="-lrdkafka $LIBS" |
| 31936 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31937 | /* end confdefs.h. */ |
| 31938 | |
| 31939 | /* Override any GCC internal prototype to avoid an error. |
| 31940 | Use char because int might match the return type of a GCC |
| 31941 | builtin and then its argument prototype would still apply. */ |
| 31942 | char rd_kafka_consumer_poll (); |
| 31943 | int |
| 31944 | main (void) |
| 31945 | { |
| 31946 | return rd_kafka_consumer_poll (); |
| 31947 | ; |
| 31948 | return 0; |
| 31949 | } |
| 31950 | _ACEOF |
| 31951 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 31952 | then : |
| 31953 | ac_cv_lib_rdkafka_rd_kafka_consumer_poll=yes |
| 31954 | else $as_nop |
| 31955 | ac_cv_lib_rdkafka_rd_kafka_consumer_poll=no |
| 31956 | fi |
| 31957 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 31958 | conftest$ac_exeext conftest.$ac_ext |
| 31959 | LIBS=$ac_check_lib_save_LIBS |
| 31960 | fi |
| 31961 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rdkafka_rd_kafka_consumer_poll" >&5 |
| 31962 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_rdkafka_rd_kafka_consumer_poll" >&6; } |
| 31963 | if testscip-shell system . . test. "x$ac_cv_lib_rdkafka_rd_kafka_consumer_poll" = xyes |
| 31964 | then : |
| 31965 | |
| 31966 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: librdkafka is missing but library present, using -lrdkafka" >&5 |
| 31967 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: librdkafka is missing but library present, using -lrdkafka" >&2;} |
| 31968 | LIBRDKAFKA_LIBS=-lrdkafka |
| 31969 | |
| 31970 | else $as_nop |
| 31971 | |
| 31972 | if testscip-shell system . . test. "$enable_imkafka" = "yes" |
| 31973 | then : |
| 31974 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "could not find sufficiently current rdkafka library" "$LINENO" 5 |
| 31975 | |
| 31976 | fi |
| 31977 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: imkafka: no suiteable build environment, use imkafka dummy" >&5 |
| 31978 | printfscip-shell system . . printf. "%s\n" "$as_me: imkafka: no suiteable build environment, use imkafka dummy" >&6;} |
| 31979 | imkafka_use_dummy=yes |
| 31980 | |
| 31981 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_IMKAFKA_DUMMY 1" >>confdefs.h |
| 31982 | |
| 31983 | |
| 31984 | fi |
| 31985 | |
| 31986 | |
| 31987 | else |
| 31988 | LIBRDKAFKA_CFLAGS=$pkg_cv_LIBRDKAFKA_CFLAGS |
| 31989 | LIBRDKAFKA_LIBS=$pkg_cv_LIBRDKAFKA_LIBS |
| 31990 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 31991 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 31992 | |
| 31993 | fi |
| 31994 | fi |
| 31995 | if testscip-shell system . . test. x$imkafka_use_dummy = xyes; then |
| 31996 | IMKAFKA_USE_DUMMY_TRUE= |
| 31997 | IMKAFKA_USE_DUMMY_FALSE='#' |
| 31998 | else |
| 31999 | IMKAFKA_USE_DUMMY_TRUE='#' |
| 32000 | IMKAFKA_USE_DUMMY_FALSE= |
| 32001 | fi |
| 32002 | |
| 32003 | if testscip-shell system . . test. "$enable_imkafka" = "yes" -o "$enable_imkafka" = "optional" && testscip-shell system . . test. "$imkafka_use_dummy" = "no"; then |
| 32004 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "librdkafka/rdkafka.h" "ac_cv_header_librdkafka_rdkafka_h" "$ac_includes_default" |
| 32005 | if testscip-shell system . . test. "x$ac_cv_header_librdkafka_rdkafka_h" = xyes |
| 32006 | then : |
| 32007 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LIBRDKAFKA_RDKAFKA_H 1" >>confdefs.h |
| 32008 | |
| 32009 | fi |
| 32010 | |
| 32011 | |
| 32012 | # Add additional dependencies if statically linking rdkafka |
| 32013 | if testscip-shell system . . test. "x$enable_kafka_static" = "xyes"; then |
| 32014 | |
| 32015 | pkg_failed=no |
| 32016 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for liblz4" >&5 |
| 32017 | printfscip-shell system . . printf. %s "checking for liblz4... " >&6; } |
| 32018 | |
| 32019 | if testscip-shell system . . test. -n "$LIBLZ4_CFLAGS"; then |
| 32020 | pkg_cv_LIBLZ4_CFLAGS="$LIBLZ4_CFLAGS" |
| 32021 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 32022 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 32023 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblz4\""; } >&5 |
| 32024 | ($PKG_CONFIG --exists --print-errors "liblz4") 2>&5 |
| 32025 | ac_status=$? |
| 32026 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 32027 | testscip-shell system . . test. $ac_status = 0; }; then |
| 32028 | pkg_cv_LIBLZ4_CFLAGS=`$PKG_CONFIG --cflags "liblz4" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 32029 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 32030 | else |
| 32031 | pkg_failed=yes |
| 32032 | fi |
| 32033 | else |
| 32034 | pkg_failed=untried |
| 32035 | fi |
| 32036 | if testscip-shell system . . test. -n "$LIBLZ4_LIBS"; then |
| 32037 | pkg_cv_LIBLZ4_LIBS="$LIBLZ4_LIBS" |
| 32038 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 32039 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 32040 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblz4\""; } >&5 |
| 32041 | ($PKG_CONFIG --exists --print-errors "liblz4") 2>&5 |
| 32042 | ac_status=$? |
| 32043 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 32044 | testscip-shell system . . test. $ac_status = 0; }; then |
| 32045 | pkg_cv_LIBLZ4_LIBS=`$PKG_CONFIG --libs "liblz4" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 32046 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 32047 | else |
| 32048 | pkg_failed=yes |
| 32049 | fi |
| 32050 | else |
| 32051 | pkg_failed=untried |
| 32052 | fi |
| 32053 | |
| 32054 | |
| 32055 | |
| 32056 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 32057 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 32058 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 32059 | |
| 32060 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 32061 | _pkg_short_errors_supported=yes |
| 32062 | else |
| 32063 | _pkg_short_errors_supported=no |
| 32064 | fi |
| 32065 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 32066 | LIBLZ4_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblz4" 2>&1` |
| 32067 | else |
| 32068 | LIBLZ4_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblz4" 2>&1` |
| 32069 | fi |
| 32070 | # Put the nasty error message in config.log where it belongs |
| 32071 | echoscip-shell system . . echo. "$LIBLZ4_PKG_ERRORS" >&5 |
| 32072 | |
| 32073 | |
| 32074 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LZ4_compress in -llz4" >&5 |
| 32075 | printfscip-shell system . . printf. %s "checking for LZ4_compress in -llz4... " >&6; } |
| 32076 | if testscip-shell system . . test. ${ac_cv_lib_lz4_LZ4_compress+y} |
| 32077 | then : |
| 32078 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 32079 | else $as_nop |
| 32080 | ac_check_lib_save_LIBS=$LIBS |
| 32081 | LIBS="-llz4 $LIBS" |
| 32082 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 32083 | /* end confdefs.h. */ |
| 32084 | |
| 32085 | /* Override any GCC internal prototype to avoid an error. |
| 32086 | Use char because int might match the return type of a GCC |
| 32087 | builtin and then its argument prototype would still apply. */ |
| 32088 | char LZ4_compress (); |
| 32089 | int |
| 32090 | main (void) |
| 32091 | { |
| 32092 | return LZ4_compress (); |
| 32093 | ; |
| 32094 | return 0; |
| 32095 | } |
| 32096 | _ACEOF |
| 32097 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 32098 | then : |
| 32099 | ac_cv_lib_lz4_LZ4_compress=yes |
| 32100 | else $as_nop |
| 32101 | ac_cv_lib_lz4_LZ4_compress=no |
| 32102 | fi |
| 32103 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 32104 | conftest$ac_exeext conftest.$ac_ext |
| 32105 | LIBS=$ac_check_lib_save_LIBS |
| 32106 | fi |
| 32107 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lz4_LZ4_compress" >&5 |
| 32108 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_lz4_LZ4_compress" >&6; } |
| 32109 | if testscip-shell system . . test. "x$ac_cv_lib_lz4_LZ4_compress" = xyes |
| 32110 | then : |
| 32111 | |
| 32112 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: liblz4 is missing but library present, using -llz4" >&5 |
| 32113 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: liblz4 is missing but library present, using -llz4" >&2;} |
| 32114 | LIBRDKAFKA_LIBS=-llz4 |
| 32115 | |
| 32116 | else $as_nop |
| 32117 | |
| 32118 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "could not find liblz4 library" "$LINENO" 5 |
| 32119 | |
| 32120 | fi |
| 32121 | |
| 32122 | |
| 32123 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 32124 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 32125 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 32126 | |
| 32127 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LZ4_compress in -llz4" >&5 |
| 32128 | printfscip-shell system . . printf. %s "checking for LZ4_compress in -llz4... " >&6; } |
| 32129 | if testscip-shell system . . test. ${ac_cv_lib_lz4_LZ4_compress+y} |
| 32130 | then : |
| 32131 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 32132 | else $as_nop |
| 32133 | ac_check_lib_save_LIBS=$LIBS |
| 32134 | LIBS="-llz4 $LIBS" |
| 32135 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 32136 | /* end confdefs.h. */ |
| 32137 | |
| 32138 | /* Override any GCC internal prototype to avoid an error. |
| 32139 | Use char because int might match the return type of a GCC |
| 32140 | builtin and then its argument prototype would still apply. */ |
| 32141 | char LZ4_compress (); |
| 32142 | int |
| 32143 | main (void) |
| 32144 | { |
| 32145 | return LZ4_compress (); |
| 32146 | ; |
| 32147 | return 0; |
| 32148 | } |
| 32149 | _ACEOF |
| 32150 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 32151 | then : |
| 32152 | ac_cv_lib_lz4_LZ4_compress=yes |
| 32153 | else $as_nop |
| 32154 | ac_cv_lib_lz4_LZ4_compress=no |
| 32155 | fi |
| 32156 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 32157 | conftest$ac_exeext conftest.$ac_ext |
| 32158 | LIBS=$ac_check_lib_save_LIBS |
| 32159 | fi |
| 32160 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lz4_LZ4_compress" >&5 |
| 32161 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_lz4_LZ4_compress" >&6; } |
| 32162 | if testscip-shell system . . test. "x$ac_cv_lib_lz4_LZ4_compress" = xyes |
| 32163 | then : |
| 32164 | |
| 32165 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: liblz4 is missing but library present, using -llz4" >&5 |
| 32166 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: liblz4 is missing but library present, using -llz4" >&2;} |
| 32167 | LIBRDKAFKA_LIBS=-llz4 |
| 32168 | |
| 32169 | else $as_nop |
| 32170 | |
| 32171 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "could not find liblz4 library" "$LINENO" 5 |
| 32172 | |
| 32173 | fi |
| 32174 | |
| 32175 | |
| 32176 | else |
| 32177 | LIBLZ4_CFLAGS=$pkg_cv_LIBLZ4_CFLAGS |
| 32178 | LIBLZ4_LIBS=$pkg_cv_LIBLZ4_LIBS |
| 32179 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 32180 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 32181 | |
| 32182 | fi |
| 32183 | fi |
| 32184 | fi |
| 32185 | |
| 32186 | if testscip-shell system . . test. "x$enable_omkafka" = "xyes" && testscip-shell system . . test. "x$enable_imkafka" = "xyes"; then |
| 32187 | if testscip-shell system . . test. "x$enable_kafka_tests" = "xyes"; then |
| 32188 | |
| 32189 | if testscip-shell system . . test. "x$JAVAPREFIX" = x |
| 32190 | then : |
| 32191 | testscip-shell system . . test. "x$JAVAC" = x && for ac_prog in "gcj -C" guavac jikes javac |
| 32192 | do |
| 32193 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 32194 | set dummy $ac_prog; ac_word=$2 |
| 32195 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 32196 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 32197 | if testscip-shell system . . test. ${ac_cv_prog_JAVAC+y} |
| 32198 | then : |
| 32199 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 32200 | else $as_nop |
| 32201 | if testscip-shell system . . test. -n "$JAVAC"; then |
| 32202 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test. |
| 32203 | else |
| 32204 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 32205 | for as_dir in $PATH |
| 32206 | do |
| 32207 | IFS=$as_save_IFS |
| 32208 | case $as_dir in #((( |
| 32209 | '') as_dir=./ ;; |
| 32210 | */) ;; |
| 32211 | *) as_dir=$as_dir/ ;; |
| 32212 | esac |
| 32213 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 32214 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 32215 | ac_cv_prog_JAVAC="$ac_prog" |
| 32216 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 32217 | break 2 |
| 32218 | fi |
| 32219 | done |
| 32220 | done |
| 32221 | IFS=$as_save_IFS |
| 32222 | |
| 32223 | fi |
| 32224 | fi |
| 32225 | JAVAC=$ac_cv_prog_JAVAC |
| 32226 | if testscip-shell system . . test. -n "$JAVAC"; then |
| 32227 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 |
| 32228 | printfscip-shell system . . printf. "%s\n" "$JAVAC" >&6; } |
| 32229 | else |
| 32230 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 32231 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 32232 | fi |
| 32233 | |
| 32234 | |
| 32235 | testscip-shell system . . test. -n "$JAVAC" && break |
| 32236 | done |
| 32237 | |
| 32238 | else $as_nop |
| 32239 | testscip-shell system . . test. "x$JAVAC" = x && for ac_prog in "gcj -C" guavac jikes javac |
| 32240 | do |
| 32241 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 32242 | set dummy $ac_prog; ac_word=$2 |
| 32243 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 32244 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 32245 | if testscip-shell system . . test. ${ac_cv_prog_JAVAC+y} |
| 32246 | then : |
| 32247 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 32248 | else $as_nop |
| 32249 | if testscip-shell system . . test. -n "$JAVAC"; then |
| 32250 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test. |
| 32251 | else |
| 32252 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 32253 | for as_dir in $JAVAPREFIX/bin |
| 32254 | do |
| 32255 | IFS=$as_save_IFS |
| 32256 | case $as_dir in #((( |
| 32257 | '') as_dir=./ ;; |
| 32258 | */) ;; |
| 32259 | *) as_dir=$as_dir/ ;; |
| 32260 | esac |
| 32261 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 32262 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 32263 | ac_cv_prog_JAVAC="$ac_prog" |
| 32264 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 32265 | break 2 |
| 32266 | fi |
| 32267 | done |
| 32268 | done |
| 32269 | IFS=$as_save_IFS |
| 32270 | |
| 32271 | fi |
| 32272 | fi |
| 32273 | JAVAC=$ac_cv_prog_JAVAC |
| 32274 | if testscip-shell system . . test. -n "$JAVAC"; then |
| 32275 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 |
| 32276 | printfscip-shell system . . printf. "%s\n" "$JAVAC" >&6; } |
| 32277 | else |
| 32278 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 32279 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 32280 | fi |
| 32281 | |
| 32282 | |
| 32283 | testscip-shell system . . test. -n "$JAVAC" && break |
| 32284 | done |
| 32285 | |
| 32286 | fi |
| 32287 | testscip-shell system . . test. "x$JAVAC" = x && as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 |
| 32288 | |
| 32289 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5 |
| 32290 | printfscip-shell system . . printf. %s "checking if $JAVAC works... " >&6; } |
| 32291 | if testscip-shell system . . test. ${ac_cv_prog_javac_works+y} |
| 32292 | then : |
| 32293 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 32294 | else $as_nop |
| 32295 | |
| 32296 | JAVA_TEST=Test.java |
| 32297 | CLASS_TEST=Test.class |
| 32298 | catscip-shell system . . cat. << \EOF > $JAVA_TEST |
| 32299 | /* #line 32299 "configure" */ |
| 32300 | public class Test { |
| 32301 | } |
| 32302 | EOF |
| 32303 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' |
| 32304 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 |
| 32305 | (eval $ac_try) 2>&5 |
| 32306 | ac_status=$? |
| 32307 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 32308 | testscip-shell system . . test. $ac_status = 0; }; } >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 32309 | ac_cv_prog_javac_works=yes |
| 32310 | else |
| 32311 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 |
| 32312 | echoscip-shell system . . echo. "configure: failed program was:" >&5 |
| 32313 | catscip-shell system . . cat. $JAVA_TEST >&5 |
| 32314 | fi |
| 32315 | rmscip-shell system . . rm. -f $JAVA_TEST $CLASS_TEST |
| 32316 | |
| 32317 | fi |
| 32318 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5 |
| 32319 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_javac_works" >&6; } |
| 32320 | |
| 32321 | #we don't need javac, but macro documentation says JAVAC *must* be checked before JAVA |
| 32322 | |
| 32323 | if testscip-shell system . . test. "x$JAVAPREFIX" = x |
| 32324 | then : |
| 32325 | testscip-shell system . . test. x$JAVA = x && for ac_prog in kaffe java |
| 32326 | do |
| 32327 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 32328 | set dummy $ac_prog; ac_word=$2 |
| 32329 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 32330 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 32331 | if testscip-shell system . . test. ${ac_cv_prog_JAVA+y} |
| 32332 | then : |
| 32333 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 32334 | else $as_nop |
| 32335 | if testscip-shell system . . test. -n "$JAVA"; then |
| 32336 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test. |
| 32337 | else |
| 32338 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 32339 | for as_dir in $PATH |
| 32340 | do |
| 32341 | IFS=$as_save_IFS |
| 32342 | case $as_dir in #((( |
| 32343 | '') as_dir=./ ;; |
| 32344 | */) ;; |
| 32345 | *) as_dir=$as_dir/ ;; |
| 32346 | esac |
| 32347 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 32348 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 32349 | ac_cv_prog_JAVA="$ac_prog" |
| 32350 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 32351 | break 2 |
| 32352 | fi |
| 32353 | done |
| 32354 | done |
| 32355 | IFS=$as_save_IFS |
| 32356 | |
| 32357 | fi |
| 32358 | fi |
| 32359 | JAVA=$ac_cv_prog_JAVA |
| 32360 | if testscip-shell system . . test. -n "$JAVA"; then |
| 32361 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 |
| 32362 | printfscip-shell system . . printf. "%s\n" "$JAVA" >&6; } |
| 32363 | else |
| 32364 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 32365 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 32366 | fi |
| 32367 | |
| 32368 | |
| 32369 | testscip-shell system . . test. -n "$JAVA" && break |
| 32370 | done |
| 32371 | |
| 32372 | else $as_nop |
| 32373 | testscip-shell system . . test. x$JAVA = x && for ac_prog in kaffe java |
| 32374 | do |
| 32375 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 32376 | set dummy $ac_prog; ac_word=$2 |
| 32377 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 32378 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 32379 | if testscip-shell system . . test. ${ac_cv_prog_JAVA+y} |
| 32380 | then : |
| 32381 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 32382 | else $as_nop |
| 32383 | if testscip-shell system . . test. -n "$JAVA"; then |
| 32384 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test. |
| 32385 | else |
| 32386 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 32387 | for as_dir in $JAVAPREFIX/bin |
| 32388 | do |
| 32389 | IFS=$as_save_IFS |
| 32390 | case $as_dir in #((( |
| 32391 | '') as_dir=./ ;; |
| 32392 | */) ;; |
| 32393 | *) as_dir=$as_dir/ ;; |
| 32394 | esac |
| 32395 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 32396 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 32397 | ac_cv_prog_JAVA="$ac_prog" |
| 32398 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 32399 | break 2 |
| 32400 | fi |
| 32401 | done |
| 32402 | done |
| 32403 | IFS=$as_save_IFS |
| 32404 | |
| 32405 | fi |
| 32406 | fi |
| 32407 | JAVA=$ac_cv_prog_JAVA |
| 32408 | if testscip-shell system . . test. -n "$JAVA"; then |
| 32409 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 |
| 32410 | printfscip-shell system . . printf. "%s\n" "$JAVA" >&6; } |
| 32411 | else |
| 32412 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 32413 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 32414 | fi |
| 32415 | |
| 32416 | |
| 32417 | testscip-shell system . . test. -n "$JAVA" && break |
| 32418 | done |
| 32419 | |
| 32420 | fi |
| 32421 | testscip-shell system . . test. x$JAVA = x && as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5 |
| 32422 | |
| 32423 | if testscip-shell system . . test. x$ac_cv_prog_javac_works = xno; then |
| 32424 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5 |
| 32425 | fi |
| 32426 | if testscip-shell system . . test. x$ac_cv_prog_javac_works = x; then |
| 32427 | |
| 32428 | if testscip-shell system . . test. "x$JAVAPREFIX" = x |
| 32429 | then : |
| 32430 | testscip-shell system . . test. "x$JAVAC" = x && for ac_prog in "gcj -C" guavac jikes javac |
| 32431 | do |
| 32432 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 32433 | set dummy $ac_prog; ac_word=$2 |
| 32434 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 32435 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 32436 | if testscip-shell system . . test. ${ac_cv_prog_JAVAC+y} |
| 32437 | then : |
| 32438 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 32439 | else $as_nop |
| 32440 | if testscip-shell system . . test. -n "$JAVAC"; then |
| 32441 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test. |
| 32442 | else |
| 32443 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 32444 | for as_dir in $PATH |
| 32445 | do |
| 32446 | IFS=$as_save_IFS |
| 32447 | case $as_dir in #((( |
| 32448 | '') as_dir=./ ;; |
| 32449 | */) ;; |
| 32450 | *) as_dir=$as_dir/ ;; |
| 32451 | esac |
| 32452 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 32453 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 32454 | ac_cv_prog_JAVAC="$ac_prog" |
| 32455 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 32456 | break 2 |
| 32457 | fi |
| 32458 | done |
| 32459 | done |
| 32460 | IFS=$as_save_IFS |
| 32461 | |
| 32462 | fi |
| 32463 | fi |
| 32464 | JAVAC=$ac_cv_prog_JAVAC |
| 32465 | if testscip-shell system . . test. -n "$JAVAC"; then |
| 32466 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 |
| 32467 | printfscip-shell system . . printf. "%s\n" "$JAVAC" >&6; } |
| 32468 | else |
| 32469 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 32470 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 32471 | fi |
| 32472 | |
| 32473 | |
| 32474 | testscip-shell system . . test. -n "$JAVAC" && break |
| 32475 | done |
| 32476 | |
| 32477 | else $as_nop |
| 32478 | testscip-shell system . . test. "x$JAVAC" = x && for ac_prog in "gcj -C" guavac jikes javac |
| 32479 | do |
| 32480 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 32481 | set dummy $ac_prog; ac_word=$2 |
| 32482 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 32483 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 32484 | if testscip-shell system . . test. ${ac_cv_prog_JAVAC+y} |
| 32485 | then : |
| 32486 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 32487 | else $as_nop |
| 32488 | if testscip-shell system . . test. -n "$JAVAC"; then |
| 32489 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test. |
| 32490 | else |
| 32491 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 32492 | for as_dir in $JAVAPREFIX/bin |
| 32493 | do |
| 32494 | IFS=$as_save_IFS |
| 32495 | case $as_dir in #((( |
| 32496 | '') as_dir=./ ;; |
| 32497 | */) ;; |
| 32498 | *) as_dir=$as_dir/ ;; |
| 32499 | esac |
| 32500 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 32501 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 32502 | ac_cv_prog_JAVAC="$ac_prog" |
| 32503 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 32504 | break 2 |
| 32505 | fi |
| 32506 | done |
| 32507 | done |
| 32508 | IFS=$as_save_IFS |
| 32509 | |
| 32510 | fi |
| 32511 | fi |
| 32512 | JAVAC=$ac_cv_prog_JAVAC |
| 32513 | if testscip-shell system . . test. -n "$JAVAC"; then |
| 32514 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 |
| 32515 | printfscip-shell system . . printf. "%s\n" "$JAVAC" >&6; } |
| 32516 | else |
| 32517 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 32518 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 32519 | fi |
| 32520 | |
| 32521 | |
| 32522 | testscip-shell system . . test. -n "$JAVAC" && break |
| 32523 | done |
| 32524 | |
| 32525 | fi |
| 32526 | testscip-shell system . . test. "x$JAVAC" = x && as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 |
| 32527 | |
| 32528 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5 |
| 32529 | printfscip-shell system . . printf. %s "checking if $JAVAC works... " >&6; } |
| 32530 | if testscip-shell system . . test. ${ac_cv_prog_javac_works+y} |
| 32531 | then : |
| 32532 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 32533 | else $as_nop |
| 32534 | |
| 32535 | JAVA_TEST=Test.java |
| 32536 | CLASS_TEST=Test.class |
| 32537 | catscip-shell system . . cat. << \EOF > $JAVA_TEST |
| 32538 | /* #line 32538 "configure" */ |
| 32539 | public class Test { |
| 32540 | } |
| 32541 | EOF |
| 32542 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' |
| 32543 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 |
| 32544 | (eval $ac_try) 2>&5 |
| 32545 | ac_status=$? |
| 32546 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 32547 | testscip-shell system . . test. $ac_status = 0; }; } >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 32548 | ac_cv_prog_javac_works=yes |
| 32549 | else |
| 32550 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 |
| 32551 | echoscip-shell system . . echo. "configure: failed program was:" >&5 |
| 32552 | catscip-shell system . . cat. $JAVA_TEST >&5 |
| 32553 | fi |
| 32554 | rmscip-shell system . . rm. -f $JAVA_TEST $CLASS_TEST |
| 32555 | |
| 32556 | fi |
| 32557 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5 |
| 32558 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_javac_works" >&6; } |
| 32559 | |
| 32560 | |
| 32561 | fi |
| 32562 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5 |
| 32563 | printfscip-shell system . . printf. %s "checking if $JAVA works... " >&6; } |
| 32564 | if testscip-shell system . . test. ${ac_cv_prog_java_works+y} |
| 32565 | then : |
| 32566 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 32567 | else $as_nop |
| 32568 | |
| 32569 | JAVA_TEST=Test.java |
| 32570 | CLASS_TEST=Test.class |
| 32571 | TEST=Test |
| 32572 | catscip-shell system . . cat. << \EOF > $JAVA_TEST |
| 32573 | /* [#]line 32573 "configure" */ |
| 32574 | public class Test { |
| 32575 | public static void main (String args[]) { |
| 32576 | System.exit (0); |
| 32577 | } } |
| 32578 | EOF |
| 32579 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' |
| 32580 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 |
| 32581 | (eval $ac_try) 2>&5 |
| 32582 | ac_status=$? |
| 32583 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 32584 | testscip-shell system . . test. $ac_status = 0; }; } && testscip-shell system . . test. -s $CLASS_TEST; then |
| 32585 | : |
| 32586 | else |
| 32587 | echoscip-shell system . . echo. "configure: failed program was:" >&5 |
| 32588 | catscip-shell system . . cat. $JAVA_TEST >&5 |
| 32589 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 |
| 32590 | fi |
| 32591 | if { ac_try='$JAVA -classpath . $JAVAFLAGS $TEST' |
| 32592 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 |
| 32593 | (eval $ac_try) 2>&5 |
| 32594 | ac_status=$? |
| 32595 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 32596 | testscip-shell system . . test. $ac_status = 0; }; } >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 32597 | ac_cv_prog_java_works=yes |
| 32598 | else |
| 32599 | echoscip-shell system . . echo. "configure: failed program was:" >&5 |
| 32600 | catscip-shell system . . cat. $JAVA_TEST >&5 |
| 32601 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 |
| 32602 | fi |
| 32603 | rmscip-shell system . . rm. -f $JAVA_TEST $CLASS_TEST |
| 32604 | |
| 32605 | fi |
| 32606 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5 |
| 32607 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_java_works" >&6; } |
| 32608 | |
| 32609 | |
| 32610 | |
| 32611 | # Extract the first word of "wget", so it can be a program name with args. |
| 32612 | set dummy wget; ac_word=$2 |
| 32613 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 32614 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 32615 | if testscip-shell system . . test. ${ac_cv_prog_WGET+y} |
| 32616 | then : |
| 32617 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 32618 | else $as_nop |
| 32619 | if testscip-shell system . . test. -n "$WGET"; then |
| 32620 | ac_cv_prog_WGET="$WGET" # Let the user override the test. |
| 32621 | else |
| 32622 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 32623 | for as_dir in $PATH |
| 32624 | do |
| 32625 | IFS=$as_save_IFS |
| 32626 | case $as_dir in #((( |
| 32627 | '') as_dir=./ ;; |
| 32628 | */) ;; |
| 32629 | *) as_dir=$as_dir/ ;; |
| 32630 | esac |
| 32631 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 32632 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 32633 | ac_cv_prog_WGET="yes" |
| 32634 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 32635 | break 2 |
| 32636 | fi |
| 32637 | done |
| 32638 | done |
| 32639 | IFS=$as_save_IFS |
| 32640 | |
| 32641 | testscip-shell system . . test. -z "$ac_cv_prog_WGET" && ac_cv_prog_WGET="no" |
| 32642 | fi |
| 32643 | fi |
| 32644 | WGET=$ac_cv_prog_WGET |
| 32645 | if testscip-shell system . . test. -n "$WGET"; then |
| 32646 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5 |
| 32647 | printfscip-shell system . . printf. "%s\n" "$WGET" >&6; } |
| 32648 | else |
| 32649 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 32650 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 32651 | fi |
| 32652 | |
| 32653 | |
| 32654 | if testscip-shell system . . test. "x${WGET}" = "xno"; then |
| 32655 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 32656 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 32657 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "wget, which is a kafka-tests dependency, not found |
| 32658 | See \`config.log' for more details" "$LINENO" 5; } |
| 32659 | fi |
| 32660 | # Extract the first word of "readlink", so it can be a program name with args. |
| 32661 | set dummy readlink; ac_word=$2 |
| 32662 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 32663 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 32664 | if testscip-shell system . . test. ${ac_cv_prog_READLINK+y} |
| 32665 | then : |
| 32666 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 32667 | else $as_nop |
| 32668 | if testscip-shell system . . test. -n "$READLINK"; then |
| 32669 | ac_cv_prog_READLINK="$READLINK" # Let the user override the test. |
| 32670 | else |
| 32671 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 32672 | for as_dir in $PATH |
| 32673 | do |
| 32674 | IFS=$as_save_IFS |
| 32675 | case $as_dir in #((( |
| 32676 | '') as_dir=./ ;; |
| 32677 | */) ;; |
| 32678 | *) as_dir=$as_dir/ ;; |
| 32679 | esac |
| 32680 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 32681 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 32682 | ac_cv_prog_READLINK="yes" |
| 32683 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 32684 | break 2 |
| 32685 | fi |
| 32686 | done |
| 32687 | done |
| 32688 | IFS=$as_save_IFS |
| 32689 | |
| 32690 | testscip-shell system . . test. -z "$ac_cv_prog_READLINK" && ac_cv_prog_READLINK="no" |
| 32691 | fi |
| 32692 | fi |
| 32693 | READLINK=$ac_cv_prog_READLINK |
| 32694 | if testscip-shell system . . test. -n "$READLINK"; then |
| 32695 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READLINK" >&5 |
| 32696 | printfscip-shell system . . printf. "%s\n" "$READLINK" >&6; } |
| 32697 | else |
| 32698 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 32699 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 32700 | fi |
| 32701 | |
| 32702 | |
| 32703 | if testscip-shell system . . test. "x${READLINK}" = "xno"; then |
| 32704 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 32705 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 32706 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "readlink, which is a kafka-tests dependency, not found |
| 32707 | See \`config.log' for more details" "$LINENO" 5; } |
| 32708 | fi |
| 32709 | fi |
| 32710 | else |
| 32711 | if testscip-shell system . . test. "x$enable_kafka_tests" = "xyes"; then |
| 32712 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: kafka-tests can not be enabled without omkafka and imkafka support. Disabling enable_kafka_tests..." >&5 |
| 32713 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: kafka-tests can not be enabled without omkafka and imkafka support. Disabling enable_kafka_tests..." >&2;} |
| 32714 | enable_kafka_tests="no" |
| 32715 | fi |
| 32716 | fi |
| 32717 | if testscip-shell system . . test. x$enable_omkafka = xyes -o x$enable_omkafka = xoptional; then |
| 32718 | ENABLE_OMKAFKA_TRUE= |
| 32719 | ENABLE_OMKAFKA_FALSE='#' |
| 32720 | else |
| 32721 | ENABLE_OMKAFKA_TRUE='#' |
| 32722 | ENABLE_OMKAFKA_FALSE= |
| 32723 | fi |
| 32724 | |
| 32725 | if testscip-shell system . . test. x$enable_imkafka = xyes -o x$enable_imkafka = xoptional; then |
| 32726 | ENABLE_IMKAFKA_TRUE= |
| 32727 | ENABLE_IMKAFKA_FALSE='#' |
| 32728 | else |
| 32729 | ENABLE_IMKAFKA_TRUE='#' |
| 32730 | ENABLE_IMKAFKA_FALSE= |
| 32731 | fi |
| 32732 | |
| 32733 | |
| 32734 | # omazuredce support for output module |
| 32735 | # Check whether --enable-omazuredce was given. |
| 32736 | if testscip-shell system . . test. ${enable_omazuredce+y} |
| 32737 | then : |
| 32738 | enableval=$enable_omazuredce; case "${enableval}" in |
| 32739 | yes) enable_omazuredce="yes" ;; |
| 32740 | no) enable_omazuredce="no" ;; |
| 32741 | optional) enable_omazuredce="optional" ;; |
| 32742 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omazuredce" "$LINENO" 5 ;; |
| 32743 | esac |
| 32744 | else $as_nop |
| 32745 | enable_omazuredce=no |
| 32746 | |
| 32747 | fi |
| 32748 | |
| 32749 | if testscip-shell system . . test. "x$enable_omazuredce" = "xyes" -o "x$enable_omazuredce" = "xoptional"; then |
| 32750 | |
| 32751 | pkg_failed=no |
| 32752 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5 |
| 32753 | printfscip-shell system . . printf. %s "checking for libcurl... " >&6; } |
| 32754 | |
| 32755 | if testscip-shell system . . test. -n "$CURL_CFLAGS"; then |
| 32756 | pkg_cv_CURL_CFLAGS="$CURL_CFLAGS" |
| 32757 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 32758 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 32759 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 |
| 32760 | ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
| 32761 | ac_status=$? |
| 32762 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 32763 | testscip-shell system . . test. $ac_status = 0; }; then |
| 32764 | pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 32765 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 32766 | else |
| 32767 | pkg_failed=yes |
| 32768 | fi |
| 32769 | else |
| 32770 | pkg_failed=untried |
| 32771 | fi |
| 32772 | if testscip-shell system . . test. -n "$CURL_LIBS"; then |
| 32773 | pkg_cv_CURL_LIBS="$CURL_LIBS" |
| 32774 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 32775 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 32776 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 |
| 32777 | ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
| 32778 | ac_status=$? |
| 32779 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 32780 | testscip-shell system . . test. $ac_status = 0; }; then |
| 32781 | pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 32782 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 32783 | else |
| 32784 | pkg_failed=yes |
| 32785 | fi |
| 32786 | else |
| 32787 | pkg_failed=untried |
| 32788 | fi |
| 32789 | |
| 32790 | |
| 32791 | |
| 32792 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 32793 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 32794 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 32795 | |
| 32796 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 32797 | _pkg_short_errors_supported=yes |
| 32798 | else |
| 32799 | _pkg_short_errors_supported=no |
| 32800 | fi |
| 32801 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 32802 | CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1` |
| 32803 | else |
| 32804 | CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1` |
| 32805 | fi |
| 32806 | # Put the nasty error message in config.log where it belongs |
| 32807 | echoscip-shell system . . echo. "$CURL_PKG_ERRORS" >&5 |
| 32808 | |
| 32809 | |
| 32810 | if testscip-shell system . . test. x$enable_omazuredce = xyes |
| 32811 | then : |
| 32812 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 32813 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 32814 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "omazuredce requires libcurl |
| 32815 | See \`config.log' for more details" "$LINENO" 5; } |
| 32816 | |
| 32817 | fi |
| 32818 | enable_omazuredce="no" |
| 32819 | |
| 32820 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 32821 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 32822 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 32823 | |
| 32824 | if testscip-shell system . . test. x$enable_omazuredce = xyes |
| 32825 | then : |
| 32826 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 32827 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 32828 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "omazuredce requires libcurl |
| 32829 | See \`config.log' for more details" "$LINENO" 5; } |
| 32830 | |
| 32831 | fi |
| 32832 | enable_omazuredce="no" |
| 32833 | |
| 32834 | else |
| 32835 | CURL_CFLAGS=$pkg_cv_CURL_CFLAGS |
| 32836 | CURL_LIBS=$pkg_cv_CURL_LIBS |
| 32837 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 32838 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 32839 | |
| 32840 | fi |
| 32841 | fi |
| 32842 | if testscip-shell system . . test. x$enable_omazuredce = xyes -o x$enable_omazuredce = xoptional; then |
| 32843 | ENABLE_OMAZUREDCE_TRUE= |
| 32844 | ENABLE_OMAZUREDCE_FALSE='#' |
| 32845 | else |
| 32846 | ENABLE_OMAZUREDCE_TRUE='#' |
| 32847 | ENABLE_OMAZUREDCE_FALSE= |
| 32848 | fi |
| 32849 | |
| 32850 | |
| 32851 | # omazureeventhubs support for output module |
| 32852 | # Check whether --enable-omazureeventhubs was given. |
| 32853 | if testscip-shell system . . test. ${enable_omazureeventhubs+y} |
| 32854 | then : |
| 32855 | enableval=$enable_omazureeventhubs; case "${enableval}" in |
| 32856 | yes) enable_omazureeventhubs="yes" ;; |
| 32857 | no) enable_omazureeventhubs="no" ;; |
| 32858 | optional) enable_omazureeventhubs="optional" ;; |
| 32859 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omazureeventhubs" "$LINENO" 5 ;; |
| 32860 | esac |
| 32861 | else $as_nop |
| 32862 | enable_omazureeventhubs=no |
| 32863 | |
| 32864 | fi |
| 32865 | |
| 32866 | |
| 32867 | # PROTON PROTOCOL SUPPORT for omazureeventhubs |
| 32868 | # uses qpid-proton library |
| 32869 | if testscip-shell system . . test. "x$enable_omazureeventhubs" = "xyes"; then |
| 32870 | |
| 32871 | pkg_failed=no |
| 32872 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libqpid-proton >= 0.13" >&5 |
| 32873 | printfscip-shell system . . printf. %s "checking for libqpid-proton >= 0.13... " >&6; } |
| 32874 | |
| 32875 | if testscip-shell system . . test. -n "$PROTON_CFLAGS"; then |
| 32876 | pkg_cv_PROTON_CFLAGS="$PROTON_CFLAGS" |
| 32877 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 32878 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 32879 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqpid-proton >= 0.13\""; } >&5 |
| 32880 | ($PKG_CONFIG --exists --print-errors "libqpid-proton >= 0.13") 2>&5 |
| 32881 | ac_status=$? |
| 32882 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 32883 | testscip-shell system . . test. $ac_status = 0; }; then |
| 32884 | pkg_cv_PROTON_CFLAGS=`$PKG_CONFIG --cflags "libqpid-proton >= 0.13" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 32885 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 32886 | else |
| 32887 | pkg_failed=yes |
| 32888 | fi |
| 32889 | else |
| 32890 | pkg_failed=untried |
| 32891 | fi |
| 32892 | if testscip-shell system . . test. -n "$PROTON_LIBS"; then |
| 32893 | pkg_cv_PROTON_LIBS="$PROTON_LIBS" |
| 32894 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 32895 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 32896 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqpid-proton >= 0.13\""; } >&5 |
| 32897 | ($PKG_CONFIG --exists --print-errors "libqpid-proton >= 0.13") 2>&5 |
| 32898 | ac_status=$? |
| 32899 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 32900 | testscip-shell system . . test. $ac_status = 0; }; then |
| 32901 | pkg_cv_PROTON_LIBS=`$PKG_CONFIG --libs "libqpid-proton >= 0.13" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 32902 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 32903 | else |
| 32904 | pkg_failed=yes |
| 32905 | fi |
| 32906 | else |
| 32907 | pkg_failed=untried |
| 32908 | fi |
| 32909 | |
| 32910 | |
| 32911 | |
| 32912 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 32913 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 32914 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 32915 | |
| 32916 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 32917 | _pkg_short_errors_supported=yes |
| 32918 | else |
| 32919 | _pkg_short_errors_supported=no |
| 32920 | fi |
| 32921 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 32922 | PROTON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libqpid-proton >= 0.13" 2>&1` |
| 32923 | else |
| 32924 | PROTON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libqpid-proton >= 0.13" 2>&1` |
| 32925 | fi |
| 32926 | # Put the nasty error message in config.log where it belongs |
| 32927 | echoscip-shell system . . echo. "$PROTON_PKG_ERRORS" >&5 |
| 32928 | |
| 32929 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libqpid-proton >= 0.13) were not met: |
| 32930 | |
| 32931 | $PROTON_PKG_ERRORS |
| 32932 | |
| 32933 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 32934 | installed software in a non-standard prefix. |
| 32935 | |
| 32936 | Alternatively, you may set the environment variables PROTON_CFLAGS |
| 32937 | and PROTON_LIBS to avoid the need to call pkg-config. |
| 32938 | See the pkg-config man page for more details." "$LINENO" 5 |
| 32939 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 32940 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 32941 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 32942 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 32943 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 32944 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 32945 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 32946 | path to pkg-config. |
| 32947 | |
| 32948 | Alternatively, you may set the environment variables PROTON_CFLAGS |
| 32949 | and PROTON_LIBS to avoid the need to call pkg-config. |
| 32950 | See the pkg-config man page for more details. |
| 32951 | |
| 32952 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 32953 | See \`config.log' for more details" "$LINENO" 5; } |
| 32954 | else |
| 32955 | PROTON_CFLAGS=$pkg_cv_PROTON_CFLAGS |
| 32956 | PROTON_LIBS=$pkg_cv_PROTON_LIBS |
| 32957 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 32958 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 32959 | |
| 32960 | fi |
| 32961 | |
| 32962 | |
| 32963 | fi |
| 32964 | if testscip-shell system . . test. "x$enable_omazureeventhubs" = "xyes"; then |
| 32965 | |
| 32966 | pkg_failed=no |
| 32967 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libqpid-proton-proactor >= 0.13" >&5 |
| 32968 | printfscip-shell system . . printf. %s "checking for libqpid-proton-proactor >= 0.13... " >&6; } |
| 32969 | |
| 32970 | if testscip-shell system . . test. -n "$PROTON_PROACTOR_CFLAGS"; then |
| 32971 | pkg_cv_PROTON_PROACTOR_CFLAGS="$PROTON_PROACTOR_CFLAGS" |
| 32972 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 32973 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 32974 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqpid-proton-proactor >= 0.13\""; } >&5 |
| 32975 | ($PKG_CONFIG --exists --print-errors "libqpid-proton-proactor >= 0.13") 2>&5 |
| 32976 | ac_status=$? |
| 32977 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 32978 | testscip-shell system . . test. $ac_status = 0; }; then |
| 32979 | pkg_cv_PROTON_PROACTOR_CFLAGS=`$PKG_CONFIG --cflags "libqpid-proton-proactor >= 0.13" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 32980 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 32981 | else |
| 32982 | pkg_failed=yes |
| 32983 | fi |
| 32984 | else |
| 32985 | pkg_failed=untried |
| 32986 | fi |
| 32987 | if testscip-shell system . . test. -n "$PROTON_PROACTOR_LIBS"; then |
| 32988 | pkg_cv_PROTON_PROACTOR_LIBS="$PROTON_PROACTOR_LIBS" |
| 32989 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 32990 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 32991 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqpid-proton-proactor >= 0.13\""; } >&5 |
| 32992 | ($PKG_CONFIG --exists --print-errors "libqpid-proton-proactor >= 0.13") 2>&5 |
| 32993 | ac_status=$? |
| 32994 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 32995 | testscip-shell system . . test. $ac_status = 0; }; then |
| 32996 | pkg_cv_PROTON_PROACTOR_LIBS=`$PKG_CONFIG --libs "libqpid-proton-proactor >= 0.13" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 32997 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 32998 | else |
| 32999 | pkg_failed=yes |
| 33000 | fi |
| 33001 | else |
| 33002 | pkg_failed=untried |
| 33003 | fi |
| 33004 | |
| 33005 | |
| 33006 | |
| 33007 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 33008 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33009 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33010 | |
| 33011 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 33012 | _pkg_short_errors_supported=yes |
| 33013 | else |
| 33014 | _pkg_short_errors_supported=no |
| 33015 | fi |
| 33016 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 33017 | PROTON_PROACTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libqpid-proton-proactor >= 0.13" 2>&1` |
| 33018 | else |
| 33019 | PROTON_PROACTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libqpid-proton-proactor >= 0.13" 2>&1` |
| 33020 | fi |
| 33021 | # Put the nasty error message in config.log where it belongs |
| 33022 | echoscip-shell system . . echo. "$PROTON_PROACTOR_PKG_ERRORS" >&5 |
| 33023 | |
| 33024 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libqpid-proton-proactor >= 0.13) were not met: |
| 33025 | |
| 33026 | $PROTON_PROACTOR_PKG_ERRORS |
| 33027 | |
| 33028 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 33029 | installed software in a non-standard prefix. |
| 33030 | |
| 33031 | Alternatively, you may set the environment variables PROTON_PROACTOR_CFLAGS |
| 33032 | and PROTON_PROACTOR_LIBS to avoid the need to call pkg-config. |
| 33033 | See the pkg-config man page for more details." "$LINENO" 5 |
| 33034 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 33035 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33036 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33037 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 33038 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 33039 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 33040 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 33041 | path to pkg-config. |
| 33042 | |
| 33043 | Alternatively, you may set the environment variables PROTON_PROACTOR_CFLAGS |
| 33044 | and PROTON_PROACTOR_LIBS to avoid the need to call pkg-config. |
| 33045 | See the pkg-config man page for more details. |
| 33046 | |
| 33047 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 33048 | See \`config.log' for more details" "$LINENO" 5; } |
| 33049 | else |
| 33050 | PROTON_PROACTOR_CFLAGS=$pkg_cv_PROTON_PROACTOR_CFLAGS |
| 33051 | PROTON_PROACTOR_LIBS=$pkg_cv_PROTON_PROACTOR_LIBS |
| 33052 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 33053 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 33054 | |
| 33055 | fi |
| 33056 | |
| 33057 | |
| 33058 | |
| 33059 | # Proton requires OpenSSL for SSL/TLS support. Ensure OpenSSL is available. |
| 33060 | # If OPENSSL_LIBS is not already set (from --enable-openssl), detect it now. |
| 33061 | if testscip-shell system . . test. "x$OPENSSL_LIBS" = "x"; then |
| 33062 | |
| 33063 | pkg_failed=no |
| 33064 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5 |
| 33065 | printfscip-shell system . . printf. %s "checking for openssl... " >&6; } |
| 33066 | |
| 33067 | if testscip-shell system . . test. -n "$OPENSSL_CFLAGS"; then |
| 33068 | pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS" |
| 33069 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 33070 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 33071 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5 |
| 33072 | ($PKG_CONFIG --exists --print-errors "openssl") 2>&5 |
| 33073 | ac_status=$? |
| 33074 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 33075 | testscip-shell system . . test. $ac_status = 0; }; then |
| 33076 | pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 33077 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 33078 | else |
| 33079 | pkg_failed=yes |
| 33080 | fi |
| 33081 | else |
| 33082 | pkg_failed=untried |
| 33083 | fi |
| 33084 | if testscip-shell system . . test. -n "$OPENSSL_LIBS"; then |
| 33085 | pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS" |
| 33086 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 33087 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 33088 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5 |
| 33089 | ($PKG_CONFIG --exists --print-errors "openssl") 2>&5 |
| 33090 | ac_status=$? |
| 33091 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 33092 | testscip-shell system . . test. $ac_status = 0; }; then |
| 33093 | pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 33094 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 33095 | else |
| 33096 | pkg_failed=yes |
| 33097 | fi |
| 33098 | else |
| 33099 | pkg_failed=untried |
| 33100 | fi |
| 33101 | |
| 33102 | |
| 33103 | |
| 33104 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 33105 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33106 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33107 | |
| 33108 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 33109 | _pkg_short_errors_supported=yes |
| 33110 | else |
| 33111 | _pkg_short_errors_supported=no |
| 33112 | fi |
| 33113 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 33114 | OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl" 2>&1` |
| 33115 | else |
| 33116 | OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl" 2>&1` |
| 33117 | fi |
| 33118 | # Put the nasty error message in config.log where it belongs |
| 33119 | echoscip-shell system . . echo. "$OPENSSL_PKG_ERRORS" >&5 |
| 33120 | |
| 33121 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (openssl) were not met: |
| 33122 | |
| 33123 | $OPENSSL_PKG_ERRORS |
| 33124 | |
| 33125 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 33126 | installed software in a non-standard prefix. |
| 33127 | |
| 33128 | Alternatively, you may set the environment variables OPENSSL_CFLAGS |
| 33129 | and OPENSSL_LIBS to avoid the need to call pkg-config. |
| 33130 | See the pkg-config man page for more details." "$LINENO" 5 |
| 33131 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 33132 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33133 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33134 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 33135 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 33136 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 33137 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 33138 | path to pkg-config. |
| 33139 | |
| 33140 | Alternatively, you may set the environment variables OPENSSL_CFLAGS |
| 33141 | and OPENSSL_LIBS to avoid the need to call pkg-config. |
| 33142 | See the pkg-config man page for more details. |
| 33143 | |
| 33144 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 33145 | See \`config.log' for more details" "$LINENO" 5; } |
| 33146 | else |
| 33147 | OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS |
| 33148 | OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS |
| 33149 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 33150 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 33151 | |
| 33152 | fi |
| 33153 | fi |
| 33154 | |
| 33155 | fi |
| 33156 | if testscip-shell system . . test. x$enable_omazureeventhubs = xyes; then |
| 33157 | ENABLE_OMAZUREEVENTHUBS_TRUE= |
| 33158 | ENABLE_OMAZUREEVENTHUBS_FALSE='#' |
| 33159 | else |
| 33160 | ENABLE_OMAZUREEVENTHUBS_TRUE='#' |
| 33161 | ENABLE_OMAZUREEVENTHUBS_FALSE= |
| 33162 | fi |
| 33163 | |
| 33164 | # END PROTON |
| 33165 | |
| 33166 | if testscip-shell system . . test. "x$enable_omazureeventhubs" = "xyes"; then |
| 33167 | if testscip-shell system . . test. "x$enable_omazure_tests" = "xyes"; then |
| 33168 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: omazureveenthubs: TEST Suite enabled, requires Azure Environment variables!" >&5 |
| 33169 | printfscip-shell system . . printf. "%s\n" "$as_me: omazureveenthubs: TEST Suite enabled, requires Azure Environment variables!" >&6;} |
| 33170 | fi |
| 33171 | else |
| 33172 | if testscip-shell system . . test. "x$enable_omazure_tests" = "xyes"; then |
| 33173 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Omazureeventhubs Tests can not be enabled omazureveenthubs support. Disabling enable_omazure_tests..." >&5 |
| 33174 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: Omazureeventhubs Tests can not be enabled omazureveenthubs support. Disabling enable_omazure_tests..." >&2;} |
| 33175 | enable_omazure_tests="no" |
| 33176 | fi |
| 33177 | fi |
| 33178 | |
| 33179 | # Static QPID-Proton support? |
| 33180 | # Check whether --enable-qpidproton_static was given. |
| 33181 | if testscip-shell system . . test. ${enable_qpidproton_static+y} |
| 33182 | then : |
| 33183 | enableval=$enable_qpidproton_static; case "${enableval}" in |
| 33184 | yes) enable_qpidproton_static="yes" ;; |
| 33185 | no) enable_qpidproton_static="no" ;; |
| 33186 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-qpidproton_static" "$LINENO" 5 ;; |
| 33187 | esac |
| 33188 | else $as_nop |
| 33189 | enable_qpidproton_static=no |
| 33190 | |
| 33191 | fi |
| 33192 | |
| 33193 | if testscip-shell system . . test. x$enable_qpidproton_static = xyes; then |
| 33194 | ENABLE_QPIDPROTON_STATIC_TRUE= |
| 33195 | ENABLE_QPIDPROTON_STATIC_FALSE='#' |
| 33196 | else |
| 33197 | ENABLE_QPIDPROTON_STATIC_TRUE='#' |
| 33198 | ENABLE_QPIDPROTON_STATIC_FALSE= |
| 33199 | fi |
| 33200 | |
| 33201 | |
| 33202 | #MONGODB SUPPORT |
| 33203 | # Check whether --enable-ommongodb was given. |
| 33204 | if testscip-shell system . . test. ${enable_ommongodb+y} |
| 33205 | then : |
| 33206 | enableval=$enable_ommongodb; case "${enableval}" in |
| 33207 | yes) enable_ommongodb="yes" ;; |
| 33208 | no) enable_ommongodb="no" ;; |
| 33209 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-ommongodb" "$LINENO" 5 ;; |
| 33210 | esac |
| 33211 | else $as_nop |
| 33212 | enable_ommongodb=no |
| 33213 | |
| 33214 | fi |
| 33215 | |
| 33216 | if testscip-shell system . . test. "x$enable_ommongodb" = "xyes"; then |
| 33217 | |
| 33218 | pkg_failed=no |
| 33219 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mongoc2" >&5 |
| 33220 | printfscip-shell system . . printf. %s "checking for mongoc2... " >&6; } |
| 33221 | |
| 33222 | if testscip-shell system . . test. -n "$LIBMONGOC_CFLAGS"; then |
| 33223 | pkg_cv_LIBMONGOC_CFLAGS="$LIBMONGOC_CFLAGS" |
| 33224 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 33225 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 33226 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mongoc2\""; } >&5 |
| 33227 | ($PKG_CONFIG --exists --print-errors "mongoc2") 2>&5 |
| 33228 | ac_status=$? |
| 33229 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 33230 | testscip-shell system . . test. $ac_status = 0; }; then |
| 33231 | pkg_cv_LIBMONGOC_CFLAGS=`$PKG_CONFIG --cflags "mongoc2" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 33232 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 33233 | else |
| 33234 | pkg_failed=yes |
| 33235 | fi |
| 33236 | else |
| 33237 | pkg_failed=untried |
| 33238 | fi |
| 33239 | if testscip-shell system . . test. -n "$LIBMONGOC_LIBS"; then |
| 33240 | pkg_cv_LIBMONGOC_LIBS="$LIBMONGOC_LIBS" |
| 33241 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 33242 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 33243 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mongoc2\""; } >&5 |
| 33244 | ($PKG_CONFIG --exists --print-errors "mongoc2") 2>&5 |
| 33245 | ac_status=$? |
| 33246 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 33247 | testscip-shell system . . test. $ac_status = 0; }; then |
| 33248 | pkg_cv_LIBMONGOC_LIBS=`$PKG_CONFIG --libs "mongoc2" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 33249 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 33250 | else |
| 33251 | pkg_failed=yes |
| 33252 | fi |
| 33253 | else |
| 33254 | pkg_failed=untried |
| 33255 | fi |
| 33256 | |
| 33257 | |
| 33258 | |
| 33259 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 33260 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33261 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33262 | |
| 33263 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 33264 | _pkg_short_errors_supported=yes |
| 33265 | else |
| 33266 | _pkg_short_errors_supported=no |
| 33267 | fi |
| 33268 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 33269 | LIBMONGOC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mongoc2" 2>&1` |
| 33270 | else |
| 33271 | LIBMONGOC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mongoc2" 2>&1` |
| 33272 | fi |
| 33273 | # Put the nasty error message in config.log where it belongs |
| 33274 | echoscip-shell system . . echo. "$LIBMONGOC_PKG_ERRORS" >&5 |
| 33275 | |
| 33276 | |
| 33277 | |
| 33278 | pkg_failed=no |
| 33279 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libmongoc-1.0" >&5 |
| 33280 | printfscip-shell system . . printf. %s "checking for libmongoc-1.0... " >&6; } |
| 33281 | |
| 33282 | if testscip-shell system . . test. -n "$LIBMONGOC_CFLAGS"; then |
| 33283 | pkg_cv_LIBMONGOC_CFLAGS="$LIBMONGOC_CFLAGS" |
| 33284 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 33285 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 33286 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmongoc-1.0\""; } >&5 |
| 33287 | ($PKG_CONFIG --exists --print-errors "libmongoc-1.0") 2>&5 |
| 33288 | ac_status=$? |
| 33289 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 33290 | testscip-shell system . . test. $ac_status = 0; }; then |
| 33291 | pkg_cv_LIBMONGOC_CFLAGS=`$PKG_CONFIG --cflags "libmongoc-1.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 33292 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 33293 | else |
| 33294 | pkg_failed=yes |
| 33295 | fi |
| 33296 | else |
| 33297 | pkg_failed=untried |
| 33298 | fi |
| 33299 | if testscip-shell system . . test. -n "$LIBMONGOC_LIBS"; then |
| 33300 | pkg_cv_LIBMONGOC_LIBS="$LIBMONGOC_LIBS" |
| 33301 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 33302 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 33303 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmongoc-1.0\""; } >&5 |
| 33304 | ($PKG_CONFIG --exists --print-errors "libmongoc-1.0") 2>&5 |
| 33305 | ac_status=$? |
| 33306 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 33307 | testscip-shell system . . test. $ac_status = 0; }; then |
| 33308 | pkg_cv_LIBMONGOC_LIBS=`$PKG_CONFIG --libs "libmongoc-1.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 33309 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 33310 | else |
| 33311 | pkg_failed=yes |
| 33312 | fi |
| 33313 | else |
| 33314 | pkg_failed=untried |
| 33315 | fi |
| 33316 | |
| 33317 | |
| 33318 | |
| 33319 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 33320 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33321 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33322 | |
| 33323 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 33324 | _pkg_short_errors_supported=yes |
| 33325 | else |
| 33326 | _pkg_short_errors_supported=no |
| 33327 | fi |
| 33328 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 33329 | LIBMONGOC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmongoc-1.0" 2>&1` |
| 33330 | else |
| 33331 | LIBMONGOC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmongoc-1.0" 2>&1` |
| 33332 | fi |
| 33333 | # Put the nasty error message in config.log where it belongs |
| 33334 | echoscip-shell system . . echo. "$LIBMONGOC_PKG_ERRORS" >&5 |
| 33335 | |
| 33336 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libmongoc-1.0) were not met: |
| 33337 | |
| 33338 | $LIBMONGOC_PKG_ERRORS |
| 33339 | |
| 33340 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 33341 | installed software in a non-standard prefix. |
| 33342 | |
| 33343 | Alternatively, you may set the environment variables LIBMONGOC_CFLAGS |
| 33344 | and LIBMONGOC_LIBS to avoid the need to call pkg-config. |
| 33345 | See the pkg-config man page for more details." "$LINENO" 5 |
| 33346 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 33347 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33348 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33349 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 33350 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 33351 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 33352 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 33353 | path to pkg-config. |
| 33354 | |
| 33355 | Alternatively, you may set the environment variables LIBMONGOC_CFLAGS |
| 33356 | and LIBMONGOC_LIBS to avoid the need to call pkg-config. |
| 33357 | See the pkg-config man page for more details. |
| 33358 | |
| 33359 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 33360 | See \`config.log' for more details" "$LINENO" 5; } |
| 33361 | else |
| 33362 | LIBMONGOC_CFLAGS=$pkg_cv_LIBMONGOC_CFLAGS |
| 33363 | LIBMONGOC_LIBS=$pkg_cv_LIBMONGOC_LIBS |
| 33364 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 33365 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 33366 | |
| 33367 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LIBMONGOC1 1" >>confdefs.h |
| 33368 | |
| 33369 | |
| 33370 | fi |
| 33371 | |
| 33372 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 33373 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33374 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33375 | |
| 33376 | |
| 33377 | pkg_failed=no |
| 33378 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libmongoc-1.0" >&5 |
| 33379 | printfscip-shell system . . printf. %s "checking for libmongoc-1.0... " >&6; } |
| 33380 | |
| 33381 | if testscip-shell system . . test. -n "$LIBMONGOC_CFLAGS"; then |
| 33382 | pkg_cv_LIBMONGOC_CFLAGS="$LIBMONGOC_CFLAGS" |
| 33383 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 33384 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 33385 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmongoc-1.0\""; } >&5 |
| 33386 | ($PKG_CONFIG --exists --print-errors "libmongoc-1.0") 2>&5 |
| 33387 | ac_status=$? |
| 33388 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 33389 | testscip-shell system . . test. $ac_status = 0; }; then |
| 33390 | pkg_cv_LIBMONGOC_CFLAGS=`$PKG_CONFIG --cflags "libmongoc-1.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 33391 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 33392 | else |
| 33393 | pkg_failed=yes |
| 33394 | fi |
| 33395 | else |
| 33396 | pkg_failed=untried |
| 33397 | fi |
| 33398 | if testscip-shell system . . test. -n "$LIBMONGOC_LIBS"; then |
| 33399 | pkg_cv_LIBMONGOC_LIBS="$LIBMONGOC_LIBS" |
| 33400 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 33401 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 33402 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmongoc-1.0\""; } >&5 |
| 33403 | ($PKG_CONFIG --exists --print-errors "libmongoc-1.0") 2>&5 |
| 33404 | ac_status=$? |
| 33405 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 33406 | testscip-shell system . . test. $ac_status = 0; }; then |
| 33407 | pkg_cv_LIBMONGOC_LIBS=`$PKG_CONFIG --libs "libmongoc-1.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 33408 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 33409 | else |
| 33410 | pkg_failed=yes |
| 33411 | fi |
| 33412 | else |
| 33413 | pkg_failed=untried |
| 33414 | fi |
| 33415 | |
| 33416 | |
| 33417 | |
| 33418 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 33419 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33420 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33421 | |
| 33422 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 33423 | _pkg_short_errors_supported=yes |
| 33424 | else |
| 33425 | _pkg_short_errors_supported=no |
| 33426 | fi |
| 33427 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 33428 | LIBMONGOC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmongoc-1.0" 2>&1` |
| 33429 | else |
| 33430 | LIBMONGOC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmongoc-1.0" 2>&1` |
| 33431 | fi |
| 33432 | # Put the nasty error message in config.log where it belongs |
| 33433 | echoscip-shell system . . echo. "$LIBMONGOC_PKG_ERRORS" >&5 |
| 33434 | |
| 33435 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libmongoc-1.0) were not met: |
| 33436 | |
| 33437 | $LIBMONGOC_PKG_ERRORS |
| 33438 | |
| 33439 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 33440 | installed software in a non-standard prefix. |
| 33441 | |
| 33442 | Alternatively, you may set the environment variables LIBMONGOC_CFLAGS |
| 33443 | and LIBMONGOC_LIBS to avoid the need to call pkg-config. |
| 33444 | See the pkg-config man page for more details." "$LINENO" 5 |
| 33445 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 33446 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33447 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33448 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 33449 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 33450 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 33451 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 33452 | path to pkg-config. |
| 33453 | |
| 33454 | Alternatively, you may set the environment variables LIBMONGOC_CFLAGS |
| 33455 | and LIBMONGOC_LIBS to avoid the need to call pkg-config. |
| 33456 | See the pkg-config man page for more details. |
| 33457 | |
| 33458 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 33459 | See \`config.log' for more details" "$LINENO" 5; } |
| 33460 | else |
| 33461 | LIBMONGOC_CFLAGS=$pkg_cv_LIBMONGOC_CFLAGS |
| 33462 | LIBMONGOC_LIBS=$pkg_cv_LIBMONGOC_LIBS |
| 33463 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 33464 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 33465 | |
| 33466 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LIBMONGOC1 1" >>confdefs.h |
| 33467 | |
| 33468 | |
| 33469 | fi |
| 33470 | |
| 33471 | else |
| 33472 | LIBMONGOC_CFLAGS=$pkg_cv_LIBMONGOC_CFLAGS |
| 33473 | LIBMONGOC_LIBS=$pkg_cv_LIBMONGOC_LIBS |
| 33474 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 33475 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 33476 | |
| 33477 | fi |
| 33478 | fi |
| 33479 | if testscip-shell system . . test. x$enable_ommongodb = xyes; then |
| 33480 | ENABLE_OMMONGODB_TRUE= |
| 33481 | ENABLE_OMMONGODB_FALSE='#' |
| 33482 | else |
| 33483 | ENABLE_OMMONGODB_TRUE='#' |
| 33484 | ENABLE_OMMONGODB_FALSE= |
| 33485 | fi |
| 33486 | |
| 33487 | # end of mongodb code |
| 33488 | |
| 33489 | |
| 33490 | # BEGIN IMDTLS INPUT SUPPORT |
| 33491 | # Check whether --enable-imdtls was given. |
| 33492 | if testscip-shell system . . test. ${enable_imdtls+y} |
| 33493 | then : |
| 33494 | enableval=$enable_imdtls; case "${enableval}" in |
| 33495 | yes) enable_imdtls="yes" ;; |
| 33496 | no) enable_imdtls="no" ;; |
| 33497 | optional) enable_imdtls="optional" ;; |
| 33498 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-imdtls" "$LINENO" 5 ;; |
| 33499 | esac |
| 33500 | else $as_nop |
| 33501 | enable_imdtls=no |
| 33502 | |
| 33503 | fi |
| 33504 | |
| 33505 | if testscip-shell system . . test. "x$enable_imdtls" = "xyes"; then |
| 33506 | |
| 33507 | pkg_failed=no |
| 33508 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl >= 1.1.0" >&5 |
| 33509 | printfscip-shell system . . printf. %s "checking for openssl >= 1.1.0... " >&6; } |
| 33510 | |
| 33511 | if testscip-shell system . . test. -n "$OPENSSL_CFLAGS"; then |
| 33512 | pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS" |
| 33513 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 33514 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 33515 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.0\""; } >&5 |
| 33516 | ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.0") 2>&5 |
| 33517 | ac_status=$? |
| 33518 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 33519 | testscip-shell system . . test. $ac_status = 0; }; then |
| 33520 | pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 1.1.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 33521 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 33522 | else |
| 33523 | pkg_failed=yes |
| 33524 | fi |
| 33525 | else |
| 33526 | pkg_failed=untried |
| 33527 | fi |
| 33528 | if testscip-shell system . . test. -n "$OPENSSL_LIBS"; then |
| 33529 | pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS" |
| 33530 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 33531 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 33532 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.0\""; } >&5 |
| 33533 | ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.0") 2>&5 |
| 33534 | ac_status=$? |
| 33535 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 33536 | testscip-shell system . . test. $ac_status = 0; }; then |
| 33537 | pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 1.1.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 33538 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 33539 | else |
| 33540 | pkg_failed=yes |
| 33541 | fi |
| 33542 | else |
| 33543 | pkg_failed=untried |
| 33544 | fi |
| 33545 | |
| 33546 | |
| 33547 | |
| 33548 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 33549 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33550 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33551 | |
| 33552 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 33553 | _pkg_short_errors_supported=yes |
| 33554 | else |
| 33555 | _pkg_short_errors_supported=no |
| 33556 | fi |
| 33557 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 33558 | OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 1.1.0" 2>&1` |
| 33559 | else |
| 33560 | OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 1.1.0" 2>&1` |
| 33561 | fi |
| 33562 | # Put the nasty error message in config.log where it belongs |
| 33563 | echoscip-shell system . . echo. "$OPENSSL_PKG_ERRORS" >&5 |
| 33564 | |
| 33565 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (openssl >= 1.1.0) were not met: |
| 33566 | |
| 33567 | $OPENSSL_PKG_ERRORS |
| 33568 | |
| 33569 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 33570 | installed software in a non-standard prefix. |
| 33571 | |
| 33572 | Alternatively, you may set the environment variables OPENSSL_CFLAGS |
| 33573 | and OPENSSL_LIBS to avoid the need to call pkg-config. |
| 33574 | See the pkg-config man page for more details." "$LINENO" 5 |
| 33575 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 33576 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33577 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33578 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 33579 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 33580 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 33581 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 33582 | path to pkg-config. |
| 33583 | |
| 33584 | Alternatively, you may set the environment variables OPENSSL_CFLAGS |
| 33585 | and OPENSSL_LIBS to avoid the need to call pkg-config. |
| 33586 | See the pkg-config man page for more details. |
| 33587 | |
| 33588 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 33589 | See \`config.log' for more details" "$LINENO" 5; } |
| 33590 | else |
| 33591 | OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS |
| 33592 | OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS |
| 33593 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 33594 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 33595 | |
| 33596 | fi |
| 33597 | fi |
| 33598 | if testscip-shell system . . test. x$enable_imdtls = xyes; then |
| 33599 | ENABLE_IMDTLS_TRUE= |
| 33600 | ENABLE_IMDTLS_FALSE='#' |
| 33601 | else |
| 33602 | ENABLE_IMDTLS_TRUE='#' |
| 33603 | ENABLE_IMDTLS_FALSE= |
| 33604 | fi |
| 33605 | |
| 33606 | # END IMDTLS INPUT |
| 33607 | |
| 33608 | # BEGIN OMDTLS INPUT SUPPORT |
| 33609 | # Check whether --enable-omdtls was given. |
| 33610 | if testscip-shell system . . test. ${enable_omdtls+y} |
| 33611 | then : |
| 33612 | enableval=$enable_omdtls; case "${enableval}" in |
| 33613 | yes) enable_omdtls="yes" ;; |
| 33614 | no) enable_omdtls="no" ;; |
| 33615 | optional) enable_omdtls="optional" ;; |
| 33616 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omdtls" "$LINENO" 5 ;; |
| 33617 | esac |
| 33618 | else $as_nop |
| 33619 | enable_omdtls=no |
| 33620 | |
| 33621 | fi |
| 33622 | |
| 33623 | if testscip-shell system . . test. "x$enable_omdtls" = "xyes"; then |
| 33624 | |
| 33625 | pkg_failed=no |
| 33626 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl >= 1.0.2" >&5 |
| 33627 | printfscip-shell system . . printf. %s "checking for openssl >= 1.0.2... " >&6; } |
| 33628 | |
| 33629 | if testscip-shell system . . test. -n "$OPENSSL_CFLAGS"; then |
| 33630 | pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS" |
| 33631 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 33632 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 33633 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0.2\""; } >&5 |
| 33634 | ($PKG_CONFIG --exists --print-errors "openssl >= 1.0.2") 2>&5 |
| 33635 | ac_status=$? |
| 33636 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 33637 | testscip-shell system . . test. $ac_status = 0; }; then |
| 33638 | pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 1.0.2" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 33639 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 33640 | else |
| 33641 | pkg_failed=yes |
| 33642 | fi |
| 33643 | else |
| 33644 | pkg_failed=untried |
| 33645 | fi |
| 33646 | if testscip-shell system . . test. -n "$OPENSSL_LIBS"; then |
| 33647 | pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS" |
| 33648 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 33649 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 33650 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0.2\""; } >&5 |
| 33651 | ($PKG_CONFIG --exists --print-errors "openssl >= 1.0.2") 2>&5 |
| 33652 | ac_status=$? |
| 33653 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 33654 | testscip-shell system . . test. $ac_status = 0; }; then |
| 33655 | pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 1.0.2" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 33656 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 33657 | else |
| 33658 | pkg_failed=yes |
| 33659 | fi |
| 33660 | else |
| 33661 | pkg_failed=untried |
| 33662 | fi |
| 33663 | |
| 33664 | |
| 33665 | |
| 33666 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 33667 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33668 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33669 | |
| 33670 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 33671 | _pkg_short_errors_supported=yes |
| 33672 | else |
| 33673 | _pkg_short_errors_supported=no |
| 33674 | fi |
| 33675 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 33676 | OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 1.0.2" 2>&1` |
| 33677 | else |
| 33678 | OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 1.0.2" 2>&1` |
| 33679 | fi |
| 33680 | # Put the nasty error message in config.log where it belongs |
| 33681 | echoscip-shell system . . echo. "$OPENSSL_PKG_ERRORS" >&5 |
| 33682 | |
| 33683 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (openssl >= 1.0.2) were not met: |
| 33684 | |
| 33685 | $OPENSSL_PKG_ERRORS |
| 33686 | |
| 33687 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 33688 | installed software in a non-standard prefix. |
| 33689 | |
| 33690 | Alternatively, you may set the environment variables OPENSSL_CFLAGS |
| 33691 | and OPENSSL_LIBS to avoid the need to call pkg-config. |
| 33692 | See the pkg-config man page for more details." "$LINENO" 5 |
| 33693 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 33694 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33695 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33696 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 33697 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 33698 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 33699 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 33700 | path to pkg-config. |
| 33701 | |
| 33702 | Alternatively, you may set the environment variables OPENSSL_CFLAGS |
| 33703 | and OPENSSL_LIBS to avoid the need to call pkg-config. |
| 33704 | See the pkg-config man page for more details. |
| 33705 | |
| 33706 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 33707 | See \`config.log' for more details" "$LINENO" 5; } |
| 33708 | else |
| 33709 | OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS |
| 33710 | OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS |
| 33711 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 33712 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 33713 | |
| 33714 | fi |
| 33715 | fi |
| 33716 | if testscip-shell system . . test. x$enable_omdtls = xyes; then |
| 33717 | ENABLE_OMDTLS_TRUE= |
| 33718 | ENABLE_OMDTLS_FALSE='#' |
| 33719 | else |
| 33720 | ENABLE_OMDTLS_TRUE='#' |
| 33721 | ENABLE_OMDTLS_FALSE= |
| 33722 | fi |
| 33723 | |
| 33724 | # END OMDTLS INPUT |
| 33725 | |
| 33726 | if testscip-shell system . . test. "x$enable_imdtls" = "xyes" -o "x$enable_omdtls" = "xyes"; then |
| 33727 | if testscip-shell system . . test. "x$enable_openssl" != "xyes"; then |
| 33728 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "DTLS modules (imdtls/omdtls) require OpenSSL support to be enabled (--enable-openssl)" "$LINENO" 5 |
| 33729 | fi |
| 33730 | fi |
| 33731 | |
| 33732 | |
| 33733 | # BEGIN CZMQ INPUT SUPPORT |
| 33734 | # Check whether --enable-imczmq was given. |
| 33735 | if testscip-shell system . . test. ${enable_imczmq+y} |
| 33736 | then : |
| 33737 | enableval=$enable_imczmq; case "${enableval}" in |
| 33738 | yes) enable_imczmq="yes" ;; |
| 33739 | no) enable_imczmq="no" ;; |
| 33740 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-imczmq" "$LINENO" 5 ;; |
| 33741 | esac |
| 33742 | else $as_nop |
| 33743 | enable_imczmq=no |
| 33744 | |
| 33745 | fi |
| 33746 | |
| 33747 | if testscip-shell system . . test. "x$enable_imczmq" = "xyes"; then |
| 33748 | |
| 33749 | pkg_failed=no |
| 33750 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libczmq >= 4.0.0" >&5 |
| 33751 | printfscip-shell system . . printf. %s "checking for libczmq >= 4.0.0... " >&6; } |
| 33752 | |
| 33753 | if testscip-shell system . . test. -n "$CZMQ_CFLAGS"; then |
| 33754 | pkg_cv_CZMQ_CFLAGS="$CZMQ_CFLAGS" |
| 33755 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 33756 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 33757 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libczmq >= 4.0.0\""; } >&5 |
| 33758 | ($PKG_CONFIG --exists --print-errors "libczmq >= 4.0.0") 2>&5 |
| 33759 | ac_status=$? |
| 33760 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 33761 | testscip-shell system . . test. $ac_status = 0; }; then |
| 33762 | pkg_cv_CZMQ_CFLAGS=`$PKG_CONFIG --cflags "libczmq >= 4.0.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 33763 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 33764 | else |
| 33765 | pkg_failed=yes |
| 33766 | fi |
| 33767 | else |
| 33768 | pkg_failed=untried |
| 33769 | fi |
| 33770 | if testscip-shell system . . test. -n "$CZMQ_LIBS"; then |
| 33771 | pkg_cv_CZMQ_LIBS="$CZMQ_LIBS" |
| 33772 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 33773 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 33774 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libczmq >= 4.0.0\""; } >&5 |
| 33775 | ($PKG_CONFIG --exists --print-errors "libczmq >= 4.0.0") 2>&5 |
| 33776 | ac_status=$? |
| 33777 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 33778 | testscip-shell system . . test. $ac_status = 0; }; then |
| 33779 | pkg_cv_CZMQ_LIBS=`$PKG_CONFIG --libs "libczmq >= 4.0.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 33780 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 33781 | else |
| 33782 | pkg_failed=yes |
| 33783 | fi |
| 33784 | else |
| 33785 | pkg_failed=untried |
| 33786 | fi |
| 33787 | |
| 33788 | |
| 33789 | |
| 33790 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 33791 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33792 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33793 | |
| 33794 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 33795 | _pkg_short_errors_supported=yes |
| 33796 | else |
| 33797 | _pkg_short_errors_supported=no |
| 33798 | fi |
| 33799 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 33800 | CZMQ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libczmq >= 4.0.0" 2>&1` |
| 33801 | else |
| 33802 | CZMQ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libczmq >= 4.0.0" 2>&1` |
| 33803 | fi |
| 33804 | # Put the nasty error message in config.log where it belongs |
| 33805 | echoscip-shell system . . echo. "$CZMQ_PKG_ERRORS" >&5 |
| 33806 | |
| 33807 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libczmq >= 4.0.0) were not met: |
| 33808 | |
| 33809 | $CZMQ_PKG_ERRORS |
| 33810 | |
| 33811 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 33812 | installed software in a non-standard prefix. |
| 33813 | |
| 33814 | Alternatively, you may set the environment variables CZMQ_CFLAGS |
| 33815 | and CZMQ_LIBS to avoid the need to call pkg-config. |
| 33816 | See the pkg-config man page for more details." "$LINENO" 5 |
| 33817 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 33818 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33819 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33820 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 33821 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 33822 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 33823 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 33824 | path to pkg-config. |
| 33825 | |
| 33826 | Alternatively, you may set the environment variables CZMQ_CFLAGS |
| 33827 | and CZMQ_LIBS to avoid the need to call pkg-config. |
| 33828 | See the pkg-config man page for more details. |
| 33829 | |
| 33830 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 33831 | See \`config.log' for more details" "$LINENO" 5; } |
| 33832 | else |
| 33833 | CZMQ_CFLAGS=$pkg_cv_CZMQ_CFLAGS |
| 33834 | CZMQ_LIBS=$pkg_cv_CZMQ_LIBS |
| 33835 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 33836 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 33837 | |
| 33838 | fi |
| 33839 | fi |
| 33840 | if testscip-shell system . . test. x$enable_imczmq = xyes; then |
| 33841 | ENABLE_IMCZMQ_TRUE= |
| 33842 | ENABLE_IMCZMQ_FALSE='#' |
| 33843 | else |
| 33844 | ENABLE_IMCZMQ_TRUE='#' |
| 33845 | ENABLE_IMCZMQ_FALSE= |
| 33846 | fi |
| 33847 | |
| 33848 | # END CZMQ INPUT |
| 33849 | |
| 33850 | |
| 33851 | # BEGIN CZMQ OUTPUT SUPPORT |
| 33852 | # Check whether --enable-omczmq was given. |
| 33853 | if testscip-shell system . . test. ${enable_omczmq+y} |
| 33854 | then : |
| 33855 | enableval=$enable_omczmq; case "${enableval}" in |
| 33856 | yes) enable_omczmq="yes" ;; |
| 33857 | no) enable_omczmq="no" ;; |
| 33858 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omczmq" "$LINENO" 5 ;; |
| 33859 | esac |
| 33860 | else $as_nop |
| 33861 | enable_omczmq=no |
| 33862 | |
| 33863 | fi |
| 33864 | |
| 33865 | if testscip-shell system . . test. "x$enable_omczmq" = "xyes"; then |
| 33866 | |
| 33867 | pkg_failed=no |
| 33868 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libczmq >= 4.0.0" >&5 |
| 33869 | printfscip-shell system . . printf. %s "checking for libczmq >= 4.0.0... " >&6; } |
| 33870 | |
| 33871 | if testscip-shell system . . test. -n "$CZMQ_CFLAGS"; then |
| 33872 | pkg_cv_CZMQ_CFLAGS="$CZMQ_CFLAGS" |
| 33873 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 33874 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 33875 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libczmq >= 4.0.0\""; } >&5 |
| 33876 | ($PKG_CONFIG --exists --print-errors "libczmq >= 4.0.0") 2>&5 |
| 33877 | ac_status=$? |
| 33878 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 33879 | testscip-shell system . . test. $ac_status = 0; }; then |
| 33880 | pkg_cv_CZMQ_CFLAGS=`$PKG_CONFIG --cflags "libczmq >= 4.0.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 33881 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 33882 | else |
| 33883 | pkg_failed=yes |
| 33884 | fi |
| 33885 | else |
| 33886 | pkg_failed=untried |
| 33887 | fi |
| 33888 | if testscip-shell system . . test. -n "$CZMQ_LIBS"; then |
| 33889 | pkg_cv_CZMQ_LIBS="$CZMQ_LIBS" |
| 33890 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 33891 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 33892 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libczmq >= 4.0.0\""; } >&5 |
| 33893 | ($PKG_CONFIG --exists --print-errors "libczmq >= 4.0.0") 2>&5 |
| 33894 | ac_status=$? |
| 33895 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 33896 | testscip-shell system . . test. $ac_status = 0; }; then |
| 33897 | pkg_cv_CZMQ_LIBS=`$PKG_CONFIG --libs "libczmq >= 4.0.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 33898 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 33899 | else |
| 33900 | pkg_failed=yes |
| 33901 | fi |
| 33902 | else |
| 33903 | pkg_failed=untried |
| 33904 | fi |
| 33905 | |
| 33906 | |
| 33907 | |
| 33908 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 33909 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33910 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33911 | |
| 33912 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 33913 | _pkg_short_errors_supported=yes |
| 33914 | else |
| 33915 | _pkg_short_errors_supported=no |
| 33916 | fi |
| 33917 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 33918 | CZMQ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libczmq >= 4.0.0" 2>&1` |
| 33919 | else |
| 33920 | CZMQ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libczmq >= 4.0.0" 2>&1` |
| 33921 | fi |
| 33922 | # Put the nasty error message in config.log where it belongs |
| 33923 | echoscip-shell system . . echo. "$CZMQ_PKG_ERRORS" >&5 |
| 33924 | |
| 33925 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libczmq >= 4.0.0) were not met: |
| 33926 | |
| 33927 | $CZMQ_PKG_ERRORS |
| 33928 | |
| 33929 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 33930 | installed software in a non-standard prefix. |
| 33931 | |
| 33932 | Alternatively, you may set the environment variables CZMQ_CFLAGS |
| 33933 | and CZMQ_LIBS to avoid the need to call pkg-config. |
| 33934 | See the pkg-config man page for more details." "$LINENO" 5 |
| 33935 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 33936 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 33937 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 33938 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 33939 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 33940 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 33941 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 33942 | path to pkg-config. |
| 33943 | |
| 33944 | Alternatively, you may set the environment variables CZMQ_CFLAGS |
| 33945 | and CZMQ_LIBS to avoid the need to call pkg-config. |
| 33946 | See the pkg-config man page for more details. |
| 33947 | |
| 33948 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 33949 | See \`config.log' for more details" "$LINENO" 5; } |
| 33950 | else |
| 33951 | CZMQ_CFLAGS=$pkg_cv_CZMQ_CFLAGS |
| 33952 | CZMQ_LIBS=$pkg_cv_CZMQ_LIBS |
| 33953 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 33954 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 33955 | |
| 33956 | fi |
| 33957 | fi |
| 33958 | if testscip-shell system . . test. x$enable_omczmq = xyes; then |
| 33959 | ENABLE_OMCZMQ_TRUE= |
| 33960 | ENABLE_OMCZMQ_FALSE='#' |
| 33961 | else |
| 33962 | ENABLE_OMCZMQ_TRUE='#' |
| 33963 | ENABLE_OMCZMQ_FALSE= |
| 33964 | fi |
| 33965 | |
| 33966 | |
| 33967 | # END CZMQ SUPPORT |
| 33968 | |
| 33969 | |
| 33970 | # BEGIN RABBITMQ OUTPUT SUPPORT |
| 33971 | |
| 33972 | # Check whether --enable-omrabbitmq was given. |
| 33973 | if testscip-shell system . . test. ${enable_omrabbitmq+y} |
| 33974 | then : |
| 33975 | enableval=$enable_omrabbitmq; case "${enableval}" in |
| 33976 | yes) enable_omrabbitmq="yes" ;; |
| 33977 | no) enable_omrabbitmq="no" ;; |
| 33978 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omrabbitmq" "$LINENO" 5 ;; |
| 33979 | esac |
| 33980 | else $as_nop |
| 33981 | enable_omrabbitmq=no |
| 33982 | |
| 33983 | fi |
| 33984 | |
| 33985 | if testscip-shell system . . test. "x$enable_omrabbitmq" = "xyes"; then |
| 33986 | |
| 33987 | pkg_failed=no |
| 33988 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for librabbitmq >= 0.2.0" >&5 |
| 33989 | printfscip-shell system . . printf. %s "checking for librabbitmq >= 0.2.0... " >&6; } |
| 33990 | |
| 33991 | if testscip-shell system . . test. -n "$RABBITMQ_CFLAGS"; then |
| 33992 | pkg_cv_RABBITMQ_CFLAGS="$RABBITMQ_CFLAGS" |
| 33993 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 33994 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 33995 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librabbitmq >= 0.2.0\""; } >&5 |
| 33996 | ($PKG_CONFIG --exists --print-errors "librabbitmq >= 0.2.0") 2>&5 |
| 33997 | ac_status=$? |
| 33998 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 33999 | testscip-shell system . . test. $ac_status = 0; }; then |
| 34000 | pkg_cv_RABBITMQ_CFLAGS=`$PKG_CONFIG --cflags "librabbitmq >= 0.2.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 34001 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 34002 | else |
| 34003 | pkg_failed=yes |
| 34004 | fi |
| 34005 | else |
| 34006 | pkg_failed=untried |
| 34007 | fi |
| 34008 | if testscip-shell system . . test. -n "$RABBITMQ_LIBS"; then |
| 34009 | pkg_cv_RABBITMQ_LIBS="$RABBITMQ_LIBS" |
| 34010 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 34011 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 34012 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librabbitmq >= 0.2.0\""; } >&5 |
| 34013 | ($PKG_CONFIG --exists --print-errors "librabbitmq >= 0.2.0") 2>&5 |
| 34014 | ac_status=$? |
| 34015 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 34016 | testscip-shell system . . test. $ac_status = 0; }; then |
| 34017 | pkg_cv_RABBITMQ_LIBS=`$PKG_CONFIG --libs "librabbitmq >= 0.2.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 34018 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 34019 | else |
| 34020 | pkg_failed=yes |
| 34021 | fi |
| 34022 | else |
| 34023 | pkg_failed=untried |
| 34024 | fi |
| 34025 | |
| 34026 | |
| 34027 | |
| 34028 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 34029 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 34030 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 34031 | |
| 34032 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 34033 | _pkg_short_errors_supported=yes |
| 34034 | else |
| 34035 | _pkg_short_errors_supported=no |
| 34036 | fi |
| 34037 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 34038 | RABBITMQ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "librabbitmq >= 0.2.0" 2>&1` |
| 34039 | else |
| 34040 | RABBITMQ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "librabbitmq >= 0.2.0" 2>&1` |
| 34041 | fi |
| 34042 | # Put the nasty error message in config.log where it belongs |
| 34043 | echoscip-shell system . . echo. "$RABBITMQ_PKG_ERRORS" >&5 |
| 34044 | |
| 34045 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (librabbitmq >= 0.2.0) were not met: |
| 34046 | |
| 34047 | $RABBITMQ_PKG_ERRORS |
| 34048 | |
| 34049 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 34050 | installed software in a non-standard prefix. |
| 34051 | |
| 34052 | Alternatively, you may set the environment variables RABBITMQ_CFLAGS |
| 34053 | and RABBITMQ_LIBS to avoid the need to call pkg-config. |
| 34054 | See the pkg-config man page for more details." "$LINENO" 5 |
| 34055 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 34056 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 34057 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 34058 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 34059 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 34060 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 34061 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 34062 | path to pkg-config. |
| 34063 | |
| 34064 | Alternatively, you may set the environment variables RABBITMQ_CFLAGS |
| 34065 | and RABBITMQ_LIBS to avoid the need to call pkg-config. |
| 34066 | See the pkg-config man page for more details. |
| 34067 | |
| 34068 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 34069 | See \`config.log' for more details" "$LINENO" 5; } |
| 34070 | else |
| 34071 | RABBITMQ_CFLAGS=$pkg_cv_RABBITMQ_CFLAGS |
| 34072 | RABBITMQ_LIBS=$pkg_cv_RABBITMQ_LIBS |
| 34073 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 34074 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 34075 | |
| 34076 | fi |
| 34077 | |
| 34078 | |
| 34079 | # Check which header path is used by rabbitmq-c (0.8.0+ uses rabbitmq-c/ prefix) |
| 34080 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "rabbitmq-c/amqp.h" "ac_cv_header_rabbitmq_c_amqp_h" "$ac_includes_default" |
| 34081 | if testscip-shell system . . test. "x$ac_cv_header_rabbitmq_c_amqp_h" = xyes |
| 34082 | then : |
| 34083 | |
| 34084 | printfscip-shell system . . printf. "%s\n" "#define HAVE_RABBITMQ_C_AMQP_H 1" >>confdefs.h |
| 34085 | |
| 34086 | fi |
| 34087 | |
| 34088 | fi |
| 34089 | if testscip-shell system . . test. x$enable_omrabbitmq = xyes; then |
| 34090 | ENABLE_OMRABBITMQ_TRUE= |
| 34091 | ENABLE_OMRABBITMQ_FALSE='#' |
| 34092 | else |
| 34093 | ENABLE_OMRABBITMQ_TRUE='#' |
| 34094 | ENABLE_OMRABBITMQ_FALSE= |
| 34095 | fi |
| 34096 | |
| 34097 | |
| 34098 | # END RABBITMQ SUPPORT |
| 34099 | |
| 34100 | # HIREDIS SUPPORT |
| 34101 | |
| 34102 | # Check whether --enable-imhiredis was given. |
| 34103 | if testscip-shell system . . test. ${enable_imhiredis+y} |
| 34104 | then : |
| 34105 | enableval=$enable_imhiredis; case "${enableval}" in |
| 34106 | yes) enable_imhiredis="yes" ;; |
| 34107 | no) enable_imhiredis="no" ;; |
| 34108 | optional) enable_imhiredis="optional" ;; |
| 34109 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-imhiredis" "$LINENO" 5 ;; |
| 34110 | esac |
| 34111 | else $as_nop |
| 34112 | enable_imhiredis=no |
| 34113 | |
| 34114 | fi |
| 34115 | |
| 34116 | # Check whether --enable-omhiredis was given. |
| 34117 | if testscip-shell system . . test. ${enable_omhiredis+y} |
| 34118 | then : |
| 34119 | enableval=$enable_omhiredis; case "${enableval}" in |
| 34120 | yes) enable_omhiredis="yes" ;; |
| 34121 | no) enable_omhiredis="no" ;; |
| 34122 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omhiredis" "$LINENO" 5 ;; |
| 34123 | esac |
| 34124 | else $as_nop |
| 34125 | enable_omhiredis=no |
| 34126 | |
| 34127 | fi |
| 34128 | |
| 34129 | |
| 34130 | # Check whether --enable-redis_tests was given. |
| 34131 | if testscip-shell system . . test. ${enable_redis_tests+y} |
| 34132 | then : |
| 34133 | enableval=$enable_redis_tests; case "${enableval}" in |
| 34134 | yes) enable_redis_tests="yes" ;; |
| 34135 | no) enable_redis_tests="no" ;; |
| 34136 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-redis-tests" "$LINENO" 5 ;; |
| 34137 | esac |
| 34138 | else $as_nop |
| 34139 | enable_redis_tests=no |
| 34140 | |
| 34141 | fi |
| 34142 | |
| 34143 | if testscip-shell system . . test. x$enable_redis_tests = xyes; then |
| 34144 | ENABLE_REDIS_TESTS_TRUE= |
| 34145 | ENABLE_REDIS_TESTS_FALSE='#' |
| 34146 | else |
| 34147 | ENABLE_REDIS_TESTS_TRUE='#' |
| 34148 | ENABLE_REDIS_TESTS_FALSE= |
| 34149 | fi |
| 34150 | |
| 34151 | |
| 34152 | # Check whether --enable-redis_ssl was given. |
| 34153 | if testscip-shell system . . test. ${enable_redis_ssl+y} |
| 34154 | then : |
| 34155 | enableval=$enable_redis_ssl; case "${enableval}" in |
| 34156 | yes) enable_redis_ssl="yes" ;; |
| 34157 | no) enable_redis_ssl="no" ;; |
| 34158 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-redis-ssl" "$LINENO" 5 ;; |
| 34159 | esac |
| 34160 | else $as_nop |
| 34161 | enable_redis_ssl=no |
| 34162 | |
| 34163 | fi |
| 34164 | |
| 34165 | |
| 34166 | if testscip-shell system . . test. "x$enable_omhiredis" = "xyes" -o "x$enable_imhiredis" = "xyes" ; then |
| 34167 | |
| 34168 | pkg_failed=no |
| 34169 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hiredis >= 0.10.1" >&5 |
| 34170 | printfscip-shell system . . printf. %s "checking for hiredis >= 0.10.1... " >&6; } |
| 34171 | |
| 34172 | if testscip-shell system . . test. -n "$HIREDIS_CFLAGS"; then |
| 34173 | pkg_cv_HIREDIS_CFLAGS="$HIREDIS_CFLAGS" |
| 34174 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 34175 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 34176 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hiredis >= 0.10.1\""; } >&5 |
| 34177 | ($PKG_CONFIG --exists --print-errors "hiredis >= 0.10.1") 2>&5 |
| 34178 | ac_status=$? |
| 34179 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 34180 | testscip-shell system . . test. $ac_status = 0; }; then |
| 34181 | pkg_cv_HIREDIS_CFLAGS=`$PKG_CONFIG --cflags "hiredis >= 0.10.1" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 34182 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 34183 | else |
| 34184 | pkg_failed=yes |
| 34185 | fi |
| 34186 | else |
| 34187 | pkg_failed=untried |
| 34188 | fi |
| 34189 | if testscip-shell system . . test. -n "$HIREDIS_LIBS"; then |
| 34190 | pkg_cv_HIREDIS_LIBS="$HIREDIS_LIBS" |
| 34191 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 34192 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 34193 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hiredis >= 0.10.1\""; } >&5 |
| 34194 | ($PKG_CONFIG --exists --print-errors "hiredis >= 0.10.1") 2>&5 |
| 34195 | ac_status=$? |
| 34196 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 34197 | testscip-shell system . . test. $ac_status = 0; }; then |
| 34198 | pkg_cv_HIREDIS_LIBS=`$PKG_CONFIG --libs "hiredis >= 0.10.1" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 34199 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 34200 | else |
| 34201 | pkg_failed=yes |
| 34202 | fi |
| 34203 | else |
| 34204 | pkg_failed=untried |
| 34205 | fi |
| 34206 | |
| 34207 | |
| 34208 | |
| 34209 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 34210 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 34211 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 34212 | |
| 34213 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 34214 | _pkg_short_errors_supported=yes |
| 34215 | else |
| 34216 | _pkg_short_errors_supported=no |
| 34217 | fi |
| 34218 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 34219 | HIREDIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "hiredis >= 0.10.1" 2>&1` |
| 34220 | else |
| 34221 | HIREDIS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "hiredis >= 0.10.1" 2>&1` |
| 34222 | fi |
| 34223 | # Put the nasty error message in config.log where it belongs |
| 34224 | echoscip-shell system . . echo. "$HIREDIS_PKG_ERRORS" >&5 |
| 34225 | |
| 34226 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing redisConnectWithTimeout" >&5 |
| 34227 | printfscip-shell system . . printf. %s "checking for library containing redisConnectWithTimeout... " >&6; } |
| 34228 | if testscip-shell system . . test. ${ac_cv_search_redisConnectWithTimeout+y} |
| 34229 | then : |
| 34230 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 34231 | else $as_nop |
| 34232 | ac_func_search_save_LIBS=$LIBS |
| 34233 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 34234 | /* end confdefs.h. */ |
| 34235 | |
| 34236 | /* Override any GCC internal prototype to avoid an error. |
| 34237 | Use char because int might match the return type of a GCC |
| 34238 | builtin and then its argument prototype would still apply. */ |
| 34239 | char redisConnectWithTimeout (); |
| 34240 | int |
| 34241 | main (void) |
| 34242 | { |
| 34243 | return redisConnectWithTimeout (); |
| 34244 | ; |
| 34245 | return 0; |
| 34246 | } |
| 34247 | _ACEOF |
| 34248 | for ac_lib in '' hiredis |
| 34249 | do |
| 34250 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 34251 | ac_res="none required" |
| 34252 | else |
| 34253 | ac_res=-l$ac_lib |
| 34254 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 34255 | fi |
| 34256 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 34257 | then : |
| 34258 | ac_cv_search_redisConnectWithTimeout=$ac_res |
| 34259 | fi |
| 34260 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 34261 | conftest$ac_exeext |
| 34262 | if testscip-shell system . . test. ${ac_cv_search_redisConnectWithTimeout+y} |
| 34263 | then : |
| 34264 | break |
| 34265 | fi |
| 34266 | done |
| 34267 | if testscip-shell system . . test. ${ac_cv_search_redisConnectWithTimeout+y} |
| 34268 | then : |
| 34269 | |
| 34270 | else $as_nop |
| 34271 | ac_cv_search_redisConnectWithTimeout=no |
| 34272 | fi |
| 34273 | rmscip-shell system . . rm. conftest.$ac_ext |
| 34274 | LIBS=$ac_func_search_save_LIBS |
| 34275 | fi |
| 34276 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_redisConnectWithTimeout" >&5 |
| 34277 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_redisConnectWithTimeout" >&6; } |
| 34278 | ac_res=$ac_cv_search_redisConnectWithTimeout |
| 34279 | if testscip-shell system . . test. "$ac_res" != no |
| 34280 | then : |
| 34281 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 34282 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 34283 | /* end confdefs.h. */ |
| 34284 | #include <hiredis/hiredis.h> |
| 34285 | int |
| 34286 | main (void) |
| 34287 | { |
| 34288 | #define major 0 |
| 34289 | #define minor 10 |
| 34290 | #define patch 1 |
| 34291 | #if (( HIREDIS_MAJOR > major ) || \ |
| 34292 | (( HIREDIS_MAJOR == major ) && ( HIREDIS_MINOR > minor )) || \ |
| 34293 | (( HIREDIS_MAJOR == major ) && ( HIREDIS_MINOR == minor ) && ( HIREDIS_PATCH >= patch ))) \ |
| 34294 | /* OK */ |
| 34295 | #else |
| 34296 | # error Hiredis version must be >= major.minor.path |
| 34297 | #endif |
| 34298 | |
| 34299 | |
| 34300 | ; |
| 34301 | return 0; |
| 34302 | } |
| 34303 | _ACEOF |
| 34304 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 34305 | then : |
| 34306 | |
| 34307 | else $as_nop |
| 34308 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "hiredis version must be >= 0.10.1" "$LINENO" 5 |
| 34309 | |
| 34310 | fi |
| 34311 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 34312 | else $as_nop |
| 34313 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "hiredis not found" "$LINENO" 5 |
| 34314 | |
| 34315 | fi |
| 34316 | |
| 34317 | |
| 34318 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 34319 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 34320 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 34321 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing redisConnectWithTimeout" >&5 |
| 34322 | printfscip-shell system . . printf. %s "checking for library containing redisConnectWithTimeout... " >&6; } |
| 34323 | if testscip-shell system . . test. ${ac_cv_search_redisConnectWithTimeout+y} |
| 34324 | then : |
| 34325 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 34326 | else $as_nop |
| 34327 | ac_func_search_save_LIBS=$LIBS |
| 34328 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 34329 | /* end confdefs.h. */ |
| 34330 | |
| 34331 | /* Override any GCC internal prototype to avoid an error. |
| 34332 | Use char because int might match the return type of a GCC |
| 34333 | builtin and then its argument prototype would still apply. */ |
| 34334 | char redisConnectWithTimeout (); |
| 34335 | int |
| 34336 | main (void) |
| 34337 | { |
| 34338 | return redisConnectWithTimeout (); |
| 34339 | ; |
| 34340 | return 0; |
| 34341 | } |
| 34342 | _ACEOF |
| 34343 | for ac_lib in '' hiredis |
| 34344 | do |
| 34345 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 34346 | ac_res="none required" |
| 34347 | else |
| 34348 | ac_res=-l$ac_lib |
| 34349 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 34350 | fi |
| 34351 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 34352 | then : |
| 34353 | ac_cv_search_redisConnectWithTimeout=$ac_res |
| 34354 | fi |
| 34355 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 34356 | conftest$ac_exeext |
| 34357 | if testscip-shell system . . test. ${ac_cv_search_redisConnectWithTimeout+y} |
| 34358 | then : |
| 34359 | break |
| 34360 | fi |
| 34361 | done |
| 34362 | if testscip-shell system . . test. ${ac_cv_search_redisConnectWithTimeout+y} |
| 34363 | then : |
| 34364 | |
| 34365 | else $as_nop |
| 34366 | ac_cv_search_redisConnectWithTimeout=no |
| 34367 | fi |
| 34368 | rmscip-shell system . . rm. conftest.$ac_ext |
| 34369 | LIBS=$ac_func_search_save_LIBS |
| 34370 | fi |
| 34371 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_redisConnectWithTimeout" >&5 |
| 34372 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_redisConnectWithTimeout" >&6; } |
| 34373 | ac_res=$ac_cv_search_redisConnectWithTimeout |
| 34374 | if testscip-shell system . . test. "$ac_res" != no |
| 34375 | then : |
| 34376 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 34377 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 34378 | /* end confdefs.h. */ |
| 34379 | #include <hiredis/hiredis.h> |
| 34380 | int |
| 34381 | main (void) |
| 34382 | { |
| 34383 | #define major 0 |
| 34384 | #define minor 10 |
| 34385 | #define patch 1 |
| 34386 | #if (( HIREDIS_MAJOR > major ) || \ |
| 34387 | (( HIREDIS_MAJOR == major ) && ( HIREDIS_MINOR > minor )) || \ |
| 34388 | (( HIREDIS_MAJOR == major ) && ( HIREDIS_MINOR == minor ) && ( HIREDIS_PATCH >= patch ))) \ |
| 34389 | /* OK */ |
| 34390 | #else |
| 34391 | # error Hiredis version must be >= major.minor.path |
| 34392 | #endif |
| 34393 | |
| 34394 | |
| 34395 | ; |
| 34396 | return 0; |
| 34397 | } |
| 34398 | _ACEOF |
| 34399 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 34400 | then : |
| 34401 | |
| 34402 | else $as_nop |
| 34403 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "hiredis version must be >= 0.10.1" "$LINENO" 5 |
| 34404 | |
| 34405 | fi |
| 34406 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 34407 | else $as_nop |
| 34408 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "hiredis not found" "$LINENO" 5 |
| 34409 | |
| 34410 | fi |
| 34411 | |
| 34412 | |
| 34413 | else |
| 34414 | HIREDIS_CFLAGS=$pkg_cv_HIREDIS_CFLAGS |
| 34415 | HIREDIS_LIBS=$pkg_cv_HIREDIS_LIBS |
| 34416 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 34417 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 34418 | |
| 34419 | fi |
| 34420 | if testscip-shell system . . test. "x$enable_redis_ssl" = "xyes"; then |
| 34421 | |
| 34422 | pkg_failed=no |
| 34423 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hiredis_ssl >= 1.0.0" >&5 |
| 34424 | printfscip-shell system . . printf. %s "checking for hiredis_ssl >= 1.0.0... " >&6; } |
| 34425 | |
| 34426 | if testscip-shell system . . test. -n "$HIREDIS_SSL_CFLAGS"; then |
| 34427 | pkg_cv_HIREDIS_SSL_CFLAGS="$HIREDIS_SSL_CFLAGS" |
| 34428 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 34429 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 34430 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hiredis_ssl >= 1.0.0\""; } >&5 |
| 34431 | ($PKG_CONFIG --exists --print-errors "hiredis_ssl >= 1.0.0") 2>&5 |
| 34432 | ac_status=$? |
| 34433 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 34434 | testscip-shell system . . test. $ac_status = 0; }; then |
| 34435 | pkg_cv_HIREDIS_SSL_CFLAGS=`$PKG_CONFIG --cflags "hiredis_ssl >= 1.0.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 34436 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 34437 | else |
| 34438 | pkg_failed=yes |
| 34439 | fi |
| 34440 | else |
| 34441 | pkg_failed=untried |
| 34442 | fi |
| 34443 | if testscip-shell system . . test. -n "$HIREDIS_SSL_LIBS"; then |
| 34444 | pkg_cv_HIREDIS_SSL_LIBS="$HIREDIS_SSL_LIBS" |
| 34445 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 34446 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 34447 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hiredis_ssl >= 1.0.0\""; } >&5 |
| 34448 | ($PKG_CONFIG --exists --print-errors "hiredis_ssl >= 1.0.0") 2>&5 |
| 34449 | ac_status=$? |
| 34450 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 34451 | testscip-shell system . . test. $ac_status = 0; }; then |
| 34452 | pkg_cv_HIREDIS_SSL_LIBS=`$PKG_CONFIG --libs "hiredis_ssl >= 1.0.0" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 34453 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 34454 | else |
| 34455 | pkg_failed=yes |
| 34456 | fi |
| 34457 | else |
| 34458 | pkg_failed=untried |
| 34459 | fi |
| 34460 | |
| 34461 | |
| 34462 | |
| 34463 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 34464 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 34465 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 34466 | |
| 34467 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 34468 | _pkg_short_errors_supported=yes |
| 34469 | else |
| 34470 | _pkg_short_errors_supported=no |
| 34471 | fi |
| 34472 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 34473 | HIREDIS_SSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "hiredis_ssl >= 1.0.0" 2>&1` |
| 34474 | else |
| 34475 | HIREDIS_SSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "hiredis_ssl >= 1.0.0" 2>&1` |
| 34476 | fi |
| 34477 | # Put the nasty error message in config.log where it belongs |
| 34478 | echoscip-shell system . . echo. "$HIREDIS_SSL_PKG_ERRORS" >&5 |
| 34479 | |
| 34480 | # hiredis_ssl not found with pkg-static, searching for it manually |
| 34481 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing redisCreateSSLContext" >&5 |
| 34482 | printfscip-shell system . . printf. %s "checking for library containing redisCreateSSLContext... " >&6; } |
| 34483 | if testscip-shell system . . test. ${ac_cv_search_redisCreateSSLContext+y} |
| 34484 | then : |
| 34485 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 34486 | else $as_nop |
| 34487 | ac_func_search_save_LIBS=$LIBS |
| 34488 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 34489 | /* end confdefs.h. */ |
| 34490 | |
| 34491 | /* Override any GCC internal prototype to avoid an error. |
| 34492 | Use char because int might match the return type of a GCC |
| 34493 | builtin and then its argument prototype would still apply. */ |
| 34494 | char redisCreateSSLContext (); |
| 34495 | int |
| 34496 | main (void) |
| 34497 | { |
| 34498 | return redisCreateSSLContext (); |
| 34499 | ; |
| 34500 | return 0; |
| 34501 | } |
| 34502 | _ACEOF |
| 34503 | for ac_lib in '' hiredis_ssl |
| 34504 | do |
| 34505 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 34506 | ac_res="none required" |
| 34507 | else |
| 34508 | ac_res=-l$ac_lib |
| 34509 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 34510 | fi |
| 34511 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 34512 | then : |
| 34513 | ac_cv_search_redisCreateSSLContext=$ac_res |
| 34514 | fi |
| 34515 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 34516 | conftest$ac_exeext |
| 34517 | if testscip-shell system . . test. ${ac_cv_search_redisCreateSSLContext+y} |
| 34518 | then : |
| 34519 | break |
| 34520 | fi |
| 34521 | done |
| 34522 | if testscip-shell system . . test. ${ac_cv_search_redisCreateSSLContext+y} |
| 34523 | then : |
| 34524 | |
| 34525 | else $as_nop |
| 34526 | ac_cv_search_redisCreateSSLContext=no |
| 34527 | fi |
| 34528 | rmscip-shell system . . rm. conftest.$ac_ext |
| 34529 | LIBS=$ac_func_search_save_LIBS |
| 34530 | fi |
| 34531 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_redisCreateSSLContext" >&5 |
| 34532 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_redisCreateSSLContext" >&6; } |
| 34533 | ac_res=$ac_cv_search_redisCreateSSLContext |
| 34534 | if testscip-shell system . . test. "$ac_res" != no |
| 34535 | then : |
| 34536 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 34537 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 34538 | /* end confdefs.h. */ |
| 34539 | #include <hiredis/hiredis.h> |
| 34540 | #include <hiredis/hiredis_ssl.h> |
| 34541 | |
| 34542 | int |
| 34543 | main (void) |
| 34544 | { |
| 34545 | #define major 1 |
| 34546 | #define minor 0 |
| 34547 | #define patch 0 |
| 34548 | #if (( HIREDIS_MAJOR > major ) || \ |
| 34549 | (( HIREDIS_MAJOR == major ) && ( HIREDIS_MINOR > minor )) || \ |
| 34550 | (( HIREDIS_MAJOR == major ) && ( HIREDIS_MINOR == minor ) && ( HIREDIS_PATCH >= patch ))) \ |
| 34551 | /* OK */ |
| 34552 | #else |
| 34553 | # error Hiredis version must be >= major.minor.path for SSL support |
| 34554 | #endif |
| 34555 | |
| 34556 | |
| 34557 | ; |
| 34558 | return 0; |
| 34559 | } |
| 34560 | _ACEOF |
| 34561 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 34562 | then : |
| 34563 | |
| 34564 | else $as_nop |
| 34565 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "hiredis version must be >= 1.0.0 for SSL support" "$LINENO" 5 |
| 34566 | |
| 34567 | fi |
| 34568 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 34569 | else $as_nop |
| 34570 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "hiredis_ssl not found, no TLS support in hiredis" "$LINENO" 5 |
| 34571 | |
| 34572 | fi |
| 34573 | |
| 34574 | |
| 34575 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 34576 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 34577 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 34578 | # hiredis_ssl not found with pkg-static, searching for it manually |
| 34579 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing redisCreateSSLContext" >&5 |
| 34580 | printfscip-shell system . . printf. %s "checking for library containing redisCreateSSLContext... " >&6; } |
| 34581 | if testscip-shell system . . test. ${ac_cv_search_redisCreateSSLContext+y} |
| 34582 | then : |
| 34583 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 34584 | else $as_nop |
| 34585 | ac_func_search_save_LIBS=$LIBS |
| 34586 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 34587 | /* end confdefs.h. */ |
| 34588 | |
| 34589 | /* Override any GCC internal prototype to avoid an error. |
| 34590 | Use char because int might match the return type of a GCC |
| 34591 | builtin and then its argument prototype would still apply. */ |
| 34592 | char redisCreateSSLContext (); |
| 34593 | int |
| 34594 | main (void) |
| 34595 | { |
| 34596 | return redisCreateSSLContext (); |
| 34597 | ; |
| 34598 | return 0; |
| 34599 | } |
| 34600 | _ACEOF |
| 34601 | for ac_lib in '' hiredis_ssl |
| 34602 | do |
| 34603 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 34604 | ac_res="none required" |
| 34605 | else |
| 34606 | ac_res=-l$ac_lib |
| 34607 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 34608 | fi |
| 34609 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 34610 | then : |
| 34611 | ac_cv_search_redisCreateSSLContext=$ac_res |
| 34612 | fi |
| 34613 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 34614 | conftest$ac_exeext |
| 34615 | if testscip-shell system . . test. ${ac_cv_search_redisCreateSSLContext+y} |
| 34616 | then : |
| 34617 | break |
| 34618 | fi |
| 34619 | done |
| 34620 | if testscip-shell system . . test. ${ac_cv_search_redisCreateSSLContext+y} |
| 34621 | then : |
| 34622 | |
| 34623 | else $as_nop |
| 34624 | ac_cv_search_redisCreateSSLContext=no |
| 34625 | fi |
| 34626 | rmscip-shell system . . rm. conftest.$ac_ext |
| 34627 | LIBS=$ac_func_search_save_LIBS |
| 34628 | fi |
| 34629 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_redisCreateSSLContext" >&5 |
| 34630 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_redisCreateSSLContext" >&6; } |
| 34631 | ac_res=$ac_cv_search_redisCreateSSLContext |
| 34632 | if testscip-shell system . . test. "$ac_res" != no |
| 34633 | then : |
| 34634 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 34635 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 34636 | /* end confdefs.h. */ |
| 34637 | #include <hiredis/hiredis.h> |
| 34638 | #include <hiredis/hiredis_ssl.h> |
| 34639 | |
| 34640 | int |
| 34641 | main (void) |
| 34642 | { |
| 34643 | #define major 1 |
| 34644 | #define minor 0 |
| 34645 | #define patch 0 |
| 34646 | #if (( HIREDIS_MAJOR > major ) || \ |
| 34647 | (( HIREDIS_MAJOR == major ) && ( HIREDIS_MINOR > minor )) || \ |
| 34648 | (( HIREDIS_MAJOR == major ) && ( HIREDIS_MINOR == minor ) && ( HIREDIS_PATCH >= patch ))) \ |
| 34649 | /* OK */ |
| 34650 | #else |
| 34651 | # error Hiredis version must be >= major.minor.path for SSL support |
| 34652 | #endif |
| 34653 | |
| 34654 | |
| 34655 | ; |
| 34656 | return 0; |
| 34657 | } |
| 34658 | _ACEOF |
| 34659 | if ac_fn_c_try_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_compile(). "$LINENO" |
| 34660 | then : |
| 34661 | |
| 34662 | else $as_nop |
| 34663 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "hiredis version must be >= 1.0.0 for SSL support" "$LINENO" 5 |
| 34664 | |
| 34665 | fi |
| 34666 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 34667 | else $as_nop |
| 34668 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "hiredis_ssl not found, no TLS support in hiredis" "$LINENO" 5 |
| 34669 | |
| 34670 | fi |
| 34671 | |
| 34672 | |
| 34673 | else |
| 34674 | HIREDIS_SSL_CFLAGS=$pkg_cv_HIREDIS_SSL_CFLAGS |
| 34675 | HIREDIS_SSL_LIBS=$pkg_cv_HIREDIS_SSL_LIBS |
| 34676 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 34677 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 34678 | # hiredis_ssl found using pkg-config |
| 34679 | |
| 34680 | |
| 34681 | printfscip-shell system . . printf. "%s\n" "#define HIREDIS_SSL 1" >>confdefs.h |
| 34682 | |
| 34683 | |
| 34684 | fi |
| 34685 | fi |
| 34686 | |
| 34687 | fi |
| 34688 | |
| 34689 | if testscip-shell system . . test. "x$enable_imhiredis" = "xyes" ; then |
| 34690 | |
| 34691 | pkg_failed=no |
| 34692 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libevent >= 2.0, libevent_pthreads" >&5 |
| 34693 | printfscip-shell system . . printf. %s "checking for libevent >= 2.0, libevent_pthreads... " >&6; } |
| 34694 | |
| 34695 | if testscip-shell system . . test. -n "$LIBEVENT_CFLAGS"; then |
| 34696 | pkg_cv_LIBEVENT_CFLAGS="$LIBEVENT_CFLAGS" |
| 34697 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 34698 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 34699 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libevent >= 2.0, libevent_pthreads\""; } >&5 |
| 34700 | ($PKG_CONFIG --exists --print-errors "libevent >= 2.0, libevent_pthreads") 2>&5 |
| 34701 | ac_status=$? |
| 34702 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 34703 | testscip-shell system . . test. $ac_status = 0; }; then |
| 34704 | pkg_cv_LIBEVENT_CFLAGS=`$PKG_CONFIG --cflags "libevent >= 2.0, libevent_pthreads" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 34705 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 34706 | else |
| 34707 | pkg_failed=yes |
| 34708 | fi |
| 34709 | else |
| 34710 | pkg_failed=untried |
| 34711 | fi |
| 34712 | if testscip-shell system . . test. -n "$LIBEVENT_LIBS"; then |
| 34713 | pkg_cv_LIBEVENT_LIBS="$LIBEVENT_LIBS" |
| 34714 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 34715 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 34716 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libevent >= 2.0, libevent_pthreads\""; } >&5 |
| 34717 | ($PKG_CONFIG --exists --print-errors "libevent >= 2.0, libevent_pthreads") 2>&5 |
| 34718 | ac_status=$? |
| 34719 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 34720 | testscip-shell system . . test. $ac_status = 0; }; then |
| 34721 | pkg_cv_LIBEVENT_LIBS=`$PKG_CONFIG --libs "libevent >= 2.0, libevent_pthreads" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 34722 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 34723 | else |
| 34724 | pkg_failed=yes |
| 34725 | fi |
| 34726 | else |
| 34727 | pkg_failed=untried |
| 34728 | fi |
| 34729 | |
| 34730 | |
| 34731 | |
| 34732 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 34733 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 34734 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 34735 | |
| 34736 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 34737 | _pkg_short_errors_supported=yes |
| 34738 | else |
| 34739 | _pkg_short_errors_supported=no |
| 34740 | fi |
| 34741 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 34742 | LIBEVENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libevent >= 2.0, libevent_pthreads" 2>&1` |
| 34743 | else |
| 34744 | LIBEVENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libevent >= 2.0, libevent_pthreads" 2>&1` |
| 34745 | fi |
| 34746 | # Put the nasty error message in config.log where it belongs |
| 34747 | echoscip-shell system . . echo. "$LIBEVENT_PKG_ERRORS" >&5 |
| 34748 | |
| 34749 | # libevent not found |
| 34750 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "no libevent >= 2.0 found with pthreads support, imhiredis cannot use pub/sub" "$LINENO" 5 |
| 34751 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 34752 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 34753 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 34754 | # libevent not found |
| 34755 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "no libevent >= 2.0 found with pthreads support, imhiredis cannot use pub/sub" "$LINENO" 5 |
| 34756 | else |
| 34757 | LIBEVENT_CFLAGS=$pkg_cv_LIBEVENT_CFLAGS |
| 34758 | LIBEVENT_LIBS=$pkg_cv_LIBEVENT_LIBS |
| 34759 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 34760 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 34761 | # libevent found |
| 34762 | |
| 34763 | HIREDIS_LIBS="$HIREDIS_LIBS -levent -levent_pthreads" |
| 34764 | |
| 34765 | fi |
| 34766 | |
| 34767 | fi |
| 34768 | |
| 34769 | if testscip-shell system . . test. "x$enable_imhiredis" = "xyes" || testscip-shell system . . test. "x$enable_omhiredis" = "xyes"; then |
| 34770 | if testscip-shell system . . test. "x$enable_redis_tests" = "xyes"; then |
| 34771 | # Extract the first word of "redis-server", so it can be a program name with args. |
| 34772 | set dummy redis-server; ac_word=$2 |
| 34773 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 34774 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 34775 | if testscip-shell system . . test. ${ac_cv_prog_REDIS+y} |
| 34776 | then : |
| 34777 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 34778 | else $as_nop |
| 34779 | if testscip-shell system . . test. -n "$REDIS"; then |
| 34780 | ac_cv_prog_REDIS="$REDIS" # Let the user override the test. |
| 34781 | else |
| 34782 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 34783 | for as_dir in $PATH |
| 34784 | do |
| 34785 | IFS=$as_save_IFS |
| 34786 | case $as_dir in #((( |
| 34787 | '') as_dir=./ ;; |
| 34788 | */) ;; |
| 34789 | *) as_dir=$as_dir/ ;; |
| 34790 | esac |
| 34791 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 34792 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 34793 | ac_cv_prog_REDIS="yes" |
| 34794 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 34795 | break 2 |
| 34796 | fi |
| 34797 | done |
| 34798 | done |
| 34799 | IFS=$as_save_IFS |
| 34800 | |
| 34801 | testscip-shell system . . test. -z "$ac_cv_prog_REDIS" && ac_cv_prog_REDIS="no" |
| 34802 | fi |
| 34803 | fi |
| 34804 | REDIS=$ac_cv_prog_REDIS |
| 34805 | if testscip-shell system . . test. -n "$REDIS"; then |
| 34806 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $REDIS" >&5 |
| 34807 | printfscip-shell system . . printf. "%s\n" "$REDIS" >&6; } |
| 34808 | else |
| 34809 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 34810 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 34811 | fi |
| 34812 | |
| 34813 | |
| 34814 | if testscip-shell system . . test. "x${REDIS}" = "xno"; then |
| 34815 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 34816 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 34817 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "redis-server, which is a redis-tests dependency, not found |
| 34818 | See \`config.log' for more details" "$LINENO" 5; } |
| 34819 | fi |
| 34820 | fi |
| 34821 | else |
| 34822 | if testscip-shell system . . test. "x$enable_redis_tests" = "xyes"; then |
| 34823 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: redis-tests can not be enabled without imhiredis or omhiredis support. |
| 34824 | Disabling enable_redis_tests..." >&5 |
| 34825 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: redis-tests can not be enabled without imhiredis or omhiredis support. |
| 34826 | Disabling enable_redis_tests..." >&2;} |
| 34827 | enable_redis_tests="no" |
| 34828 | fi |
| 34829 | fi |
| 34830 | |
| 34831 | if testscip-shell system . . test. x$enable_omhiredis = xyes; then |
| 34832 | ENABLE_OMHIREDIS_TRUE= |
| 34833 | ENABLE_OMHIREDIS_FALSE='#' |
| 34834 | else |
| 34835 | ENABLE_OMHIREDIS_TRUE='#' |
| 34836 | ENABLE_OMHIREDIS_FALSE= |
| 34837 | fi |
| 34838 | |
| 34839 | if testscip-shell system . . test. x$enable_imhiredis = xyes; then |
| 34840 | ENABLE_IMHIREDIS_TRUE= |
| 34841 | ENABLE_IMHIREDIS_FALSE='#' |
| 34842 | else |
| 34843 | ENABLE_IMHIREDIS_TRUE='#' |
| 34844 | ENABLE_IMHIREDIS_FALSE= |
| 34845 | fi |
| 34846 | |
| 34847 | |
| 34848 | # END HIREDIS SUPPORT |
| 34849 | |
| 34850 | |
| 34851 | # HTTPFS SUPPORT |
| 34852 | |
| 34853 | # Check whether --enable-omhttpfs was given. |
| 34854 | if testscip-shell system . . test. ${enable_omhttpfs+y} |
| 34855 | then : |
| 34856 | enableval=$enable_omhttpfs; case "${enableval}" in |
| 34857 | yes) enable_omhttpfs="yes" ;; |
| 34858 | no) enable_omhttpfs="no" ;; |
| 34859 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omhttpfs" "$LINENO" 5 ;; |
| 34860 | esac |
| 34861 | else $as_nop |
| 34862 | enable_omhttpfs=no |
| 34863 | |
| 34864 | fi |
| 34865 | |
| 34866 | |
| 34867 | if testscip-shell system . . test. "x$enable_omhttpfs" = "xyes"; then |
| 34868 | ac_fn_c_check_header_compilescip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_header_compile(). "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default" |
| 34869 | if testscip-shell system . . test. "x$ac_cv_header_curl_curl_h" = xyes |
| 34870 | then : |
| 34871 | printfscip-shell system . . printf. "%s\n" "#define HAVE_CURL_CURL_H 1" >>confdefs.h |
| 34872 | |
| 34873 | fi |
| 34874 | |
| 34875 | |
| 34876 | pkg_failed=no |
| 34877 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5 |
| 34878 | printfscip-shell system . . printf. %s "checking for libcurl... " >&6; } |
| 34879 | |
| 34880 | if testscip-shell system . . test. -n "$CURL_CFLAGS"; then |
| 34881 | pkg_cv_CURL_CFLAGS="$CURL_CFLAGS" |
| 34882 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 34883 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 34884 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 |
| 34885 | ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
| 34886 | ac_status=$? |
| 34887 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 34888 | testscip-shell system . . test. $ac_status = 0; }; then |
| 34889 | pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 34890 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 34891 | else |
| 34892 | pkg_failed=yes |
| 34893 | fi |
| 34894 | else |
| 34895 | pkg_failed=untried |
| 34896 | fi |
| 34897 | if testscip-shell system . . test. -n "$CURL_LIBS"; then |
| 34898 | pkg_cv_CURL_LIBS="$CURL_LIBS" |
| 34899 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 34900 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 34901 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 |
| 34902 | ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
| 34903 | ac_status=$? |
| 34904 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 34905 | testscip-shell system . . test. $ac_status = 0; }; then |
| 34906 | pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 34907 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 34908 | else |
| 34909 | pkg_failed=yes |
| 34910 | fi |
| 34911 | else |
| 34912 | pkg_failed=untried |
| 34913 | fi |
| 34914 | |
| 34915 | |
| 34916 | |
| 34917 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 34918 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 34919 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 34920 | |
| 34921 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 34922 | _pkg_short_errors_supported=yes |
| 34923 | else |
| 34924 | _pkg_short_errors_supported=no |
| 34925 | fi |
| 34926 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 34927 | CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1` |
| 34928 | else |
| 34929 | CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1` |
| 34930 | fi |
| 34931 | # Put the nasty error message in config.log where it belongs |
| 34932 | echoscip-shell system . . echo. "$CURL_PKG_ERRORS" >&5 |
| 34933 | |
| 34934 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libcurl) were not met: |
| 34935 | |
| 34936 | $CURL_PKG_ERRORS |
| 34937 | |
| 34938 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 34939 | installed software in a non-standard prefix. |
| 34940 | |
| 34941 | Alternatively, you may set the environment variables CURL_CFLAGS |
| 34942 | and CURL_LIBS to avoid the need to call pkg-config. |
| 34943 | See the pkg-config man page for more details." "$LINENO" 5 |
| 34944 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 34945 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 34946 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 34947 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 34948 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 34949 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 34950 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 34951 | path to pkg-config. |
| 34952 | |
| 34953 | Alternatively, you may set the environment variables CURL_CFLAGS |
| 34954 | and CURL_LIBS to avoid the need to call pkg-config. |
| 34955 | See the pkg-config man page for more details. |
| 34956 | |
| 34957 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 34958 | See \`config.log' for more details" "$LINENO" 5; } |
| 34959 | else |
| 34960 | CURL_CFLAGS=$pkg_cv_CURL_CFLAGS |
| 34961 | CURL_LIBS=$pkg_cv_CURL_LIBS |
| 34962 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 34963 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 34964 | |
| 34965 | fi |
| 34966 | LIBM= |
| 34967 | case $host in |
| 34968 | *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) |
| 34969 | # These system don't have libm, or don't need it |
| 34970 | ;; |
| 34971 | *-ncr-sysv4.3*) |
| 34972 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5 |
| 34973 | printfscip-shell system . . printf. %s "checking for _mwvalidcheckl in -lmw... " >&6; } |
| 34974 | if testscip-shell system . . test. ${ac_cv_lib_mw__mwvalidcheckl+y} |
| 34975 | then : |
| 34976 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 34977 | else $as_nop |
| 34978 | ac_check_lib_save_LIBS=$LIBS |
| 34979 | LIBS="-lmw $LIBS" |
| 34980 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 34981 | /* end confdefs.h. */ |
| 34982 | |
| 34983 | /* Override any GCC internal prototype to avoid an error. |
| 34984 | Use char because int might match the return type of a GCC |
| 34985 | builtin and then its argument prototype would still apply. */ |
| 34986 | char _mwvalidcheckl (); |
| 34987 | int |
| 34988 | main (void) |
| 34989 | { |
| 34990 | return _mwvalidcheckl (); |
| 34991 | ; |
| 34992 | return 0; |
| 34993 | } |
| 34994 | _ACEOF |
| 34995 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 34996 | then : |
| 34997 | ac_cv_lib_mw__mwvalidcheckl=yes |
| 34998 | else $as_nop |
| 34999 | ac_cv_lib_mw__mwvalidcheckl=no |
| 35000 | fi |
| 35001 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 35002 | conftest$ac_exeext conftest.$ac_ext |
| 35003 | LIBS=$ac_check_lib_save_LIBS |
| 35004 | fi |
| 35005 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 |
| 35006 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_mw__mwvalidcheckl" >&6; } |
| 35007 | if testscip-shell system . . test. "x$ac_cv_lib_mw__mwvalidcheckl" = xyes |
| 35008 | then : |
| 35009 | LIBM=-lmw |
| 35010 | fi |
| 35011 | |
| 35012 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 |
| 35013 | printfscip-shell system . . printf. %s "checking for cos in -lm... " >&6; } |
| 35014 | if testscip-shell system . . test. ${ac_cv_lib_m_cos+y} |
| 35015 | then : |
| 35016 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 35017 | else $as_nop |
| 35018 | ac_check_lib_save_LIBS=$LIBS |
| 35019 | LIBS="-lm $LIBS" |
| 35020 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 35021 | /* end confdefs.h. */ |
| 35022 | |
| 35023 | /* Override any GCC internal prototype to avoid an error. |
| 35024 | Use char because int might match the return type of a GCC |
| 35025 | builtin and then its argument prototype would still apply. */ |
| 35026 | char cos (); |
| 35027 | int |
| 35028 | main (void) |
| 35029 | { |
| 35030 | return cos (); |
| 35031 | ; |
| 35032 | return 0; |
| 35033 | } |
| 35034 | _ACEOF |
| 35035 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 35036 | then : |
| 35037 | ac_cv_lib_m_cos=yes |
| 35038 | else $as_nop |
| 35039 | ac_cv_lib_m_cos=no |
| 35040 | fi |
| 35041 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 35042 | conftest$ac_exeext conftest.$ac_ext |
| 35043 | LIBS=$ac_check_lib_save_LIBS |
| 35044 | fi |
| 35045 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 |
| 35046 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_m_cos" >&6; } |
| 35047 | if testscip-shell system . . test. "x$ac_cv_lib_m_cos" = xyes |
| 35048 | then : |
| 35049 | LIBM="$LIBM -lm" |
| 35050 | fi |
| 35051 | |
| 35052 | ;; |
| 35053 | *) |
| 35054 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 |
| 35055 | printfscip-shell system . . printf. %s "checking for cos in -lm... " >&6; } |
| 35056 | if testscip-shell system . . test. ${ac_cv_lib_m_cos+y} |
| 35057 | then : |
| 35058 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 35059 | else $as_nop |
| 35060 | ac_check_lib_save_LIBS=$LIBS |
| 35061 | LIBS="-lm $LIBS" |
| 35062 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 35063 | /* end confdefs.h. */ |
| 35064 | |
| 35065 | /* Override any GCC internal prototype to avoid an error. |
| 35066 | Use char because int might match the return type of a GCC |
| 35067 | builtin and then its argument prototype would still apply. */ |
| 35068 | char cos (); |
| 35069 | int |
| 35070 | main (void) |
| 35071 | { |
| 35072 | return cos (); |
| 35073 | ; |
| 35074 | return 0; |
| 35075 | } |
| 35076 | _ACEOF |
| 35077 | if ac_fn_c_try_linkscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_try_link(). "$LINENO" |
| 35078 | then : |
| 35079 | ac_cv_lib_m_cos=yes |
| 35080 | else $as_nop |
| 35081 | ac_cv_lib_m_cos=no |
| 35082 | fi |
| 35083 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 35084 | conftest$ac_exeext conftest.$ac_ext |
| 35085 | LIBS=$ac_check_lib_save_LIBS |
| 35086 | fi |
| 35087 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 |
| 35088 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_m_cos" >&6; } |
| 35089 | if testscip-shell system . . test. "x$ac_cv_lib_m_cos" = xyes |
| 35090 | then : |
| 35091 | LIBM=-lm |
| 35092 | fi |
| 35093 | |
| 35094 | ;; |
| 35095 | esac |
| 35096 | |
| 35097 | |
| 35098 | #PKG_CHECK_MODULES(HTTPFS, curl >= 7.0.0) |
| 35099 | fi |
| 35100 | if testscip-shell system . . test. x$enable_omhttpfs = xyes; then |
| 35101 | ENABLE_OMHTTPFS_TRUE= |
| 35102 | ENABLE_OMHTTPFS_FALSE='#' |
| 35103 | else |
| 35104 | ENABLE_OMHTTPFS_TRUE='#' |
| 35105 | ENABLE_OMHTTPFS_FALSE= |
| 35106 | fi |
| 35107 | |
| 35108 | |
| 35109 | # END HTTPFS SUPPORT |
| 35110 | |
| 35111 | # AMQP 1.0 PROTOCOL SUPPORT |
| 35112 | # uses the Proton protocol library |
| 35113 | |
| 35114 | # Check whether --enable-omamqp1 was given. |
| 35115 | if testscip-shell system . . test. ${enable_omamqp1+y} |
| 35116 | then : |
| 35117 | enableval=$enable_omamqp1; case "${enableval}" in |
| 35118 | yes) enable_omamqp1="yes" ;; |
| 35119 | no) enable_omamqp1="no" ;; |
| 35120 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omamqp1" "$LINENO" 5 ;; |
| 35121 | esac |
| 35122 | else $as_nop |
| 35123 | enable_omamqp1=no |
| 35124 | |
| 35125 | fi |
| 35126 | |
| 35127 | if testscip-shell system . . test. "x$enable_omamqp1" = "xyes"; then |
| 35128 | |
| 35129 | pkg_failed=no |
| 35130 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libqpid-proton >= 0.13" >&5 |
| 35131 | printfscip-shell system . . printf. %s "checking for libqpid-proton >= 0.13... " >&6; } |
| 35132 | |
| 35133 | if testscip-shell system . . test. -n "$PROTON_CFLAGS"; then |
| 35134 | pkg_cv_PROTON_CFLAGS="$PROTON_CFLAGS" |
| 35135 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 35136 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 35137 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqpid-proton >= 0.13\""; } >&5 |
| 35138 | ($PKG_CONFIG --exists --print-errors "libqpid-proton >= 0.13") 2>&5 |
| 35139 | ac_status=$? |
| 35140 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 35141 | testscip-shell system . . test. $ac_status = 0; }; then |
| 35142 | pkg_cv_PROTON_CFLAGS=`$PKG_CONFIG --cflags "libqpid-proton >= 0.13" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 35143 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 35144 | else |
| 35145 | pkg_failed=yes |
| 35146 | fi |
| 35147 | else |
| 35148 | pkg_failed=untried |
| 35149 | fi |
| 35150 | if testscip-shell system . . test. -n "$PROTON_LIBS"; then |
| 35151 | pkg_cv_PROTON_LIBS="$PROTON_LIBS" |
| 35152 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 35153 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 35154 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqpid-proton >= 0.13\""; } >&5 |
| 35155 | ($PKG_CONFIG --exists --print-errors "libqpid-proton >= 0.13") 2>&5 |
| 35156 | ac_status=$? |
| 35157 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 35158 | testscip-shell system . . test. $ac_status = 0; }; then |
| 35159 | pkg_cv_PROTON_LIBS=`$PKG_CONFIG --libs "libqpid-proton >= 0.13" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 35160 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 35161 | else |
| 35162 | pkg_failed=yes |
| 35163 | fi |
| 35164 | else |
| 35165 | pkg_failed=untried |
| 35166 | fi |
| 35167 | |
| 35168 | |
| 35169 | |
| 35170 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 35171 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 35172 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 35173 | |
| 35174 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 35175 | _pkg_short_errors_supported=yes |
| 35176 | else |
| 35177 | _pkg_short_errors_supported=no |
| 35178 | fi |
| 35179 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 35180 | PROTON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libqpid-proton >= 0.13" 2>&1` |
| 35181 | else |
| 35182 | PROTON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libqpid-proton >= 0.13" 2>&1` |
| 35183 | fi |
| 35184 | # Put the nasty error message in config.log where it belongs |
| 35185 | echoscip-shell system . . echo. "$PROTON_PKG_ERRORS" >&5 |
| 35186 | |
| 35187 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libqpid-proton >= 0.13) were not met: |
| 35188 | |
| 35189 | $PROTON_PKG_ERRORS |
| 35190 | |
| 35191 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 35192 | installed software in a non-standard prefix. |
| 35193 | |
| 35194 | Alternatively, you may set the environment variables PROTON_CFLAGS |
| 35195 | and PROTON_LIBS to avoid the need to call pkg-config. |
| 35196 | See the pkg-config man page for more details." "$LINENO" 5 |
| 35197 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 35198 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 35199 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 35200 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 35201 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 35202 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 35203 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 35204 | path to pkg-config. |
| 35205 | |
| 35206 | Alternatively, you may set the environment variables PROTON_CFLAGS |
| 35207 | and PROTON_LIBS to avoid the need to call pkg-config. |
| 35208 | See the pkg-config man page for more details. |
| 35209 | |
| 35210 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 35211 | See \`config.log' for more details" "$LINENO" 5; } |
| 35212 | else |
| 35213 | PROTON_CFLAGS=$pkg_cv_PROTON_CFLAGS |
| 35214 | PROTON_LIBS=$pkg_cv_PROTON_LIBS |
| 35215 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 35216 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 35217 | |
| 35218 | fi |
| 35219 | |
| 35220 | |
| 35221 | |
| 35222 | # Proton requires OpenSSL for SSL/TLS support. Ensure OpenSSL is available. |
| 35223 | # If OPENSSL_LIBS is not already set (from --enable-openssl), detect it now. |
| 35224 | if testscip-shell system . . test. "x$OPENSSL_LIBS" = "x"; then |
| 35225 | |
| 35226 | pkg_failed=no |
| 35227 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5 |
| 35228 | printfscip-shell system . . printf. %s "checking for openssl... " >&6; } |
| 35229 | |
| 35230 | if testscip-shell system . . test. -n "$OPENSSL_CFLAGS"; then |
| 35231 | pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS" |
| 35232 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 35233 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 35234 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5 |
| 35235 | ($PKG_CONFIG --exists --print-errors "openssl") 2>&5 |
| 35236 | ac_status=$? |
| 35237 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 35238 | testscip-shell system . . test. $ac_status = 0; }; then |
| 35239 | pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 35240 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 35241 | else |
| 35242 | pkg_failed=yes |
| 35243 | fi |
| 35244 | else |
| 35245 | pkg_failed=untried |
| 35246 | fi |
| 35247 | if testscip-shell system . . test. -n "$OPENSSL_LIBS"; then |
| 35248 | pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS" |
| 35249 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 35250 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 35251 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5 |
| 35252 | ($PKG_CONFIG --exists --print-errors "openssl") 2>&5 |
| 35253 | ac_status=$? |
| 35254 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 35255 | testscip-shell system . . test. $ac_status = 0; }; then |
| 35256 | pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 35257 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 35258 | else |
| 35259 | pkg_failed=yes |
| 35260 | fi |
| 35261 | else |
| 35262 | pkg_failed=untried |
| 35263 | fi |
| 35264 | |
| 35265 | |
| 35266 | |
| 35267 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 35268 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 35269 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 35270 | |
| 35271 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 35272 | _pkg_short_errors_supported=yes |
| 35273 | else |
| 35274 | _pkg_short_errors_supported=no |
| 35275 | fi |
| 35276 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 35277 | OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl" 2>&1` |
| 35278 | else |
| 35279 | OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl" 2>&1` |
| 35280 | fi |
| 35281 | # Put the nasty error message in config.log where it belongs |
| 35282 | echoscip-shell system . . echo. "$OPENSSL_PKG_ERRORS" >&5 |
| 35283 | |
| 35284 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (openssl) were not met: |
| 35285 | |
| 35286 | $OPENSSL_PKG_ERRORS |
| 35287 | |
| 35288 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 35289 | installed software in a non-standard prefix. |
| 35290 | |
| 35291 | Alternatively, you may set the environment variables OPENSSL_CFLAGS |
| 35292 | and OPENSSL_LIBS to avoid the need to call pkg-config. |
| 35293 | See the pkg-config man page for more details." "$LINENO" 5 |
| 35294 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 35295 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 35296 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 35297 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 35298 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 35299 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 35300 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 35301 | path to pkg-config. |
| 35302 | |
| 35303 | Alternatively, you may set the environment variables OPENSSL_CFLAGS |
| 35304 | and OPENSSL_LIBS to avoid the need to call pkg-config. |
| 35305 | See the pkg-config man page for more details. |
| 35306 | |
| 35307 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 35308 | See \`config.log' for more details" "$LINENO" 5; } |
| 35309 | else |
| 35310 | OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS |
| 35311 | OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS |
| 35312 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 35313 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 35314 | |
| 35315 | fi |
| 35316 | fi |
| 35317 | |
| 35318 | fi |
| 35319 | if testscip-shell system . . test. x$enable_omamqp1 = xyes; then |
| 35320 | ENABLE_OMAMQP1_TRUE= |
| 35321 | ENABLE_OMAMQP1_FALSE='#' |
| 35322 | else |
| 35323 | ENABLE_OMAMQP1_TRUE='#' |
| 35324 | ENABLE_OMAMQP1_FALSE= |
| 35325 | fi |
| 35326 | |
| 35327 | |
| 35328 | # END AMQP 1.0 PROTOCOL SUPPORT |
| 35329 | |
| 35330 | # TCL SUPPORT |
| 35331 | |
| 35332 | # Check whether --enable-omtcl was given. |
| 35333 | if testscip-shell system . . test. ${enable_omtcl+y} |
| 35334 | then : |
| 35335 | enableval=$enable_omtcl; case "${enableval}" in |
| 35336 | yes) enable_omtcl="yes" ;; |
| 35337 | no) enable_omtcl="no" ;; |
| 35338 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-omtcl" "$LINENO" 5 ;; |
| 35339 | esac |
| 35340 | else $as_nop |
| 35341 | enable_omtcl=no |
| 35342 | |
| 35343 | fi |
| 35344 | |
| 35345 | |
| 35346 | if testscip-shell system . . test. "x$enable_omtcl" = "xyes"; then |
| 35347 | |
| 35348 | # |
| 35349 | # Ok, lets find the tcl configuration |
| 35350 | # First, look for one uninstalled. |
| 35351 | # the alternative search directory is invoked by --with-tcl |
| 35352 | # |
| 35353 | |
| 35354 | if testscip-shell system . . test. x"${no_tcl}" = x ; then |
| 35355 | # we reset no_tcl in case something fails here |
| 35356 | no_tcl=true |
| 35357 | |
| 35358 | # Check whether --with-tcl was given. |
| 35359 | if testscip-shell system . . test. ${with_tcl+y} |
| 35360 | then : |
| 35361 | withval=$with_tcl; with_tclconfig="${withval}" |
| 35362 | fi |
| 35363 | |
| 35364 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Tcl configuration" >&5 |
| 35365 | printfscip-shell system . . printf. %s "checking for Tcl configuration... " >&6; } |
| 35366 | if testscip-shell system . . test. ${ac_cv_c_tclconfig+y} |
| 35367 | then : |
| 35368 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 35369 | else $as_nop |
| 35370 | |
| 35371 | |
| 35372 | # First check to see if --with-tcl was specified. |
| 35373 | if testscip-shell system . . test. x"${with_tclconfig}" != x ; then |
| 35374 | case "${with_tclconfig}" in |
| 35375 | */tclConfig.sh ) |
| 35376 | if testscip-shell system . . test. -f "${with_tclconfig}"; then |
| 35377 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&5 |
| 35378 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&2;} |
| 35379 | with_tclconfig="`echoscip-shell system . . echo. "${with_tclconfig}" | sedscip-shell system . . sed. 's!/tclConfig\.sh$!!'`" |
| 35380 | fi ;; |
| 35381 | esac |
| 35382 | if testscip-shell system . . test. -f "${with_tclconfig}/tclConfig.sh" ; then |
| 35383 | ac_cv_c_tclconfig="`(cd "${with_tclconfig}"; pwdscip-shell system . . pwd.)`" |
| 35384 | else |
| 35385 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "${with_tclconfig} directory doesn't contain tclConfig.sh" "$LINENO" 5 |
| 35386 | fi |
| 35387 | fi |
| 35388 | |
| 35389 | # then check for a private Tcl installation |
| 35390 | if testscip-shell system . . test. x"${ac_cv_c_tclconfig}" = x ; then |
| 35391 | for i in \ |
| 35392 | .scip-shell system . . ls../tcl \ |
| 35393 | `scip-shell system . . ls.ls -dr ../tcl[8-9].[0-9].[0-9]* 2>scip-shell filesystem . . `/dev/null`./dev/null` \ |
| 35394 | `scip-shell system . . ls.ls -dr ../tcl[8-9].[0-9] 2>/dev/nulscip-shell filesystem . . `/dev/null`.l` \ |
| 35395 | `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \ |
| 35396 | .scip-shell system . . ls../../tcl \ |
| 35397 | `scip-shell system . . ls.ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>scip-shell filesystem . . `/dev/null`./dev/null` \ |
| 35398 | `scip-shell system . . ls.ls -dr ../../tcl[8-9].[0-9] 2>/dev/nulscip-shell filesystem . . `/dev/null`.l` \ |
| 35399 | `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \ |
| 35400 | .scip-shell system . . ls../../../tcl \ |
| 35401 | `scip-shell system . . ls.ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>scip-shell filesystem . . `/dev/null`./dev/null` \ |
| 35402 | `scip-shell system . . ls.ls -dr ../../../tcl[8-9].[0-9] 2>/dev/nulscip-shell filesystem . . `/dev/null`.l` \ |
| 35403 | `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null` ; do |
| 35404 | if testscip-shell system . . test. -f "$i/unix/tclConfig.sh" ; then |
| 35405 | ac_cv_c_tclconfig="`(cd $i/unix; pwdscip-shell system . . pwd.)`" |
| 35406 | break |
| 35407 | fi |
| 35408 | done |
| 35409 | fi |
| 35410 | |
| 35411 | # on Darwin, check in Framework installation locations |
| 35412 | if testscip-shell system . . test. "`unamescip-shell system . . uname. -s`" = "Darwin" -a x"${ac_cv_c_tclconfig}" = x ; then |
| 35413 | foscip-shell system . . ls.r i in `scip-shell filesystem . . `/Library/Frameworks`.lsscip-shell system . . ls. -d ~/Libraryscip-shell filesystem . . `/Library/Frameworks`./Frameworks scip-shell filesystem . . `/dev/null`.2>/dev/nullscip-shell filesystem . . `/dev/null`.` \ |
| 35414 | `scip-shell system . . ls.ls -d /Library/Frameworks 2>/descip-shell filesystem . . `/Network/Library/Frameworks`.v/null` \scip-shell filesystem . . `/dev/null`. |
| 35415 | `ls -d /Network/Library/Frameworks 2>/dev/null` \ |
| 35416 | ; do |
| 35417 | if testscip-shell system . . test. -f "$i/Tcl.framework/tclConfig.sh" ; then |
| 35418 | ac_cv_c_tclconfig="`(cd $i/Tcl.framework; pwdscip-shell system . . pwd.)`" |
| 35419 | break |
| 35420 | fi |
| 35421 | done |
| 35422 | fi |
| 35423 | |
| 35424 | # check in a few common install locations |
| 35425 | if testscip-shell system . . test. x"${ac_cv_c_tclconfig}" = x ; then |
| 35426 | foscip-shell system . . ls.r i in `lsscip-shell system . . ls. -d ${libdir} 2>scip-shell filesystem . . `/dev/null`./dev/nulscip-shell filesystem . . `/dev/null`.lscip-shell filesystem . . `/dev/null`.` \ |
| 35427 | `scip-shell system . . ls.ls -d ${exec_prefix}/lib 2>/dscip-shell filesystem . . `/dev/null`.ev/null` \ |
| 35428 | `scip-shell system . . ls.ls -d ${prefix}/liscip-shell filesystem . . `/usr/local/lib`.b 2>/dev/nulscip-shell filesystem . . `/dev/null`.l` \ |
| 35429 | `scip-shell system . . ls.ls -d /usr/local/libscip-shell filesystem . . `/usr/contrib/lib`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.` \ |
| 35430 | `scip-shell system . . ls.ls -d /usr/contrscip-shell filesystem . . `/usr/pkg/lib`.ib/lib 2>/descip-shell filesystem . . `/dev/null`.v/null` \ |
| 35431 | `scip-shell system . . ls.ls -d /usr/pkg/lib scip-shell filesystem . . `/usr/lib/tcl8.6`.2>/dev/null`scip-shell filesystem . . `/dev/null`. \ |
| 35432 | `scip-shell system . . ls.ls -d /usr/lscip-shell filesystem . . `/usr/lib`.ib/tcl8.6 2>scip-shell filesystem . . `/dev/null`./dev/null` \ |
| 35433 | `scip-shell system . . ls.ls -d /usr/libscip-shell filesystem . . `/usr/lib64`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.` \ |
| 35434 | `scip-shell system . . ls.ls -d /usr/lib64 2>/dev/nscip-shell filesystem . . `/usr/local/lib/tcl8.6`.ull` \scip-shell filesystem . . `/dev/null`. |
| 35435 | `scip-shell system . . ls.ls -d /usr/local/lib/tcl8.6 2scip-shell filesystem . . `/usr/local/lib/tcl/tcl8.6`.>/dev/null` scip-shell filesystem . . `/dev/null`.\ |
| 35436 | `ls -d /usr/local/lib/tcl/tcl8.6 2>/dev/null` \ |
| 35437 | ; do |
| 35438 | if testscip-shell system . . test. -f "$i/tclConfig.sh" ; then |
| 35439 | ac_cv_c_tclconfig="`(cd $i; pwdscip-shell system . . pwd.)`" |
| 35440 | break |
| 35441 | fi |
| 35442 | done |
| 35443 | fi |
| 35444 | |
| 35445 | # check in a few other private locations |
| 35446 | if testscip-shell system . . test. x"${ac_cv_c_tclconfig}" = x ; then |
| 35447 | for i in \ |
| 35448 | $scip-shell system . . ls.{srcdir}/../tcl \ |
| 35449 | `scip-shell system . . ls.ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>scip-shell filesystem . . `/dev/null`./dev/null` \ |
| 35450 | `scip-shell system . . ls.ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/nulscip-shell filesystem . . `/dev/null`.l` \ |
| 35451 | `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null` ; do |
| 35452 | if testscip-shell system . . test. -f "$i/unix/tclConfig.sh" ; then |
| 35453 | ac_cv_c_tclconfig="`(cd $i/unix; pwdscip-shell system . . pwd.)`" |
| 35454 | break |
| 35455 | fi |
| 35456 | done |
| 35457 | fi |
| 35458 | |
| 35459 | fi |
| 35460 | |
| 35461 | |
| 35462 | if testscip-shell system . . test. x"${ac_cv_c_tclconfig}" = x ; then |
| 35463 | TCL_BIN_DIR="# no Tcl configs found" |
| 35464 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Can't find Tcl configuration definitions. Use --with-tcl to specify a directory containing tclConfig.sh" "$LINENO" 5 |
| 35465 | else |
| 35466 | no_tcl= |
| 35467 | TCL_BIN_DIR="${ac_cv_c_tclconfig}" |
| 35468 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5 |
| 35469 | printfscip-shell system . . printf. "%s\n" "found ${TCL_BIN_DIR}/tclConfig.sh" >&6; } |
| 35470 | fi |
| 35471 | fi |
| 35472 | |
| 35473 | |
| 35474 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5 |
| 35475 | printfscip-shell system . . printf. %s "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... " >&6; } |
| 35476 | |
| 35477 | if testscip-shell system . . test. -f "${TCL_BIN_DIR}/tclConfig.sh" ; then |
| 35478 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: loading" >&5 |
| 35479 | printfscip-shell system . . printf. "%s\n" "loading" >&6; } |
| 35480 | . "${TCL_BIN_DIR}/tclConfig.sh" |
| 35481 | else |
| 35482 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5 |
| 35483 | printfscip-shell system . . printf. "%s\n" "could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6; } |
| 35484 | fi |
| 35485 | |
| 35486 | # If the TCL_BIN_DIR is the build directory (not the install directory), |
| 35487 | # then set the common variable name to the value of the build variables. |
| 35488 | # For example, the variable TCL_LIB_SPEC will be set to the value |
| 35489 | # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC |
| 35490 | # instead of TCL_BUILD_LIB_SPEC since it will work with both an |
| 35491 | # installed and uninstalled version of Tcl. |
| 35492 | if testscip-shell system . . test. -f "${TCL_BIN_DIR}/Makefile" ; then |
| 35493 | TCL_LIB_SPEC="${TCL_BUILD_LIB_SPEC}" |
| 35494 | TCL_STUB_LIB_SPEC="${TCL_BUILD_STUB_LIB_SPEC}" |
| 35495 | TCL_STUB_LIB_PATH="${TCL_BUILD_STUB_LIB_PATH}" |
| 35496 | elif testscip-shell system . . test. "`unamescip-shell system . . uname. -s`" = "Darwin"; then |
| 35497 | # If Tcl was built as a framework, attempt to use the libraries |
| 35498 | # from the framework at the given location so that linking works |
| 35499 | # against Tcl.framework installed in an arbitrary location. |
| 35500 | case ${TCL_DEFS} in |
| 35501 | *TCL_FRAMEWORK*) |
| 35502 | if testscip-shell system . . test. -f "${TCL_BIN_DIR}/${TCL_LIB_FILE}"; then |
| 35503 | for i in "`cd "${TCL_BIN_DIR}"; scip-shell system . . pwd.pwdscip-shell system . . pwd.`" \ |
| 35504 | "`cd "${TCL_BIN_DIR}"/../..; pwd`"; do |
| 35505 | if testscip-shell system . . test. "`basenamescip-shell system . . basename. "$i"`" = "${TCL_LIB_FILE}.framework"; then |
| 35506 | TCL_LIB_SPEC="-F`dirnamescip-shell system . . dirname. "$i" | sedscip-shell system . . sed. -e 's/ /\\\\ /g'` -framework ${TCL_LIB_FILE}" |
| 35507 | break |
| 35508 | fi |
| 35509 | done |
| 35510 | fi |
| 35511 | if testscip-shell system . . test. -f "${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}"; then |
| 35512 | TCL_STUB_LIB_SPEC="-L`echoscip-shell system . . echo. "${TCL_BIN_DIR}" | sedscip-shell system . . sed. -e 's/ /\\\\ /g'` ${TCL_STUB_LIB_FLAG}" |
| 35513 | TCL_STUB_LIB_PATH="${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}" |
| 35514 | fi |
| 35515 | ;; |
| 35516 | esac |
| 35517 | fi |
| 35518 | |
| 35519 | |
| 35520 | |
| 35521 | |
| 35522 | |
| 35523 | |
| 35524 | |
| 35525 | |
| 35526 | |
| 35527 | |
| 35528 | |
| 35529 | |
| 35530 | |
| 35531 | |
| 35532 | |
| 35533 | fi |
| 35534 | if testscip-shell system . . test. x$enable_omtcl = xyes; then |
| 35535 | ENABLE_OMTCL_TRUE= |
| 35536 | ENABLE_OMTCL_FALSE='#' |
| 35537 | else |
| 35538 | ENABLE_OMTCL_TRUE='#' |
| 35539 | ENABLE_OMTCL_FALSE= |
| 35540 | fi |
| 35541 | |
| 35542 | |
| 35543 | # END TCL SUPPORT |
| 35544 | |
| 35545 | # mmkubernetes - Kubernetes metadata support |
| 35546 | |
| 35547 | # Check whether --enable-mmkubernetes was given. |
| 35548 | if testscip-shell system . . test. ${enable_mmkubernetes+y} |
| 35549 | then : |
| 35550 | enableval=$enable_mmkubernetes; case "${enableval}" in |
| 35551 | yes) enable_mmkubernetes="yes" ;; |
| 35552 | no) enable_mmkubernetes="no" ;; |
| 35553 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmkubernetes" "$LINENO" 5 ;; |
| 35554 | esac |
| 35555 | else $as_nop |
| 35556 | enable_mmkubernetes=no |
| 35557 | |
| 35558 | fi |
| 35559 | |
| 35560 | if testscip-shell system . . test. "x$enable_mmkubernetes" = "xyes"; then |
| 35561 | |
| 35562 | pkg_failed=no |
| 35563 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5 |
| 35564 | printfscip-shell system . . printf. %s "checking for libcurl... " >&6; } |
| 35565 | |
| 35566 | if testscip-shell system . . test. -n "$CURL_CFLAGS"; then |
| 35567 | pkg_cv_CURL_CFLAGS="$CURL_CFLAGS" |
| 35568 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 35569 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 35570 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 |
| 35571 | ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
| 35572 | ac_status=$? |
| 35573 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 35574 | testscip-shell system . . test. $ac_status = 0; }; then |
| 35575 | pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 35576 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 35577 | else |
| 35578 | pkg_failed=yes |
| 35579 | fi |
| 35580 | else |
| 35581 | pkg_failed=untried |
| 35582 | fi |
| 35583 | if testscip-shell system . . test. -n "$CURL_LIBS"; then |
| 35584 | pkg_cv_CURL_LIBS="$CURL_LIBS" |
| 35585 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 35586 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 35587 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 |
| 35588 | ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 |
| 35589 | ac_status=$? |
| 35590 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 35591 | testscip-shell system . . test. $ac_status = 0; }; then |
| 35592 | pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 35593 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 35594 | else |
| 35595 | pkg_failed=yes |
| 35596 | fi |
| 35597 | else |
| 35598 | pkg_failed=untried |
| 35599 | fi |
| 35600 | |
| 35601 | |
| 35602 | |
| 35603 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 35604 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 35605 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 35606 | |
| 35607 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 35608 | _pkg_short_errors_supported=yes |
| 35609 | else |
| 35610 | _pkg_short_errors_supported=no |
| 35611 | fi |
| 35612 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 35613 | CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1` |
| 35614 | else |
| 35615 | CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1` |
| 35616 | fi |
| 35617 | # Put the nasty error message in config.log where it belongs |
| 35618 | echoscip-shell system . . echo. "$CURL_PKG_ERRORS" >&5 |
| 35619 | |
| 35620 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (libcurl) were not met: |
| 35621 | |
| 35622 | $CURL_PKG_ERRORS |
| 35623 | |
| 35624 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 35625 | installed software in a non-standard prefix. |
| 35626 | |
| 35627 | Alternatively, you may set the environment variables CURL_CFLAGS |
| 35628 | and CURL_LIBS to avoid the need to call pkg-config. |
| 35629 | See the pkg-config man page for more details." "$LINENO" 5 |
| 35630 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 35631 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 35632 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 35633 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 35634 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 35635 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 35636 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 35637 | path to pkg-config. |
| 35638 | |
| 35639 | Alternatively, you may set the environment variables CURL_CFLAGS |
| 35640 | and CURL_LIBS to avoid the need to call pkg-config. |
| 35641 | See the pkg-config man page for more details. |
| 35642 | |
| 35643 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 35644 | See \`config.log' for more details" "$LINENO" 5; } |
| 35645 | else |
| 35646 | CURL_CFLAGS=$pkg_cv_CURL_CFLAGS |
| 35647 | CURL_LIBS=$pkg_cv_CURL_LIBS |
| 35648 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 35649 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 35650 | |
| 35651 | fi |
| 35652 | |
| 35653 | pkg_failed=no |
| 35654 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lognorm >= 2.0.3" >&5 |
| 35655 | printfscip-shell system . . printf. %s "checking for lognorm >= 2.0.3... " >&6; } |
| 35656 | |
| 35657 | if testscip-shell system . . test. -n "$LIBLOGNORM_CFLAGS"; then |
| 35658 | pkg_cv_LIBLOGNORM_CFLAGS="$LIBLOGNORM_CFLAGS" |
| 35659 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 35660 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 35661 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lognorm >= 2.0.3\""; } >&5 |
| 35662 | ($PKG_CONFIG --exists --print-errors "lognorm >= 2.0.3") 2>&5 |
| 35663 | ac_status=$? |
| 35664 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 35665 | testscip-shell system . . test. $ac_status = 0; }; then |
| 35666 | pkg_cv_LIBLOGNORM_CFLAGS=`$PKG_CONFIG --cflags "lognorm >= 2.0.3" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 35667 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 35668 | else |
| 35669 | pkg_failed=yes |
| 35670 | fi |
| 35671 | else |
| 35672 | pkg_failed=untried |
| 35673 | fi |
| 35674 | if testscip-shell system . . test. -n "$LIBLOGNORM_LIBS"; then |
| 35675 | pkg_cv_LIBLOGNORM_LIBS="$LIBLOGNORM_LIBS" |
| 35676 | elif testscip-shell system . . test. -n "$PKG_CONFIG"; then |
| 35677 | if testscip-shell system . . test. -n "$PKG_CONFIG" && \ |
| 35678 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lognorm >= 2.0.3\""; } >&5 |
| 35679 | ($PKG_CONFIG --exists --print-errors "lognorm >= 2.0.3") 2>&5 |
| 35680 | ac_status=$? |
| 35681 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 35682 | testscip-shell system . . test. $ac_status = 0; }; then |
| 35683 | pkg_cv_LIBLOGNORM_LIBS=`$PKG_CONFIG --libs "lognorm >= 2.0.3" 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 35684 | testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes |
| 35685 | else |
| 35686 | pkg_failed=yes |
| 35687 | fi |
| 35688 | else |
| 35689 | pkg_failed=untried |
| 35690 | fi |
| 35691 | |
| 35692 | |
| 35693 | |
| 35694 | if testscip-shell system . . test. $pkg_failed = yes; then |
| 35695 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 35696 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 35697 | |
| 35698 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 35699 | _pkg_short_errors_supported=yes |
| 35700 | else |
| 35701 | _pkg_short_errors_supported=no |
| 35702 | fi |
| 35703 | if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then |
| 35704 | LIBLOGNORM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lognorm >= 2.0.3" 2>&1` |
| 35705 | else |
| 35706 | LIBLOGNORM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lognorm >= 2.0.3" 2>&1` |
| 35707 | fi |
| 35708 | # Put the nasty error message in config.log where it belongs |
| 35709 | echoscip-shell system . . echo. "$LIBLOGNORM_PKG_ERRORS" >&5 |
| 35710 | |
| 35711 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "Package requirements (lognorm >= 2.0.3) were not met: |
| 35712 | |
| 35713 | $LIBLOGNORM_PKG_ERRORS |
| 35714 | |
| 35715 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 35716 | installed software in a non-standard prefix. |
| 35717 | |
| 35718 | Alternatively, you may set the environment variables LIBLOGNORM_CFLAGS |
| 35719 | and LIBLOGNORM_LIBS to avoid the need to call pkg-config. |
| 35720 | See the pkg-config man page for more details." "$LINENO" 5 |
| 35721 | elif testscip-shell system . . test. $pkg_failed = untried; then |
| 35722 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 35723 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 35724 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 35725 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 35726 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "The pkg-config script could not be found or is too old. Make sure it |
| 35727 | is in your PATH or set the PKG_CONFIG environment variable to the full |
| 35728 | path to pkg-config. |
| 35729 | |
| 35730 | Alternatively, you may set the environment variables LIBLOGNORM_CFLAGS |
| 35731 | and LIBLOGNORM_LIBS to avoid the need to call pkg-config. |
| 35732 | See the pkg-config man page for more details. |
| 35733 | |
| 35734 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 35735 | See \`config.log' for more details" "$LINENO" 5; } |
| 35736 | else |
| 35737 | LIBLOGNORM_CFLAGS=$pkg_cv_LIBLOGNORM_CFLAGS |
| 35738 | LIBLOGNORM_LIBS=$pkg_cv_LIBLOGNORM_LIBS |
| 35739 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 35740 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 35741 | |
| 35742 | fi |
| 35743 | |
| 35744 | save_CFLAGS="$CFLAGS" |
| 35745 | save_LIBS="$LIBS" |
| 35746 | |
| 35747 | CFLAGS="$CFLAGS $LIBLOGNORM_CFLAGS" |
| 35748 | LIBS="$LIBS $LIBLOGNORM_LIBS" |
| 35749 | |
| 35750 | ac_fn_c_check_funcscip-shell shell rsyslog 8.2604.0-4 ac_fn_c_check_func(). "$LINENO" "ln_loadSamplesFromString" "ac_cv_func_ln_loadSamplesFromString" |
| 35751 | if testscip-shell system . . test. "x$ac_cv_func_ln_loadSamplesFromString" = xyes |
| 35752 | then : |
| 35753 | |
| 35754 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LOADSAMPLESFROMSTRING 1" >>confdefs.h |
| 35755 | |
| 35756 | else $as_nop |
| 35757 | |
| 35758 | printfscip-shell system . . printf. "%s\n" "#define NO_LOADSAMPLESFROMSTRING 1" >>confdefs.h |
| 35759 | |
| 35760 | fi |
| 35761 | |
| 35762 | |
| 35763 | CFLAGS="$save_CFLAGS" |
| 35764 | LIBS="$save_LIBS" |
| 35765 | fi |
| 35766 | if testscip-shell system . . test. x$enable_mmkubernetes = xyes; then |
| 35767 | ENABLE_MMKUBERNETES_TRUE= |
| 35768 | ENABLE_MMKUBERNETES_FALSE='#' |
| 35769 | else |
| 35770 | ENABLE_MMKUBERNETES_TRUE='#' |
| 35771 | ENABLE_MMKUBERNETES_FALSE= |
| 35772 | fi |
| 35773 | |
| 35774 | |
| 35775 | # END Kubernetes metadata support |
| 35776 | |
| 35777 | |
| 35778 | # mmtaghostname |
| 35779 | # Check whether --enable-mmtaghostname was given. |
| 35780 | if testscip-shell system . . test. ${enable_mmtaghostname+y} |
| 35781 | then : |
| 35782 | enableval=$enable_mmtaghostname; case "${enableval}" in |
| 35783 | yes) enable_mmtaghostname="yes" ;; |
| 35784 | no) enable_mmtaghostname="no" ;; |
| 35785 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-mmtaghostname" "$LINENO" 5 ;; |
| 35786 | esac |
| 35787 | else $as_nop |
| 35788 | enable_mmtaghostname=no |
| 35789 | |
| 35790 | fi |
| 35791 | |
| 35792 | if testscip-shell system . . test. x$enable_mmtaghostname = xyes; then |
| 35793 | ENABLE_MMTAGHOSTNAME_TRUE= |
| 35794 | ENABLE_MMTAGHOSTNAME_FALSE='#' |
| 35795 | else |
| 35796 | ENABLE_MMTAGHOSTNAME_TRUE='#' |
| 35797 | ENABLE_MMTAGHOSTNAME_FALSE= |
| 35798 | fi |
| 35799 | |
| 35800 | #END mmtaghostname |
| 35801 | |
| 35802 | # man pages |
| 35803 | have_to_generate_man_pages="no" |
| 35804 | git_src_have_to_generate_man_pages="yes" # default to use when building from git source |
| 35805 | # Check whether --enable-generate-man-pages was given. |
| 35806 | if testscip-shell system . . test. ${enable_generate_man_pages+y} |
| 35807 | then : |
| 35808 | enableval=$enable_generate_man_pages; case "${enableval}" in |
| 35809 | yes) have_to_generate_man_pages="yes" ;; |
| 35810 | no) have_to_generate_man_pages="no" ; |
| 35811 | git_src_have_to_generate_man_pages="no" |
| 35812 | ;; |
| 35813 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-generate-man-pages" "$LINENO" 5 ;; |
| 35814 | esac |
| 35815 | else $as_nop |
| 35816 | have_to_generate_man_pages=no |
| 35817 | |
| 35818 | fi |
| 35819 | |
| 35820 | |
| 35821 | |
| 35822 | # This provides a work-around to use "make distcheck" without |
| 35823 | # running tests (mode used pre 2018-07-02) |
| 35824 | # Check whether --enable-distcheck-workaround was given. |
| 35825 | if testscip-shell system . . test. ${enable_distcheck_workaround+y} |
| 35826 | then : |
| 35827 | enableval=$enable_distcheck_workaround; case "${enableval}" in |
| 35828 | yes) enable_distcheck_workaround="yes" ;; |
| 35829 | no) enable_distcheck_workaround="no" ;; |
| 35830 | *) as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "bad value ${enableval} for --enable-distcheck_workaround" "$LINENO" 5 ;; |
| 35831 | esac |
| 35832 | else $as_nop |
| 35833 | enable_distcheck_workaround="no" |
| 35834 | |
| 35835 | fi |
| 35836 | |
| 35837 | if testscip-shell system . . test. x$enable_distcheck_workaround = xyes; then |
| 35838 | ENABLE_DISTCHECK_WORKAROUND_TRUE= |
| 35839 | ENABLE_DISTCHECK_WORKAROUND_FALSE='#' |
| 35840 | else |
| 35841 | ENABLE_DISTCHECK_WORKAROUND_TRUE='#' |
| 35842 | ENABLE_DISTCHECK_WORKAROUND_FALSE= |
| 35843 | fi |
| 35844 | |
| 35845 | |
| 35846 | |
| 35847 | if testscip-shell system . . test. "x$in_git_src" = "xyes"; then |
| 35848 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: Running from git source" >&5 |
| 35849 | printfscip-shell system . . printf. "%s\n" "$as_me: Running from git source" >&6;} |
| 35850 | |
| 35851 | have_to_generate_man_pages=$git_src_have_to_generate_man_pages |
| 35852 | |
| 35853 | if testscip-shell system . . test. "x$LEX" != "xflex"; then |
| 35854 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "flex program is needed to build rsyslog, please install flex." "$LINENO" 5 |
| 35855 | fi |
| 35856 | |
| 35857 | if testscip-shell system . . test. "x$YACC" = "xyacc"; then |
| 35858 | # AC_PROG_YACC only checks for yacc replacements, not for yacc itself |
| 35859 | # Extract the first word of "yacc", so it can be a program name with args. |
| 35860 | set dummy yacc; ac_word=$2 |
| 35861 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 35862 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 35863 | if testscip-shell system . . test. ${ac_cv_prog_YACC_FOUND+y} |
| 35864 | then : |
| 35865 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 35866 | else $as_nop |
| 35867 | if testscip-shell system . . test. -n "$YACC_FOUND"; then |
| 35868 | ac_cv_prog_YACC_FOUND="$YACC_FOUND" # Let the user override the test. |
| 35869 | else |
| 35870 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 35871 | for as_dir in $PATH |
| 35872 | do |
| 35873 | IFS=$as_save_IFS |
| 35874 | case $as_dir in #((( |
| 35875 | '') as_dir=./ ;; |
| 35876 | */) ;; |
| 35877 | *) as_dir=$as_dir/ ;; |
| 35878 | esac |
| 35879 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 35880 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 35881 | ac_cv_prog_YACC_FOUND="yes" |
| 35882 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 35883 | break 2 |
| 35884 | fi |
| 35885 | done |
| 35886 | done |
| 35887 | IFS=$as_save_IFS |
| 35888 | |
| 35889 | testscip-shell system . . test. -z "$ac_cv_prog_YACC_FOUND" && ac_cv_prog_YACC_FOUND="no" |
| 35890 | fi |
| 35891 | fi |
| 35892 | YACC_FOUND=$ac_cv_prog_YACC_FOUND |
| 35893 | if testscip-shell system . . test. -n "$YACC_FOUND"; then |
| 35894 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC_FOUND" >&5 |
| 35895 | printfscip-shell system . . printf. "%s\n" "$YACC_FOUND" >&6; } |
| 35896 | else |
| 35897 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 35898 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 35899 | fi |
| 35900 | |
| 35901 | |
| 35902 | if testscip-shell system . . test. "x$YACC_FOUND" = "xno"; then |
| 35903 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "A yacc program is needed to build rsyslog, please install bison." "$LINENO" 5 |
| 35904 | fi |
| 35905 | fi |
| 35906 | else |
| 35907 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: Not running from git source" >&5 |
| 35908 | printfscip-shell system . . printf. "%s\n" "$as_me: Not running from git source" >&6;} |
| 35909 | fi |
| 35910 | |
| 35911 | if testscip-shell system . . test. x$have_to_generate_man_pages = xyes; then |
| 35912 | ENABLE_GENERATE_MAN_PAGES_TRUE= |
| 35913 | ENABLE_GENERATE_MAN_PAGES_FALSE='#' |
| 35914 | else |
| 35915 | ENABLE_GENERATE_MAN_PAGES_TRUE='#' |
| 35916 | ENABLE_GENERATE_MAN_PAGES_FALSE= |
| 35917 | fi |
| 35918 | |
| 35919 | |
| 35920 | # rst2man |
| 35921 | for ac_prog in rst2man rst2man.py |
| 35922 | do |
| 35923 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 35924 | set dummy $ac_prog; ac_word=$2 |
| 35925 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 35926 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 35927 | if testscip-shell system . . test. ${ac_cv_prog_RST2MAN+y} |
| 35928 | then : |
| 35929 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 35930 | else $as_nop |
| 35931 | if testscip-shell system . . test. -n "$RST2MAN"; then |
| 35932 | ac_cv_prog_RST2MAN="$RST2MAN" # Let the user override the test. |
| 35933 | else |
| 35934 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 35935 | for as_dir in $PATH |
| 35936 | do |
| 35937 | IFS=$as_save_IFS |
| 35938 | case $as_dir in #((( |
| 35939 | '') as_dir=./ ;; |
| 35940 | */) ;; |
| 35941 | *) as_dir=$as_dir/ ;; |
| 35942 | esac |
| 35943 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 35944 | if as_fn_executable_pscip-shell shell rsyslog 8.2604.0-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 35945 | ac_cv_prog_RST2MAN="$ac_prog" |
| 35946 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 35947 | break 2 |
| 35948 | fi |
| 35949 | done |
| 35950 | done |
| 35951 | IFS=$as_save_IFS |
| 35952 | |
| 35953 | fi |
| 35954 | fi |
| 35955 | RST2MAN=$ac_cv_prog_RST2MAN |
| 35956 | if testscip-shell system . . test. -n "$RST2MAN"; then |
| 35957 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RST2MAN" >&5 |
| 35958 | printfscip-shell system . . printf. "%s\n" "$RST2MAN" >&6; } |
| 35959 | else |
| 35960 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 35961 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 35962 | fi |
| 35963 | |
| 35964 | |
| 35965 | testscip-shell system . . test. -n "$RST2MAN" && break |
| 35966 | done |
| 35967 | testscip-shell system . . test. -n "$RST2MAN" || RST2MAN="false" |
| 35968 | |
| 35969 | if testscip-shell system . . test. "x$have_to_generate_man_pages" = "xyes" && testscip-shell system . . test. "x$RST2MAN" = "xfalse"; then |
| 35970 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "rst2man is required when building from git source or --enable-generate-man-pages option was set, please install python-docutils." "$LINENO" 5 |
| 35971 | fi |
| 35972 | |
| 35973 | |
| 35974 | # .rst files and selected assets from doc/source |
| 35975 | doc_src_files=`cd "$srcdir" && findscip-shell system . . find. doc/source -type f \( -name '*.rst' -o -name '*.conf' -o -name '*.jpg' -o -name '*.png' -o -name '*.svg' \) -print 2>/dev/nullscip-shell filesystem . . `/dev/null`. | LC_ALL=C sortscip-shell system . . sort.` |
| 35976 | |
| 35977 | # Additional doc assets that must be shipped in dist tarball |
| 35978 | # - Vendored static JS/CSS used by the docs |
| 35979 | doc_vendor_files=`cd "$srcdir" && findscip-shell system . . find. doc/source/_static/vendor -type f -print 2>/dev/nullscip-shell filesystem . . `/dev/null`. | LC_ALL=C sortscip-shell system . . sort.` |
| 35980 | # - Documentation build helper scripts and tools |
| 35981 | doc_tools_files=`cd "$srcdir" && findscip-shell system . . find. doc/tools -type f -print 2>/dev/nullscip-shell filesystem . . `/dev/null`. | LC_ALL=C sortscip-shell system . . sort.` |
| 35982 | |
| 35983 | # assemble; keep paths relative to top (we cd into $srcdir above) |
| 35984 | DOC_FILES="$doc_src_files |
| 35985 | $doc_vendor_files |
| 35986 | $doc_tools_files |
| 35987 | doc/source/conf.py |
| 35988 | doc/source/conf_helpers.py |
| 35989 | doc/source/_ext/edit_on_github.py |
| 35990 | doc/source/_ext/rsyslog_lexer.py |
| 35991 | doc/source/_static/rsyslog.css |
| 35992 | doc/source/tutorials/cert-script.tar.gz |
| 35993 | doc/ai/structure_and_paths.md |
| 35994 | doc/ai/authoring_guidelines.md |
| 35995 | doc/ai/chunking_and_embeddings.md |
| 35996 | doc/ai/crosslinking_and_nav.md |
| 35997 | doc/ai/drift_monitoring.md |
| 35998 | doc/ai/mermaid_rules.md |
| 35999 | doc/ai/README.md |
| 36000 | doc/ai/templates/template-concept.rst |
| 36001 | doc/ai/templates/template-tutorial.rst |
| 36002 | doc/ai/terminology.md |
| 36003 | doc/ai/module_map.yaml |
| 36004 | doc/requirements.txt |
| 36005 | doc/README.md |
| 36006 | doc/STRATEGY.md |
| 36007 | doc/CONTRIBUTING.md |
| 36008 | doc/LICENSE |
| 36009 | doc/Makefile |
| 36010 | $ai_files" |
| 36011 | |
| 36012 | # collapse newlines and extra whitespace to single spaces |
| 36013 | DOC_FILES=`printfscip-shell system . . printf. "%s\n" "$DOC_FILES" | awkscip-shell system . . awk. 'NF' | trscip-shell system . . tr. '\n' ' '` |
| 36014 | |
| 36015 | |
| 36016 | |
| 36017 | |
| 36018 | ac_config_files="$ac_config_files Makefile doc/Makefile runtime/Makefile compat/Makefile grammar/Makefile tools/Makefile plugins/imudp/Makefile plugins/imtcp/Makefile plugins/im3195/Makefile plugins/imgssapi/Makefile plugins/imuxsock/Makefile plugins/imjournal/Makefile plugins/immark/Makefile plugins/imklog/Makefile plugins/omhdfs/Makefile plugins/omotel/Makefile plugins/omkafka/Makefile plugins/omprog/Makefile plugins/mmexternal/Makefile plugins/omstdout/Makefile plugins/omsendertrack/Makefile plugins/omjournal/Makefile plugins/pmciscoios/Makefile plugins/pmnull/Makefile plugins/pmnormalize/Makefile plugins/omruleset/Makefile plugins/omuxsock/Makefile plugins/imfile/Makefile plugins/imsolaris/Makefile plugins/imptcp/Makefile plugins/impstats/Makefile plugins/imrelp/Makefile plugins/imdiag/Makefile plugins/imkafka/Makefile plugins/omtesting/Makefile plugins/omgssapi/Makefile plugins/ommysql/Makefile plugins/ompgsql/Makefile plugins/omrelp/Makefile plugins/omlibdbi/Makefile plugins/ommail/Makefile plugins/fmhttp/Makefile plugins/omsnmp/Makefile plugins/omudpspoof/Makefile plugins/ommongodb/Makefile plugins/mmnormalize/Makefile plugins/mmjsonparse/Makefile plugins/mmjsontransform/Makefile plugins/mmleefparse/Makefile plugins/mmaudit/Makefile plugins/mmanon/Makefile plugins/mmrm1stspace/Makefile plugins/mmutf8fix/Makefile plugins/mmfields/Makefile plugins/mmpstrucdata/Makefile plugins/mmaitag/Makefile plugins/omelasticsearch/Makefile plugins/omclickhouse/Makefile plugins/mmsnmptrapd/Makefile plugins/pmlastmsg/Makefile plugins/mmdblookup/Makefile plugins/omazureeventhubs/Makefile plugins/omazuredce/Makefile plugins/imdtls/Makefile plugins/omdtls/Makefile contrib/mmdarwin/Makefile contrib/omhttp/Makefile contrib/fmhash/Makefile contrib/fmunflatten/Makefile plugins/fmpcre/Makefile contrib/ffaup/Makefile contrib/pmsnare/Makefile contrib/pmpanngfw/Makefile contrib/pmaixforwardedfrom/Makefile contrib/omhiredis/Makefile contrib/omrabbitmq/Makefile contrib/imkmsg/Makefile contrib/mmgrok/Makefile contrib/mmcount/Makefile contrib/omczmq/Makefile contrib/imczmq/Makefile contrib/mmsequence/Makefile contrib/mmrfc5424addhmac/Makefile plugins/mmsnareparse/Makefile contrib/pmcisconames/Makefile contrib/omhttpfs/Makefile contrib/omamqp1/Makefile contrib/omtcl/Makefile contrib/imbatchreport/Makefile contrib/omfile-hardened/Makefile contrib/mmkubernetes/Makefile contrib/impcap/Makefile contrib/imtuxedoulog/Makefile contrib/improg/Makefile contrib/imhttp/Makefile contrib/mmtaghostname/Makefile contrib/imdocker/Makefile contrib/pmdb2diag/Makefile contrib/imhiredis/Makefile tests/set-envvars tests/Makefile" |
| 36019 | |
| 36020 | catscip-shell system . . cat. >confcache <<\_ACEOF |
| 36021 | # This file is a shell script that caches the results of configure |
| 36022 | # tests run on this system so they can be shared between configure |
| 36023 | # scripts and configure runs, see configure's option --config-cache. |
| 36024 | # It is not useful on other systems. If it contains results you don't |
| 36025 | # want to keep, you may remove or edit it. |
| 36026 | # |
| 36027 | # config.status only pays attention to the cache file if you give it |
| 36028 | # the --recheck option to rerun configure. |
| 36029 | # |
| 36030 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
| 36031 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
| 36032 | # following values. |
| 36033 | |
| 36034 | _ACEOF |
| 36035 | |
| 36036 | # The following way of writing the cache mishandles newlines in values, |
| 36037 | # but we know of no workaround that is simple, portable, and efficient. |
| 36038 | # So, we kill variables containing newlines. |
| 36039 | # Ultrix sh set writes to stderr and can't be redirected directly, |
| 36040 | # and sets the high bit in the cache file unless we assign to the vars. |
| 36041 | ( |
| 36042 | for ac_var in `(set) 2>&1 | sedscip-shell system . . sed. -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 36043 | eval ac_val=\$$ac_var |
| 36044 | case $ac_val in #( |
| 36045 | *${as_nl}*) |
| 36046 | case $ac_var in #( |
| 36047 | *_cv_*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 36048 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 36049 | esac |
| 36050 | case $ac_var in #( |
| 36051 | _ | IFS | as_nl) ;; #( |
| 36052 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 36053 | *) { eval $ac_var=; unset $ac_var;} ;; |
| 36054 | esac ;; |
| 36055 | esac |
| 36056 | done |
| 36057 | |
| 36058 | (set) 2>&1 | |
| 36059 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 36060 | *${as_nl}ac_space=\ *) |
| 36061 | # `set' does not quote correctly, so add quotes: double-quote |
| 36062 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
| 36063 | sedscip-shell system . . sed. -n \ |
| 36064 | "s/'/'\\\\''/g; |
| 36065 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 36066 | ;; #( |
| 36067 | *) |
| 36068 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
| 36069 | sedscip-shell system . . sed. -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 36070 | ;; |
| 36071 | esac | |
| 36072 | sortscip-shell system . . sort. |
| 36073 | ) | |
| 36074 | sedscip-shell system . . sed. ' |
| 36075 | /^ac_cv_env_/b end |
| 36076 | t clear |
| 36077 | :clear |
| 36078 | s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ |
| 36079 | t end |
| 36080 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 36081 | :end' >>confcache |
| 36082 | if diffscip-shell system . . diff. "$cache_file" confcache >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else |
| 36083 | if testscip-shell system . . test. -w "$cache_file"; then |
| 36084 | if testscip-shell system . . test. "x$cache_file" != "x/dev/null"; then |
| 36085 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 36086 | printfscip-shell system . . printf. "%s\n" "$as_me: updating cache $cache_file" >&6;} |
| 36087 | if testscip-shell system . . test. ! -f "$cache_file" || testscip-shell system . . test. -h "$cache_file"; then |
| 36088 | catscip-shell system . . cat. confcache >"$cache_file" |
| 36089 | else |
| 36090 | case $cache_file in #( |
| 36091 | */* | ?:*) |
| 36092 | mvscip-shell system . . mv. -f confcache "$cache_file"$$ && |
| 36093 | mvscip-shell system . . mv. -f "$cache_file"$$ "$cache_file" ;; #( |
| 36094 | *) |
| 36095 | mvscip-shell system . . mv. -f confcache "$cache_file" ;; |
| 36096 | esac |
| 36097 | fi |
| 36098 | fi |
| 36099 | else |
| 36100 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 36101 | printfscip-shell system . . printf. "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 36102 | fi |
| 36103 | fi |
| 36104 | rmscip-shell system . . rm. -f confcache |
| 36105 | |
| 36106 | testscip-shell system . . test. "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 36107 | # Let make expand exec_prefix. |
| 36108 | testscip-shell system . . test. "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 36109 | |
| 36110 | DEFS=-DHAVE_CONFIG_H |
| 36111 | |
| 36112 | ac_libobjs= |
| 36113 | ac_ltlibobjs= |
| 36114 | U= |
| 36115 | for ac_i in : $LIBOBJS; do testscip-shell system . . test. "x$ac_i" = x: && continue |
| 36116 | # 1. Remove the extension, and $U if already installed. |
| 36117 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 36118 | ac_i=`printfscip-shell system . . printf. "%s\n" "$ac_i" | sedscip-shell system . . sed. "$ac_script"` |
| 36119 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 36120 | # will be set to the directory where LIBOBJS objects are built. |
| 36121 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 36122 | as_fn_appendscip-shell shell rsyslog 8.2604.0-4 as_fn_append(). ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
| 36123 | done |
| 36124 | LIBOBJS=$ac_libobjs |
| 36125 | |
| 36126 | LTLIBOBJS=$ac_ltlibobjs |
| 36127 | |
| 36128 | |
| 36129 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
| 36130 | printfscip-shell system . . printf. %s "checking that generated files are newer than configure... " >&6; } |
| 36131 | if testscip-shell system . . test. -n "$am_sleep_pid"; then |
| 36132 | # Hide warnings about reused PIDs. |
| 36133 | wait $am_sleep_pid 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 36134 | fi |
| 36135 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
| 36136 | printfscip-shell system . . printf. "%s\n" "done" >&6; } |
| 36137 | if testscip-shell system . . test. -n "$EXEEXT"; then |
| 36138 | am__EXEEXT_TRUE= |
| 36139 | am__EXEEXT_FALSE='#' |
| 36140 | else |
| 36141 | am__EXEEXT_TRUE='#' |
| 36142 | am__EXEEXT_FALSE= |
| 36143 | fi |
| 36144 | |
| 36145 | if testscip-shell system . . test. -z "${AMDEP_TRUE}" && testscip-shell system . . test. -z "${AMDEP_FALSE}"; then |
| 36146 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"AMDEP\" was never defined. |
| 36147 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36148 | fi |
| 36149 | if testscip-shell system . . test. -z "${am__fastdepCC_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCC_FALSE}"; then |
| 36150 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"am__fastdepCC\" was never defined. |
| 36151 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36152 | fi |
| 36153 | if testscip-shell system . . test. -z "${am__fastdepCC_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCC_FALSE}"; then |
| 36154 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"am__fastdepCC\" was never defined. |
| 36155 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36156 | fi |
| 36157 | if testscip-shell system . . test. -z "${OS_APPLE_TRUE}" && testscip-shell system . . test. -z "${OS_APPLE_FALSE}"; then |
| 36158 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"OS_APPLE\" was never defined. |
| 36159 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36160 | fi |
| 36161 | if testscip-shell system . . test. -z "${OS_LINUX_TRUE}" && testscip-shell system . . test. -z "${OS_LINUX_FALSE}"; then |
| 36162 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"OS_LINUX\" was never defined. |
| 36163 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36164 | fi |
| 36165 | if testscip-shell system . . test. -z "${OS_AIX_TRUE}" && testscip-shell system . . test. -z "${OS_AIX_FALSE}"; then |
| 36166 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"OS_AIX\" was never defined. |
| 36167 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36168 | fi |
| 36169 | if testscip-shell system . . test. -z "${HAVE_LIBYAML_TRUE}" && testscip-shell system . . test. -z "${HAVE_LIBYAML_FALSE}"; then |
| 36170 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"HAVE_LIBYAML\" was never defined. |
| 36171 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36172 | fi |
| 36173 | if testscip-shell system . . test. -z "${ENABLE_INOTIFY_TRUE}" && testscip-shell system . . test. -z "${ENABLE_INOTIFY_FALSE}"; then |
| 36174 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_INOTIFY\" was never defined. |
| 36175 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36176 | fi |
| 36177 | if testscip-shell system . . test. -z "${HAVE_SRV_DISCOVERY_TRUE}" && testscip-shell system . . test. -z "${HAVE_SRV_DISCOVERY_FALSE}"; then |
| 36178 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"HAVE_SRV_DISCOVERY\" was never defined. |
| 36179 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36180 | fi |
| 36181 | if testscip-shell system . . test. -z "${WITH_MODDIRS_TRUE}" && testscip-shell system . . test. -z "${WITH_MODDIRS_FALSE}"; then |
| 36182 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"WITH_MODDIRS\" was never defined. |
| 36183 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36184 | fi |
| 36185 | if testscip-shell system . . test. -z "${ENABLE_REGEXP_TRUE}" && testscip-shell system . . test. -z "${ENABLE_REGEXP_FALSE}"; then |
| 36186 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_REGEXP\" was never defined. |
| 36187 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36188 | fi |
| 36189 | if testscip-shell system . . test. -z "${ENABLE_FMHASH_TRUE}" && testscip-shell system . . test. -z "${ENABLE_FMHASH_FALSE}"; then |
| 36190 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_FMHASH\" was never defined. |
| 36191 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36192 | fi |
| 36193 | if testscip-shell system . . test. -z "${ENABLE_FMHASH_XXHASH_TRUE}" && testscip-shell system . . test. -z "${ENABLE_FMHASH_XXHASH_FALSE}"; then |
| 36194 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_FMHASH_XXHASH\" was never defined. |
| 36195 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36196 | fi |
| 36197 | if testscip-shell system . . test. -z "${ENABLE_FFAUP_TRUE}" && testscip-shell system . . test. -z "${ENABLE_FFAUP_FALSE}"; then |
| 36198 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_FFAUP\" was never defined. |
| 36199 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36200 | fi |
| 36201 | if testscip-shell system . . test. -z "${ENABLE_FMUNFLATTEN_TRUE}" && testscip-shell system . . test. -z "${ENABLE_FMUNFLATTEN_FALSE}"; then |
| 36202 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_FMUNFLATTEN\" was never defined. |
| 36203 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36204 | fi |
| 36205 | if testscip-shell system . . test. -z "${ENABLE_FMPCRE_TRUE}" && testscip-shell system . . test. -z "${ENABLE_FMPCRE_FALSE}"; then |
| 36206 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_FMPCRE\" was never defined. |
| 36207 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36208 | fi |
| 36209 | if testscip-shell system . . test. -z "${ENABLE_GSSAPI_TRUE}" && testscip-shell system . . test. -z "${ENABLE_GSSAPI_FALSE}"; then |
| 36210 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_GSSAPI\" was never defined. |
| 36211 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36212 | fi |
| 36213 | if testscip-shell system . . test. -z "${ENABLE_ROOT_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_ROOT_TESTS_FALSE}"; then |
| 36214 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_ROOT_TESTS\" was never defined. |
| 36215 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36216 | fi |
| 36217 | if testscip-shell system . . test. -z "${ENABLE_FLAKY_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_FLAKY_TESTS_FALSE}"; then |
| 36218 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_FLAKY_TESTS\" was never defined. |
| 36219 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36220 | fi |
| 36221 | if testscip-shell system . . test. -z "${ENABLE_IMKLOG_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMKLOG_FALSE}"; then |
| 36222 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMKLOG\" was never defined. |
| 36223 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36224 | fi |
| 36225 | if testscip-shell system . . test. -z "${ENABLE_IMKLOG_BSD_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMKLOG_BSD_FALSE}"; then |
| 36226 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMKLOG_BSD\" was never defined. |
| 36227 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36228 | fi |
| 36229 | if testscip-shell system . . test. -z "${ENABLE_IMKLOG_LINUX_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMKLOG_LINUX_FALSE}"; then |
| 36230 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMKLOG_LINUX\" was never defined. |
| 36231 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36232 | fi |
| 36233 | if testscip-shell system . . test. -z "${ENABLE_IMKLOG_SOLARIS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMKLOG_SOLARIS_FALSE}"; then |
| 36234 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMKLOG_SOLARIS\" was never defined. |
| 36235 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36236 | fi |
| 36237 | if testscip-shell system . . test. -z "${ENABLE_IMKMSG_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMKMSG_FALSE}"; then |
| 36238 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMKMSG\" was never defined. |
| 36239 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36240 | fi |
| 36241 | if testscip-shell system . . test. -z "${IMJOURNAL_USE_DUMMY_TRUE}" && testscip-shell system . . test. -z "${IMJOURNAL_USE_DUMMY_FALSE}"; then |
| 36242 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"IMJOURNAL_USE_DUMMY\" was never defined. |
| 36243 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36244 | fi |
| 36245 | if testscip-shell system . . test. -z "${ENABLE_IMJOURNAL_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMJOURNAL_FALSE}"; then |
| 36246 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMJOURNAL\" was never defined. |
| 36247 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36248 | fi |
| 36249 | if testscip-shell system . . test. -z "${ENABLE_INET_TRUE}" && testscip-shell system . . test. -z "${ENABLE_INET_FALSE}"; then |
| 36250 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_INET\" was never defined. |
| 36251 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36252 | fi |
| 36253 | if testscip-shell system . . test. -z "${ENABLE_JEMALLOC_TRUE}" && testscip-shell system . . test. -z "${ENABLE_JEMALLOC_FALSE}"; then |
| 36254 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_JEMALLOC\" was never defined. |
| 36255 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36256 | fi |
| 36257 | if testscip-shell system . . test. -z "${ENABLE_COVERAGE_TRUE}" && testscip-shell system . . test. -z "${ENABLE_COVERAGE_FALSE}"; then |
| 36258 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_COVERAGE\" was never defined. |
| 36259 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36260 | fi |
| 36261 | if testscip-shell system . . test. -z "${ENABLE_DIAGTOOLS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_DIAGTOOLS_FALSE}"; then |
| 36262 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_DIAGTOOLS\" was never defined. |
| 36263 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36264 | fi |
| 36265 | if testscip-shell system . . test. -z "${ENABLE_USERTOOLS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_USERTOOLS_FALSE}"; then |
| 36266 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_USERTOOLS\" was never defined. |
| 36267 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36268 | fi |
| 36269 | if testscip-shell system . . test. -z "${ENABLE_MYSQL_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MYSQL_FALSE}"; then |
| 36270 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MYSQL\" was never defined. |
| 36271 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36272 | fi |
| 36273 | if testscip-shell system . . test. -z "${ENABLE_PGSQL_TRUE}" && testscip-shell system . . test. -z "${ENABLE_PGSQL_FALSE}"; then |
| 36274 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_PGSQL\" was never defined. |
| 36275 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36276 | fi |
| 36277 | if testscip-shell system . . test. -z "${LIBDBI_USE_DUMMY_TRUE}" && testscip-shell system . . test. -z "${LIBDBI_USE_DUMMY_FALSE}"; then |
| 36278 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"LIBDBI_USE_DUMMY\" was never defined. |
| 36279 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36280 | fi |
| 36281 | if testscip-shell system . . test. -z "${ENABLE_OMLIBDBI_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMLIBDBI_FALSE}"; then |
| 36282 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMLIBDBI\" was never defined. |
| 36283 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36284 | fi |
| 36285 | if testscip-shell system . . test. -z "${ENABLE_SNMP_TRUE}" && testscip-shell system . . test. -z "${ENABLE_SNMP_FALSE}"; then |
| 36286 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_SNMP\" was never defined. |
| 36287 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36288 | fi |
| 36289 | if testscip-shell system . . test. -z "${ENABLE_SNMP_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_SNMP_TESTS_FALSE}"; then |
| 36290 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_SNMP_TESTS\" was never defined. |
| 36291 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36292 | fi |
| 36293 | if testscip-shell system . . test. -z "${ENABLE_UUID_TRUE}" && testscip-shell system . . test. -z "${ENABLE_UUID_FALSE}"; then |
| 36294 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_UUID\" was never defined. |
| 36295 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36296 | fi |
| 36297 | if testscip-shell system . . test. -z "${ENABLE_ELASTICSEARCH_TRUE}" && testscip-shell system . . test. -z "${ENABLE_ELASTICSEARCH_FALSE}"; then |
| 36298 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_ELASTICSEARCH\" was never defined. |
| 36299 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36300 | fi |
| 36301 | if testscip-shell system . . test. -z "${ENABLE_CLICKHOUSE_TRUE}" && testscip-shell system . . test. -z "${ENABLE_CLICKHOUSE_FALSE}"; then |
| 36302 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_CLICKHOUSE\" was never defined. |
| 36303 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36304 | fi |
| 36305 | if testscip-shell system . . test. -z "${ENABLE_OMHTTP_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMHTTP_FALSE}"; then |
| 36306 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMHTTP\" was never defined. |
| 36307 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36308 | fi |
| 36309 | if testscip-shell system . . test. -z "${ENABLE_ELASTICSEARCH_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_ELASTICSEARCH_TESTS_FALSE}"; then |
| 36310 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_ELASTICSEARCH_TESTS\" was never defined. |
| 36311 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36312 | fi |
| 36313 | if testscip-shell system . . test. -z "${ENABLE_ELASTICSEARCH_TESTS_MINIMAL_TRUE}" && testscip-shell system . . test. -z "${ENABLE_ELASTICSEARCH_TESTS_MINIMAL_FALSE}"; then |
| 36314 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_ELASTICSEARCH_TESTS_MINIMAL\" was never defined. |
| 36315 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36316 | fi |
| 36317 | if testscip-shell system . . test. -z "${ENABLE_CLICKHOUSE_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_CLICKHOUSE_TESTS_FALSE}"; then |
| 36318 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_CLICKHOUSE_TESTS\" was never defined. |
| 36319 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36320 | fi |
| 36321 | if testscip-shell system . . test. -z "${ENABLE_WOLFSSL_TRUE}" && testscip-shell system . . test. -z "${ENABLE_WOLFSSL_FALSE}"; then |
| 36322 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_WOLFSSL\" was never defined. |
| 36323 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36324 | fi |
| 36325 | if testscip-shell system . . test. -z "${ENABLE_OPENSSL_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OPENSSL_FALSE}"; then |
| 36326 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OPENSSL\" was never defined. |
| 36327 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36328 | fi |
| 36329 | if testscip-shell system . . test. -z "${ENABLE_OSSL_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OSSL_FALSE}"; then |
| 36330 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OSSL\" was never defined. |
| 36331 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36332 | fi |
| 36333 | if testscip-shell system . . test. -z "${ENABLE_GNUTLS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_GNUTLS_FALSE}"; then |
| 36334 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_GNUTLS\" was never defined. |
| 36335 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36336 | fi |
| 36337 | if testscip-shell system . . test. -z "${ENABLE_GNUTLS_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_GNUTLS_TESTS_FALSE}"; then |
| 36338 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_GNUTLS_TESTS\" was never defined. |
| 36339 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36340 | fi |
| 36341 | if testscip-shell system . . test. -z "${ENABLE_MBEDTLS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MBEDTLS_FALSE}"; then |
| 36342 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MBEDTLS\" was never defined. |
| 36343 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36344 | fi |
| 36345 | if testscip-shell system . . test. -z "${ENABLE_LIBGCRYPT_TRUE}" && testscip-shell system . . test. -z "${ENABLE_LIBGCRYPT_FALSE}"; then |
| 36346 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_LIBGCRYPT\" was never defined. |
| 36347 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36348 | fi |
| 36349 | if testscip-shell system . . test. -z "${ENABLE_RSCRYUTIL_TRUE}" && testscip-shell system . . test. -z "${ENABLE_RSCRYUTIL_FALSE}"; then |
| 36350 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_RSCRYUTIL\" was never defined. |
| 36351 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36352 | fi |
| 36353 | if testscip-shell system . . test. -z "${ENABLE_OPENSSL_CRYPTO_PROVIDER_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OPENSSL_CRYPTO_PROVIDER_FALSE}"; then |
| 36354 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OPENSSL_CRYPTO_PROVIDER\" was never defined. |
| 36355 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36356 | fi |
| 36357 | if testscip-shell system . . test. -z "${ENABLE_LIBZSTD_TRUE}" && testscip-shell system . . test. -z "${ENABLE_LIBZSTD_FALSE}"; then |
| 36358 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_LIBZSTD\" was never defined. |
| 36359 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36360 | fi |
| 36361 | if testscip-shell system . . test. -z "${ENABLE_RSYSLOGRT_TRUE}" && testscip-shell system . . test. -z "${ENABLE_RSYSLOGRT_FALSE}"; then |
| 36362 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_RSYSLOGRT\" was never defined. |
| 36363 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36364 | fi |
| 36365 | if testscip-shell system . . test. -z "${ENABLE_RSYSLOGD_TRUE}" && testscip-shell system . . test. -z "${ENABLE_RSYSLOGD_FALSE}"; then |
| 36366 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_RSYSLOGD\" was never defined. |
| 36367 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36368 | fi |
| 36369 | if testscip-shell system . . test. -z "${ENABLE_EXTENDED_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_EXTENDED_TESTS_FALSE}"; then |
| 36370 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_EXTENDED_TESTS\" was never defined. |
| 36371 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36372 | fi |
| 36373 | if testscip-shell system . . test. -z "${ENABLE_MYSQL_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MYSQL_TESTS_FALSE}"; then |
| 36374 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MYSQL_TESTS\" was never defined. |
| 36375 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36376 | fi |
| 36377 | if testscip-shell system . . test. -z "${ENABLE_PGSQL_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_PGSQL_TESTS_FALSE}"; then |
| 36378 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_PGSQL_TESTS\" was never defined. |
| 36379 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36380 | fi |
| 36381 | if testscip-shell system . . test. -z "${ENABLE_MAIL_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MAIL_FALSE}"; then |
| 36382 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MAIL\" was never defined. |
| 36383 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36384 | fi |
| 36385 | if testscip-shell system . . test. -z "${ENABLE_FMHTTP_TRUE}" && testscip-shell system . . test. -z "${ENABLE_FMHTTP_FALSE}"; then |
| 36386 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_FMHTTP\" was never defined. |
| 36387 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36388 | fi |
| 36389 | if testscip-shell system . . test. -z "${LOGNORM_REGEX_SUPPORTED_TRUE}" && testscip-shell system . . test. -z "${LOGNORM_REGEX_SUPPORTED_FALSE}"; then |
| 36390 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"LOGNORM_REGEX_SUPPORTED\" was never defined. |
| 36391 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36392 | fi |
| 36393 | if testscip-shell system . . test. -z "${ENABLE_MMNORMALIZE_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMNORMALIZE_FALSE}"; then |
| 36394 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMNORMALIZE\" was never defined. |
| 36395 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36396 | fi |
| 36397 | if testscip-shell system . . test. -z "${ENABLE_MMLEEFPARSE_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMLEEFPARSE_FALSE}"; then |
| 36398 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMLEEFPARSE\" was never defined. |
| 36399 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36400 | fi |
| 36401 | if testscip-shell system . . test. -z "${ENABLE_MMJSONPARSE_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMJSONPARSE_FALSE}"; then |
| 36402 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMJSONPARSE\" was never defined. |
| 36403 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36404 | fi |
| 36405 | if testscip-shell system . . test. -z "${ENABLE_MMJSONTRANSFORM_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMJSONTRANSFORM_FALSE}"; then |
| 36406 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMJSONTRANSFORM\" was never defined. |
| 36407 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36408 | fi |
| 36409 | if testscip-shell system . . test. -z "${ENABLE_MMGROK_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMGROK_FALSE}"; then |
| 36410 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMGROK\" was never defined. |
| 36411 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36412 | fi |
| 36413 | if testscip-shell system . . test. -z "${ENABLE_MMAUDIT_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMAUDIT_FALSE}"; then |
| 36414 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMAUDIT\" was never defined. |
| 36415 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36416 | fi |
| 36417 | if testscip-shell system . . test. -z "${ENABLE_MMANON_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMANON_FALSE}"; then |
| 36418 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMANON\" was never defined. |
| 36419 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36420 | fi |
| 36421 | if testscip-shell system . . test. -z "${ENABLE_MMRM1STSPACE_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMRM1STSPACE_FALSE}"; then |
| 36422 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMRM1STSPACE\" was never defined. |
| 36423 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36424 | fi |
| 36425 | if testscip-shell system . . test. -z "${ENABLE_MMUTF8FIX_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMUTF8FIX_FALSE}"; then |
| 36426 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMUTF8FIX\" was never defined. |
| 36427 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36428 | fi |
| 36429 | if testscip-shell system . . test. -z "${ENABLE_MMCOUNT_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMCOUNT_FALSE}"; then |
| 36430 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMCOUNT\" was never defined. |
| 36431 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36432 | fi |
| 36433 | if testscip-shell system . . test. -z "${ENABLE_MMSEQUENCE_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMSEQUENCE_FALSE}"; then |
| 36434 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMSEQUENCE\" was never defined. |
| 36435 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36436 | fi |
| 36437 | if testscip-shell system . . test. -z "${ENABLE_MMDBLOOKUP_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMDBLOOKUP_FALSE}"; then |
| 36438 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMDBLOOKUP\" was never defined. |
| 36439 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36440 | fi |
| 36441 | if testscip-shell system . . test. -z "${MMDBLOOKUP_USE_DUMMY_TRUE}" && testscip-shell system . . test. -z "${MMDBLOOKUP_USE_DUMMY_FALSE}"; then |
| 36442 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"MMDBLOOKUP_USE_DUMMY\" was never defined. |
| 36443 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36444 | fi |
| 36445 | if testscip-shell system . . test. -z "${ENABLE_MMDARWIN_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMDARWIN_FALSE}"; then |
| 36446 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMDARWIN\" was never defined. |
| 36447 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36448 | fi |
| 36449 | if testscip-shell system . . test. -z "${ENABLE_MMFIELDS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMFIELDS_FALSE}"; then |
| 36450 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMFIELDS\" was never defined. |
| 36451 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36452 | fi |
| 36453 | if testscip-shell system . . test. -z "${ENABLE_MMPSTRUCDATA_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMPSTRUCDATA_FALSE}"; then |
| 36454 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMPSTRUCDATA\" was never defined. |
| 36455 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36456 | fi |
| 36457 | if testscip-shell system . . test. -z "${ENABLE_MMAITAG_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMAITAG_FALSE}"; then |
| 36458 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMAITAG\" was never defined. |
| 36459 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36460 | fi |
| 36461 | if testscip-shell system . . test. -z "${ENABLE_MMRFC5424ADDHMAC_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMRFC5424ADDHMAC_FALSE}"; then |
| 36462 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMRFC5424ADDHMAC\" was never defined. |
| 36463 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36464 | fi |
| 36465 | if testscip-shell system . . test. -z "${ENABLE_MMSNAREPARSE_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMSNAREPARSE_FALSE}"; then |
| 36466 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMSNAREPARSE\" was never defined. |
| 36467 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36468 | fi |
| 36469 | if testscip-shell system . . test. -z "${ENABLE_OMFILE_HARDENED_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMFILE_HARDENED_FALSE}"; then |
| 36470 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMFILE_HARDENED\" was never defined. |
| 36471 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36472 | fi |
| 36473 | if testscip-shell system . . test. -z "${ENABLE_RELP_TRUE}" && testscip-shell system . . test. -z "${ENABLE_RELP_FALSE}"; then |
| 36474 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_RELP\" was never defined. |
| 36475 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36476 | fi |
| 36477 | if testscip-shell system . . test. -z "${USE_RELPENGINESETTLSCFGCMD_TRUE}" && testscip-shell system . . test. -z "${USE_RELPENGINESETTLSCFGCMD_FALSE}"; then |
| 36478 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"USE_RELPENGINESETTLSCFGCMD\" was never defined. |
| 36479 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36480 | fi |
| 36481 | if testscip-shell system . . test. -z "${ENABLE_KSI_LS12_TRUE}" && testscip-shell system . . test. -z "${ENABLE_KSI_LS12_FALSE}"; then |
| 36482 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_KSI_LS12\" was never defined. |
| 36483 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36484 | fi |
| 36485 | if testscip-shell system . . test. -z "${ENABLE_LIBLOGGING_STDLOG_TRUE}" && testscip-shell system . . test. -z "${ENABLE_LIBLOGGING_STDLOG_FALSE}"; then |
| 36486 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_LIBLOGGING_STDLOG\" was never defined. |
| 36487 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36488 | fi |
| 36489 | if testscip-shell system . . test. -z "${ENABLE_RFC3195_TRUE}" && testscip-shell system . . test. -z "${ENABLE_RFC3195_FALSE}"; then |
| 36490 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_RFC3195\" was never defined. |
| 36491 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36492 | fi |
| 36493 | if testscip-shell system . . test. -z "${ENABLE_LIBFAKETIME_TRUE}" && testscip-shell system . . test. -z "${ENABLE_LIBFAKETIME_FALSE}"; then |
| 36494 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_LIBFAKETIME\" was never defined. |
| 36495 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36496 | fi |
| 36497 | if testscip-shell system . . test. -z "${ENABLE_DEFAULT_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_DEFAULT_TESTS_FALSE}"; then |
| 36498 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_DEFAULT_TESTS\" was never defined. |
| 36499 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36500 | fi |
| 36501 | if testscip-shell system . . test. -z "${ENABLE_IP_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IP_FALSE}"; then |
| 36502 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IP\" was never defined. |
| 36503 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36504 | fi |
| 36505 | if testscip-shell system . . test. -z "${ENABLE_IMTCP_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMTCP_TESTS_FALSE}"; then |
| 36506 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMTCP_TESTS\" was never defined. |
| 36507 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36508 | fi |
| 36509 | if testscip-shell system . . test. -z "${HAVE_VALGRIND_TRUE}" && testscip-shell system . . test. -z "${HAVE_VALGRIND_FALSE}"; then |
| 36510 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"HAVE_VALGRIND\" was never defined. |
| 36511 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36512 | fi |
| 36513 | if testscip-shell system . . test. -z "${ENABLE_HELGRIND_TRUE}" && testscip-shell system . . test. -z "${ENABLE_HELGRIND_FALSE}"; then |
| 36514 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_HELGRIND\" was never defined. |
| 36515 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36516 | fi |
| 36517 | if testscip-shell system . . test. -z "${ENABLE_IMBATCHREPORT_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMBATCHREPORT_FALSE}"; then |
| 36518 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMBATCHREPORT\" was never defined. |
| 36519 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36520 | fi |
| 36521 | if testscip-shell system . . test. -z "${ENABLE_PMDB2DIAG_TRUE}" && testscip-shell system . . test. -z "${ENABLE_PMDB2DIAG_FALSE}"; then |
| 36522 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_PMDB2DIAG\" was never defined. |
| 36523 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36524 | fi |
| 36525 | if testscip-shell system . . test. -z "${ENABLE_IMFILE_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMFILE_FALSE}"; then |
| 36526 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMFILE\" was never defined. |
| 36527 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36528 | fi |
| 36529 | if testscip-shell system . . test. -z "${ENABLE_IMFILE_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMFILE_TESTS_FALSE}"; then |
| 36530 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMFILE_TESTS\" was never defined. |
| 36531 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36532 | fi |
| 36533 | if testscip-shell system . . test. -z "${ENABLE_IMDOCKER_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMDOCKER_FALSE}"; then |
| 36534 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMDOCKER\" was never defined. |
| 36535 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36536 | fi |
| 36537 | if testscip-shell system . . test. -z "${ENABLE_IMDOCKER_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMDOCKER_TESTS_FALSE}"; then |
| 36538 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMDOCKER_TESTS\" was never defined. |
| 36539 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36540 | fi |
| 36541 | if testscip-shell system . . test. -z "${ENABLE_IMTUXEDOULOG_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMTUXEDOULOG_FALSE}"; then |
| 36542 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMTUXEDOULOG\" was never defined. |
| 36543 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36544 | fi |
| 36545 | if testscip-shell system . . test. -z "${ENABLE_IMPROG_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMPROG_FALSE}"; then |
| 36546 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMPROG\" was never defined. |
| 36547 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36548 | fi |
| 36549 | if testscip-shell system . . test. -z "${ENABLE_IMHTTP_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMHTTP_FALSE}"; then |
| 36550 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMHTTP\" was never defined. |
| 36551 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36552 | fi |
| 36553 | if testscip-shell system . . test. -z "${ENABLE_IMSOLARIS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMSOLARIS_FALSE}"; then |
| 36554 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMSOLARIS\" was never defined. |
| 36555 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36556 | fi |
| 36557 | if testscip-shell system . . test. -z "${ENABLE_IMTCP_EPOLL_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMTCP_EPOLL_FALSE}"; then |
| 36558 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMTCP_EPOLL\" was never defined. |
| 36559 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36560 | fi |
| 36561 | if testscip-shell system . . test. -z "${ENABLE_IMPTCP_EPOLL_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMPTCP_EPOLL_FALSE}"; then |
| 36562 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMPTCP_EPOLL\" was never defined. |
| 36563 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36564 | fi |
| 36565 | if testscip-shell system . . test. -z "${ENABLE_IMPTCP_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMPTCP_FALSE}"; then |
| 36566 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMPTCP\" was never defined. |
| 36567 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36568 | fi |
| 36569 | if testscip-shell system . . test. -z "${ENABLE_IMPCAP_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMPCAP_FALSE}"; then |
| 36570 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMPCAP\" was never defined. |
| 36571 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36572 | fi |
| 36573 | if testscip-shell system . . test. -z "${ENABLE_OMPROG_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMPROG_FALSE}"; then |
| 36574 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMPROG\" was never defined. |
| 36575 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36576 | fi |
| 36577 | if testscip-shell system . . test. -z "${ENABLE_OMUDPSPOOF_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMUDPSPOOF_FALSE}"; then |
| 36578 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMUDPSPOOF\" was never defined. |
| 36579 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36580 | fi |
| 36581 | if testscip-shell system . . test. -z "${ENABLE_OMSENDERTRACK_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMSENDERTRACK_FALSE}"; then |
| 36582 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMSENDERTRACK\" was never defined. |
| 36583 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36584 | fi |
| 36585 | if testscip-shell system . . test. -z "${ENABLE_IMDIAG_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMDIAG_FALSE}"; then |
| 36586 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMDIAG\" was never defined. |
| 36587 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36588 | fi |
| 36589 | if testscip-shell system . . test. -z "${ENABLE_OMSTDOUT_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMSTDOUT_FALSE}"; then |
| 36590 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMSTDOUT\" was never defined. |
| 36591 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36592 | fi |
| 36593 | if testscip-shell system . . test. -z "${ENABLE_IMPSTATS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMPSTATS_FALSE}"; then |
| 36594 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMPSTATS\" was never defined. |
| 36595 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36596 | fi |
| 36597 | if testscip-shell system . . test. -z "${ENABLE_IMPSTATS_PUSH_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMPSTATS_PUSH_FALSE}"; then |
| 36598 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMPSTATS_PUSH\" was never defined. |
| 36599 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36600 | fi |
| 36601 | if testscip-shell system . . test. -z "${ENABLE_TESTBENCH_TRUE}" && testscip-shell system . . test. -z "${ENABLE_TESTBENCH_FALSE}"; then |
| 36602 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_TESTBENCH\" was never defined. |
| 36603 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36604 | fi |
| 36605 | if testscip-shell system . . test. -z "${ENABLE_OMJOURNAL_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMJOURNAL_FALSE}"; then |
| 36606 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMJOURNAL\" was never defined. |
| 36607 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36608 | fi |
| 36609 | if testscip-shell system . . test. -z "${ENABLE_JOURNAL_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_JOURNAL_TESTS_FALSE}"; then |
| 36610 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_JOURNAL_TESTS\" was never defined. |
| 36611 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36612 | fi |
| 36613 | if testscip-shell system . . test. -z "${ENABLE_PMLASTMSG_TRUE}" && testscip-shell system . . test. -z "${ENABLE_PMLASTMSG_FALSE}"; then |
| 36614 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_PMLASTMSG\" was never defined. |
| 36615 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36616 | fi |
| 36617 | if testscip-shell system . . test. -z "${ENABLE_PMCISCONAMES_TRUE}" && testscip-shell system . . test. -z "${ENABLE_PMCISCONAMES_FALSE}"; then |
| 36618 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_PMCISCONAMES\" was never defined. |
| 36619 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36620 | fi |
| 36621 | if testscip-shell system . . test. -z "${ENABLE_PMCISCOIOS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_PMCISCOIOS_FALSE}"; then |
| 36622 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_PMCISCOIOS\" was never defined. |
| 36623 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36624 | fi |
| 36625 | if testscip-shell system . . test. -z "${ENABLE_PMNULL_TRUE}" && testscip-shell system . . test. -z "${ENABLE_PMNULL_FALSE}"; then |
| 36626 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_PMNULL\" was never defined. |
| 36627 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36628 | fi |
| 36629 | if testscip-shell system . . test. -z "${ENABLE_PMNORMALIZE_TRUE}" && testscip-shell system . . test. -z "${ENABLE_PMNORMALIZE_FALSE}"; then |
| 36630 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_PMNORMALIZE\" was never defined. |
| 36631 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36632 | fi |
| 36633 | if testscip-shell system . . test. -z "${ENABLE_PMAIXFORWARDEDFROM_TRUE}" && testscip-shell system . . test. -z "${ENABLE_PMAIXFORWARDEDFROM_FALSE}"; then |
| 36634 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_PMAIXFORWARDEDFROM\" was never defined. |
| 36635 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36636 | fi |
| 36637 | if testscip-shell system . . test. -z "${ENABLE_PMSNARE_TRUE}" && testscip-shell system . . test. -z "${ENABLE_PMSNARE_FALSE}"; then |
| 36638 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_PMSNARE\" was never defined. |
| 36639 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36640 | fi |
| 36641 | if testscip-shell system . . test. -z "${ENABLE_PMPANNGFW_TRUE}" && testscip-shell system . . test. -z "${ENABLE_PMPANNGFW_FALSE}"; then |
| 36642 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_PMPANNGFW\" was never defined. |
| 36643 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36644 | fi |
| 36645 | if testscip-shell system . . test. -z "${ENABLE_OMRULESET_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMRULESET_FALSE}"; then |
| 36646 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMRULESET\" was never defined. |
| 36647 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36648 | fi |
| 36649 | if testscip-shell system . . test. -z "${ENABLE_OMUXSOCK_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMUXSOCK_FALSE}"; then |
| 36650 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMUXSOCK\" was never defined. |
| 36651 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36652 | fi |
| 36653 | if testscip-shell system . . test. -z "${ENABLE_MMSNMPTRAPD_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMSNMPTRAPD_FALSE}"; then |
| 36654 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMSNMPTRAPD\" was never defined. |
| 36655 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36656 | fi |
| 36657 | if testscip-shell system . . test. -z "${ENABLE_OMHDFS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMHDFS_FALSE}"; then |
| 36658 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMHDFS\" was never defined. |
| 36659 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36660 | fi |
| 36661 | if testscip-shell system . . test. -z "${ENABLE_OMOTEL_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMOTEL_FALSE}"; then |
| 36662 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMOTEL\" was never defined. |
| 36663 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36664 | fi |
| 36665 | if testscip-shell system . . test. -z "${ENABLE_OMAZUREEVENTHUBS_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMAZUREEVENTHUBS_TESTS_FALSE}"; then |
| 36666 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMAZUREEVENTHUBS_TESTS\" was never defined. |
| 36667 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36668 | fi |
| 36669 | if testscip-shell system . . test. -z "${ENABLE_OMAZUREDCE_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMAZUREDCE_TESTS_FALSE}"; then |
| 36670 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMAZUREDCE_TESTS\" was never defined. |
| 36671 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36672 | fi |
| 36673 | if testscip-shell system . . test. -z "${ENABLE_KAFKA_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_KAFKA_TESTS_FALSE}"; then |
| 36674 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_KAFKA_TESTS\" was never defined. |
| 36675 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36676 | fi |
| 36677 | if testscip-shell system . . test. -z "${ENABLE_KAFKA_STATIC_TRUE}" && testscip-shell system . . test. -z "${ENABLE_KAFKA_STATIC_FALSE}"; then |
| 36678 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_KAFKA_STATIC\" was never defined. |
| 36679 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36680 | fi |
| 36681 | if testscip-shell system . . test. -z "${OMKAFKA_USE_DUMMY_TRUE}" && testscip-shell system . . test. -z "${OMKAFKA_USE_DUMMY_FALSE}"; then |
| 36682 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"OMKAFKA_USE_DUMMY\" was never defined. |
| 36683 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36684 | fi |
| 36685 | if testscip-shell system . . test. -z "${IMKAFKA_USE_DUMMY_TRUE}" && testscip-shell system . . test. -z "${IMKAFKA_USE_DUMMY_FALSE}"; then |
| 36686 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"IMKAFKA_USE_DUMMY\" was never defined. |
| 36687 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36688 | fi |
| 36689 | if testscip-shell system . . test. -z "${ENABLE_OMKAFKA_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMKAFKA_FALSE}"; then |
| 36690 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMKAFKA\" was never defined. |
| 36691 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36692 | fi |
| 36693 | if testscip-shell system . . test. -z "${ENABLE_IMKAFKA_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMKAFKA_FALSE}"; then |
| 36694 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMKAFKA\" was never defined. |
| 36695 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36696 | fi |
| 36697 | if testscip-shell system . . test. -z "${ENABLE_OMAZUREDCE_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMAZUREDCE_FALSE}"; then |
| 36698 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMAZUREDCE\" was never defined. |
| 36699 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36700 | fi |
| 36701 | if testscip-shell system . . test. -z "${ENABLE_OMAZUREEVENTHUBS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMAZUREEVENTHUBS_FALSE}"; then |
| 36702 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMAZUREEVENTHUBS\" was never defined. |
| 36703 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36704 | fi |
| 36705 | if testscip-shell system . . test. -z "${ENABLE_QPIDPROTON_STATIC_TRUE}" && testscip-shell system . . test. -z "${ENABLE_QPIDPROTON_STATIC_FALSE}"; then |
| 36706 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_QPIDPROTON_STATIC\" was never defined. |
| 36707 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36708 | fi |
| 36709 | if testscip-shell system . . test. -z "${ENABLE_OMMONGODB_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMMONGODB_FALSE}"; then |
| 36710 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMMONGODB\" was never defined. |
| 36711 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36712 | fi |
| 36713 | if testscip-shell system . . test. -z "${ENABLE_IMDTLS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMDTLS_FALSE}"; then |
| 36714 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMDTLS\" was never defined. |
| 36715 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36716 | fi |
| 36717 | if testscip-shell system . . test. -z "${ENABLE_OMDTLS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMDTLS_FALSE}"; then |
| 36718 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMDTLS\" was never defined. |
| 36719 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36720 | fi |
| 36721 | if testscip-shell system . . test. -z "${ENABLE_IMCZMQ_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMCZMQ_FALSE}"; then |
| 36722 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMCZMQ\" was never defined. |
| 36723 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36724 | fi |
| 36725 | if testscip-shell system . . test. -z "${ENABLE_OMCZMQ_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMCZMQ_FALSE}"; then |
| 36726 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMCZMQ\" was never defined. |
| 36727 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36728 | fi |
| 36729 | if testscip-shell system . . test. -z "${ENABLE_OMRABBITMQ_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMRABBITMQ_FALSE}"; then |
| 36730 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMRABBITMQ\" was never defined. |
| 36731 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36732 | fi |
| 36733 | if testscip-shell system . . test. -z "${ENABLE_REDIS_TESTS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_REDIS_TESTS_FALSE}"; then |
| 36734 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_REDIS_TESTS\" was never defined. |
| 36735 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36736 | fi |
| 36737 | if testscip-shell system . . test. -z "${ENABLE_OMHIREDIS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMHIREDIS_FALSE}"; then |
| 36738 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMHIREDIS\" was never defined. |
| 36739 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36740 | fi |
| 36741 | if testscip-shell system . . test. -z "${ENABLE_IMHIREDIS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_IMHIREDIS_FALSE}"; then |
| 36742 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_IMHIREDIS\" was never defined. |
| 36743 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36744 | fi |
| 36745 | if testscip-shell system . . test. -z "${ENABLE_OMHTTPFS_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMHTTPFS_FALSE}"; then |
| 36746 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMHTTPFS\" was never defined. |
| 36747 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36748 | fi |
| 36749 | if testscip-shell system . . test. -z "${ENABLE_OMAMQP1_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMAMQP1_FALSE}"; then |
| 36750 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMAMQP1\" was never defined. |
| 36751 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36752 | fi |
| 36753 | if testscip-shell system . . test. -z "${ENABLE_OMTCL_TRUE}" && testscip-shell system . . test. -z "${ENABLE_OMTCL_FALSE}"; then |
| 36754 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_OMTCL\" was never defined. |
| 36755 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36756 | fi |
| 36757 | if testscip-shell system . . test. -z "${ENABLE_MMKUBERNETES_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMKUBERNETES_FALSE}"; then |
| 36758 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMKUBERNETES\" was never defined. |
| 36759 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36760 | fi |
| 36761 | if testscip-shell system . . test. -z "${ENABLE_MMTAGHOSTNAME_TRUE}" && testscip-shell system . . test. -z "${ENABLE_MMTAGHOSTNAME_FALSE}"; then |
| 36762 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_MMTAGHOSTNAME\" was never defined. |
| 36763 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36764 | fi |
| 36765 | if testscip-shell system . . test. -z "${ENABLE_DISTCHECK_WORKAROUND_TRUE}" && testscip-shell system . . test. -z "${ENABLE_DISTCHECK_WORKAROUND_FALSE}"; then |
| 36766 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_DISTCHECK_WORKAROUND\" was never defined. |
| 36767 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36768 | fi |
| 36769 | if testscip-shell system . . test. -z "${ENABLE_GENERATE_MAN_PAGES_TRUE}" && testscip-shell system . . test. -z "${ENABLE_GENERATE_MAN_PAGES_FALSE}"; then |
| 36770 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "conditional \"ENABLE_GENERATE_MAN_PAGES\" was never defined. |
| 36771 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 36772 | fi |
| 36773 | |
| 36774 | : "${CONFIG_STATUS=./config.status}" |
| 36775 | ac_write_fail=0 |
| 36776 | ac_clean_files_save=$ac_clean_files |
| 36777 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 36778 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 36779 | printfscip-shell system . . printf. "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} |
| 36780 | as_write_fail=0 |
| 36781 | catscip-shell system . . cat. >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
| 36782 | #! $SHELL |
| 36783 | # Generated by $as_me. |
| 36784 | # Run this file to recreate the current configuration. |
| 36785 | # Compiler output produced by configure, useful for debugging |
| 36786 | # configure, is in config.log if it exists. |
| 36787 | |
| 36788 | debug=false |
| 36789 | ac_cs_recheck=false |
| 36790 | ac_cs_silent=false |
| 36791 | |
| 36792 | SHELL=\${CONFIG_SHELL-$SHELL} |
| 36793 | export SHELL |
| 36794 | _ASEOF |
| 36795 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
| 36796 | ## -------------------- ## |
| 36797 | ## M4sh Initialization. ## |
| 36798 | ## -------------------- ## |
| 36799 | |
| 36800 | # Be more Bourne compatible |
| 36801 | DUALCASE=1; export DUALCASE # for MKS sh |
| 36802 | as_nop=: |
| 36803 | if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 36804 | then : |
| 36805 | emulate sh |
| 36806 | NULLCMD=: |
| 36807 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 36808 | # is contrary to our usage. Disable this feature. |
| 36809 | alias -g '${1+"$@"}'='"$@"' |
| 36810 | setopt NO_GLOB_SUBST |
| 36811 | else $as_nop |
| 36812 | case `(set -o) 2>/dev/null` in #( |
| 36813 | *posix*) : |
| 36814 | set -o posix ;; #( |
| 36815 | *) : |
| 36816 | ;; |
| 36817 | esac |
| 36818 | fi |
| 36819 | |
| 36820 | |
| 36821 | |
| 36822 | # Reset variables that may have inherited troublesome values from |
| 36823 | # the environment. |
| 36824 | |
| 36825 | # IFS needs to be set, to space, tab, and newline, in precisely that order. |
| 36826 | # (If _AS_PATH_WALK were called with IFS unset, it would have the |
| 36827 | # side effect of setting IFS to empty, thus disabling word splitting.) |
| 36828 | # Quoting is to prevent editors from complaining about space-tab. |
| 36829 | as_nl=' |
| 36830 | ' |
| 36831 | export as_nl |
| 36832 | IFS=" "" $as_nl" |
| 36833 | |
| 36834 | PS1='$ ' |
| 36835 | PS2='> ' |
| 36836 | PS4='+ ' |
| 36837 | |
| 36838 | # Ensure predictable behavior from utilities with locale-dependent output. |
| 36839 | LC_ALL=C |
| 36840 | export LC_ALL |
| 36841 | LANGUAGE=C |
| 36842 | export LANGUAGE |
| 36843 | |
| 36844 | # We cannot yet rely on "unset" to work, but we need these variables |
| 36845 | # to be unset--not just set to an empty or harmless value--now, to |
| 36846 | # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
| 36847 | # also avoids known problems related to "unset" and subshell syntax |
| 36848 | # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
| 36849 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
| 36850 | do eval test \${$as_var+y} \ |
| 36851 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 36852 | done |
| 36853 | |
| 36854 | # Ensure that fds 0, 1, and 2 are open. |
| 36855 | if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
| 36856 | if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
| 36857 | if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
| 36858 | |
| 36859 | # The user is always right. |
| 36860 | if ${PATH_SEPARATOR+false} :; then |
| 36861 | PATH_SEPARATOR=: |
| 36862 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 36863 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 36864 | PATH_SEPARATOR=';' |
| 36865 | } |
| 36866 | fi |
| 36867 | |
| 36868 | |
| 36869 | # Find who we are. Look in the path if we contain no directory separator. |
| 36870 | as_myself= |
| 36871 | case $0 in #(( |
| 36872 | *[\\/]* ) as_myself=$0 ;; |
| 36873 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 36874 | for as_dir in $PATH |
| 36875 | do |
| 36876 | IFS=$as_save_IFS |
| 36877 | case $as_dir in #((( |
| 36878 | '') as_dir=./ ;; |
| 36879 | */) ;; |
| 36880 | *) as_dir=$as_dir/ ;; |
| 36881 | esac |
| 36882 | test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 36883 | done |
| 36884 | IFS=$as_save_IFS |
| 36885 | |
| 36886 | ;; |
| 36887 | esac |
| 36888 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
| 36889 | # in which case we are not to be found in the path. |
| 36890 | if test "x$as_myself" = x; then |
| 36891 | as_myself=$0 |
| 36892 | fi |
| 36893 | if test ! -f "$as_myself"; then |
| 36894 | printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 36895 | exit 1 |
| 36896 | fi |
| 36897 | |
| 36898 | |
| 36899 | |
| 36900 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 36901 | # ---------------------------------------- |
| 36902 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 36903 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 36904 | # script with STATUS, using 1 if that was 0. |
| 36905 | as_fn_error () |
| 36906 | { |
| 36907 | as_status=$1; test $as_status -eq 0 && as_status=1 |
| 36908 | if test "$4"; then |
| 36909 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 36910 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 36911 | fi |
| 36912 | printf "%s\n" "$as_me: error: $2" >&2 |
| 36913 | as_fn_exit $as_status |
| 36914 | } # as_fn_error |
| 36915 | |
| 36916 | |
| 36917 | |
| 36918 | # as_fn_set_status STATUS |
| 36919 | # ----------------------- |
| 36920 | # Set $? to STATUS, without forking. |
| 36921 | as_fn_set_status () |
| 36922 | { |
| 36923 | return $1 |
| 36924 | } # as_fn_set_status |
| 36925 | |
| 36926 | # as_fn_exit STATUS |
| 36927 | # ----------------- |
| 36928 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 36929 | as_fn_exit () |
| 36930 | { |
| 36931 | set +e |
| 36932 | as_fn_set_status $1 |
| 36933 | exit $1 |
| 36934 | } # as_fn_exit |
| 36935 | |
| 36936 | # as_fn_unset VAR |
| 36937 | # --------------- |
| 36938 | # Portably unset VAR. |
| 36939 | as_fn_unset () |
| 36940 | { |
| 36941 | { eval $1=; unset $1;} |
| 36942 | } |
| 36943 | as_unset=as_fn_unset |
| 36944 | |
| 36945 | # as_fn_append VAR VALUE |
| 36946 | # ---------------------- |
| 36947 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
| 36948 | # advantage of any shell optimizations that allow amortized linear growth over |
| 36949 | # repeated appends, instead of the typical quadratic growth present in naive |
| 36950 | # implementations. |
| 36951 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
| 36952 | then : |
| 36953 | eval 'as_fn_append () |
| 36954 | { |
| 36955 | eval $1+=\$2 |
| 36956 | }' |
| 36957 | else $as_nop |
| 36958 | as_fn_append () |
| 36959 | { |
| 36960 | eval $1=\$$1\$2 |
| 36961 | } |
| 36962 | fi # as_fn_append |
| 36963 | |
| 36964 | # as_fn_arith ARG... |
| 36965 | # ------------------ |
| 36966 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
| 36967 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 36968 | # must be portable across $(()) and expr. |
| 36969 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
| 36970 | then : |
| 36971 | eval 'as_fn_arith () |
| 36972 | { |
| 36973 | as_val=$(( $* )) |
| 36974 | }' |
| 36975 | else $as_nop |
| 36976 | as_fn_arith () |
| 36977 | { |
| 36978 | as_val=`expr "$@" || test $? -eq 1` |
| 36979 | } |
| 36980 | fi # as_fn_arith |
| 36981 | |
| 36982 | |
| 36983 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 36984 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 36985 | as_expr=expr |
| 36986 | else |
| 36987 | as_expr=false |
| 36988 | fi |
| 36989 | |
| 36990 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 36991 | as_basename=basename |
| 36992 | else |
| 36993 | as_basename=false |
| 36994 | fi |
| 36995 | |
| 36996 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 36997 | as_dirname=dirname |
| 36998 | else |
| 36999 | as_dirname=false |
| 37000 | fi |
| 37001 | |
| 37002 | as_me=`$as_basename -- "$0" || |
| 37003 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 37004 | X"$0" : 'X\(//\)$' \| \ |
| 37005 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 37006 | printf "%s\n" X/"$0" | |
| 37007 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 37008 | s//\1/ |
| 37009 | q |
| 37010 | } |
| 37011 | /^X\/\(\/\/\)$/{ |
| 37012 | s//\1/ |
| 37013 | q |
| 37014 | } |
| 37015 | /^X\/\(\/\).*/{ |
| 37016 | s//\1/ |
| 37017 | q |
| 37018 | } |
| 37019 | s/.*/./; q'` |
| 37020 | |
| 37021 | # Avoid depending upon Character Ranges. |
| 37022 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 37023 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 37024 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 37025 | as_cr_digits='0123456789' |
| 37026 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 37027 | |
| 37028 | |
| 37029 | # Determine whether it's possible to make 'echo' print without a newline. |
| 37030 | # These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
| 37031 | # for compatibility with existing Makefiles. |
| 37032 | ECHO_C= ECHO_N= ECHO_T= |
| 37033 | case `echo -n x` in #((((( |
| 37034 | -n*) |
| 37035 | case `echo 'xy\c'` in |
| 37036 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 37037 | xy) ECHO_C='\c';; |
| 37038 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 37039 | ECHO_T=' ';; |
| 37040 | esac;; |
| 37041 | *) |
| 37042 | ECHO_N='-n';; |
| 37043 | esac |
| 37044 | |
| 37045 | # For backward compatibility with old third-party macros, we provide |
| 37046 | # the shell variables $as_echo and $as_echo_n. New code should use |
| 37047 | # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
| 37048 | as_echo='printf %s\n' |
| 37049 | as_echo_n='printf %s' |
| 37050 | |
| 37051 | rm -f conf$$ conf$$.exe conf$$.file |
| 37052 | if test -d conf$$.dir; then |
| 37053 | rm -f conf$$.dir/conf$$.file |
| 37054 | else |
| 37055 | rm -f conf$$.dir |
| 37056 | mkdir conf$$.dir 2>/dev/null |
| 37057 | fi |
| 37058 | if (echo >conf$$.file) 2>/dev/null; then |
| 37059 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 37060 | as_ln_s='ln -s' |
| 37061 | # ... but there are two gotchas: |
| 37062 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 37063 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 37064 | # In both cases, we have to default to `cp -pR'. |
| 37065 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 37066 | as_ln_s='cp -pR' |
| 37067 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 37068 | as_ln_s=ln |
| 37069 | else |
| 37070 | as_ln_s='cp -pR' |
| 37071 | fi |
| 37072 | else |
| 37073 | as_ln_s='cp -pR' |
| 37074 | fi |
| 37075 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 37076 | rmdir conf$$.dir 2>/dev/null |
| 37077 | |
| 37078 | |
| 37079 | # as_fn_mkdir_p |
| 37080 | # ------------- |
| 37081 | # Create "$as_dir" as a directory, including parents if necessary. |
| 37082 | as_fn_mkdir_p () |
| 37083 | { |
| 37084 | |
| 37085 | case $as_dir in #( |
| 37086 | -*) as_dir=./$as_dir;; |
| 37087 | esac |
| 37088 | test -d "$as_dir" || eval $as_mkdir_p || { |
| 37089 | as_dirs= |
| 37090 | while :; do |
| 37091 | case $as_dir in #( |
| 37092 | *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 37093 | *) as_qdir=$as_dir;; |
| 37094 | esac |
| 37095 | as_dirs="'$as_qdir' $as_dirs" |
| 37096 | as_dir=`$as_dirname -- "$as_dir" || |
| 37097 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 37098 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 37099 | X"$as_dir" : 'X\(//\)$' \| \ |
| 37100 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 37101 | printf "%s\n" X"$as_dir" | |
| 37102 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 37103 | s//\1/ |
| 37104 | q |
| 37105 | } |
| 37106 | /^X\(\/\/\)[^/].*/{ |
| 37107 | s//\1/ |
| 37108 | q |
| 37109 | } |
| 37110 | /^X\(\/\/\)$/{ |
| 37111 | s//\1/ |
| 37112 | q |
| 37113 | } |
| 37114 | /^X\(\/\).*/{ |
| 37115 | s//\1/ |
| 37116 | q |
| 37117 | } |
| 37118 | s/.*/./; q'` |
| 37119 | test -d "$as_dir" && break |
| 37120 | done |
| 37121 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 37122 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 37123 | |
| 37124 | |
| 37125 | } # as_fn_mkdir_p |
| 37126 | if mkdir -p . 2>/dev/null; then |
| 37127 | as_mkdir_p='mkdir -p "$as_dir"' |
| 37128 | else |
| 37129 | test -d ./-p && rmdir ./-p |
| 37130 | as_mkdir_p=false |
| 37131 | fi |
| 37132 | |
| 37133 | |
| 37134 | # as_fn_executable_p FILE |
| 37135 | # ----------------------- |
| 37136 | # Test if FILE is an executable regular file. |
| 37137 | as_fn_executable_p () |
| 37138 | { |
| 37139 | test -f "$1" && test -x "$1" |
| 37140 | } # as_fn_executable_p |
| 37141 | as_test_x='test -x' |
| 37142 | as_executable_p=as_fn_executable_p |
| 37143 | |
| 37144 | # Sed expression to map a string onto a valid CPP name. |
| 37145 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 37146 | |
| 37147 | # Sed expression to map a string onto a valid variable name. |
| 37148 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 37149 | |
| 37150 | |
| 37151 | exec 6>&1 |
| 37152 | ## ----------------------------------- ## |
| 37153 | ## Main body of $CONFIG_STATUS script. ## |
| 37154 | ## ----------------------------------- ## |
| 37155 | _ASEOF |
| 37156 | testscip-shell system . . test. $as_write_fail = 0 && chmodscip-shell system . . chmod. +x $CONFIG_STATUS || ac_write_fail=1 |
| 37157 | |
| 37158 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 37159 | # Save the log message, to keep $0 and so on meaningful, and to |
| 37160 | # report actual input values of CONFIG_FILES etc. instead of their |
| 37161 | # values after options handling. |
| 37162 | ac_log=" |
| 37163 | This file was extended by rsyslog $as_me 8.2604.0, which was |
| 37164 | generated by GNU Autoconf 2.71. Invocation command line was |
| 37165 | |
| 37166 | CONFIG_FILES = $CONFIG_FILES |
| 37167 | CONFIG_HEADERS = $CONFIG_HEADERS |
| 37168 | CONFIG_LINKS = $CONFIG_LINKS |
| 37169 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 37170 | $ $0 $@ |
| 37171 | |
| 37172 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 37173 | " |
| 37174 | |
| 37175 | _ACEOF |
| 37176 | |
| 37177 | case $ac_config_files in *" |
| 37178 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
| 37179 | esac |
| 37180 | |
| 37181 | case $ac_config_headers in *" |
| 37182 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
| 37183 | esac |
| 37184 | |
| 37185 | |
| 37186 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 37187 | # Files that config.status was made for. |
| 37188 | config_files="$ac_config_files" |
| 37189 | config_headers="$ac_config_headers" |
| 37190 | config_commands="$ac_config_commands" |
| 37191 | |
| 37192 | _ACEOF |
| 37193 | |
| 37194 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 37195 | ac_cs_usage="\ |
| 37196 | \`$as_me' instantiates files and other configuration actions |
| 37197 | from templates according to the current configuration. Unless the files |
| 37198 | and actions are specified as TAGs, all are instantiated by default. |
| 37199 | |
| 37200 | Usage: $0 [OPTION]... [TAG]... |
| 37201 | |
| 37202 | -h, --help print this help, then exit |
| 37203 | -V, --version print version number and configuration settings, then exit |
| 37204 | --config print configuration, then exit |
| 37205 | -q, --quiet, --silent |
| 37206 | do not print progress messages |
| 37207 | -d, --debug don't remove temporary files |
| 37208 | --recheck update $as_me by reconfiguring in the same conditions |
| 37209 | --file=FILE[:TEMPLATE] |
| 37210 | instantiate the configuration file FILE |
| 37211 | --header=FILE[:TEMPLATE] |
| 37212 | instantiate the configuration header FILE |
| 37213 | |
| 37214 | Configuration files: |
| 37215 | $config_files |
| 37216 | |
| 37217 | Configuration headers: |
| 37218 | $config_headers |
| 37219 | |
| 37220 | Configuration commands: |
| 37221 | $config_commands |
| 37222 | |
| 37223 | Report bugs to <[email protected]>." |
| 37224 | |
| 37225 | _ACEOF |
| 37226 | ac_cs_config=`printfscip-shell system . . printf. "%s\n" "$ac_configure_args" | sedscip-shell system . . sed. "$ac_safe_unquote"` |
| 37227 | ac_cs_config_escaped=`printfscip-shell system . . printf. "%s\n" "$ac_cs_config" | sedscip-shell system . . sed. "s/^ //; s/'/'\\\\\\\\''/g"` |
| 37228 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 37229 | ac_cs_config='$ac_cs_config_escaped' |
| 37230 | ac_cs_version="\\ |
| 37231 | rsyslog config.status 8.2604.0 |
| 37232 | configured by $0, generated by GNU Autoconf 2.71, |
| 37233 | with options \\"\$ac_cs_config\\" |
| 37234 | |
| 37235 | Copyright (C) 2021 Free Software Foundation, Inc. |
| 37236 | This config.status script is free software; the Free Software Foundation |
| 37237 | gives unlimited permission to copy, distribute and modify it." |
| 37238 | |
| 37239 | ac_pwd='$ac_pwd' |
| 37240 | srcdir='$srcdir' |
| 37241 | INSTALL='$INSTALL' |
| 37242 | MKDIR_P='$MKDIR_P' |
| 37243 | AWK='$AWK' |
| 37244 | test -n "\$AWK" || AWK=awk |
| 37245 | _ACEOF |
| 37246 | |
| 37247 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 37248 | # The default lists apply if the user does not specify any file. |
| 37249 | ac_need_defaults=: |
| 37250 | while test $# != 0 |
| 37251 | do |
| 37252 | case $1 in |
| 37253 | --*=?*) |
| 37254 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 37255 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 37256 | ac_shift=: |
| 37257 | ;; |
| 37258 | --*=) |
| 37259 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 37260 | ac_optarg= |
| 37261 | ac_shift=: |
| 37262 | ;; |
| 37263 | *) |
| 37264 | ac_option=$1 |
| 37265 | ac_optarg=$2 |
| 37266 | ac_shift=shift |
| 37267 | ;; |
| 37268 | esac |
| 37269 | |
| 37270 | case $ac_option in |
| 37271 | # Handling of the options. |
| 37272 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 37273 | ac_cs_recheck=: ;; |
| 37274 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 37275 | printf "%s\n" "$ac_cs_version"; exit ;; |
| 37276 | --config | --confi | --conf | --con | --co | --c ) |
| 37277 | printf "%s\n" "$ac_cs_config"; exit ;; |
| 37278 | --debug | --debu | --deb | --de | --d | -d ) |
| 37279 | debug=: ;; |
| 37280 | --file | --fil | --fi | --f ) |
| 37281 | $ac_shift |
| 37282 | case $ac_optarg in |
| 37283 | *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 37284 | '') as_fn_error $? "missing file argument" ;; |
| 37285 | esac |
| 37286 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 37287 | ac_need_defaults=false;; |
| 37288 | --header | --heade | --head | --hea ) |
| 37289 | $ac_shift |
| 37290 | case $ac_optarg in |
| 37291 | *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 37292 | esac |
| 37293 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
| 37294 | ac_need_defaults=false;; |
| 37295 | --he | --h) |
| 37296 | # Conflict between --help and --header |
| 37297 | as_fn_error $? "ambiguous option: \`$1' |
| 37298 | Try \`$0 --help' for more information.";; |
| 37299 | --help | --hel | -h ) |
| 37300 | printf "%s\n" "$ac_cs_usage"; exit ;; |
| 37301 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 37302 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 37303 | ac_cs_silent=: ;; |
| 37304 | |
| 37305 | # This is an error. |
| 37306 | -*) as_fn_error $? "unrecognized option: \`$1' |
| 37307 | Try \`$0 --help' for more information." ;; |
| 37308 | |
| 37309 | *) as_fn_append ac_config_targets " $1" |
| 37310 | ac_need_defaults=false ;; |
| 37311 | |
| 37312 | esac |
| 37313 | shift |
| 37314 | done |
| 37315 | |
| 37316 | ac_configure_extra_args= |
| 37317 | |
| 37318 | if $ac_cs_silent; then |
| 37319 | exec 6>/dev/null |
| 37320 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 37321 | fi |
| 37322 | |
| 37323 | _ACEOF |
| 37324 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 37325 | if \$ac_cs_recheck; then |
| 37326 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 37327 | shift |
| 37328 | \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 37329 | CONFIG_SHELL='$SHELL' |
| 37330 | export CONFIG_SHELL |
| 37331 | exec "\$@" |
| 37332 | fi |
| 37333 | |
| 37334 | _ACEOF |
| 37335 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 37336 | exec 5>>config.log |
| 37337 | { |
| 37338 | echo |
| 37339 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 37340 | ## Running $as_me. ## |
| 37341 | _ASBOX |
| 37342 | printf "%s\n" "$ac_log" |
| 37343 | } >&5 |
| 37344 | |
| 37345 | _ACEOF |
| 37346 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 37347 | # |
| 37348 | # INIT-COMMANDS |
| 37349 | # |
| 37350 | AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" |
| 37351 | |
| 37352 | |
| 37353 | # The HP-UX ksh and POSIX shell print the target directory to stdout |
| 37354 | # if CDPATH is set. |
| 37355 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 37356 | |
| 37357 | sed_quote_subst='$sed_quote_subst' |
| 37358 | double_quote_subst='$double_quote_subst' |
| 37359 | delay_variable_subst='$delay_variable_subst' |
| 37360 | enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
| 37361 | macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
| 37362 | macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
| 37363 | enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
| 37364 | pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
| 37365 | enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
| 37366 | shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' |
| 37367 | SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
| 37368 | ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
| 37369 | PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
| 37370 | host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
| 37371 | host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
| 37372 | host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
| 37373 | build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
| 37374 | build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
| 37375 | build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
| 37376 | SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
| 37377 | Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
| 37378 | GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
| 37379 | EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
| 37380 | FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
| 37381 | LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
| 37382 | NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
| 37383 | LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
| 37384 | max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
| 37385 | ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
| 37386 | exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
| 37387 | lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
| 37388 | lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
| 37389 | lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
| 37390 | lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
| 37391 | lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
| 37392 | reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
| 37393 | reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
| 37394 | FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`' |
| 37395 | OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
| 37396 | deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
| 37397 | file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
| 37398 | file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
| 37399 | want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
| 37400 | DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
| 37401 | sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
| 37402 | AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
| 37403 | lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`' |
| 37404 | AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
| 37405 | archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
| 37406 | STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
| 37407 | RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
| 37408 | old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 37409 | old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 37410 | old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
| 37411 | lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
| 37412 | CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
| 37413 | CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
| 37414 | compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
| 37415 | GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
| 37416 | lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
| 37417 | lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
| 37418 | lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' |
| 37419 | lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
| 37420 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' |
| 37421 | lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' |
| 37422 | nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
| 37423 | lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
| 37424 | lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' |
| 37425 | objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
| 37426 | MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
| 37427 | lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
| 37428 | lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
| 37429 | lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
| 37430 | lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
| 37431 | lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
| 37432 | need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
| 37433 | MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
| 37434 | DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
| 37435 | NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
| 37436 | LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
| 37437 | OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
| 37438 | OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
| 37439 | libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
| 37440 | shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
| 37441 | extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
| 37442 | archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
| 37443 | enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
| 37444 | export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 37445 | whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 37446 | compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
| 37447 | old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
| 37448 | old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
| 37449 | archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
| 37450 | archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
| 37451 | module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
| 37452 | module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
| 37453 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
| 37454 | allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 37455 | no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 37456 | hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 37457 | hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
| 37458 | hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
| 37459 | hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
| 37460 | hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
| 37461 | hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
| 37462 | hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
| 37463 | inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
| 37464 | link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
| 37465 | always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
| 37466 | export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
| 37467 | exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
| 37468 | include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
| 37469 | prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
| 37470 | postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
| 37471 | file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
| 37472 | variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
| 37473 | need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
| 37474 | need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
| 37475 | version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
| 37476 | runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
| 37477 | shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
| 37478 | shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
| 37479 | libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
| 37480 | library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
| 37481 | soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
| 37482 | install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
| 37483 | postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 37484 | postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 37485 | finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
| 37486 | finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
| 37487 | hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
| 37488 | sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
| 37489 | configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' |
| 37490 | configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' |
| 37491 | hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
| 37492 | enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
| 37493 | enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
| 37494 | enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
| 37495 | old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
| 37496 | striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
| 37497 | |
| 37498 | LTCC='$LTCC' |
| 37499 | LTCFLAGS='$LTCFLAGS' |
| 37500 | compiler='$compiler_DEFAULT' |
| 37501 | |
| 37502 | # A function that is used when there is no print builtin or printf. |
| 37503 | func_fallback_echo () |
| 37504 | { |
| 37505 | eval 'cat <<_LTECHO_EOF |
| 37506 | \$1 |
| 37507 | _LTECHO_EOF' |
| 37508 | } |
| 37509 | |
| 37510 | # Quote evaled strings. |
| 37511 | for var in SHELL \ |
| 37512 | ECHO \ |
| 37513 | PATH_SEPARATOR \ |
| 37514 | SED \ |
| 37515 | GREP \ |
| 37516 | EGREP \ |
| 37517 | FGREP \ |
| 37518 | LD \ |
| 37519 | NM \ |
| 37520 | LN_S \ |
| 37521 | lt_SP2NL \ |
| 37522 | lt_NL2SP \ |
| 37523 | reload_flag \ |
| 37524 | FILECMD \ |
| 37525 | OBJDUMP \ |
| 37526 | deplibs_check_method \ |
| 37527 | file_magic_cmd \ |
| 37528 | file_magic_glob \ |
| 37529 | want_nocaseglob \ |
| 37530 | DLLTOOL \ |
| 37531 | sharedlib_from_linklib_cmd \ |
| 37532 | AR \ |
| 37533 | archiver_list_spec \ |
| 37534 | STRIP \ |
| 37535 | RANLIB \ |
| 37536 | CC \ |
| 37537 | CFLAGS \ |
| 37538 | compiler \ |
| 37539 | lt_cv_sys_global_symbol_pipe \ |
| 37540 | lt_cv_sys_global_symbol_to_cdecl \ |
| 37541 | lt_cv_sys_global_symbol_to_import \ |
| 37542 | lt_cv_sys_global_symbol_to_c_name_address \ |
| 37543 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
| 37544 | lt_cv_nm_interface \ |
| 37545 | nm_file_list_spec \ |
| 37546 | lt_cv_truncate_bin \ |
| 37547 | lt_prog_compiler_no_builtin_flag \ |
| 37548 | lt_prog_compiler_pic \ |
| 37549 | lt_prog_compiler_wl \ |
| 37550 | lt_prog_compiler_static \ |
| 37551 | lt_cv_prog_compiler_c_o \ |
| 37552 | need_locks \ |
| 37553 | MANIFEST_TOOL \ |
| 37554 | DSYMUTIL \ |
| 37555 | NMEDIT \ |
| 37556 | LIPO \ |
| 37557 | OTOOL \ |
| 37558 | OTOOL64 \ |
| 37559 | shrext_cmds \ |
| 37560 | export_dynamic_flag_spec \ |
| 37561 | whole_archive_flag_spec \ |
| 37562 | compiler_needs_object \ |
| 37563 | with_gnu_ld \ |
| 37564 | allow_undefined_flag \ |
| 37565 | no_undefined_flag \ |
| 37566 | hardcode_libdir_flag_spec \ |
| 37567 | hardcode_libdir_separator \ |
| 37568 | exclude_expsyms \ |
| 37569 | include_expsyms \ |
| 37570 | file_list_spec \ |
| 37571 | variables_saved_for_relink \ |
| 37572 | libname_spec \ |
| 37573 | library_names_spec \ |
| 37574 | soname_spec \ |
| 37575 | install_override_mode \ |
| 37576 | finish_eval \ |
| 37577 | old_striplib \ |
| 37578 | striplib; do |
| 37579 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 37580 | *[\\\\\\\`\\"\\\$]*) |
| 37581 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
| 37582 | ;; |
| 37583 | *) |
| 37584 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 37585 | ;; |
| 37586 | esac |
| 37587 | done |
| 37588 | |
| 37589 | # Double-quote double-evaled strings. |
| 37590 | for var in reload_cmds \ |
| 37591 | old_postinstall_cmds \ |
| 37592 | old_postuninstall_cmds \ |
| 37593 | old_archive_cmds \ |
| 37594 | extract_expsyms_cmds \ |
| 37595 | old_archive_from_new_cmds \ |
| 37596 | old_archive_from_expsyms_cmds \ |
| 37597 | archive_cmds \ |
| 37598 | archive_expsym_cmds \ |
| 37599 | module_cmds \ |
| 37600 | module_expsym_cmds \ |
| 37601 | export_symbols_cmds \ |
| 37602 | prelink_cmds \ |
| 37603 | postlink_cmds \ |
| 37604 | postinstall_cmds \ |
| 37605 | postuninstall_cmds \ |
| 37606 | finish_cmds \ |
| 37607 | sys_lib_search_path_spec \ |
| 37608 | configure_time_dlsearch_path \ |
| 37609 | configure_time_lt_sys_library_path; do |
| 37610 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 37611 | *[\\\\\\\`\\"\\\$]*) |
| 37612 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
| 37613 | ;; |
| 37614 | *) |
| 37615 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 37616 | ;; |
| 37617 | esac |
| 37618 | done |
| 37619 | |
| 37620 | ac_aux_dir='$ac_aux_dir' |
| 37621 | |
| 37622 | # See if we are running on zsh, and set the options that allow our |
| 37623 | # commands through without removal of \ escapes INIT. |
| 37624 | if test -n "\${ZSH_VERSION+set}"; then |
| 37625 | setopt NO_GLOB_SUBST |
| 37626 | fi |
| 37627 | |
| 37628 | |
| 37629 | PACKAGE='$PACKAGE' |
| 37630 | VERSION='$VERSION' |
| 37631 | RM='$RM' |
| 37632 | ofile='$ofile' |
| 37633 | |
| 37634 | |
| 37635 | |
| 37636 | |
| 37637 | _ACEOF |
| 37638 | |
| 37639 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 37640 | |
| 37641 | # Handling of arguments. |
| 37642 | for ac_config_target in $ac_config_targets |
| 37643 | do |
| 37644 | case $ac_config_target in |
| 37645 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
| 37646 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 37647 | "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 37648 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 37649 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
| 37650 | "runtime/Makefile") CONFIG_FILES="$CONFIG_FILES runtime/Makefile" ;; |
| 37651 | "compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;; |
| 37652 | "grammar/Makefile") CONFIG_FILES="$CONFIG_FILES grammar/Makefile" ;; |
| 37653 | "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
| 37654 | "plugins/imudp/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/imudp/Makefile" ;; |
| 37655 | "plugins/imtcp/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/imtcp/Makefile" ;; |
| 37656 | "plugins/im3195/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/im3195/Makefile" ;; |
| 37657 | "plugins/imgssapi/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/imgssapi/Makefile" ;; |
| 37658 | "plugins/imuxsock/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/imuxsock/Makefile" ;; |
| 37659 | "plugins/imjournal/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/imjournal/Makefile" ;; |
| 37660 | "plugins/immark/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/immark/Makefile" ;; |
| 37661 | "plugins/imklog/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/imklog/Makefile" ;; |
| 37662 | "plugins/omhdfs/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omhdfs/Makefile" ;; |
| 37663 | "plugins/omotel/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omotel/Makefile" ;; |
| 37664 | "plugins/omkafka/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omkafka/Makefile" ;; |
| 37665 | "plugins/omprog/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omprog/Makefile" ;; |
| 37666 | "plugins/mmexternal/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmexternal/Makefile" ;; |
| 37667 | "plugins/omstdout/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omstdout/Makefile" ;; |
| 37668 | "plugins/omsendertrack/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omsendertrack/Makefile" ;; |
| 37669 | "plugins/omjournal/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omjournal/Makefile" ;; |
| 37670 | "plugins/pmciscoios/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/pmciscoios/Makefile" ;; |
| 37671 | "plugins/pmnull/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/pmnull/Makefile" ;; |
| 37672 | "plugins/pmnormalize/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/pmnormalize/Makefile" ;; |
| 37673 | "plugins/omruleset/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omruleset/Makefile" ;; |
| 37674 | "plugins/omuxsock/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omuxsock/Makefile" ;; |
| 37675 | "plugins/imfile/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/imfile/Makefile" ;; |
| 37676 | "plugins/imsolaris/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/imsolaris/Makefile" ;; |
| 37677 | "plugins/imptcp/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/imptcp/Makefile" ;; |
| 37678 | "plugins/impstats/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/impstats/Makefile" ;; |
| 37679 | "plugins/imrelp/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/imrelp/Makefile" ;; |
| 37680 | "plugins/imdiag/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/imdiag/Makefile" ;; |
| 37681 | "plugins/imkafka/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/imkafka/Makefile" ;; |
| 37682 | "plugins/omtesting/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omtesting/Makefile" ;; |
| 37683 | "plugins/omgssapi/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omgssapi/Makefile" ;; |
| 37684 | "plugins/ommysql/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ommysql/Makefile" ;; |
| 37685 | "plugins/ompgsql/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ompgsql/Makefile" ;; |
| 37686 | "plugins/omrelp/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omrelp/Makefile" ;; |
| 37687 | "plugins/omlibdbi/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omlibdbi/Makefile" ;; |
| 37688 | "plugins/ommail/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ommail/Makefile" ;; |
| 37689 | "plugins/fmhttp/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/fmhttp/Makefile" ;; |
| 37690 | "plugins/omsnmp/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omsnmp/Makefile" ;; |
| 37691 | "plugins/omudpspoof/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omudpspoof/Makefile" ;; |
| 37692 | "plugins/ommongodb/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ommongodb/Makefile" ;; |
| 37693 | "plugins/mmnormalize/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmnormalize/Makefile" ;; |
| 37694 | "plugins/mmjsonparse/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmjsonparse/Makefile" ;; |
| 37695 | "plugins/mmjsontransform/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmjsontransform/Makefile" ;; |
| 37696 | "plugins/mmleefparse/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmleefparse/Makefile" ;; |
| 37697 | "plugins/mmaudit/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmaudit/Makefile" ;; |
| 37698 | "plugins/mmanon/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmanon/Makefile" ;; |
| 37699 | "plugins/mmrm1stspace/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmrm1stspace/Makefile" ;; |
| 37700 | "plugins/mmutf8fix/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmutf8fix/Makefile" ;; |
| 37701 | "plugins/mmfields/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmfields/Makefile" ;; |
| 37702 | "plugins/mmpstrucdata/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmpstrucdata/Makefile" ;; |
| 37703 | "plugins/mmaitag/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmaitag/Makefile" ;; |
| 37704 | "plugins/omelasticsearch/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omelasticsearch/Makefile" ;; |
| 37705 | "plugins/omclickhouse/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omclickhouse/Makefile" ;; |
| 37706 | "plugins/mmsnmptrapd/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmsnmptrapd/Makefile" ;; |
| 37707 | "plugins/pmlastmsg/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/pmlastmsg/Makefile" ;; |
| 37708 | "plugins/mmdblookup/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmdblookup/Makefile" ;; |
| 37709 | "plugins/omazureeventhubs/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omazureeventhubs/Makefile" ;; |
| 37710 | "plugins/omazuredce/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omazuredce/Makefile" ;; |
| 37711 | "plugins/imdtls/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/imdtls/Makefile" ;; |
| 37712 | "plugins/omdtls/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/omdtls/Makefile" ;; |
| 37713 | "contrib/mmdarwin/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/mmdarwin/Makefile" ;; |
| 37714 | "contrib/omhttp/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/omhttp/Makefile" ;; |
| 37715 | "contrib/fmhash/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/fmhash/Makefile" ;; |
| 37716 | "contrib/fmunflatten/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/fmunflatten/Makefile" ;; |
| 37717 | "plugins/fmpcre/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/fmpcre/Makefile" ;; |
| 37718 | "contrib/ffaup/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/ffaup/Makefile" ;; |
| 37719 | "contrib/pmsnare/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pmsnare/Makefile" ;; |
| 37720 | "contrib/pmpanngfw/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pmpanngfw/Makefile" ;; |
| 37721 | "contrib/pmaixforwardedfrom/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pmaixforwardedfrom/Makefile" ;; |
| 37722 | "contrib/omhiredis/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/omhiredis/Makefile" ;; |
| 37723 | "contrib/omrabbitmq/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/omrabbitmq/Makefile" ;; |
| 37724 | "contrib/imkmsg/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/imkmsg/Makefile" ;; |
| 37725 | "contrib/mmgrok/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/mmgrok/Makefile" ;; |
| 37726 | "contrib/mmcount/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/mmcount/Makefile" ;; |
| 37727 | "contrib/omczmq/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/omczmq/Makefile" ;; |
| 37728 | "contrib/imczmq/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/imczmq/Makefile" ;; |
| 37729 | "contrib/mmsequence/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/mmsequence/Makefile" ;; |
| 37730 | "contrib/mmrfc5424addhmac/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/mmrfc5424addhmac/Makefile" ;; |
| 37731 | "plugins/mmsnareparse/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmsnareparse/Makefile" ;; |
| 37732 | "contrib/pmcisconames/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pmcisconames/Makefile" ;; |
| 37733 | "contrib/omhttpfs/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/omhttpfs/Makefile" ;; |
| 37734 | "contrib/omamqp1/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/omamqp1/Makefile" ;; |
| 37735 | "contrib/omtcl/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/omtcl/Makefile" ;; |
| 37736 | "contrib/imbatchreport/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/imbatchreport/Makefile" ;; |
| 37737 | "contrib/omfile-hardened/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/omfile-hardened/Makefile" ;; |
| 37738 | "contrib/mmkubernetes/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/mmkubernetes/Makefile" ;; |
| 37739 | "contrib/impcap/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/impcap/Makefile" ;; |
| 37740 | "contrib/imtuxedoulog/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/imtuxedoulog/Makefile" ;; |
| 37741 | "contrib/improg/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/improg/Makefile" ;; |
| 37742 | "contrib/imhttp/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/imhttp/Makefile" ;; |
| 37743 | "contrib/mmtaghostname/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/mmtaghostname/Makefile" ;; |
| 37744 | "contrib/imdocker/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/imdocker/Makefile" ;; |
| 37745 | "contrib/pmdb2diag/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pmdb2diag/Makefile" ;; |
| 37746 | "contrib/imhiredis/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/imhiredis/Makefile" ;; |
| 37747 | "tests/set-envvars") CONFIG_FILES="$CONFIG_FILES tests/set-envvars" ;; |
| 37748 | "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; |
| 37749 | |
| 37750 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 37751 | esac |
| 37752 | done |
| 37753 | |
| 37754 | |
| 37755 | # If the user did not use the arguments to specify the items to instantiate, |
| 37756 | # then the envvar interface is used. Set only those that are not. |
| 37757 | # We use the long form for the default assignment because of an extremely |
| 37758 | # bizarre bug on SunOS 4.1.3. |
| 37759 | if $ac_need_defaults; then |
| 37760 | test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files |
| 37761 | test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers |
| 37762 | test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands |
| 37763 | fi |
| 37764 | |
| 37765 | # Have a temporary directory for convenience. Make it in the build tree |
| 37766 | # simply because there is no reason against having it here, and in addition, |
| 37767 | # creating and moving files from /tmp can sometimes cause problems. |
| 37768 | # Hook for its removal unless debugging. |
| 37769 | # Note that there is a small window in which the directory will not be cleaned: |
| 37770 | # after its creation but before its name has been assigned to `$tmp'. |
| 37771 | $debug || |
| 37772 | { |
| 37773 | tmp= ac_tmp= |
| 37774 | trap 'exit_status=$? |
| 37775 | : "${ac_tmp:=$tmp}" |
| 37776 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
| 37777 | ' 0 |
| 37778 | trap 'as_fn_exit 1' 1 2 13 15 |
| 37779 | } |
| 37780 | # Create a (secure) tmp directory for tmp files. |
| 37781 | |
| 37782 | { |
| 37783 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 37784 | test -d "$tmp" |
| 37785 | } || |
| 37786 | { |
| 37787 | tmp=./conf$$-$RANDOM |
| 37788 | (umask 077 && mkdir "$tmp") |
| 37789 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| 37790 | ac_tmp=$tmp |
| 37791 | |
| 37792 | # Set up the scripts for CONFIG_FILES section. |
| 37793 | # No need to generate them if there are no CONFIG_FILES. |
| 37794 | # This happens for instance with `./config.status config.h'. |
| 37795 | if test -n "$CONFIG_FILES"; then |
| 37796 | |
| 37797 | |
| 37798 | ac_cr=`echo X | tr X '\015'` |
| 37799 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
| 37800 | # But we know of no other shell where ac_cr would be empty at this |
| 37801 | # point, so we can use a bashism as a fallback. |
| 37802 | if test "x$ac_cr" = x; then |
| 37803 | eval ac_cr=\$\'\\r\' |
| 37804 | fi |
| 37805 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 37806 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 37807 | ac_cs_awk_cr='\\r' |
| 37808 | else |
| 37809 | ac_cs_awk_cr=$ac_cr |
| 37810 | fi |
| 37811 | |
| 37812 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
| 37813 | _ACEOF |
| 37814 | |
| 37815 | |
| 37816 | { |
| 37817 | echoscip-shell system . . echo. "cat >conf$$subs.awk <<_ACEOF" && |
| 37818 | echoscip-shell system . . echo. "$ac_subst_vars" | sedscip-shell system . . sed. 's/.*/&!$&$ac_delim/' && |
| 37819 | echoscip-shell system . . echo. "_ACEOF" |
| 37820 | } >conf$$subs.sh || |
| 37821 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 37822 | ac_delim_num=`echoscip-shell system . . echo. "$ac_subst_vars" | grepscip-shell system . . grep. -c '^'` |
| 37823 | ac_delim='%!_!# ' |
| 37824 | for ac_last_try in false false false false false :; do |
| 37825 | . ./conf$$subs.sh || |
| 37826 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 37827 | |
| 37828 | ac_delim_n=`sedscip-shell system . . sed. -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grepscip-shell system . . grep. -c X` |
| 37829 | if testscip-shell system . . test. $ac_delim_n = $ac_delim_num; then |
| 37830 | break |
| 37831 | elif $ac_last_try; then |
| 37832 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 37833 | else |
| 37834 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 37835 | fi |
| 37836 | done |
| 37837 | rmscip-shell system . . rm. -f conf$$subs.sh |
| 37838 | |
| 37839 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 37840 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 37841 | _ACEOF |
| 37842 | sedscip-shell system . . sed. -n ' |
| 37843 | h |
| 37844 | s/^/S["/; s/!.*/"]=/ |
| 37845 | p |
| 37846 | g |
| 37847 | s/^[^!]*!// |
| 37848 | :repl |
| 37849 | t repl |
| 37850 | s/'"$ac_delim"'$// |
| 37851 | t delim |
| 37852 | :nl |
| 37853 | h |
| 37854 | s/\(.\{148\}\)..*/\1/ |
| 37855 | t more1 |
| 37856 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 37857 | p |
| 37858 | n |
| 37859 | b repl |
| 37860 | :more1 |
| 37861 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 37862 | p |
| 37863 | g |
| 37864 | s/.\{148\}// |
| 37865 | t nl |
| 37866 | :delim |
| 37867 | h |
| 37868 | s/\(.\{148\}\)..*/\1/ |
| 37869 | t more2 |
| 37870 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 37871 | p |
| 37872 | b |
| 37873 | :more2 |
| 37874 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 37875 | p |
| 37876 | g |
| 37877 | s/.\{148\}// |
| 37878 | t delim |
| 37879 | ' <conf$$subs.awk | sedscip-shell system . . sed. ' |
| 37880 | /^[^""]/{ |
| 37881 | N |
| 37882 | s/\n// |
| 37883 | } |
| 37884 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
| 37885 | rmscip-shell system . . rm. -f conf$$subs.awk |
| 37886 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 37887 | _ACAWK |
| 37888 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
| 37889 | for (key in S) S_is_set[key] = 1 |
| 37890 | FS = "" |
| 37891 | |
| 37892 | } |
| 37893 | { |
| 37894 | line = $ 0 |
| 37895 | nfields = split(line, field, "@") |
| 37896 | substed = 0 |
| 37897 | len = length(field[1]) |
| 37898 | for (i = 2; i < nfields; i++) { |
| 37899 | key = field[i] |
| 37900 | keylen = length(key) |
| 37901 | if (S_is_set[key]) { |
| 37902 | value = S[key] |
| 37903 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
| 37904 | len += length(value) + length(field[++i]) |
| 37905 | substed = 1 |
| 37906 | } else |
| 37907 | len += 1 + keylen |
| 37908 | } |
| 37909 | |
| 37910 | print line |
| 37911 | } |
| 37912 | |
| 37913 | _ACAWK |
| 37914 | _ACEOF |
| 37915 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 37916 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
| 37917 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 37918 | else |
| 37919 | cat |
| 37920 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
| 37921 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
| 37922 | _ACEOF |
| 37923 | |
| 37924 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
| 37925 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
| 37926 | # trailing colons and then remove the whole line if VPATH becomes empty |
| 37927 | # (actually we leave an empty line to preserve line numbers). |
| 37928 | if testscip-shell system . . test. "x$srcdir" = x.; then |
| 37929 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
| 37930 | h |
| 37931 | s/// |
| 37932 | s/^/:/ |
| 37933 | s/[ ]*$/:/ |
| 37934 | s/:\$(srcdir):/:/g |
| 37935 | s/:\${srcdir}:/:/g |
| 37936 | s/:@srcdir@:/:/g |
| 37937 | s/^:*// |
| 37938 | s/:*$// |
| 37939 | x |
| 37940 | s/\(=[ ]*\).*/\1/ |
| 37941 | G |
| 37942 | s/\n// |
| 37943 | s/^[^=]*=[ ]*$// |
| 37944 | }' |
| 37945 | fi |
| 37946 | |
| 37947 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 37948 | fi # test -n "$CONFIG_FILES" |
| 37949 | |
| 37950 | # Set up the scripts for CONFIG_HEADERS section. |
| 37951 | # No need to generate them if there are no CONFIG_HEADERS. |
| 37952 | # This happens for instance with `./config.status Makefile'. |
| 37953 | if test -n "$CONFIG_HEADERS"; then |
| 37954 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
| 37955 | BEGIN { |
| 37956 | _ACEOF |
| 37957 | |
| 37958 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
| 37959 | # here-document in config.status, that substitutes the proper values into |
| 37960 | # config.h.in to produce config.h. |
| 37961 | |
| 37962 | # Create a delimiter string that does not exist in confdefs.h, to ease |
| 37963 | # handling of long lines. |
| 37964 | ac_delim='%!_!# ' |
| 37965 | for ac_last_try in false false :; do |
| 37966 | ac_tt=`sedscip-shell system . . sed. -n "/$ac_delim/p" confdefs.h` |
| 37967 | if testscip-shell system . . test. -z "$ac_tt"; then |
| 37968 | break |
| 37969 | elif $ac_last_try; then |
| 37970 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 37971 | else |
| 37972 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 37973 | fi |
| 37974 | done |
| 37975 | |
| 37976 | # For the awk script, D is an array of macro values keyed by name, |
| 37977 | # likewise P contains macro parameters if any. Preserve backslash |
| 37978 | # newline sequences. |
| 37979 | |
| 37980 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
| 37981 | sedscip-shell system . . sed. -n ' |
| 37982 | s/.\{148\}/&'"$ac_delim"'/g |
| 37983 | t rset |
| 37984 | :rset |
| 37985 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
| 37986 | t def |
| 37987 | d |
| 37988 | :def |
| 37989 | s/\\$// |
| 37990 | t bsnl |
| 37991 | s/["\\]/\\&/g |
| 37992 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
| 37993 | D["\1"]=" \3"/p |
| 37994 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
| 37995 | d |
| 37996 | :bsnl |
| 37997 | s/["\\]/\\&/g |
| 37998 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
| 37999 | D["\1"]=" \3\\\\\\n"\\/p |
| 38000 | t cont |
| 38001 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
| 38002 | t cont |
| 38003 | d |
| 38004 | :cont |
| 38005 | n |
| 38006 | s/.\{148\}/&'"$ac_delim"'/g |
| 38007 | t clear |
| 38008 | :clear |
| 38009 | s/\\$// |
| 38010 | t bsnlc |
| 38011 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
| 38012 | d |
| 38013 | :bsnlc |
| 38014 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
| 38015 | b cont |
| 38016 | ' <confdefs.h | sedscip-shell system . . sed. ' |
| 38017 | s/'"$ac_delim"'/"\\\ |
| 38018 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
| 38019 | |
| 38020 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 38021 | for (key in D) D_is_set[key] = 1 |
| 38022 | FS = "" |
| 38023 | } |
| 38024 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
| 38025 | line = \$ 0 |
| 38026 | split(line, arg, " ") |
| 38027 | if (arg[1] == "#") { |
| 38028 | defundef = arg[2] |
| 38029 | mac1 = arg[3] |
| 38030 | } else { |
| 38031 | defundef = substr(arg[1], 2) |
| 38032 | mac1 = arg[2] |
| 38033 | } |
| 38034 | split(mac1, mac2, "(") #) |
| 38035 | macro = mac2[1] |
| 38036 | prefix = substr(line, 1, index(line, defundef) - 1) |
| 38037 | if (D_is_set[macro]) { |
| 38038 | # Preserve the white space surrounding the "#". |
| 38039 | print prefix "define", macro P[macro] D[macro] |
| 38040 | next |
| 38041 | } else { |
| 38042 | # Replace #undef with comments. This is necessary, for example, |
| 38043 | # in the case of _POSIX_SOURCE, which is predefined and required |
| 38044 | # on some systems where configure will not decide to define it. |
| 38045 | if (defundef == "undef") { |
| 38046 | print "/*", prefix defundef, macro, "*/" |
| 38047 | next |
| 38048 | } |
| 38049 | } |
| 38050 | } |
| 38051 | { print } |
| 38052 | _ACAWK |
| 38053 | _ACEOF |
| 38054 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 38055 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
| 38056 | fi # test -n "$CONFIG_HEADERS" |
| 38057 | |
| 38058 | |
| 38059 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
| 38060 | shift |
| 38061 | for ac_tag |
| 38062 | do |
| 38063 | case $ac_tag in |
| 38064 | :[FHLC]) ac_mode=$ac_tag; continue;; |
| 38065 | esac |
| 38066 | case $ac_mode$ac_tag in |
| 38067 | :[FHL]*:*);; |
| 38068 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 38069 | :[FH]-) ac_tag=-:-;; |
| 38070 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 38071 | esac |
| 38072 | ac_save_IFS=$IFS |
| 38073 | IFS=: |
| 38074 | set x $ac_tag |
| 38075 | IFS=$ac_save_IFS |
| 38076 | shift |
| 38077 | ac_file=$1 |
| 38078 | shift |
| 38079 | |
| 38080 | case $ac_mode in |
| 38081 | :L) ac_source=$1;; |
| 38082 | :[FH]) |
| 38083 | ac_file_inputs= |
| 38084 | for ac_f |
| 38085 | do |
| 38086 | case $ac_f in |
| 38087 | -) ac_f="$ac_tmp/stdin";; |
| 38088 | *) # Look for the file first in the build tree, then in the source tree |
| 38089 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
| 38090 | # because $ac_f cannot contain `:'. |
| 38091 | test -f "$ac_f" || |
| 38092 | case $ac_f in |
| 38093 | [\\/$]*) false;; |
| 38094 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 38095 | esac || |
| 38096 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 38097 | esac |
| 38098 | case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 38099 | as_fn_append ac_file_inputs " '$ac_f'" |
| 38100 | done |
| 38101 | |
| 38102 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
| 38103 | # use $as_me), people would be surprised to read: |
| 38104 | # /* config.h. Generated by config.status. */ |
| 38105 | configure_input='Generated from '` |
| 38106 | printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| 38107 | `' by configure.' |
| 38108 | if test x"$ac_file" != x-; then |
| 38109 | configure_input="$ac_file. $configure_input" |
| 38110 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
| 38111 | printf "%s\n" "$as_me: creating $ac_file" >&6;} |
| 38112 | fi |
| 38113 | # Neutralize special characters interpreted by sed in replacement strings. |
| 38114 | case $configure_input in #( |
| 38115 | *\&* | *\|* | *\\* ) |
| 38116 | ac_sed_conf_input=`printf "%s\n" "$configure_input" | |
| 38117 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
| 38118 | *) ac_sed_conf_input=$configure_input;; |
| 38119 | esac |
| 38120 | |
| 38121 | case $ac_tag in |
| 38122 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
| 38123 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
| 38124 | esac |
| 38125 | ;; |
| 38126 | esac |
| 38127 | |
| 38128 | ac_dir=`$as_dirname -- "$ac_file" || |
| 38129 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 38130 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 38131 | X"$ac_file" : 'X\(//\)$' \| \ |
| 38132 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 38133 | printf "%s\n" X"$ac_file" | |
| 38134 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 38135 | s//\1/ |
| 38136 | q |
| 38137 | } |
| 38138 | /^X\(\/\/\)[^/].*/{ |
| 38139 | s//\1/ |
| 38140 | q |
| 38141 | } |
| 38142 | /^X\(\/\/\)$/{ |
| 38143 | s//\1/ |
| 38144 | q |
| 38145 | } |
| 38146 | /^X\(\/\).*/{ |
| 38147 | s//\1/ |
| 38148 | q |
| 38149 | } |
| 38150 | s/.*/./; q'` |
| 38151 | as_dir="$ac_dir"; as_fn_mkdir_p |
| 38152 | ac_builddir=. |
| 38153 | |
| 38154 | case "$ac_dir" in |
| 38155 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 38156 | *) |
| 38157 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
| 38158 | # A ".." for each directory in $ac_dir_suffix. |
| 38159 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 38160 | case $ac_top_builddir_sub in |
| 38161 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 38162 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 38163 | esac ;; |
| 38164 | esac |
| 38165 | ac_abs_top_builddir=$ac_pwd |
| 38166 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 38167 | # for backward compatibility: |
| 38168 | ac_top_builddir=$ac_top_build_prefix |
| 38169 | |
| 38170 | case $srcdir in |
| 38171 | .) # We are building in place. |
| 38172 | ac_srcdir=. |
| 38173 | ac_top_srcdir=$ac_top_builddir_sub |
| 38174 | ac_abs_top_srcdir=$ac_pwd ;; |
| 38175 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 38176 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 38177 | ac_top_srcdir=$srcdir |
| 38178 | ac_abs_top_srcdir=$srcdir ;; |
| 38179 | *) # Relative name. |
| 38180 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 38181 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 38182 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 38183 | esac |
| 38184 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 38185 | |
| 38186 | |
| 38187 | case $ac_mode in |
| 38188 | :F) |
| 38189 | # |
| 38190 | # CONFIG_FILE |
| 38191 | # |
| 38192 | |
| 38193 | case $INSTALL in |
| 38194 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 38195 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
| 38196 | esac |
| 38197 | ac_MKDIR_P=$MKDIR_P |
| 38198 | case $MKDIR_P in |
| 38199 | [\\/$]* | ?:[\\/]* ) ;; |
| 38200 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
| 38201 | esac |
| 38202 | _ACEOF |
| 38203 | |
| 38204 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 38205 | # If the template does not know about datarootdir, expand it. |
| 38206 | # FIXME: This hack should be removed a few years after 2.60. |
| 38207 | ac_datarootdir_hack=; ac_datarootdir_seen= |
| 38208 | ac_sed_dataroot=' |
| 38209 | /datarootdir/ { |
| 38210 | p |
| 38211 | q |
| 38212 | } |
| 38213 | /@datadir@/p |
| 38214 | /@docdir@/p |
| 38215 | /@infodir@/p |
| 38216 | /@localedir@/p |
| 38217 | /@mandir@/p' |
| 38218 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 38219 | *datarootdir*) ac_datarootdir_seen=yes;; |
| 38220 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 38221 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 38222 | printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 38223 | _ACEOF |
| 38224 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 38225 | ac_datarootdir_hack=' |
| 38226 | s&@datadir@&$datadir&g |
| 38227 | s&@docdir@&$docdir&g |
| 38228 | s&@infodir@&$infodir&g |
| 38229 | s&@localedir@&$localedir&g |
| 38230 | s&@mandir@&$mandir&g |
| 38231 | s&\\\${datarootdir}&$datarootdir&g' ;; |
| 38232 | esac |
| 38233 | _ACEOF |
| 38234 | |
| 38235 | # Neutralize VPATH when `$srcdir' = `.'. |
| 38236 | # Shell code in configure.ac might set extrasub. |
| 38237 | # FIXME: do we really want to maintain this feature? |
| 38238 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 38239 | ac_sed_extra="$ac_vpsub |
| 38240 | $extrasub |
| 38241 | _ACEOF |
| 38242 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 38243 | :t |
| 38244 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 38245 | s|@configure_input@|$ac_sed_conf_input|;t t |
| 38246 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 38247 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
| 38248 | s&@srcdir@&$ac_srcdir&;t t |
| 38249 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 38250 | s&@top_srcdir@&$ac_top_srcdir&;t t |
| 38251 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 38252 | s&@builddir@&$ac_builddir&;t t |
| 38253 | s&@abs_builddir@&$ac_abs_builddir&;t t |
| 38254 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 38255 | s&@INSTALL@&$ac_INSTALL&;t t |
| 38256 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
| 38257 | $ac_datarootdir_hack |
| 38258 | " |
| 38259 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
| 38260 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 38261 | |
| 38262 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 38263 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| 38264 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| 38265 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
| 38266 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 38267 | which seems to be undefined. Please make sure it is defined" >&5 |
| 38268 | printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 38269 | which seems to be undefined. Please make sure it is defined" >&2;} |
| 38270 | |
| 38271 | rm -f "$ac_tmp/stdin" |
| 38272 | case $ac_file in |
| 38273 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
| 38274 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
| 38275 | esac \ |
| 38276 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 38277 | ;; |
| 38278 | :H) |
| 38279 | # |
| 38280 | # CONFIG_HEADER |
| 38281 | # |
| 38282 | if test x"$ac_file" != x-; then |
| 38283 | { |
| 38284 | printf "%s\n" "/* $configure_input */" >&1 \ |
| 38285 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
| 38286 | } >"$ac_tmp/config.h" \ |
| 38287 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 38288 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
| 38289 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 38290 | printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} |
| 38291 | else |
| 38292 | rm -f "$ac_file" |
| 38293 | mv "$ac_tmp/config.h" "$ac_file" \ |
| 38294 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 38295 | fi |
| 38296 | else |
| 38297 | printf "%s\n" "/* $configure_input */" >&1 \ |
| 38298 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
| 38299 | || as_fn_error $? "could not create -" "$LINENO" 5 |
| 38300 | fi |
| 38301 | # Compute "$ac_file"'s index in $config_headers. |
| 38302 | _am_arg="$ac_file" |
| 38303 | _am_stamp_count=1 |
| 38304 | for _am_header in $config_headers :; do |
| 38305 | case $_am_header in |
| 38306 | $_am_arg | $_am_arg:* ) |
| 38307 | break ;; |
| 38308 | * ) |
| 38309 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
| 38310 | esac |
| 38311 | done |
| 38312 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
| 38313 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 38314 | X"$_am_arg" : 'X\(//\)[^/]' \| \ |
| 38315 | X"$_am_arg" : 'X\(//\)$' \| \ |
| 38316 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
| 38317 | printf "%s\n" X"$_am_arg" | |
| 38318 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 38319 | s//\1/ |
| 38320 | q |
| 38321 | } |
| 38322 | /^X\(\/\/\)[^/].*/{ |
| 38323 | s//\1/ |
| 38324 | q |
| 38325 | } |
| 38326 | /^X\(\/\/\)$/{ |
| 38327 | s//\1/ |
| 38328 | q |
| 38329 | } |
| 38330 | /^X\(\/\).*/{ |
| 38331 | s//\1/ |
| 38332 | q |
| 38333 | } |
| 38334 | s/.*/./; q'`/stamp-h$_am_stamp_count |
| 38335 | ;; |
| 38336 | |
| 38337 | :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
| 38338 | printf "%s\n" "$as_me: executing $ac_file commands" >&6;} |
| 38339 | ;; |
| 38340 | esac |
| 38341 | |
| 38342 | |
| 38343 | case $ac_file$ac_mode in |
| 38344 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 38345 | # Older Autoconf quotes --file arguments for eval, but not when files |
| 38346 | # are listed without --file. Let's play safe and only enable the eval |
| 38347 | # if we detect the quoting. |
| 38348 | # TODO: see whether this extra hack can be removed once we start |
| 38349 | # requiring Autoconf 2.70 or later. |
| 38350 | case $CONFIG_FILES in #( |
| 38351 | *\'*) : |
| 38352 | eval set x "$CONFIG_FILES" ;; #( |
| 38353 | *) : |
| 38354 | set x $CONFIG_FILES ;; #( |
| 38355 | *) : |
| 38356 | ;; |
| 38357 | esac |
| 38358 | shift |
| 38359 | # Used to flag and report bootstrapping failures. |
| 38360 | am_rc=0 |
| 38361 | for am_mf |
| 38362 | do |
| 38363 | # Strip MF so we end up with the name of the file. |
| 38364 | am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` |
| 38365 | # Check whether this is an Automake generated Makefile which includes |
| 38366 | # dependency-tracking related rules and includes. |
| 38367 | # Grep'ing the whole file directly is not great: AIX grep has a line |
| 38368 | # limit of 2048, but all sed's we know have understand at least 4000. |
| 38369 | sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ |
| 38370 | || continue |
| 38371 | am_dirpart=`$as_dirname -- "$am_mf" || |
| 38372 | $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 38373 | X"$am_mf" : 'X\(//\)[^/]' \| \ |
| 38374 | X"$am_mf" : 'X\(//\)$' \| \ |
| 38375 | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 38376 | printf "%s\n" X"$am_mf" | |
| 38377 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 38378 | s//\1/ |
| 38379 | q |
| 38380 | } |
| 38381 | /^X\(\/\/\)[^/].*/{ |
| 38382 | s//\1/ |
| 38383 | q |
| 38384 | } |
| 38385 | /^X\(\/\/\)$/{ |
| 38386 | s//\1/ |
| 38387 | q |
| 38388 | } |
| 38389 | /^X\(\/\).*/{ |
| 38390 | s//\1/ |
| 38391 | q |
| 38392 | } |
| 38393 | s/.*/./; q'` |
| 38394 | am_filepart=`$as_basename -- "$am_mf" || |
| 38395 | $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ |
| 38396 | X"$am_mf" : 'X\(//\)$' \| \ |
| 38397 | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 38398 | printf "%s\n" X/"$am_mf" | |
| 38399 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 38400 | s//\1/ |
| 38401 | q |
| 38402 | } |
| 38403 | /^X\/\(\/\/\)$/{ |
| 38404 | s//\1/ |
| 38405 | q |
| 38406 | } |
| 38407 | /^X\/\(\/\).*/{ |
| 38408 | s//\1/ |
| 38409 | q |
| 38410 | } |
| 38411 | s/.*/./; q'` |
| 38412 | { echo "$as_me:$LINENO: cd "$am_dirpart" \ |
| 38413 | && sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 38414 | | $MAKE -f - am--depfiles" >&5 |
| 38415 | (cd "$am_dirpart" \ |
| 38416 | && sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 38417 | | $MAKE -f - am--depfiles) >&5 2>&5 |
| 38418 | ac_status=$? |
| 38419 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 38420 | (exit $ac_status); } || am_rc=$? |
| 38421 | done |
| 38422 | if test $am_rc -ne 0; then |
| 38423 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 38424 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 38425 | as_fn_error $? "Something went wrong bootstrapping makefile fragments |
| 38426 | for automatic dependency tracking. If GNU make was not used, consider |
| 38427 | re-running the configure script with MAKE=\"gmake\" (or whatever is |
| 38428 | necessary). You can also try re-running configure with the |
| 38429 | '--disable-dependency-tracking' option to at least be able to build |
| 38430 | the package (albeit without support for automatic dependency tracking). |
| 38431 | See \`config.log' for more details" "$LINENO" 5; } |
| 38432 | fi |
| 38433 | { am_dirpart=; unset am_dirpart;} |
| 38434 | { am_filepart=; unset am_filepart;} |
| 38435 | { am_mf=; unset am_mf;} |
| 38436 | { am_rc=; unset am_rc;} |
| 38437 | rm -f conftest-deps.mk |
| 38438 | } |
| 38439 | ;; |
| 38440 | "libtool":C) |
| 38441 | |
| 38442 | # See if we are running on zsh, and set the options that allow our |
| 38443 | # commands through without removal of \ escapes. |
| 38444 | if test -n "${ZSH_VERSION+set}"; then |
| 38445 | setopt NO_GLOB_SUBST |
| 38446 | fi |
| 38447 | |
| 38448 | cfgfile=${ofile}T |
| 38449 | trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
| 38450 | $RM "$cfgfile" |
| 38451 | |
| 38452 | cat <<_LT_EOF >> "$cfgfile" |
| 38453 | #! $SHELL |
| 38454 | # Generated automatically by $as_me ($PACKAGE) $VERSION |
| 38455 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. |
| 38456 | |
| 38457 | # Provide generalized library-building support services. |
| 38458 | # Written by Gordon Matzigkeit, 1996 |
| 38459 | |
| 38460 | # Copyright (C) 2014 Free Software Foundation, Inc. |
| 38461 | # This is free software; see the source for copying conditions. There is NO |
| 38462 | # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 38463 | |
| 38464 | # GNU Libtool is free software; you can redistribute it and/or modify |
| 38465 | # it under the terms of the GNU General Public License as published by |
| 38466 | # the Free Software Foundation; either version 2 of of the License, or |
| 38467 | # (at your option) any later version. |
| 38468 | # |
| 38469 | # As a special exception to the GNU General Public License, if you |
| 38470 | # distribute this file as part of a program or library that is built |
| 38471 | # using GNU Libtool, you may include this file under the same |
| 38472 | # distribution terms that you use for the rest of that program. |
| 38473 | # |
| 38474 | # GNU Libtool is distributed in the hope that it will be useful, but |
| 38475 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
| 38476 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 38477 | # GNU General Public License for more details. |
| 38478 | # |
| 38479 | # You should have received a copy of the GNU General Public License |
| 38480 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 38481 | |
| 38482 | |
| 38483 | # The names of the tagged configurations supported by this script. |
| 38484 | available_tags='' |
| 38485 | |
| 38486 | # Configured defaults for sys_lib_dlsearch_path munging. |
| 38487 | : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} |
| 38488 | |
| 38489 | # ### BEGIN LIBTOOL CONFIG |
| 38490 | |
| 38491 | # Whether or not to build static libraries. |
| 38492 | build_old_libs=$enable_static |
| 38493 | |
| 38494 | # Which release of libtool.m4 was used? |
| 38495 | macro_version=$macro_version |
| 38496 | macro_revision=$macro_revision |
| 38497 | |
| 38498 | # Whether or not to build shared libraries. |
| 38499 | build_libtool_libs=$enable_shared |
| 38500 | |
| 38501 | # What type of objects to build. |
| 38502 | pic_mode=$pic_mode |
| 38503 | |
| 38504 | # Whether or not to optimize for fast installation. |
| 38505 | fast_install=$enable_fast_install |
| 38506 | |
| 38507 | # Shared archive member basename,for filename based shared library versioning on AIX. |
| 38508 | shared_archive_member_spec=$shared_archive_member_spec |
| 38509 | |
| 38510 | # Shell to use when invoking shell scripts. |
| 38511 | SHELL=$lt_SHELL |
| 38512 | |
| 38513 | # An echo program that protects backslashes. |
| 38514 | ECHO=$lt_ECHO |
| 38515 | |
| 38516 | # The PATH separator for the build system. |
| 38517 | PATH_SEPARATOR=$lt_PATH_SEPARATOR |
| 38518 | |
| 38519 | # The host system. |
| 38520 | host_alias=$host_alias |
| 38521 | host=$host |
| 38522 | host_os=$host_os |
| 38523 | |
| 38524 | # The build system. |
| 38525 | build_alias=$build_alias |
| 38526 | build=$build |
| 38527 | build_os=$build_os |
| 38528 | |
| 38529 | # A sed program that does not truncate output. |
| 38530 | SED=$lt_SED |
| 38531 | |
| 38532 | # Sed that helps us avoid accidentally triggering echo(1) options like -n. |
| 38533 | Xsed="\$SED -e 1s/^X//" |
| 38534 | |
| 38535 | # A grep program that handles long lines. |
| 38536 | GREP=$lt_GREP |
| 38537 | |
| 38538 | # An ERE matcher. |
| 38539 | EGREP=$lt_EGREP |
| 38540 | |
| 38541 | # A literal string matcher. |
| 38542 | FGREP=$lt_FGREP |
| 38543 | |
| 38544 | # A BSD- or MS-compatible name lister. |
| 38545 | NM=$lt_NM |
| 38546 | |
| 38547 | # Whether we need soft or hard links. |
| 38548 | LN_S=$lt_LN_S |
| 38549 | |
| 38550 | # What is the maximum length of a command? |
| 38551 | max_cmd_len=$max_cmd_len |
| 38552 | |
| 38553 | # Object file suffix (normally "o"). |
| 38554 | objext=$ac_objext |
| 38555 | |
| 38556 | # Executable file suffix (normally ""). |
| 38557 | exeext=$exeext |
| 38558 | |
| 38559 | # whether the shell understands "unset". |
| 38560 | lt_unset=$lt_unset |
| 38561 | |
| 38562 | # turn spaces into newlines. |
| 38563 | SP2NL=$lt_lt_SP2NL |
| 38564 | |
| 38565 | # turn newlines into spaces. |
| 38566 | NL2SP=$lt_lt_NL2SP |
| 38567 | |
| 38568 | # convert \$build file names to \$host format. |
| 38569 | to_host_file_cmd=$lt_cv_to_host_file_cmd |
| 38570 | |
| 38571 | # convert \$build files to toolchain format. |
| 38572 | to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 38573 | |
| 38574 | # A file(cmd) program that detects file types. |
| 38575 | FILECMD=$lt_FILECMD |
| 38576 | |
| 38577 | # An object symbol dumper. |
| 38578 | OBJDUMP=$lt_OBJDUMP |
| 38579 | |
| 38580 | # Method to check whether dependent libraries are shared objects. |
| 38581 | deplibs_check_method=$lt_deplibs_check_method |
| 38582 | |
| 38583 | # Command to use when deplibs_check_method = "file_magic". |
| 38584 | file_magic_cmd=$lt_file_magic_cmd |
| 38585 | |
| 38586 | # How to find potential files when deplibs_check_method = "file_magic". |
| 38587 | file_magic_glob=$lt_file_magic_glob |
| 38588 | |
| 38589 | # Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
| 38590 | want_nocaseglob=$lt_want_nocaseglob |
| 38591 | |
| 38592 | # DLL creation program. |
| 38593 | DLLTOOL=$lt_DLLTOOL |
| 38594 | |
| 38595 | # Command to associate shared and link libraries. |
| 38596 | sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
| 38597 | |
| 38598 | # The archiver. |
| 38599 | AR=$lt_AR |
| 38600 | |
| 38601 | # Flags to create an archive (by configure). |
| 38602 | lt_ar_flags=$lt_ar_flags |
| 38603 | |
| 38604 | # Flags to create an archive. |
| 38605 | AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"} |
| 38606 | |
| 38607 | # How to feed a file listing to the archiver. |
| 38608 | archiver_list_spec=$lt_archiver_list_spec |
| 38609 | |
| 38610 | # A symbol stripping program. |
| 38611 | STRIP=$lt_STRIP |
| 38612 | |
| 38613 | # Commands used to install an old-style archive. |
| 38614 | RANLIB=$lt_RANLIB |
| 38615 | old_postinstall_cmds=$lt_old_postinstall_cmds |
| 38616 | old_postuninstall_cmds=$lt_old_postuninstall_cmds |
| 38617 | |
| 38618 | # Whether to use a lock for old archive extraction. |
| 38619 | lock_old_archive_extraction=$lock_old_archive_extraction |
| 38620 | |
| 38621 | # A C compiler. |
| 38622 | LTCC=$lt_CC |
| 38623 | |
| 38624 | # LTCC compiler flags. |
| 38625 | LTCFLAGS=$lt_CFLAGS |
| 38626 | |
| 38627 | # Take the output of nm and produce a listing of raw symbols and C names. |
| 38628 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
| 38629 | |
| 38630 | # Transform the output of nm in a proper C declaration. |
| 38631 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
| 38632 | |
| 38633 | # Transform the output of nm into a list of symbols to manually relocate. |
| 38634 | global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import |
| 38635 | |
| 38636 | # Transform the output of nm in a C name address pair. |
| 38637 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
| 38638 | |
| 38639 | # Transform the output of nm in a C name address pair when lib prefix is needed. |
| 38640 | global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
| 38641 | |
| 38642 | # The name lister interface. |
| 38643 | nm_interface=$lt_lt_cv_nm_interface |
| 38644 | |
| 38645 | # Specify filename containing input files for \$NM. |
| 38646 | nm_file_list_spec=$lt_nm_file_list_spec |
| 38647 | |
| 38648 | # The root where to search for dependent libraries,and where our libraries should be installed. |
| 38649 | lt_sysroot=$lt_sysroot |
| 38650 | |
| 38651 | # Command to truncate a binary pipe. |
| 38652 | lt_truncate_bin=$lt_lt_cv_truncate_bin |
| 38653 | |
| 38654 | # The name of the directory that contains temporary libtool files. |
| 38655 | objdir=$objdir |
| 38656 | |
| 38657 | # Used to examine libraries when file_magic_cmd begins with "file". |
| 38658 | MAGIC_CMD=$MAGIC_CMD |
| 38659 | |
| 38660 | # Must we lock files when doing compilation? |
| 38661 | need_locks=$lt_need_locks |
| 38662 | |
| 38663 | # Manifest tool. |
| 38664 | MANIFEST_TOOL=$lt_MANIFEST_TOOL |
| 38665 | |
| 38666 | # Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
| 38667 | DSYMUTIL=$lt_DSYMUTIL |
| 38668 | |
| 38669 | # Tool to change global to local symbols on Mac OS X. |
| 38670 | NMEDIT=$lt_NMEDIT |
| 38671 | |
| 38672 | # Tool to manipulate fat objects and archives on Mac OS X. |
| 38673 | LIPO=$lt_LIPO |
| 38674 | |
| 38675 | # ldd/readelf like tool for Mach-O binaries on Mac OS X. |
| 38676 | OTOOL=$lt_OTOOL |
| 38677 | |
| 38678 | # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. |
| 38679 | OTOOL64=$lt_OTOOL64 |
| 38680 | |
| 38681 | # Old archive suffix (normally "a"). |
| 38682 | libext=$libext |
| 38683 | |
| 38684 | # Shared library suffix (normally ".so"). |
| 38685 | shrext_cmds=$lt_shrext_cmds |
| 38686 | |
| 38687 | # The commands to extract the exported symbol list from a shared archive. |
| 38688 | extract_expsyms_cmds=$lt_extract_expsyms_cmds |
| 38689 | |
| 38690 | # Variables whose values should be saved in libtool wrapper scripts and |
| 38691 | # restored at link time. |
| 38692 | variables_saved_for_relink=$lt_variables_saved_for_relink |
| 38693 | |
| 38694 | # Do we need the "lib" prefix for modules? |
| 38695 | need_lib_prefix=$need_lib_prefix |
| 38696 | |
| 38697 | # Do we need a version for libraries? |
| 38698 | need_version=$need_version |
| 38699 | |
| 38700 | # Library versioning type. |
| 38701 | version_type=$version_type |
| 38702 | |
| 38703 | # Shared library runtime path variable. |
| 38704 | runpath_var=$runpath_var |
| 38705 | |
| 38706 | # Shared library path variable. |
| 38707 | shlibpath_var=$shlibpath_var |
| 38708 | |
| 38709 | # Is shlibpath searched before the hard-coded library search path? |
| 38710 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
| 38711 | |
| 38712 | # Format of library name prefix. |
| 38713 | libname_spec=$lt_libname_spec |
| 38714 | |
| 38715 | # List of archive names. First name is the real one, the rest are links. |
| 38716 | # The last name is the one that the linker finds with -lNAME |
| 38717 | library_names_spec=$lt_library_names_spec |
| 38718 | |
| 38719 | # The coded name of the library, if different from the real name. |
| 38720 | soname_spec=$lt_soname_spec |
| 38721 | |
| 38722 | # Permission mode override for installation of shared libraries. |
| 38723 | install_override_mode=$lt_install_override_mode |
| 38724 | |
| 38725 | # Command to use after installation of a shared archive. |
| 38726 | postinstall_cmds=$lt_postinstall_cmds |
| 38727 | |
| 38728 | # Command to use after uninstallation of a shared archive. |
| 38729 | postuninstall_cmds=$lt_postuninstall_cmds |
| 38730 | |
| 38731 | # Commands used to finish a libtool library installation in a directory. |
| 38732 | finish_cmds=$lt_finish_cmds |
| 38733 | |
| 38734 | # As "finish_cmds", except a single script fragment to be evaled but |
| 38735 | # not shown. |
| 38736 | finish_eval=$lt_finish_eval |
| 38737 | |
| 38738 | # Whether we should hardcode library paths into libraries. |
| 38739 | hardcode_into_libs=$hardcode_into_libs |
| 38740 | |
| 38741 | # Compile-time system search path for libraries. |
| 38742 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
| 38743 | |
| 38744 | # Detected run-time system search path for libraries. |
| 38745 | sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path |
| 38746 | |
| 38747 | # Explicit LT_SYS_LIBRARY_PATH set during ./configure time. |
| 38748 | configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path |
| 38749 | |
| 38750 | # Whether dlopen is supported. |
| 38751 | dlopen_support=$enable_dlopen |
| 38752 | |
| 38753 | # Whether dlopen of programs is supported. |
| 38754 | dlopen_self=$enable_dlopen_self |
| 38755 | |
| 38756 | # Whether dlopen of statically linked programs is supported. |
| 38757 | dlopen_self_static=$enable_dlopen_self_static |
| 38758 | |
| 38759 | # Commands to strip libraries. |
| 38760 | old_striplib=$lt_old_striplib |
| 38761 | striplib=$lt_striplib |
| 38762 | |
| 38763 | |
| 38764 | # The linker used to build libraries. |
| 38765 | LD=$lt_LD |
| 38766 | |
| 38767 | # How to create reloadable object files. |
| 38768 | reload_flag=$lt_reload_flag |
| 38769 | reload_cmds=$lt_reload_cmds |
| 38770 | |
| 38771 | # Commands used to build an old-style archive. |
| 38772 | old_archive_cmds=$lt_old_archive_cmds |
| 38773 | |
| 38774 | # A language specific compiler. |
| 38775 | CC=$lt_compiler |
| 38776 | |
| 38777 | # Is the compiler the GNU compiler? |
| 38778 | with_gcc=$GCC |
| 38779 | |
| 38780 | # Compiler flag to turn off builtin functions. |
| 38781 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
| 38782 | |
| 38783 | # Additional compiler flags for building library objects. |
| 38784 | pic_flag=$lt_lt_prog_compiler_pic |
| 38785 | |
| 38786 | # How to pass a linker flag through the compiler. |
| 38787 | wl=$lt_lt_prog_compiler_wl |
| 38788 | |
| 38789 | # Compiler flag to prevent dynamic linking. |
| 38790 | link_static_flag=$lt_lt_prog_compiler_static |
| 38791 | |
| 38792 | # Does compiler simultaneously support -c and -o options? |
| 38793 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
| 38794 | |
| 38795 | # Whether or not to add -lc for building shared libraries. |
| 38796 | build_libtool_need_lc=$archive_cmds_need_lc |
| 38797 | |
| 38798 | # Whether or not to disallow shared libs when runtime libs are static. |
| 38799 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
| 38800 | |
| 38801 | # Compiler flag to allow reflexive dlopens. |
| 38802 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
| 38803 | |
| 38804 | # Compiler flag to generate shared objects directly from archives. |
| 38805 | whole_archive_flag_spec=$lt_whole_archive_flag_spec |
| 38806 | |
| 38807 | # Whether the compiler copes with passing no objects directly. |
| 38808 | compiler_needs_object=$lt_compiler_needs_object |
| 38809 | |
| 38810 | # Create an old-style archive from a shared archive. |
| 38811 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
| 38812 | |
| 38813 | # Create a temporary old-style archive to link instead of a shared archive. |
| 38814 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
| 38815 | |
| 38816 | # Commands used to build a shared archive. |
| 38817 | archive_cmds=$lt_archive_cmds |
| 38818 | archive_expsym_cmds=$lt_archive_expsym_cmds |
| 38819 | |
| 38820 | # Commands used to build a loadable module if different from building |
| 38821 | # a shared archive. |
| 38822 | module_cmds=$lt_module_cmds |
| 38823 | module_expsym_cmds=$lt_module_expsym_cmds |
| 38824 | |
| 38825 | # Whether we are building with GNU ld or not. |
| 38826 | with_gnu_ld=$lt_with_gnu_ld |
| 38827 | |
| 38828 | # Flag that allows shared libraries with undefined symbols to be built. |
| 38829 | allow_undefined_flag=$lt_allow_undefined_flag |
| 38830 | |
| 38831 | # Flag that enforces no undefined symbols. |
| 38832 | no_undefined_flag=$lt_no_undefined_flag |
| 38833 | |
| 38834 | # Flag to hardcode \$libdir into a binary during linking. |
| 38835 | # This must work even if \$libdir does not exist |
| 38836 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
| 38837 | |
| 38838 | # Whether we need a single "-rpath" flag with a separated argument. |
| 38839 | hardcode_libdir_separator=$lt_hardcode_libdir_separator |
| 38840 | |
| 38841 | # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
| 38842 | # DIR into the resulting binary. |
| 38843 | hardcode_direct=$hardcode_direct |
| 38844 | |
| 38845 | # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
| 38846 | # DIR into the resulting binary and the resulting library dependency is |
| 38847 | # "absolute",i.e impossible to change by setting \$shlibpath_var if the |
| 38848 | # library is relocated. |
| 38849 | hardcode_direct_absolute=$hardcode_direct_absolute |
| 38850 | |
| 38851 | # Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
| 38852 | # into the resulting binary. |
| 38853 | hardcode_minus_L=$hardcode_minus_L |
| 38854 | |
| 38855 | # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
| 38856 | # into the resulting binary. |
| 38857 | hardcode_shlibpath_var=$hardcode_shlibpath_var |
| 38858 | |
| 38859 | # Set to "yes" if building a shared library automatically hardcodes DIR |
| 38860 | # into the library and all subsequent libraries and executables linked |
| 38861 | # against it. |
| 38862 | hardcode_automatic=$hardcode_automatic |
| 38863 | |
| 38864 | # Set to yes if linker adds runtime paths of dependent libraries |
| 38865 | # to runtime path list. |
| 38866 | inherit_rpath=$inherit_rpath |
| 38867 | |
| 38868 | # Whether libtool must link a program against all its dependency libraries. |
| 38869 | link_all_deplibs=$link_all_deplibs |
| 38870 | |
| 38871 | # Set to "yes" if exported symbols are required. |
| 38872 | always_export_symbols=$always_export_symbols |
| 38873 | |
| 38874 | # The commands to list exported symbols. |
| 38875 | export_symbols_cmds=$lt_export_symbols_cmds |
| 38876 | |
| 38877 | # Symbols that should not be listed in the preloaded symbols. |
| 38878 | exclude_expsyms=$lt_exclude_expsyms |
| 38879 | |
| 38880 | # Symbols that must always be exported. |
| 38881 | include_expsyms=$lt_include_expsyms |
| 38882 | |
| 38883 | # Commands necessary for linking programs (against libraries) with templates. |
| 38884 | prelink_cmds=$lt_prelink_cmds |
| 38885 | |
| 38886 | # Commands necessary for finishing linking programs. |
| 38887 | postlink_cmds=$lt_postlink_cmds |
| 38888 | |
| 38889 | # Specify filename containing input files. |
| 38890 | file_list_spec=$lt_file_list_spec |
| 38891 | |
| 38892 | # How to hardcode a shared library path into an executable. |
| 38893 | hardcode_action=$hardcode_action |
| 38894 | |
| 38895 | # ### END LIBTOOL CONFIG |
| 38896 | |
| 38897 | _LT_EOF |
| 38898 | |
| 38899 | cat <<'_LT_EOF' >> "$cfgfile" |
| 38900 | |
| 38901 | # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE |
| 38902 | |
| 38903 | # func_munge_path_list VARIABLE PATH |
| 38904 | # ----------------------------------- |
| 38905 | # VARIABLE is name of variable containing _space_ separated list of |
| 38906 | # directories to be munged by the contents of PATH, which is string |
| 38907 | # having a format: |
| 38908 | # "DIR[:DIR]:" |
| 38909 | # string "DIR[ DIR]" will be prepended to VARIABLE |
| 38910 | # ":DIR[:DIR]" |
| 38911 | # string "DIR[ DIR]" will be appended to VARIABLE |
| 38912 | # "DIRP[:DIRP]::[DIRA:]DIRA" |
| 38913 | # string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 38914 | # "DIRA[ DIRA]" will be appended to VARIABLE |
| 38915 | # "DIR[:DIR]" |
| 38916 | # VARIABLE will be replaced by "DIR[ DIR]" |
| 38917 | func_munge_path_list () |
| 38918 | { |
| 38919 | case x$2 in |
| 38920 | x) |
| 38921 | ;; |
| 38922 | *:) |
| 38923 | eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 38924 | ;; |
| 38925 | x:*) |
| 38926 | eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 38927 | ;; |
| 38928 | *::*) |
| 38929 | eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 38930 | eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 38931 | ;; |
| 38932 | *) |
| 38933 | eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 38934 | ;; |
| 38935 | esac |
| 38936 | } |
| 38937 | |
| 38938 | |
| 38939 | # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 38940 | func_cc_basename () |
| 38941 | { |
| 38942 | for cc_temp in $*""; do |
| 38943 | case $cc_temp in |
| 38944 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 38945 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 38946 | \-*) ;; |
| 38947 | *) break;; |
| 38948 | esac |
| 38949 | done |
| 38950 | func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 38951 | } |
| 38952 | |
| 38953 | |
| 38954 | # ### END FUNCTIONS SHARED WITH CONFIGURE |
| 38955 | |
| 38956 | _LT_EOF |
| 38957 | |
| 38958 | case $host_os in |
| 38959 | aix3*) |
| 38960 | cat <<\_LT_EOF >> "$cfgfile" |
| 38961 | # AIX sometimes has problems with the GCC collect2 program. For some |
| 38962 | # reason, if we set the COLLECT_NAMES environment variable, the problems |
| 38963 | # vanish in a puff of smoke. |
| 38964 | if test set != "${COLLECT_NAMES+set}"; then |
| 38965 | COLLECT_NAMES= |
| 38966 | export COLLECT_NAMES |
| 38967 | fi |
| 38968 | _LT_EOF |
| 38969 | ;; |
| 38970 | esac |
| 38971 | |
| 38972 | |
| 38973 | |
| 38974 | ltmain=$ac_aux_dir/ltmain.sh |
| 38975 | |
| 38976 | |
| 38977 | # We use sed instead of cat because bash on DJGPP gets confused if |
| 38978 | # if finds mixed CR/LF and LF-only lines. Since sed operates in |
| 38979 | # text mode, it properly converts lines to CR/LF. This bash problem |
| 38980 | # is reportedly fixed, but why not run on old versions too? |
| 38981 | $SED '$q' "$ltmain" >> "$cfgfile" \ |
| 38982 | || (rm -f "$cfgfile"; exit 1) |
| 38983 | |
| 38984 | mv -f "$cfgfile" "$ofile" || |
| 38985 | (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
| 38986 | chmod +x "$ofile" |
| 38987 | |
| 38988 | ;; |
| 38989 | |
| 38990 | esac |
| 38991 | done # for ac_tag |
| 38992 | |
| 38993 | |
| 38994 | as_fn_exit 0 |
| 38995 | _ACEOF |
| 38996 | ac_clean_files=$ac_clean_files_save |
| 38997 | |
| 38998 | testscip-shell system . . test. $ac_write_fail = 0 || |
| 38999 | as_fn_errorscip-shell shell rsyslog 8.2604.0-4 as_fn_error(). $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 39000 | |
| 39001 | |
| 39002 | # configure is writing to config.log, and then calls config.status. |
| 39003 | # config.status does its own redirection, appending to config.log. |
| 39004 | # Unfortunately, on DOS this fails, as config.log is still kept open |
| 39005 | # by configure, so config.status won't be able to write to it; its |
| 39006 | # output is simply discarded. So we exec the FD to /dev/null, |
| 39007 | # effectively closing config.log, so it can be properly (re)opened and |
| 39008 | # appended to by config.status. When coming back to configure, we |
| 39009 | # need to make the FD available again. |
| 39010 | if testscip-shell system . . test. "$no_create" != yes; then |
| 39011 | ac_cs_success=: |
| 39012 | ac_config_status_args= |
| 39013 | testscip-shell system . . test. "$silent" = yes && |
| 39014 | ac_config_status_args="$ac_config_status_args --quiet" |
| 39015 | exec 5>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 39016 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
| 39017 | exec 5>>config.log |
| 39018 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 39019 | # would make configure fail if this is the last instruction. |
| 39020 | $ac_cs_success || as_fn_exitscip-shell shell rsyslog 8.2604.0-4 as_fn_exit(). 1 |
| 39021 | fi |
| 39022 | if testscip-shell system . . test. -n "$ac_unrecognized_opts" && testscip-shell system . . test. "$enable_option_checking" != no; then |
| 39023 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 39024 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 39025 | fi |
| 39026 | |
| 39027 | |
| 39028 | echoscip-shell system . . echo. "****************************************************" |
| 39029 | echoscip-shell system . . echo. "rsyslog will be compiled with the following settings:" |
| 39030 | echoscip-shell system . . echo. |
| 39031 | echoscip-shell system . . echo. " Large file support enabled: $enable_largefile" |
| 39032 | echoscip-shell system . . echo. " Networking support enabled: $enable_inet" |
| 39033 | echoscip-shell system . . echo. " Regular expressions support enabled: $enable_regexp" |
| 39034 | echoscip-shell system . . echo. " rsyslog runtime will be built: $enable_rsyslogrt" |
| 39035 | echoscip-shell system . . echo. " rsyslogd will be built: $enable_rsyslogd" |
| 39036 | echoscip-shell system . . echo. " have to generate man pages: $have_to_generate_man_pages" |
| 39037 | echoscip-shell system . . echo. " Unlimited select() support enabled: $enable_unlimited_select" |
| 39038 | echoscip-shell system . . echo. " uuid support enabled: $enable_uuid" |
| 39039 | echoscip-shell system . . echo. " Log file signing support via KSI LS12: $enable_ksi_ls12" |
| 39040 | echoscip-shell system . . echo. " Log file gcry encryption support: $enable_libgcrypt" |
| 39041 | echoscip-shell system . . echo. " Log file ossl encryption support: $enable_openssl_crypto_provider" |
| 39042 | echoscip-shell system . . echo. " Log file compression via zstd support: $enable_libzstd" |
| 39043 | echoscip-shell system . . echo. " anonymization support enabled: $enable_mmanon" |
| 39044 | echoscip-shell system . . echo. " message counting support enabled: $enable_mmcount" |
| 39045 | echoscip-shell system . . echo. " liblogging-stdlog support enabled: $enable_liblogging_stdlog" |
| 39046 | echoscip-shell system . . echo. " libsystemd enabled: $enable_libsystemd" |
| 39047 | echoscip-shell system . . echo. " kafka static linking enabled: $enable_kafka_static" |
| 39048 | echoscip-shell system . . echo. " qpid proton static linking enabled: $enable_qpidproton_static" |
| 39049 | echoscip-shell system . . echo. " atomic operations enabled: $enable_atomic_operations" |
| 39050 | echoscip-shell system . . echo. " libcap-ng support enabled: $enable_libcapng" |
| 39051 | |
| 39052 | echoscip-shell system . . echo. |
| 39053 | echoscip-shell system . . echo. "---{ input plugins }---" |
| 39054 | if testscip-shell system . . test. "$unamestr" != "AIX"; then |
| 39055 | echoscip-shell system . . echo. " Klog functionality enabled: $enable_klog ($os_type)" |
| 39056 | fi |
| 39057 | echoscip-shell system . . echo. " /dev/kmsg functionality enabled: $enable_kmsg" |
| 39058 | echoscip-shell system . . echo. " tcp input module epoll permitted: $enable_imtcp_epoll" |
| 39059 | echoscip-shell system . . echo. " plain tcp input module enabled: $enable_imptcp" |
| 39060 | echoscip-shell system . . echo. " DTLS udp input module enabled: $enable_imdtls" |
| 39061 | echoscip-shell system . . echo. " imdiag enabled: $enable_imdiag" |
| 39062 | echoscip-shell system . . echo. " file input module enabled: $enable_imfile" |
| 39063 | echoscip-shell system . . echo. " docker log input module enabled: $enable_imdocker" |
| 39064 | echoscip-shell system . . echo. " Solaris input module enabled: $enable_imsolaris" |
| 39065 | echoscip-shell system . . echo. " periodic statistics module enabled: $enable_impstats" |
| 39066 | echoscip-shell system . . echo. " imczmq input module enabled: $enable_imczmq" |
| 39067 | echoscip-shell system . . echo. " imjournal input module enabled: $enable_imjournal" |
| 39068 | if testscip-shell system . . test. "$enable_imjournal" = "optional"; then |
| 39069 | echoscip-shell system . . echo. " imjournal use dummy: $imjournal_use_dummy" |
| 39070 | fi |
| 39071 | echoscip-shell system . . echo. " imbatchreport input module enabled: $enable_imbatchreport" |
| 39072 | echoscip-shell system . . echo. " imkafka module will be compiled: $enable_imkafka" |
| 39073 | if testscip-shell system . . test. "$enable_imkafka" = "optional"; then |
| 39074 | echoscip-shell system . . echo. " imkafka use dummy: $imkafka_use_dummy" |
| 39075 | fi |
| 39076 | echoscip-shell system . . echo. " impcap input module enabled: $enable_impcap" |
| 39077 | echoscip-shell system . . echo. " imtuxedoulog module will be compiled: $enable_imtuxedoulog" |
| 39078 | echoscip-shell system . . echo. " improg input module enabled: $enable_improg" |
| 39079 | echoscip-shell system . . echo. " imhttp input module enabled: $enable_imhttp" |
| 39080 | echoscip-shell system . . echo. " imhiredis input module enabled: $enable_imhiredis" |
| 39081 | echoscip-shell system . . echo. |
| 39082 | echoscip-shell system . . echo. "---{ output plugins }---" |
| 39083 | echoscip-shell system . . echo. " Mail support enabled: $enable_mail" |
| 39084 | echoscip-shell system . . echo. " omfile-hardened module will be compiled: $enable_omfile_hardened" |
| 39085 | echoscip-shell system . . echo. " omprog module will be compiled: $enable_omprog" |
| 39086 | echoscip-shell system . . echo. " omstdout module will be compiled: $enable_omstdout" |
| 39087 | echoscip-shell system . . echo. " omsendertrack module will be compiled: $enable_omsendertrack" |
| 39088 | echoscip-shell system . . echo. " omjournal module will be compiled: $enable_omjournal" |
| 39089 | echoscip-shell system . . echo. " omhdfs module will be compiled: $enable_omhdfs" |
| 39090 | echoscip-shell system . . echo. " omotel module will be compiled: $enable_omotel" |
| 39091 | echoscip-shell system . . echo. " omelasticsearch module will be compiled: $enable_elasticsearch" |
| 39092 | echoscip-shell system . . echo. " omclickhouse module will be compiled: $enable_clickhouse" |
| 39093 | echoscip-shell system . . echo. " omhttp module will be compiled: $enable_omhttp" |
| 39094 | echoscip-shell system . . echo. " omruleset module will be compiled: $enable_omruleset" |
| 39095 | echoscip-shell system . . echo. " omudpspoof module will be compiled: $enable_omudpspoof" |
| 39096 | echoscip-shell system . . echo. " omuxsock module will be compiled: $enable_omuxsock" |
| 39097 | echoscip-shell system . . echo. " omczmq module will be compiled: $enable_omczmq" |
| 39098 | echoscip-shell system . . echo. " omrabbitmq module will be compiled: $enable_omrabbitmq" |
| 39099 | echoscip-shell system . . echo. " omhttpfs module will be compiled: $enable_omhttpfs" |
| 39100 | echoscip-shell system . . echo. " omamqp1 module will be compiled: $enable_omamqp1" |
| 39101 | echoscip-shell system . . echo. " omtcl module will be compiled: $enable_omtcl" |
| 39102 | echoscip-shell system . . echo. " omkafka module will be compiled: $enable_omkafka" |
| 39103 | echoscip-shell system . . echo. " omhiredis module will be compiled: $enable_omhiredis" |
| 39104 | echoscip-shell system . . echo. " omazureeventhubs module will be compiled: $enable_omazureeventhubs" |
| 39105 | echoscip-shell system . . echo. " omazuredce module will be compiled: $enable_omazuredce" |
| 39106 | echoscip-shell system . . echo. " omdtls module will be compiled: $enable_omdtls" |
| 39107 | echoscip-shell system . . echo. |
| 39108 | echoscip-shell system . . echo. "---{ parser modules }---" |
| 39109 | echoscip-shell system . . echo. " pmlastmsg module will be compiled: $enable_pmlastmsg" |
| 39110 | echoscip-shell system . . echo. " pmcisconames module will be compiled: $enable_pmcisconames" |
| 39111 | echoscip-shell system . . echo. " pmciscoios module will be compiled: $enable_pmciscoios" |
| 39112 | echoscip-shell system . . echo. " pmnull module will be compiled: $enable_pmnull" |
| 39113 | echoscip-shell system . . echo. " pmnormalize module will be compiled: $enable_pmnormalize" |
| 39114 | echoscip-shell system . . echo. " pmaixforwardedfrom module w.be compiled: $enable_pmaixforwardedfrom" |
| 39115 | echoscip-shell system . . echo. " pmsnare module will be compiled: $enable_pmsnare" |
| 39116 | echoscip-shell system . . echo. " pmdb2diag module will be compiled: $enable_pmdb2diag" |
| 39117 | echoscip-shell system . . echo. " pmpanngfw module will be compiled: $enable_pmpanngfw" |
| 39118 | echoscip-shell system . . echo. |
| 39119 | echoscip-shell system . . echo. "---{ message modification modules }---" |
| 39120 | echoscip-shell system . . echo. " mmnormalize module will be compiled: $enable_mmnormalize" |
| 39121 | echoscip-shell system . . echo. " mmjsonparse module will be compiled: $enable_mmjsonparse" |
| 39122 | echoscip-shell system . . echo. " mmjsontransform module will be compiled: $enable_mmjsontransform" |
| 39123 | echoscip-shell system . . echo. " mmleefparse module will be compiled: $enable_mmleefparse" |
| 39124 | echoscip-shell system . . echo. " mmgrok module will be compiled: $enable_mmgrok" |
| 39125 | echoscip-shell system . . echo. " mmjaduit module will be compiled: $enable_mmaudit" |
| 39126 | echoscip-shell system . . echo. " mmsnmptrapd module will be compiled: $enable_mmsnmptrapd" |
| 39127 | echoscip-shell system . . echo. " mmutf8fix enabled: $enable_mmutf8fix" |
| 39128 | echoscip-shell system . . echo. " mmrfc5424addhmac enabled: $enable_mmrfc5424addhmac" |
| 39129 | echoscip-shell system . . echo. " mmsnareparse enabled: $enable_mmsnareparse" |
| 39130 | echoscip-shell system . . echo. " mmpstrucdata enabled: $enable_mmpstrucdata" |
| 39131 | echoscip-shell system . . echo. " mmsequence enabled: $enable_mmsequence" |
| 39132 | echoscip-shell system . . echo. " mmdblookup enabled: $enable_mmdblookup" |
| 39133 | echoscip-shell system . . echo. " mmdarwin enabled: $enable_mmdarwin" |
| 39134 | echoscip-shell system . . echo. " mmfields enabled: $enable_mmfields" |
| 39135 | echoscip-shell system . . echo. " mmrm1stspace module enabled: $enable_mmrm1stspace" |
| 39136 | echoscip-shell system . . echo. " mmkubernetes enabled: $enable_mmkubernetes" |
| 39137 | echoscip-shell system . . echo. " mmaitag enabled: $enable_mmaitag" |
| 39138 | echoscip-shell system . . echo. " mmtaghostname enabled: $enable_mmtaghostname" |
| 39139 | echoscip-shell system . . echo. |
| 39140 | echoscip-shell system . . echo. "---{ database support }---" |
| 39141 | echoscip-shell system . . echo. " MySql support enabled: $enable_mysql" |
| 39142 | echoscip-shell system . . echo. " libdbi support enabled: $enable_libdbi" |
| 39143 | if testscip-shell system . . test. "$enable_libdbi" = "optional"; then |
| 39144 | echoscip-shell system . . echo. " libdbi use dummy: $libdbi_use_dummy" |
| 39145 | fi |
| 39146 | echoscip-shell system . . echo. " PostgreSQL support enabled: $enable_pgsql" |
| 39147 | echoscip-shell system . . echo. " mongodb support enabled: $enable_ommongodb" |
| 39148 | echoscip-shell system . . echo. " hiredis support enabled: $enable_omhiredis" |
| 39149 | echoscip-shell system . . echo. |
| 39150 | echoscip-shell system . . echo. "---{ protocol support }---" |
| 39151 | echoscip-shell system . . echo. " openssl network stream driver enabled: $enable_openssl" |
| 39152 | echoscip-shell system . . echo. " wolfssl network stream driver enabled: $enable_wolfssl" |
| 39153 | echoscip-shell system . . echo. " GnuTLS network stream driver enabled: $enable_gnutls" |
| 39154 | echoscip-shell system . . echo. " Mbed TLS network stream driver enabled: $enable_mbedtls" |
| 39155 | echoscip-shell system . . echo. " GSSAPI Kerberos 5 support enabled: $enable_gssapi_krb5" |
| 39156 | echoscip-shell system . . echo. " RELP support enabled: $enable_relp" |
| 39157 | echoscip-shell system . . echo. " SNMP support enabled: $enable_snmp" |
| 39158 | echoscip-shell system . . echo. " redis ssl support enabled: $enable_redis_ssl" |
| 39159 | echoscip-shell system . . echo. |
| 39160 | echoscip-shell system . . echo. "---{ function modules }---" |
| 39161 | echoscip-shell system . . echo. " fmhttp enabled: $enable_fmhttp" |
| 39162 | echoscip-shell system . . echo. " fmhash enabled: $enable_fmhash" |
| 39163 | echoscip-shell system . . echo. " fmhash with xxhash enabled: $enable_fmhash_xxhash" |
| 39164 | echoscip-shell system . . echo. " fmunflatten enabled: $enable_fmunflatten" |
| 39165 | echoscip-shell system . . echo. " fmpcre enabled: $enable_fmpcre" |
| 39166 | echoscip-shell system . . echo. " ffaup enabled: $enable_ffaup" |
| 39167 | echoscip-shell system . . echo. |
| 39168 | echoscip-shell system . . echo. "---{ debugging support }---" |
| 39169 | echoscip-shell system . . echo. " distcheck workaround enabled: $enable_distcheck_workaround" |
| 39170 | echoscip-shell system . . echo. " Testbench enabled: $enable_testbench" |
| 39171 | echoscip-shell system . . echo. " valgrind tests enabled: $with_valgrind_testbench" |
| 39172 | echoscip-shell system . . echo. " valgrind helgrind tests enabled: $enable_helgrind" |
| 39173 | echoscip-shell system . . echo. " Default tests enabled: $enable_default_tests" |
| 39174 | echoscip-shell system . . echo. " Testbench libfaketime tests enabled: $enable_libfaketime" |
| 39175 | echoscip-shell system . . echo. " Extended Testbench enabled: $enable_extended_tests" |
| 39176 | echoscip-shell system . . echo. " MySQL Tests enabled: $enable_mysql_tests" |
| 39177 | echoscip-shell system . . echo. " Elasticsearch Tests: $enable_elasticsearch_tests" |
| 39178 | echoscip-shell system . . echo. " ClickHouse Tests: $enable_clickhouse_tests" |
| 39179 | echoscip-shell system . . echo. " PostgreSQL Tests enabled: $enable_pgsql_tests" |
| 39180 | echoscip-shell system . . echo. " Kafka Tests enabled: $enable_kafka_tests" |
| 39181 | echoscip-shell system . . echo. " Redis Tests enabled: $enable_redis_tests" |
| 39182 | echoscip-shell system . . echo. " Omazureeventhubs Tests enabled: $enable_omazureeventhubs_tests" |
| 39183 | echoscip-shell system . . echo. " Omazuredce Tests enabled: $enable_omazuredce_tests" |
| 39184 | echoscip-shell system . . echo. " Imdocker Tests enabled: $enable_imdocker_tests" |
| 39185 | echoscip-shell system . . echo. " imtcp tests enabled: $enable_imtcp_tests" |
| 39186 | echoscip-shell system . . echo. " gnutls tests enabled: $enable_gnutls_tests" |
| 39187 | echoscip-shell system . . echo. " imfile tests enabled: $enable_imfile_tests" |
| 39188 | echoscip-shell system . . echo. " systemd journal tests enabled: $enable_journal_tests" |
| 39189 | echoscip-shell system . . echo. " SNMP Tests enabled: $enable_snmp_tests" |
| 39190 | echoscip-shell system . . echo. " Flaky Tests enabled: $enable_flaky_tests" |
| 39191 | echoscip-shell system . . echo. " Debug mode enabled: $enable_debug" |
| 39192 | echoscip-shell system . . echo. " (total) debugless mode enabled: $enable_debugless" |
| 39193 | echoscip-shell system . . echo. " Diagnostic tools enabled: $enable_diagtools" |
| 39194 | echoscip-shell system . . echo. " End-User tools enabled: $enable_usertools" |
| 39195 | echoscip-shell system . . echo. " Valgrind support settings enabled: $enable_valgrind" |
| 39196 | echoscip-shell system . . echo. " Code coverage using gcov/lcov enabled: $enable_coverage" |
| 39197 | echoscip-shell system . . echo. |
| 39198 |