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