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