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