Changeset 482400e for ThirdParty/mpqc_open/configure
- Timestamp:
- Mar 2, 2017, 7:39:59 AM (9 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_StructOpt_integration_tests, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.6.0, Candidate_v1.6.1, Candidate_v1.7.0, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_ChronosMutex, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, GeometryObjects, Gui_displays_atomic_force_velocity, IndependentFragmentGrids_IntegrationTest, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, RotateToPrincipalAxisSystem_UndoRedo, StoppableMakroAction, Subpackage_levmar, Subpackage_vmg, ThirdParty_MPQC_rebuilt_buildsystem, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, Ubuntu_1604_changes, stable
- Children:
- 73feb7
- Parents:
- 860145
- git-author:
- Frederik Heber <heber@…> (11/16/16 11:14:10)
- git-committer:
- Frederik Heber <heber@…> (03/02/17 07:39:59)
- File:
-
- 1 edited
-
ThirdParty/mpqc_open/configure (modified) (690 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/mpqc_open/configure
r860145 r482400e 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59.3 # Generated by GNU Autoconf 2.69. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7 # 8 # 6 9 # This configure script is free software; the Free Software Foundation 7 10 # gives unlimited permission to copy, distribute and modify it. 8 ## --------------------- ## 9 ## M4sh Initialization. ## 10 ## --------------------- ## 11 12 # Be Bourne compatible 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 11 ## -------------------- ## 12 ## M4sh Initialization. ## 13 ## -------------------- ## 14 15 # Be more Bourne compatible 16 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 14 18 emulate sh 15 19 NULLCMD=: 16 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17 21 # is contrary to our usage. Disable this feature. 18 22 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 23 setopt NO_GLOB_SUBST 24 else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30 esac 31 fi 32 33 34 as_nl=' 35 ' 36 export as_nl 37 # Printing a long string crashes Solaris 7 /usr/bin/printf. 38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41 # Prefer a ksh shell builtin over an external printf program on Solaris, 42 # but without wasting forks for bash or zsh. 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 72 # The user is always right. 73 if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 80 81 82 # IFS 83 # We need space, tab and new line, in precisely that order. Quoting is 84 # there to prevent editors from complaining about space-tab. 85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 86 # splitting by setting IFS to empty value.) 87 IFS=" "" $as_nl" 88 89 # Find who we are. Look in the path if we contain no directory separator. 90 as_myself= 91 case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94 for as_dir in $PATH 95 do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100 IFS=$as_save_IFS 101 102 ;; 103 esac 104 # We did not find ourselves, most probably we were run as `sh COMMAND' 105 # in which case we are not to be found in the path. 106 if test "x$as_myself" = x; then 107 as_myself=$0 108 fi 109 if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112 fi 113 114 # Unset variables that we do not need and which cause bugs (e.g. in 115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116 # suppresses any "Segmentation fault" message there. '((' could 117 # trigger a bug in pdksh 5.2.14. 118 for as_var in BASH_ENV ENV MAIL MAILPATH 119 do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121 done 34 122 PS1='$ ' 35 123 PS2='> ' … … 37 125 38 126 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 127 LC_ALL=C 128 export LC_ALL 129 LANGUAGE=C 130 export LANGUAGE 131 132 # CDPATH. 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135 # Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140 # neutralization value for shells without unset; and this also 141 # works around shells that cannot unset nonexistent variables. 142 # Preserve -v and -x to the replacement shell. 143 BASH_ENV=/dev/null 144 ENV=/dev/null 145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146 case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151 esac 152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153 # Admittedly, this is quite paranoid, since all the known shells bail 154 # out after a failed `exec'. 155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156 as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160 if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168 else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174 esac 175 fi 176 " 177 as_required="as_fn_return () { (exit \$1); } 178 as_fn_success () { as_fn_return 0; } 179 as_fn_failure () { as_fn_return 1; } 180 as_fn_ret_success () { return 0; } 181 as_fn_ret_failure () { return 1; } 182 183 exitcode=0 184 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190 else 191 exitcode=1; echo positional parameters were not saved. 192 fi 193 test x\$exitcode = x0 || exit 1 194 test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199 test \$(( 1 + 1 )) = 2 || exit 1 200 201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 PATH=/empty FPATH=/empty; export PATH FPATH 206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210 else 211 as_have_required=no 212 fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215 else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217 as_found=false 218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 43 219 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233 fi 234 fi 235 done;; 236 esac 237 as_found=false 238 done 239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242 fi; } 243 IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249 # neutralization value for shells without unset; and this also 250 # works around shells that cannot unset nonexistent variables. 251 # Preserve -v and -x to the replacement shell. 252 BASH_ENV=/dev/null 253 ENV=/dev/null 254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255 case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260 esac 261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262 # Admittedly, this is quite paranoid, since all the known shells bail 263 # out after a failed `exec'. 264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265 exit 255 266 fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 46 274 else 47 $as_unset $as_var 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276 $0: including any error possibly output before this 277 $0: message. Then install a modern shell, or manually run 278 $0: the script under such a shell if you do have one." 48 279 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 280 exit 1 281 fi 282 fi 283 fi 284 SHELL=${CONFIG_SHELL-/bin/sh} 285 export SHELL 286 # Unset more variables known to interfere with behavior of common tools. 287 CLICOLOR_FORCE= GREP_OPTIONS= 288 unset CLICOLOR_FORCE GREP_OPTIONS 289 290 ## --------------------- ## 291 ## M4sh Shell Functions. ## 292 ## --------------------- ## 293 # as_fn_unset VAR 294 # --------------- 295 # Portably unset VAR. 296 as_fn_unset () 297 { 298 { eval $1=; unset $1;} 299 } 300 as_unset=as_fn_unset 301 302 # as_fn_set_status STATUS 303 # ----------------------- 304 # Set $? to STATUS, without forking. 305 as_fn_set_status () 306 { 307 return $1 308 } # as_fn_set_status 309 310 # as_fn_exit STATUS 311 # ----------------- 312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313 as_fn_exit () 314 { 315 set +e 316 as_fn_set_status $1 317 exit $1 318 } # as_fn_exit 319 320 # as_fn_mkdir_p 321 # ------------- 322 # Create "$as_dir" as a directory, including parents if necessary. 323 as_fn_mkdir_p () 324 { 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342 $as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366 } # as_fn_mkdir_p 367 368 # as_fn_executable_p FILE 369 # ----------------------- 370 # Test if FILE is an executable regular file. 371 as_fn_executable_p () 372 { 373 test -f "$1" && test -x "$1" 374 } # as_fn_executable_p 375 # as_fn_append VAR VALUE 376 # ---------------------- 377 # Append the text in VALUE to the end of the definition contained in VAR. Take 378 # advantage of any shell optimizations that allow amortized linear growth over 379 # repeated appends, instead of the typical quadratic growth present in naive 380 # implementations. 381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386 else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391 fi # as_fn_append 392 393 # as_fn_arith ARG... 394 # ------------------ 395 # Perform arithmetic evaluation on the ARGs, and store the result in the 396 # global $as_val. Take advantage of shells that can avoid forks. The arguments 397 # must be portable across $(()) and expr. 398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403 else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408 fi # as_fn_arith 409 410 411 # as_fn_error STATUS ERROR [LINENO LOG_FD] 412 # ---------------------------------------- 413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415 # script with STATUS, using 1 if that was 0. 416 as_fn_error () 417 { 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425 } # as_fn_error 426 427 if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 53 429 as_expr=expr 54 430 else … … 56 432 fi 57 433 58 if (basename /) >/dev/null 2>&1 && test "X`basename/ 2>&1`" = "X/"; then434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 59 435 as_basename=basename 60 436 else … … 62 438 fi 63 439 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442 else 443 as_dirname=false 444 fi 445 446 as_me=`$as_basename -- "$0" || 67 447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 448 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450 $as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 79 465 # Avoid depending upon Character Ranges. 80 466 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 470 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 471 86 # The user is always right. 87 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 for as_dir in $PATH 111 do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132 do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 165 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 166 487 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 490 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 491 s/-\n.*// 173 492 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 178 500 # Don't try to exec as it changes $[0], causing all sort of problems 179 501 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 182 504 # Exit status is that of the last command. 183 505 exit 184 506 } 185 507 186 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 508 ECHO_C= ECHO_N= ECHO_T= 509 case `echo -n x` in #((((( 510 -n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517 *) 518 ECHO_N='-n';; 192 519 esac 193 520 194 if expr a : '\(a\)' >/dev/null 2>&1; then195 as_expr=expr196 else197 as_expr=false198 fi199 200 521 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 207 as_ln_s='cp -p' 522 if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524 else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527 fi 528 if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 208 539 else 209 as_ln_s=' ln -s'540 as_ln_s='cp -pR' 210 541 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then 212 as_ln_s=ln 213 else 214 as_ln_s='cp -p' 215 fi 216 rm -f conf$$ conf$$.exe conf$$.file 542 else 543 as_ln_s='cp -pR' 544 fi 545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546 rmdir conf$$.dir 2>/dev/null 217 547 218 548 if mkdir -p . 2>/dev/null; then 219 as_mkdir_p= :549 as_mkdir_p='mkdir -p "$as_dir"' 220 550 else 221 551 test -d ./-p && rmdir ./-p … … 223 553 fi 224 554 225 as_executable_p="test -f" 555 as_test_x='test -x' 556 as_executable_p=as_fn_executable_p 226 557 227 558 # Sed expression to map a string onto a valid CPP name. … … 231 562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 563 233 234 # IFS235 # We need space, tab and new line, in precisely that order.236 as_nl='237 '238 IFS=" $as_nl"239 240 # CDPATH.241 $as_unset CDPATH242 243 244 245 # Check that we are running under the correct shell.246 564 SHELL=${CONFIG_SHELL-/bin/sh} 247 565 248 case X$ECHO in 249 X*--fallback-echo) 250 # Remove one level of quotation (which was required for Make). 251 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` 252 ;; 253 esac 254 255 echo=${ECHO-echo} 256 if test "X$1" = X--no-reexec; then 257 # Discard the --no-reexec flag, and continue. 258 shift 259 elif test "X$1" = X--fallback-echo; then 260 # Avoid inline document here, it may be left over 261 : 262 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then 263 # Yippee, $echo works! 264 : 265 else 266 # Restart under the correct shell. 267 exec $SHELL "$0" --no-reexec ${1+"$@"} 268 fi 269 270 if test "X$1" = X--fallback-echo; then 271 # used as fallback echo 272 shift 273 cat <<EOF 274 $* 275 EOF 276 exit 0 277 fi 278 279 # The HP-UX ksh and POSIX shell print the target directory to stdout 280 # if CDPATH is set. 281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 282 283 if test -z "$ECHO"; then 284 if test "X${echo_test_string+set}" != Xset; then 285 # find a string as large as possible, as long as the shell can cope with it 286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 288 if (echo_test_string=`eval $cmd`) 2>/dev/null && 289 echo_test_string=`eval $cmd` && 290 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 291 then 292 break 293 fi 294 done 295 fi 296 297 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 298 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 299 test "X$echo_testing_string" = "X$echo_test_string"; then 300 : 301 else 302 # The Solaris, AIX, and Digital Unix default echo programs unquote 303 # backslashes. This makes it impossible to quote backslashes using 304 # echo "$something" | sed 's/\\/\\\\/g' 305 # 306 # So, first we look for a working echo in the user's PATH. 307 308 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 309 for dir in $PATH /usr/ucb; do 310 IFS="$lt_save_ifs" 311 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 312 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 313 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 314 test "X$echo_testing_string" = "X$echo_test_string"; then 315 echo="$dir/echo" 316 break 317 fi 318 done 319 IFS="$lt_save_ifs" 320 321 if test "X$echo" = Xecho; then 322 # We didn't find a better echo, so look for alternatives. 323 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && 324 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && 325 test "X$echo_testing_string" = "X$echo_test_string"; then 326 # This shell has a builtin print -r that does the trick. 327 echo='print -r' 328 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && 329 test "X$CONFIG_SHELL" != X/bin/ksh; then 330 # If we have ksh, try running configure again with it. 331 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 332 export ORIGINAL_CONFIG_SHELL 333 CONFIG_SHELL=/bin/ksh 334 export CONFIG_SHELL 335 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 336 else 337 # Try using printf. 338 echo='printf %s\n' 339 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 340 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 341 test "X$echo_testing_string" = "X$echo_test_string"; then 342 # Cool, printf works 343 : 344 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 345 test "X$echo_testing_string" = 'X\t' && 346 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 347 test "X$echo_testing_string" = "X$echo_test_string"; then 348 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 349 export CONFIG_SHELL 350 SHELL="$CONFIG_SHELL" 351 export SHELL 352 echo="$CONFIG_SHELL $0 --fallback-echo" 353 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 354 test "X$echo_testing_string" = 'X\t' && 355 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 356 test "X$echo_testing_string" = "X$echo_test_string"; then 357 echo="$CONFIG_SHELL $0 --fallback-echo" 358 else 359 # maybe with a smaller string... 360 prev=: 361 362 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 363 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null 364 then 365 break 366 fi 367 prev="$cmd" 368 done 369 370 if test "$prev" != 'sed 50q "$0"'; then 371 echo_test_string=`eval $prev` 372 export echo_test_string 373 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 374 else 375 # Oops. We lost completely, so just stick with echo. 376 echo=echo 377 fi 378 fi 379 fi 380 fi 381 fi 382 fi 383 384 # Copy echo and quote the copy suitably for passing to libtool from 385 # the Makefile, instead of quoting the original, which is used later. 386 ECHO=$echo 387 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 388 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 389 fi 390 391 392 393 394 tagnames=${tagnames+${tagnames},}CXX 395 396 tagnames=${tagnames+${tagnames},}F77 566 567 test -n "$DJDIR" || exec 7<&0 </dev/null 568 exec 6>&1 397 569 398 570 # Name of the host. 399 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 400 572 # so uname gets run too. 401 573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 402 403 exec 6>&1404 574 405 575 # … … 407 577 # 408 578 ac_default_prefix=/usr/local 579 ac_clean_files= 409 580 ac_config_libobj_dir=. 581 LIBOBJS= 410 582 cross_compiling=no 411 583 subdirs= 412 584 MFLAGS= 413 585 MAKEFLAGS= 414 SHELL=${CONFIG_SHELL-/bin/sh}415 416 # Maximum number of lines to put in a shell here document.417 # This variable seems obsolete. It should probably be removed, and418 # only ac_max_sed_lines should be used.419 : ${ac_max_here_lines=38}420 586 421 587 # Identity of this package. … … 425 591 PACKAGE_STRING= 426 592 PACKAGE_BUGREPORT= 593 PACKAGE_URL= 427 594 428 595 ac_unique_file="src/lib/util/ref/ref.h" … … 430 597 ac_includes_default="\ 431 598 #include <stdio.h> 432 #if HAVE_SYS_TYPES_H599 #ifdef HAVE_SYS_TYPES_H 433 600 # include <sys/types.h> 434 601 #endif 435 #if HAVE_SYS_STAT_H602 #ifdef HAVE_SYS_STAT_H 436 603 # include <sys/stat.h> 437 604 #endif 438 #if STDC_HEADERS605 #ifdef STDC_HEADERS 439 606 # include <stdlib.h> 440 607 # include <stddef.h> 441 608 #else 442 # if HAVE_STDLIB_H609 # ifdef HAVE_STDLIB_H 443 610 # include <stdlib.h> 444 611 # endif 445 612 #endif 446 #if HAVE_STRING_H447 # if ! STDC_HEADERS &&HAVE_MEMORY_H613 #ifdef HAVE_STRING_H 614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 448 615 # include <memory.h> 449 616 # endif 450 617 # include <string.h> 451 618 #endif 452 #if HAVE_STRINGS_H619 #ifdef HAVE_STRINGS_H 453 620 # include <strings.h> 454 621 #endif 455 #if HAVE_INTTYPES_H622 #ifdef HAVE_INTTYPES_H 456 623 # include <inttypes.h> 457 #else458 # if HAVE_STDINT_H459 # include <stdint.h>460 # endif461 624 #endif 462 #if HAVE_UNISTD_H 625 #ifdef HAVE_STDINT_H 626 # include <stdint.h> 627 #endif 628 #ifdef HAVE_UNISTD_H 463 629 # include <unistd.h> 464 630 #endif" 465 631 466 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os SC_SO_VERSION DOXYGEN_MAN FOOTER_HTML ENABLECCA BUILDID SC_VERSION ARFLAGS LAUNCH CCALAUNCH scdatadir scincludedir CCA_CHEM_CONFIG compiledir scbindir sclibdir LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX F77 FFLAGS ac_ct_F77 FLIBS CPP CXXCPP AR PERL WISH HAVE_DOT DOT_PATH EGREP EXTRAINCLUDE LIBDIRS OBJSUF LIBSUF CCDEPENDSUF CXXDEPENDSUF CCDEPENDFLAGS CXXDEPENDFLAGS HAVE_PERF HAVE_MPI ALWAYS_USE_MPI HAVE_ARMCI HAVE_MPIIO HAVE_PTHREAD EXTRADEFINES HAVE_FCHDIR HAVE_IOS_FMTFLAGS HAVE_SGETN HAVE_PUBSEEKOFF HAVE_SEEKOFF HAVE_SYSV_IPC F77_SYMBOLS HAVE_BLAS HAVE_LAPACK NIAMACFG HAVE_LIBINT HAVE_LIBR12 HAVE_LIBDERIV TMPLINST TMPLREPO TMPLINLIB ECHO ac_ct_AR STRIP ac_ct_STRIP LIBTOOL ENABLESHARED CCA_CHEM_INCLUDE CCA_CHEM_LIB CCA_CHEM_REPO CCAFE_CONFIG CCAFE_INCLUDE CCAFE_LIB CCAFE_SHARE CCAFE_BIN CCA_SPEC_BABEL_CONFIG CCA_SPEC_BABEL_INCLUDE CCA_SPEC_BABEL_LIB CCA_SPEC_BABEL_SHARE CCA_SPEC_CLASSIC_CONFIG CCA_SPEC_CLASSIC_INCLUDE CCA_SPEC_CLASSIC_LIB CCA_SPEC_CLASSIC_SHARE BABEL_CONFIG BABEL_INCLUDE BABEL_LIB BABEL_SHARE BABEL_BIN BABEL_CC BABEL_CFLAGS BABEL_CXX BABEL_CXXFLAGS BABEL_LIBTOOL CCAFE_MPI_ENABLE CCAFE_MPI_INCLUDE CCAFE_MPI_LIB CCAFE_MPI_BIN BABEL_PYTHON BABEL_PYTHON_VERSION BABEL_PYTHON_LIB BABEL_PYTHON_INCLUDE SCLIBS LIBOBJS LTLIBOBJS' 632 ac_subst_vars='LTLIBOBJS 633 LIBOBJS 634 SCDATADIR 635 INSTALLED_SCLIBDIR 636 SRC_SCLIBDIR 637 SCLIBS 638 BABEL_PYTHON_INCLUDE 639 BABEL_PYTHON_LIB 640 BABEL_PYTHON_VERSION 641 BABEL_PYTHON 642 CCAFE_MPI_BIN 643 CCAFE_MPI_LIB 644 CCAFE_MPI_INCLUDE 645 CCAFE_MPI_ENABLE 646 BABEL_LIBTOOL 647 BABEL_CXXFLAGS 648 BABEL_CXX 649 BABEL_CFLAGS 650 BABEL_CC 651 BABEL_BIN 652 BABEL_SHARE 653 BABEL_LIB 654 BABEL_INCLUDE 655 BABEL_CONFIG 656 CCA_SPEC_CLASSIC_SHARE 657 CCA_SPEC_CLASSIC_LIB 658 CCA_SPEC_CLASSIC_INCLUDE 659 CCA_SPEC_CLASSIC_CONFIG 660 CCA_SPEC_BABEL_SHARE 661 CCA_SPEC_BABEL_LIB 662 CCA_SPEC_BABEL_INCLUDE 663 CCA_SPEC_BABEL_CONFIG 664 CCAFE_BIN 665 CCAFE_SHARE 666 CCAFE_LIB 667 CCAFE_INCLUDE 668 CCAFE_CONFIG 669 CCA_CHEM_REPO 670 CCA_CHEM_LIB 671 CCA_CHEM_INCLUDE 672 ENABLESHARED 673 OTOOL64 674 OTOOL 675 LIPO 676 NMEDIT 677 DSYMUTIL 678 MANIFEST_TOOL 679 AWK 680 STRIP 681 ac_ct_AR 682 DLLTOOL 683 OBJDUMP 684 NM 685 ac_ct_DUMPBIN 686 DUMPBIN 687 LD 688 FGREP 689 SED 690 LIBTOOL 691 TMPLINLIB 692 TMPLREPO 693 TMPLINST 694 HAVE_LIBDERIV 695 HAVE_LIBR12 696 HAVE_LIBINT 697 NIAMACFG 698 HAVE_LAPACK 699 HAVE_BLAS 700 F77_SYMBOLS 701 HAVE_SYSV_IPC 702 HAVE_SEEKOFF 703 HAVE_PUBSEEKOFF 704 HAVE_SGETN 705 HAVE_IOS_FMTFLAGS 706 HAVE_FCHDIR 707 EXTRADEFINES 708 HAVE_PTHREAD 709 HAVE_MPIIO 710 HAVE_ARMCI 711 ALWAYS_USE_MPI 712 HAVE_MPI 713 HAVE_PERF 714 CXXDEPENDFLAGS 715 CCDEPENDFLAGS 716 CXXDEPENDSUF 717 CCDEPENDSUF 718 LIBSUF 719 OBJSUF 720 LIBDIRS 721 EXTRAINCLUDE 722 EGREP 723 GREP 724 DOT_PATH 725 HAVE_DOT 726 WISH 727 PERL 728 AR 729 CXXCPP 730 CPP 731 FLIBS 732 ac_ct_F77 733 FFLAGS 734 F77 735 ac_ct_CXX 736 CXXFLAGS 737 CXX 738 OBJEXT 739 EXEEXT 740 ac_ct_CC 741 CPPFLAGS 742 LDFLAGS 743 CFLAGS 744 CC 745 RANLIB 746 INSTALL_DATA 747 INSTALL_SCRIPT 748 INSTALL_PROGRAM 749 LN_S 750 sclibdir 751 scbindir 752 compiledir 753 CCA_CHEM_CONFIG 754 scincludedir 755 scdatadir 756 CCALAUNCH 757 LAUNCH 758 ARFLAGS 759 SC_VERSION 760 BUILDID 761 ENABLECCA 762 FOOTER_HTML 763 DOXYGEN_MAN 764 SC_SO_VERSION 765 target_os 766 target_vendor 767 target_cpu 768 target 769 host_os 770 host_vendor 771 host_cpu 772 host 773 build_os 774 build_vendor 775 build_cpu 776 build 777 target_alias 778 host_alias 779 build_alias 780 LIBS 781 ECHO_T 782 ECHO_N 783 ECHO_C 784 DEFS 785 mandir 786 localedir 787 libdir 788 psdir 789 pdfdir 790 dvidir 791 htmldir 792 infodir 793 docdir 794 oldincludedir 795 includedir 796 localstatedir 797 sharedstatedir 798 sysconfdir 799 datadir 800 datarootdir 801 libexecdir 802 sbindir 803 bindir 804 program_transform_name 805 prefix 806 exec_prefix 807 PACKAGE_URL 808 PACKAGE_BUGREPORT 809 PACKAGE_STRING 810 PACKAGE_VERSION 811 PACKAGE_TARNAME 812 PACKAGE_NAME 813 PATH_SEPARATOR 814 SHELL' 467 815 ac_subst_files='' 816 ac_user_opts=' 817 enable_option_checking 818 enable_debug 819 enable_strict_arch 820 enable_production 821 enable_sysv_ipc 822 enable_parallel 823 enable_always_use_mpi 824 with_default_parallel 825 with_mpi_thread 826 enable_long_long 827 enable_threads 828 enable_ref_debug 829 enable_cross_compile 830 enable_doxygen_man 831 enable_sourceforge 832 enable_components 833 with_build_id 834 with_default_memory 835 with_cc 836 with_cxx 837 with_f77 838 with_cxx_optflags 839 with_cc_optflags 840 with_dot 841 with_ranlib 842 with_ar 843 with_ar_flags 844 with_ld 845 with_launch 846 with_cca_launch 847 with_sc_datadir 848 with_include 849 with_template 850 with_sc_includedir 851 with_libs 852 with_extra_flibs 853 with_flibs 854 with_libdirs 855 with_cca_chem_config 856 enable_libtool 857 enable_shared 858 enable_static 859 with_pic 860 enable_fast_install 861 with_gnu_ld 862 with_sysroot 863 enable_libtool_lock 864 with_ccafe_config 865 ' 866 ac_precious_vars='build_alias 867 host_alias 868 target_alias 869 CC 870 CFLAGS 871 LDFLAGS 872 LIBS 873 CPPFLAGS 874 CXX 875 CXXFLAGS 876 CCC 877 F77 878 FFLAGS 879 CPP 880 CXXCPP' 881 468 882 469 883 # Initialize some variables set by options. 470 884 ac_init_help= 471 885 ac_init_version=false 886 ac_unrecognized_opts= 887 ac_unrecognized_sep= 472 888 # The variables have the same names as the options, with 473 889 # dashes changed to underlines. … … 492 908 # by default will actually change. 493 909 # Use braces instead of parens because sh, perl, etc. also accept them. 910 # (The list follows the same order as the GNU Coding Standards.) 494 911 bindir='${exec_prefix}/bin' 495 912 sbindir='${exec_prefix}/sbin' 496 913 libexecdir='${exec_prefix}/libexec' 497 datadir='${prefix}/share' 914 datarootdir='${prefix}/share' 915 datadir='${datarootdir}' 498 916 sysconfdir='${prefix}/etc' 499 917 sharedstatedir='${prefix}/com' 500 918 localstatedir='${prefix}/var' 501 libdir='${exec_prefix}/lib'502 919 includedir='${prefix}/include' 503 920 oldincludedir='/usr/include' 504 infodir='${prefix}/info' 505 mandir='${prefix}/man' 921 docdir='${datarootdir}/doc/${PACKAGE}' 922 infodir='${datarootdir}/info' 923 htmldir='${docdir}' 924 dvidir='${docdir}' 925 pdfdir='${docdir}' 926 psdir='${docdir}' 927 libdir='${exec_prefix}/lib' 928 localedir='${datarootdir}/locale' 929 mandir='${datarootdir}/man' 506 930 507 931 ac_prev= 932 ac_dashdash= 508 933 for ac_option 509 934 do 510 935 # If the previous option needs an argument, assign it. 511 936 if test -n "$ac_prev"; then 512 eval "$ac_prev=\$ac_option"937 eval $ac_prev=\$ac_option 513 938 ac_prev= 514 939 continue 515 940 fi 516 941 517 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 942 case $ac_option in 943 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 944 *=) ac_optarg= ;; 945 *) ac_optarg=yes ;; 946 esac 518 947 519 948 # Accept the important Cygnus configure options, so we can diagnose typos. 520 949 521 case $ac_option in 950 case $ac_dashdash$ac_option in 951 --) 952 ac_dashdash=yes ;; 522 953 523 954 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 541 972 cache_file=config.cache ;; 542 973 543 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)974 -datadir | --datadir | --datadi | --datad) 544 975 ac_prev=datadir ;; 545 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 546 | --da=*) 976 -datadir=* | --datadir=* | --datadi=* | --datad=*) 547 977 datadir=$ac_optarg ;; 548 978 979 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 980 | --dataroo | --dataro | --datar) 981 ac_prev=datarootdir ;; 982 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 983 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 984 datarootdir=$ac_optarg ;; 985 549 986 -disable-* | --disable-*) 550 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`987 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 551 988 # Reject names that are not valid shell variable names. 552 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 553 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 554 { (exit 1); exit 1; }; } 555 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 556 eval "enable_$ac_feature=no" ;; 989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 990 as_fn_error $? "invalid feature name: $ac_useropt" 991 ac_useropt_orig=$ac_useropt 992 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 993 case $ac_user_opts in 994 *" 995 "enable_$ac_useropt" 996 "*) ;; 997 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 998 ac_unrecognized_sep=', ';; 999 esac 1000 eval enable_$ac_useropt=no ;; 1001 1002 -docdir | --docdir | --docdi | --doc | --do) 1003 ac_prev=docdir ;; 1004 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1005 docdir=$ac_optarg ;; 1006 1007 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1008 ac_prev=dvidir ;; 1009 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1010 dvidir=$ac_optarg ;; 557 1011 558 1012 -enable-* | --enable-*) 559 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`1013 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 560 1014 # Reject names that are not valid shell variable names. 561 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 562 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 563 { (exit 1); exit 1; }; } 564 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 565 case $ac_option in 566 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 567 *) ac_optarg=yes ;; 1015 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1016 as_fn_error $? "invalid feature name: $ac_useropt" 1017 ac_useropt_orig=$ac_useropt 1018 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1019 case $ac_user_opts in 1020 *" 1021 "enable_$ac_useropt" 1022 "*) ;; 1023 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1024 ac_unrecognized_sep=', ';; 568 1025 esac 569 eval "enable_$ac_feature='$ac_optarg'";;1026 eval enable_$ac_useropt=\$ac_optarg ;; 570 1027 571 1028 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 594 1051 host_alias=$ac_optarg ;; 595 1052 1053 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1054 ac_prev=htmldir ;; 1055 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1056 | --ht=*) 1057 htmldir=$ac_optarg ;; 1058 596 1059 -includedir | --includedir | --includedi | --included | --include \ 597 1060 | --includ | --inclu | --incl | --inc) … … 618 1081 libexecdir=$ac_optarg ;; 619 1082 1083 -localedir | --localedir | --localedi | --localed | --locale) 1084 ac_prev=localedir ;; 1085 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1086 localedir=$ac_optarg ;; 1087 620 1088 -localstatedir | --localstatedir | --localstatedi | --localstated \ 621 | --localstate | --localstat | --localsta | --localst \ 622 | --locals | --local | --loca | --loc | --lo) 1089 | --localstate | --localstat | --localsta | --localst | --locals) 623 1090 ac_prev=localstatedir ;; 624 1091 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 625 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 626 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 1092 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 627 1093 localstatedir=$ac_optarg ;; 628 1094 … … 689 1155 program_transform_name=$ac_optarg ;; 690 1156 1157 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1158 ac_prev=pdfdir ;; 1159 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1160 pdfdir=$ac_optarg ;; 1161 1162 -psdir | --psdir | --psdi | --psd | --ps) 1163 ac_prev=psdir ;; 1164 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1165 psdir=$ac_optarg ;; 1166 691 1167 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 692 1168 | -silent | --silent | --silen | --sile | --sil) … … 739 1215 740 1216 -with-* | --with-*) 741 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1217 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 742 1218 # Reject names that are not valid shell variable names. 743 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 744 { echo "$as_me: error: invalid package name: $ac_package" >&2 745 { (exit 1); exit 1; }; } 746 ac_package=`echo $ac_package| sed 's/-/_/g'` 747 case $ac_option in 748 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 749 *) ac_optarg=yes ;; 1219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1220 as_fn_error $? "invalid package name: $ac_useropt" 1221 ac_useropt_orig=$ac_useropt 1222 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1223 case $ac_user_opts in 1224 *" 1225 "with_$ac_useropt" 1226 "*) ;; 1227 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1228 ac_unrecognized_sep=', ';; 750 1229 esac 751 eval "with_$ac_package='$ac_optarg'";;1230 eval with_$ac_useropt=\$ac_optarg ;; 752 1231 753 1232 -without-* | --without-*) 754 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1233 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 755 1234 # Reject names that are not valid shell variable names. 756 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 757 { echo "$as_me: error: invalid package name: $ac_package" >&2 758 { (exit 1); exit 1; }; } 759 ac_package=`echo $ac_package | sed 's/-/_/g'` 760 eval "with_$ac_package=no" ;; 1235 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1236 as_fn_error $? "invalid package name: $ac_useropt" 1237 ac_useropt_orig=$ac_useropt 1238 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1239 case $ac_user_opts in 1240 *" 1241 "with_$ac_useropt" 1242 "*) ;; 1243 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1244 ac_unrecognized_sep=', ';; 1245 esac 1246 eval with_$ac_useropt=no ;; 761 1247 762 1248 --x) … … 778 1264 x_libraries=$ac_optarg ;; 779 1265 780 -*) { echo "$as_me: error: unrecognized option: $ac_option 781 Try \`$0 --help' for more information." >&2 782 { (exit 1); exit 1; }; } 1266 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1267 Try \`$0 --help' for more information" 783 1268 ;; 784 1269 … … 786 1271 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 787 1272 # Reject names that are not valid shell variable names. 788 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&789 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2790 { (exit 1); exit 1; }; }791 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`792 eval "$ac_envvar='$ac_optarg'"1273 case $ac_envvar in #( 1274 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1275 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1276 esac 1277 eval $ac_envvar=\$ac_optarg 793 1278 export $ac_envvar ;; 794 1279 795 1280 *) 796 1281 # FIXME: should be removed in autoconf 3.0. 797 echo "$as_me: WARNING: you should use --build, --host, --target" >&21282 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 798 1283 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 799 echo "$as_me: WARNING: invalid host type: $ac_option" >&2800 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1284 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1285 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 801 1286 ;; 802 1287 … … 806 1291 if test -n "$ac_prev"; then 807 1292 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 808 { echo "$as_me: error: missing argument to $ac_option" >&2 809 { (exit 1); exit 1; }; } 810 fi 811 812 # Be sure to have absolute paths. 813 for ac_var in exec_prefix prefix 1293 as_fn_error $? "missing argument to $ac_option" 1294 fi 1295 1296 if test -n "$ac_unrecognized_opts"; then 1297 case $enable_option_checking in 1298 no) ;; 1299 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1300 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1301 esac 1302 fi 1303 1304 # Check all directory arguments for consistency. 1305 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1306 datadir sysconfdir sharedstatedir localstatedir includedir \ 1307 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1308 libdir localedir mandir 814 1309 do 815 eval ac_val=$`echo $ac_var` 1310 eval ac_val=\$$ac_var 1311 # Remove trailing slashes. 816 1312 case $ac_val in 817 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;818 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2819 { (exit 1); exit 1; }; };;1313 */ ) 1314 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1315 eval $ac_var=\$ac_val;; 820 1316 esac 821 done 822 823 # Be sure to have absolute paths. 824 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 825 localstatedir libdir includedir oldincludedir infodir mandir 826 do 827 eval ac_val=$`echo $ac_var` 1317 # Be sure to have absolute directory names. 828 1318 case $ac_val in 829 [\\/$]* | ?:[\\/]* ) ;; 830 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 831 { (exit 1); exit 1; }; };; 1319 [\\/$]* | ?:[\\/]* ) continue;; 1320 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 832 1321 esac 1322 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 833 1323 done 834 1324 … … 844 1334 if test "x$build_alias" = x; then 845 1335 cross_compiling=maybe 846 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.847 If a cross compiler is detected then cross compile mode will be used." >&2848 1336 elif test "x$build_alias" != "x$host_alias"; then 849 1337 cross_compiling=yes … … 857 1345 858 1346 1347 ac_pwd=`pwd` && test -n "$ac_pwd" && 1348 ac_ls_di=`ls -di .` && 1349 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1350 as_fn_error $? "working directory cannot be determined" 1351 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1352 as_fn_error $? "pwd does not report name of working directory" 1353 1354 859 1355 # Find the source files, if location was not specified. 860 1356 if test -z "$srcdir"; then 861 1357 ac_srcdir_defaulted=yes 862 # Try the directory containing this script, then its parent. 863 ac_confdir=`(dirname "$0") 2>/dev/null || 864 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 865 X"$0" : 'X\(//\)[^/]' \| \ 866 X"$0" : 'X\(//\)$' \| \ 867 X"$0" : 'X\(/\)' \| \ 868 . : '\(.\)' 2>/dev/null || 869 echo X"$0" | 870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 871 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 872 /^X\(\/\/\)$/{ s//\1/; q; } 873 /^X\(\/\).*/{ s//\1/; q; } 874 s/.*/./; q'` 1358 # Try the directory containing this script, then the parent directory. 1359 ac_confdir=`$as_dirname -- "$as_myself" || 1360 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1361 X"$as_myself" : 'X\(//\)[^/]' \| \ 1362 X"$as_myself" : 'X\(//\)$' \| \ 1363 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1364 $as_echo X"$as_myself" | 1365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1366 s//\1/ 1367 q 1368 } 1369 /^X\(\/\/\)[^/].*/{ 1370 s//\1/ 1371 q 1372 } 1373 /^X\(\/\/\)$/{ 1374 s//\1/ 1375 q 1376 } 1377 /^X\(\/\).*/{ 1378 s//\1/ 1379 q 1380 } 1381 s/.*/./; q'` 875 1382 srcdir=$ac_confdir 876 1383 if test ! -r "$srcdir/$ac_unique_file"; then … … 881 1388 fi 882 1389 if test ! -r "$srcdir/$ac_unique_file"; then 883 if test "$ac_srcdir_defaulted" = yes; then 884 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 885 { (exit 1); exit 1; }; } 886 else 887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 888 { (exit 1); exit 1; }; } 889 fi 890 fi 891 (cd $srcdir && test -r "./$ac_unique_file") 2>/dev/null || 892 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 893 { (exit 1); exit 1; }; } 894 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 895 ac_env_build_alias_set=${build_alias+set} 896 ac_env_build_alias_value=$build_alias 897 ac_cv_env_build_alias_set=${build_alias+set} 898 ac_cv_env_build_alias_value=$build_alias 899 ac_env_host_alias_set=${host_alias+set} 900 ac_env_host_alias_value=$host_alias 901 ac_cv_env_host_alias_set=${host_alias+set} 902 ac_cv_env_host_alias_value=$host_alias 903 ac_env_target_alias_set=${target_alias+set} 904 ac_env_target_alias_value=$target_alias 905 ac_cv_env_target_alias_set=${target_alias+set} 906 ac_cv_env_target_alias_value=$target_alias 907 ac_env_CC_set=${CC+set} 908 ac_env_CC_value=$CC 909 ac_cv_env_CC_set=${CC+set} 910 ac_cv_env_CC_value=$CC 911 ac_env_CFLAGS_set=${CFLAGS+set} 912 ac_env_CFLAGS_value=$CFLAGS 913 ac_cv_env_CFLAGS_set=${CFLAGS+set} 914 ac_cv_env_CFLAGS_value=$CFLAGS 915 ac_env_LDFLAGS_set=${LDFLAGS+set} 916 ac_env_LDFLAGS_value=$LDFLAGS 917 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 918 ac_cv_env_LDFLAGS_value=$LDFLAGS 919 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 920 ac_env_CPPFLAGS_value=$CPPFLAGS 921 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 922 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 923 ac_env_CXX_set=${CXX+set} 924 ac_env_CXX_value=$CXX 925 ac_cv_env_CXX_set=${CXX+set} 926 ac_cv_env_CXX_value=$CXX 927 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 928 ac_env_CXXFLAGS_value=$CXXFLAGS 929 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 930 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 931 ac_env_F77_set=${F77+set} 932 ac_env_F77_value=$F77 933 ac_cv_env_F77_set=${F77+set} 934 ac_cv_env_F77_value=$F77 935 ac_env_FFLAGS_set=${FFLAGS+set} 936 ac_env_FFLAGS_value=$FFLAGS 937 ac_cv_env_FFLAGS_set=${FFLAGS+set} 938 ac_cv_env_FFLAGS_value=$FFLAGS 939 ac_env_CPP_set=${CPP+set} 940 ac_env_CPP_value=$CPP 941 ac_cv_env_CPP_set=${CPP+set} 942 ac_cv_env_CPP_value=$CPP 943 ac_env_CXXCPP_set=${CXXCPP+set} 944 ac_env_CXXCPP_value=$CXXCPP 945 ac_cv_env_CXXCPP_set=${CXXCPP+set} 946 ac_cv_env_CXXCPP_value=$CXXCPP 1390 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1391 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1392 fi 1393 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1394 ac_abs_confdir=`( 1395 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1396 pwd)` 1397 # When building in place, set srcdir=. 1398 if test "$ac_abs_confdir" = "$ac_pwd"; then 1399 srcdir=. 1400 fi 1401 # Remove unnecessary trailing slashes from srcdir. 1402 # Double slashes in file names in object file debugging info 1403 # mess up M-x gdb in Emacs. 1404 case $srcdir in 1405 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1406 esac 1407 for ac_var in $ac_precious_vars; do 1408 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1409 eval ac_env_${ac_var}_value=\$${ac_var} 1410 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1411 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1412 done 947 1413 948 1414 # … … 967 1433 --help=recursive display the short help of all the included packages 968 1434 -V, --version display version information and exit 969 -q, --quiet, --silent do not print \`checking ...' messages1435 -q, --quiet, --silent do not print \`checking ...' messages 970 1436 --cache-file=FILE cache test results in FILE [disabled] 971 1437 -C, --config-cache alias for \`--cache-file=config.cache' … … 973 1439 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 974 1440 975 _ACEOF976 977 cat <<_ACEOF978 1441 Installation directories: 979 1442 --prefix=PREFIX install architecture-independent files in PREFIX 980 [$ac_default_prefix]1443 [$ac_default_prefix] 981 1444 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 982 [PREFIX]1445 [PREFIX] 983 1446 984 1447 By default, \`make install' will install all the files in … … 990 1453 991 1454 Fine tuning of the installation directories: 992 --bindir=DIR user executables [EPREFIX/bin] 993 --sbindir=DIR system admin executables [EPREFIX/sbin] 994 --libexecdir=DIR program executables [EPREFIX/libexec] 995 --datadir=DIR read-only architecture-independent data [PREFIX/share] 996 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 997 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 998 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 999 --libdir=DIR object code libraries [EPREFIX/lib] 1000 --includedir=DIR C header files [PREFIX/include] 1001 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1002 --infodir=DIR info documentation [PREFIX/info] 1003 --mandir=DIR man documentation [PREFIX/man] 1455 --bindir=DIR user executables [EPREFIX/bin] 1456 --sbindir=DIR system admin executables [EPREFIX/sbin] 1457 --libexecdir=DIR program executables [EPREFIX/libexec] 1458 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1459 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1460 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1461 --libdir=DIR object code libraries [EPREFIX/lib] 1462 --includedir=DIR C header files [PREFIX/include] 1463 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1464 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1465 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1466 --infodir=DIR info documentation [DATAROOTDIR/info] 1467 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1468 --mandir=DIR man documentation [DATAROOTDIR/man] 1469 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1470 --htmldir=DIR html documentation [DOCDIR] 1471 --dvidir=DIR dvi documentation [DOCDIR] 1472 --pdfdir=DIR pdf documentation [DOCDIR] 1473 --psdir=DIR ps documentation [DOCDIR] 1004 1474 _ACEOF 1005 1475 … … 1018 1488 1019 1489 Optional Features: 1490 --disable-option-checking ignore unrecognized --enable/--with options 1020 1491 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1021 1492 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1034 1505 --enable-components Enable CCA components 1035 1506 --disable-libtool Do not use libtool. 1036 --enable-shared[=PKGS] 1037 build shared libraries [default=no] 1038 --enable-static[=PKGS] 1039 build static libraries [default=yes] 1507 --enable-shared[=PKGS] build shared libraries [default=no] 1508 --enable-static[=PKGS] build static libraries [default=yes] 1040 1509 --enable-fast-install[=PKGS] 1041 1510 optimize for fast installation [default=yes] … … 1070 1539 --with-libdirs Specifies library directories (-Ldir1 -Ldir2). 1071 1540 --with-cca-chem-config Specifies full pathname of cca-chem-config script. 1541 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1542 both] 1072 1543 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1073 --with-pic try to use only PIC/non-PIC objects [default=use 1074 both] 1075 --with-tags[=TAGS] 1076 include additional configurations [automatic] 1544 --with-sysroot=DIR Search for dependent libraries within DIR 1545 (or the compiler's sysroot if not specified). 1077 1546 --with-ccafe-config path to the ccafe-config script. 1078 1547 … … 1082 1551 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1083 1552 nonstandard directory <lib dir> 1084 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 1085 headers in a nonstandard directory <include dir> 1553 LIBS libraries to pass to the linker, e.g. -l<library> 1554 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1555 you have headers in a nonstandard directory <include dir> 1086 1556 CXX C++ compiler command 1087 1557 CXXFLAGS C++ compiler flags … … 1094 1564 it to find libraries and programs with nonstandard names/locations. 1095 1565 1566 Report bugs to the package provider. 1096 1567 _ACEOF 1568 ac_status=$? 1097 1569 fi 1098 1570 1099 1571 if test "$ac_init_help" = "recursive"; then 1100 1572 # If there are subdirs, report their specific --help. 1101 ac_popdir=`pwd`1102 1573 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1103 test -d $ac_dir || continue 1574 test -d "$ac_dir" || 1575 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1576 continue 1104 1577 ac_builddir=. 1105 1578 1106 if test "$ac_dir" != .; then 1107 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1108 # A "../" for each directory in $ac_dir_suffix. 1109 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 1110 else 1111 ac_dir_suffix= ac_top_builddir= 1112 fi 1579 case "$ac_dir" in 1580 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1581 *) 1582 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1583 # A ".." for each directory in $ac_dir_suffix. 1584 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1585 case $ac_top_builddir_sub in 1586 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1587 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1588 esac ;; 1589 esac 1590 ac_abs_top_builddir=$ac_pwd 1591 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1592 # for backward compatibility: 1593 ac_top_builddir=$ac_top_build_prefix 1113 1594 1114 1595 case $srcdir in 1115 .) # No --srcdir option.We are building in place.1596 .) # We are building in place. 1116 1597 ac_srcdir=. 1117 if test -z "$ac_top_builddir"; then 1118 ac_top_srcdir=. 1598 ac_top_srcdir=$ac_top_builddir_sub 1599 ac_abs_top_srcdir=$ac_pwd ;; 1600 [\\/]* | ?:[\\/]* ) # Absolute name. 1601 ac_srcdir=$srcdir$ac_dir_suffix; 1602 ac_top_srcdir=$srcdir 1603 ac_abs_top_srcdir=$srcdir ;; 1604 *) # Relative name. 1605 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1606 ac_top_srcdir=$ac_top_build_prefix$srcdir 1607 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1608 esac 1609 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1610 1611 cd "$ac_dir" || { ac_status=$?; continue; } 1612 # Check for guested configure. 1613 if test -f "$ac_srcdir/configure.gnu"; then 1614 echo && 1615 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1616 elif test -f "$ac_srcdir/configure"; then 1617 echo && 1618 $SHELL "$ac_srcdir/configure" --help=recursive 1119 1619 else 1120 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 1121 fi ;; 1122 [\\/]* | ?:[\\/]* ) # Absolute path. 1123 ac_srcdir=$srcdir$ac_dir_suffix; 1124 ac_top_srcdir=$srcdir ;; 1125 *) # Relative path. 1126 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 1127 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1128 esac 1129 1130 # Do not use `cd foo && pwd` to compute absolute paths, because 1131 # the directories may not exist. 1132 case `pwd` in 1133 .) ac_abs_builddir="$ac_dir";; 1134 *) 1135 case "$ac_dir" in 1136 .) ac_abs_builddir=`pwd`;; 1137 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 1138 *) ac_abs_builddir=`pwd`/"$ac_dir";; 1139 esac;; 1140 esac 1141 case $ac_abs_builddir in 1142 .) ac_abs_top_builddir=${ac_top_builddir}.;; 1143 *) 1144 case ${ac_top_builddir}. in 1145 .) ac_abs_top_builddir=$ac_abs_builddir;; 1146 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 1147 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 1148 esac;; 1149 esac 1150 case $ac_abs_builddir in 1151 .) ac_abs_srcdir=$ac_srcdir;; 1152 *) 1153 case $ac_srcdir in 1154 .) ac_abs_srcdir=$ac_abs_builddir;; 1155 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 1156 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 1157 esac;; 1158 esac 1159 case $ac_abs_builddir in 1160 .) ac_abs_top_srcdir=$ac_top_srcdir;; 1161 *) 1162 case $ac_top_srcdir in 1163 .) ac_abs_top_srcdir=$ac_abs_builddir;; 1164 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 1165 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 1166 esac;; 1167 esac 1168 1169 cd $ac_dir 1170 # Check for guested configure; otherwise get Cygnus style configure. 1171 if test -f $ac_srcdir/configure.gnu; then 1172 echo 1173 $SHELL $ac_srcdir/configure.gnu --help=recursive 1174 elif test -f $ac_srcdir/configure; then 1175 echo 1176 $SHELL $ac_srcdir/configure --help=recursive 1177 elif test -f $ac_srcdir/configure.ac || 1178 test -f $ac_srcdir/configure.in; then 1179 echo 1180 $ac_configure --help 1181 else 1182 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1183 fi 1184 cd $ac_popdir 1620 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1621 fi || ac_status=$? 1622 cd "$ac_pwd" || { ac_status=$?; break; } 1185 1623 done 1186 1624 fi 1187 1625 1188 test -n "$ac_init_help" && exit 01626 test -n "$ac_init_help" && exit $ac_status 1189 1627 if $ac_init_version; then 1190 1628 cat <<\_ACEOF 1191 1192 Copyright (C) 2003 Free Software Foundation, Inc. 1629 configure 1630 generated by GNU Autoconf 2.69 1631 1632 Copyright (C) 2012 Free Software Foundation, Inc. 1193 1633 This configure script is free software; the Free Software Foundation 1194 1634 gives unlimited permission to copy, distribute and modify it. 1195 1635 _ACEOF 1196 exit 0 1197 fi 1198 exec 5>config.log 1199 cat >&5 <<_ACEOF 1636 exit 1637 fi 1638 1639 ## ------------------------ ## 1640 ## Autoconf initialization. ## 1641 ## ------------------------ ## 1642 1643 # ac_fn_c_try_compile LINENO 1644 # -------------------------- 1645 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1646 ac_fn_c_try_compile () 1647 { 1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1649 rm -f conftest.$ac_objext 1650 if { { ac_try="$ac_compile" 1651 case "(($ac_try" in 1652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1653 *) ac_try_echo=$ac_try;; 1654 esac 1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1656 $as_echo "$ac_try_echo"; } >&5 1657 (eval "$ac_compile") 2>conftest.err 1658 ac_status=$? 1659 if test -s conftest.err; then 1660 grep -v '^ *+' conftest.err >conftest.er1 1661 cat conftest.er1 >&5 1662 mv -f conftest.er1 conftest.err 1663 fi 1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1665 test $ac_status = 0; } && { 1666 test -z "$ac_c_werror_flag" || 1667 test ! -s conftest.err 1668 } && test -s conftest.$ac_objext; then : 1669 ac_retval=0 1670 else 1671 $as_echo "$as_me: failed program was:" >&5 1672 sed 's/^/| /' conftest.$ac_ext >&5 1673 1674 ac_retval=1 1675 fi 1676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1677 as_fn_set_status $ac_retval 1678 1679 } # ac_fn_c_try_compile 1680 1681 # ac_fn_cxx_try_compile LINENO 1682 # ---------------------------- 1683 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1684 ac_fn_cxx_try_compile () 1685 { 1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1687 rm -f conftest.$ac_objext 1688 if { { ac_try="$ac_compile" 1689 case "(($ac_try" in 1690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1691 *) ac_try_echo=$ac_try;; 1692 esac 1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1694 $as_echo "$ac_try_echo"; } >&5 1695 (eval "$ac_compile") 2>conftest.err 1696 ac_status=$? 1697 if test -s conftest.err; then 1698 grep -v '^ *+' conftest.err >conftest.er1 1699 cat conftest.er1 >&5 1700 mv -f conftest.er1 conftest.err 1701 fi 1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1703 test $ac_status = 0; } && { 1704 test -z "$ac_cxx_werror_flag" || 1705 test ! -s conftest.err 1706 } && test -s conftest.$ac_objext; then : 1707 ac_retval=0 1708 else 1709 $as_echo "$as_me: failed program was:" >&5 1710 sed 's/^/| /' conftest.$ac_ext >&5 1711 1712 ac_retval=1 1713 fi 1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1715 as_fn_set_status $ac_retval 1716 1717 } # ac_fn_cxx_try_compile 1718 1719 # ac_fn_f77_try_compile LINENO 1720 # ---------------------------- 1721 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1722 ac_fn_f77_try_compile () 1723 { 1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1725 rm -f conftest.$ac_objext 1726 if { { ac_try="$ac_compile" 1727 case "(($ac_try" in 1728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1729 *) ac_try_echo=$ac_try;; 1730 esac 1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1732 $as_echo "$ac_try_echo"; } >&5 1733 (eval "$ac_compile") 2>conftest.err 1734 ac_status=$? 1735 if test -s conftest.err; then 1736 grep -v '^ *+' conftest.err >conftest.er1 1737 cat conftest.er1 >&5 1738 mv -f conftest.er1 conftest.err 1739 fi 1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1741 test $ac_status = 0; } && { 1742 test -z "$ac_f77_werror_flag" || 1743 test ! -s conftest.err 1744 } && test -s conftest.$ac_objext; then : 1745 ac_retval=0 1746 else 1747 $as_echo "$as_me: failed program was:" >&5 1748 sed 's/^/| /' conftest.$ac_ext >&5 1749 1750 ac_retval=1 1751 fi 1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1753 as_fn_set_status $ac_retval 1754 1755 } # ac_fn_f77_try_compile 1756 1757 # ac_fn_c_try_cpp LINENO 1758 # ---------------------- 1759 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1760 ac_fn_c_try_cpp () 1761 { 1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1763 if { { ac_try="$ac_cpp conftest.$ac_ext" 1764 case "(($ac_try" in 1765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1766 *) ac_try_echo=$ac_try;; 1767 esac 1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1769 $as_echo "$ac_try_echo"; } >&5 1770 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1771 ac_status=$? 1772 if test -s conftest.err; then 1773 grep -v '^ *+' conftest.err >conftest.er1 1774 cat conftest.er1 >&5 1775 mv -f conftest.er1 conftest.err 1776 fi 1777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1778 test $ac_status = 0; } > conftest.i && { 1779 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1780 test ! -s conftest.err 1781 }; then : 1782 ac_retval=0 1783 else 1784 $as_echo "$as_me: failed program was:" >&5 1785 sed 's/^/| /' conftest.$ac_ext >&5 1786 1787 ac_retval=1 1788 fi 1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1790 as_fn_set_status $ac_retval 1791 1792 } # ac_fn_c_try_cpp 1793 1794 # ac_fn_cxx_try_cpp LINENO 1795 # ------------------------ 1796 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1797 ac_fn_cxx_try_cpp () 1798 { 1799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1800 if { { ac_try="$ac_cpp conftest.$ac_ext" 1801 case "(($ac_try" in 1802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1803 *) ac_try_echo=$ac_try;; 1804 esac 1805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1806 $as_echo "$ac_try_echo"; } >&5 1807 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1808 ac_status=$? 1809 if test -s conftest.err; then 1810 grep -v '^ *+' conftest.err >conftest.er1 1811 cat conftest.er1 >&5 1812 mv -f conftest.er1 conftest.err 1813 fi 1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1815 test $ac_status = 0; } > conftest.i && { 1816 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1817 test ! -s conftest.err 1818 }; then : 1819 ac_retval=0 1820 else 1821 $as_echo "$as_me: failed program was:" >&5 1822 sed 's/^/| /' conftest.$ac_ext >&5 1823 1824 ac_retval=1 1825 fi 1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1827 as_fn_set_status $ac_retval 1828 1829 } # ac_fn_cxx_try_cpp 1830 1831 # ac_fn_cxx_try_link LINENO 1832 # ------------------------- 1833 # Try to link conftest.$ac_ext, and return whether this succeeded. 1834 ac_fn_cxx_try_link () 1835 { 1836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1837 rm -f conftest.$ac_objext conftest$ac_exeext 1838 if { { ac_try="$ac_link" 1839 case "(($ac_try" in 1840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1841 *) ac_try_echo=$ac_try;; 1842 esac 1843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1844 $as_echo "$ac_try_echo"; } >&5 1845 (eval "$ac_link") 2>conftest.err 1846 ac_status=$? 1847 if test -s conftest.err; then 1848 grep -v '^ *+' conftest.err >conftest.er1 1849 cat conftest.er1 >&5 1850 mv -f conftest.er1 conftest.err 1851 fi 1852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1853 test $ac_status = 0; } && { 1854 test -z "$ac_cxx_werror_flag" || 1855 test ! -s conftest.err 1856 } && test -s conftest$ac_exeext && { 1857 test "$cross_compiling" = yes || 1858 test -x conftest$ac_exeext 1859 }; then : 1860 ac_retval=0 1861 else 1862 $as_echo "$as_me: failed program was:" >&5 1863 sed 's/^/| /' conftest.$ac_ext >&5 1864 1865 ac_retval=1 1866 fi 1867 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1868 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1869 # interfere with the next link command; also delete a directory that is 1870 # left behind by Apple's compiler. We do this before executing the actions. 1871 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1873 as_fn_set_status $ac_retval 1874 1875 } # ac_fn_cxx_try_link 1876 1877 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1878 # --------------------------------------------------------- 1879 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1880 # the include files in INCLUDES and setting the cache variable VAR 1881 # accordingly. 1882 ac_fn_cxx_check_header_mongrel () 1883 { 1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1885 if eval \${$3+:} false; then : 1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1887 $as_echo_n "checking for $2... " >&6; } 1888 if eval \${$3+:} false; then : 1889 $as_echo_n "(cached) " >&6 1890 fi 1891 eval ac_res=\$$3 1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1893 $as_echo "$ac_res" >&6; } 1894 else 1895 # Is the header compilable? 1896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1897 $as_echo_n "checking $2 usability... " >&6; } 1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1899 /* end confdefs.h. */ 1900 $4 1901 #include <$2> 1902 _ACEOF 1903 if ac_fn_cxx_try_compile "$LINENO"; then : 1904 ac_header_compiler=yes 1905 else 1906 ac_header_compiler=no 1907 fi 1908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1910 $as_echo "$ac_header_compiler" >&6; } 1911 1912 # Is the header present? 1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1914 $as_echo_n "checking $2 presence... " >&6; } 1915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1916 /* end confdefs.h. */ 1917 #include <$2> 1918 _ACEOF 1919 if ac_fn_cxx_try_cpp "$LINENO"; then : 1920 ac_header_preproc=yes 1921 else 1922 ac_header_preproc=no 1923 fi 1924 rm -f conftest.err conftest.i conftest.$ac_ext 1925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1926 $as_echo "$ac_header_preproc" >&6; } 1927 1928 # So? What about this header? 1929 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 1930 yes:no: ) 1931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1932 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1934 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1935 ;; 1936 no:yes:* ) 1937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1938 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1940 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1942 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1944 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1946 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1947 ;; 1948 esac 1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1950 $as_echo_n "checking for $2... " >&6; } 1951 if eval \${$3+:} false; then : 1952 $as_echo_n "(cached) " >&6 1953 else 1954 eval "$3=\$ac_header_compiler" 1955 fi 1956 eval ac_res=\$$3 1957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1958 $as_echo "$ac_res" >&6; } 1959 fi 1960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1961 1962 } # ac_fn_cxx_check_header_mongrel 1963 1964 # ac_fn_cxx_try_run LINENO 1965 # ------------------------ 1966 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1967 # that executables *can* be run. 1968 ac_fn_cxx_try_run () 1969 { 1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1971 if { { ac_try="$ac_link" 1972 case "(($ac_try" in 1973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1974 *) ac_try_echo=$ac_try;; 1975 esac 1976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1977 $as_echo "$ac_try_echo"; } >&5 1978 (eval "$ac_link") 2>&5 1979 ac_status=$? 1980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1981 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1982 { { case "(($ac_try" in 1983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1984 *) ac_try_echo=$ac_try;; 1985 esac 1986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1987 $as_echo "$ac_try_echo"; } >&5 1988 (eval "$ac_try") 2>&5 1989 ac_status=$? 1990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1991 test $ac_status = 0; }; }; then : 1992 ac_retval=0 1993 else 1994 $as_echo "$as_me: program exited with status $ac_status" >&5 1995 $as_echo "$as_me: failed program was:" >&5 1996 sed 's/^/| /' conftest.$ac_ext >&5 1997 1998 ac_retval=$ac_status 1999 fi 2000 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2002 as_fn_set_status $ac_retval 2003 2004 } # ac_fn_cxx_try_run 2005 2006 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 2007 # --------------------------------------------------------- 2008 # Tests whether HEADER exists and can be compiled using the include files in 2009 # INCLUDES, setting the cache variable VAR accordingly. 2010 ac_fn_cxx_check_header_compile () 2011 { 2012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2014 $as_echo_n "checking for $2... " >&6; } 2015 if eval \${$3+:} false; then : 2016 $as_echo_n "(cached) " >&6 2017 else 2018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2019 /* end confdefs.h. */ 2020 $4 2021 #include <$2> 2022 _ACEOF 2023 if ac_fn_cxx_try_compile "$LINENO"; then : 2024 eval "$3=yes" 2025 else 2026 eval "$3=no" 2027 fi 2028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2029 fi 2030 eval ac_res=\$$3 2031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2032 $as_echo "$ac_res" >&6; } 2033 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2034 2035 } # ac_fn_cxx_check_header_compile 2036 2037 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2038 # ------------------------------------------------------- 2039 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 2040 # the include files in INCLUDES and setting the cache variable VAR 2041 # accordingly. 2042 ac_fn_c_check_header_mongrel () 2043 { 2044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2045 if eval \${$3+:} false; then : 2046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2047 $as_echo_n "checking for $2... " >&6; } 2048 if eval \${$3+:} false; then : 2049 $as_echo_n "(cached) " >&6 2050 fi 2051 eval ac_res=\$$3 2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2053 $as_echo "$ac_res" >&6; } 2054 else 2055 # Is the header compilable? 2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2057 $as_echo_n "checking $2 usability... " >&6; } 2058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2059 /* end confdefs.h. */ 2060 $4 2061 #include <$2> 2062 _ACEOF 2063 if ac_fn_c_try_compile "$LINENO"; then : 2064 ac_header_compiler=yes 2065 else 2066 ac_header_compiler=no 2067 fi 2068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2070 $as_echo "$ac_header_compiler" >&6; } 2071 2072 # Is the header present? 2073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2074 $as_echo_n "checking $2 presence... " >&6; } 2075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2076 /* end confdefs.h. */ 2077 #include <$2> 2078 _ACEOF 2079 if ac_fn_c_try_cpp "$LINENO"; then : 2080 ac_header_preproc=yes 2081 else 2082 ac_header_preproc=no 2083 fi 2084 rm -f conftest.err conftest.i conftest.$ac_ext 2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2086 $as_echo "$ac_header_preproc" >&6; } 2087 2088 # So? What about this header? 2089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2090 yes:no: ) 2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2092 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2094 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2095 ;; 2096 no:yes:* ) 2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2098 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2100 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2102 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2104 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2106 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2107 ;; 2108 esac 2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2110 $as_echo_n "checking for $2... " >&6; } 2111 if eval \${$3+:} false; then : 2112 $as_echo_n "(cached) " >&6 2113 else 2114 eval "$3=\$ac_header_compiler" 2115 fi 2116 eval ac_res=\$$3 2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2118 $as_echo "$ac_res" >&6; } 2119 fi 2120 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2121 2122 } # ac_fn_c_check_header_mongrel 2123 2124 # ac_fn_c_try_run LINENO 2125 # ---------------------- 2126 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2127 # that executables *can* be run. 2128 ac_fn_c_try_run () 2129 { 2130 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2131 if { { ac_try="$ac_link" 2132 case "(($ac_try" in 2133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2134 *) ac_try_echo=$ac_try;; 2135 esac 2136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2137 $as_echo "$ac_try_echo"; } >&5 2138 (eval "$ac_link") 2>&5 2139 ac_status=$? 2140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2141 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2142 { { case "(($ac_try" in 2143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2144 *) ac_try_echo=$ac_try;; 2145 esac 2146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2147 $as_echo "$ac_try_echo"; } >&5 2148 (eval "$ac_try") 2>&5 2149 ac_status=$? 2150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2151 test $ac_status = 0; }; }; then : 2152 ac_retval=0 2153 else 2154 $as_echo "$as_me: program exited with status $ac_status" >&5 2155 $as_echo "$as_me: failed program was:" >&5 2156 sed 's/^/| /' conftest.$ac_ext >&5 2157 2158 ac_retval=$ac_status 2159 fi 2160 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2162 as_fn_set_status $ac_retval 2163 2164 } # ac_fn_c_try_run 2165 2166 # ac_fn_c_try_link LINENO 2167 # ----------------------- 2168 # Try to link conftest.$ac_ext, and return whether this succeeded. 2169 ac_fn_c_try_link () 2170 { 2171 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2172 rm -f conftest.$ac_objext conftest$ac_exeext 2173 if { { ac_try="$ac_link" 2174 case "(($ac_try" in 2175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2176 *) ac_try_echo=$ac_try;; 2177 esac 2178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2179 $as_echo "$ac_try_echo"; } >&5 2180 (eval "$ac_link") 2>conftest.err 2181 ac_status=$? 2182 if test -s conftest.err; then 2183 grep -v '^ *+' conftest.err >conftest.er1 2184 cat conftest.er1 >&5 2185 mv -f conftest.er1 conftest.err 2186 fi 2187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2188 test $ac_status = 0; } && { 2189 test -z "$ac_c_werror_flag" || 2190 test ! -s conftest.err 2191 } && test -s conftest$ac_exeext && { 2192 test "$cross_compiling" = yes || 2193 test -x conftest$ac_exeext 2194 }; then : 2195 ac_retval=0 2196 else 2197 $as_echo "$as_me: failed program was:" >&5 2198 sed 's/^/| /' conftest.$ac_ext >&5 2199 2200 ac_retval=1 2201 fi 2202 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2203 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2204 # interfere with the next link command; also delete a directory that is 2205 # left behind by Apple's compiler. We do this before executing the actions. 2206 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2207 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2208 as_fn_set_status $ac_retval 2209 2210 } # ac_fn_c_try_link 2211 2212 # ac_fn_c_check_func LINENO FUNC VAR 2213 # ---------------------------------- 2214 # Tests whether FUNC exists, setting the cache variable VAR accordingly 2215 ac_fn_c_check_func () 2216 { 2217 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2219 $as_echo_n "checking for $2... " >&6; } 2220 if eval \${$3+:} false; then : 2221 $as_echo_n "(cached) " >&6 2222 else 2223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2224 /* end confdefs.h. */ 2225 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2226 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2227 #define $2 innocuous_$2 2228 2229 /* System header to define __stub macros and hopefully few prototypes, 2230 which can conflict with char $2 (); below. 2231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2232 <limits.h> exists even on freestanding compilers. */ 2233 2234 #ifdef __STDC__ 2235 # include <limits.h> 2236 #else 2237 # include <assert.h> 2238 #endif 2239 2240 #undef $2 2241 2242 /* Override any GCC internal prototype to avoid an error. 2243 Use char because int might match the return type of a GCC 2244 builtin and then its argument prototype would still apply. */ 2245 #ifdef __cplusplus 2246 extern "C" 2247 #endif 2248 char $2 (); 2249 /* The GNU C library defines this for functions which it implements 2250 to always fail with ENOSYS. Some functions are actually named 2251 something starting with __ and the normal name is an alias. */ 2252 #if defined __stub_$2 || defined __stub___$2 2253 choke me 2254 #endif 2255 2256 int 2257 main () 2258 { 2259 return $2 (); 2260 ; 2261 return 0; 2262 } 2263 _ACEOF 2264 if ac_fn_c_try_link "$LINENO"; then : 2265 eval "$3=yes" 2266 else 2267 eval "$3=no" 2268 fi 2269 rm -f core conftest.err conftest.$ac_objext \ 2270 conftest$ac_exeext conftest.$ac_ext 2271 fi 2272 eval ac_res=\$$3 2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2274 $as_echo "$ac_res" >&6; } 2275 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2276 2277 } # ac_fn_c_check_func 2278 2279 # ac_fn_cxx_check_func LINENO FUNC VAR 2280 # ------------------------------------ 2281 # Tests whether FUNC exists, setting the cache variable VAR accordingly 2282 ac_fn_cxx_check_func () 2283 { 2284 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2286 $as_echo_n "checking for $2... " >&6; } 2287 if eval \${$3+:} false; then : 2288 $as_echo_n "(cached) " >&6 2289 else 2290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2291 /* end confdefs.h. */ 2292 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2293 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2294 #define $2 innocuous_$2 2295 2296 /* System header to define __stub macros and hopefully few prototypes, 2297 which can conflict with char $2 (); below. 2298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2299 <limits.h> exists even on freestanding compilers. */ 2300 2301 #ifdef __STDC__ 2302 # include <limits.h> 2303 #else 2304 # include <assert.h> 2305 #endif 2306 2307 #undef $2 2308 2309 /* Override any GCC internal prototype to avoid an error. 2310 Use char because int might match the return type of a GCC 2311 builtin and then its argument prototype would still apply. */ 2312 #ifdef __cplusplus 2313 extern "C" 2314 #endif 2315 char $2 (); 2316 /* The GNU C library defines this for functions which it implements 2317 to always fail with ENOSYS. Some functions are actually named 2318 something starting with __ and the normal name is an alias. */ 2319 #if defined __stub_$2 || defined __stub___$2 2320 choke me 2321 #endif 2322 2323 int 2324 main () 2325 { 2326 return $2 (); 2327 ; 2328 return 0; 2329 } 2330 _ACEOF 2331 if ac_fn_cxx_try_link "$LINENO"; then : 2332 eval "$3=yes" 2333 else 2334 eval "$3=no" 2335 fi 2336 rm -f core conftest.err conftest.$ac_objext \ 2337 conftest$ac_exeext conftest.$ac_ext 2338 fi 2339 eval ac_res=\$$3 2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2341 $as_echo "$ac_res" >&6; } 2342 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2343 2344 } # ac_fn_cxx_check_func 2345 2346 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2347 # ------------------------------------------- 2348 # Tests whether TYPE exists after having included INCLUDES, setting cache 2349 # variable VAR accordingly. 2350 ac_fn_c_check_type () 2351 { 2352 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2354 $as_echo_n "checking for $2... " >&6; } 2355 if eval \${$3+:} false; then : 2356 $as_echo_n "(cached) " >&6 2357 else 2358 eval "$3=no" 2359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2360 /* end confdefs.h. */ 2361 $4 2362 int 2363 main () 2364 { 2365 if (sizeof ($2)) 2366 return 0; 2367 ; 2368 return 0; 2369 } 2370 _ACEOF 2371 if ac_fn_c_try_compile "$LINENO"; then : 2372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2373 /* end confdefs.h. */ 2374 $4 2375 int 2376 main () 2377 { 2378 if (sizeof (($2))) 2379 return 0; 2380 ; 2381 return 0; 2382 } 2383 _ACEOF 2384 if ac_fn_c_try_compile "$LINENO"; then : 2385 2386 else 2387 eval "$3=yes" 2388 fi 2389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2390 fi 2391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2392 fi 2393 eval ac_res=\$$3 2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2395 $as_echo "$ac_res" >&6; } 2396 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2397 2398 } # ac_fn_c_check_type 2399 2400 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2401 # ------------------------------------------------------- 2402 # Tests whether HEADER exists and can be compiled using the include files in 2403 # INCLUDES, setting the cache variable VAR accordingly. 2404 ac_fn_c_check_header_compile () 2405 { 2406 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2408 $as_echo_n "checking for $2... " >&6; } 2409 if eval \${$3+:} false; then : 2410 $as_echo_n "(cached) " >&6 2411 else 2412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2413 /* end confdefs.h. */ 2414 $4 2415 #include <$2> 2416 _ACEOF 2417 if ac_fn_c_try_compile "$LINENO"; then : 2418 eval "$3=yes" 2419 else 2420 eval "$3=no" 2421 fi 2422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2423 fi 2424 eval ac_res=\$$3 2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2426 $as_echo "$ac_res" >&6; } 2427 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2428 2429 } # ac_fn_c_check_header_compile 2430 2431 # ac_fn_f77_try_link LINENO 2432 # ------------------------- 2433 # Try to link conftest.$ac_ext, and return whether this succeeded. 2434 ac_fn_f77_try_link () 2435 { 2436 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2437 rm -f conftest.$ac_objext conftest$ac_exeext 2438 if { { ac_try="$ac_link" 2439 case "(($ac_try" in 2440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2441 *) ac_try_echo=$ac_try;; 2442 esac 2443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2444 $as_echo "$ac_try_echo"; } >&5 2445 (eval "$ac_link") 2>conftest.err 2446 ac_status=$? 2447 if test -s conftest.err; then 2448 grep -v '^ *+' conftest.err >conftest.er1 2449 cat conftest.er1 >&5 2450 mv -f conftest.er1 conftest.err 2451 fi 2452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2453 test $ac_status = 0; } && { 2454 test -z "$ac_f77_werror_flag" || 2455 test ! -s conftest.err 2456 } && test -s conftest$ac_exeext && { 2457 test "$cross_compiling" = yes || 2458 test -x conftest$ac_exeext 2459 }; then : 2460 ac_retval=0 2461 else 2462 $as_echo "$as_me: failed program was:" >&5 2463 sed 's/^/| /' conftest.$ac_ext >&5 2464 2465 ac_retval=1 2466 fi 2467 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2468 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2469 # interfere with the next link command; also delete a directory that is 2470 # left behind by Apple's compiler. We do this before executing the actions. 2471 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2472 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2473 as_fn_set_status $ac_retval 2474 2475 } # ac_fn_f77_try_link 2476 cat >config.log <<_ACEOF 1200 2477 This file contains any messages produced by compilers while 1201 2478 running configure, to aid debugging if configure makes a mistake. 1202 2479 1203 2480 It was created by $as_me, which was 1204 generated by GNU Autoconf 2. 59. Invocation command line was2481 generated by GNU Autoconf 2.69. Invocation command line was 1205 2482 1206 2483 $ $0 $@ 1207 2484 1208 2485 _ACEOF 2486 exec 5>>config.log 1209 2487 { 1210 2488 cat <<_ASUNAME … … 1225 2503 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1226 2504 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1227 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`2505 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1228 2506 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1229 2507 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1237 2515 IFS=$as_save_IFS 1238 2516 test -z "$as_dir" && as_dir=. 1239 echo "PATH: $as_dir" 1240 done 2517 $as_echo "PATH: $as_dir" 2518 done 2519 IFS=$as_save_IFS 1241 2520 1242 2521 } >&5 … … 1260 2539 ac_configure_args0= 1261 2540 ac_configure_args1= 1262 ac_sep=1263 2541 ac_must_keep_next=false 1264 2542 for ac_pass in 1 2 … … 1271 2549 | -silent | --silent | --silen | --sile | --sil) 1272 2550 continue ;; 1273 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1274 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2551 *\'*) 2552 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1275 2553 esac 1276 2554 case $ac_pass in 1277 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2555 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1278 2556 2) 1279 a c_configure_args1="$ac_configure_args1'$ac_arg'"2557 as_fn_append ac_configure_args1 " '$ac_arg'" 1280 2558 if test $ac_must_keep_next = true; then 1281 2559 ac_must_keep_next=false # Got value, back to normal. … … 1293 2571 esac 1294 2572 fi 1295 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1296 # Get rid of the leading space. 1297 ac_sep=" " 2573 as_fn_append ac_configure_args " '$ac_arg'" 1298 2574 ;; 1299 2575 esac 1300 2576 done 1301 2577 done 1302 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1303 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2578 { ac_configure_args0=; unset ac_configure_args0;} 2579 { ac_configure_args1=; unset ac_configure_args1;} 1304 2580 1305 2581 # When interrupted or exit'd, cleanup temporary files, and complete 1306 2582 # config.log. We remove comments because anyway the quotes in there 1307 2583 # would cause problems or look ugly. 1308 # WARNING: Be sure not to use single quotes in there, as some shells,1309 # such as our DU 5.0 friend, will then `close' the trap.2584 # WARNING: Use '\'' to represent an apostrophe within the trap. 2585 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1310 2586 trap 'exit_status=$? 1311 2587 # Save into config.log some information that might help in debugging. … … 1313 2589 echo 1314 2590 1315 cat <<\_ASBOX 1316 ## ---------------- ## 2591 $as_echo "## ---------------- ## 1317 2592 ## Cache variables. ## 1318 ## ---------------- ## 1319 _ASBOX 2593 ## ---------------- ##" 1320 2594 echo 1321 2595 # The following way of writing the cache mishandles newlines in values, 1322 { 2596 ( 2597 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2598 eval ac_val=\$$ac_var 2599 case $ac_val in #( 2600 *${as_nl}*) 2601 case $ac_var in #( 2602 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2603 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2604 esac 2605 case $ac_var in #( 2606 _ | IFS | as_nl) ;; #( 2607 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2608 *) { eval $ac_var=; unset $ac_var;} ;; 2609 esac ;; 2610 esac 2611 done 1323 2612 (set) 2>&1 | 1324 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1325 * ac_space=\ *)2613 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2614 *${as_nl}ac_space=\ *) 1326 2615 sed -n \ 1327 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 2616 "s/'\''/'\''\\\\'\'''\''/g; 2617 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2618 ;; #( 2619 *) 2620 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1329 2621 ;; 1330 *) 1331 sed -n \ 1332 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1333 ;; 1334 esac; 1335 } 2622 esac | 2623 sort 2624 ) 1336 2625 echo 1337 2626 1338 cat <<\_ASBOX 1339 ## ----------------- ## 2627 $as_echo "## ----------------- ## 1340 2628 ## Output variables. ## 1341 ## ----------------- ## 1342 _ASBOX 2629 ## ----------------- ##" 1343 2630 echo 1344 2631 for ac_var in $ac_subst_vars 1345 2632 do 1346 eval ac_val=$`echo $ac_var` 1347 echo "$ac_var='"'"'$ac_val'"'"'" 2633 eval ac_val=\$$ac_var 2634 case $ac_val in 2635 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2636 esac 2637 $as_echo "$ac_var='\''$ac_val'\''" 1348 2638 done | sort 1349 2639 echo 1350 2640 1351 2641 if test -n "$ac_subst_files"; then 1352 cat <<\_ASBOX 1353 ## ------------- ## 1354 ## Output files. ## 1355 ## ------------- ## 1356 _ASBOX 2642 $as_echo "## ------------------- ## 2643 ## File substitutions. ## 2644 ## ------------------- ##" 1357 2645 echo 1358 2646 for ac_var in $ac_subst_files 1359 2647 do 1360 eval ac_val=$`echo $ac_var` 1361 echo "$ac_var='"'"'$ac_val'"'"'" 2648 eval ac_val=\$$ac_var 2649 case $ac_val in 2650 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2651 esac 2652 $as_echo "$ac_var='\''$ac_val'\''" 1362 2653 done | sort 1363 2654 echo … … 1365 2656 1366 2657 if test -s confdefs.h; then 1367 cat <<\_ASBOX 1368 ## ----------- ## 2658 $as_echo "## ----------- ## 1369 2659 ## confdefs.h. ## 1370 ## ----------- ## 1371 _ASBOX 2660 ## ----------- ##" 1372 2661 echo 1373 sed "/^$/d" confdefs.h | sort2662 cat confdefs.h 1374 2663 echo 1375 2664 fi 1376 2665 test "$ac_signal" != 0 && 1377 echo "$as_me: caught signal $ac_signal"1378 echo "$as_me: exit $exit_status"2666 $as_echo "$as_me: caught signal $ac_signal" 2667 $as_echo "$as_me: exit $exit_status" 1379 2668 } >&5 1380 rm -f core *.core &&1381 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&2669 rm -f core *.core core.conftest.* && 2670 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1382 2671 exit $exit_status 1383 ' 02672 ' 0 1384 2673 for ac_signal in 1 2 13 15; do 1385 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2674 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1386 2675 done 1387 2676 ac_signal=0 1388 2677 1389 2678 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1390 rm - rfconftest* confdefs.h1391 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1392 echo >confdefs.h2679 rm -f -r conftest* confdefs.h 2680 2681 $as_echo "/* confdefs.h */" > confdefs.h 1393 2682 1394 2683 # Predefined preprocessor variables. … … 1398 2687 _ACEOF 1399 2688 1400 1401 2689 cat >>confdefs.h <<_ACEOF 1402 2690 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1403 2691 _ACEOF 1404 2692 1405 1406 2693 cat >>confdefs.h <<_ACEOF 1407 2694 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1408 2695 _ACEOF 1409 2696 1410 1411 2697 cat >>confdefs.h <<_ACEOF 1412 2698 #define PACKAGE_STRING "$PACKAGE_STRING" 1413 2699 _ACEOF 1414 2700 1415 1416 2701 cat >>confdefs.h <<_ACEOF 1417 2702 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1418 2703 _ACEOF 1419 2704 2705 cat >>confdefs.h <<_ACEOF 2706 #define PACKAGE_URL "$PACKAGE_URL" 2707 _ACEOF 2708 1420 2709 1421 2710 # Let the site file select an alternate cache file if it wants to. 1422 # Prefer explicitly selected file to automatically selected ones. 1423 if test -z "$CONFIG_SITE"; then 1424 if test "x$prefix" != xNONE; then 1425 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1426 else 1427 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1428 fi 1429 fi 1430 for ac_site_file in $CONFIG_SITE; do 1431 if test -r "$ac_site_file"; then 1432 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1433 echo "$as_me: loading site script $ac_site_file" >&6;} 2711 # Prefer an explicitly selected file to automatically selected ones. 2712 ac_site_file1=NONE 2713 ac_site_file2=NONE 2714 if test -n "$CONFIG_SITE"; then 2715 # We do not want a PATH search for config.site. 2716 case $CONFIG_SITE in #(( 2717 -*) ac_site_file1=./$CONFIG_SITE;; 2718 */*) ac_site_file1=$CONFIG_SITE;; 2719 *) ac_site_file1=./$CONFIG_SITE;; 2720 esac 2721 elif test "x$prefix" != xNONE; then 2722 ac_site_file1=$prefix/share/config.site 2723 ac_site_file2=$prefix/etc/config.site 2724 else 2725 ac_site_file1=$ac_default_prefix/share/config.site 2726 ac_site_file2=$ac_default_prefix/etc/config.site 2727 fi 2728 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2729 do 2730 test "x$ac_site_file" = xNONE && continue 2731 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2732 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2733 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1434 2734 sed 's/^/| /' "$ac_site_file" >&5 1435 . "$ac_site_file" 2735 . "$ac_site_file" \ 2736 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2738 as_fn_error $? "failed to load site script $ac_site_file 2739 See \`config.log' for more details" "$LINENO" 5; } 1436 2740 fi 1437 2741 done … … 1441 2745 # value. 1442 2746 ac_cache_corrupted=false 1443 for ac_var in `(set) 2>&1 | 1444 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 2747 for ac_var in $ac_precious_vars; do 1445 2748 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1446 2749 eval ac_new_set=\$ac_env_${ac_var}_set 1447 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1448 eval ac_new_val= "\$ac_env_${ac_var}_value"2750 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2751 eval ac_new_val=\$ac_env_${ac_var}_value 1449 2752 case $ac_old_set,$ac_new_set in 1450 2753 set,) 1451 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51452 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2754 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2755 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1453 2756 ac_cache_corrupted=: ;; 1454 2757 ,set) 1455 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51456 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2758 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2759 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1457 2760 ac_cache_corrupted=: ;; 1458 2761 ,);; 1459 2762 *) 1460 2763 if test "x$ac_old_val" != "x$ac_new_val"; then 1461 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1462 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1463 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1464 echo "$as_me: former value: $ac_old_val" >&2;} 1465 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1466 echo "$as_me: current value: $ac_new_val" >&2;} 1467 ac_cache_corrupted=: 2764 # differences in whitespace do not lead to failure. 2765 ac_old_val_w=`echo x $ac_old_val` 2766 ac_new_val_w=`echo x $ac_new_val` 2767 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2768 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2769 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2770 ac_cache_corrupted=: 2771 else 2772 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2773 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2774 eval $ac_var=\$ac_old_val 2775 fi 2776 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2777 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2778 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2779 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1468 2780 fi;; 1469 2781 esac … … 1471 2783 if test "$ac_new_set" = set; then 1472 2784 case $ac_new_val in 1473 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1474 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2785 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1475 2786 *) ac_arg=$ac_var=$ac_new_val ;; 1476 2787 esac 1477 2788 case " $ac_configure_args " in 1478 2789 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1479 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2790 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1480 2791 esac 1481 2792 fi 1482 2793 done 1483 2794 if $ac_cache_corrupted; then 1484 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1485 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1486 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1487 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1488 { (exit 1); exit 1; }; } 1489 fi 2795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2797 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2798 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2799 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2800 fi 2801 ## -------------------- ## 2802 ## Main body of script. ## 2803 ## -------------------- ## 1490 2804 1491 2805 ac_ext=c … … 1497 2811 1498 2812 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 ac_config_headers="$ac_config_headers src/lib/scconfig.h" 2813 ac_config_headers="$ac_config_headers src/lib/scconfig.h" 1517 2814 1518 2815 ac_aux_dir= 1519 for ac_dir in bin $srcdir/bin; do1520 if test -f $ac_dir/install-sh; then2816 for ac_dir in bin "$srcdir"/bin; do 2817 if test -f "$ac_dir/install-sh"; then 1521 2818 ac_aux_dir=$ac_dir 1522 2819 ac_install_sh="$ac_aux_dir/install-sh -c" 1523 2820 break 1524 elif test -f $ac_dir/install.sh; then2821 elif test -f "$ac_dir/install.sh"; then 1525 2822 ac_aux_dir=$ac_dir 1526 2823 ac_install_sh="$ac_aux_dir/install.sh -c" 1527 2824 break 1528 elif test -f $ac_dir/shtool; then2825 elif test -f "$ac_dir/shtool"; then 1529 2826 ac_aux_dir=$ac_dir 1530 2827 ac_install_sh="$ac_aux_dir/shtool install -c" … … 1533 2830 done 1534 2831 if test -z "$ac_aux_dir"; then 1535 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in bin $srcdir/bin" >&5 1536 echo "$as_me: error: cannot find install-sh or install.sh in bin $srcdir/bin" >&2;} 1537 { (exit 1); exit 1; }; } 1538 fi 1539 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1540 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1541 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 2832 as_fn_error $? "cannot find install-sh, install.sh, or shtool in bin \"$srcdir\"/bin" "$LINENO" 5 2833 fi 2834 2835 # These three variables are undocumented and unsupported, 2836 # and are intended to be withdrawn in a future Autoconf release. 2837 # They can cause serious problems if a builder's source tree is in a directory 2838 # whose full name contains unusual characters. 2839 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2840 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2841 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2842 1542 2843 1543 2844 1544 2845 # Make sure we can run config.sub. 1545 $ac_config_sub sun4 >/dev/null 2>&1 || 1546 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1547 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1548 { (exit 1); exit 1; }; } 1549 1550 echo "$as_me:$LINENO: checking build system type" >&5 1551 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1552 if test "${ac_cv_build+set}" = set; then 1553 echo $ECHO_N "(cached) $ECHO_C" >&6 1554 else 1555 ac_cv_build_alias=$build_alias 1556 test -z "$ac_cv_build_alias" && 1557 ac_cv_build_alias=`$ac_config_guess` 1558 test -z "$ac_cv_build_alias" && 1559 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1560 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1561 { (exit 1); exit 1; }; } 1562 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1563 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1564 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1565 { (exit 1); exit 1; }; } 1566 1567 fi 1568 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1569 echo "${ECHO_T}$ac_cv_build" >&6 2846 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2847 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2848 2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2850 $as_echo_n "checking build system type... " >&6; } 2851 if ${ac_cv_build+:} false; then : 2852 $as_echo_n "(cached) " >&6 2853 else 2854 ac_build_alias=$build_alias 2855 test "x$ac_build_alias" = x && 2856 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2857 test "x$ac_build_alias" = x && 2858 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2859 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2860 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2861 2862 fi 2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2864 $as_echo "$ac_cv_build" >&6; } 2865 case $ac_cv_build in 2866 *-*-*) ;; 2867 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2868 esac 1570 2869 build=$ac_cv_build 1571 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1572 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1573 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1574 1575 1576 echo "$as_me:$LINENO: checking host system type" >&5 1577 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1578 if test "${ac_cv_host+set}" = set; then 1579 echo $ECHO_N "(cached) $ECHO_C" >&6 1580 else 1581 ac_cv_host_alias=$host_alias 1582 test -z "$ac_cv_host_alias" && 1583 ac_cv_host_alias=$ac_cv_build_alias 1584 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1585 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1586 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1587 { (exit 1); exit 1; }; } 1588 1589 fi 1590 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1591 echo "${ECHO_T}$ac_cv_host" >&6 2870 ac_save_IFS=$IFS; IFS='-' 2871 set x $ac_cv_build 2872 shift 2873 build_cpu=$1 2874 build_vendor=$2 2875 shift; shift 2876 # Remember, the first character of IFS is used to create $*, 2877 # except with old shells: 2878 build_os=$* 2879 IFS=$ac_save_IFS 2880 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2881 2882 2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2884 $as_echo_n "checking host system type... " >&6; } 2885 if ${ac_cv_host+:} false; then : 2886 $as_echo_n "(cached) " >&6 2887 else 2888 if test "x$host_alias" = x; then 2889 ac_cv_host=$ac_cv_build 2890 else 2891 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2892 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2893 fi 2894 2895 fi 2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2897 $as_echo "$ac_cv_host" >&6; } 2898 case $ac_cv_host in 2899 *-*-*) ;; 2900 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2901 esac 1592 2902 host=$ac_cv_host 1593 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1594 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1595 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1596 1597 1598 echo "$as_me:$LINENO: checking target system type" >&5 1599 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1600 if test "${ac_cv_target+set}" = set; then 1601 echo $ECHO_N "(cached) $ECHO_C" >&6 1602 else 1603 ac_cv_target_alias=$target_alias 1604 test "x$ac_cv_target_alias" = "x" && 1605 ac_cv_target_alias=$ac_cv_host_alias 1606 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1607 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1608 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1609 { (exit 1); exit 1; }; } 1610 1611 fi 1612 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1613 echo "${ECHO_T}$ac_cv_target" >&6 2903 ac_save_IFS=$IFS; IFS='-' 2904 set x $ac_cv_host 2905 shift 2906 host_cpu=$1 2907 host_vendor=$2 2908 shift; shift 2909 # Remember, the first character of IFS is used to create $*, 2910 # except with old shells: 2911 host_os=$* 2912 IFS=$ac_save_IFS 2913 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2914 2915 2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2917 $as_echo_n "checking target system type... " >&6; } 2918 if ${ac_cv_target+:} false; then : 2919 $as_echo_n "(cached) " >&6 2920 else 2921 if test "x$target_alias" = x; then 2922 ac_cv_target=$ac_cv_host 2923 else 2924 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2925 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2926 fi 2927 2928 fi 2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2930 $as_echo "$ac_cv_target" >&6; } 2931 case $ac_cv_target in 2932 *-*-*) ;; 2933 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2934 esac 1614 2935 target=$ac_cv_target 1615 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1616 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1617 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2936 ac_save_IFS=$IFS; IFS='-' 2937 set x $ac_cv_target 2938 shift 2939 target_cpu=$1 2940 target_vendor=$2 2941 shift; shift 2942 # Remember, the first character of IFS is used to create $*, 2943 # except with old shells: 2944 target_os=$* 2945 IFS=$ac_save_IFS 2946 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1618 2947 1619 2948 … … 1625 2954 program_prefix=${target_alias}- 1626 2955 2956 2957 1627 2958 cat >>confdefs.h <<_ACEOF 1628 2959 #define HOST_ARCH "$host" 1629 2960 _ACEOF 1630 2961 2962 1631 2963 cat >>confdefs.h <<_ACEOF 1632 2964 #define TARGET_ARCH "$target" … … 1645 2977 SC_MINOR_VERSION=`echo $SC_MMM_VERSION|sed 's/[0-9]*\.\([0-9]*\)\.[0-9]*/\1/'` 1646 2978 SC_MICRO_VERSION=`echo $SC_MMM_VERSION|sed 's/[0-9]*\.[0-9]*\.\([0-9]*\)/\1/'` 2979 1647 2980 cat >>confdefs.h <<_ACEOF 1648 2981 #define SC_MAJOR_VERSION $SC_MAJOR_VERSION 1649 2982 _ACEOF 1650 2983 2984 1651 2985 cat >>confdefs.h <<_ACEOF 1652 2986 #define SC_MINOR_VERSION $SC_MINOR_VERSION 1653 2987 _ACEOF 1654 2988 2989 1655 2990 cat >>confdefs.h <<_ACEOF 1656 2991 #define SC_MICRO_VERSION $SC_MICRO_VERSION … … 1661 2996 1662 2997 1663 # Check whether --enable-debug or --disable-debug was given. 1664 if test "${enable_debug+set}" = set; then 1665 enableval="$enable_debug" 1666 2998 # Check whether --enable-debug was given. 2999 if test "${enable_debug+set}" = set; then : 3000 enableval=$enable_debug; 1667 3001 case $enableval in 1668 3002 yes) … … 1676 3010 ;; 1677 3011 *) 1678 { { echo "$as_me:$LINENO: error: Invalid value for --enable-debug ($enableval)" >&5 1679 echo "$as_me: error: Invalid value for --enable-debug ($enableval)" >&2;} 1680 { (exit 1); exit 1; }; } 3012 as_fn_error $? "Invalid value for --enable-debug ($enableval)" "$LINENO" 5 1681 3013 ;; 1682 3014 esac … … 1687 3019 1688 3020 1689 fi ;1690 1691 # Check whether --enable-strict-arch or --disable-strict-arch was given. 1692 if test "${enable_strict_arch+set}" = set; then 1693 enableval="$enable_strict_arch" 1694 3021 fi 3022 3023 3024 # Check whether --enable-strict-arch was given. 3025 if test "${enable_strict_arch+set}" = set; then : 3026 enableval=$enable_strict_arch; 1695 3027 case $enableval in 1696 3028 yes) … … 1701 3033 ;; 1702 3034 *) 1703 { { echo "$as_me:$LINENO: error: Invalid value for --enable-strict-arch ($enableval)" >&5 1704 echo "$as_me: error: Invalid value for --enable-strict-arch ($enableval)" >&2;} 1705 { (exit 1); exit 1; }; } 3035 as_fn_error $? "Invalid value for --enable-strict-arch ($enableval)" "$LINENO" 5 1706 3036 ;; 1707 3037 esac … … 1712 3042 1713 3043 1714 fi; 3044 fi 3045 1715 3046 1716 3047 enableproduction=no 1717 # Check whether --enable-production or --disable-production was given. 1718 if test "${enable_production+set}" = set; then 1719 enableval="$enable_production" 1720 3048 # Check whether --enable-production was given. 3049 if test "${enable_production+set}" = set; then : 3050 enableval=$enable_production; 1721 3051 case $enableval in 1722 3052 yes) … … 1726 3056 ;; 1727 3057 *) 1728 { { echo "$as_me:$LINENO: error: Invalid value for --enable-production ($enableval)" >&5 1729 echo "$as_me: error: Invalid value for --enable-production ($enableval)" >&2;} 1730 { (exit 1); exit 1; }; } 3058 as_fn_error $? "Invalid value for --enable-production ($enableval)" "$LINENO" 5 1731 3059 ;; 1732 3060 esac 1733 3061 1734 fi ;1735 1736 # Check whether --enable-sysv-ipc or --disable-sysv-ipc was given. 1737 if test "${enable_sysv_ipc+set}" = set; then 1738 enableval="$enable_sysv_ipc" 1739 3062 fi 3063 3064 3065 # Check whether --enable-sysv-ipc was given. 3066 if test "${enable_sysv_ipc+set}" = set; then : 3067 enableval=$enable_sysv_ipc; 1740 3068 case $enableval in 1741 3069 yes) … … 1746 3074 ;; 1747 3075 *) 1748 { { echo "$as_me:$LINENO: error: Invalid value for --enable-sysv-ipc ($enableval)" >&5 1749 echo "$as_me: error: Invalid value for --enable-sysv-ipc ($enableval)" >&2;} 1750 { (exit 1); exit 1; }; } 3076 as_fn_error $? "Invalid value for --enable-sysv-ipc ($enableval)" "$LINENO" 5 1751 3077 ;; 1752 3078 esac … … 1757 3083 1758 3084 1759 fi ;1760 1761 # Check whether --enable-parallel or --disable-parallel was given. 1762 if test "${enable_parallel+set}" = set; then 1763 enableval="$enable_parallel" 1764 3085 fi 3086 3087 3088 # Check whether --enable-parallel was given. 3089 if test "${enable_parallel+set}" = set; then : 3090 enableval=$enable_parallel; 1765 3091 case $enableval in 1766 3092 yes) … … 1771 3097 ;; 1772 3098 *) 1773 { { echo "$as_me:$LINENO: error: Invalid value for --enable-parallel ($enableval)" >&5 1774 echo "$as_me: error: Invalid value for --enable-parallel ($enableval)" >&2;} 1775 { (exit 1); exit 1; }; } 3099 as_fn_error $? "Invalid value for --enable-parallel ($enableval)" "$LINENO" 5 1776 3100 ;; 1777 3101 esac … … 1782 3106 1783 3107 1784 fi ;1785 1786 # Check whether --enable-always-use-mpi or --disable-always-use-mpi was given. 1787 if test "${enable_always_use_mpi+set}" = set; then 1788 enableval="$enable_always_use_mpi" 1789 3108 fi 3109 3110 3111 # Check whether --enable-always-use-mpi was given. 3112 if test "${enable_always_use_mpi+set}" = set; then : 3113 enableval=$enable_always_use_mpi; 1790 3114 case $enableval in 1791 3115 yes) … … 1796 3120 ;; 1797 3121 *) 1798 { { echo "$as_me:$LINENO: error: Invalid value for --enable-always-use-mpi ($enableval)" >&5 1799 echo "$as_me: error: Invalid value for --enable-always-use-mpi ($enableval)" >&2;} 1800 { (exit 1); exit 1; }; } 3122 as_fn_error $? "Invalid value for --enable-always-use-mpi ($enableval)" "$LINENO" 5 1801 3123 ;; 1802 3124 esac … … 1807 3129 1808 3130 1809 fi; 3131 fi 3132 1810 3133 1811 3134 DEFAULT_PARALLEL=none 1812 3135 1813 # Check whether --with-default-parallel or --without-default-parallelwas given.1814 if test "${with_default_parallel+set}" = set; then 1815 withval= "$with_default_parallel"1816 DEFAULT_PARALLEL=$withval 1817 1818 fi; 3136 # Check whether --with-default-parallel was given. 3137 if test "${with_default_parallel+set}" = set; then : 3138 withval=$with_default_parallel; DEFAULT_PARALLEL=$withval 3139 3140 fi 3141 1819 3142 if test $DEFAULT_PARALLEL = mpi; then 1820 cat >>confdefs.h <<\_ACEOF 1821 #define DEFAULT_MPI 1 1822 _ACEOF 3143 3144 $as_echo "#define DEFAULT_MPI 1" >>confdefs.h 1823 3145 1824 3146 elif test $DEFAULT_PARALLEL = mtmpi; then 1825 cat >>confdefs.h <<\_ACEOF 1826 #define DEFAULT_MPI 1 1827 _ACEOF 1828 1829 cat >>confdefs.h <<\_ACEOF 1830 #define DEFAULT_MTMPI 1 1831 _ACEOF 3147 3148 $as_echo "#define DEFAULT_MPI 1" >>confdefs.h 3149 3150 3151 $as_echo "#define DEFAULT_MTMPI 1" >>confdefs.h 1832 3152 1833 3153 elif test $DEFAULT_PARALLEL = armcimpi; then 1834 cat >>confdefs.h <<\_ACEOF 1835 #define DEFAULT_MPI 1 1836 _ACEOF 1837 1838 cat >>confdefs.h <<\_ACEOF 1839 #define DEFAULT_ARMCI 1 1840 _ACEOF 3154 3155 $as_echo "#define DEFAULT_MPI 1" >>confdefs.h 3156 3157 3158 $as_echo "#define DEFAULT_ARMCI 1" >>confdefs.h 1841 3159 1842 3160 fi … … 1844 3162 SC_MPI_THREAD_LEVEL=MPI_THREAD_MULTIPLE 1845 3163 1846 # Check whether --with-mpi-thread or --without-mpi-thread was given. 1847 if test "${with_mpi_thread+set}" = set; then 1848 withval="$with_mpi_thread" 1849 3164 # Check whether --with-mpi-thread was given. 3165 if test "${with_mpi_thread+set}" = set; then : 3166 withval=$with_mpi_thread; 1850 3167 case $withval in 1851 3168 multiple) … … 1862 3179 ;; 1863 3180 *) 1864 { { echo "$as_me:$LINENO: error: Invalid value for --with-mpi-thread ($withval)" >&5 1865 echo "$as_me: error: Invalid value for --with-mpi-thread ($withval)" >&2;} 1866 { (exit 1); exit 1; }; } 3181 as_fn_error $? "Invalid value for --with-mpi-thread ($withval)" "$LINENO" 5 1867 3182 ;; 1868 3183 esac 1869 3184 1870 3185 1871 fi; 3186 fi 3187 3188 1872 3189 cat >>confdefs.h <<_ACEOF 1873 3190 #define SC_MPI_THREAD_LEVEL $SC_MPI_THREAD_LEVEL … … 1875 3192 1876 3193 1877 # Check whether --enable-long-long or --disable-long-long was given. 1878 if test "${enable_long_long+set}" = set; then 1879 enableval="$enable_long_long" 1880 3194 # Check whether --enable-long-long was given. 3195 if test "${enable_long_long+set}" = set; then : 3196 enableval=$enable_long_long; 1881 3197 case $enableval in 1882 3198 yes) … … 1887 3203 ;; 1888 3204 *) 1889 { { echo "$as_me:$LINENO: error: Invalid value for --enable-long-long ($enableval)" >&5 1890 echo "$as_me: error: Invalid value for --enable-long-long ($enableval)" >&2;} 1891 { (exit 1); exit 1; }; } 3205 as_fn_error $? "Invalid value for --enable-long-long ($enableval)" "$LINENO" 5 1892 3206 ;; 1893 3207 esac … … 1898 3212 1899 3213 1900 fi ;1901 1902 # Check whether --enable-threads or --disable-threads was given. 1903 if test "${enable_threads+set}" = set; then 1904 enableval="$enable_threads" 1905 3214 fi 3215 3216 3217 # Check whether --enable-threads was given. 3218 if test "${enable_threads+set}" = set; then : 3219 enableval=$enable_threads; 1906 3220 case $enableval in 1907 3221 yes) … … 1912 3226 ;; 1913 3227 *) 1914 { { echo "$as_me:$LINENO: error: Invalid value for --enable-threads ($enableval)" >&5 1915 echo "$as_me: error: Invalid value for --enable-threads ($enableval)" >&2;} 1916 { (exit 1); exit 1; }; } 3228 as_fn_error $? "Invalid value for --enable-threads ($enableval)" "$LINENO" 5 1917 3229 ;; 1918 3230 esac … … 1923 3235 1924 3236 1925 fi ;1926 1927 # Check whether --enable-ref-debug or --disable-ref-debug was given. 1928 if test "${enable_ref_debug+set}" = set; then 1929 enableval="$enable_ref_debug" 1930 3237 fi 3238 3239 3240 # Check whether --enable-ref-debug was given. 3241 if test "${enable_ref_debug+set}" = set; then : 3242 enableval=$enable_ref_debug; 1931 3243 case $enableval in 1932 3244 yes) 1933 3245 ;; 1934 3246 no) 1935 cat >>confdefs.h <<\_ACEOF 1936 #define REF_OPTIMIZE 1 1937 _ACEOF 3247 3248 $as_echo "#define REF_OPTIMIZE 1" >>confdefs.h 1938 3249 1939 3250 ;; 1940 3251 *) 1941 { { echo "$as_me:$LINENO: error: Invalid value for --enable-ref-debug ($enableval)" >&5 1942 echo "$as_me: error: Invalid value for --enable-ref-debug ($enableval)" >&2;} 1943 { (exit 1); exit 1; }; } 3252 as_fn_error $? "Invalid value for --enable-ref-debug ($enableval)" "$LINENO" 5 1944 3253 ;; 1945 3254 esac … … 1948 3257 1949 3258 if test $DEBUG = no -o $DEBUG = opt; then 1950 cat >>confdefs.h <<\_ACEOF 1951 #define REF_OPTIMIZE 1 1952 _ACEOF 3259 3260 $as_echo "#define REF_OPTIMIZE 1" >>confdefs.h 1953 3261 1954 3262 fi 1955 3263 1956 3264 1957 fi ;1958 1959 # Check whether --enable-cross-compile or --disable-cross-compile was given. 1960 if test "${enable_cross_compile+set}" = set; then 1961 enableval="$enable_cross_compile" 1962 3265 fi 3266 3267 3268 # Check whether --enable-cross-compile was given. 3269 if test "${enable_cross_compile+set}" = set; then : 3270 enableval=$enable_cross_compile; 1963 3271 case $enableval in 1964 3272 yes) … … 1968 3276 ;; 1969 3277 *) 1970 { { echo "$as_me:$LINENO: error: Invalid value for --enable-cross-compile ($enableval)" >&5 1971 echo "$as_me: error: Invalid value for --enable-cross-compile ($enableval)" >&2;} 1972 { (exit 1); exit 1; }; } 3278 as_fn_error $? "Invalid value for --enable-cross-compile ($enableval)" "$LINENO" 5 1973 3279 ;; 1974 3280 esac 1975 3281 1976 fi; 3282 fi 3283 1977 3284 1978 3285 DOXYGEN_MAN=YES 1979 # Check whether --enable-doxygen-man or --disable-doxygen-man was given. 1980 if test "${enable_doxygen_man+set}" = set; then 1981 enableval="$enable_doxygen_man" 1982 3286 # Check whether --enable-doxygen-man was given. 3287 if test "${enable_doxygen_man+set}" = set; then : 3288 enableval=$enable_doxygen_man; 1983 3289 case $enableval in 1984 3290 yes) … … 1988 3294 ;; 1989 3295 *) 1990 { { echo "$as_me:$LINENO: error: Invalid value for --(dis|en)able-doxygen-man ($enableval)" >&5 1991 echo "$as_me: error: Invalid value for --(dis|en)able-doxygen-man ($enableval)" >&2;} 1992 { (exit 1); exit 1; }; } 3296 as_fn_error $? "Invalid value for --(dis|en)able-doxygen-man ($enableval)" "$LINENO" 5 1993 3297 ;; 1994 3298 esac 1995 3299 1996 3300 1997 fi ;1998 1999 2000 # Check whether --enable-sourceforge or --disable-sourceforge was given. 2001 if test "${enable_sourceforge+set}" = set; then 2002 enableval="$enable_sourceforge" 2003 3301 fi 3302 3303 3304 3305 # Check whether --enable-sourceforge was given. 3306 if test "${enable_sourceforge+set}" = set; then : 3307 enableval=$enable_sourceforge; 2004 3308 case $enableval in 2005 3309 yes) … … 2010 3314 ;; 2011 3315 *) 2012 { { echo "$as_me:$LINENO: error: Invalid value for --enable-sourceforge ($enableval)" >&5 2013 echo "$as_me: error: Invalid value for --enable-sourceforge ($enableval)" >&2;} 2014 { (exit 1); exit 1; }; } 3316 as_fn_error $? "Invalid value for --enable-sourceforge ($enableval)" "$LINENO" 5 2015 3317 ;; 2016 3318 esac … … 2021 3323 2022 3324 2023 fi ;2024 2025 2026 # Check whether --enable-components or --disable-components was given. 2027 if test "${enable_components+set}" = set; then 2028 enableval="$enable_components" 2029 3325 fi 3326 3327 3328 3329 # Check whether --enable-components was given. 3330 if test "${enable_components+set}" = set; then : 3331 enableval=$enable_components; 2030 3332 case $enableval in 2031 3333 yes) … … 2036 3338 ;; 2037 3339 *) 2038 { { echo "$as_me:$LINENO: error: Invalid value for --enable-components ($enableval)" >&5 2039 echo "$as_me: error: Invalid value for --enable-components ($enableval)" >&2;} 2040 { (exit 1); exit 1; }; } 3340 as_fn_error $? "Invalid value for --enable-components ($enableval)" "$LINENO" 5 2041 3341 ;; 2042 3342 esac … … 2047 3347 2048 3348 2049 fi; 3349 fi 3350 2050 3351 ENABLECCA=$components 2051 3352 … … 2053 3354 BUILDID="" 2054 3355 2055 # Check whether --with-build-id or --without-build-id was given. 2056 if test "${with_build_id+set}" = set; then 2057 withval="$with_build_id" 2058 BUILDID=$withval 2059 2060 fi; 3356 # Check whether --with-build-id was given. 3357 if test "${with_build_id+set}" = set; then : 3358 withval=$with_build_id; BUILDID=$withval 3359 3360 fi 3361 3362 2061 3363 2062 3364 cat >>confdefs.h <<_ACEOF … … 2067 3369 DEFAULT_SC_MEMORY=32000000 2068 3370 2069 # Check whether --with-default-memory or --without-default-memory was given. 2070 if test "${with_default_memory+set}" = set; then 2071 withval="$with_default_memory" 2072 DEFAULT_SC_MEMORY=$withval 2073 2074 fi; 3371 # Check whether --with-default-memory was given. 3372 if test "${with_default_memory+set}" = set; then : 3373 withval=$with_default_memory; DEFAULT_SC_MEMORY=$withval 3374 3375 fi 3376 3377 2075 3378 cat >>confdefs.h <<_ACEOF 2076 3379 #define DEFAULT_SC_MEMORY $DEFAULT_SC_MEMORY … … 2084 3387 fi 2085 3388 3389 2086 3390 cat >>confdefs.h <<_ACEOF 2087 3391 #define SC_VERSION "$SC_VERSION" … … 2093 3397 2094 3398 2095 # Check whether --with-cc or --without-ccwas given.2096 if test "${with_cc+set}" = set; then 2097 withval= "$with_cc"2098 CC=$withval 2099 2100 fi; 2101 2102 2103 # Check whether --with-cxx or --without-cxxwas given.2104 if test "${with_cxx+set}" = set; then 2105 withval= "$with_cxx"2106 CXX=$withval 2107 2108 fi; 2109 2110 2111 # Check whether --with-f77 or --without-f77was given.2112 if test "${with_f77+set}" = set; then 2113 withval= "$with_f77"2114 F77=$withval 2115 2116 fi; 2117 2118 2119 # Check whether --with-cxx-optflags or --without-cxx-optflagswas given.2120 if test "${with_cxx_optflags+set}" = set; then 2121 withval= "$with_cxx_optflags"2122 GIVEN_CXXOPTIONS_OPT=$withval 2123 2124 fi; 2125 2126 2127 # Check whether --with-cc-optflags or --without-cc-optflagswas given.2128 if test "${with_cc_optflags+set}" = set; then 2129 withval= "$with_cc_optflags"2130 GIVEN_COPTIONS_OPT=$withval 2131 2132 fi; 3399 # Check whether --with-cc was given. 3400 if test "${with_cc+set}" = set; then : 3401 withval=$with_cc; CC=$withval 3402 3403 fi 3404 3405 3406 3407 # Check whether --with-cxx was given. 3408 if test "${with_cxx+set}" = set; then : 3409 withval=$with_cxx; CXX=$withval 3410 3411 fi 3412 3413 3414 3415 # Check whether --with-f77 was given. 3416 if test "${with_f77+set}" = set; then : 3417 withval=$with_f77; F77=$withval 3418 3419 fi 3420 3421 3422 3423 # Check whether --with-cxx-optflags was given. 3424 if test "${with_cxx_optflags+set}" = set; then : 3425 withval=$with_cxx_optflags; GIVEN_CXXOPTIONS_OPT=$withval 3426 3427 fi 3428 3429 3430 3431 # Check whether --with-cc-optflags was given. 3432 if test "${with_cc_optflags+set}" = set; then : 3433 withval=$with_cc_optflags; GIVEN_COPTIONS_OPT=$withval 3434 3435 fi 3436 2133 3437 2134 3438 DOT=yes 2135 3439 2136 # Check whether --with-dot or --without-dotwas given.2137 if test "${with_dot+set}" = set; then 2138 withval= "$with_dot"2139 DOT=$withval 2140 2141 fi; 2142 2143 2144 # Check whether --with-ranlib or --without-ranlibwas given.2145 if test "${with_ranlib+set}" = set; then 2146 withval= "$with_ranlib"2147 RANLIB=$withval 2148 2149 fi; 2150 2151 2152 # Check whether --with-ar or --without-arwas given.2153 if test "${with_ar+set}" = set; then 2154 withval= "$with_ar"2155 AR=$withval 2156 2157 fi; 3440 # Check whether --with-dot was given. 3441 if test "${with_dot+set}" = set; then : 3442 withval=$with_dot; DOT=$withval 3443 3444 fi 3445 3446 3447 3448 # Check whether --with-ranlib was given. 3449 if test "${with_ranlib+set}" = set; then : 3450 withval=$with_ranlib; RANLIB=$withval 3451 3452 fi 3453 3454 3455 3456 # Check whether --with-ar was given. 3457 if test "${with_ar+set}" = set; then : 3458 withval=$with_ar; AR=$withval 3459 3460 fi 3461 2158 3462 2159 3463 ARFLAGS=r 2160 3464 2161 # Check whether --with-ar-flags or --without-ar-flagswas given.2162 if test "${with_ar_flags+set}" = set; then 2163 withval= "$with_ar_flags"2164 ARFLAGS=$withval 2165 2166 fi; 2167 2168 2169 2170 # Check whether --with-ld or --without-ldwas given.2171 if test "${with_ld+set}" = set; then 2172 withval= "$with_ld"2173 LD=$withval 2174 2175 fi; 3465 # Check whether --with-ar-flags was given. 3466 if test "${with_ar_flags+set}" = set; then : 3467 withval=$with_ar_flags; ARFLAGS=$withval 3468 3469 fi 3470 3471 3472 3473 3474 # Check whether --with-ld was given. 3475 if test "${with_ld+set}" = set; then : 3476 withval=$with_ld; LD=$withval 3477 3478 fi 3479 2176 3480 2177 3481 LAUNCH="%MPQC% [-o %OUTPUT%] %INPUT%" 2178 3482 2179 # Check whether --with-launch or --without-launchwas given.2180 if test "${with_launch+set}" = set; then 2181 withval= "$with_launch"2182 LAUNCH=$withval 2183 2184 fi; 3483 # Check whether --with-launch was given. 3484 if test "${with_launch+set}" = set; then : 3485 withval=$with_launch; LAUNCH=$withval 3486 3487 fi 3488 2185 3489 2186 3490 2187 3491 CCALAUNCH="%CCAFE% --ccafe-rc %INPUT% --ccafe-remap-stdio --ccafe-outputdir %OUTPUT%"; 2188 3492 2189 # Check whether --with-cca-launch or --without-cca-launchwas given.2190 if test "${with_cca_launch+set}" = set; then 2191 withval= "$with_cca_launch"2192 CCALAUNCH=$withval 2193 2194 fi; 3493 # Check whether --with-cca-launch was given. 3494 if test "${with_cca_launch+set}" = set; then : 3495 withval=$with_cca_launch; CCALAUNCH=$withval 3496 3497 fi 3498 2195 3499 2196 3500 … … 2201 3505 fi 2202 3506 2203 # Check whether --with-sc-datadir or --without-sc-datadir was given. 2204 if test "${with_sc_datadir+set}" = set; then 2205 withval="$with_sc_datadir" 2206 scdatadir=$withval 2207 2208 fi; 2209 2210 2211 2212 # Check whether --with-include or --without-include was given. 2213 if test "${with_include+set}" = set; then 2214 withval="$with_include" 2215 EXTRAINCLUDE=$withval 3507 # Check whether --with-sc-datadir was given. 3508 if test "${with_sc_datadir+set}" = set; then : 3509 withval=$with_sc_datadir; scdatadir=$withval 3510 3511 fi 3512 3513 3514 3515 3516 # Check whether --with-include was given. 3517 if test "${with_include+set}" = set; then : 3518 withval=$with_include; EXTRAINCLUDE=$withval 2216 3519 CPPFLAGS=$withval 2217 3520 echo Using extra include directories: $withval 2218 3521 2219 fi; 3522 fi 3523 2220 3524 2221 3525 template_instantiation=none 2222 3526 2223 # Check whether --with-template or --without-template was given. 2224 if test "${with_template+set}" = set; then 2225 withval="$with_template" 2226 template_instantiation=$withval 3527 # Check whether --with-template was given. 3528 if test "${with_template+set}" = set; then : 3529 withval=$with_template; template_instantiation=$withval 2227 3530 echo Using extra include directories: $withval 2228 3531 2229 fi; 3532 fi 3533 2230 3534 2231 3535 scincludedir=$includedir 2232 3536 2233 # Check whether --with-sc-includedir or --without-sc-includedir was given. 2234 if test "${with_sc_includedir+set}" = set; then 2235 withval="$with_sc_includedir" 2236 scincludedir=$withval 2237 2238 fi; 2239 2240 2241 2242 # Check whether --with-libs or --without-libs was given. 2243 if test "${with_libs+set}" = set; then 2244 withval="$with_libs" 2245 LIBS=$withval 3537 # Check whether --with-sc-includedir was given. 3538 if test "${with_sc_includedir+set}" = set; then : 3539 withval=$with_sc_includedir; scincludedir=$withval 3540 3541 fi 3542 3543 3544 3545 3546 # Check whether --with-libs was given. 3547 if test "${with_libs+set}" = set; then : 3548 withval=$with_libs; LIBS=$withval 2246 3549 echo Using extra libraries: $withval 2247 3550 2248 fi; 3551 fi 3552 2249 3553 2250 3554 XTRA_FLIBS= 2251 3555 2252 # Check whether --with-extra-flibs or --without-extra-flibs was given. 2253 if test "${with_extra_flibs+set}" = set; then 2254 withval="$with_extra_flibs" 2255 XTRA_FLIBS=$withval 3556 # Check whether --with-extra-flibs was given. 3557 if test "${with_extra_flibs+set}" = set; then : 3558 withval=$with_extra_flibs; XTRA_FLIBS=$withval 2256 3559 echo Using extra FORTRAN libraries: $withval 2257 3560 2258 fi; 3561 fi 3562 2259 3563 2260 3564 have_flibs=no 2261 3565 2262 # Check whether --with-flibs or --without-flibs was given. 2263 if test "${with_flibs+set}" = set; then 2264 withval="$with_flibs" 2265 FLIBS=$withval 3566 # Check whether --with-flibs was given. 3567 if test "${with_flibs+set}" = set; then : 3568 withval=$with_flibs; FLIBS=$withval 2266 3569 have_flibs=yes 2267 3570 echo Using FORTRAN runtime libraries: $withval 2268 3571 2269 fi; 3572 fi 3573 2270 3574 2271 3575 LDFLAGS= 2272 3576 LIBDIRS= 2273 3577 2274 # Check whether --with-libdirs or --without-libdirs was given. 2275 if test "${with_libdirs+set}" = set; then 2276 withval="$with_libdirs" 2277 LIBDIRS=$withval 3578 # Check whether --with-libdirs was given. 3579 if test "${with_libdirs+set}" = set; then : 3580 withval=$with_libdirs; LIBDIRS=$withval 2278 3581 LDFLAGS=$withval 2279 3582 echo Using extra library directories: $withval 2280 3583 2281 fi ;2282 2283 2284 # Check whether --with-cca-chem-config or --without-cca-chem-config was given. 2285 if test "${with_cca_chem_config+set}" = set; then 2286 withval="$with_cca_chem_config" 2287 3584 fi 3585 3586 3587 3588 # Check whether --with-cca-chem-config was given. 3589 if test "${with_cca_chem_config+set}" = set; then : 3590 withval=$with_cca_chem_config; 2288 3591 CCA_CHEM_CONFIG=$withval 2289 3592 echo Using cca-chem-config: $withval … … 2294 3597 # Extract the first word of "cca-chem-config", so it can be a program name with args. 2295 3598 set dummy cca-chem-config; ac_word=$2 2296 echo "$as_me:$LINENO: checking for $ac_word" >&52297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2298 if test "${ac_cv_path_CCA_CHEM_CONFIG+set}" = set; then2299 echo $ECHO_N "(cached) $ECHO_C" >&63599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3600 $as_echo_n "checking for $ac_word... " >&6; } 3601 if ${ac_cv_path_CCA_CHEM_CONFIG+:} false; then : 3602 $as_echo_n "(cached) " >&6 2300 3603 else 2301 3604 case $CCA_CHEM_CONFIG in … … 2309 3612 IFS=$as_save_IFS 2310 3613 test -z "$as_dir" && as_dir=. 2311 for ac_exec_ext in '' $ac_executable_extensions; do2312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3614 for ac_exec_ext in '' $ac_executable_extensions; do 3615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2313 3616 ac_cv_path_CCA_CHEM_CONFIG="$as_dir/$ac_word$ac_exec_ext" 2314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2315 3618 break 2 2316 3619 fi 2317 3620 done 2318 done 3621 done 3622 IFS=$as_save_IFS 2319 3623 2320 3624 test -z "$ac_cv_path_CCA_CHEM_CONFIG" && ac_cv_path_CCA_CHEM_CONFIG=""not-found"" … … 2323 3627 fi 2324 3628 CCA_CHEM_CONFIG=$ac_cv_path_CCA_CHEM_CONFIG 2325 2326 3629 if test -n "$CCA_CHEM_CONFIG"; then 2327 echo "$as_me:$LINENO: result: $CCA_CHEM_CONFIG" >&5 2328 echo "${ECHO_T}$CCA_CHEM_CONFIG" >&6 2329 else 2330 echo "$as_me:$LINENO: result: no" >&5 2331 echo "${ECHO_T}no" >&6 2332 fi 3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCA_CHEM_CONFIG" >&5 3631 $as_echo "$CCA_CHEM_CONFIG" >&6; } 3632 else 3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3634 $as_echo "no" >&6; } 3635 fi 3636 2333 3637 2334 3638 fi 2335 3639 2336 3640 2337 fi; 3641 fi 3642 2338 3643 2339 3644 … … 2367 3672 2368 3673 2369 echo "$as_me:$LINENO: checking whether ln -s works" >&52370 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3675 $as_echo_n "checking whether ln -s works... " >&6; } 2371 3676 LN_S=$as_ln_s 2372 3677 if test "$LN_S" = "ln -s"; then 2373 echo "$as_me:$LINENO: result: yes" >&52374 echo "${ECHO_T}yes" >&6 2375 else 2376 echo "$as_me:$LINENO: result: no, using $LN_S" >&52377 echo "${ECHO_T}no, using $LN_S" >&6 3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3679 $as_echo "yes" >&6; } 3680 else 3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3682 $as_echo "no, using $LN_S" >&6; } 2378 3683 fi 2379 3684 … … 2391 3696 # OS/2's system install, which has a completely different semantic 2392 3697 # ./install, which can be erroneously created by make from ./install.sh. 2393 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2394 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3698 # Reject install programs that cannot install multiple files. 3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3700 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2395 3701 if test -z "$INSTALL"; then 2396 if test "${ac_cv_path_install+set}" = set; then2397 echo $ECHO_N "(cached) $ECHO_C" >&63702 if ${ac_cv_path_install+:} false; then : 3703 $as_echo_n "(cached) " >&6 2398 3704 else 2399 3705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2402 3708 IFS=$as_save_IFS 2403 3709 test -z "$as_dir" && as_dir=. 2404 # Account for people who put trailing slashes in PATH elements.2405 case $as_dir/ in 2406 ./ | .// | / cC/* | \3710 # Account for people who put trailing slashes in PATH elements. 3711 case $as_dir/ in #(( 3712 ./ | .// | /[cC]/* | \ 2407 3713 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2408 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \3714 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2409 3715 /usr/ucb/* ) ;; 2410 3716 *) … … 2414 3720 for ac_prog in ginstall scoinst install; do 2415 3721 for ac_exec_ext in '' $ac_executable_extensions; do 2416 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then3722 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2417 3723 if test $ac_prog = install && 2418 3724 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 2424 3730 : 2425 3731 else 2426 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2427 break 3 3732 rm -rf conftest.one conftest.two conftest.dir 3733 echo one > conftest.one 3734 echo two > conftest.two 3735 mkdir conftest.dir 3736 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3737 test -s conftest.one && test -s conftest.two && 3738 test -s conftest.dir/conftest.one && 3739 test -s conftest.dir/conftest.two 3740 then 3741 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3742 break 3 3743 fi 2428 3744 fi 2429 3745 fi … … 2432 3748 ;; 2433 3749 esac 2434 done 2435 3750 3751 done 3752 IFS=$as_save_IFS 3753 3754 rm -rf conftest.one conftest.two conftest.dir 2436 3755 2437 3756 fi … … 2439 3758 INSTALL=$ac_cv_path_install 2440 3759 else 2441 # As a last resort, use the slow shell script. We don't cache a2442 # pathfor INSTALL within a source directory, because that will3760 # As a last resort, use the slow shell script. Don't cache a 3761 # value for INSTALL within a source directory, because that will 2443 3762 # break other packages using the cache if that directory is 2444 # removed, or if the path is relative.3763 # removed, or if the value is a relative name. 2445 3764 INSTALL=$ac_install_sh 2446 3765 fi 2447 3766 fi 2448 echo "$as_me:$LINENO: result: $INSTALL" >&52449 echo "${ECHO_T}$INSTALL" >&6 3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3768 $as_echo "$INSTALL" >&6; } 2450 3769 2451 3770 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 2460 3779 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2461 3780 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2462 echo "$as_me:$LINENO: checking for $ac_word" >&52463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2464 if test "${ac_cv_prog_RANLIB+set}" = set; then2465 echo $ECHO_N "(cached) $ECHO_C" >&63781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3782 $as_echo_n "checking for $ac_word... " >&6; } 3783 if ${ac_cv_prog_RANLIB+:} false; then : 3784 $as_echo_n "(cached) " >&6 2466 3785 else 2467 3786 if test -n "$RANLIB"; then … … 2473 3792 IFS=$as_save_IFS 2474 3793 test -z "$as_dir" && as_dir=. 2475 for ac_exec_ext in '' $ac_executable_extensions; do2476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3794 for ac_exec_ext in '' $ac_executable_extensions; do 3795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2477 3796 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2479 3798 break 2 2480 3799 fi 2481 3800 done 2482 done 3801 done 3802 IFS=$as_save_IFS 2483 3803 2484 3804 fi … … 2486 3806 RANLIB=$ac_cv_prog_RANLIB 2487 3807 if test -n "$RANLIB"; then 2488 echo "$as_me:$LINENO: result: $RANLIB" >&5 2489 echo "${ECHO_T}$RANLIB" >&6 2490 else 2491 echo "$as_me:$LINENO: result: no" >&5 2492 echo "${ECHO_T}no" >&6 2493 fi 3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3809 $as_echo "$RANLIB" >&6; } 3810 else 3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3812 $as_echo "no" >&6; } 3813 fi 3814 2494 3815 2495 3816 fi … … 2498 3819 # Extract the first word of "ranlib", so it can be a program name with args. 2499 3820 set dummy ranlib; ac_word=$2 2500 echo "$as_me:$LINENO: checking for $ac_word" >&52501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2502 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then2503 echo $ECHO_N "(cached) $ECHO_C" >&63821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3822 $as_echo_n "checking for $ac_word... " >&6; } 3823 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 3824 $as_echo_n "(cached) " >&6 2504 3825 else 2505 3826 if test -n "$ac_ct_RANLIB"; then … … 2511 3832 IFS=$as_save_IFS 2512 3833 test -z "$as_dir" && as_dir=. 2513 for ac_exec_ext in '' $ac_executable_extensions; do2514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3834 for ac_exec_ext in '' $ac_executable_extensions; do 3835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2515 3836 ac_cv_prog_ac_ct_RANLIB="ranlib" 2516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2517 3838 break 2 2518 3839 fi 2519 3840 done 2520 done2521 2522 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3841 done 3842 IFS=$as_save_IFS 3843 2523 3844 fi 2524 3845 fi 2525 3846 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2526 3847 if test -n "$ac_ct_RANLIB"; then 2527 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 2528 echo "${ECHO_T}$ac_ct_RANLIB" >&6 2529 else 2530 echo "$as_me:$LINENO: result: no" >&5 2531 echo "${ECHO_T}no" >&6 2532 fi 2533 2534 RANLIB=$ac_ct_RANLIB 3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 3849 $as_echo "$ac_ct_RANLIB" >&6; } 3850 else 3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3852 $as_echo "no" >&6; } 3853 fi 3854 3855 if test "x$ac_ct_RANLIB" = x; then 3856 RANLIB=":" 3857 else 3858 case $cross_compiling:$ac_tool_warned in 3859 yes:) 3860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3862 ac_tool_warned=yes ;; 3863 esac 3864 RANLIB=$ac_ct_RANLIB 3865 fi 2535 3866 else 2536 3867 RANLIB="$ac_cv_prog_RANLIB" … … 2545 3876 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2546 3877 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2547 echo "$as_me:$LINENO: checking for $ac_word" >&52548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2549 if test "${ac_cv_prog_CC+set}" = set; then2550 echo $ECHO_N "(cached) $ECHO_C" >&63878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3879 $as_echo_n "checking for $ac_word... " >&6; } 3880 if ${ac_cv_prog_CC+:} false; then : 3881 $as_echo_n "(cached) " >&6 2551 3882 else 2552 3883 if test -n "$CC"; then … … 2558 3889 IFS=$as_save_IFS 2559 3890 test -z "$as_dir" && as_dir=. 2560 for ac_exec_ext in '' $ac_executable_extensions; do2561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3891 for ac_exec_ext in '' $ac_executable_extensions; do 3892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2562 3893 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2564 3895 break 2 2565 3896 fi 2566 3897 done 2567 done 3898 done 3899 IFS=$as_save_IFS 2568 3900 2569 3901 fi … … 2571 3903 CC=$ac_cv_prog_CC 2572 3904 if test -n "$CC"; then 2573 echo "$as_me:$LINENO: result: $CC" >&5 2574 echo "${ECHO_T}$CC" >&6 2575 else 2576 echo "$as_me:$LINENO: result: no" >&5 2577 echo "${ECHO_T}no" >&6 2578 fi 3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3906 $as_echo "$CC" >&6; } 3907 else 3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3909 $as_echo "no" >&6; } 3910 fi 3911 2579 3912 2580 3913 fi … … 2583 3916 # Extract the first word of "gcc", so it can be a program name with args. 2584 3917 set dummy gcc; ac_word=$2 2585 echo "$as_me:$LINENO: checking for $ac_word" >&52586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2587 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2588 echo $ECHO_N "(cached) $ECHO_C" >&63918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3919 $as_echo_n "checking for $ac_word... " >&6; } 3920 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3921 $as_echo_n "(cached) " >&6 2589 3922 else 2590 3923 if test -n "$ac_ct_CC"; then … … 2596 3929 IFS=$as_save_IFS 2597 3930 test -z "$as_dir" && as_dir=. 2598 for ac_exec_ext in '' $ac_executable_extensions; do2599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3931 for ac_exec_ext in '' $ac_executable_extensions; do 3932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2600 3933 ac_cv_prog_ac_ct_CC="gcc" 2601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2602 3935 break 2 2603 3936 fi 2604 3937 done 2605 done 3938 done 3939 IFS=$as_save_IFS 2606 3940 2607 3941 fi … … 2609 3943 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2610 3944 if test -n "$ac_ct_CC"; then 2611 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2612 echo "${ECHO_T}$ac_ct_CC" >&6 2613 else 2614 echo "$as_me:$LINENO: result: no" >&5 2615 echo "${ECHO_T}no" >&6 2616 fi 2617 2618 CC=$ac_ct_CC 3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3946 $as_echo "$ac_ct_CC" >&6; } 3947 else 3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3949 $as_echo "no" >&6; } 3950 fi 3951 3952 if test "x$ac_ct_CC" = x; then 3953 CC="" 3954 else 3955 case $cross_compiling:$ac_tool_warned in 3956 yes:) 3957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3959 ac_tool_warned=yes ;; 3960 esac 3961 CC=$ac_ct_CC 3962 fi 2619 3963 else 2620 3964 CC="$ac_cv_prog_CC" … … 2622 3966 2623 3967 if test -z "$CC"; then 2624 if test -n "$ac_tool_prefix"; then2625 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.3968 if test -n "$ac_tool_prefix"; then 3969 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2626 3970 set dummy ${ac_tool_prefix}cc; ac_word=$2 2627 echo "$as_me:$LINENO: checking for $ac_word" >&52628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2629 if test "${ac_cv_prog_CC+set}" = set; then2630 echo $ECHO_N "(cached) $ECHO_C" >&63971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3972 $as_echo_n "checking for $ac_word... " >&6; } 3973 if ${ac_cv_prog_CC+:} false; then : 3974 $as_echo_n "(cached) " >&6 2631 3975 else 2632 3976 if test -n "$CC"; then … … 2638 3982 IFS=$as_save_IFS 2639 3983 test -z "$as_dir" && as_dir=. 2640 for ac_exec_ext in '' $ac_executable_extensions; do2641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3984 for ac_exec_ext in '' $ac_executable_extensions; do 3985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2642 3986 ac_cv_prog_CC="${ac_tool_prefix}cc" 2643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2644 3988 break 2 2645 3989 fi 2646 3990 done 2647 done 3991 done 3992 IFS=$as_save_IFS 2648 3993 2649 3994 fi … … 2651 3996 CC=$ac_cv_prog_CC 2652 3997 if test -n "$CC"; then 2653 echo "$as_me:$LINENO: result: $CC" >&5 2654 echo "${ECHO_T}$CC" >&6 2655 else 2656 echo "$as_me:$LINENO: result: no" >&5 2657 echo "${ECHO_T}no" >&6 2658 fi 2659 2660 fi 2661 if test -z "$ac_cv_prog_CC"; then 2662 ac_ct_CC=$CC 2663 # Extract the first word of "cc", so it can be a program name with args. 2664 set dummy cc; ac_word=$2 2665 echo "$as_me:$LINENO: checking for $ac_word" >&5 2666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2667 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2668 echo $ECHO_N "(cached) $ECHO_C" >&6 2669 else 2670 if test -n "$ac_ct_CC"; then 2671 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2672 else 2673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2674 for as_dir in $PATH 2675 do 2676 IFS=$as_save_IFS 2677 test -z "$as_dir" && as_dir=. 2678 for ac_exec_ext in '' $ac_executable_extensions; do 2679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2680 ac_cv_prog_ac_ct_CC="cc" 2681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2682 break 2 3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3999 $as_echo "$CC" >&6; } 4000 else 4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4002 $as_echo "no" >&6; } 4003 fi 4004 4005 2683 4006 fi 2684 done2685 done2686 2687 fi2688 fi2689 ac_ct_CC=$ac_cv_prog_ac_ct_CC2690 if test -n "$ac_ct_CC"; then2691 echo "$as_me:$LINENO: result: $ac_ct_CC" >&52692 echo "${ECHO_T}$ac_ct_CC" >&62693 else2694 echo "$as_me:$LINENO: result: no" >&52695 echo "${ECHO_T}no" >&62696 fi2697 2698 CC=$ac_ct_CC2699 else2700 CC="$ac_cv_prog_CC"2701 fi2702 2703 4007 fi 2704 4008 if test -z "$CC"; then 2705 4009 # Extract the first word of "cc", so it can be a program name with args. 2706 4010 set dummy cc; ac_word=$2 2707 echo "$as_me:$LINENO: checking for $ac_word" >&52708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2709 if test "${ac_cv_prog_CC+set}" = set; then2710 echo $ECHO_N "(cached) $ECHO_C" >&64011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4012 $as_echo_n "checking for $ac_word... " >&6; } 4013 if ${ac_cv_prog_CC+:} false; then : 4014 $as_echo_n "(cached) " >&6 2711 4015 else 2712 4016 if test -n "$CC"; then … … 2719 4023 IFS=$as_save_IFS 2720 4024 test -z "$as_dir" && as_dir=. 2721 for ac_exec_ext in '' $ac_executable_extensions; do2722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4025 for ac_exec_ext in '' $ac_executable_extensions; do 4026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2723 4027 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2724 4028 ac_prog_rejected=yes … … 2726 4030 fi 2727 4031 ac_cv_prog_CC="cc" 2728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2729 4033 break 2 2730 4034 fi 2731 4035 done 2732 done 4036 done 4037 IFS=$as_save_IFS 2733 4038 2734 4039 if test $ac_prog_rejected = yes; then … … 2748 4053 CC=$ac_cv_prog_CC 2749 4054 if test -n "$CC"; then 2750 echo "$as_me:$LINENO: result: $CC" >&5 2751 echo "${ECHO_T}$CC" >&6 2752 else 2753 echo "$as_me:$LINENO: result: no" >&5 2754 echo "${ECHO_T}no" >&6 2755 fi 4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4056 $as_echo "$CC" >&6; } 4057 else 4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4059 $as_echo "no" >&6; } 4060 fi 4061 2756 4062 2757 4063 fi 2758 4064 if test -z "$CC"; then 2759 4065 if test -n "$ac_tool_prefix"; then 2760 for ac_prog in cl 4066 for ac_prog in cl.exe 2761 4067 do 2762 4068 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2763 4069 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2764 echo "$as_me:$LINENO: checking for $ac_word" >&52765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2766 if test "${ac_cv_prog_CC+set}" = set; then2767 echo $ECHO_N "(cached) $ECHO_C" >&64070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4071 $as_echo_n "checking for $ac_word... " >&6; } 4072 if ${ac_cv_prog_CC+:} false; then : 4073 $as_echo_n "(cached) " >&6 2768 4074 else 2769 4075 if test -n "$CC"; then … … 2775 4081 IFS=$as_save_IFS 2776 4082 test -z "$as_dir" && as_dir=. 2777 for ac_exec_ext in '' $ac_executable_extensions; do2778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4083 for ac_exec_ext in '' $ac_executable_extensions; do 4084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2779 4085 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2781 4087 break 2 2782 4088 fi 2783 4089 done 2784 done 4090 done 4091 IFS=$as_save_IFS 2785 4092 2786 4093 fi … … 2788 4095 CC=$ac_cv_prog_CC 2789 4096 if test -n "$CC"; then 2790 echo "$as_me:$LINENO: result: $CC" >&5 2791 echo "${ECHO_T}$CC" >&6 2792 else 2793 echo "$as_me:$LINENO: result: no" >&5 2794 echo "${ECHO_T}no" >&6 2795 fi 4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4098 $as_echo "$CC" >&6; } 4099 else 4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4101 $as_echo "no" >&6; } 4102 fi 4103 2796 4104 2797 4105 test -n "$CC" && break … … 2800 4108 if test -z "$CC"; then 2801 4109 ac_ct_CC=$CC 2802 for ac_prog in cl 4110 for ac_prog in cl.exe 2803 4111 do 2804 4112 # Extract the first word of "$ac_prog", so it can be a program name with args. 2805 4113 set dummy $ac_prog; ac_word=$2 2806 echo "$as_me:$LINENO: checking for $ac_word" >&52807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2808 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2809 echo $ECHO_N "(cached) $ECHO_C" >&64114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4115 $as_echo_n "checking for $ac_word... " >&6; } 4116 if ${ac_cv_prog_ac_ct_CC+:} false; then : 4117 $as_echo_n "(cached) " >&6 2810 4118 else 2811 4119 if test -n "$ac_ct_CC"; then … … 2817 4125 IFS=$as_save_IFS 2818 4126 test -z "$as_dir" && as_dir=. 2819 for ac_exec_ext in '' $ac_executable_extensions; do2820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4127 for ac_exec_ext in '' $ac_executable_extensions; do 4128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2821 4129 ac_cv_prog_ac_ct_CC="$ac_prog" 2822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2823 4131 break 2 2824 4132 fi 2825 4133 done 2826 done 4134 done 4135 IFS=$as_save_IFS 2827 4136 2828 4137 fi … … 2830 4139 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2831 4140 if test -n "$ac_ct_CC"; then 2832 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2833 echo "${ECHO_T}$ac_ct_CC" >&6 2834 else 2835 echo "$as_me:$LINENO: result: no" >&5 2836 echo "${ECHO_T}no" >&6 2837 fi 4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4142 $as_echo "$ac_ct_CC" >&6; } 4143 else 4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4145 $as_echo "no" >&6; } 4146 fi 4147 2838 4148 2839 4149 test -n "$ac_ct_CC" && break 2840 4150 done 2841 4151 2842 CC=$ac_ct_CC 2843 fi 2844 2845 fi 2846 2847 2848 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2849 See \`config.log' for more details." >&5 2850 echo "$as_me: error: no acceptable C compiler found in \$PATH 2851 See \`config.log' for more details." >&2;} 2852 { (exit 1); exit 1; }; } 4152 if test "x$ac_ct_CC" = x; then 4153 CC="" 4154 else 4155 case $cross_compiling:$ac_tool_warned in 4156 yes:) 4157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4158 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4159 ac_tool_warned=yes ;; 4160 esac 4161 CC=$ac_ct_CC 4162 fi 4163 fi 4164 4165 fi 4166 4167 4168 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4170 as_fn_error $? "no acceptable C compiler found in \$PATH 4171 See \`config.log' for more details" "$LINENO" 5; } 2853 4172 2854 4173 # Provide some information about the compiler. 2855 echo "$as_me:$LINENO:" \ 2856 "checking for C compiler version" >&5 2857 ac_compiler=`set X $ac_compile; echo $2` 2858 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2859 (eval $ac_compiler --version </dev/null >&5) 2>&5 4174 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4175 set X $ac_compile 4176 ac_compiler=$2 4177 for ac_option in --version -v -V -qversion; do 4178 { { ac_try="$ac_compiler $ac_option >&5" 4179 case "(($ac_try" in 4180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4181 *) ac_try_echo=$ac_try;; 4182 esac 4183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4184 $as_echo "$ac_try_echo"; } >&5 4185 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2860 4186 ac_status=$? 2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2862 (exit $ac_status); } 2863 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2864 (eval $ac_compiler -v </dev/null >&5) 2>&5 2865 ac_status=$? 2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2867 (exit $ac_status); } 2868 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2869 (eval $ac_compiler -V </dev/null >&5) 2>&5 2870 ac_status=$? 2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2872 (exit $ac_status); } 2873 2874 cat >conftest.$ac_ext <<_ACEOF 2875 /* confdefs.h. */ 2876 _ACEOF 2877 cat confdefs.h >>conftest.$ac_ext 2878 cat >>conftest.$ac_ext <<_ACEOF 4187 if test -s conftest.err; then 4188 sed '10a\ 4189 ... rest of stderr output deleted ... 4190 10q' conftest.err >conftest.er1 4191 cat conftest.er1 >&5 4192 fi 4193 rm -f conftest.er1 conftest.err 4194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4195 test $ac_status = 0; } 4196 done 4197 4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2879 4199 /* end confdefs.h. */ 2880 4200 … … 2888 4208 _ACEOF 2889 4209 ac_clean_files_save=$ac_clean_files 2890 ac_clean_files="$ac_clean_files a.out a. exe b.out"4210 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2891 4211 # Try to create an executable without -o first, disregard a.out. 2892 4212 # It will help us diagnose broken compilers, and finding out an intuition 2893 4213 # of exeext. 2894 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2895 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2896 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2897 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2898 (eval $ac_link_default) 2>&5 4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4215 $as_echo_n "checking whether the C compiler works... " >&6; } 4216 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4217 4218 # The possible output files: 4219 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4220 4221 ac_rmfiles= 4222 for ac_file in $ac_files 4223 do 4224 case $ac_file in 4225 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4226 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4227 esac 4228 done 4229 rm -f $ac_rmfiles 4230 4231 if { { ac_try="$ac_link_default" 4232 case "(($ac_try" in 4233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4234 *) ac_try_echo=$ac_try;; 4235 esac 4236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4237 $as_echo "$ac_try_echo"; } >&5 4238 (eval "$ac_link_default") 2>&5 2899 4239 ac_status=$? 2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2901 (exit $ac_status); }; then 2902 # Find the output, starting from the most likely. This scheme is 2903 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2904 # resort. 2905 2906 # Be careful to initialize this variable, since it used to be cached. 2907 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2908 ac_cv_exeext= 2909 # b.out is created by i960 compilers. 2910 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 4240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4241 test $ac_status = 0; }; then : 4242 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4243 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4244 # in a Makefile. We should not override ac_cv_exeext if it was cached, 4245 # so that the user can short-circuit this test for compilers unknown to 4246 # Autoconf. 4247 for ac_file in $ac_files '' 2911 4248 do 2912 4249 test -f "$ac_file" || continue 2913 4250 case $ac_file in 2914 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2915 ;; 2916 conftest.$ac_ext ) 2917 # This is the source file. 4251 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2918 4252 ;; 2919 4253 [ab].out ) … … 2922 4256 break;; 2923 4257 *.* ) 2924 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2925 # FIXME: I believe we export ac_cv_exeext for Libtool, 2926 # but it would be cool to find out if it's true. Does anybody 2927 # maintain Libtool? --akim. 2928 export ac_cv_exeext 4258 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4259 then :; else 4260 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4261 fi 4262 # We set ac_cv_exeext here because the later test for it is not 4263 # safe: cross compilers may not add the suffix if given an `-o' 4264 # argument, so we may need to know it at that point already. 4265 # Even if this section looks crufty: it has the advantage of 4266 # actually working. 2929 4267 break;; 2930 4268 * ) … … 2932 4270 esac 2933 4271 done 2934 else 2935 echo "$as_me: failed program was:" >&5 4272 test "$ac_cv_exeext" = no && ac_cv_exeext= 4273 4274 else 4275 ac_file='' 4276 fi 4277 if test -z "$ac_file"; then : 4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4279 $as_echo "no" >&6; } 4280 $as_echo "$as_me: failed program was:" >&5 2936 4281 sed 's/^/| /' conftest.$ac_ext >&5 2937 4282 2938 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2939 See \`config.log' for more details." >&5 2940 echo "$as_me: error: C compiler cannot create executables 2941 See \`config.log' for more details." >&2;} 2942 { (exit 77); exit 77; }; } 2943 fi 2944 4283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4285 as_fn_error 77 "C compiler cannot create executables 4286 See \`config.log' for more details" "$LINENO" 5; } 4287 else 4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4289 $as_echo "yes" >&6; } 4290 fi 4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4292 $as_echo_n "checking for C compiler default output file name... " >&6; } 4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4294 $as_echo "$ac_file" >&6; } 2945 4295 ac_exeext=$ac_cv_exeext 2946 echo "$as_me:$LINENO: result: $ac_file" >&5 2947 echo "${ECHO_T}$ac_file" >&6 2948 2949 # Check the compiler produces executables we can run. If not, either 2950 # the compiler is broken, or we cross compile. 2951 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2952 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2953 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2954 # If not cross compiling, check that we can run a simple program. 2955 if test "$cross_compiling" != yes; then 2956 if { ac_try='./$ac_file' 2957 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&52958 (eval $ac_try) 2>&54296 4297 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4298 ac_clean_files=$ac_clean_files_save 4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4300 $as_echo_n "checking for suffix of executables... " >&6; } 4301 if { { ac_try="$ac_link" 4302 case "(($ac_try" in 4303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4304 *) ac_try_echo=$ac_try;; 4305 esac 4306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4307 $as_echo "$ac_try_echo"; } >&5 4308 (eval "$ac_link") 2>&5 2959 4309 ac_status=$? 2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2961 (exit $ac_status); }; }; then 2962 cross_compiling=no 2963 else 2964 if test "$cross_compiling" = maybe; then 2965 cross_compiling=yes 2966 else 2967 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2968 If you meant to cross compile, use \`--host'. 2969 See \`config.log' for more details." >&5 2970 echo "$as_me: error: cannot run C compiled programs. 2971 If you meant to cross compile, use \`--host'. 2972 See \`config.log' for more details." >&2;} 2973 { (exit 1); exit 1; }; } 2974 fi 2975 fi 2976 fi 2977 echo "$as_me:$LINENO: result: yes" >&5 2978 echo "${ECHO_T}yes" >&6 2979 2980 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2981 ac_clean_files=$ac_clean_files_save 2982 # Check the compiler produces executables we can run. If not, either 2983 # the compiler is broken, or we cross compile. 2984 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2985 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2986 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2987 echo "${ECHO_T}$cross_compiling" >&6 2988 2989 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2990 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2992 (eval $ac_link) 2>&5 2993 ac_status=$? 2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2995 (exit $ac_status); }; then 4310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4311 test $ac_status = 0; }; then : 2996 4312 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2997 4313 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 3001 4317 test -f "$ac_file" || continue 3002 4318 case $ac_file in 3003 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;4319 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3004 4320 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3005 export ac_cv_exeext3006 4321 break;; 3007 4322 * ) break;; … … 3009 4324 done 3010 4325 else 3011 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3012 See \`config.log' for more details." >&5 3013 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3014 See \`config.log' for more details." >&2;} 3015 { (exit 1); exit 1; }; } 3016 fi 3017 3018 rm -f conftest$ac_cv_exeext 3019 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3020 echo "${ECHO_T}$ac_cv_exeext" >&6 4326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4328 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4329 See \`config.log' for more details" "$LINENO" 5; } 4330 fi 4331 rm -f conftest conftest$ac_cv_exeext 4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4333 $as_echo "$ac_cv_exeext" >&6; } 3021 4334 3022 4335 rm -f conftest.$ac_ext 3023 4336 EXEEXT=$ac_cv_exeext 3024 4337 ac_exeext=$EXEEXT 3025 echo "$as_me:$LINENO: checking for suffix of object files" >&5 3026 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 3027 if test "${ac_cv_objext+set}" = set; then 3028 echo $ECHO_N "(cached) $ECHO_C" >&6 3029 else 3030 cat >conftest.$ac_ext <<_ACEOF 3031 /* confdefs.h. */ 4338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4339 /* end confdefs.h. */ 4340 #include <stdio.h> 4341 int 4342 main () 4343 { 4344 FILE *f = fopen ("conftest.out", "w"); 4345 return ferror (f) || fclose (f) != 0; 4346 4347 ; 4348 return 0; 4349 } 3032 4350 _ACEOF 3033 cat confdefs.h >>conftest.$ac_ext 3034 cat >>conftest.$ac_ext <<_ACEOF 4351 ac_clean_files="$ac_clean_files conftest.out" 4352 # Check that the compiler produces executables we can run. If not, either 4353 # the compiler is broken, or we cross compile. 4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4355 $as_echo_n "checking whether we are cross compiling... " >&6; } 4356 if test "$cross_compiling" != yes; then 4357 { { ac_try="$ac_link" 4358 case "(($ac_try" in 4359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4360 *) ac_try_echo=$ac_try;; 4361 esac 4362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4363 $as_echo "$ac_try_echo"; } >&5 4364 (eval "$ac_link") 2>&5 4365 ac_status=$? 4366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4367 test $ac_status = 0; } 4368 if { ac_try='./conftest$ac_cv_exeext' 4369 { { case "(($ac_try" in 4370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4371 *) ac_try_echo=$ac_try;; 4372 esac 4373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4374 $as_echo "$ac_try_echo"; } >&5 4375 (eval "$ac_try") 2>&5 4376 ac_status=$? 4377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4378 test $ac_status = 0; }; }; then 4379 cross_compiling=no 4380 else 4381 if test "$cross_compiling" = maybe; then 4382 cross_compiling=yes 4383 else 4384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4386 as_fn_error $? "cannot run C compiled programs. 4387 If you meant to cross compile, use \`--host'. 4388 See \`config.log' for more details" "$LINENO" 5; } 4389 fi 4390 fi 4391 fi 4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4393 $as_echo "$cross_compiling" >&6; } 4394 4395 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4396 ac_clean_files=$ac_clean_files_save 4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4398 $as_echo_n "checking for suffix of object files... " >&6; } 4399 if ${ac_cv_objext+:} false; then : 4400 $as_echo_n "(cached) " >&6 4401 else 4402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3035 4403 /* end confdefs.h. */ 3036 4404 … … 3044 4412 _ACEOF 3045 4413 rm -f conftest.o conftest.obj 3046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3047 (eval $ac_compile) 2>&5 4414 if { { ac_try="$ac_compile" 4415 case "(($ac_try" in 4416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4417 *) ac_try_echo=$ac_try;; 4418 esac 4419 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4420 $as_echo "$ac_try_echo"; } >&5 4421 (eval "$ac_compile") 2>&5 3048 4422 ac_status=$? 3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3050 (exit $ac_status); }; then 3051 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 4423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4424 test $ac_status = 0; }; then : 4425 for ac_file in conftest.o conftest.obj conftest.*; do 4426 test -f "$ac_file" || continue; 3052 4427 case $ac_file in 3053 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;4428 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3054 4429 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3055 4430 break;; … … 3057 4432 done 3058 4433 else 3059 echo "$as_me: failed program was:" >&54434 $as_echo "$as_me: failed program was:" >&5 3060 4435 sed 's/^/| /' conftest.$ac_ext >&5 3061 4436 3062 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3063 See \`config.log' for more details." >&5 3064 echo "$as_me: error: cannot compute suffix of object files: cannot compile 3065 See \`config.log' for more details." >&2;} 3066 { (exit 1); exit 1; }; } 3067 fi 3068 4437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4439 as_fn_error $? "cannot compute suffix of object files: cannot compile 4440 See \`config.log' for more details" "$LINENO" 5; } 4441 fi 3069 4442 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3070 4443 fi 3071 echo "$as_me:$LINENO: result: $ac_cv_objext" >&53072 echo "${ECHO_T}$ac_cv_objext" >&6 4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4445 $as_echo "$ac_cv_objext" >&6; } 3073 4446 OBJEXT=$ac_cv_objext 3074 4447 ac_objext=$OBJEXT 3075 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3076 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 3077 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3078 echo $ECHO_N "(cached) $ECHO_C" >&6 3079 else 3080 cat >conftest.$ac_ext <<_ACEOF 3081 /* confdefs.h. */ 3082 _ACEOF 3083 cat confdefs.h >>conftest.$ac_ext 3084 cat >>conftest.$ac_ext <<_ACEOF 4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4449 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4450 if ${ac_cv_c_compiler_gnu+:} false; then : 4451 $as_echo_n "(cached) " >&6 4452 else 4453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3085 4454 /* end confdefs.h. */ 3086 4455 … … 3096 4465 } 3097 4466 _ACEOF 3098 rm -f conftest.$ac_objext 3099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3100 (eval $ac_compile) 2>conftest.er1 3101 ac_status=$? 3102 grep -v '^ *+' conftest.er1 >conftest.err 3103 rm -f conftest.er1 3104 cat conftest.err >&5 3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3106 (exit $ac_status); } && 3107 { ac_try='test -z "$ac_c_werror_flag" 3108 || test ! -s conftest.err' 3109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3110 (eval $ac_try) 2>&5 3111 ac_status=$? 3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3113 (exit $ac_status); }; } && 3114 { ac_try='test -s conftest.$ac_objext' 3115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3116 (eval $ac_try) 2>&5 3117 ac_status=$? 3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3119 (exit $ac_status); }; }; then 4467 if ac_fn_c_try_compile "$LINENO"; then : 3120 4468 ac_compiler_gnu=yes 3121 4469 else 3122 echo "$as_me: failed program was:" >&5 3123 sed 's/^/| /' conftest.$ac_ext >&5 3124 3125 ac_compiler_gnu=no 3126 fi 3127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4470 ac_compiler_gnu=no 4471 fi 4472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3128 4473 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3129 4474 3130 4475 fi 3131 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3132 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 3133 GCC=`test $ac_compiler_gnu = yes && echo yes` 4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4477 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 4478 if test $ac_compiler_gnu = yes; then 4479 GCC=yes 4480 else 4481 GCC= 4482 fi 3134 4483 ac_test_CFLAGS=${CFLAGS+set} 3135 4484 ac_save_CFLAGS=$CFLAGS 3136 CFLAGS="-g" 3137 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3138 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 3139 if test "${ac_cv_prog_cc_g+set}" = set; then 3140 echo $ECHO_N "(cached) $ECHO_C" >&6 3141 else 3142 cat >conftest.$ac_ext <<_ACEOF 3143 /* confdefs.h. */ 3144 _ACEOF 3145 cat confdefs.h >>conftest.$ac_ext 3146 cat >>conftest.$ac_ext <<_ACEOF 4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4486 $as_echo_n "checking whether $CC accepts -g... " >&6; } 4487 if ${ac_cv_prog_cc_g+:} false; then : 4488 $as_echo_n "(cached) " >&6 4489 else 4490 ac_save_c_werror_flag=$ac_c_werror_flag 4491 ac_c_werror_flag=yes 4492 ac_cv_prog_cc_g=no 4493 CFLAGS="-g" 4494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3147 4495 /* end confdefs.h. */ 3148 4496 … … 3155 4503 } 3156 4504 _ACEOF 3157 rm -f conftest.$ac_objext 3158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3159 (eval $ac_compile) 2>conftest.er1 3160 ac_status=$? 3161 grep -v '^ *+' conftest.er1 >conftest.err 3162 rm -f conftest.er1 3163 cat conftest.err >&5 3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3165 (exit $ac_status); } && 3166 { ac_try='test -z "$ac_c_werror_flag" 3167 || test ! -s conftest.err' 3168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3169 (eval $ac_try) 2>&5 3170 ac_status=$? 3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3172 (exit $ac_status); }; } && 3173 { ac_try='test -s conftest.$ac_objext' 3174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3175 (eval $ac_try) 2>&5 3176 ac_status=$? 3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3178 (exit $ac_status); }; }; then 4505 if ac_fn_c_try_compile "$LINENO"; then : 3179 4506 ac_cv_prog_cc_g=yes 3180 4507 else 3181 echo "$as_me: failed program was:" >&5 3182 sed 's/^/| /' conftest.$ac_ext >&5 3183 3184 ac_cv_prog_cc_g=no 3185 fi 3186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3187 fi 3188 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3189 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 4508 CFLAGS="" 4509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4510 /* end confdefs.h. */ 4511 4512 int 4513 main () 4514 { 4515 4516 ; 4517 return 0; 4518 } 4519 _ACEOF 4520 if ac_fn_c_try_compile "$LINENO"; then : 4521 4522 else 4523 ac_c_werror_flag=$ac_save_c_werror_flag 4524 CFLAGS="-g" 4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4526 /* end confdefs.h. */ 4527 4528 int 4529 main () 4530 { 4531 4532 ; 4533 return 0; 4534 } 4535 _ACEOF 4536 if ac_fn_c_try_compile "$LINENO"; then : 4537 ac_cv_prog_cc_g=yes 4538 fi 4539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4540 fi 4541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4542 fi 4543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4544 ac_c_werror_flag=$ac_save_c_werror_flag 4545 fi 4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4547 $as_echo "$ac_cv_prog_cc_g" >&6; } 3190 4548 if test "$ac_test_CFLAGS" = set; then 3191 4549 CFLAGS=$ac_save_CFLAGS … … 3203 4561 fi 3204 4562 fi 3205 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&53206 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 3207 if test "${ac_cv_prog_cc_stdc+set}" = set; then3208 echo $ECHO_N "(cached) $ECHO_C" >&63209 else 3210 ac_cv_prog_cc_ stdc=no4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4564 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4565 if ${ac_cv_prog_cc_c89+:} false; then : 4566 $as_echo_n "(cached) " >&6 4567 else 4568 ac_cv_prog_cc_c89=no 3211 4569 ac_save_CC=$CC 3212 cat >conftest.$ac_ext <<_ACEOF 3213 /* confdefs.h. */ 3214 _ACEOF 3215 cat confdefs.h >>conftest.$ac_ext 3216 cat >>conftest.$ac_ext <<_ACEOF 4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3217 4571 /* end confdefs.h. */ 3218 4572 #include <stdarg.h> 3219 4573 #include <stdio.h> 3220 #include <sys/types.h> 3221 #include <sys/stat.h> 4574 struct stat; 3222 4575 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3223 4576 struct buf { int x; }; … … 3242 4595 function prototypes and stuff, but not '\xHH' hex character constants. 3243 4596 These don't provoke an error unfortunately, instead are silently treated 3244 as 'x'. The following induces an error, until -std 1is added to get4597 as 'x'. The following induces an error, until -std is added to get 3245 4598 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3246 4599 array size at least. It's necessary to write '\x00'==0 to get something 3247 that's true only with -std 1. */4600 that's true only with -std. */ 3248 4601 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4602 4603 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4604 inside strings and character constants. */ 4605 #define FOO(x) 'x' 4606 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3249 4607 3250 4608 int test (int i, double x); … … 3262 4620 } 3263 4621 _ACEOF 3264 # Don't try gcc -ansi; that turns off useful extensions and 3265 # breaks some systems' header files. 3266 # AIX -qlanglvl=ansi 3267 # Ultrix and OSF/1 -std1 3268 # HP-UX 10.20 and later -Ae 3269 # HP-UX older versions -Aa -D_HPUX_SOURCE 3270 # SVR4 -Xc -D__EXTENSIONS__ 3271 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4622 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4623 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3272 4624 do 3273 4625 CC="$ac_save_CC $ac_arg" 3274 rm -f conftest.$ac_objext 3275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3276 (eval $ac_compile) 2>conftest.er1 3277 ac_status=$? 3278 grep -v '^ *+' conftest.er1 >conftest.err 3279 rm -f conftest.er1 3280 cat conftest.err >&5 3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3282 (exit $ac_status); } && 3283 { ac_try='test -z "$ac_c_werror_flag" 3284 || test ! -s conftest.err' 3285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3286 (eval $ac_try) 2>&5 3287 ac_status=$? 3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3289 (exit $ac_status); }; } && 3290 { ac_try='test -s conftest.$ac_objext' 3291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3292 (eval $ac_try) 2>&5 3293 ac_status=$? 3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3295 (exit $ac_status); }; }; then 3296 ac_cv_prog_cc_stdc=$ac_arg 3297 break 3298 else 3299 echo "$as_me: failed program was:" >&5 3300 sed 's/^/| /' conftest.$ac_ext >&5 3301 3302 fi 3303 rm -f conftest.err conftest.$ac_objext 4626 if ac_fn_c_try_compile "$LINENO"; then : 4627 ac_cv_prog_cc_c89=$ac_arg 4628 fi 4629 rm -f core conftest.err conftest.$ac_objext 4630 test "x$ac_cv_prog_cc_c89" != "xno" && break 3304 4631 done 3305 rm -f conftest.$ac_ext conftest.$ac_objext4632 rm -f conftest.$ac_ext 3306 4633 CC=$ac_save_CC 3307 4634 3308 4635 fi 3309 3310 case "x$ac_cv_prog_cc_stdc" in 3311 x|xno) 3312 echo "$as_me:$LINENO: result: none needed" >&5 3313 echo "${ECHO_T}none needed" >&6 ;; 4636 # AC_CACHE_VAL 4637 case "x$ac_cv_prog_cc_c89" in 4638 x) 4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4640 $as_echo "none needed" >&6; } ;; 4641 xno) 4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4643 $as_echo "unsupported" >&6; } ;; 3314 4644 *) 3315 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&53316 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 3317 CC="$CC $ac_cv_prog_cc_stdc";;4645 CC="$CC $ac_cv_prog_cc_c89" 4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4647 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3318 4648 esac 3319 3320 # Some people use a C++ compiler to compile C. Since we use `exit', 3321 # in C++ we need to declare it. In case someone uses the same compiler 3322 # for both compiling C and C++ we need to have the C++ compiler decide 3323 # the declaration of exit, since it's the most demanding environment. 3324 cat >conftest.$ac_ext <<_ACEOF 3325 #ifndef __cplusplus 3326 choke me 3327 #endif 3328 _ACEOF 3329 rm -f conftest.$ac_objext 3330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3331 (eval $ac_compile) 2>conftest.er1 3332 ac_status=$? 3333 grep -v '^ *+' conftest.er1 >conftest.err 3334 rm -f conftest.er1 3335 cat conftest.err >&5 3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3337 (exit $ac_status); } && 3338 { ac_try='test -z "$ac_c_werror_flag" 3339 || test ! -s conftest.err' 3340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3341 (eval $ac_try) 2>&5 3342 ac_status=$? 3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3344 (exit $ac_status); }; } && 3345 { ac_try='test -s conftest.$ac_objext' 3346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3347 (eval $ac_try) 2>&5 3348 ac_status=$? 3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3350 (exit $ac_status); }; }; then 3351 for ac_declaration in \ 3352 '' \ 3353 'extern "C" void std::exit (int) throw (); using std::exit;' \ 3354 'extern "C" void std::exit (int); using std::exit;' \ 3355 'extern "C" void exit (int) throw ();' \ 3356 'extern "C" void exit (int);' \ 3357 'void exit (int);' 3358 do 3359 cat >conftest.$ac_ext <<_ACEOF 3360 /* confdefs.h. */ 3361 _ACEOF 3362 cat confdefs.h >>conftest.$ac_ext 3363 cat >>conftest.$ac_ext <<_ACEOF 3364 /* end confdefs.h. */ 3365 $ac_declaration 3366 #include <stdlib.h> 3367 int 3368 main () 3369 { 3370 exit (42); 3371 ; 3372 return 0; 3373 } 3374 _ACEOF 3375 rm -f conftest.$ac_objext 3376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3377 (eval $ac_compile) 2>conftest.er1 3378 ac_status=$? 3379 grep -v '^ *+' conftest.er1 >conftest.err 3380 rm -f conftest.er1 3381 cat conftest.err >&5 3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3383 (exit $ac_status); } && 3384 { ac_try='test -z "$ac_c_werror_flag" 3385 || test ! -s conftest.err' 3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3387 (eval $ac_try) 2>&5 3388 ac_status=$? 3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3390 (exit $ac_status); }; } && 3391 { ac_try='test -s conftest.$ac_objext' 3392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3393 (eval $ac_try) 2>&5 3394 ac_status=$? 3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3396 (exit $ac_status); }; }; then 3397 : 3398 else 3399 echo "$as_me: failed program was:" >&5 3400 sed 's/^/| /' conftest.$ac_ext >&5 3401 3402 continue 3403 fi 3404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3405 cat >conftest.$ac_ext <<_ACEOF 3406 /* confdefs.h. */ 3407 _ACEOF 3408 cat confdefs.h >>conftest.$ac_ext 3409 cat >>conftest.$ac_ext <<_ACEOF 3410 /* end confdefs.h. */ 3411 $ac_declaration 3412 int 3413 main () 3414 { 3415 exit (42); 3416 ; 3417 return 0; 3418 } 3419 _ACEOF 3420 rm -f conftest.$ac_objext 3421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3422 (eval $ac_compile) 2>conftest.er1 3423 ac_status=$? 3424 grep -v '^ *+' conftest.er1 >conftest.err 3425 rm -f conftest.er1 3426 cat conftest.err >&5 3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3428 (exit $ac_status); } && 3429 { ac_try='test -z "$ac_c_werror_flag" 3430 || test ! -s conftest.err' 3431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3432 (eval $ac_try) 2>&5 3433 ac_status=$? 3434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3435 (exit $ac_status); }; } && 3436 { ac_try='test -s conftest.$ac_objext' 3437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3438 (eval $ac_try) 2>&5 3439 ac_status=$? 3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3441 (exit $ac_status); }; }; then 3442 break 3443 else 3444 echo "$as_me: failed program was:" >&5 3445 sed 's/^/| /' conftest.$ac_ext >&5 3446 3447 fi 3448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3449 done 3450 rm -f conftest* 3451 if test -n "$ac_declaration"; then 3452 echo '#ifdef __cplusplus' >>confdefs.h 3453 echo $ac_declaration >>confdefs.h 3454 echo '#endif' >>confdefs.h 3455 fi 3456 3457 else 3458 echo "$as_me: failed program was:" >&5 3459 sed 's/^/| /' conftest.$ac_ext >&5 3460 3461 fi 3462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4649 if test "x$ac_cv_prog_cc_c89" != xno; then : 4650 4651 fi 4652 3463 4653 ac_ext=c 3464 4654 ac_cpp='$CPP $CPPFLAGS' … … 3471 4661 # Extract the first word of "$ac_prog", so it can be a program name with args. 3472 4662 set dummy $ac_prog; ac_word=$2 3473 echo "$as_me:$LINENO: checking for $ac_word" >&53474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3475 if test "${ac_cv_prog_CXX+set}" = set; then3476 echo $ECHO_N "(cached) $ECHO_C" >&64663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4664 $as_echo_n "checking for $ac_word... " >&6; } 4665 if ${ac_cv_prog_CXX+:} false; then : 4666 $as_echo_n "(cached) " >&6 3477 4667 else 3478 4668 if test -n "$CXX"; then … … 3484 4674 IFS=$as_save_IFS 3485 4675 test -z "$as_dir" && as_dir=. 3486 for ac_exec_ext in '' $ac_executable_extensions; do3487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4676 for ac_exec_ext in '' $ac_executable_extensions; do 4677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3488 4678 ac_cv_prog_CXX="$ac_prog" 3489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3490 4680 break 2 3491 4681 fi 3492 4682 done 3493 done 4683 done 4684 IFS=$as_save_IFS 3494 4685 3495 4686 fi … … 3497 4688 CXX=$ac_cv_prog_CXX 3498 4689 if test -n "$CXX"; then 3499 echo "$as_me:$LINENO: result: $CXX" >&5 3500 echo "${ECHO_T}$CXX" >&6 3501 else 3502 echo "$as_me:$LINENO: result: no" >&5 3503 echo "${ECHO_T}no" >&6 3504 fi 4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 4691 $as_echo "$CXX" >&6; } 4692 else 4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4694 $as_echo "no" >&6; } 4695 fi 4696 3505 4697 3506 4698 test -n "$CXX" && break … … 3508 4700 test -n "$CXX" || CXX="gcc" 3509 4701 3510 ac_ext=c c4702 ac_ext=cpp 3511 4703 ac_cpp='$CXXCPP $CPPFLAGS' 3512 4704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3513 4705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3514 4706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3515 if test -n "$ac_tool_prefix"; then 3516 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 4707 if test -z "$CXX"; then 4708 if test -n "$CCC"; then 4709 CXX=$CCC 4710 else 4711 if test -n "$ac_tool_prefix"; then 4712 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3517 4713 do 3518 4714 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3519 4715 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3520 echo "$as_me:$LINENO: checking for $ac_word" >&53521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3522 if test "${ac_cv_prog_CXX+set}" = set; then3523 echo $ECHO_N "(cached) $ECHO_C" >&64716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4717 $as_echo_n "checking for $ac_word... " >&6; } 4718 if ${ac_cv_prog_CXX+:} false; then : 4719 $as_echo_n "(cached) " >&6 3524 4720 else 3525 4721 if test -n "$CXX"; then … … 3531 4727 IFS=$as_save_IFS 3532 4728 test -z "$as_dir" && as_dir=. 3533 for ac_exec_ext in '' $ac_executable_extensions; do3534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4729 for ac_exec_ext in '' $ac_executable_extensions; do 4730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3535 4731 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3537 4733 break 2 3538 4734 fi 3539 4735 done 3540 done 4736 done 4737 IFS=$as_save_IFS 3541 4738 3542 4739 fi … … 3544 4741 CXX=$ac_cv_prog_CXX 3545 4742 if test -n "$CXX"; then 3546 echo "$as_me:$LINENO: result: $CXX" >&5 3547 echo "${ECHO_T}$CXX" >&6 3548 else 3549 echo "$as_me:$LINENO: result: no" >&5 3550 echo "${ECHO_T}no" >&6 3551 fi 4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 4744 $as_echo "$CXX" >&6; } 4745 else 4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4747 $as_echo "no" >&6; } 4748 fi 4749 3552 4750 3553 4751 test -n "$CXX" && break … … 3556 4754 if test -z "$CXX"; then 3557 4755 ac_ct_CXX=$CXX 3558 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC4756 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3559 4757 do 3560 4758 # Extract the first word of "$ac_prog", so it can be a program name with args. 3561 4759 set dummy $ac_prog; ac_word=$2 3562 echo "$as_me:$LINENO: checking for $ac_word" >&53563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3564 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then3565 echo $ECHO_N "(cached) $ECHO_C" >&64760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4761 $as_echo_n "checking for $ac_word... " >&6; } 4762 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 4763 $as_echo_n "(cached) " >&6 3566 4764 else 3567 4765 if test -n "$ac_ct_CXX"; then … … 3573 4771 IFS=$as_save_IFS 3574 4772 test -z "$as_dir" && as_dir=. 3575 for ac_exec_ext in '' $ac_executable_extensions; do3576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4773 for ac_exec_ext in '' $ac_executable_extensions; do 4774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3577 4775 ac_cv_prog_ac_ct_CXX="$ac_prog" 3578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3579 4777 break 2 3580 4778 fi 3581 4779 done 3582 done 4780 done 4781 IFS=$as_save_IFS 3583 4782 3584 4783 fi … … 3586 4785 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3587 4786 if test -n "$ac_ct_CXX"; then 3588 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3589 echo "${ECHO_T}$ac_ct_CXX" >&6 3590 else 3591 echo "$as_me:$LINENO: result: no" >&5 3592 echo "${ECHO_T}no" >&6 3593 fi 4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 4788 $as_echo "$ac_ct_CXX" >&6; } 4789 else 4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4791 $as_echo "no" >&6; } 4792 fi 4793 3594 4794 3595 4795 test -n "$ac_ct_CXX" && break 3596 4796 done 3597 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 3598 3599 CXX=$ac_ct_CXX 3600 fi 3601 3602 4797 4798 if test "x$ac_ct_CXX" = x; then 4799 CXX="g++" 4800 else 4801 case $cross_compiling:$ac_tool_warned in 4802 yes:) 4803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4805 ac_tool_warned=yes ;; 4806 esac 4807 CXX=$ac_ct_CXX 4808 fi 4809 fi 4810 4811 fi 4812 fi 3603 4813 # Provide some information about the compiler. 3604 echo "$as_me:$LINENO:" \ 3605 "checking for C++ compiler version" >&5 3606 ac_compiler=`set X $ac_compile; echo $2` 3607 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 3608 (eval $ac_compiler --version </dev/null >&5) 2>&5 4814 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 4815 set X $ac_compile 4816 ac_compiler=$2 4817 for ac_option in --version -v -V -qversion; do 4818 { { ac_try="$ac_compiler $ac_option >&5" 4819 case "(($ac_try" in 4820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4821 *) ac_try_echo=$ac_try;; 4822 esac 4823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4824 $as_echo "$ac_try_echo"; } >&5 4825 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3609 4826 ac_status=$? 3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3611 (exit $ac_status); } 3612 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 3613 (eval $ac_compiler -v </dev/null >&5) 2>&5 3614 ac_status=$? 3615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3616 (exit $ac_status); } 3617 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 3618 (eval $ac_compiler -V </dev/null >&5) 2>&5 3619 ac_status=$? 3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3621 (exit $ac_status); } 3622 3623 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3624 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 3625 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3626 echo $ECHO_N "(cached) $ECHO_C" >&6 3627 else 3628 cat >conftest.$ac_ext <<_ACEOF 3629 /* confdefs.h. */ 3630 _ACEOF 3631 cat confdefs.h >>conftest.$ac_ext 3632 cat >>conftest.$ac_ext <<_ACEOF 4827 if test -s conftest.err; then 4828 sed '10a\ 4829 ... rest of stderr output deleted ... 4830 10q' conftest.err >conftest.er1 4831 cat conftest.er1 >&5 4832 fi 4833 rm -f conftest.er1 conftest.err 4834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4835 test $ac_status = 0; } 4836 done 4837 4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 4839 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 4840 if ${ac_cv_cxx_compiler_gnu+:} false; then : 4841 $as_echo_n "(cached) " >&6 4842 else 4843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3633 4844 /* end confdefs.h. */ 3634 4845 … … 3644 4855 } 3645 4856 _ACEOF 3646 rm -f conftest.$ac_objext 3647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3648 (eval $ac_compile) 2>conftest.er1 3649 ac_status=$? 3650 grep -v '^ *+' conftest.er1 >conftest.err 3651 rm -f conftest.er1 3652 cat conftest.err >&5 3653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3654 (exit $ac_status); } && 3655 { ac_try='test -z "$ac_cxx_werror_flag" 3656 || test ! -s conftest.err' 3657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3658 (eval $ac_try) 2>&5 3659 ac_status=$? 3660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3661 (exit $ac_status); }; } && 3662 { ac_try='test -s conftest.$ac_objext' 3663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3664 (eval $ac_try) 2>&5 3665 ac_status=$? 3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3667 (exit $ac_status); }; }; then 4857 if ac_fn_cxx_try_compile "$LINENO"; then : 3668 4858 ac_compiler_gnu=yes 3669 4859 else 3670 echo "$as_me: failed program was:" >&5 3671 sed 's/^/| /' conftest.$ac_ext >&5 3672 3673 ac_compiler_gnu=no 3674 fi 3675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4860 ac_compiler_gnu=no 4861 fi 4862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3676 4863 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3677 4864 3678 4865 fi 3679 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3680 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 3681 GXX=`test $ac_compiler_gnu = yes && echo yes` 4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 4867 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 4868 if test $ac_compiler_gnu = yes; then 4869 GXX=yes 4870 else 4871 GXX= 4872 fi 3682 4873 ac_test_CXXFLAGS=${CXXFLAGS+set} 3683 4874 ac_save_CXXFLAGS=$CXXFLAGS 3684 CXXFLAGS="-g" 3685 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3686 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3687 if test "${ac_cv_prog_cxx_g+set}" = set; then 3688 echo $ECHO_N "(cached) $ECHO_C" >&6 3689 else 3690 cat >conftest.$ac_ext <<_ACEOF 3691 /* confdefs.h. */ 3692 _ACEOF 3693 cat confdefs.h >>conftest.$ac_ext 3694 cat >>conftest.$ac_ext <<_ACEOF 4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 4876 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 4877 if ${ac_cv_prog_cxx_g+:} false; then : 4878 $as_echo_n "(cached) " >&6 4879 else 4880 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 4881 ac_cxx_werror_flag=yes 4882 ac_cv_prog_cxx_g=no 4883 CXXFLAGS="-g" 4884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3695 4885 /* end confdefs.h. */ 3696 4886 … … 3703 4893 } 3704 4894 _ACEOF 3705 rm -f conftest.$ac_objext 3706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3707 (eval $ac_compile) 2>conftest.er1 3708 ac_status=$? 3709 grep -v '^ *+' conftest.er1 >conftest.err 3710 rm -f conftest.er1 3711 cat conftest.err >&5 3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3713 (exit $ac_status); } && 3714 { ac_try='test -z "$ac_cxx_werror_flag" 3715 || test ! -s conftest.err' 3716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3717 (eval $ac_try) 2>&5 3718 ac_status=$? 3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3720 (exit $ac_status); }; } && 3721 { ac_try='test -s conftest.$ac_objext' 3722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3723 (eval $ac_try) 2>&5 3724 ac_status=$? 3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3726 (exit $ac_status); }; }; then 4895 if ac_fn_cxx_try_compile "$LINENO"; then : 3727 4896 ac_cv_prog_cxx_g=yes 3728 4897 else 3729 echo "$as_me: failed program was:" >&5 3730 sed 's/^/| /' conftest.$ac_ext >&5 3731 3732 ac_cv_prog_cxx_g=no 3733 fi 3734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3735 fi 3736 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3737 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 4898 CXXFLAGS="" 4899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4900 /* end confdefs.h. */ 4901 4902 int 4903 main () 4904 { 4905 4906 ; 4907 return 0; 4908 } 4909 _ACEOF 4910 if ac_fn_cxx_try_compile "$LINENO"; then : 4911 4912 else 4913 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4914 CXXFLAGS="-g" 4915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4916 /* end confdefs.h. */ 4917 4918 int 4919 main () 4920 { 4921 4922 ; 4923 return 0; 4924 } 4925 _ACEOF 4926 if ac_fn_cxx_try_compile "$LINENO"; then : 4927 ac_cv_prog_cxx_g=yes 4928 fi 4929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4930 fi 4931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4932 fi 4933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4934 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4935 fi 4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4937 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3738 4938 if test "$ac_test_CXXFLAGS" = set; then 3739 4939 CXXFLAGS=$ac_save_CXXFLAGS … … 3751 4951 fi 3752 4952 fi 3753 for ac_declaration in \3754 '' \3755 'extern "C" void std::exit (int) throw (); using std::exit;' \3756 'extern "C" void std::exit (int); using std::exit;' \3757 'extern "C" void exit (int) throw ();' \3758 'extern "C" void exit (int);' \3759 'void exit (int);'3760 do3761 cat >conftest.$ac_ext <<_ACEOF3762 /* confdefs.h. */3763 _ACEOF3764 cat confdefs.h >>conftest.$ac_ext3765 cat >>conftest.$ac_ext <<_ACEOF3766 /* end confdefs.h. */3767 $ac_declaration3768 #include <stdlib.h>3769 int3770 main ()3771 {3772 exit (42);3773 ;3774 return 0;3775 }3776 _ACEOF3777 rm -f conftest.$ac_objext3778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53779 (eval $ac_compile) 2>conftest.er13780 ac_status=$?3781 grep -v '^ *+' conftest.er1 >conftest.err3782 rm -f conftest.er13783 cat conftest.err >&53784 echo "$as_me:$LINENO: \$? = $ac_status" >&53785 (exit $ac_status); } &&3786 { ac_try='test -z "$ac_cxx_werror_flag"3787 || test ! -s conftest.err'3788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53789 (eval $ac_try) 2>&53790 ac_status=$?3791 echo "$as_me:$LINENO: \$? = $ac_status" >&53792 (exit $ac_status); }; } &&3793 { ac_try='test -s conftest.$ac_objext'3794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53795 (eval $ac_try) 2>&53796 ac_status=$?3797 echo "$as_me:$LINENO: \$? = $ac_status" >&53798 (exit $ac_status); }; }; then3799 :3800 else3801 echo "$as_me: failed program was:" >&53802 sed 's/^/| /' conftest.$ac_ext >&53803 3804 continue3805 fi3806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3807 cat >conftest.$ac_ext <<_ACEOF3808 /* confdefs.h. */3809 _ACEOF3810 cat confdefs.h >>conftest.$ac_ext3811 cat >>conftest.$ac_ext <<_ACEOF3812 /* end confdefs.h. */3813 $ac_declaration3814 int3815 main ()3816 {3817 exit (42);3818 ;3819 return 0;3820 }3821 _ACEOF3822 rm -f conftest.$ac_objext3823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53824 (eval $ac_compile) 2>conftest.er13825 ac_status=$?3826 grep -v '^ *+' conftest.er1 >conftest.err3827 rm -f conftest.er13828 cat conftest.err >&53829 echo "$as_me:$LINENO: \$? = $ac_status" >&53830 (exit $ac_status); } &&3831 { ac_try='test -z "$ac_cxx_werror_flag"3832 || test ! -s conftest.err'3833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53834 (eval $ac_try) 2>&53835 ac_status=$?3836 echo "$as_me:$LINENO: \$? = $ac_status" >&53837 (exit $ac_status); }; } &&3838 { ac_try='test -s conftest.$ac_objext'3839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53840 (eval $ac_try) 2>&53841 ac_status=$?3842 echo "$as_me:$LINENO: \$? = $ac_status" >&53843 (exit $ac_status); }; }; then3844 break3845 else3846 echo "$as_me: failed program was:" >&53847 sed 's/^/| /' conftest.$ac_ext >&53848 3849 fi3850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3851 done3852 rm -f conftest*3853 if test -n "$ac_declaration"; then3854 echo '#ifdef __cplusplus' >>confdefs.h3855 echo $ac_declaration >>confdefs.h3856 echo '#endif' >>confdefs.h3857 fi3858 3859 4953 ac_ext=c 3860 4954 ac_cpp='$CPP $CPPFLAGS' … … 3869 4963 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 3870 4964 if test -n "$ac_tool_prefix"; then 3871 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran4965 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor 3872 4966 do 3873 4967 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3874 4968 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3875 echo "$as_me:$LINENO: checking for $ac_word" >&53876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3877 if test "${ac_cv_prog_F77+set}" = set; then3878 echo $ECHO_N "(cached) $ECHO_C" >&64969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4970 $as_echo_n "checking for $ac_word... " >&6; } 4971 if ${ac_cv_prog_F77+:} false; then : 4972 $as_echo_n "(cached) " >&6 3879 4973 else 3880 4974 if test -n "$F77"; then … … 3886 4980 IFS=$as_save_IFS 3887 4981 test -z "$as_dir" && as_dir=. 3888 for ac_exec_ext in '' $ac_executable_extensions; do3889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4982 for ac_exec_ext in '' $ac_executable_extensions; do 4983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3890 4984 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 3891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3892 4986 break 2 3893 4987 fi 3894 4988 done 3895 done 4989 done 4990 IFS=$as_save_IFS 3896 4991 3897 4992 fi … … 3899 4994 F77=$ac_cv_prog_F77 3900 4995 if test -n "$F77"; then 3901 echo "$as_me:$LINENO: result: $F77" >&5 3902 echo "${ECHO_T}$F77" >&6 3903 else 3904 echo "$as_me:$LINENO: result: no" >&5 3905 echo "${ECHO_T}no" >&6 3906 fi 4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 4997 $as_echo "$F77" >&6; } 4998 else 4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5000 $as_echo "no" >&6; } 5001 fi 5002 3907 5003 3908 5004 test -n "$F77" && break … … 3911 5007 if test -z "$F77"; then 3912 5008 ac_ct_F77=$F77 3913 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran5009 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor 3914 5010 do 3915 5011 # Extract the first word of "$ac_prog", so it can be a program name with args. 3916 5012 set dummy $ac_prog; ac_word=$2 3917 echo "$as_me:$LINENO: checking for $ac_word" >&53918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3919 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then3920 echo $ECHO_N "(cached) $ECHO_C" >&65013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5014 $as_echo_n "checking for $ac_word... " >&6; } 5015 if ${ac_cv_prog_ac_ct_F77+:} false; then : 5016 $as_echo_n "(cached) " >&6 3921 5017 else 3922 5018 if test -n "$ac_ct_F77"; then … … 3928 5024 IFS=$as_save_IFS 3929 5025 test -z "$as_dir" && as_dir=. 3930 for ac_exec_ext in '' $ac_executable_extensions; do3931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5026 for ac_exec_ext in '' $ac_executable_extensions; do 5027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3932 5028 ac_cv_prog_ac_ct_F77="$ac_prog" 3933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3934 5030 break 2 3935 5031 fi 3936 5032 done 3937 done 5033 done 5034 IFS=$as_save_IFS 3938 5035 3939 5036 fi … … 3941 5038 ac_ct_F77=$ac_cv_prog_ac_ct_F77 3942 5039 if test -n "$ac_ct_F77"; then 3943 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 3944 echo "${ECHO_T}$ac_ct_F77" >&6 3945 else 3946 echo "$as_me:$LINENO: result: no" >&5 3947 echo "${ECHO_T}no" >&6 3948 fi 5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 5041 $as_echo "$ac_ct_F77" >&6; } 5042 else 5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5044 $as_echo "no" >&6; } 5045 fi 5046 3949 5047 3950 5048 test -n "$ac_ct_F77" && break 3951 5049 done 3952 5050 3953 F77=$ac_ct_F77 5051 if test "x$ac_ct_F77" = x; then 5052 F77="" 5053 else 5054 case $cross_compiling:$ac_tool_warned in 5055 yes:) 5056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5058 ac_tool_warned=yes ;; 5059 esac 5060 F77=$ac_ct_F77 5061 fi 3954 5062 fi 3955 5063 3956 5064 3957 5065 # Provide some information about the compiler. 3958 echo "$as_me:3958:" \ 3959 "checking for Fortran 77 compiler version" >&5 3960 ac_compiler=`set X $ac_compile; echo $2` 3961 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 3962 (eval $ac_compiler --version </dev/null >&5) 2>&5 5066 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 5067 set X $ac_compile 5068 ac_compiler=$2 5069 for ac_option in --version -v -V -qversion; do 5070 { { ac_try="$ac_compiler $ac_option >&5" 5071 case "(($ac_try" in 5072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5073 *) ac_try_echo=$ac_try;; 5074 esac 5075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5076 $as_echo "$ac_try_echo"; } >&5 5077 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3963 5078 ac_status=$? 3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3965 (exit $ac_status); } 3966 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 3967 (eval $ac_compiler -v </dev/null >&5) 2>&5 3968 ac_status=$? 3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3970 (exit $ac_status); } 3971 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 3972 (eval $ac_compiler -V </dev/null >&5) 2>&5 3973 ac_status=$? 3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3975 (exit $ac_status); } 5079 if test -s conftest.err; then 5080 sed '10a\ 5081 ... rest of stderr output deleted ... 5082 10q' conftest.err >conftest.er1 5083 cat conftest.er1 >&5 5084 fi 5085 rm -f conftest.er1 conftest.err 5086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5087 test $ac_status = 0; } 5088 done 3976 5089 rm -f a.out 3977 5090 … … 3980 5093 ac_save_ext=$ac_ext 3981 5094 ac_ext=F 3982 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&53983 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 3984 if test "${ac_cv_f77_compiler_gnu+set}" = set; then3985 echo $ECHO_N "(cached) $ECHO_C" >&63986 else 3987 cat > conftest.$ac_ext <<_ACEOF5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 5096 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 5097 if ${ac_cv_f77_compiler_gnu+:} false; then : 5098 $as_echo_n "(cached) " >&6 5099 else 5100 cat > conftest.$ac_ext <<_ACEOF 3988 5101 program main 3989 5102 #ifndef __GNUC__ … … 3993 5106 end 3994 5107 _ACEOF 3995 rm -f conftest.$ac_objext 3996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3997 (eval $ac_compile) 2>conftest.er1 3998 ac_status=$? 3999 grep -v '^ *+' conftest.er1 >conftest.err 4000 rm -f conftest.er1 4001 cat conftest.err >&5 4002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4003 (exit $ac_status); } && 4004 { ac_try='test -z "$ac_f77_werror_flag" 4005 || test ! -s conftest.err' 4006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4007 (eval $ac_try) 2>&5 4008 ac_status=$? 4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4010 (exit $ac_status); }; } && 4011 { ac_try='test -s conftest.$ac_objext' 4012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4013 (eval $ac_try) 2>&5 4014 ac_status=$? 4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4016 (exit $ac_status); }; }; then 5108 if ac_fn_f77_try_compile "$LINENO"; then : 4017 5109 ac_compiler_gnu=yes 4018 5110 else 4019 echo "$as_me: failed program was:" >&5 4020 sed 's/^/| /' conftest.$ac_ext >&5 4021 4022 ac_compiler_gnu=no 4023 fi 4024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5111 ac_compiler_gnu=no 5112 fi 5113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4025 5114 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 4026 5115 4027 5116 fi 4028 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&54029 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 5118 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 4030 5119 ac_ext=$ac_save_ext 4031 5120 ac_test_FFLAGS=${FFLAGS+set} 4032 5121 ac_save_FFLAGS=$FFLAGS 4033 5122 FFLAGS= 4034 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&54035 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 4036 if test "${ac_cv_prog_f77_g+set}" = set; then4037 echo $ECHO_N "(cached) $ECHO_C" >&65123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 5124 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 5125 if ${ac_cv_prog_f77_g+:} false; then : 5126 $as_echo_n "(cached) " >&6 4038 5127 else 4039 5128 FFLAGS=-g 4040 cat > conftest.$ac_ext <<_ACEOF5129 cat > conftest.$ac_ext <<_ACEOF 4041 5130 program main 4042 5131 4043 5132 end 4044 5133 _ACEOF 4045 rm -f conftest.$ac_objext 4046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4047 (eval $ac_compile) 2>conftest.er1 4048 ac_status=$? 4049 grep -v '^ *+' conftest.er1 >conftest.err 4050 rm -f conftest.er1 4051 cat conftest.err >&5 4052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4053 (exit $ac_status); } && 4054 { ac_try='test -z "$ac_f77_werror_flag" 4055 || test ! -s conftest.err' 4056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4057 (eval $ac_try) 2>&5 4058 ac_status=$? 4059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4060 (exit $ac_status); }; } && 4061 { ac_try='test -s conftest.$ac_objext' 4062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4063 (eval $ac_try) 2>&5 4064 ac_status=$? 4065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4066 (exit $ac_status); }; }; then 5134 if ac_fn_f77_try_compile "$LINENO"; then : 4067 5135 ac_cv_prog_f77_g=yes 4068 5136 else 4069 echo "$as_me: failed program was:" >&5 4070 sed 's/^/| /' conftest.$ac_ext >&5 4071 4072 ac_cv_prog_f77_g=no 4073 fi 4074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4075 4076 fi 4077 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 4078 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 5137 ac_cv_prog_f77_g=no 5138 fi 5139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5140 5141 fi 5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 5143 $as_echo "$ac_cv_prog_f77_g" >&6; } 4079 5144 if test "$ac_test_FFLAGS" = set; then 4080 5145 FFLAGS=$ac_save_FFLAGS … … 4093 5158 fi 4094 5159 4095 G77=`test $ac_compiler_gnu = yes && echo yes` 5160 if test $ac_compiler_gnu = yes; then 5161 G77=yes 5162 else 5163 G77= 5164 fi 4096 5165 ac_ext=c 4097 5166 ac_cpp='$CPP $CPPFLAGS' … … 4106 5175 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4107 5176 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 4108 echo "$as_me:$LINENO: checking how to get verbose linking output from $F77" >&54109 echo $ECHO_N "checking how to get verbose linking output from $F77... $ECHO_C" >&6 4110 if test "${ac_cv_prog_f77_v+set}" = set; then4111 echo $ECHO_N "(cached) $ECHO_C" >&64112 else 4113 cat > conftest.$ac_ext <<_ACEOF5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $F77" >&5 5178 $as_echo_n "checking how to get verbose linking output from $F77... " >&6; } 5179 if ${ac_cv_prog_f77_v+:} false; then : 5180 $as_echo_n "(cached) " >&6 5181 else 5182 cat > conftest.$ac_ext <<_ACEOF 4114 5183 program main 4115 5184 4116 5185 end 4117 5186 _ACEOF 4118 rm -f conftest.$ac_objext 4119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4120 (eval $ac_compile) 2>conftest.er1 4121 ac_status=$? 4122 grep -v '^ *+' conftest.er1 >conftest.err 4123 rm -f conftest.er1 4124 cat conftest.err >&5 4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4126 (exit $ac_status); } && 4127 { ac_try='test -z "$ac_f77_werror_flag" 4128 || test ! -s conftest.err' 4129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4130 (eval $ac_try) 2>&5 4131 ac_status=$? 4132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4133 (exit $ac_status); }; } && 4134 { ac_try='test -s conftest.$ac_objext' 4135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4136 (eval $ac_try) 2>&5 4137 ac_status=$? 4138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4139 (exit $ac_status); }; }; then 5187 if ac_fn_f77_try_compile "$LINENO"; then : 4140 5188 ac_cv_prog_f77_v= 4141 5189 # Try some options frequently used verbose output 4142 5190 for ac_verb in -v -verbose --verbose -V -\#\#\#; do 4143 cat > conftest.$ac_ext <<_ACEOF5191 cat > conftest.$ac_ext <<_ACEOF 4144 5192 program main 4145 5193 … … 4153 5201 ac_save_FFLAGS=$FFLAGS 4154 5202 FFLAGS="$FFLAGS $ac_verb" 4155 (eval echo $as_me:4155: \"$ac_link\") >&5 4156 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 4157 echo "$ac_f77_v_output" >&5 5203 eval "set x $ac_link" 5204 shift 5205 $as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5 5206 # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, 5207 # LIBRARY_PATH; skip all such settings. 5208 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | 5209 sed '/^Driving:/d; /^Configured with:/d; 5210 '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"` 5211 $as_echo "$ac_f77_v_output" >&5 4158 5212 FFLAGS=$ac_save_FFLAGS 4159 5213 4160 rm - f conftest*5214 rm -rf conftest* 4161 5215 4162 5216 # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where … … 4165 5219 ac_f77_v_output="`echo $ac_f77_v_output | 4166 5220 grep 'LPATH is:' | 4167 sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_f77_v_output" 4168 5221 sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_f77_v_output" 5222 5223 # FIXME: we keep getting bitten by quoted arguments; a more general fix 5224 # that detects unbalanced quotes in FLIBS should be implemented 5225 # and (ugh) tested at some point. 4169 5226 case $ac_f77_v_output in 4170 # If we are using xlf then replace all the commas with spaces. 5227 # With xlf replace commas with spaces, 5228 # and remove "-link" and closing parenthesis. 4171 5229 *xlfentry*) 4172 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;; 5230 ac_f77_v_output=`echo $ac_f77_v_output | 5231 sed ' 5232 s/,/ /g 5233 s/ -link / /g 5234 s/) *$// 5235 ' 5236 ` ;; 4173 5237 4174 5238 # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted 4175 5239 # $LIBS confuse us, and the libraries appear later in the output anyway). 4176 5240 *mGLOB_options_string*) 4177 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;; 5241 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;; 5242 5243 # Portland Group compiler has singly- or doubly-quoted -cmdline argument 5244 # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4. 5245 # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2". 5246 *-cmdline\ * | *-ignore\ * | *-def\ *) 5247 ac_f77_v_output=`echo $ac_f77_v_output | sed "\ 5248 s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g 5249 s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g 5250 s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;; 5251 5252 # If we are using fort77 (the f2c wrapper) then filter output and delete quotes. 5253 *fort77*f2c*gcc*) 5254 ac_f77_v_output=`echo "$ac_f77_v_output" | sed -n ' 5255 /:[ ]\+Running[ ]\{1,\}"gcc"/{ 5256 /"-c"/d 5257 /[.]c"*/d 5258 s/^.*"gcc"/"gcc"/ 5259 s/"//gp 5260 }'` ;; 4178 5261 4179 5262 # If we are using Cray Fortran then delete quotes. 4180 # Use "\"" instead of '"' for font-lock-mode.4181 # FIXME: a more general fix for quoted arguments with spaces?4182 5263 *cft90*) 4183 ac_f77_v_output=`echo $ac_f77_v_output | sed "s/\"//g"` ;;5264 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"//g'` ;; 4184 5265 esac 4185 5266 … … 4188 5269 for ac_arg in $ac_f77_v_output; do 4189 5270 case $ac_arg in 4190 [\\/]*.a | ?:[\\/]*.a | -[lLRu]*)4191 ac_cv_prog_f77_v=$ac_verb4192 break 2 ;;5271 [\\/]*.a | ?:[\\/]*.a | -[lLRu]*) 5272 ac_cv_prog_f77_v=$ac_verb 5273 break 2 ;; 4193 5274 esac 4194 5275 done 4195 5276 done 4196 5277 if test -z "$ac_cv_prog_f77_v"; then 4197 { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F77" >&5 4198 echo "$as_me: WARNING: cannot determine how to obtain linking information from $F77" >&2;} 4199 fi 4200 else 4201 echo "$as_me: failed program was:" >&5 4202 sed 's/^/| /' conftest.$ac_ext >&5 4203 4204 { echo "$as_me:$LINENO: WARNING: compilation failed" >&5 4205 echo "$as_me: WARNING: compilation failed" >&2;} 4206 fi 4207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4208 4209 fi 4210 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_v" >&5 4211 echo "${ECHO_T}$ac_cv_prog_f77_v" >&6 4212 echo "$as_me:$LINENO: checking for Fortran libraries of $F77" >&5 4213 echo $ECHO_N "checking for Fortran libraries of $F77... $ECHO_C" >&6 4214 if test "${ac_cv_f77_libs+set}" = set; then 4215 echo $ECHO_N "(cached) $ECHO_C" >&6 5278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine how to obtain linking information from $F77" >&5 5279 $as_echo "$as_me: WARNING: cannot determine how to obtain linking information from $F77" >&2;} 5280 fi 5281 else 5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compilation failed" >&5 5283 $as_echo "$as_me: WARNING: compilation failed" >&2;} 5284 fi 5285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5286 5287 fi 5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_v" >&5 5289 $as_echo "$ac_cv_prog_f77_v" >&6; } 5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 libraries of $F77" >&5 5291 $as_echo_n "checking for Fortran 77 libraries of $F77... " >&6; } 5292 if ${ac_cv_f77_libs+:} false; then : 5293 $as_echo_n "(cached) " >&6 4216 5294 else 4217 5295 if test "x$FLIBS" != "x"; then … … 4219 5297 else 4220 5298 4221 cat > conftest.$ac_ext <<_ACEOF5299 cat > conftest.$ac_ext <<_ACEOF 4222 5300 program main 4223 5301 … … 4231 5309 ac_save_FFLAGS=$FFLAGS 4232 5310 FFLAGS="$FFLAGS $ac_cv_prog_f77_v" 4233 (eval echo $as_me:4233: \"$ac_link\") >&5 4234 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 4235 echo "$ac_f77_v_output" >&5 5311 eval "set x $ac_link" 5312 shift 5313 $as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5 5314 # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, 5315 # LIBRARY_PATH; skip all such settings. 5316 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | 5317 sed '/^Driving:/d; /^Configured with:/d; 5318 '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"` 5319 $as_echo "$ac_f77_v_output" >&5 4236 5320 FFLAGS=$ac_save_FFLAGS 4237 5321 4238 rm - f conftest*5322 rm -rf conftest* 4239 5323 4240 5324 # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where … … 4243 5327 ac_f77_v_output="`echo $ac_f77_v_output | 4244 5328 grep 'LPATH is:' | 4245 sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_f77_v_output" 4246 5329 sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_f77_v_output" 5330 5331 # FIXME: we keep getting bitten by quoted arguments; a more general fix 5332 # that detects unbalanced quotes in FLIBS should be implemented 5333 # and (ugh) tested at some point. 4247 5334 case $ac_f77_v_output in 4248 # If we are using xlf then replace all the commas with spaces. 5335 # With xlf replace commas with spaces, 5336 # and remove "-link" and closing parenthesis. 4249 5337 *xlfentry*) 4250 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;; 5338 ac_f77_v_output=`echo $ac_f77_v_output | 5339 sed ' 5340 s/,/ /g 5341 s/ -link / /g 5342 s/) *$// 5343 ' 5344 ` ;; 4251 5345 4252 5346 # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted 4253 5347 # $LIBS confuse us, and the libraries appear later in the output anyway). 4254 5348 *mGLOB_options_string*) 4255 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;; 5349 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;; 5350 5351 # Portland Group compiler has singly- or doubly-quoted -cmdline argument 5352 # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4. 5353 # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2". 5354 *-cmdline\ * | *-ignore\ * | *-def\ *) 5355 ac_f77_v_output=`echo $ac_f77_v_output | sed "\ 5356 s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g 5357 s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g 5358 s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;; 5359 5360 # If we are using fort77 (the f2c wrapper) then filter output and delete quotes. 5361 *fort77*f2c*gcc*) 5362 ac_f77_v_output=`echo "$ac_f77_v_output" | sed -n ' 5363 /:[ ]\+Running[ ]\{1,\}"gcc"/{ 5364 /"-c"/d 5365 /[.]c"*/d 5366 s/^.*"gcc"/"gcc"/ 5367 s/"//gp 5368 }'` ;; 4256 5369 4257 5370 # If we are using Cray Fortran then delete quotes. 4258 # Use "\"" instead of '"' for font-lock-mode.4259 # FIXME: a more general fix for quoted arguments with spaces?4260 5371 *cft90*) 4261 ac_f77_v_output=`echo $ac_f77_v_output | sed "s/\"//g"` ;;5372 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"//g'` ;; 4262 5373 esac 4263 5374 … … 4274 5385 ac_arg=$1 4275 5386 case $ac_arg in 4276 [\\/]*.a | ?:[\\/]*.a)4277 ac_exists=false5387 [\\/]*.a | ?:[\\/]*.a) 5388 ac_exists=false 4278 5389 for ac_i in $ac_cv_f77_libs; do 4279 5390 if test x"$ac_arg" = x"$ac_i"; then … … 4283 5394 done 4284 5395 4285 if test x"$ac_exists" = xtrue; then 4286 : 5396 if test x"$ac_exists" = xtrue; then : 5397 4287 5398 else 4288 5399 ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg" 4289 5400 fi 4290 4291 ;; 4292 -bI:*) 4293 ac_exists=false 5401 ;; 5402 -bI:*) 5403 ac_exists=false 4294 5404 for ac_i in $ac_cv_f77_libs; do 4295 5405 if test x"$ac_arg" = x"$ac_i"; then … … 4299 5409 done 4300 5410 4301 if test x"$ac_exists" = xtrue; then 4302 : 5411 if test x"$ac_exists" = xtrue; then : 5412 4303 5413 else 4304 5414 if test "$ac_compiler_gnu" = yes; then … … 4310 5420 fi 4311 5421 fi 4312 4313 ;; 4314 # Ignore these flags. 4315 -lang* | -lcrt[01].o | -lcrtbegin.o | -lc | -lgcc | -libmil | -LANG:=*) 4316 ;; 4317 -lkernel32) 4318 test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg" 4319 ;; 4320 -[LRuY]) 4321 # These flags, when seen by themselves, take an argument. 4322 # We remove the space between option and argument and re-iterate 4323 # unless we find an empty arg or a new option (starting with -) 5422 ;; 5423 # Ignore these flags. 5424 -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \ 5425 |-LANG:=* | -LIST:* | -LNO:* | -link) 5426 ;; 5427 -lkernel32) 5428 case $host_os in 5429 *cygwin*) ;; 5430 *) ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg" 5431 ;; 5432 esac 5433 ;; 5434 -[LRuYz]) 5435 # These flags, when seen by themselves, take an argument. 5436 # We remove the space between option and argument and re-iterate 5437 # unless we find an empty arg or a new option (starting with -) 4324 5438 case $2 in 4325 5439 "" | -*);; … … 4330 5444 ;; 4331 5445 esac 4332 ;;4333 -YP,*)4334 for ac_j in `echo $ac_arg| sed -e 's/-YP,/-L/;s/:/ -L/g'`; do4335 ac_exists=false5446 ;; 5447 -YP,*) 5448 for ac_j in `$as_echo "$ac_arg" | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do 5449 ac_exists=false 4336 5450 for ac_i in $ac_cv_f77_libs; do 4337 5451 if test x"$ac_j" = x"$ac_i"; then … … 4341 5455 done 4342 5456 4343 if test x"$ac_exists" = xtrue; then 4344 : 5457 if test x"$ac_exists" = xtrue; then : 5458 4345 5459 else 4346 5460 ac_arg="$ac_arg $ac_j" 4347 ac_cv_f77_libs="$ac_cv_f77_libs $ac_j" 4348 fi 4349 4350 done 4351 ;; 4352 -[lLR]*) 4353 ac_exists=false 5461 ac_cv_f77_libs="$ac_cv_f77_libs $ac_j" 5462 fi 5463 done 5464 ;; 5465 -[lLR]*) 5466 ac_exists=false 4354 5467 for ac_i in $ac_cv_f77_libs; do 4355 5468 if test x"$ac_arg" = x"$ac_i"; then … … 4359 5472 done 4360 5473 4361 if test x"$ac_exists" = xtrue; then 4362 : 5474 if test x"$ac_exists" = xtrue; then : 5475 4363 5476 else 4364 5477 ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg" 4365 5478 fi 4366 4367 ;; 4368 # Ignore everything else. 5479 ;; 5480 -zallextract*| -zdefaultextract) 5481 ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg" 5482 ;; 5483 # Ignore everything else. 4369 5484 esac 4370 5485 done … … 4377 5492 case `(uname -sr) 2>/dev/null` in 4378 5493 "SunOS 5"*) 4379 ac_ld_run_path=` echo $ac_f77_v_output|4380 sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'`5494 ac_ld_run_path=`$as_echo "$ac_f77_v_output" | 5495 sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'` 4381 5496 test "x$ac_ld_run_path" != x && 4382 if test "$ac_compiler_gnu" = yes; then5497 if test "$ac_compiler_gnu" = yes; then 4383 5498 for ac_link_opt in $ac_ld_run_path; do 4384 5499 ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt" … … 4392 5507 4393 5508 fi 4394 echo "$as_me:$LINENO: result: $ac_cv_f77_libs" >&54395 echo "${ECHO_T}$ac_cv_f77_libs" >&6 5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_libs" >&5 5510 $as_echo "$ac_cv_f77_libs" >&6; } 4396 5511 FLIBS="$ac_cv_f77_libs" 4397 5512 … … 4411 5526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4412 5527 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4413 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&54414 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5529 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4415 5530 # On Suns, sometimes $CPP names a directory. 4416 5531 if test -n "$CPP" && test -d "$CPP"; then … … 4418 5533 fi 4419 5534 if test -z "$CPP"; then 4420 if test "${ac_cv_prog_CPP+set}" = set; then4421 echo $ECHO_N "(cached) $ECHO_C" >&65535 if ${ac_cv_prog_CPP+:} false; then : 5536 $as_echo_n "(cached) " >&6 4422 5537 else 4423 5538 # Double quotes because CPP needs to be expanded … … 4433 5548 # On the NeXT, cc -E runs the code through the compiler's parser, 4434 5549 # not just through cpp. "Syntax error" is here to catch this case. 4435 cat >conftest.$ac_ext <<_ACEOF 4436 /* confdefs.h. */ 4437 _ACEOF 4438 cat confdefs.h >>conftest.$ac_ext 4439 cat >>conftest.$ac_ext <<_ACEOF 5550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4440 5551 /* end confdefs.h. */ 4441 5552 #ifdef __STDC__ … … 4446 5557 Syntax error 4447 5558 _ACEOF 4448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4449 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4450 ac_status=$? 4451 grep -v '^ *+' conftest.er1 >conftest.err 4452 rm -f conftest.er1 4453 cat conftest.err >&5 4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4455 (exit $ac_status); } >/dev/null; then 4456 if test -s conftest.err; then 4457 ac_cpp_err=$ac_c_preproc_warn_flag 4458 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4459 else 4460 ac_cpp_err= 4461 fi 4462 else 4463 ac_cpp_err=yes 4464 fi 4465 if test -z "$ac_cpp_err"; then 4466 : 4467 else 4468 echo "$as_me: failed program was:" >&5 4469 sed 's/^/| /' conftest.$ac_ext >&5 4470 5559 if ac_fn_c_try_cpp "$LINENO"; then : 5560 5561 else 4471 5562 # Broken: fails on valid input. 4472 5563 continue 4473 5564 fi 4474 rm -f conftest.err conftest. $ac_ext4475 4476 # OK, works on sane cases. Now check whether non -existent headers5565 rm -f conftest.err conftest.i conftest.$ac_ext 5566 5567 # OK, works on sane cases. Now check whether nonexistent headers 4477 5568 # can be detected and how. 4478 cat >conftest.$ac_ext <<_ACEOF 4479 /* confdefs.h. */ 4480 _ACEOF 4481 cat confdefs.h >>conftest.$ac_ext 4482 cat >>conftest.$ac_ext <<_ACEOF 5569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4483 5570 /* end confdefs.h. */ 4484 5571 #include <ac_nonexistent.h> 4485 5572 _ACEOF 4486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4487 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4488 ac_status=$? 4489 grep -v '^ *+' conftest.er1 >conftest.err 4490 rm -f conftest.er1 4491 cat conftest.err >&5 4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4493 (exit $ac_status); } >/dev/null; then 4494 if test -s conftest.err; then 4495 ac_cpp_err=$ac_c_preproc_warn_flag 4496 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4497 else 4498 ac_cpp_err= 4499 fi 4500 else 4501 ac_cpp_err=yes 4502 fi 4503 if test -z "$ac_cpp_err"; then 5573 if ac_fn_c_try_cpp "$LINENO"; then : 4504 5574 # Broken: success on invalid input. 4505 5575 continue 4506 5576 else 4507 echo "$as_me: failed program was:" >&54508 sed 's/^/| /' conftest.$ac_ext >&54509 4510 5577 # Passes both tests. 4511 5578 ac_preproc_ok=: 4512 5579 break 4513 5580 fi 4514 rm -f conftest.err conftest. $ac_ext5581 rm -f conftest.err conftest.i conftest.$ac_ext 4515 5582 4516 5583 done 4517 5584 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4518 rm -f conftest. err conftest.$ac_ext4519 if $ac_preproc_ok; then 5585 rm -f conftest.i conftest.err conftest.$ac_ext 5586 if $ac_preproc_ok; then : 4520 5587 break 4521 5588 fi … … 4529 5596 ac_cv_prog_CPP=$CPP 4530 5597 fi 4531 echo "$as_me:$LINENO: result: $CPP" >&54532 echo "${ECHO_T}$CPP" >&6 5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5599 $as_echo "$CPP" >&6; } 4533 5600 ac_preproc_ok=false 4534 5601 for ac_c_preproc_warn_flag in '' yes … … 4540 5607 # On the NeXT, cc -E runs the code through the compiler's parser, 4541 5608 # not just through cpp. "Syntax error" is here to catch this case. 4542 cat >conftest.$ac_ext <<_ACEOF 4543 /* confdefs.h. */ 4544 _ACEOF 4545 cat confdefs.h >>conftest.$ac_ext 4546 cat >>conftest.$ac_ext <<_ACEOF 5609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4547 5610 /* end confdefs.h. */ 4548 5611 #ifdef __STDC__ … … 4553 5616 Syntax error 4554 5617 _ACEOF 4555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4557 ac_status=$? 4558 grep -v '^ *+' conftest.er1 >conftest.err 4559 rm -f conftest.er1 4560 cat conftest.err >&5 4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4562 (exit $ac_status); } >/dev/null; then 4563 if test -s conftest.err; then 4564 ac_cpp_err=$ac_c_preproc_warn_flag 4565 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4566 else 4567 ac_cpp_err= 4568 fi 4569 else 4570 ac_cpp_err=yes 4571 fi 4572 if test -z "$ac_cpp_err"; then 4573 : 4574 else 4575 echo "$as_me: failed program was:" >&5 4576 sed 's/^/| /' conftest.$ac_ext >&5 4577 5618 if ac_fn_c_try_cpp "$LINENO"; then : 5619 5620 else 4578 5621 # Broken: fails on valid input. 4579 5622 continue 4580 5623 fi 4581 rm -f conftest.err conftest. $ac_ext4582 4583 # OK, works on sane cases. Now check whether non -existent headers5624 rm -f conftest.err conftest.i conftest.$ac_ext 5625 5626 # OK, works on sane cases. Now check whether nonexistent headers 4584 5627 # can be detected and how. 4585 cat >conftest.$ac_ext <<_ACEOF 4586 /* confdefs.h. */ 4587 _ACEOF 4588 cat confdefs.h >>conftest.$ac_ext 4589 cat >>conftest.$ac_ext <<_ACEOF 5628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4590 5629 /* end confdefs.h. */ 4591 5630 #include <ac_nonexistent.h> 4592 5631 _ACEOF 4593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4594 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4595 ac_status=$? 4596 grep -v '^ *+' conftest.er1 >conftest.err 4597 rm -f conftest.er1 4598 cat conftest.err >&5 4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4600 (exit $ac_status); } >/dev/null; then 4601 if test -s conftest.err; then 4602 ac_cpp_err=$ac_c_preproc_warn_flag 4603 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4604 else 4605 ac_cpp_err= 4606 fi 4607 else 4608 ac_cpp_err=yes 4609 fi 4610 if test -z "$ac_cpp_err"; then 5632 if ac_fn_c_try_cpp "$LINENO"; then : 4611 5633 # Broken: success on invalid input. 4612 5634 continue 4613 5635 else 4614 echo "$as_me: failed program was:" >&54615 sed 's/^/| /' conftest.$ac_ext >&54616 4617 5636 # Passes both tests. 4618 5637 ac_preproc_ok=: 4619 5638 break 4620 5639 fi 4621 rm -f conftest.err conftest. $ac_ext5640 rm -f conftest.err conftest.i conftest.$ac_ext 4622 5641 4623 5642 done 4624 5643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4625 rm -f conftest.err conftest.$ac_ext 4626 if $ac_preproc_ok; then 4627 : 4628 else 4629 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4630 See \`config.log' for more details." >&5 4631 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4632 See \`config.log' for more details." >&2;} 4633 { (exit 1); exit 1; }; } 5644 rm -f conftest.i conftest.err conftest.$ac_ext 5645 if $ac_preproc_ok; then : 5646 5647 else 5648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5650 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5651 See \`config.log' for more details" "$LINENO" 5; } 4634 5652 fi 4635 5653 … … 4640 5658 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4641 5659 4642 ac_ext=c c5660 ac_ext=cpp 4643 5661 ac_cpp='$CXXCPP $CPPFLAGS' 4644 5662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4645 5663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4646 5664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4647 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&54648 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 5666 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4649 5667 if test -z "$CXXCPP"; then 4650 if test "${ac_cv_prog_CXXCPP+set}" = set; then4651 echo $ECHO_N "(cached) $ECHO_C" >&65668 if ${ac_cv_prog_CXXCPP+:} false; then : 5669 $as_echo_n "(cached) " >&6 4652 5670 else 4653 5671 # Double quotes because CXXCPP needs to be expanded … … 4663 5681 # On the NeXT, cc -E runs the code through the compiler's parser, 4664 5682 # not just through cpp. "Syntax error" is here to catch this case. 4665 cat >conftest.$ac_ext <<_ACEOF 4666 /* confdefs.h. */ 4667 _ACEOF 4668 cat confdefs.h >>conftest.$ac_ext 4669 cat >>conftest.$ac_ext <<_ACEOF 5683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4670 5684 /* end confdefs.h. */ 4671 5685 #ifdef __STDC__ … … 4676 5690 Syntax error 4677 5691 _ACEOF 4678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4679 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4680 ac_status=$? 4681 grep -v '^ *+' conftest.er1 >conftest.err 4682 rm -f conftest.er1 4683 cat conftest.err >&5 4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4685 (exit $ac_status); } >/dev/null; then 4686 if test -s conftest.err; then 4687 ac_cpp_err=$ac_cxx_preproc_warn_flag 4688 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 4689 else 4690 ac_cpp_err= 4691 fi 4692 else 4693 ac_cpp_err=yes 4694 fi 4695 if test -z "$ac_cpp_err"; then 4696 : 4697 else 4698 echo "$as_me: failed program was:" >&5 4699 sed 's/^/| /' conftest.$ac_ext >&5 4700 5692 if ac_fn_cxx_try_cpp "$LINENO"; then : 5693 5694 else 4701 5695 # Broken: fails on valid input. 4702 5696 continue 4703 5697 fi 4704 rm -f conftest.err conftest. $ac_ext4705 4706 # OK, works on sane cases. Now check whether non -existent headers5698 rm -f conftest.err conftest.i conftest.$ac_ext 5699 5700 # OK, works on sane cases. Now check whether nonexistent headers 4707 5701 # can be detected and how. 4708 cat >conftest.$ac_ext <<_ACEOF 4709 /* confdefs.h. */ 4710 _ACEOF 4711 cat confdefs.h >>conftest.$ac_ext 4712 cat >>conftest.$ac_ext <<_ACEOF 5702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4713 5703 /* end confdefs.h. */ 4714 5704 #include <ac_nonexistent.h> 4715 5705 _ACEOF 4716 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4717 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4718 ac_status=$? 4719 grep -v '^ *+' conftest.er1 >conftest.err 4720 rm -f conftest.er1 4721 cat conftest.err >&5 4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4723 (exit $ac_status); } >/dev/null; then 4724 if test -s conftest.err; then 4725 ac_cpp_err=$ac_cxx_preproc_warn_flag 4726 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 4727 else 4728 ac_cpp_err= 4729 fi 4730 else 4731 ac_cpp_err=yes 4732 fi 4733 if test -z "$ac_cpp_err"; then 5706 if ac_fn_cxx_try_cpp "$LINENO"; then : 4734 5707 # Broken: success on invalid input. 4735 5708 continue 4736 5709 else 4737 echo "$as_me: failed program was:" >&54738 sed 's/^/| /' conftest.$ac_ext >&54739 4740 5710 # Passes both tests. 4741 5711 ac_preproc_ok=: 4742 5712 break 4743 5713 fi 4744 rm -f conftest.err conftest. $ac_ext5714 rm -f conftest.err conftest.i conftest.$ac_ext 4745 5715 4746 5716 done 4747 5717 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4748 rm -f conftest. err conftest.$ac_ext4749 if $ac_preproc_ok; then 5718 rm -f conftest.i conftest.err conftest.$ac_ext 5719 if $ac_preproc_ok; then : 4750 5720 break 4751 5721 fi … … 4759 5729 ac_cv_prog_CXXCPP=$CXXCPP 4760 5730 fi 4761 echo "$as_me:$LINENO: result: $CXXCPP" >&54762 echo "${ECHO_T}$CXXCPP" >&6 5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 5732 $as_echo "$CXXCPP" >&6; } 4763 5733 ac_preproc_ok=false 4764 5734 for ac_cxx_preproc_warn_flag in '' yes … … 4770 5740 # On the NeXT, cc -E runs the code through the compiler's parser, 4771 5741 # not just through cpp. "Syntax error" is here to catch this case. 4772 cat >conftest.$ac_ext <<_ACEOF 4773 /* confdefs.h. */ 4774 _ACEOF 4775 cat confdefs.h >>conftest.$ac_ext 4776 cat >>conftest.$ac_ext <<_ACEOF 5742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4777 5743 /* end confdefs.h. */ 4778 5744 #ifdef __STDC__ … … 4783 5749 Syntax error 4784 5750 _ACEOF 4785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4786 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4787 ac_status=$? 4788 grep -v '^ *+' conftest.er1 >conftest.err 4789 rm -f conftest.er1 4790 cat conftest.err >&5 4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4792 (exit $ac_status); } >/dev/null; then 4793 if test -s conftest.err; then 4794 ac_cpp_err=$ac_cxx_preproc_warn_flag 4795 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 4796 else 4797 ac_cpp_err= 4798 fi 4799 else 4800 ac_cpp_err=yes 4801 fi 4802 if test -z "$ac_cpp_err"; then 4803 : 4804 else 4805 echo "$as_me: failed program was:" >&5 4806 sed 's/^/| /' conftest.$ac_ext >&5 4807 5751 if ac_fn_cxx_try_cpp "$LINENO"; then : 5752 5753 else 4808 5754 # Broken: fails on valid input. 4809 5755 continue 4810 5756 fi 4811 rm -f conftest.err conftest. $ac_ext4812 4813 # OK, works on sane cases. Now check whether non -existent headers5757 rm -f conftest.err conftest.i conftest.$ac_ext 5758 5759 # OK, works on sane cases. Now check whether nonexistent headers 4814 5760 # can be detected and how. 4815 cat >conftest.$ac_ext <<_ACEOF 4816 /* confdefs.h. */ 4817 _ACEOF 4818 cat confdefs.h >>conftest.$ac_ext 4819 cat >>conftest.$ac_ext <<_ACEOF 5761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4820 5762 /* end confdefs.h. */ 4821 5763 #include <ac_nonexistent.h> 4822 5764 _ACEOF 4823 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4824 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4825 ac_status=$? 4826 grep -v '^ *+' conftest.er1 >conftest.err 4827 rm -f conftest.er1 4828 cat conftest.err >&5 4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4830 (exit $ac_status); } >/dev/null; then 4831 if test -s conftest.err; then 4832 ac_cpp_err=$ac_cxx_preproc_warn_flag 4833 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 4834 else 4835 ac_cpp_err= 4836 fi 4837 else 4838 ac_cpp_err=yes 4839 fi 4840 if test -z "$ac_cpp_err"; then 5765 if ac_fn_cxx_try_cpp "$LINENO"; then : 4841 5766 # Broken: success on invalid input. 4842 5767 continue 4843 5768 else 4844 echo "$as_me: failed program was:" >&54845 sed 's/^/| /' conftest.$ac_ext >&54846 4847 5769 # Passes both tests. 4848 5770 ac_preproc_ok=: 4849 5771 break 4850 5772 fi 4851 rm -f conftest.err conftest. $ac_ext5773 rm -f conftest.err conftest.i conftest.$ac_ext 4852 5774 4853 5775 done 4854 5776 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4855 rm -f conftest.err conftest.$ac_ext 4856 if $ac_preproc_ok; then 4857 : 4858 else 4859 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4860 See \`config.log' for more details." >&5 4861 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4862 See \`config.log' for more details." >&2;} 4863 { (exit 1); exit 1; }; } 5777 rm -f conftest.i conftest.err conftest.$ac_ext 5778 if $ac_preproc_ok; then : 5779 5780 else 5781 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5782 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5783 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 5784 See \`config.log' for more details" "$LINENO" 5; } 4864 5785 fi 4865 5786 … … 4872 5793 # Extract the first word of "ar", so it can be a program name with args. 4873 5794 set dummy ar; ac_word=$2 4874 echo "$as_me:$LINENO: checking for $ac_word" >&54875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4876 if test "${ac_cv_prog_AR+set}" = set; then4877 echo $ECHO_N "(cached) $ECHO_C" >&65795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5796 $as_echo_n "checking for $ac_word... " >&6; } 5797 if ${ac_cv_prog_AR+:} false; then : 5798 $as_echo_n "(cached) " >&6 4878 5799 else 4879 5800 if test -n "$AR"; then … … 4885 5806 IFS=$as_save_IFS 4886 5807 test -z "$as_dir" && as_dir=. 4887 for ac_exec_ext in '' $ac_executable_extensions; do4888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5808 for ac_exec_ext in '' $ac_executable_extensions; do 5809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4889 5810 ac_cv_prog_AR="ar" 4890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4891 5812 break 2 4892 5813 fi 4893 5814 done 4894 done 5815 done 5816 IFS=$as_save_IFS 4895 5817 4896 5818 fi … … 4898 5820 AR=$ac_cv_prog_AR 4899 5821 if test -n "$AR"; then 4900 echo "$as_me:$LINENO: result: $AR" >&5 4901 echo "${ECHO_T}$AR" >&6 4902 else 4903 echo "$as_me:$LINENO: result: no" >&5 4904 echo "${ECHO_T}no" >&6 4905 fi 5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5823 $as_echo "$AR" >&6; } 5824 else 5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5826 $as_echo "no" >&6; } 5827 fi 5828 4906 5829 4907 5830 # Extract the first word of "perl", so it can be a program name with args. 4908 5831 set dummy perl; ac_word=$2 4909 echo "$as_me:$LINENO: checking for $ac_word" >&54910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4911 if test "${ac_cv_prog_PERL+set}" = set; then4912 echo $ECHO_N "(cached) $ECHO_C" >&65832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5833 $as_echo_n "checking for $ac_word... " >&6; } 5834 if ${ac_cv_prog_PERL+:} false; then : 5835 $as_echo_n "(cached) " >&6 4913 5836 else 4914 5837 if test -n "$PERL"; then … … 4920 5843 IFS=$as_save_IFS 4921 5844 test -z "$as_dir" && as_dir=. 4922 for ac_exec_ext in '' $ac_executable_extensions; do4923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5845 for ac_exec_ext in '' $ac_executable_extensions; do 5846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4924 5847 ac_cv_prog_PERL="perl" 4925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4926 5849 break 2 4927 5850 fi 4928 5851 done 4929 done 5852 done 5853 IFS=$as_save_IFS 4930 5854 4931 5855 fi … … 4933 5857 PERL=$ac_cv_prog_PERL 4934 5858 if test -n "$PERL"; then 4935 echo "$as_me:$LINENO: result: $PERL" >&5 4936 echo "${ECHO_T}$PERL" >&6 4937 else 4938 echo "$as_me:$LINENO: result: no" >&5 4939 echo "${ECHO_T}no" >&6 4940 fi 5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 5860 $as_echo "$PERL" >&6; } 5861 else 5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5863 $as_echo "no" >&6; } 5864 fi 5865 4941 5866 4942 5867 # Extract the first word of "wish", so it can be a program name with args. 4943 5868 set dummy wish; ac_word=$2 4944 echo "$as_me:$LINENO: checking for $ac_word" >&54945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4946 if test "${ac_cv_prog_WISH+set}" = set; then4947 echo $ECHO_N "(cached) $ECHO_C" >&65869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5870 $as_echo_n "checking for $ac_word... " >&6; } 5871 if ${ac_cv_prog_WISH+:} false; then : 5872 $as_echo_n "(cached) " >&6 4948 5873 else 4949 5874 if test -n "$WISH"; then … … 4955 5880 IFS=$as_save_IFS 4956 5881 test -z "$as_dir" && as_dir=. 4957 for ac_exec_ext in '' $ac_executable_extensions; do4958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5882 for ac_exec_ext in '' $ac_executable_extensions; do 5883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4959 5884 ac_cv_prog_WISH="/usr/bin/wish" 4960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4961 5886 break 2 4962 5887 fi 4963 5888 done 4964 done 5889 done 5890 IFS=$as_save_IFS 4965 5891 4966 5892 fi … … 4968 5894 WISH=$ac_cv_prog_WISH 4969 5895 if test -n "$WISH"; then 4970 echo "$as_me:$LINENO: result: $WISH" >&5 4971 echo "${ECHO_T}$WISH" >&6 4972 else 4973 echo "$as_me:$LINENO: result: no" >&5 4974 echo "${ECHO_T}no" >&6 4975 fi 5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WISH" >&5 5897 $as_echo "$WISH" >&6; } 5898 else 5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5900 $as_echo "no" >&6; } 5901 fi 5902 4976 5903 4977 5904 … … 4992 5919 # Extract the first word of "dot", so it can be a program name with args. 4993 5920 set dummy dot; ac_word=$2 4994 echo "$as_me:$LINENO: checking for $ac_word" >&54995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4996 if test "${ac_cv_prog_HAVE_DOT+set}" = set; then4997 echo $ECHO_N "(cached) $ECHO_C" >&65921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5922 $as_echo_n "checking for $ac_word... " >&6; } 5923 if ${ac_cv_prog_HAVE_DOT+:} false; then : 5924 $as_echo_n "(cached) " >&6 4998 5925 else 4999 5926 if test -n "$HAVE_DOT"; then … … 5005 5932 IFS=$as_save_IFS 5006 5933 test -z "$as_dir" && as_dir=. 5007 for ac_exec_ext in '' $ac_executable_extensions; do5008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5934 for ac_exec_ext in '' $ac_executable_extensions; do 5935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5009 5936 ac_cv_prog_HAVE_DOT="YES" 5010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5011 5938 break 2 5012 5939 fi 5013 5940 done 5014 done 5941 done 5942 IFS=$as_save_IFS 5015 5943 5016 5944 test -z "$ac_cv_prog_HAVE_DOT" && ac_cv_prog_HAVE_DOT="NO" … … 5019 5947 HAVE_DOT=$ac_cv_prog_HAVE_DOT 5020 5948 if test -n "$HAVE_DOT"; then 5021 echo "$as_me:$LINENO: result: $HAVE_DOT" >&5 5022 echo "${ECHO_T}$HAVE_DOT" >&6 5023 else 5024 echo "$as_me:$LINENO: result: no" >&5 5025 echo "${ECHO_T}no" >&6 5026 fi 5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOT" >&5 5950 $as_echo "$HAVE_DOT" >&6; } 5951 else 5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5953 $as_echo "no" >&6; } 5954 fi 5955 5027 5956 5028 5957 else … … 5088 6017 5089 6018 5090 echo "$as_me:$LINENO: checking for miscellaneous flags" >&55091 echo $ECHO_N "checking for miscellaneous flags... $ECHO_C" >&6 6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for miscellaneous flags" >&5 6020 $as_echo_n "checking for miscellaneous flags... " >&6; } 5092 6021 case $target in 5093 6022 *-cray-unicos*) … … 5095 6024 CXXOPTIONS_MISC="$CXXOPTIONS_MISC -h new_for_init" 5096 6025 fi 5097 echo "$as_me:$LINENO: result: cray" >&55098 echo "${ECHO_T}cray" >&6 6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cray" >&5 6027 $as_echo "cray" >&6; } 5099 6028 ;; 5100 6029 *) 5101 echo "$as_me:$LINENO: result: none" >&55102 echo "${ECHO_T}none" >&6 6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6031 $as_echo "none" >&6; } 5103 6032 ;; 5104 6033 esac 5105 6034 5106 6035 5107 echo "$as_me:$LINENO: checking for special optimization options" >&55108 echo $ECHO_N "checking for special optimization options... $ECHO_C" >&6 6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special optimization options" >&5 6037 $as_echo_n "checking for special optimization options... " >&6; } 5109 6038 case $target in 5110 6039 rs6000-ibm-aix3.2.* | rs6000-ibm-aix4.* | powerpc-ibm-aix4.* | powerpc-ibm-aix5.*) … … 5115 6044 CXXOPTIONS_OPT="-O -qnolm -qrtti" 5116 6045 fi 5117 echo "$as_me:$LINENO: result: \"rs6000 or powerpc\"" >&55118 echo "${ECHO_T}\"rs6000 or powerpc\"" >&6 6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"rs6000 or powerpc\"" >&5 6047 $as_echo "\"rs6000 or powerpc\"" >&6; } 5119 6048 ;; 5120 6049 alphaev6-*) … … 5129 6058 CXXOPTIONS_OPT="-O5 -arch ev6" 5130 6059 fi 5131 echo "$as_me:$LINENO: result: \"alphaev6\"" >&55132 echo "${ECHO_T}\"alphaev6\"" >&6 6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"alphaev6\"" >&5 6061 $as_echo "\"alphaev6\"" >&6; } 5133 6062 ;; 5134 6063 alphaev56-*) … … 5143 6072 CXXOPTIONS_OPT="-O5 -arch ev56" 5144 6073 fi 5145 echo "$as_me:$LINENO: result: \"alphaev56\"" >&55146 echo "${ECHO_T}\"alphaev56\"" >&6 6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"alphaev56\"" >&5 6075 $as_echo "\"alphaev56\"" >&6; } 5147 6076 ;; 5148 6077 mips*-sgi-irix5*) … … 5150 6079 COPTIONS_OPT="-O -Olimit 2000" 5151 6080 fi 5152 echo "$as_me:$LINENO: result: \"mips*-sgi-irix5\"" >&55153 echo "${ECHO_T}\"mips*-sgi-irix5\"" >&6 6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"mips*-sgi-irix5\"" >&5 6082 $as_echo "\"mips*-sgi-irix5\"" >&6; } 5154 6083 ;; 5155 6084 mips*-sgi-irix6.[01]*) … … 5162 6091 -OPT:const_copy_limit=20000:fold_arith_limit=20000:global_limit=20000" 5163 6092 fi 5164 echo "$as_me:$LINENO: result: \"mips*-sgi-irix6.0 or mips*-sgi-irix6.1\"" >&55165 echo "${ECHO_T}\"mips*-sgi-irix6.0 or mips*-sgi-irix6.1\"" >&6 6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"mips*-sgi-irix6.0 or mips*-sgi-irix6.1\"" >&5 6094 $as_echo "\"mips*-sgi-irix6.0 or mips*-sgi-irix6.1\"" >&6; } 5166 6095 ;; 5167 6096 mips*-sgi-irix*) … … 5172 6101 CXXOPTIONS_OPT="-O2 -OPT:Olimit=0" 5173 6102 fi 5174 echo "$as_me:$LINENO: result: \"mips*-sgi-irix\"" >&55175 echo "${ECHO_T}\"mips*-sgi-irix\"" >&6 6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"mips*-sgi-irix\"" >&5 6104 $as_echo "\"mips*-sgi-irix\"" >&6; } 5176 6105 ;; 5177 6106 i[56]86-*) … … 5182 6111 CXXOPTIONS_OPT="-O2" 5183 6112 fi 5184 echo "$as_me:$LINENO: result: \"i586 or i686\"" >&55185 echo "${ECHO_T}\"i586 or i686\"" >&6 6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"i586 or i686\"" >&5 6114 $as_echo "\"i586 or i686\"" >&6; } 5186 6115 ;; 5187 6116 i860-intel-*) … … 5189 6118 COPTIONS_OPT="-O3 -Knoieee" 5190 6119 fi 5191 echo "$as_me:$LINENO: result: \"i860\"" >&55192 echo "${ECHO_T}\"i860\"" >&6 6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"i860\"" >&5 6121 $as_echo "\"i860\"" >&6; } 5193 6122 ;; 5194 6123 *) 5195 echo "$as_me:$LINENO: result: \"none\"" >&55196 echo "${ECHO_T}\"none\"" >&6 6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"none\"" >&5 6125 $as_echo "\"none\"" >&6; } 5197 6126 ;; 5198 6127 esac … … 5209 6138 5210 6139 if test X$GXX == Xyes; then 5211 echo "$as_me:$LINENO: checking for C++ cpu tuning flag" >&5 5212 echo $ECHO_N "checking for C++ cpu tuning flag... $ECHO_C" >&6 5213 5214 5215 ac_ext=cc 6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ cpu tuning flag" >&5 6141 $as_echo_n "checking for C++ cpu tuning flag... " >&6; } 6142 6143 ac_ext=cpp 5216 6144 ac_cpp='$CXXCPP $CPPFLAGS' 5217 6145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 5222 6150 CXXFLAGS="-mtune=$opt_target_cpu $CXXFLAGS_SAV" 5223 6151 5224 cat >conftest.$ac_ext <<_ACEOF 6152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6153 /* end confdefs.h. */ 5225 6154 int main(){} 6155 int 6156 main () 6157 { 6158 6159 ; 6160 return 0; 6161 } 5226 6162 _ACEOF 5227 rm -f conftest.$ac_objext 5228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5229 (eval $ac_compile) 2>conftest.er1 5230 ac_status=$? 5231 grep -v '^ *+' conftest.er1 >conftest.err 5232 rm -f conftest.er1 5233 cat conftest.err >&5 5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5235 (exit $ac_status); } && 5236 { ac_try='test -z "$ac_cxx_werror_flag" 5237 || test ! -s conftest.err' 5238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5239 (eval $ac_try) 2>&5 5240 ac_status=$? 5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5242 (exit $ac_status); }; } && 5243 { ac_try='test -s conftest.$ac_objext' 5244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5245 (eval $ac_try) 2>&5 5246 ac_status=$? 5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5248 (exit $ac_status); }; }; then 6163 if ac_fn_cxx_try_compile "$LINENO"; then : 5249 6164 cxx_tuneflag="-mtune" 5250 6165 else 5251 echo "$as_me: failed program was:" >&5 5252 sed 's/^/| /' conftest.$ac_ext >&5 5253 5254 cxx_tuneflag="-mcpu" 5255 fi 5256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6166 cxx_tuneflag="-mcpu" 6167 fi 6168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5257 6169 CXXFLAGS=$CXXFLAGS_SAV 5258 6170 ac_ext=c … … 5262 6174 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5263 6175 5264 echo "$as_me:$LINENO: result: $cxx_tuneflag" >&55265 echo "${ECHO_T}$cxx_tuneflag" >&6 6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cxx_tuneflag" >&5 6177 $as_echo "$cxx_tuneflag" >&6; } 5266 6178 fi 5267 6179 5268 6180 if test X$GCC == Xyes; then 5269 echo "$as_me:$LINENO: checking for C cpu tuning flag" >&55270 echo $ECHO_N "checking for C cpu tuning flag... $ECHO_C" >&6 6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C cpu tuning flag" >&5 6182 $as_echo_n "checking for C cpu tuning flag... " >&6; } 5271 6183 CFLAGS_SAV=$CFLAGS 5272 6184 CFLAGS="-mtune=$opt_target_cpu $CFLAGS_SAV" 5273 6185 5274 cat >conftest.$ac_ext <<_ACEOF 6186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6187 /* end confdefs.h. */ 5275 6188 int main(){} 6189 int 6190 main () 6191 { 6192 6193 ; 6194 return 0; 6195 } 5276 6196 _ACEOF 5277 rm -f conftest.$ac_objext 5278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5279 (eval $ac_compile) 2>conftest.er1 5280 ac_status=$? 5281 grep -v '^ *+' conftest.er1 >conftest.err 5282 rm -f conftest.er1 5283 cat conftest.err >&5 5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5285 (exit $ac_status); } && 5286 { ac_try='test -z "$ac_c_werror_flag" 5287 || test ! -s conftest.err' 5288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5289 (eval $ac_try) 2>&5 5290 ac_status=$? 5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5292 (exit $ac_status); }; } && 5293 { ac_try='test -s conftest.$ac_objext' 5294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5295 (eval $ac_try) 2>&5 5296 ac_status=$? 5297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5298 (exit $ac_status); }; }; then 6197 if ac_fn_c_try_compile "$LINENO"; then : 5299 6198 cc_tuneflag="-mtune" 5300 6199 else 5301 echo "$as_me: failed program was:" >&5 5302 sed 's/^/| /' conftest.$ac_ext >&5 5303 5304 cc_tuneflag="-mcpu" 5305 fi 5306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6200 cc_tuneflag="-mcpu" 6201 fi 6202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5307 6203 CFLAGS=$CFLAGS_SAV 5308 echo "$as_me:$LINENO: result: $cc_tuneflag" >&55309 echo "${ECHO_T}$cc_tuneflag" >&6 5310 fi 5311 5312 echo "$as_me:$LINENO: checking for special architecture options" >&55313 echo $ECHO_N "checking for special architecture options... $ECHO_C" >&6 6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cc_tuneflag" >&5 6205 $as_echo "$cc_tuneflag" >&6; } 6206 fi 6207 6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special architecture options" >&5 6209 $as_echo_n "checking for special architecture options... " >&6; } 5314 6210 case $target in 5315 6211 *-solaris2*) … … 5325 6221 LDFLAGS="$LDFLAGS -bmaxdata:0x70000000" 5326 6222 fi 5327 echo "$as_me:$LINENO: result: rs6000 or powerpc" >&55328 echo "${ECHO_T}rs6000 or powerpc" >&6 6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: rs6000 or powerpc" >&5 6224 $as_echo "rs6000 or powerpc" >&6; } 5329 6225 ;; 5330 6226 i686-intel-cougar*) … … 5335 6231 AR=tflop-ar 5336 6232 fi 5337 echo "$as_me:$LINENO: result: teraflop cougar" >&55338 echo "${ECHO_T}teraflop cougar" >&6 6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: teraflop cougar" >&5 6234 $as_echo "teraflop cougar" >&6; } 5339 6235 ;; 5340 6236 i[4567]86-* | pentium-* | pentium4-* | pentiumpro-* | k6-* | athlon-*) … … 5353 6249 CXXOPTIONS_OPT="$CXXOPTIONS_OPT $cxx_cpu_arch_option" 5354 6250 fi 5355 echo "$as_me:$LINENO: result: IA-32: $cpu_arch_option" >&55356 echo "${ECHO_T}IA-32: $cpu_arch_option" >&6 6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IA-32: $cpu_arch_option" >&5 6252 $as_echo "IA-32: $cpu_arch_option" >&6; } 5357 6253 ;; 5358 6254 i860-intel-puma*) … … 5372 6268 AR=ar860 5373 6269 fi 5374 echo "$as_me:$LINENO: result: paragon puma" >&55375 echo "${ECHO_T}paragon puma" >&6 6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: paragon puma" >&5 6271 $as_echo "paragon puma" >&6; } 5376 6272 ;; 5377 6273 i860-intel-sunmos*) … … 5391 6287 AR=ar860 5392 6288 fi 5393 echo "$as_me:$LINENO: result: paragon sunmos" >&55394 echo "${ECHO_T}paragon sunmos" >&6 6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: paragon sunmos" >&5 6290 $as_echo "paragon sunmos" >&6; } 5395 6291 ;; 5396 6292 i860-intel-osf*) … … 5404 6300 AR=ar860 5405 6301 fi 5406 echo "$as_me:$LINENO: result: paragon osf" >&55407 echo "${ECHO_T}paragon osf" >&6 6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: paragon osf" >&5 6303 $as_echo "paragon osf" >&6; } 5408 6304 ;; 5409 6305 *) 5410 echo "$as_me:$LINENO: result: \"none\"" >&55411 echo "${ECHO_T}\"none\"" >&6 6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"none\"" >&5 6307 $as_echo "\"none\"" >&6; } 5412 6308 ;; 5413 6309 esac … … 5416 6312 if test -n "$GIVEN_COPTIONS_OPT"; then 5417 6313 COPTIONS_OPT=$GIVEN_COPTIONS_OPT 5418 { echo "$as_me:$LINENO: \"overriding C optimization flags with $COPTIONS_OPT\"" >&55419 echo "$as_me: \"overriding C optimization flags with $COPTIONS_OPT\"" >&6;}6314 { $as_echo "$as_me:${as_lineno-$LINENO}: \"overriding C optimization flags with $COPTIONS_OPT\"" >&5 6315 $as_echo "$as_me: \"overriding C optimization flags with $COPTIONS_OPT\"" >&6;} 5420 6316 fi 5421 6317 5422 6318 if test -n "$GIVEN_CXXOPTIONS_OPT"; then 5423 6319 CXXOPTIONS_OPT=$GIVEN_CXXOPTIONS_OPT 5424 { echo "$as_me:$LINENO: \"overriding C++ optimization flags with $CXXOPTIONS_OPT\"" >&5 5425 echo "$as_me: \"overriding C++ optimization flags with $CXXOPTIONS_OPT\"" >&6;} 5426 fi 5427 5428 5429 5430 5431 ac_ext=cc 6320 { $as_echo "$as_me:${as_lineno-$LINENO}: \"overriding C++ optimization flags with $CXXOPTIONS_OPT\"" >&5 6321 $as_echo "$as_me: \"overriding C++ optimization flags with $CXXOPTIONS_OPT\"" >&6;} 6322 fi 6323 6324 6325 6326 ac_ext=cpp 5432 6327 ac_cpp='$CXXCPP $CPPFLAGS' 5433 6328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 5435 6330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5436 6331 5437 echo "$as_me:$LINENO: checking \"for C++ typename keyword\"" >&5 5438 echo $ECHO_N "checking \"for C++ typename keyword\"... $ECHO_C" >&6 5439 cat >conftest.$ac_ext <<_ACEOF 5440 /* confdefs.h. */ 5441 _ACEOF 5442 cat confdefs.h >>conftest.$ac_ext 5443 cat >>conftest.$ac_ext <<_ACEOF 6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"for C++ typename keyword\"" >&5 6333 $as_echo_n "checking \"for C++ typename keyword\"... " >&6; } 6334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5444 6335 /* end confdefs.h. */ 5445 6336 … … 5458 6349 } 5459 6350 _ACEOF 5460 rm -f conftest.$ac_objext conftest$ac_exeext 5461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5462 (eval $ac_link) 2>conftest.er1 5463 ac_status=$? 5464 grep -v '^ *+' conftest.er1 >conftest.err 5465 rm -f conftest.er1 5466 cat conftest.err >&5 5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5468 (exit $ac_status); } && 5469 { ac_try='test -z "$ac_cxx_werror_flag" 5470 || test ! -s conftest.err' 5471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5472 (eval $ac_try) 2>&5 5473 ac_status=$? 5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5475 (exit $ac_status); }; } && 5476 { ac_try='test -s conftest$ac_exeext' 5477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5478 (eval $ac_try) 2>&5 5479 ac_status=$? 5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5481 (exit $ac_status); }; }; then 5482 5483 cat >>confdefs.h <<\_ACEOF 5484 #define HAVE_TYPENAME 1 5485 _ACEOF 5486 5487 echo "$as_me:$LINENO: result: \"yes\"" >&5 5488 echo "${ECHO_T}\"yes\"" >&6 5489 5490 else 5491 echo "$as_me: failed program was:" >&5 5492 sed 's/^/| /' conftest.$ac_ext >&5 5493 5494 echo "$as_me:$LINENO: result: \"no\"" >&5 5495 echo "${ECHO_T}\"no\"" >&6 5496 5497 fi 5498 rm -f conftest.err conftest.$ac_objext \ 5499 conftest$ac_exeext conftest.$ac_ext; 6351 if ac_fn_cxx_try_link "$LINENO"; then : 6352 6353 6354 $as_echo "#define HAVE_TYPENAME 1" >>confdefs.h 6355 6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5 6357 $as_echo "\"yes\"" >&6; } 6358 6359 else 6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5 6361 $as_echo "\"no\"" >&6; } 6362 6363 $as_echo "#define typename /**/" >>confdefs.h 6364 6365 6366 fi 6367 rm -f core conftest.err conftest.$ac_objext \ 6368 conftest$ac_exeext conftest.$ac_ext; 5500 6369 ac_ext=c 5501 6370 ac_cpp='$CPP $CPPFLAGS' … … 5507 6376 5508 6377 5509 5510 ac_ext=cc 6378 ac_ext=cpp 5511 6379 ac_cpp='$CXXCPP $CPPFLAGS' 5512 6380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 5514 6382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5515 6383 5516 cat >conftest.$ac_ext <<_ACEOF 5517 /* confdefs.h. */ 5518 _ACEOF 5519 cat confdefs.h >>conftest.$ac_ext 5520 cat >>conftest.$ac_ext <<_ACEOF 6384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5521 6385 /* end confdefs.h. */ 5522 6386 … … 5529 6393 } 5530 6394 _ACEOF 5531 rm -f conftest.$ac_objext conftest$ac_exeext 5532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5533 (eval $ac_link) 2>conftest.er1 5534 ac_status=$? 5535 grep -v '^ *+' conftest.er1 >conftest.err 5536 rm -f conftest.er1 5537 cat conftest.err >&5 5538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5539 (exit $ac_status); } && 5540 { ac_try='test -z "$ac_cxx_werror_flag" 5541 || test ! -s conftest.err' 5542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5543 (eval $ac_try) 2>&5 5544 ac_status=$? 5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5546 (exit $ac_status); }; } && 5547 { ac_try='test -s conftest$ac_exeext' 5548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5549 (eval $ac_try) 2>&5 5550 ac_status=$? 5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5552 (exit $ac_status); }; }; then 5553 cat >>confdefs.h <<\_ACEOF 5554 #define CXX_RESTRICT 1 5555 _ACEOF 5556 5557 else 5558 echo "$as_me: failed program was:" >&5 5559 sed 's/^/| /' conftest.$ac_ext >&5 5560 5561 fi 5562 rm -f conftest.err conftest.$ac_objext \ 5563 conftest$ac_exeext conftest.$ac_ext 6395 if ac_fn_cxx_try_link "$LINENO"; then : 6396 6397 $as_echo "#define CXX_RESTRICT 1" >>confdefs.h 6398 6399 6400 $as_echo "#define restrictxx restrict" >>confdefs.h 6401 6402 else 6403 6404 $as_echo "#define restrictxx /**/" >>confdefs.h 6405 6406 fi 6407 rm -f core conftest.err conftest.$ac_objext \ 6408 conftest$ac_exeext conftest.$ac_ext 5564 6409 ac_ext=c 5565 6410 ac_cpp='$CPP $CPPFLAGS' … … 5571 6416 5572 6417 5573 5574 ac_ext=cc 6418 ac_ext=cpp 5575 6419 ac_cpp='$CXXCPP $CPPFLAGS' 5576 6420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 5579 6423 5580 6424 5581 echo "$as_me:$LINENO: checking for egrep" >&5 5582 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 5583 if test "${ac_cv_prog_egrep+set}" = set; then 5584 echo $ECHO_N "(cached) $ECHO_C" >&6 5585 else 5586 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 5587 then ac_cv_prog_egrep='grep -E' 5588 else ac_cv_prog_egrep='egrep' 6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 6426 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 6427 if ${ac_cv_path_GREP+:} false; then : 6428 $as_echo_n "(cached) " >&6 6429 else 6430 if test -z "$GREP"; then 6431 ac_path_GREP_found=false 6432 # Loop through the user's path and test for each of PROGNAME-LIST 6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6434 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6435 do 6436 IFS=$as_save_IFS 6437 test -z "$as_dir" && as_dir=. 6438 for ac_prog in grep ggrep; do 6439 for ac_exec_ext in '' $ac_executable_extensions; do 6440 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 6441 as_fn_executable_p "$ac_path_GREP" || continue 6442 # Check for GNU ac_path_GREP and select it if it is found. 6443 # Check for GNU $ac_path_GREP 6444 case `"$ac_path_GREP" --version 2>&1` in 6445 *GNU*) 6446 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 6447 *) 6448 ac_count=0 6449 $as_echo_n 0123456789 >"conftest.in" 6450 while : 6451 do 6452 cat "conftest.in" "conftest.in" >"conftest.tmp" 6453 mv "conftest.tmp" "conftest.in" 6454 cp "conftest.in" "conftest.nl" 6455 $as_echo 'GREP' >> "conftest.nl" 6456 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 6457 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6458 as_fn_arith $ac_count + 1 && ac_count=$as_val 6459 if test $ac_count -gt ${ac_path_GREP_max-0}; then 6460 # Best one so far, save it but keep looking for a better one 6461 ac_cv_path_GREP="$ac_path_GREP" 6462 ac_path_GREP_max=$ac_count 5589 6463 fi 5590 fi 5591 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 5592 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 5593 EGREP=$ac_cv_prog_egrep 5594 5595 5596 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5597 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 5598 if test "${ac_cv_header_stdc+set}" = set; then 5599 echo $ECHO_N "(cached) $ECHO_C" >&6 5600 else 5601 cat >conftest.$ac_ext <<_ACEOF 5602 /* confdefs.h. */ 5603 _ACEOF 5604 cat confdefs.h >>conftest.$ac_ext 5605 cat >>conftest.$ac_ext <<_ACEOF 6464 # 10*(2^10) chars as input seems more than enough 6465 test $ac_count -gt 10 && break 6466 done 6467 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6468 esac 6469 6470 $ac_path_GREP_found && break 3 6471 done 6472 done 6473 done 6474 IFS=$as_save_IFS 6475 if test -z "$ac_cv_path_GREP"; then 6476 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6477 fi 6478 else 6479 ac_cv_path_GREP=$GREP 6480 fi 6481 6482 fi 6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 6484 $as_echo "$ac_cv_path_GREP" >&6; } 6485 GREP="$ac_cv_path_GREP" 6486 6487 6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 6489 $as_echo_n "checking for egrep... " >&6; } 6490 if ${ac_cv_path_EGREP+:} false; then : 6491 $as_echo_n "(cached) " >&6 6492 else 6493 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 6494 then ac_cv_path_EGREP="$GREP -E" 6495 else 6496 if test -z "$EGREP"; then 6497 ac_path_EGREP_found=false 6498 # Loop through the user's path and test for each of PROGNAME-LIST 6499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6500 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6501 do 6502 IFS=$as_save_IFS 6503 test -z "$as_dir" && as_dir=. 6504 for ac_prog in egrep; do 6505 for ac_exec_ext in '' $ac_executable_extensions; do 6506 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 6507 as_fn_executable_p "$ac_path_EGREP" || continue 6508 # Check for GNU ac_path_EGREP and select it if it is found. 6509 # Check for GNU $ac_path_EGREP 6510 case `"$ac_path_EGREP" --version 2>&1` in 6511 *GNU*) 6512 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 6513 *) 6514 ac_count=0 6515 $as_echo_n 0123456789 >"conftest.in" 6516 while : 6517 do 6518 cat "conftest.in" "conftest.in" >"conftest.tmp" 6519 mv "conftest.tmp" "conftest.in" 6520 cp "conftest.in" "conftest.nl" 6521 $as_echo 'EGREP' >> "conftest.nl" 6522 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 6523 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6524 as_fn_arith $ac_count + 1 && ac_count=$as_val 6525 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 6526 # Best one so far, save it but keep looking for a better one 6527 ac_cv_path_EGREP="$ac_path_EGREP" 6528 ac_path_EGREP_max=$ac_count 6529 fi 6530 # 10*(2^10) chars as input seems more than enough 6531 test $ac_count -gt 10 && break 6532 done 6533 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6534 esac 6535 6536 $ac_path_EGREP_found && break 3 6537 done 6538 done 6539 done 6540 IFS=$as_save_IFS 6541 if test -z "$ac_cv_path_EGREP"; then 6542 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6543 fi 6544 else 6545 ac_cv_path_EGREP=$EGREP 6546 fi 6547 6548 fi 6549 fi 6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 6551 $as_echo "$ac_cv_path_EGREP" >&6; } 6552 EGREP="$ac_cv_path_EGREP" 6553 6554 6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6556 $as_echo_n "checking for ANSI C header files... " >&6; } 6557 if ${ac_cv_header_stdc+:} false; then : 6558 $as_echo_n "(cached) " >&6 6559 else 6560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5606 6561 /* end confdefs.h. */ 5607 6562 #include <stdlib.h> … … 5618 6573 } 5619 6574 _ACEOF 5620 rm -f conftest.$ac_objext 5621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5622 (eval $ac_compile) 2>conftest.er1 5623 ac_status=$? 5624 grep -v '^ *+' conftest.er1 >conftest.err 5625 rm -f conftest.er1 5626 cat conftest.err >&5 5627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5628 (exit $ac_status); } && 5629 { ac_try='test -z "$ac_cxx_werror_flag" 5630 || test ! -s conftest.err' 5631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5632 (eval $ac_try) 2>&5 5633 ac_status=$? 5634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5635 (exit $ac_status); }; } && 5636 { ac_try='test -s conftest.$ac_objext' 5637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5638 (eval $ac_try) 2>&5 5639 ac_status=$? 5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5641 (exit $ac_status); }; }; then 6575 if ac_fn_cxx_try_compile "$LINENO"; then : 5642 6576 ac_cv_header_stdc=yes 5643 6577 else 5644 echo "$as_me: failed program was:" >&5 5645 sed 's/^/| /' conftest.$ac_ext >&5 5646 5647 ac_cv_header_stdc=no 5648 fi 5649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6578 ac_cv_header_stdc=no 6579 fi 6580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5650 6581 5651 6582 if test $ac_cv_header_stdc = yes; then 5652 6583 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5653 cat >conftest.$ac_ext <<_ACEOF 5654 /* confdefs.h. */ 5655 _ACEOF 5656 cat confdefs.h >>conftest.$ac_ext 5657 cat >>conftest.$ac_ext <<_ACEOF 6584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5658 6585 /* end confdefs.h. */ 5659 6586 #include <string.h> … … 5661 6588 _ACEOF 5662 6589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5663 $EGREP "memchr" >/dev/null 2>&1; then 5664 : 6590 $EGREP "memchr" >/dev/null 2>&1; then : 6591 5665 6592 else 5666 6593 ac_cv_header_stdc=no … … 5672 6599 if test $ac_cv_header_stdc = yes; then 5673 6600 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5674 cat >conftest.$ac_ext <<_ACEOF 5675 /* confdefs.h. */ 5676 _ACEOF 5677 cat confdefs.h >>conftest.$ac_ext 5678 cat >>conftest.$ac_ext <<_ACEOF 6601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5679 6602 /* end confdefs.h. */ 5680 6603 #include <stdlib.h> … … 5682 6605 _ACEOF 5683 6606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5684 $EGREP "free" >/dev/null 2>&1; then 5685 : 6607 $EGREP "free" >/dev/null 2>&1; then : 6608 5686 6609 else 5687 6610 ac_cv_header_stdc=no … … 5693 6616 if test $ac_cv_header_stdc = yes; then 5694 6617 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5695 if test "$cross_compiling" = yes; then 6618 if test "$cross_compiling" = yes; then : 5696 6619 : 5697 6620 else 5698 cat >conftest.$ac_ext <<_ACEOF 5699 /* confdefs.h. */ 5700 _ACEOF 5701 cat confdefs.h >>conftest.$ac_ext 5702 cat >>conftest.$ac_ext <<_ACEOF 6621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5703 6622 /* end confdefs.h. */ 5704 6623 #include <ctype.h> 6624 #include <stdlib.h> 5705 6625 #if ((' ' & 0x0FF) == 0x020) 5706 6626 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5722 6642 if (XOR (islower (i), ISLOWER (i)) 5723 6643 || toupper (i) != TOUPPER (i)) 5724 exit(2);5725 exit (0);6644 return 2; 6645 return 0; 5726 6646 } 5727 6647 _ACEOF 5728 rm -f conftest$ac_exeext 5729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5730 (eval $ac_link) 2>&5 5731 ac_status=$? 5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5733 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5735 (eval $ac_try) 2>&5 5736 ac_status=$? 5737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5738 (exit $ac_status); }; }; then 5739 : 5740 else 5741 echo "$as_me: program exited with status $ac_status" >&5 5742 echo "$as_me: failed program was:" >&5 5743 sed 's/^/| /' conftest.$ac_ext >&5 5744 5745 ( exit $ac_status ) 5746 ac_cv_header_stdc=no 5747 fi 5748 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5749 fi 5750 fi 5751 fi 5752 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5753 echo "${ECHO_T}$ac_cv_header_stdc" >&6 6648 if ac_fn_cxx_try_run "$LINENO"; then : 6649 6650 else 6651 ac_cv_header_stdc=no 6652 fi 6653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6654 conftest.$ac_objext conftest.beam conftest.$ac_ext 6655 fi 6656 6657 fi 6658 fi 6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 6660 $as_echo "$ac_cv_header_stdc" >&6; } 5754 6661 if test $ac_cv_header_stdc = yes; then 5755 6662 5756 cat >>confdefs.h <<\_ACEOF 5757 #define STDC_HEADERS 1 5758 _ACEOF 6663 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 5759 6664 5760 6665 fi 5761 6666 5762 6667 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 6668 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5773 6669 inttypes.h stdint.h unistd.h 5774 do 5775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5776 echo "$as_me:$LINENO: checking for $ac_header" >&5 5777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5778 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5779 echo $ECHO_N "(cached) $ECHO_C" >&6 5780 else 5781 cat >conftest.$ac_ext <<_ACEOF 5782 /* confdefs.h. */ 6670 do : 6671 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6672 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 6673 " 6674 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6675 cat >>confdefs.h <<_ACEOF 6676 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5783 6677 _ACEOF 5784 cat confdefs.h >>conftest.$ac_ext 5785 cat >>conftest.$ac_ext <<_ACEOF 5786 /* end confdefs.h. */ 5787 $ac_includes_default 5788 5789 #include <$ac_header> 5790 _ACEOF 5791 rm -f conftest.$ac_objext 5792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5793 (eval $ac_compile) 2>conftest.er1 5794 ac_status=$? 5795 grep -v '^ *+' conftest.er1 >conftest.err 5796 rm -f conftest.er1 5797 cat conftest.err >&5 5798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5799 (exit $ac_status); } && 5800 { ac_try='test -z "$ac_cxx_werror_flag" 5801 || test ! -s conftest.err' 5802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5803 (eval $ac_try) 2>&5 5804 ac_status=$? 5805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5806 (exit $ac_status); }; } && 5807 { ac_try='test -s conftest.$ac_objext' 5808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5809 (eval $ac_try) 2>&5 5810 ac_status=$? 5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5812 (exit $ac_status); }; }; then 5813 eval "$as_ac_Header=yes" 5814 else 5815 echo "$as_me: failed program was:" >&5 5816 sed 's/^/| /' conftest.$ac_ext >&5 5817 5818 eval "$as_ac_Header=no" 5819 fi 5820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5821 fi 5822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5824 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6678 6679 fi 6680 6681 done 6682 6683 6684 for ac_header in iostream sstream 6685 do : 6686 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6687 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6688 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5825 6689 cat >>confdefs.h <<_ACEOF 5826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5827 _ACEOF 5828 5829 fi 5830 5831 done 5832 5833 5834 5835 5836 for ac_header in iostream sstream 5837 do 5838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5839 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5840 echo "$as_me:$LINENO: checking for $ac_header" >&5 5841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5842 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5843 echo $ECHO_N "(cached) $ECHO_C" >&6 5844 fi 5845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5847 else 5848 # Is the header compilable? 5849 echo "$as_me:$LINENO: checking $ac_header usability" >&5 5850 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5851 cat >conftest.$ac_ext <<_ACEOF 5852 /* confdefs.h. */ 5853 _ACEOF 5854 cat confdefs.h >>conftest.$ac_ext 5855 cat >>conftest.$ac_ext <<_ACEOF 5856 /* end confdefs.h. */ 5857 $ac_includes_default 5858 #include <$ac_header> 5859 _ACEOF 5860 rm -f conftest.$ac_objext 5861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5862 (eval $ac_compile) 2>conftest.er1 5863 ac_status=$? 5864 grep -v '^ *+' conftest.er1 >conftest.err 5865 rm -f conftest.er1 5866 cat conftest.err >&5 5867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5868 (exit $ac_status); } && 5869 { ac_try='test -z "$ac_cxx_werror_flag" 5870 || test ! -s conftest.err' 5871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5872 (eval $ac_try) 2>&5 5873 ac_status=$? 5874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5875 (exit $ac_status); }; } && 5876 { ac_try='test -s conftest.$ac_objext' 5877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5878 (eval $ac_try) 2>&5 5879 ac_status=$? 5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5881 (exit $ac_status); }; }; then 5882 ac_header_compiler=yes 5883 else 5884 echo "$as_me: failed program was:" >&5 5885 sed 's/^/| /' conftest.$ac_ext >&5 5886 5887 ac_header_compiler=no 5888 fi 5889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5890 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5891 echo "${ECHO_T}$ac_header_compiler" >&6 5892 5893 # Is the header present? 5894 echo "$as_me:$LINENO: checking $ac_header presence" >&5 5895 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5896 cat >conftest.$ac_ext <<_ACEOF 5897 /* confdefs.h. */ 5898 _ACEOF 5899 cat confdefs.h >>conftest.$ac_ext 5900 cat >>conftest.$ac_ext <<_ACEOF 5901 /* end confdefs.h. */ 5902 #include <$ac_header> 5903 _ACEOF 5904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5906 ac_status=$? 5907 grep -v '^ *+' conftest.er1 >conftest.err 5908 rm -f conftest.er1 5909 cat conftest.err >&5 5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5911 (exit $ac_status); } >/dev/null; then 5912 if test -s conftest.err; then 5913 ac_cpp_err=$ac_cxx_preproc_warn_flag 5914 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 5915 else 5916 ac_cpp_err= 5917 fi 5918 else 5919 ac_cpp_err=yes 5920 fi 5921 if test -z "$ac_cpp_err"; then 5922 ac_header_preproc=yes 5923 else 5924 echo "$as_me: failed program was:" >&5 5925 sed 's/^/| /' conftest.$ac_ext >&5 5926 5927 ac_header_preproc=no 5928 fi 5929 rm -f conftest.err conftest.$ac_ext 5930 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5931 echo "${ECHO_T}$ac_header_preproc" >&6 5932 5933 # So? What about this header? 5934 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5935 yes:no: ) 5936 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5937 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5939 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5940 ac_header_preproc=yes 5941 ;; 5942 no:yes:* ) 5943 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5944 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5945 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5946 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5947 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5948 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5949 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5950 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5952 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5953 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5954 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5955 ( 5956 cat <<\_ASBOX 5957 ## ------------------------------------------ ## 5958 ## Report this to the AC_PACKAGE_NAME lists. ## 5959 ## ------------------------------------------ ## 5960 _ASBOX 5961 ) | 5962 sed "s/^/$as_me: WARNING: /" >&2 5963 ;; 5964 esac 5965 echo "$as_me:$LINENO: checking for $ac_header" >&5 5966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5967 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5968 echo $ECHO_N "(cached) $ECHO_C" >&6 5969 else 5970 eval "$as_ac_Header=\$ac_header_preproc" 5971 fi 5972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5974 5975 fi 5976 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5977 cat >>confdefs.h <<_ACEOF 5978 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6690 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5979 6691 _ACEOF 5980 6692 … … 5990 6702 5991 6703 5992 echo "$as_me:$LINENO: checking iostream name" >&55993 echo $ECHO_N "checking iostream name... $ECHO_C" >&6 6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking iostream name" >&5 6705 $as_echo_n "checking iostream name... " >&6; } 5994 6706 if test x$ac_cv_header_iostream = xyes; then 5995 6707 iostream=iostream … … 5997 6709 iostream=iostream.h 5998 6710 fi 5999 echo "$as_me:$LINENO: result: $iostream" >&5 6000 echo "${ECHO_T}$iostream" >&6 6001 6002 6003 6004 6005 ac_ext=cc 6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $iostream" >&5 6712 $as_echo "$iostream" >&6; } 6713 6714 6715 6716 ac_ext=cpp 6006 6717 ac_cpp='$CXXCPP $CPPFLAGS' 6007 6718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 6009 6720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6010 6721 6011 echo "$as_me:$LINENO: checking \"for namespace std\"" >&5 6012 echo $ECHO_N "checking \"for namespace std\"... $ECHO_C" >&6 6013 cat >conftest.$ac_ext <<_ACEOF 6014 /* confdefs.h. */ 6015 _ACEOF 6016 cat confdefs.h >>conftest.$ac_ext 6017 cat >>conftest.$ac_ext <<_ACEOF 6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"for namespace std\"" >&5 6723 $as_echo_n "checking \"for namespace std\"... " >&6; } 6724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6018 6725 /* end confdefs.h. */ 6019 6726 … … 6032 6739 } 6033 6740 _ACEOF 6034 rm -f conftest.$ac_objext conftest$ac_exeext 6035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6036 (eval $ac_link) 2>conftest.er1 6037 ac_status=$? 6038 grep -v '^ *+' conftest.er1 >conftest.err 6039 rm -f conftest.er1 6040 cat conftest.err >&5 6041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6042 (exit $ac_status); } && 6043 { ac_try='test -z "$ac_cxx_werror_flag" 6044 || test ! -s conftest.err' 6045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6046 (eval $ac_try) 2>&5 6047 ac_status=$? 6048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6049 (exit $ac_status); }; } && 6050 { ac_try='test -s conftest$ac_exeext' 6051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6052 (eval $ac_try) 2>&5 6053 ac_status=$? 6054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6055 (exit $ac_status); }; }; then 6056 6057 cat >>confdefs.h <<\_ACEOF 6058 #define USING_NAMESPACE_STD 1 6059 _ACEOF 6741 if ac_fn_cxx_try_link "$LINENO"; then : 6742 6743 6744 $as_echo "#define USING_NAMESPACE_STD 1" >>confdefs.h 6060 6745 6061 6746 NAMESPACE_STD=std:: 6062 echo "$as_me:$LINENO: result: \"yes\"" >&5 6063 echo "${ECHO_T}\"yes\"" >&6 6064 6065 else 6066 echo "$as_me: failed program was:" >&5 6067 sed 's/^/| /' conftest.$ac_ext >&5 6068 6069 NAMESPACE_STD= 6070 echo "$as_me:$LINENO: result: \"no\"" >&5 6071 echo "${ECHO_T}\"no\"" >&6 6072 6073 fi 6074 rm -f conftest.err conftest.$ac_objext \ 6075 conftest$ac_exeext conftest.$ac_ext; 6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5 6748 $as_echo "\"yes\"" >&6; } 6749 6750 else 6751 NAMESPACE_STD= 6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5 6753 $as_echo "\"no\"" >&6; } 6754 6755 fi 6756 rm -f core conftest.err conftest.$ac_objext \ 6757 conftest$ac_exeext conftest.$ac_ext; 6076 6758 ac_ext=c 6077 6759 ac_cpp='$CPP $CPPFLAGS' … … 6084 6766 if test X$GXX = Xyes; then 6085 6767 6086 6087 ac_ext=cc 6768 ac_ext=cpp 6088 6769 ac_cpp='$CXXCPP $CPPFLAGS' 6089 6770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 6091 6772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6092 6773 6093 echo "$as_me:$LINENO: checking \"for GNU libc++-v3 prerelease bug\"" >&5 6094 echo $ECHO_N "checking \"for GNU libc++-v3 prerelease bug\"... $ECHO_C" >&6 6095 cat >conftest.$ac_ext <<_ACEOF 6096 /* confdefs.h. */ 6097 _ACEOF 6098 cat confdefs.h >>conftest.$ac_ext 6099 cat >>conftest.$ac_ext <<_ACEOF 6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"for GNU libc++-v3 prerelease bug\"" >&5 6775 $as_echo_n "checking \"for GNU libc++-v3 prerelease bug\"... " >&6; } 6776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6100 6777 /* end confdefs.h. */ 6101 6778 … … 6112 6789 } 6113 6790 _ACEOF 6114 rm -f conftest.$ac_objext conftest$ac_exeext 6115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6116 (eval $ac_link) 2>conftest.er1 6117 ac_status=$? 6118 grep -v '^ *+' conftest.er1 >conftest.err 6119 rm -f conftest.er1 6120 cat conftest.err >&5 6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6122 (exit $ac_status); } && 6123 { ac_try='test -z "$ac_cxx_werror_flag" 6124 || test ! -s conftest.err' 6125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6126 (eval $ac_try) 2>&5 6127 ac_status=$? 6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6129 (exit $ac_status); }; } && 6130 { ac_try='test -s conftest$ac_exeext' 6131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6132 (eval $ac_try) 2>&5 6133 ac_status=$? 6134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6135 (exit $ac_status); }; }; then 6136 6137 echo "$as_me:$LINENO: result: \"no\"" >&5 6138 echo "${ECHO_T}\"no\"" >&6 6139 6140 else 6141 echo "$as_me: failed program was:" >&5 6142 sed 's/^/| /' conftest.$ac_ext >&5 6143 6144 EXTRADEFINES="$EXTRADEFINES -D_ISOC99_SOURCE=1" 6145 echo "$as_me:$LINENO: result: \"yes\"" >&5 6146 echo "${ECHO_T}\"yes\"" >&6 6147 6148 fi 6149 rm -f conftest.err conftest.$ac_objext \ 6150 conftest$ac_exeext conftest.$ac_ext; 6791 if ac_fn_cxx_try_link "$LINENO"; then : 6792 6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5 6794 $as_echo "\"no\"" >&6; } 6795 6796 else 6797 EXTRADEFINES="$EXTRADEFINES -D_ISOC99_SOURCE=1" 6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5 6799 $as_echo "\"yes\"" >&6; } 6800 6801 fi 6802 rm -f core conftest.err conftest.$ac_objext \ 6803 conftest$ac_exeext conftest.$ac_ext; 6151 6804 ac_ext=c 6152 6805 ac_cpp='$CPP $CPPFLAGS' … … 6190 6843 6191 6844 6192 6193 6194 6195 6196 6197 6845 for ac_header in fp.h endian.h machine/endian.h sys/endian.h sys/machine.h 6198 do 6199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6200 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6201 echo "$as_me:$LINENO: checking for $ac_header" >&5 6202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6203 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6204 echo $ECHO_N "(cached) $ECHO_C" >&6 6205 fi 6206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6208 else 6209 # Is the header compilable? 6210 echo "$as_me:$LINENO: checking $ac_header usability" >&5 6211 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6212 cat >conftest.$ac_ext <<_ACEOF 6213 /* confdefs.h. */ 6846 do : 6847 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6848 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6849 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6850 cat >>confdefs.h <<_ACEOF 6851 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6214 6852 _ACEOF 6215 cat confdefs.h >>conftest.$ac_ext6216 cat >>conftest.$ac_ext <<_ACEOF6217 /* end confdefs.h. */6218 $ac_includes_default6219 #include <$ac_header>6220 _ACEOF6221 rm -f conftest.$ac_objext6222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&56223 (eval $ac_compile) 2>conftest.er16224 ac_status=$?6225 grep -v '^ *+' conftest.er1 >conftest.err6226 rm -f conftest.er16227 cat conftest.err >&56228 echo "$as_me:$LINENO: \$? = $ac_status" >&56229 (exit $ac_status); } &&6230 { ac_try='test -z "$ac_c_werror_flag"6231 || test ! -s conftest.err'6232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56233 (eval $ac_try) 2>&56234 ac_status=$?6235 echo "$as_me:$LINENO: \$? = $ac_status" >&56236 (exit $ac_status); }; } &&6237 { ac_try='test -s conftest.$ac_objext'6238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56239 (eval $ac_try) 2>&56240 ac_status=$?6241 echo "$as_me:$LINENO: \$? = $ac_status" >&56242 (exit $ac_status); }; }; then6243 ac_header_compiler=yes6244 else6245 echo "$as_me: failed program was:" >&56246 sed 's/^/| /' conftest.$ac_ext >&56247 6248 ac_header_compiler=no6249 fi6250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext6251 echo "$as_me:$LINENO: result: $ac_header_compiler" >&56252 echo "${ECHO_T}$ac_header_compiler" >&66253 6254 # Is the header present?6255 echo "$as_me:$LINENO: checking $ac_header presence" >&56256 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&66257 cat >conftest.$ac_ext <<_ACEOF6258 /* confdefs.h. */6259 _ACEOF6260 cat confdefs.h >>conftest.$ac_ext6261 cat >>conftest.$ac_ext <<_ACEOF6262 /* end confdefs.h. */6263 #include <$ac_header>6264 _ACEOF6265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&56266 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er16267 ac_status=$?6268 grep -v '^ *+' conftest.er1 >conftest.err6269 rm -f conftest.er16270 cat conftest.err >&56271 echo "$as_me:$LINENO: \$? = $ac_status" >&56272 (exit $ac_status); } >/dev/null; then6273 if test -s conftest.err; then6274 ac_cpp_err=$ac_c_preproc_warn_flag6275 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag6276 else6277 ac_cpp_err=6278 fi6279 else6280 ac_cpp_err=yes6281 fi6282 if test -z "$ac_cpp_err"; then6283 ac_header_preproc=yes6284 else6285 echo "$as_me: failed program was:" >&56286 sed 's/^/| /' conftest.$ac_ext >&56287 6288 ac_header_preproc=no6289 fi6290 rm -f conftest.err conftest.$ac_ext6291 echo "$as_me:$LINENO: result: $ac_header_preproc" >&56292 echo "${ECHO_T}$ac_header_preproc" >&66293 6294 # So? What about this header?6295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in6296 yes:no: )6297 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&56298 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}6299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&56300 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}6301 ac_header_preproc=yes6302 ;;6303 no:yes:* )6304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&56305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}6306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&56307 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}6308 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&56309 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}6310 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&56311 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}6312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&56313 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}6314 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&56315 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}6316 (6317 cat <<\_ASBOX6318 ## ------------------------------------------ ##6319 ## Report this to the AC_PACKAGE_NAME lists. ##6320 ## ------------------------------------------ ##6321 _ASBOX6322 ) |6323 sed "s/^/$as_me: WARNING: /" >&26324 ;;6325 esac6326 echo "$as_me:$LINENO: checking for $ac_header" >&56327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&66328 if eval "test \"\${$as_ac_Header+set}\" = set"; then6329 echo $ECHO_N "(cached) $ECHO_C" >&66330 else6331 eval "$as_ac_Header=\$ac_header_preproc"6332 fi6333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&56334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&66335 6336 fi6337 if test `eval echo '${'$as_ac_Header'}'` = yes; then6338 cat >>confdefs.h <<_ACEOF6339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 16340 _ACEOF6341 6853 6342 6854 fi … … 6344 6856 done 6345 6857 6346 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&56347 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 6348 if test "${sc_cv_c_bigendian+set}" = set; then6349 echo $ECHO_N "(cached) $ECHO_C" >&66858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 6859 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 6860 if ${sc_cv_c_bigendian+:} false; then : 6861 $as_echo_n "(cached) " >&6 6350 6862 else 6351 6863 sc_cv_c_bigendian=unknown 6352 6864 # See if sys/param.h defines the BYTE_ORDER macro. 6353 cat >conftest.$ac_ext <<_ACEOF 6354 /* confdefs.h. */ 6355 _ACEOF 6356 cat confdefs.h >>conftest.$ac_ext 6357 cat >>conftest.$ac_ext <<_ACEOF 6865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6358 6866 /* end confdefs.h. */ 6359 6867 #include "confdefs.h" … … 6386 6894 } 6387 6895 _ACEOF 6388 rm -f conftest.$ac_objext 6389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6390 (eval $ac_compile) 2>conftest.er1 6391 ac_status=$? 6392 grep -v '^ *+' conftest.er1 >conftest.err 6393 rm -f conftest.er1 6394 cat conftest.err >&5 6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6396 (exit $ac_status); } && 6397 { ac_try='test -z "$ac_c_werror_flag" 6398 || test ! -s conftest.err' 6399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6400 (eval $ac_try) 2>&5 6401 ac_status=$? 6402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6403 (exit $ac_status); }; } && 6404 { ac_try='test -s conftest.$ac_objext' 6405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6406 (eval $ac_try) 2>&5 6407 ac_status=$? 6408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6409 (exit $ac_status); }; }; then 6896 if ac_fn_c_try_compile "$LINENO"; then : 6410 6897 # It does; now see whether it defined to BIG_ENDIAN or not. 6411 cat >conftest.$ac_ext <<_ACEOF 6412 /* confdefs.h. */ 6413 _ACEOF 6414 cat confdefs.h >>conftest.$ac_ext 6415 cat >>conftest.$ac_ext <<_ACEOF 6898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6416 6899 /* end confdefs.h. */ 6417 6900 #include "confdefs.h" … … 6447 6930 } 6448 6931 _ACEOF 6449 rm -f conftest.$ac_objext 6450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6451 (eval $ac_compile) 2>conftest.er1 6452 ac_status=$? 6453 grep -v '^ *+' conftest.er1 >conftest.err 6454 rm -f conftest.er1 6455 cat conftest.err >&5 6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6457 (exit $ac_status); } && 6458 { ac_try='test -z "$ac_c_werror_flag" 6459 || test ! -s conftest.err' 6460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6461 (eval $ac_try) 2>&5 6462 ac_status=$? 6463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6464 (exit $ac_status); }; } && 6465 { ac_try='test -s conftest.$ac_objext' 6466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6467 (eval $ac_try) 2>&5 6468 ac_status=$? 6469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6470 (exit $ac_status); }; }; then 6932 if ac_fn_c_try_compile "$LINENO"; then : 6471 6933 sc_cv_c_bigendian=yes 6472 6934 else 6473 echo "$as_me: failed program was:" >&5 6474 sed 's/^/| /' conftest.$ac_ext >&5 6475 6476 sc_cv_c_bigendian=no 6477 fi 6478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6479 else 6480 echo "$as_me: failed program was:" >&5 6481 sed 's/^/| /' conftest.$ac_ext >&5 6482 6483 fi 6484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6935 sc_cv_c_bigendian=no 6936 fi 6937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6938 fi 6939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6485 6940 if test $sc_cv_c_bigendian = unknown; then 6486 if test "$cross_compiling" = yes; then 6487 { { echo "$as_me:$LINENO: error: Could not determine endianness and cross compiling" >&5 6488 echo "$as_me: error: Could not determine endianness and cross compiling" >&2;} 6489 { (exit 1); exit 1; }; } 6490 6491 else 6492 cat >conftest.$ac_ext <<_ACEOF 6493 /* confdefs.h. */ 6494 _ACEOF 6495 cat confdefs.h >>conftest.$ac_ext 6496 cat >>conftest.$ac_ext <<_ACEOF 6941 if test "$cross_compiling" = yes; then : 6942 as_fn_error $? "Could not determine endianness and cross compiling" "$LINENO" 5 6943 6944 else 6945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6497 6946 /* end confdefs.h. */ 6498 6947 main () { … … 6507 6956 } 6508 6957 _ACEOF 6509 rm -f conftest$ac_exeext 6510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6511 (eval $ac_link) 2>&5 6512 ac_status=$? 6513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6514 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6516 (eval $ac_try) 2>&5 6517 ac_status=$? 6518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6519 (exit $ac_status); }; }; then 6958 if ac_fn_c_try_run "$LINENO"; then : 6520 6959 sc_cv_c_bigendian=no 6521 6960 else 6522 echo "$as_me: program exited with status $ac_status" >&5 6523 echo "$as_me: failed program was:" >&5 6524 sed 's/^/| /' conftest.$ac_ext >&5 6525 6526 ( exit $ac_status ) 6527 sc_cv_c_bigendian=yes 6528 fi 6529 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6530 fi 6531 fi 6532 fi 6533 echo "$as_me:$LINENO: result: $sc_cv_c_bigendian" >&5 6534 echo "${ECHO_T}$sc_cv_c_bigendian" >&6 6961 sc_cv_c_bigendian=yes 6962 fi 6963 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6964 conftest.$ac_objext conftest.beam conftest.$ac_ext 6965 fi 6966 6967 fi 6968 fi 6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sc_cv_c_bigendian" >&5 6970 $as_echo "$sc_cv_c_bigendian" >&6; } 6535 6971 if test $sc_cv_c_bigendian = yes; then 6536 cat >>confdefs.h <<\_ACEOF 6537 #define WORDS_BIGENDIAN 1 6538 _ACEOF 6972 6973 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 6539 6974 6540 6975 fi … … 6543 6978 if test "(" X$PARALLEL = Xyes -a X$THREADS != Xno ")" -o X$THREADS = Xyes; then 6544 6979 6545 echo "$as_me:$LINENO: checking pthreads" >&5 6546 echo $ECHO_N "checking pthreads... $ECHO_C" >&6 6547 6548 6549 ac_ext=cc 6980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pthreads" >&5 6981 $as_echo_n "checking pthreads... " >&6; } 6982 6983 ac_ext=cpp 6550 6984 ac_cpp='$CXXCPP $CPPFLAGS' 6551 6985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 6554 6988 6555 6989 LIBSSAV="$LIBS" 6556 cat >conftest.$ac_ext <<_ACEOF 6557 /* confdefs.h. */ 6558 _ACEOF 6559 cat confdefs.h >>conftest.$ac_ext 6560 cat >>conftest.$ac_ext <<_ACEOF 6990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6561 6991 /* end confdefs.h. */ 6562 6992 #include <pthread.h> … … 6569 6999 } 6570 7000 _ACEOF 6571 rm -f conftest.$ac_objext conftest$ac_exeext 6572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6573 (eval $ac_link) 2>conftest.er1 6574 ac_status=$? 6575 grep -v '^ *+' conftest.er1 >conftest.err 6576 rm -f conftest.er1 6577 cat conftest.err >&5 6578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6579 (exit $ac_status); } && 6580 { ac_try='test -z "$ac_cxx_werror_flag" 6581 || test ! -s conftest.err' 6582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6583 (eval $ac_try) 2>&5 6584 ac_status=$? 6585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6586 (exit $ac_status); }; } && 6587 { ac_try='test -s conftest$ac_exeext' 6588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6589 (eval $ac_try) 2>&5 6590 ac_status=$? 6591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6592 (exit $ac_status); }; }; then 7001 if ac_fn_cxx_try_link "$LINENO"; then : 6593 7002 6594 7003 HAVE_PTHREAD=yes 6595 7004 else 6596 echo "$as_me: failed program was:" >&56597 sed 's/^/| /' conftest.$ac_ext >&56598 6599 7005 6600 7006 HAVE_PTHREAD=no 6601 7007 fi 6602 rm -f co nftest.err conftest.$ac_objext \6603 conftest$ac_exeext conftest.$ac_ext7008 rm -f core conftest.err conftest.$ac_objext \ 7009 conftest$ac_exeext conftest.$ac_ext 6604 7010 ac_ext=c 6605 7011 ac_cpp='$CPP $CPPFLAGS' … … 6611 7017 if test $HAVE_PTHREAD = no; then 6612 7018 6613 6614 ac_ext=cc 7019 ac_ext=cpp 6615 7020 ac_cpp='$CXXCPP $CPPFLAGS' 6616 7021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 6620 7025 LIBSSAV="$LIBS" 6621 7026 LIBS="$LIBS -lpthread" 6622 cat >conftest.$ac_ext <<_ACEOF 6623 /* confdefs.h. */ 6624 _ACEOF 6625 cat confdefs.h >>conftest.$ac_ext 6626 cat >>conftest.$ac_ext <<_ACEOF 7027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6627 7028 /* end confdefs.h. */ 6628 7029 #include <pthread.h> … … 6635 7036 } 6636 7037 _ACEOF 6637 rm -f conftest.$ac_objext conftest$ac_exeext 6638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6639 (eval $ac_link) 2>conftest.er1 6640 ac_status=$? 6641 grep -v '^ *+' conftest.er1 >conftest.err 6642 rm -f conftest.er1 6643 cat conftest.err >&5 6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6645 (exit $ac_status); } && 6646 { ac_try='test -z "$ac_cxx_werror_flag" 6647 || test ! -s conftest.err' 6648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6649 (eval $ac_try) 2>&5 6650 ac_status=$? 6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6652 (exit $ac_status); }; } && 6653 { ac_try='test -s conftest$ac_exeext' 6654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6655 (eval $ac_try) 2>&5 6656 ac_status=$? 6657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6658 (exit $ac_status); }; }; then 7038 if ac_fn_cxx_try_link "$LINENO"; then : 6659 7039 6660 7040 HAVE_PTHREAD=yes 6661 7041 else 6662 echo "$as_me: failed program was:" >&56663 sed 's/^/| /' conftest.$ac_ext >&56664 6665 7042 6666 7043 HAVE_PTHREAD=no 6667 7044 LIBS="$LIBSSAV" 6668 7045 fi 6669 rm -f co nftest.err conftest.$ac_objext \6670 conftest$ac_exeext conftest.$ac_ext7046 rm -f core conftest.err conftest.$ac_objext \ 7047 conftest$ac_exeext conftest.$ac_ext 6671 7048 ac_ext=c 6672 7049 ac_cpp='$CPP $CPPFLAGS' … … 6679 7056 if test $HAVE_PTHREAD = no; then 6680 7057 6681 6682 ac_ext=cc 7058 ac_ext=cpp 6683 7059 ac_cpp='$CXXCPP $CPPFLAGS' 6684 7060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 6688 7064 LIBSSAV="$LIBS" 6689 7065 LIBS="$LIBS -lpthreads" 6690 cat >conftest.$ac_ext <<_ACEOF 6691 /* confdefs.h. */ 6692 _ACEOF 6693 cat confdefs.h >>conftest.$ac_ext 6694 cat >>conftest.$ac_ext <<_ACEOF 7066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6695 7067 /* end confdefs.h. */ 6696 7068 #include <pthread.h> … … 6703 7075 } 6704 7076 _ACEOF 6705 rm -f conftest.$ac_objext conftest$ac_exeext 6706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6707 (eval $ac_link) 2>conftest.er1 6708 ac_status=$? 6709 grep -v '^ *+' conftest.er1 >conftest.err 6710 rm -f conftest.er1 6711 cat conftest.err >&5 6712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6713 (exit $ac_status); } && 6714 { ac_try='test -z "$ac_cxx_werror_flag" 6715 || test ! -s conftest.err' 6716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6717 (eval $ac_try) 2>&5 6718 ac_status=$? 6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6720 (exit $ac_status); }; } && 6721 { ac_try='test -s conftest$ac_exeext' 6722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6723 (eval $ac_try) 2>&5 6724 ac_status=$? 6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6726 (exit $ac_status); }; }; then 7077 if ac_fn_cxx_try_link "$LINENO"; then : 6727 7078 6728 7079 HAVE_PTHREAD=yes 6729 7080 else 6730 echo "$as_me: failed program was:" >&56731 sed 's/^/| /' conftest.$ac_ext >&56732 6733 7081 6734 7082 HAVE_PTHREAD=no 6735 7083 LIBS="$LIBSSAV" 6736 7084 fi 6737 rm -f co nftest.err conftest.$ac_objext \6738 conftest$ac_exeext conftest.$ac_ext7085 rm -f core conftest.err conftest.$ac_objext \ 7086 conftest$ac_exeext conftest.$ac_ext 6739 7087 ac_ext=c 6740 7088 ac_cpp='$CPP $CPPFLAGS' … … 6745 7093 fi 6746 7094 6747 echo "$as_me:$LINENO: result: $HAVE_PTHREAD" >&56748 echo "${ECHO_T}$HAVE_PTHREAD" >&6 7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PTHREAD" >&5 7096 $as_echo "$HAVE_PTHREAD" >&6; } 6749 7097 fi 6750 7098 if test X$HAVE_PTHREAD = Xyes; then 6751 cat >>confdefs.h <<\_ACEOF 6752 #define HAVE_PTHREAD 1 6753 _ACEOF 7099 7100 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h 6754 7101 6755 7102 EXTRADEFINES="-D_REENTRANT $EXTRADEFINES" 6756 echo "$as_me:$LINENO: checking for pthread_attr_getstacksize" >&5 6757 echo $ECHO_N "checking for pthread_attr_getstacksize... $ECHO_C" >&6 6758 if test "${ac_cv_func_pthread_attr_getstacksize+set}" = set; then 6759 echo $ECHO_N "(cached) $ECHO_C" >&6 6760 else 6761 cat >conftest.$ac_ext <<_ACEOF 6762 /* confdefs.h. */ 6763 _ACEOF 6764 cat confdefs.h >>conftest.$ac_ext 6765 cat >>conftest.$ac_ext <<_ACEOF 7103 ac_fn_c_check_func "$LINENO" "pthread_attr_getstacksize" "ac_cv_func_pthread_attr_getstacksize" 7104 if test "x$ac_cv_func_pthread_attr_getstacksize" = xyes; then : 7105 7106 fi 7107 7108 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize" 7109 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then : 7110 7111 fi 7112 7113 ac_fn_c_check_func "$LINENO" "pthread_attr_setscope" "ac_cv_func_pthread_attr_setscope" 7114 if test "x$ac_cv_func_pthread_attr_setscope" = xyes; then : 7115 7116 fi 7117 7118 ac_fn_c_check_func "$LINENO" "pthread_attr_getscope" "ac_cv_func_pthread_attr_getscope" 7119 if test "x$ac_cv_func_pthread_attr_getscope" = xyes; then : 7120 7121 fi 7122 7123 ac_fn_c_check_func "$LINENO" "pthread_attr_setinheritsched" "ac_cv_func_pthread_attr_setinheritsched" 7124 if test "x$ac_cv_func_pthread_attr_setinheritsched" = xyes; then : 7125 7126 fi 7127 7128 ac_fn_c_check_func "$LINENO" "pthread_attr_getinheritsched" "ac_cv_func_pthread_attr_getinheritsched" 7129 if test "x$ac_cv_func_pthread_attr_getinheritsched" = xyes; then : 7130 7131 fi 7132 7133 ac_fn_c_check_func "$LINENO" "pthread_attr_setschedpolicy" "ac_cv_func_pthread_attr_setschedpolicy" 7134 if test "x$ac_cv_func_pthread_attr_setschedpolicy" = xyes; then : 7135 7136 fi 7137 7138 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy" 7139 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then : 7140 7141 fi 7142 7143 ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam" 7144 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then : 7145 7146 fi 7147 7148 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedparam" "ac_cv_func_pthread_attr_getschedparam" 7149 if test "x$ac_cv_func_pthread_attr_getschedparam" = xyes; then : 7150 7151 fi 7152 7153 ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max" 7154 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then : 7155 7156 fi 7157 7158 ac_fn_c_check_func "$LINENO" "sched_get_priority_min" "ac_cv_func_sched_get_priority_min" 7159 if test "x$ac_cv_func_sched_get_priority_min" = xyes; then : 7160 7161 fi 7162 7163 fi 7164 7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5 7166 $as_echo_n "checking for main in -ldl... " >&6; } 7167 if ${ac_cv_lib_dl_main+:} false; then : 7168 $as_echo_n "(cached) " >&6 7169 else 7170 ac_check_lib_save_LIBS=$LIBS 7171 LIBS="-ldl $LIBS" 7172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6766 7173 /* end confdefs.h. */ 6767 /* Define pthread_attr_getstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_getstacksize. 6768 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6769 #define pthread_attr_getstacksize innocuous_pthread_attr_getstacksize 6770 6771 /* System header to define __stub macros and hopefully few prototypes, 6772 which can conflict with char pthread_attr_getstacksize (); below. 6773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6774 <limits.h> exists even on freestanding compilers. */ 6775 6776 #ifdef __STDC__ 6777 # include <limits.h> 6778 #else 6779 # include <assert.h> 6780 #endif 6781 6782 #undef pthread_attr_getstacksize 6783 6784 /* Override any gcc2 internal prototype to avoid an error. */ 6785 #ifdef __cplusplus 6786 extern "C" 6787 { 6788 #endif 6789 /* We use char because int might match the return type of a gcc2 6790 builtin and then its argument prototype would still apply. */ 6791 char pthread_attr_getstacksize (); 6792 /* The GNU C library defines this for functions which it implements 6793 to always fail with ENOSYS. Some functions are actually named 6794 something starting with __ and the normal name is an alias. */ 6795 #if defined (__stub_pthread_attr_getstacksize) || defined (__stub___pthread_attr_getstacksize) 6796 choke me 6797 #else 6798 char (*f) () = pthread_attr_getstacksize; 6799 #endif 6800 #ifdef __cplusplus 6801 } 6802 #endif 7174 6803 7175 6804 7176 int 6805 7177 main () 6806 7178 { 6807 return f != pthread_attr_getstacksize;7179 return main (); 6808 7180 ; 6809 7181 return 0; 6810 7182 } 6811 7183 _ACEOF 6812 rm -f conftest.$ac_objext conftest$ac_exeext 6813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6814 (eval $ac_link) 2>conftest.er1 6815 ac_status=$? 6816 grep -v '^ *+' conftest.er1 >conftest.err 6817 rm -f conftest.er1 6818 cat conftest.err >&5 6819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6820 (exit $ac_status); } && 6821 { ac_try='test -z "$ac_c_werror_flag" 6822 || test ! -s conftest.err' 6823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6824 (eval $ac_try) 2>&5 6825 ac_status=$? 6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6827 (exit $ac_status); }; } && 6828 { ac_try='test -s conftest$ac_exeext' 6829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6830 (eval $ac_try) 2>&5 6831 ac_status=$? 6832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6833 (exit $ac_status); }; }; then 6834 ac_cv_func_pthread_attr_getstacksize=yes 6835 else 6836 echo "$as_me: failed program was:" >&5 6837 sed 's/^/| /' conftest.$ac_ext >&5 6838 6839 ac_cv_func_pthread_attr_getstacksize=no 6840 fi 6841 rm -f conftest.err conftest.$ac_objext \ 6842 conftest$ac_exeext conftest.$ac_ext 6843 fi 6844 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getstacksize" >&5 6845 echo "${ECHO_T}$ac_cv_func_pthread_attr_getstacksize" >&6 6846 6847 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5 6848 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6 6849 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then 6850 echo $ECHO_N "(cached) $ECHO_C" >&6 6851 else 6852 cat >conftest.$ac_ext <<_ACEOF 6853 /* confdefs.h. */ 7184 if ac_fn_c_try_link "$LINENO"; then : 7185 ac_cv_lib_dl_main=yes 7186 else 7187 ac_cv_lib_dl_main=no 7188 fi 7189 rm -f core conftest.err conftest.$ac_objext \ 7190 conftest$ac_exeext conftest.$ac_ext 7191 LIBS=$ac_check_lib_save_LIBS 7192 fi 7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&5 7194 $as_echo "$ac_cv_lib_dl_main" >&6; } 7195 if test "x$ac_cv_lib_dl_main" = xyes; then : 7196 cat >>confdefs.h <<_ACEOF 7197 #define HAVE_LIBDL 1 6854 7198 _ACEOF 6855 cat confdefs.h >>conftest.$ac_ext 6856 cat >>conftest.$ac_ext <<_ACEOF 7199 7200 LIBS="-ldl $LIBS" 7201 7202 fi 7203 7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 7205 $as_echo_n "checking for main in -lm... " >&6; } 7206 if ${ac_cv_lib_m_main+:} false; then : 7207 $as_echo_n "(cached) " >&6 7208 else 7209 ac_check_lib_save_LIBS=$LIBS 7210 LIBS="-lm $LIBS" 7211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6857 7212 /* end confdefs.h. */ 6858 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize. 6859 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6860 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize 6861 6862 /* System header to define __stub macros and hopefully few prototypes, 6863 which can conflict with char pthread_attr_setstacksize (); below. 6864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6865 <limits.h> exists even on freestanding compilers. */ 6866 6867 #ifdef __STDC__ 6868 # include <limits.h> 6869 #else 6870 # include <assert.h> 6871 #endif 6872 6873 #undef pthread_attr_setstacksize 6874 6875 /* Override any gcc2 internal prototype to avoid an error. */ 6876 #ifdef __cplusplus 6877 extern "C" 6878 { 6879 #endif 6880 /* We use char because int might match the return type of a gcc2 6881 builtin and then its argument prototype would still apply. */ 6882 char pthread_attr_setstacksize (); 6883 /* The GNU C library defines this for functions which it implements 6884 to always fail with ENOSYS. Some functions are actually named 6885 something starting with __ and the normal name is an alias. */ 6886 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize) 6887 choke me 6888 #else 6889 char (*f) () = pthread_attr_setstacksize; 6890 #endif 6891 #ifdef __cplusplus 6892 } 6893 #endif 7213 6894 7214 6895 7215 int 6896 7216 main () 6897 7217 { 6898 return f != pthread_attr_setstacksize;7218 return main (); 6899 7219 ; 6900 7220 return 0; 6901 7221 } 6902 7222 _ACEOF 6903 rm -f conftest.$ac_objext conftest$ac_exeext 6904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6905 (eval $ac_link) 2>conftest.er1 6906 ac_status=$? 6907 grep -v '^ *+' conftest.er1 >conftest.err 6908 rm -f conftest.er1 6909 cat conftest.err >&5 6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6911 (exit $ac_status); } && 6912 { ac_try='test -z "$ac_c_werror_flag" 6913 || test ! -s conftest.err' 6914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6915 (eval $ac_try) 2>&5 6916 ac_status=$? 6917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6918 (exit $ac_status); }; } && 6919 { ac_try='test -s conftest$ac_exeext' 6920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6921 (eval $ac_try) 2>&5 6922 ac_status=$? 6923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6924 (exit $ac_status); }; }; then 6925 ac_cv_func_pthread_attr_setstacksize=yes 6926 else 6927 echo "$as_me: failed program was:" >&5 6928 sed 's/^/| /' conftest.$ac_ext >&5 6929 6930 ac_cv_func_pthread_attr_setstacksize=no 6931 fi 6932 rm -f conftest.err conftest.$ac_objext \ 6933 conftest$ac_exeext conftest.$ac_ext 6934 fi 6935 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5 6936 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6 6937 6938 echo "$as_me:$LINENO: checking for pthread_attr_setscope" >&5 6939 echo $ECHO_N "checking for pthread_attr_setscope... $ECHO_C" >&6 6940 if test "${ac_cv_func_pthread_attr_setscope+set}" = set; then 6941 echo $ECHO_N "(cached) $ECHO_C" >&6 6942 else 6943 cat >conftest.$ac_ext <<_ACEOF 6944 /* confdefs.h. */ 7223 if ac_fn_c_try_link "$LINENO"; then : 7224 ac_cv_lib_m_main=yes 7225 else 7226 ac_cv_lib_m_main=no 7227 fi 7228 rm -f core conftest.err conftest.$ac_objext \ 7229 conftest$ac_exeext conftest.$ac_ext 7230 LIBS=$ac_check_lib_save_LIBS 7231 fi 7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 7233 $as_echo "$ac_cv_lib_m_main" >&6; } 7234 if test "x$ac_cv_lib_m_main" = xyes; then : 7235 cat >>confdefs.h <<_ACEOF 7236 #define HAVE_LIBM 1 6945 7237 _ACEOF 6946 cat confdefs.h >>conftest.$ac_ext 6947 cat >>conftest.$ac_ext <<_ACEOF 7238 7239 LIBS="-lm $LIBS" 7240 7241 fi 7242 7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lfl" >&5 7244 $as_echo_n "checking for main in -lfl... " >&6; } 7245 if ${ac_cv_lib_fl_main+:} false; then : 7246 $as_echo_n "(cached) " >&6 7247 else 7248 ac_check_lib_save_LIBS=$LIBS 7249 LIBS="-lfl $LIBS" 7250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6948 7251 /* end confdefs.h. */ 6949 /* Define pthread_attr_setscope to an innocuous variant, in case <limits.h> declares pthread_attr_setscope. 6950 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6951 #define pthread_attr_setscope innocuous_pthread_attr_setscope 6952 6953 /* System header to define __stub macros and hopefully few prototypes, 6954 which can conflict with char pthread_attr_setscope (); below. 6955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6956 <limits.h> exists even on freestanding compilers. */ 6957 6958 #ifdef __STDC__ 6959 # include <limits.h> 6960 #else 6961 # include <assert.h> 6962 #endif 6963 6964 #undef pthread_attr_setscope 6965 6966 /* Override any gcc2 internal prototype to avoid an error. */ 6967 #ifdef __cplusplus 6968 extern "C" 6969 { 6970 #endif 6971 /* We use char because int might match the return type of a gcc2 6972 builtin and then its argument prototype would still apply. */ 6973 char pthread_attr_setscope (); 6974 /* The GNU C library defines this for functions which it implements 6975 to always fail with ENOSYS. Some functions are actually named 6976 something starting with __ and the normal name is an alias. */ 6977 #if defined (__stub_pthread_attr_setscope) || defined (__stub___pthread_attr_setscope) 6978 choke me 6979 #else 6980 char (*f) () = pthread_attr_setscope; 6981 #endif 6982 #ifdef __cplusplus 6983 } 6984 #endif 7252 6985 7253 6986 7254 int 6987 7255 main () 6988 7256 { 6989 return f != pthread_attr_setscope;7257 return main (); 6990 7258 ; 6991 7259 return 0; 6992 7260 } 6993 7261 _ACEOF 6994 rm -f conftest.$ac_objext conftest$ac_exeext 6995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6996 (eval $ac_link) 2>conftest.er1 6997 ac_status=$? 6998 grep -v '^ *+' conftest.er1 >conftest.err 6999 rm -f conftest.er1 7000 cat conftest.err >&5 7001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7002 (exit $ac_status); } && 7003 { ac_try='test -z "$ac_c_werror_flag" 7004 || test ! -s conftest.err' 7005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7006 (eval $ac_try) 2>&5 7007 ac_status=$? 7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7009 (exit $ac_status); }; } && 7010 { ac_try='test -s conftest$ac_exeext' 7011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7012 (eval $ac_try) 2>&5 7013 ac_status=$? 7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7015 (exit $ac_status); }; }; then 7016 ac_cv_func_pthread_attr_setscope=yes 7017 else 7018 echo "$as_me: failed program was:" >&5 7019 sed 's/^/| /' conftest.$ac_ext >&5 7020 7021 ac_cv_func_pthread_attr_setscope=no 7022 fi 7023 rm -f conftest.err conftest.$ac_objext \ 7024 conftest$ac_exeext conftest.$ac_ext 7025 fi 7026 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setscope" >&5 7027 echo "${ECHO_T}$ac_cv_func_pthread_attr_setscope" >&6 7028 7029 echo "$as_me:$LINENO: checking for pthread_attr_getscope" >&5 7030 echo $ECHO_N "checking for pthread_attr_getscope... $ECHO_C" >&6 7031 if test "${ac_cv_func_pthread_attr_getscope+set}" = set; then 7032 echo $ECHO_N "(cached) $ECHO_C" >&6 7033 else 7034 cat >conftest.$ac_ext <<_ACEOF 7035 /* confdefs.h. */ 7262 if ac_fn_c_try_link "$LINENO"; then : 7263 ac_cv_lib_fl_main=yes 7264 else 7265 ac_cv_lib_fl_main=no 7266 fi 7267 rm -f core conftest.err conftest.$ac_objext \ 7268 conftest$ac_exeext conftest.$ac_ext 7269 LIBS=$ac_check_lib_save_LIBS 7270 fi 7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fl_main" >&5 7272 $as_echo "$ac_cv_lib_fl_main" >&6; } 7273 if test "x$ac_cv_lib_fl_main" = xyes; then : 7274 cat >>confdefs.h <<_ACEOF 7275 #define HAVE_LIBFL 1 7036 7276 _ACEOF 7037 cat confdefs.h >>conftest.$ac_ext 7038 cat >>conftest.$ac_ext <<_ACEOF 7277 7278 LIBS="-lfl $LIBS" 7279 7280 fi 7281 7282 ac_fn_c_check_header_mongrel "$LINENO" "perf.h" "ac_cv_header_perf_h" "$ac_includes_default" 7283 if test "x$ac_cv_header_perf_h" = xyes; then : 7284 7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perf_set_config in -lperf" >&5 7286 $as_echo_n "checking for perf_set_config in -lperf... " >&6; } 7287 if ${ac_cv_lib_perf_perf_set_config+:} false; then : 7288 $as_echo_n "(cached) " >&6 7289 else 7290 ac_check_lib_save_LIBS=$LIBS 7291 LIBS="-lperf $LIBS" 7292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7039 7293 /* end confdefs.h. */ 7040 /* Define pthread_attr_getscope to an innocuous variant, in case <limits.h> declares pthread_attr_getscope. 7041 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7042 #define pthread_attr_getscope innocuous_pthread_attr_getscope 7043 7044 /* System header to define __stub macros and hopefully few prototypes, 7045 which can conflict with char pthread_attr_getscope (); below. 7046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7047 <limits.h> exists even on freestanding compilers. */ 7048 7049 #ifdef __STDC__ 7050 # include <limits.h> 7051 #else 7052 # include <assert.h> 7053 #endif 7054 7055 #undef pthread_attr_getscope 7056 7057 /* Override any gcc2 internal prototype to avoid an error. */ 7294 7295 /* Override any GCC internal prototype to avoid an error. 7296 Use char because int might match the return type of a GCC 7297 builtin and then its argument prototype would still apply. */ 7058 7298 #ifdef __cplusplus 7059 7299 extern "C" 7060 {7061 7300 #endif 7062 /* We use char because int might match the return type of a gcc2 7063 builtin and then its argument prototype would still apply. */ 7064 char pthread_attr_getscope (); 7065 /* The GNU C library defines this for functions which it implements 7066 to always fail with ENOSYS. Some functions are actually named 7067 something starting with __ and the normal name is an alias. */ 7068 #if defined (__stub_pthread_attr_getscope) || defined (__stub___pthread_attr_getscope) 7069 choke me 7070 #else 7071 char (*f) () = pthread_attr_getscope; 7072 #endif 7073 #ifdef __cplusplus 7074 } 7075 #endif 7076 7301 char perf_set_config (); 7077 7302 int 7078 7303 main () 7079 7304 { 7080 return f != pthread_attr_getscope;7305 return perf_set_config (); 7081 7306 ; 7082 7307 return 0; 7083 7308 } 7084 7309 _ACEOF 7085 rm -f conftest.$ac_objext conftest$ac_exeext 7086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7087 (eval $ac_link) 2>conftest.er1 7088 ac_status=$? 7089 grep -v '^ *+' conftest.er1 >conftest.err 7090 rm -f conftest.er1 7091 cat conftest.err >&5 7092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7093 (exit $ac_status); } && 7094 { ac_try='test -z "$ac_c_werror_flag" 7095 || test ! -s conftest.err' 7096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7097 (eval $ac_try) 2>&5 7098 ac_status=$? 7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7100 (exit $ac_status); }; } && 7101 { ac_try='test -s conftest$ac_exeext' 7102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7103 (eval $ac_try) 2>&5 7104 ac_status=$? 7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7106 (exit $ac_status); }; }; then 7107 ac_cv_func_pthread_attr_getscope=yes 7108 else 7109 echo "$as_me: failed program was:" >&5 7110 sed 's/^/| /' conftest.$ac_ext >&5 7111 7112 ac_cv_func_pthread_attr_getscope=no 7113 fi 7114 rm -f conftest.err conftest.$ac_objext \ 7115 conftest$ac_exeext conftest.$ac_ext 7116 fi 7117 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getscope" >&5 7118 echo "${ECHO_T}$ac_cv_func_pthread_attr_getscope" >&6 7119 7120 echo "$as_me:$LINENO: checking for pthread_attr_setinheritsched" >&5 7121 echo $ECHO_N "checking for pthread_attr_setinheritsched... $ECHO_C" >&6 7122 if test "${ac_cv_func_pthread_attr_setinheritsched+set}" = set; then 7123 echo $ECHO_N "(cached) $ECHO_C" >&6 7124 else 7125 cat >conftest.$ac_ext <<_ACEOF 7126 /* confdefs.h. */ 7127 _ACEOF 7128 cat confdefs.h >>conftest.$ac_ext 7129 cat >>conftest.$ac_ext <<_ACEOF 7130 /* end confdefs.h. */ 7131 /* Define pthread_attr_setinheritsched to an innocuous variant, in case <limits.h> declares pthread_attr_setinheritsched. 7132 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7133 #define pthread_attr_setinheritsched innocuous_pthread_attr_setinheritsched 7134 7135 /* System header to define __stub macros and hopefully few prototypes, 7136 which can conflict with char pthread_attr_setinheritsched (); below. 7137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7138 <limits.h> exists even on freestanding compilers. */ 7139 7140 #ifdef __STDC__ 7141 # include <limits.h> 7142 #else 7143 # include <assert.h> 7144 #endif 7145 7146 #undef pthread_attr_setinheritsched 7147 7148 /* Override any gcc2 internal prototype to avoid an error. */ 7149 #ifdef __cplusplus 7150 extern "C" 7151 { 7152 #endif 7153 /* We use char because int might match the return type of a gcc2 7154 builtin and then its argument prototype would still apply. */ 7155 char pthread_attr_setinheritsched (); 7156 /* The GNU C library defines this for functions which it implements 7157 to always fail with ENOSYS. Some functions are actually named 7158 something starting with __ and the normal name is an alias. */ 7159 #if defined (__stub_pthread_attr_setinheritsched) || defined (__stub___pthread_attr_setinheritsched) 7160 choke me 7161 #else 7162 char (*f) () = pthread_attr_setinheritsched; 7163 #endif 7164 #ifdef __cplusplus 7165 } 7166 #endif 7167 7168 int 7169 main () 7170 { 7171 return f != pthread_attr_setinheritsched; 7172 ; 7173 return 0; 7174 } 7175 _ACEOF 7176 rm -f conftest.$ac_objext conftest$ac_exeext 7177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7178 (eval $ac_link) 2>conftest.er1 7179 ac_status=$? 7180 grep -v '^ *+' conftest.er1 >conftest.err 7181 rm -f conftest.er1 7182 cat conftest.err >&5 7183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7184 (exit $ac_status); } && 7185 { ac_try='test -z "$ac_c_werror_flag" 7186 || test ! -s conftest.err' 7187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7188 (eval $ac_try) 2>&5 7189 ac_status=$? 7190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7191 (exit $ac_status); }; } && 7192 { ac_try='test -s conftest$ac_exeext' 7193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7194 (eval $ac_try) 2>&5 7195 ac_status=$? 7196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7197 (exit $ac_status); }; }; then 7198 ac_cv_func_pthread_attr_setinheritsched=yes 7199 else 7200 echo "$as_me: failed program was:" >&5 7201 sed 's/^/| /' conftest.$ac_ext >&5 7202 7203 ac_cv_func_pthread_attr_setinheritsched=no 7204 fi 7205 rm -f conftest.err conftest.$ac_objext \ 7206 conftest$ac_exeext conftest.$ac_ext 7207 fi 7208 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setinheritsched" >&5 7209 echo "${ECHO_T}$ac_cv_func_pthread_attr_setinheritsched" >&6 7210 7211 echo "$as_me:$LINENO: checking for pthread_attr_getinheritsched" >&5 7212 echo $ECHO_N "checking for pthread_attr_getinheritsched... $ECHO_C" >&6 7213 if test "${ac_cv_func_pthread_attr_getinheritsched+set}" = set; then 7214 echo $ECHO_N "(cached) $ECHO_C" >&6 7215 else 7216 cat >conftest.$ac_ext <<_ACEOF 7217 /* confdefs.h. */ 7218 _ACEOF 7219 cat confdefs.h >>conftest.$ac_ext 7220 cat >>conftest.$ac_ext <<_ACEOF 7221 /* end confdefs.h. */ 7222 /* Define pthread_attr_getinheritsched to an innocuous variant, in case <limits.h> declares pthread_attr_getinheritsched. 7223 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7224 #define pthread_attr_getinheritsched innocuous_pthread_attr_getinheritsched 7225 7226 /* System header to define __stub macros and hopefully few prototypes, 7227 which can conflict with char pthread_attr_getinheritsched (); below. 7228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7229 <limits.h> exists even on freestanding compilers. */ 7230 7231 #ifdef __STDC__ 7232 # include <limits.h> 7233 #else 7234 # include <assert.h> 7235 #endif 7236 7237 #undef pthread_attr_getinheritsched 7238 7239 /* Override any gcc2 internal prototype to avoid an error. */ 7240 #ifdef __cplusplus 7241 extern "C" 7242 { 7243 #endif 7244 /* We use char because int might match the return type of a gcc2 7245 builtin and then its argument prototype would still apply. */ 7246 char pthread_attr_getinheritsched (); 7247 /* The GNU C library defines this for functions which it implements 7248 to always fail with ENOSYS. Some functions are actually named 7249 something starting with __ and the normal name is an alias. */ 7250 #if defined (__stub_pthread_attr_getinheritsched) || defined (__stub___pthread_attr_getinheritsched) 7251 choke me 7252 #else 7253 char (*f) () = pthread_attr_getinheritsched; 7254 #endif 7255 #ifdef __cplusplus 7256 } 7257 #endif 7258 7259 int 7260 main () 7261 { 7262 return f != pthread_attr_getinheritsched; 7263 ; 7264 return 0; 7265 } 7266 _ACEOF 7267 rm -f conftest.$ac_objext conftest$ac_exeext 7268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7269 (eval $ac_link) 2>conftest.er1 7270 ac_status=$? 7271 grep -v '^ *+' conftest.er1 >conftest.err 7272 rm -f conftest.er1 7273 cat conftest.err >&5 7274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7275 (exit $ac_status); } && 7276 { ac_try='test -z "$ac_c_werror_flag" 7277 || test ! -s conftest.err' 7278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7279 (eval $ac_try) 2>&5 7280 ac_status=$? 7281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7282 (exit $ac_status); }; } && 7283 { ac_try='test -s conftest$ac_exeext' 7284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7285 (eval $ac_try) 2>&5 7286 ac_status=$? 7287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7288 (exit $ac_status); }; }; then 7289 ac_cv_func_pthread_attr_getinheritsched=yes 7290 else 7291 echo "$as_me: failed program was:" >&5 7292 sed 's/^/| /' conftest.$ac_ext >&5 7293 7294 ac_cv_func_pthread_attr_getinheritsched=no 7295 fi 7296 rm -f conftest.err conftest.$ac_objext \ 7297 conftest$ac_exeext conftest.$ac_ext 7298 fi 7299 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getinheritsched" >&5 7300 echo "${ECHO_T}$ac_cv_func_pthread_attr_getinheritsched" >&6 7301 7302 echo "$as_me:$LINENO: checking for pthread_attr_setschedpolicy" >&5 7303 echo $ECHO_N "checking for pthread_attr_setschedpolicy... $ECHO_C" >&6 7304 if test "${ac_cv_func_pthread_attr_setschedpolicy+set}" = set; then 7305 echo $ECHO_N "(cached) $ECHO_C" >&6 7306 else 7307 cat >conftest.$ac_ext <<_ACEOF 7308 /* confdefs.h. */ 7309 _ACEOF 7310 cat confdefs.h >>conftest.$ac_ext 7311 cat >>conftest.$ac_ext <<_ACEOF 7312 /* end confdefs.h. */ 7313 /* Define pthread_attr_setschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_setschedpolicy. 7314 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7315 #define pthread_attr_setschedpolicy innocuous_pthread_attr_setschedpolicy 7316 7317 /* System header to define __stub macros and hopefully few prototypes, 7318 which can conflict with char pthread_attr_setschedpolicy (); below. 7319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7320 <limits.h> exists even on freestanding compilers. */ 7321 7322 #ifdef __STDC__ 7323 # include <limits.h> 7324 #else 7325 # include <assert.h> 7326 #endif 7327 7328 #undef pthread_attr_setschedpolicy 7329 7330 /* Override any gcc2 internal prototype to avoid an error. */ 7331 #ifdef __cplusplus 7332 extern "C" 7333 { 7334 #endif 7335 /* We use char because int might match the return type of a gcc2 7336 builtin and then its argument prototype would still apply. */ 7337 char pthread_attr_setschedpolicy (); 7338 /* The GNU C library defines this for functions which it implements 7339 to always fail with ENOSYS. Some functions are actually named 7340 something starting with __ and the normal name is an alias. */ 7341 #if defined (__stub_pthread_attr_setschedpolicy) || defined (__stub___pthread_attr_setschedpolicy) 7342 choke me 7343 #else 7344 char (*f) () = pthread_attr_setschedpolicy; 7345 #endif 7346 #ifdef __cplusplus 7347 } 7348 #endif 7349 7350 int 7351 main () 7352 { 7353 return f != pthread_attr_setschedpolicy; 7354 ; 7355 return 0; 7356 } 7357 _ACEOF 7358 rm -f conftest.$ac_objext conftest$ac_exeext 7359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7360 (eval $ac_link) 2>conftest.er1 7361 ac_status=$? 7362 grep -v '^ *+' conftest.er1 >conftest.err 7363 rm -f conftest.er1 7364 cat conftest.err >&5 7365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7366 (exit $ac_status); } && 7367 { ac_try='test -z "$ac_c_werror_flag" 7368 || test ! -s conftest.err' 7369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7370 (eval $ac_try) 2>&5 7371 ac_status=$? 7372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7373 (exit $ac_status); }; } && 7374 { ac_try='test -s conftest$ac_exeext' 7375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7376 (eval $ac_try) 2>&5 7377 ac_status=$? 7378 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7379 (exit $ac_status); }; }; then 7380 ac_cv_func_pthread_attr_setschedpolicy=yes 7381 else 7382 echo "$as_me: failed program was:" >&5 7383 sed 's/^/| /' conftest.$ac_ext >&5 7384 7385 ac_cv_func_pthread_attr_setschedpolicy=no 7386 fi 7387 rm -f conftest.err conftest.$ac_objext \ 7388 conftest$ac_exeext conftest.$ac_ext 7389 fi 7390 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedpolicy" >&5 7391 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedpolicy" >&6 7392 7393 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5 7394 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6 7395 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then 7396 echo $ECHO_N "(cached) $ECHO_C" >&6 7397 else 7398 cat >conftest.$ac_ext <<_ACEOF 7399 /* confdefs.h. */ 7400 _ACEOF 7401 cat confdefs.h >>conftest.$ac_ext 7402 cat >>conftest.$ac_ext <<_ACEOF 7403 /* end confdefs.h. */ 7404 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy. 7405 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7406 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy 7407 7408 /* System header to define __stub macros and hopefully few prototypes, 7409 which can conflict with char pthread_attr_getschedpolicy (); below. 7410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7411 <limits.h> exists even on freestanding compilers. */ 7412 7413 #ifdef __STDC__ 7414 # include <limits.h> 7415 #else 7416 # include <assert.h> 7417 #endif 7418 7419 #undef pthread_attr_getschedpolicy 7420 7421 /* Override any gcc2 internal prototype to avoid an error. */ 7422 #ifdef __cplusplus 7423 extern "C" 7424 { 7425 #endif 7426 /* We use char because int might match the return type of a gcc2 7427 builtin and then its argument prototype would still apply. */ 7428 char pthread_attr_getschedpolicy (); 7429 /* The GNU C library defines this for functions which it implements 7430 to always fail with ENOSYS. Some functions are actually named 7431 something starting with __ and the normal name is an alias. */ 7432 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy) 7433 choke me 7434 #else 7435 char (*f) () = pthread_attr_getschedpolicy; 7436 #endif 7437 #ifdef __cplusplus 7438 } 7439 #endif 7440 7441 int 7442 main () 7443 { 7444 return f != pthread_attr_getschedpolicy; 7445 ; 7446 return 0; 7447 } 7448 _ACEOF 7449 rm -f conftest.$ac_objext conftest$ac_exeext 7450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7451 (eval $ac_link) 2>conftest.er1 7452 ac_status=$? 7453 grep -v '^ *+' conftest.er1 >conftest.err 7454 rm -f conftest.er1 7455 cat conftest.err >&5 7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7457 (exit $ac_status); } && 7458 { ac_try='test -z "$ac_c_werror_flag" 7459 || test ! -s conftest.err' 7460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7461 (eval $ac_try) 2>&5 7462 ac_status=$? 7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7464 (exit $ac_status); }; } && 7465 { ac_try='test -s conftest$ac_exeext' 7466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7467 (eval $ac_try) 2>&5 7468 ac_status=$? 7469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7470 (exit $ac_status); }; }; then 7471 ac_cv_func_pthread_attr_getschedpolicy=yes 7472 else 7473 echo "$as_me: failed program was:" >&5 7474 sed 's/^/| /' conftest.$ac_ext >&5 7475 7476 ac_cv_func_pthread_attr_getschedpolicy=no 7477 fi 7478 rm -f conftest.err conftest.$ac_objext \ 7479 conftest$ac_exeext conftest.$ac_ext 7480 fi 7481 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5 7482 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6 7483 7484 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5 7485 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6 7486 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then 7487 echo $ECHO_N "(cached) $ECHO_C" >&6 7488 else 7489 cat >conftest.$ac_ext <<_ACEOF 7490 /* confdefs.h. */ 7491 _ACEOF 7492 cat confdefs.h >>conftest.$ac_ext 7493 cat >>conftest.$ac_ext <<_ACEOF 7494 /* end confdefs.h. */ 7495 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam. 7496 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7497 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam 7498 7499 /* System header to define __stub macros and hopefully few prototypes, 7500 which can conflict with char pthread_attr_setschedparam (); below. 7501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7502 <limits.h> exists even on freestanding compilers. */ 7503 7504 #ifdef __STDC__ 7505 # include <limits.h> 7506 #else 7507 # include <assert.h> 7508 #endif 7509 7510 #undef pthread_attr_setschedparam 7511 7512 /* Override any gcc2 internal prototype to avoid an error. */ 7513 #ifdef __cplusplus 7514 extern "C" 7515 { 7516 #endif 7517 /* We use char because int might match the return type of a gcc2 7518 builtin and then its argument prototype would still apply. */ 7519 char pthread_attr_setschedparam (); 7520 /* The GNU C library defines this for functions which it implements 7521 to always fail with ENOSYS. Some functions are actually named 7522 something starting with __ and the normal name is an alias. */ 7523 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam) 7524 choke me 7525 #else 7526 char (*f) () = pthread_attr_setschedparam; 7527 #endif 7528 #ifdef __cplusplus 7529 } 7530 #endif 7531 7532 int 7533 main () 7534 { 7535 return f != pthread_attr_setschedparam; 7536 ; 7537 return 0; 7538 } 7539 _ACEOF 7540 rm -f conftest.$ac_objext conftest$ac_exeext 7541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7542 (eval $ac_link) 2>conftest.er1 7543 ac_status=$? 7544 grep -v '^ *+' conftest.er1 >conftest.err 7545 rm -f conftest.er1 7546 cat conftest.err >&5 7547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7548 (exit $ac_status); } && 7549 { ac_try='test -z "$ac_c_werror_flag" 7550 || test ! -s conftest.err' 7551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7552 (eval $ac_try) 2>&5 7553 ac_status=$? 7554 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7555 (exit $ac_status); }; } && 7556 { ac_try='test -s conftest$ac_exeext' 7557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7558 (eval $ac_try) 2>&5 7559 ac_status=$? 7560 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7561 (exit $ac_status); }; }; then 7562 ac_cv_func_pthread_attr_setschedparam=yes 7563 else 7564 echo "$as_me: failed program was:" >&5 7565 sed 's/^/| /' conftest.$ac_ext >&5 7566 7567 ac_cv_func_pthread_attr_setschedparam=no 7568 fi 7569 rm -f conftest.err conftest.$ac_objext \ 7570 conftest$ac_exeext conftest.$ac_ext 7571 fi 7572 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5 7573 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6 7574 7575 echo "$as_me:$LINENO: checking for pthread_attr_getschedparam" >&5 7576 echo $ECHO_N "checking for pthread_attr_getschedparam... $ECHO_C" >&6 7577 if test "${ac_cv_func_pthread_attr_getschedparam+set}" = set; then 7578 echo $ECHO_N "(cached) $ECHO_C" >&6 7579 else 7580 cat >conftest.$ac_ext <<_ACEOF 7581 /* confdefs.h. */ 7582 _ACEOF 7583 cat confdefs.h >>conftest.$ac_ext 7584 cat >>conftest.$ac_ext <<_ACEOF 7585 /* end confdefs.h. */ 7586 /* Define pthread_attr_getschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_getschedparam. 7587 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7588 #define pthread_attr_getschedparam innocuous_pthread_attr_getschedparam 7589 7590 /* System header to define __stub macros and hopefully few prototypes, 7591 which can conflict with char pthread_attr_getschedparam (); below. 7592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7593 <limits.h> exists even on freestanding compilers. */ 7594 7595 #ifdef __STDC__ 7596 # include <limits.h> 7597 #else 7598 # include <assert.h> 7599 #endif 7600 7601 #undef pthread_attr_getschedparam 7602 7603 /* Override any gcc2 internal prototype to avoid an error. */ 7604 #ifdef __cplusplus 7605 extern "C" 7606 { 7607 #endif 7608 /* We use char because int might match the return type of a gcc2 7609 builtin and then its argument prototype would still apply. */ 7610 char pthread_attr_getschedparam (); 7611 /* The GNU C library defines this for functions which it implements 7612 to always fail with ENOSYS. Some functions are actually named 7613 something starting with __ and the normal name is an alias. */ 7614 #if defined (__stub_pthread_attr_getschedparam) || defined (__stub___pthread_attr_getschedparam) 7615 choke me 7616 #else 7617 char (*f) () = pthread_attr_getschedparam; 7618 #endif 7619 #ifdef __cplusplus 7620 } 7621 #endif 7622 7623 int 7624 main () 7625 { 7626 return f != pthread_attr_getschedparam; 7627 ; 7628 return 0; 7629 } 7630 _ACEOF 7631 rm -f conftest.$ac_objext conftest$ac_exeext 7632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7633 (eval $ac_link) 2>conftest.er1 7634 ac_status=$? 7635 grep -v '^ *+' conftest.er1 >conftest.err 7636 rm -f conftest.er1 7637 cat conftest.err >&5 7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7639 (exit $ac_status); } && 7640 { ac_try='test -z "$ac_c_werror_flag" 7641 || test ! -s conftest.err' 7642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7643 (eval $ac_try) 2>&5 7644 ac_status=$? 7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7646 (exit $ac_status); }; } && 7647 { ac_try='test -s conftest$ac_exeext' 7648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7649 (eval $ac_try) 2>&5 7650 ac_status=$? 7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7652 (exit $ac_status); }; }; then 7653 ac_cv_func_pthread_attr_getschedparam=yes 7654 else 7655 echo "$as_me: failed program was:" >&5 7656 sed 's/^/| /' conftest.$ac_ext >&5 7657 7658 ac_cv_func_pthread_attr_getschedparam=no 7659 fi 7660 rm -f conftest.err conftest.$ac_objext \ 7661 conftest$ac_exeext conftest.$ac_ext 7662 fi 7663 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedparam" >&5 7664 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedparam" >&6 7665 7666 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5 7667 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6 7668 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then 7669 echo $ECHO_N "(cached) $ECHO_C" >&6 7670 else 7671 cat >conftest.$ac_ext <<_ACEOF 7672 /* confdefs.h. */ 7673 _ACEOF 7674 cat confdefs.h >>conftest.$ac_ext 7675 cat >>conftest.$ac_ext <<_ACEOF 7676 /* end confdefs.h. */ 7677 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max. 7678 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7679 #define sched_get_priority_max innocuous_sched_get_priority_max 7680 7681 /* System header to define __stub macros and hopefully few prototypes, 7682 which can conflict with char sched_get_priority_max (); below. 7683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7684 <limits.h> exists even on freestanding compilers. */ 7685 7686 #ifdef __STDC__ 7687 # include <limits.h> 7688 #else 7689 # include <assert.h> 7690 #endif 7691 7692 #undef sched_get_priority_max 7693 7694 /* Override any gcc2 internal prototype to avoid an error. */ 7695 #ifdef __cplusplus 7696 extern "C" 7697 { 7698 #endif 7699 /* We use char because int might match the return type of a gcc2 7700 builtin and then its argument prototype would still apply. */ 7701 char sched_get_priority_max (); 7702 /* The GNU C library defines this for functions which it implements 7703 to always fail with ENOSYS. Some functions are actually named 7704 something starting with __ and the normal name is an alias. */ 7705 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max) 7706 choke me 7707 #else 7708 char (*f) () = sched_get_priority_max; 7709 #endif 7710 #ifdef __cplusplus 7711 } 7712 #endif 7713 7714 int 7715 main () 7716 { 7717 return f != sched_get_priority_max; 7718 ; 7719 return 0; 7720 } 7721 _ACEOF 7722 rm -f conftest.$ac_objext conftest$ac_exeext 7723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7724 (eval $ac_link) 2>conftest.er1 7725 ac_status=$? 7726 grep -v '^ *+' conftest.er1 >conftest.err 7727 rm -f conftest.er1 7728 cat conftest.err >&5 7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7730 (exit $ac_status); } && 7731 { ac_try='test -z "$ac_c_werror_flag" 7732 || test ! -s conftest.err' 7733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7734 (eval $ac_try) 2>&5 7735 ac_status=$? 7736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7737 (exit $ac_status); }; } && 7738 { ac_try='test -s conftest$ac_exeext' 7739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7740 (eval $ac_try) 2>&5 7741 ac_status=$? 7742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7743 (exit $ac_status); }; }; then 7744 ac_cv_func_sched_get_priority_max=yes 7745 else 7746 echo "$as_me: failed program was:" >&5 7747 sed 's/^/| /' conftest.$ac_ext >&5 7748 7749 ac_cv_func_sched_get_priority_max=no 7750 fi 7751 rm -f conftest.err conftest.$ac_objext \ 7752 conftest$ac_exeext conftest.$ac_ext 7753 fi 7754 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5 7755 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6 7756 7757 echo "$as_me:$LINENO: checking for sched_get_priority_min" >&5 7758 echo $ECHO_N "checking for sched_get_priority_min... $ECHO_C" >&6 7759 if test "${ac_cv_func_sched_get_priority_min+set}" = set; then 7760 echo $ECHO_N "(cached) $ECHO_C" >&6 7761 else 7762 cat >conftest.$ac_ext <<_ACEOF 7763 /* confdefs.h. */ 7764 _ACEOF 7765 cat confdefs.h >>conftest.$ac_ext 7766 cat >>conftest.$ac_ext <<_ACEOF 7767 /* end confdefs.h. */ 7768 /* Define sched_get_priority_min to an innocuous variant, in case <limits.h> declares sched_get_priority_min. 7769 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7770 #define sched_get_priority_min innocuous_sched_get_priority_min 7771 7772 /* System header to define __stub macros and hopefully few prototypes, 7773 which can conflict with char sched_get_priority_min (); below. 7774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7775 <limits.h> exists even on freestanding compilers. */ 7776 7777 #ifdef __STDC__ 7778 # include <limits.h> 7779 #else 7780 # include <assert.h> 7781 #endif 7782 7783 #undef sched_get_priority_min 7784 7785 /* Override any gcc2 internal prototype to avoid an error. */ 7786 #ifdef __cplusplus 7787 extern "C" 7788 { 7789 #endif 7790 /* We use char because int might match the return type of a gcc2 7791 builtin and then its argument prototype would still apply. */ 7792 char sched_get_priority_min (); 7793 /* The GNU C library defines this for functions which it implements 7794 to always fail with ENOSYS. Some functions are actually named 7795 something starting with __ and the normal name is an alias. */ 7796 #if defined (__stub_sched_get_priority_min) || defined (__stub___sched_get_priority_min) 7797 choke me 7798 #else 7799 char (*f) () = sched_get_priority_min; 7800 #endif 7801 #ifdef __cplusplus 7802 } 7803 #endif 7804 7805 int 7806 main () 7807 { 7808 return f != sched_get_priority_min; 7809 ; 7810 return 0; 7811 } 7812 _ACEOF 7813 rm -f conftest.$ac_objext conftest$ac_exeext 7814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7815 (eval $ac_link) 2>conftest.er1 7816 ac_status=$? 7817 grep -v '^ *+' conftest.er1 >conftest.err 7818 rm -f conftest.er1 7819 cat conftest.err >&5 7820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7821 (exit $ac_status); } && 7822 { ac_try='test -z "$ac_c_werror_flag" 7823 || test ! -s conftest.err' 7824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7825 (eval $ac_try) 2>&5 7826 ac_status=$? 7827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7828 (exit $ac_status); }; } && 7829 { ac_try='test -s conftest$ac_exeext' 7830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7831 (eval $ac_try) 2>&5 7832 ac_status=$? 7833 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7834 (exit $ac_status); }; }; then 7835 ac_cv_func_sched_get_priority_min=yes 7836 else 7837 echo "$as_me: failed program was:" >&5 7838 sed 's/^/| /' conftest.$ac_ext >&5 7839 7840 ac_cv_func_sched_get_priority_min=no 7841 fi 7842 rm -f conftest.err conftest.$ac_objext \ 7843 conftest$ac_exeext conftest.$ac_ext 7844 fi 7845 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_min" >&5 7846 echo "${ECHO_T}$ac_cv_func_sched_get_priority_min" >&6 7847 7848 fi 7849 7850 7851 echo "$as_me:$LINENO: checking for main in -ldl" >&5 7852 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6 7853 if test "${ac_cv_lib_dl_main+set}" = set; then 7854 echo $ECHO_N "(cached) $ECHO_C" >&6 7855 else 7856 ac_check_lib_save_LIBS=$LIBS 7857 LIBS="-ldl $LIBS" 7858 cat >conftest.$ac_ext <<_ACEOF 7859 /* confdefs.h. */ 7860 _ACEOF 7861 cat confdefs.h >>conftest.$ac_ext 7862 cat >>conftest.$ac_ext <<_ACEOF 7863 /* end confdefs.h. */ 7864 7865 7866 int 7867 main () 7868 { 7869 main (); 7870 ; 7871 return 0; 7872 } 7873 _ACEOF 7874 rm -f conftest.$ac_objext conftest$ac_exeext 7875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7876 (eval $ac_link) 2>conftest.er1 7877 ac_status=$? 7878 grep -v '^ *+' conftest.er1 >conftest.err 7879 rm -f conftest.er1 7880 cat conftest.err >&5 7881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7882 (exit $ac_status); } && 7883 { ac_try='test -z "$ac_c_werror_flag" 7884 || test ! -s conftest.err' 7885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7886 (eval $ac_try) 2>&5 7887 ac_status=$? 7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7889 (exit $ac_status); }; } && 7890 { ac_try='test -s conftest$ac_exeext' 7891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7892 (eval $ac_try) 2>&5 7893 ac_status=$? 7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7895 (exit $ac_status); }; }; then 7896 ac_cv_lib_dl_main=yes 7897 else 7898 echo "$as_me: failed program was:" >&5 7899 sed 's/^/| /' conftest.$ac_ext >&5 7900 7901 ac_cv_lib_dl_main=no 7902 fi 7903 rm -f conftest.err conftest.$ac_objext \ 7904 conftest$ac_exeext conftest.$ac_ext 7310 if ac_fn_c_try_link "$LINENO"; then : 7311 ac_cv_lib_perf_perf_set_config=yes 7312 else 7313 ac_cv_lib_perf_perf_set_config=no 7314 fi 7315 rm -f core conftest.err conftest.$ac_objext \ 7316 conftest$ac_exeext conftest.$ac_ext 7905 7317 LIBS=$ac_check_lib_save_LIBS 7906 7318 fi 7907 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5 7908 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6 7909 if test $ac_cv_lib_dl_main = yes; then 7910 cat >>confdefs.h <<_ACEOF 7911 #define HAVE_LIBDL 1 7912 _ACEOF 7913 7914 LIBS="-ldl $LIBS" 7915 7916 fi 7917 7918 7919 echo "$as_me:$LINENO: checking for main in -lm" >&5 7920 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 7921 if test "${ac_cv_lib_m_main+set}" = set; then 7922 echo $ECHO_N "(cached) $ECHO_C" >&6 7923 else 7924 ac_check_lib_save_LIBS=$LIBS 7925 LIBS="-lm $LIBS" 7926 cat >conftest.$ac_ext <<_ACEOF 7927 /* confdefs.h. */ 7928 _ACEOF 7929 cat confdefs.h >>conftest.$ac_ext 7930 cat >>conftest.$ac_ext <<_ACEOF 7931 /* end confdefs.h. */ 7932 7933 7934 int 7935 main () 7936 { 7937 main (); 7938 ; 7939 return 0; 7940 } 7941 _ACEOF 7942 rm -f conftest.$ac_objext conftest$ac_exeext 7943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7944 (eval $ac_link) 2>conftest.er1 7945 ac_status=$? 7946 grep -v '^ *+' conftest.er1 >conftest.err 7947 rm -f conftest.er1 7948 cat conftest.err >&5 7949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7950 (exit $ac_status); } && 7951 { ac_try='test -z "$ac_c_werror_flag" 7952 || test ! -s conftest.err' 7953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7954 (eval $ac_try) 2>&5 7955 ac_status=$? 7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7957 (exit $ac_status); }; } && 7958 { ac_try='test -s conftest$ac_exeext' 7959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7960 (eval $ac_try) 2>&5 7961 ac_status=$? 7962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7963 (exit $ac_status); }; }; then 7964 ac_cv_lib_m_main=yes 7965 else 7966 echo "$as_me: failed program was:" >&5 7967 sed 's/^/| /' conftest.$ac_ext >&5 7968 7969 ac_cv_lib_m_main=no 7970 fi 7971 rm -f conftest.err conftest.$ac_objext \ 7972 conftest$ac_exeext conftest.$ac_ext 7973 LIBS=$ac_check_lib_save_LIBS 7974 fi 7975 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 7976 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 7977 if test $ac_cv_lib_m_main = yes; then 7978 cat >>confdefs.h <<_ACEOF 7979 #define HAVE_LIBM 1 7980 _ACEOF 7981 7982 LIBS="-lm $LIBS" 7983 7984 fi 7985 7986 7987 echo "$as_me:$LINENO: checking for main in -lfl" >&5 7988 echo $ECHO_N "checking for main in -lfl... $ECHO_C" >&6 7989 if test "${ac_cv_lib_fl_main+set}" = set; then 7990 echo $ECHO_N "(cached) $ECHO_C" >&6 7991 else 7992 ac_check_lib_save_LIBS=$LIBS 7993 LIBS="-lfl $LIBS" 7994 cat >conftest.$ac_ext <<_ACEOF 7995 /* confdefs.h. */ 7996 _ACEOF 7997 cat confdefs.h >>conftest.$ac_ext 7998 cat >>conftest.$ac_ext <<_ACEOF 7999 /* end confdefs.h. */ 8000 8001 8002 int 8003 main () 8004 { 8005 main (); 8006 ; 8007 return 0; 8008 } 8009 _ACEOF 8010 rm -f conftest.$ac_objext conftest$ac_exeext 8011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8012 (eval $ac_link) 2>conftest.er1 8013 ac_status=$? 8014 grep -v '^ *+' conftest.er1 >conftest.err 8015 rm -f conftest.er1 8016 cat conftest.err >&5 8017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8018 (exit $ac_status); } && 8019 { ac_try='test -z "$ac_c_werror_flag" 8020 || test ! -s conftest.err' 8021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8022 (eval $ac_try) 2>&5 8023 ac_status=$? 8024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8025 (exit $ac_status); }; } && 8026 { ac_try='test -s conftest$ac_exeext' 8027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8028 (eval $ac_try) 2>&5 8029 ac_status=$? 8030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8031 (exit $ac_status); }; }; then 8032 ac_cv_lib_fl_main=yes 8033 else 8034 echo "$as_me: failed program was:" >&5 8035 sed 's/^/| /' conftest.$ac_ext >&5 8036 8037 ac_cv_lib_fl_main=no 8038 fi 8039 rm -f conftest.err conftest.$ac_objext \ 8040 conftest$ac_exeext conftest.$ac_ext 8041 LIBS=$ac_check_lib_save_LIBS 8042 fi 8043 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_main" >&5 8044 echo "${ECHO_T}$ac_cv_lib_fl_main" >&6 8045 if test $ac_cv_lib_fl_main = yes; then 8046 cat >>confdefs.h <<_ACEOF 8047 #define HAVE_LIBFL 1 8048 _ACEOF 8049 8050 LIBS="-lfl $LIBS" 8051 8052 fi 8053 8054 if test "${ac_cv_header_perf_h+set}" = set; then 8055 echo "$as_me:$LINENO: checking for perf.h" >&5 8056 echo $ECHO_N "checking for perf.h... $ECHO_C" >&6 8057 if test "${ac_cv_header_perf_h+set}" = set; then 8058 echo $ECHO_N "(cached) $ECHO_C" >&6 8059 fi 8060 echo "$as_me:$LINENO: result: $ac_cv_header_perf_h" >&5 8061 echo "${ECHO_T}$ac_cv_header_perf_h" >&6 8062 else 8063 # Is the header compilable? 8064 echo "$as_me:$LINENO: checking perf.h usability" >&5 8065 echo $ECHO_N "checking perf.h usability... $ECHO_C" >&6 8066 cat >conftest.$ac_ext <<_ACEOF 8067 /* confdefs.h. */ 8068 _ACEOF 8069 cat confdefs.h >>conftest.$ac_ext 8070 cat >>conftest.$ac_ext <<_ACEOF 8071 /* end confdefs.h. */ 8072 $ac_includes_default 8073 #include <perf.h> 8074 _ACEOF 8075 rm -f conftest.$ac_objext 8076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8077 (eval $ac_compile) 2>conftest.er1 8078 ac_status=$? 8079 grep -v '^ *+' conftest.er1 >conftest.err 8080 rm -f conftest.er1 8081 cat conftest.err >&5 8082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8083 (exit $ac_status); } && 8084 { ac_try='test -z "$ac_c_werror_flag" 8085 || test ! -s conftest.err' 8086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8087 (eval $ac_try) 2>&5 8088 ac_status=$? 8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8090 (exit $ac_status); }; } && 8091 { ac_try='test -s conftest.$ac_objext' 8092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8093 (eval $ac_try) 2>&5 8094 ac_status=$? 8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8096 (exit $ac_status); }; }; then 8097 ac_header_compiler=yes 8098 else 8099 echo "$as_me: failed program was:" >&5 8100 sed 's/^/| /' conftest.$ac_ext >&5 8101 8102 ac_header_compiler=no 8103 fi 8104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8105 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8106 echo "${ECHO_T}$ac_header_compiler" >&6 8107 8108 # Is the header present? 8109 echo "$as_me:$LINENO: checking perf.h presence" >&5 8110 echo $ECHO_N "checking perf.h presence... $ECHO_C" >&6 8111 cat >conftest.$ac_ext <<_ACEOF 8112 /* confdefs.h. */ 8113 _ACEOF 8114 cat confdefs.h >>conftest.$ac_ext 8115 cat >>conftest.$ac_ext <<_ACEOF 8116 /* end confdefs.h. */ 8117 #include <perf.h> 8118 _ACEOF 8119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8120 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8121 ac_status=$? 8122 grep -v '^ *+' conftest.er1 >conftest.err 8123 rm -f conftest.er1 8124 cat conftest.err >&5 8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8126 (exit $ac_status); } >/dev/null; then 8127 if test -s conftest.err; then 8128 ac_cpp_err=$ac_c_preproc_warn_flag 8129 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 8130 else 8131 ac_cpp_err= 8132 fi 8133 else 8134 ac_cpp_err=yes 8135 fi 8136 if test -z "$ac_cpp_err"; then 8137 ac_header_preproc=yes 8138 else 8139 echo "$as_me: failed program was:" >&5 8140 sed 's/^/| /' conftest.$ac_ext >&5 8141 8142 ac_header_preproc=no 8143 fi 8144 rm -f conftest.err conftest.$ac_ext 8145 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8146 echo "${ECHO_T}$ac_header_preproc" >&6 8147 8148 # So? What about this header? 8149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8150 yes:no: ) 8151 { echo "$as_me:$LINENO: WARNING: perf.h: accepted by the compiler, rejected by the preprocessor!" >&5 8152 echo "$as_me: WARNING: perf.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8153 { echo "$as_me:$LINENO: WARNING: perf.h: proceeding with the compiler's result" >&5 8154 echo "$as_me: WARNING: perf.h: proceeding with the compiler's result" >&2;} 8155 ac_header_preproc=yes 8156 ;; 8157 no:yes:* ) 8158 { echo "$as_me:$LINENO: WARNING: perf.h: present but cannot be compiled" >&5 8159 echo "$as_me: WARNING: perf.h: present but cannot be compiled" >&2;} 8160 { echo "$as_me:$LINENO: WARNING: perf.h: check for missing prerequisite headers?" >&5 8161 echo "$as_me: WARNING: perf.h: check for missing prerequisite headers?" >&2;} 8162 { echo "$as_me:$LINENO: WARNING: perf.h: see the Autoconf documentation" >&5 8163 echo "$as_me: WARNING: perf.h: see the Autoconf documentation" >&2;} 8164 { echo "$as_me:$LINENO: WARNING: perf.h: section \"Present But Cannot Be Compiled\"" >&5 8165 echo "$as_me: WARNING: perf.h: section \"Present But Cannot Be Compiled\"" >&2;} 8166 { echo "$as_me:$LINENO: WARNING: perf.h: proceeding with the preprocessor's result" >&5 8167 echo "$as_me: WARNING: perf.h: proceeding with the preprocessor's result" >&2;} 8168 { echo "$as_me:$LINENO: WARNING: perf.h: in the future, the compiler will take precedence" >&5 8169 echo "$as_me: WARNING: perf.h: in the future, the compiler will take precedence" >&2;} 8170 ( 8171 cat <<\_ASBOX 8172 ## ------------------------------------------ ## 8173 ## Report this to the AC_PACKAGE_NAME lists. ## 8174 ## ------------------------------------------ ## 8175 _ASBOX 8176 ) | 8177 sed "s/^/$as_me: WARNING: /" >&2 8178 ;; 8179 esac 8180 echo "$as_me:$LINENO: checking for perf.h" >&5 8181 echo $ECHO_N "checking for perf.h... $ECHO_C" >&6 8182 if test "${ac_cv_header_perf_h+set}" = set; then 8183 echo $ECHO_N "(cached) $ECHO_C" >&6 8184 else 8185 ac_cv_header_perf_h=$ac_header_preproc 8186 fi 8187 echo "$as_me:$LINENO: result: $ac_cv_header_perf_h" >&5 8188 echo "${ECHO_T}$ac_cv_header_perf_h" >&6 8189 8190 fi 8191 if test $ac_cv_header_perf_h = yes; then 8192 8193 echo "$as_me:$LINENO: checking for perf_set_config in -lperf" >&5 8194 echo $ECHO_N "checking for perf_set_config in -lperf... $ECHO_C" >&6 8195 if test "${ac_cv_lib_perf_perf_set_config+set}" = set; then 8196 echo $ECHO_N "(cached) $ECHO_C" >&6 8197 else 8198 ac_check_lib_save_LIBS=$LIBS 8199 LIBS="-lperf $LIBS" 8200 cat >conftest.$ac_ext <<_ACEOF 8201 /* confdefs.h. */ 8202 _ACEOF 8203 cat confdefs.h >>conftest.$ac_ext 8204 cat >>conftest.$ac_ext <<_ACEOF 8205 /* end confdefs.h. */ 8206 8207 /* Override any gcc2 internal prototype to avoid an error. */ 8208 #ifdef __cplusplus 8209 extern "C" 8210 #endif 8211 /* We use char because int might match the return type of a gcc2 8212 builtin and then its argument prototype would still apply. */ 8213 char perf_set_config (); 8214 int 8215 main () 8216 { 8217 perf_set_config (); 8218 ; 8219 return 0; 8220 } 8221 _ACEOF 8222 rm -f conftest.$ac_objext conftest$ac_exeext 8223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8224 (eval $ac_link) 2>conftest.er1 8225 ac_status=$? 8226 grep -v '^ *+' conftest.er1 >conftest.err 8227 rm -f conftest.er1 8228 cat conftest.err >&5 8229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8230 (exit $ac_status); } && 8231 { ac_try='test -z "$ac_c_werror_flag" 8232 || test ! -s conftest.err' 8233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8234 (eval $ac_try) 2>&5 8235 ac_status=$? 8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8237 (exit $ac_status); }; } && 8238 { ac_try='test -s conftest$ac_exeext' 8239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8240 (eval $ac_try) 2>&5 8241 ac_status=$? 8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8243 (exit $ac_status); }; }; then 8244 ac_cv_lib_perf_perf_set_config=yes 8245 else 8246 echo "$as_me: failed program was:" >&5 8247 sed 's/^/| /' conftest.$ac_ext >&5 8248 8249 ac_cv_lib_perf_perf_set_config=no 8250 fi 8251 rm -f conftest.err conftest.$ac_objext \ 8252 conftest$ac_exeext conftest.$ac_ext 8253 LIBS=$ac_check_lib_save_LIBS 8254 fi 8255 echo "$as_me:$LINENO: result: $ac_cv_lib_perf_perf_set_config" >&5 8256 echo "${ECHO_T}$ac_cv_lib_perf_perf_set_config" >&6 8257 if test $ac_cv_lib_perf_perf_set_config = yes; then 7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_perf_perf_set_config" >&5 7320 $as_echo "$ac_cv_lib_perf_perf_set_config" >&6; } 7321 if test "x$ac_cv_lib_perf_perf_set_config" = xyes; then : 8258 7322 8259 7323 HAVE_PERF=yes 8260 7324 LIBS="-lperf $LIBS" 8261 cat >>confdefs.h <<\_ACEOF 8262 #define HAVE_PERF 1 8263 _ACEOF 8264 8265 8266 fi 8267 8268 8269 8270 fi 8271 8272 8273 8274 if test "${ac_cv_header_execinfo_h+set}" = set; then 8275 echo "$as_me:$LINENO: checking for execinfo.h" >&5 8276 echo $ECHO_N "checking for execinfo.h... $ECHO_C" >&6 8277 if test "${ac_cv_header_execinfo_h+set}" = set; then 8278 echo $ECHO_N "(cached) $ECHO_C" >&6 8279 fi 8280 echo "$as_me:$LINENO: result: $ac_cv_header_execinfo_h" >&5 8281 echo "${ECHO_T}$ac_cv_header_execinfo_h" >&6 8282 else 8283 # Is the header compilable? 8284 echo "$as_me:$LINENO: checking execinfo.h usability" >&5 8285 echo $ECHO_N "checking execinfo.h usability... $ECHO_C" >&6 8286 cat >conftest.$ac_ext <<_ACEOF 8287 /* confdefs.h. */ 8288 _ACEOF 8289 cat confdefs.h >>conftest.$ac_ext 8290 cat >>conftest.$ac_ext <<_ACEOF 8291 /* end confdefs.h. */ 8292 $ac_includes_default 8293 #include <execinfo.h> 8294 _ACEOF 8295 rm -f conftest.$ac_objext 8296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8297 (eval $ac_compile) 2>conftest.er1 8298 ac_status=$? 8299 grep -v '^ *+' conftest.er1 >conftest.err 8300 rm -f conftest.er1 8301 cat conftest.err >&5 8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8303 (exit $ac_status); } && 8304 { ac_try='test -z "$ac_c_werror_flag" 8305 || test ! -s conftest.err' 8306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8307 (eval $ac_try) 2>&5 8308 ac_status=$? 8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8310 (exit $ac_status); }; } && 8311 { ac_try='test -s conftest.$ac_objext' 8312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8313 (eval $ac_try) 2>&5 8314 ac_status=$? 8315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8316 (exit $ac_status); }; }; then 8317 ac_header_compiler=yes 8318 else 8319 echo "$as_me: failed program was:" >&5 8320 sed 's/^/| /' conftest.$ac_ext >&5 8321 8322 ac_header_compiler=no 8323 fi 8324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8325 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8326 echo "${ECHO_T}$ac_header_compiler" >&6 8327 8328 # Is the header present? 8329 echo "$as_me:$LINENO: checking execinfo.h presence" >&5 8330 echo $ECHO_N "checking execinfo.h presence... $ECHO_C" >&6 8331 cat >conftest.$ac_ext <<_ACEOF 8332 /* confdefs.h. */ 8333 _ACEOF 8334 cat confdefs.h >>conftest.$ac_ext 8335 cat >>conftest.$ac_ext <<_ACEOF 8336 /* end confdefs.h. */ 8337 #include <execinfo.h> 8338 _ACEOF 8339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8340 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8341 ac_status=$? 8342 grep -v '^ *+' conftest.er1 >conftest.err 8343 rm -f conftest.er1 8344 cat conftest.err >&5 8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8346 (exit $ac_status); } >/dev/null; then 8347 if test -s conftest.err; then 8348 ac_cpp_err=$ac_c_preproc_warn_flag 8349 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 8350 else 8351 ac_cpp_err= 8352 fi 8353 else 8354 ac_cpp_err=yes 8355 fi 8356 if test -z "$ac_cpp_err"; then 8357 ac_header_preproc=yes 8358 else 8359 echo "$as_me: failed program was:" >&5 8360 sed 's/^/| /' conftest.$ac_ext >&5 8361 8362 ac_header_preproc=no 8363 fi 8364 rm -f conftest.err conftest.$ac_ext 8365 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8366 echo "${ECHO_T}$ac_header_preproc" >&6 8367 8368 # So? What about this header? 8369 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8370 yes:no: ) 8371 { echo "$as_me:$LINENO: WARNING: execinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5 8372 echo "$as_me: WARNING: execinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8373 { echo "$as_me:$LINENO: WARNING: execinfo.h: proceeding with the compiler's result" >&5 8374 echo "$as_me: WARNING: execinfo.h: proceeding with the compiler's result" >&2;} 8375 ac_header_preproc=yes 8376 ;; 8377 no:yes:* ) 8378 { echo "$as_me:$LINENO: WARNING: execinfo.h: present but cannot be compiled" >&5 8379 echo "$as_me: WARNING: execinfo.h: present but cannot be compiled" >&2;} 8380 { echo "$as_me:$LINENO: WARNING: execinfo.h: check for missing prerequisite headers?" >&5 8381 echo "$as_me: WARNING: execinfo.h: check for missing prerequisite headers?" >&2;} 8382 { echo "$as_me:$LINENO: WARNING: execinfo.h: see the Autoconf documentation" >&5 8383 echo "$as_me: WARNING: execinfo.h: see the Autoconf documentation" >&2;} 8384 { echo "$as_me:$LINENO: WARNING: execinfo.h: section \"Present But Cannot Be Compiled\"" >&5 8385 echo "$as_me: WARNING: execinfo.h: section \"Present But Cannot Be Compiled\"" >&2;} 8386 { echo "$as_me:$LINENO: WARNING: execinfo.h: proceeding with the preprocessor's result" >&5 8387 echo "$as_me: WARNING: execinfo.h: proceeding with the preprocessor's result" >&2;} 8388 { echo "$as_me:$LINENO: WARNING: execinfo.h: in the future, the compiler will take precedence" >&5 8389 echo "$as_me: WARNING: execinfo.h: in the future, the compiler will take precedence" >&2;} 8390 ( 8391 cat <<\_ASBOX 8392 ## ------------------------------------------ ## 8393 ## Report this to the AC_PACKAGE_NAME lists. ## 8394 ## ------------------------------------------ ## 8395 _ASBOX 8396 ) | 8397 sed "s/^/$as_me: WARNING: /" >&2 8398 ;; 8399 esac 8400 echo "$as_me:$LINENO: checking for execinfo.h" >&5 8401 echo $ECHO_N "checking for execinfo.h... $ECHO_C" >&6 8402 if test "${ac_cv_header_execinfo_h+set}" = set; then 8403 echo $ECHO_N "(cached) $ECHO_C" >&6 8404 else 8405 ac_cv_header_execinfo_h=$ac_header_preproc 8406 fi 8407 echo "$as_me:$LINENO: result: $ac_cv_header_execinfo_h" >&5 8408 echo "${ECHO_T}$ac_cv_header_execinfo_h" >&6 8409 8410 fi 8411 if test $ac_cv_header_execinfo_h = yes; then 7325 7326 $as_echo "#define HAVE_PERF 1" >>confdefs.h 7327 7328 7329 fi 7330 7331 7332 7333 fi 7334 7335 7336 7337 ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" 7338 if test "x$ac_cv_header_execinfo_h" = xyes; then : 8412 7339 HAVE_EXECINFO_H_INC=1 8413 7340 fi 8414 7341 8415 7342 8416 echo "$as_me:$LINENO: checking for backtrace" >&5 8417 echo $ECHO_N "checking for backtrace... $ECHO_C" >&6 8418 if test "${ac_cv_func_backtrace+set}" = set; then 8419 echo $ECHO_N "(cached) $ECHO_C" >&6 8420 else 8421 cat >conftest.$ac_ext <<_ACEOF 8422 /* confdefs.h. */ 8423 _ACEOF 8424 cat confdefs.h >>conftest.$ac_ext 8425 cat >>conftest.$ac_ext <<_ACEOF 8426 /* end confdefs.h. */ 8427 /* Define backtrace to an innocuous variant, in case <limits.h> declares backtrace. 8428 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8429 #define backtrace innocuous_backtrace 8430 8431 /* System header to define __stub macros and hopefully few prototypes, 8432 which can conflict with char backtrace (); below. 8433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8434 <limits.h> exists even on freestanding compilers. */ 8435 8436 #ifdef __STDC__ 8437 # include <limits.h> 8438 #else 8439 # include <assert.h> 8440 #endif 8441 8442 #undef backtrace 8443 8444 /* Override any gcc2 internal prototype to avoid an error. */ 8445 #ifdef __cplusplus 8446 extern "C" 8447 { 8448 #endif 8449 /* We use char because int might match the return type of a gcc2 8450 builtin and then its argument prototype would still apply. */ 8451 char backtrace (); 8452 /* The GNU C library defines this for functions which it implements 8453 to always fail with ENOSYS. Some functions are actually named 8454 something starting with __ and the normal name is an alias. */ 8455 #if defined (__stub_backtrace) || defined (__stub___backtrace) 8456 choke me 8457 #else 8458 char (*f) () = backtrace; 8459 #endif 8460 #ifdef __cplusplus 8461 } 8462 #endif 8463 8464 int 8465 main () 8466 { 8467 return f != backtrace; 8468 ; 8469 return 0; 8470 } 8471 _ACEOF 8472 rm -f conftest.$ac_objext conftest$ac_exeext 8473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8474 (eval $ac_link) 2>conftest.er1 8475 ac_status=$? 8476 grep -v '^ *+' conftest.er1 >conftest.err 8477 rm -f conftest.er1 8478 cat conftest.err >&5 8479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8480 (exit $ac_status); } && 8481 { ac_try='test -z "$ac_c_werror_flag" 8482 || test ! -s conftest.err' 8483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8484 (eval $ac_try) 2>&5 8485 ac_status=$? 8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8487 (exit $ac_status); }; } && 8488 { ac_try='test -s conftest$ac_exeext' 8489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8490 (eval $ac_try) 2>&5 8491 ac_status=$? 8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8493 (exit $ac_status); }; }; then 8494 ac_cv_func_backtrace=yes 8495 else 8496 echo "$as_me: failed program was:" >&5 8497 sed 's/^/| /' conftest.$ac_ext >&5 8498 8499 ac_cv_func_backtrace=no 8500 fi 8501 rm -f conftest.err conftest.$ac_objext \ 8502 conftest$ac_exeext conftest.$ac_ext 8503 fi 8504 echo "$as_me:$LINENO: result: $ac_cv_func_backtrace" >&5 8505 echo "${ECHO_T}$ac_cv_func_backtrace" >&6 8506 if test $ac_cv_func_backtrace = yes; then 7343 ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace" 7344 if test "x$ac_cv_func_backtrace" = xyes; then : 8507 7345 HAVE_BACKTRACE_FUNC=1 8508 7346 fi 8509 7347 8510 echo "$as_me:$LINENO: checking for backtrace_symbols_fd" >&5 8511 echo $ECHO_N "checking for backtrace_symbols_fd... $ECHO_C" >&6 8512 if test "${ac_cv_func_backtrace_symbols_fd+set}" = set; then 8513 echo $ECHO_N "(cached) $ECHO_C" >&6 8514 else 8515 cat >conftest.$ac_ext <<_ACEOF 8516 /* confdefs.h. */ 8517 _ACEOF 8518 cat confdefs.h >>conftest.$ac_ext 8519 cat >>conftest.$ac_ext <<_ACEOF 8520 /* end confdefs.h. */ 8521 /* Define backtrace_symbols_fd to an innocuous variant, in case <limits.h> declares backtrace_symbols_fd. 8522 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8523 #define backtrace_symbols_fd innocuous_backtrace_symbols_fd 8524 8525 /* System header to define __stub macros and hopefully few prototypes, 8526 which can conflict with char backtrace_symbols_fd (); below. 8527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8528 <limits.h> exists even on freestanding compilers. */ 8529 8530 #ifdef __STDC__ 8531 # include <limits.h> 8532 #else 8533 # include <assert.h> 8534 #endif 8535 8536 #undef backtrace_symbols_fd 8537 8538 /* Override any gcc2 internal prototype to avoid an error. */ 8539 #ifdef __cplusplus 8540 extern "C" 8541 { 8542 #endif 8543 /* We use char because int might match the return type of a gcc2 8544 builtin and then its argument prototype would still apply. */ 8545 char backtrace_symbols_fd (); 8546 /* The GNU C library defines this for functions which it implements 8547 to always fail with ENOSYS. Some functions are actually named 8548 something starting with __ and the normal name is an alias. */ 8549 #if defined (__stub_backtrace_symbols_fd) || defined (__stub___backtrace_symbols_fd) 8550 choke me 8551 #else 8552 char (*f) () = backtrace_symbols_fd; 8553 #endif 8554 #ifdef __cplusplus 8555 } 8556 #endif 8557 8558 int 8559 main () 8560 { 8561 return f != backtrace_symbols_fd; 8562 ; 8563 return 0; 8564 } 8565 _ACEOF 8566 rm -f conftest.$ac_objext conftest$ac_exeext 8567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8568 (eval $ac_link) 2>conftest.er1 8569 ac_status=$? 8570 grep -v '^ *+' conftest.er1 >conftest.err 8571 rm -f conftest.er1 8572 cat conftest.err >&5 8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8574 (exit $ac_status); } && 8575 { ac_try='test -z "$ac_c_werror_flag" 8576 || test ! -s conftest.err' 8577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8578 (eval $ac_try) 2>&5 8579 ac_status=$? 8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8581 (exit $ac_status); }; } && 8582 { ac_try='test -s conftest$ac_exeext' 8583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8584 (eval $ac_try) 2>&5 8585 ac_status=$? 8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8587 (exit $ac_status); }; }; then 8588 ac_cv_func_backtrace_symbols_fd=yes 8589 else 8590 echo "$as_me: failed program was:" >&5 8591 sed 's/^/| /' conftest.$ac_ext >&5 8592 8593 ac_cv_func_backtrace_symbols_fd=no 8594 fi 8595 rm -f conftest.err conftest.$ac_objext \ 8596 conftest$ac_exeext conftest.$ac_ext 8597 fi 8598 echo "$as_me:$LINENO: result: $ac_cv_func_backtrace_symbols_fd" >&5 8599 echo "${ECHO_T}$ac_cv_func_backtrace_symbols_fd" >&6 8600 if test $ac_cv_func_backtrace_symbols_fd = yes; then 7348 ac_fn_c_check_func "$LINENO" "backtrace_symbols_fd" "ac_cv_func_backtrace_symbols_fd" 7349 if test "x$ac_cv_func_backtrace_symbols_fd" = xyes; then : 8601 7350 HAVE_BACKTRACE_SYMBOLS_FD_FUNC=1 8602 7351 fi 8603 7352 8604 7353 if test -n "$HAVE_EXECINFO_H_INC" -a -n "$HAVE_BACKTRACE_FUNC" -a -n "$HAVE_BACKTRACE_SYMBOLS_FD_FUNC"; then 8605 cat >>confdefs.h <<\_ACEOF 8606 #define HAVE_BACKTRACE 1 8607 _ACEOF 7354 7355 $as_echo "#define HAVE_BACKTRACE 1" >>confdefs.h 8608 7356 8609 7357 fi … … 8612 7360 8613 7361 8614 8615 ac_ext=cc 7362 ac_ext=cpp 8616 7363 ac_cpp='$CXXCPP $CPPFLAGS' 8617 7364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 8619 7366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8620 7367 8621 echo "$as_me:$LINENO: checking for mpi.h" >&5 8622 echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6 8623 cat >conftest.$ac_ext <<_ACEOF 8624 /* confdefs.h. */ 8625 _ACEOF 8626 cat confdefs.h >>conftest.$ac_ext 8627 cat >>conftest.$ac_ext <<_ACEOF 7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpi.h" >&5 7369 $as_echo_n "checking for mpi.h... " >&6; } 7370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8628 7371 /* end confdefs.h. */ 8629 7372 #include <mpi.h> … … 8636 7379 } 8637 7380 _ACEOF 8638 rm -f conftest.$ac_objext conftest$ac_exeext 8639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8640 (eval $ac_link) 2>conftest.er1 8641 ac_status=$? 8642 grep -v '^ *+' conftest.er1 >conftest.err 8643 rm -f conftest.er1 8644 cat conftest.err >&5 8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8646 (exit $ac_status); } && 8647 { ac_try='test -z "$ac_cxx_werror_flag" 8648 || test ! -s conftest.err' 8649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8650 (eval $ac_try) 2>&5 8651 ac_status=$? 8652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8653 (exit $ac_status); }; } && 8654 { ac_try='test -s conftest$ac_exeext' 8655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8656 (eval $ac_try) 2>&5 8657 ac_status=$? 8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8659 (exit $ac_status); }; }; then 7381 if ac_fn_cxx_try_link "$LINENO"; then : 8660 7382 have_mpi_h=yes 8661 7383 else 8662 echo "$as_me: failed program was:" >&5 8663 sed 's/^/| /' conftest.$ac_ext >&5 8664 8665 have_mpi_h=no 8666 fi 8667 rm -f conftest.err conftest.$ac_objext \ 8668 conftest$ac_exeext conftest.$ac_ext 8669 echo "$as_me:$LINENO: result: $have_mpi_h" >&5 8670 echo "${ECHO_T}$have_mpi_h" >&6 7384 have_mpi_h=no 7385 fi 7386 rm -f core conftest.err conftest.$ac_objext \ 7387 conftest$ac_exeext conftest.$ac_ext 7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mpi_h" >&5 7389 $as_echo "$have_mpi_h" >&6; } 8671 7390 if test "$have_mpi_h" = yes; then 8672 echo "$as_me:$LINENO: checking for MPI_Init" >&5 8673 echo $ECHO_N "checking for MPI_Init... $ECHO_C" >&6 8674 if test "${ac_cv_func_MPI_Init+set}" = set; then 8675 echo $ECHO_N "(cached) $ECHO_C" >&6 8676 else 8677 cat >conftest.$ac_ext <<_ACEOF 8678 /* confdefs.h. */ 8679 _ACEOF 8680 cat confdefs.h >>conftest.$ac_ext 8681 cat >>conftest.$ac_ext <<_ACEOF 7391 ac_fn_cxx_check_func "$LINENO" "MPI_Init" "ac_cv_func_MPI_Init" 7392 if test "x$ac_cv_func_MPI_Init" = xyes; then : 7393 HAVE_MPI=yes 7394 else 7395 HAVE_MPI=no 7396 fi 7397 7398 if test "$HAVE_MPI" = no; then 7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpi" >&5 7400 $as_echo_n "checking for MPI_Init in -lmpi... " >&6; } 7401 if ${ac_cv_lib_mpi_MPI_Init+:} false; then : 7402 $as_echo_n "(cached) " >&6 7403 else 7404 ac_check_lib_save_LIBS=$LIBS 7405 LIBS="-lmpi $LIBS" 7406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8682 7407 /* end confdefs.h. */ 8683 /* Define MPI_Init to an innocuous variant, in case <limits.h> declares MPI_Init. 8684 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8685 #define MPI_Init innocuous_MPI_Init 8686 8687 /* System header to define __stub macros and hopefully few prototypes, 8688 which can conflict with char MPI_Init (); below. 8689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8690 <limits.h> exists even on freestanding compilers. */ 8691 8692 #ifdef __STDC__ 8693 # include <limits.h> 8694 #else 8695 # include <assert.h> 8696 #endif 8697 8698 #undef MPI_Init 8699 8700 /* Override any gcc2 internal prototype to avoid an error. */ 7408 7409 /* Override any GCC internal prototype to avoid an error. 7410 Use char because int might match the return type of a GCC 7411 builtin and then its argument prototype would still apply. */ 8701 7412 #ifdef __cplusplus 8702 7413 extern "C" 8703 {8704 7414 #endif 8705 /* We use char because int might match the return type of a gcc28706 builtin and then its argument prototype would still apply. */8707 7415 char MPI_Init (); 8708 /* The GNU C library defines this for functions which it implements8709 to always fail with ENOSYS. Some functions are actually named8710 something starting with __ and the normal name is an alias. */8711 #if defined (__stub_MPI_Init) || defined (__stub___MPI_Init)8712 choke me8713 #else8714 char (*f) () = MPI_Init;8715 #endif8716 #ifdef __cplusplus8717 }8718 #endif8719 8720 7416 int 8721 7417 main () 8722 7418 { 8723 return f != MPI_Init;7419 return MPI_Init (); 8724 7420 ; 8725 7421 return 0; 8726 7422 } 8727 7423 _ACEOF 8728 rm -f conftest.$ac_objext conftest$ac_exeext 8729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8730 (eval $ac_link) 2>conftest.er1 8731 ac_status=$? 8732 grep -v '^ *+' conftest.er1 >conftest.err 8733 rm -f conftest.er1 8734 cat conftest.err >&5 8735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8736 (exit $ac_status); } && 8737 { ac_try='test -z "$ac_cxx_werror_flag" 8738 || test ! -s conftest.err' 8739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8740 (eval $ac_try) 2>&5 8741 ac_status=$? 8742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8743 (exit $ac_status); }; } && 8744 { ac_try='test -s conftest$ac_exeext' 8745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8746 (eval $ac_try) 2>&5 8747 ac_status=$? 8748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8749 (exit $ac_status); }; }; then 8750 ac_cv_func_MPI_Init=yes 8751 else 8752 echo "$as_me: failed program was:" >&5 8753 sed 's/^/| /' conftest.$ac_ext >&5 8754 8755 ac_cv_func_MPI_Init=no 8756 fi 8757 rm -f conftest.err conftest.$ac_objext \ 8758 conftest$ac_exeext conftest.$ac_ext 8759 fi 8760 echo "$as_me:$LINENO: result: $ac_cv_func_MPI_Init" >&5 8761 echo "${ECHO_T}$ac_cv_func_MPI_Init" >&6 8762 if test $ac_cv_func_MPI_Init = yes; then 8763 HAVE_MPI=yes 8764 else 8765 HAVE_MPI=no 8766 fi 8767 7424 if ac_fn_cxx_try_link "$LINENO"; then : 7425 ac_cv_lib_mpi_MPI_Init=yes 7426 else 7427 ac_cv_lib_mpi_MPI_Init=no 7428 fi 7429 rm -f core conftest.err conftest.$ac_objext \ 7430 conftest$ac_exeext conftest.$ac_ext 7431 LIBS=$ac_check_lib_save_LIBS 7432 fi 7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpi_MPI_Init" >&5 7434 $as_echo "$ac_cv_lib_mpi_MPI_Init" >&6; } 7435 if test "x$ac_cv_lib_mpi_MPI_Init" = xyes; then : 7436 HAVE_MPI=yes;LIBS="-lmpi $LIBS" 7437 fi 7438 7439 fi 8768 7440 if test "$HAVE_MPI" = no; then 8769 echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&58770 echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6 8771 if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then8772 echo $ECHO_N "(cached) $ECHO_C" >&67441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpich" >&5 7442 $as_echo_n "checking for MPI_Init in -lmpich... " >&6; } 7443 if ${ac_cv_lib_mpich_MPI_Init+:} false; then : 7444 $as_echo_n "(cached) " >&6 8773 7445 else 8774 7446 ac_check_lib_save_LIBS=$LIBS 8775 LIBS="-lmpi $LIBS" 8776 cat >conftest.$ac_ext <<_ACEOF 8777 /* confdefs.h. */ 8778 _ACEOF 8779 cat confdefs.h >>conftest.$ac_ext 8780 cat >>conftest.$ac_ext <<_ACEOF 7447 LIBS="-lmpich $LIBS" 7448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8781 7449 /* end confdefs.h. */ 8782 7450 8783 /* Override any gcc2 internal prototype to avoid an error. */ 7451 /* Override any GCC internal prototype to avoid an error. 7452 Use char because int might match the return type of a GCC 7453 builtin and then its argument prototype would still apply. */ 8784 7454 #ifdef __cplusplus 8785 7455 extern "C" 8786 7456 #endif 8787 /* We use char because int might match the return type of a gcc28788 builtin and then its argument prototype would still apply. */8789 7457 char MPI_Init (); 8790 7458 int 8791 7459 main () 8792 7460 { 8793 MPI_Init ();7461 return MPI_Init (); 8794 7462 ; 8795 7463 return 0; 8796 7464 } 8797 7465 _ACEOF 8798 rm -f conftest.$ac_objext conftest$ac_exeext 8799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8800 (eval $ac_link) 2>conftest.er1 8801 ac_status=$? 8802 grep -v '^ *+' conftest.er1 >conftest.err 8803 rm -f conftest.er1 8804 cat conftest.err >&5 8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8806 (exit $ac_status); } && 8807 { ac_try='test -z "$ac_cxx_werror_flag" 8808 || test ! -s conftest.err' 8809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8810 (eval $ac_try) 2>&5 8811 ac_status=$? 8812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8813 (exit $ac_status); }; } && 8814 { ac_try='test -s conftest$ac_exeext' 8815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8816 (eval $ac_try) 2>&5 8817 ac_status=$? 8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8819 (exit $ac_status); }; }; then 8820 ac_cv_lib_mpi_MPI_Init=yes 8821 else 8822 echo "$as_me: failed program was:" >&5 8823 sed 's/^/| /' conftest.$ac_ext >&5 8824 8825 ac_cv_lib_mpi_MPI_Init=no 8826 fi 8827 rm -f conftest.err conftest.$ac_objext \ 8828 conftest$ac_exeext conftest.$ac_ext 7466 if ac_fn_cxx_try_link "$LINENO"; then : 7467 ac_cv_lib_mpich_MPI_Init=yes 7468 else 7469 ac_cv_lib_mpich_MPI_Init=no 7470 fi 7471 rm -f core conftest.err conftest.$ac_objext \ 7472 conftest$ac_exeext conftest.$ac_ext 8829 7473 LIBS=$ac_check_lib_save_LIBS 8830 7474 fi 8831 echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&58832 echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6 8833 if test $ac_cv_lib_mpi_MPI_Init = yes; then8834 HAVE_MPI=yes;LIBS="-lmpi $LIBS"7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpich_MPI_Init" >&5 7476 $as_echo "$ac_cv_lib_mpich_MPI_Init" >&6; } 7477 if test "x$ac_cv_lib_mpich_MPI_Init" = xyes; then : 7478 HAVE_MPI=yes;LIBS="-lmpich $LIBS" 8835 7479 fi 8836 7480 8837 7481 fi 8838 if test "$HAVE_MPI" = no; then 8839 echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5 8840 echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6 8841 if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then 8842 echo $ECHO_N "(cached) $ECHO_C" >&6 7482 fi 7483 if test X$HAVE_MPI = Xyes; then 7484 7485 $as_echo "#define HAVE_MPI 1" >>confdefs.h 7486 7487 ac_fn_cxx_check_func "$LINENO" "MPI_File_open" "ac_cv_func_MPI_File_open" 7488 if test "x$ac_cv_func_MPI_File_open" = xyes; then : 7489 HAVE_MPIIO=yes; 7490 $as_echo "#define HAVE_MPIIO 1" >>confdefs.h 7491 7492 fi 7493 7494 ac_fn_cxx_check_func "$LINENO" "MPI_Init_thread" "ac_cv_func_MPI_Init_thread" 7495 if test "x$ac_cv_func_MPI_Init_thread" = xyes; then : 7496 7497 $as_echo "#define HAVE_MPI_INIT_THREAD 1" >>confdefs.h 7498 7499 fi 7500 7501 HAVE_MPIPP=no; 7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Abort in -lmpi++" >&5 7503 $as_echo_n "checking for MPI_Abort in -lmpi++... " >&6; } 7504 if ${ac_cv_lib_mpipp_MPI_Abort+:} false; then : 7505 $as_echo_n "(cached) " >&6 8843 7506 else 8844 7507 ac_check_lib_save_LIBS=$LIBS 8845 LIBS="-lmpich $LIBS" 8846 cat >conftest.$ac_ext <<_ACEOF 8847 /* confdefs.h. */ 8848 _ACEOF 8849 cat confdefs.h >>conftest.$ac_ext 8850 cat >>conftest.$ac_ext <<_ACEOF 7508 LIBS="-lmpi++ $LIBS" 7509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8851 7510 /* end confdefs.h. */ 8852 7511 8853 /* Override any gcc2 internal prototype to avoid an error. */ 7512 /* Override any GCC internal prototype to avoid an error. 7513 Use char because int might match the return type of a GCC 7514 builtin and then its argument prototype would still apply. */ 8854 7515 #ifdef __cplusplus 8855 7516 extern "C" 8856 7517 #endif 8857 /* We use char because int might match the return type of a gcc2 8858 builtin and then its argument prototype would still apply. */ 8859 char MPI_Init (); 7518 char MPI_Abort (); 8860 7519 int 8861 7520 main () 8862 7521 { 8863 MPI_Init ();7522 return MPI_Abort (); 8864 7523 ; 8865 7524 return 0; 8866 7525 } 8867 7526 _ACEOF 8868 rm -f conftest.$ac_objext conftest$ac_exeext 8869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8870 (eval $ac_link) 2>conftest.er1 8871 ac_status=$? 8872 grep -v '^ *+' conftest.er1 >conftest.err 8873 rm -f conftest.er1 8874 cat conftest.err >&5 8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8876 (exit $ac_status); } && 8877 { ac_try='test -z "$ac_cxx_werror_flag" 8878 || test ! -s conftest.err' 8879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8880 (eval $ac_try) 2>&5 8881 ac_status=$? 8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8883 (exit $ac_status); }; } && 8884 { ac_try='test -s conftest$ac_exeext' 8885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8886 (eval $ac_try) 2>&5 8887 ac_status=$? 8888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8889 (exit $ac_status); }; }; then 8890 ac_cv_lib_mpich_MPI_Init=yes 8891 else 8892 echo "$as_me: failed program was:" >&5 8893 sed 's/^/| /' conftest.$ac_ext >&5 8894 8895 ac_cv_lib_mpich_MPI_Init=no 8896 fi 8897 rm -f conftest.err conftest.$ac_objext \ 8898 conftest$ac_exeext conftest.$ac_ext 7527 if ac_fn_cxx_try_link "$LINENO"; then : 7528 ac_cv_lib_mpipp_MPI_Abort=yes 7529 else 7530 ac_cv_lib_mpipp_MPI_Abort=no 7531 fi 7532 rm -f core conftest.err conftest.$ac_objext \ 7533 conftest$ac_exeext conftest.$ac_ext 8899 7534 LIBS=$ac_check_lib_save_LIBS 8900 7535 fi 8901 echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 8902 echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6 8903 if test $ac_cv_lib_mpich_MPI_Init = yes; then 8904 HAVE_MPI=yes;LIBS="-lmpich $LIBS" 8905 fi 8906 8907 fi 8908 fi 8909 if test X$HAVE_MPI = Xyes; then 8910 cat >>confdefs.h <<\_ACEOF 8911 #define HAVE_MPI 1 8912 _ACEOF 8913 8914 echo "$as_me:$LINENO: checking for MPI_File_open" >&5 8915 echo $ECHO_N "checking for MPI_File_open... $ECHO_C" >&6 8916 if test "${ac_cv_func_MPI_File_open+set}" = set; then 8917 echo $ECHO_N "(cached) $ECHO_C" >&6 8918 else 8919 cat >conftest.$ac_ext <<_ACEOF 8920 /* confdefs.h. */ 8921 _ACEOF 8922 cat confdefs.h >>conftest.$ac_ext 8923 cat >>conftest.$ac_ext <<_ACEOF 7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpipp_MPI_Abort" >&5 7537 $as_echo "$ac_cv_lib_mpipp_MPI_Abort" >&6; } 7538 if test "x$ac_cv_lib_mpipp_MPI_Abort" = xyes; then : 7539 HAVE_MPIPP=yes;LIBS="-lmpi++ $LIBS" 7540 fi 7541 7542 if test X$HAVE_MPIPP = Xno; then 7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Abort in -lpmpich++" >&5 7544 $as_echo_n "checking for MPI_Abort in -lpmpich++... " >&6; } 7545 if ${ac_cv_lib_pmpichpp_MPI_Abort+:} false; then : 7546 $as_echo_n "(cached) " >&6 7547 else 7548 ac_check_lib_save_LIBS=$LIBS 7549 LIBS="-lpmpich++ $LIBS" 7550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8924 7551 /* end confdefs.h. */ 8925 /* Define MPI_File_open to an innocuous variant, in case <limits.h> declares MPI_File_open. 8926 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8927 #define MPI_File_open innocuous_MPI_File_open 8928 8929 /* System header to define __stub macros and hopefully few prototypes, 8930 which can conflict with char MPI_File_open (); below. 8931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8932 <limits.h> exists even on freestanding compilers. */ 8933 8934 #ifdef __STDC__ 8935 # include <limits.h> 8936 #else 8937 # include <assert.h> 8938 #endif 8939 8940 #undef MPI_File_open 8941 8942 /* Override any gcc2 internal prototype to avoid an error. */ 7552 7553 /* Override any GCC internal prototype to avoid an error. 7554 Use char because int might match the return type of a GCC 7555 builtin and then its argument prototype would still apply. */ 8943 7556 #ifdef __cplusplus 8944 7557 extern "C" 8945 {8946 7558 #endif 8947 /* We use char because int might match the return type of a gcc2 8948 builtin and then its argument prototype would still apply. */ 8949 char MPI_File_open (); 8950 /* The GNU C library defines this for functions which it implements 8951 to always fail with ENOSYS. Some functions are actually named 8952 something starting with __ and the normal name is an alias. */ 8953 #if defined (__stub_MPI_File_open) || defined (__stub___MPI_File_open) 8954 choke me 8955 #else 8956 char (*f) () = MPI_File_open; 8957 #endif 8958 #ifdef __cplusplus 8959 } 8960 #endif 8961 7559 char MPI_Abort (); 8962 7560 int 8963 7561 main () 8964 7562 { 8965 return f != MPI_File_open;7563 return MPI_Abort (); 8966 7564 ; 8967 7565 return 0; 8968 7566 } 8969 7567 _ACEOF 8970 rm -f conftest.$ac_objext conftest$ac_exeext 8971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8972 (eval $ac_link) 2>conftest.er1 8973 ac_status=$? 8974 grep -v '^ *+' conftest.er1 >conftest.err 8975 rm -f conftest.er1 8976 cat conftest.err >&5 8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8978 (exit $ac_status); } && 8979 { ac_try='test -z "$ac_cxx_werror_flag" 8980 || test ! -s conftest.err' 8981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8982 (eval $ac_try) 2>&5 8983 ac_status=$? 8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8985 (exit $ac_status); }; } && 8986 { ac_try='test -s conftest$ac_exeext' 8987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8988 (eval $ac_try) 2>&5 8989 ac_status=$? 8990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8991 (exit $ac_status); }; }; then 8992 ac_cv_func_MPI_File_open=yes 8993 else 8994 echo "$as_me: failed program was:" >&5 8995 sed 's/^/| /' conftest.$ac_ext >&5 8996 8997 ac_cv_func_MPI_File_open=no 8998 fi 8999 rm -f conftest.err conftest.$ac_objext \ 9000 conftest$ac_exeext conftest.$ac_ext 9001 fi 9002 echo "$as_me:$LINENO: result: $ac_cv_func_MPI_File_open" >&5 9003 echo "${ECHO_T}$ac_cv_func_MPI_File_open" >&6 9004 if test $ac_cv_func_MPI_File_open = yes; then 9005 HAVE_MPIIO=yes;cat >>confdefs.h <<\_ACEOF 9006 #define HAVE_MPIIO 1 9007 _ACEOF 9008 9009 fi 9010 9011 echo "$as_me:$LINENO: checking for MPI_Init_thread" >&5 9012 echo $ECHO_N "checking for MPI_Init_thread... $ECHO_C" >&6 9013 if test "${ac_cv_func_MPI_Init_thread+set}" = set; then 9014 echo $ECHO_N "(cached) $ECHO_C" >&6 9015 else 9016 cat >conftest.$ac_ext <<_ACEOF 9017 /* confdefs.h. */ 9018 _ACEOF 9019 cat confdefs.h >>conftest.$ac_ext 9020 cat >>conftest.$ac_ext <<_ACEOF 9021 /* end confdefs.h. */ 9022 /* Define MPI_Init_thread to an innocuous variant, in case <limits.h> declares MPI_Init_thread. 9023 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 9024 #define MPI_Init_thread innocuous_MPI_Init_thread 9025 9026 /* System header to define __stub macros and hopefully few prototypes, 9027 which can conflict with char MPI_Init_thread (); below. 9028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9029 <limits.h> exists even on freestanding compilers. */ 9030 9031 #ifdef __STDC__ 9032 # include <limits.h> 9033 #else 9034 # include <assert.h> 9035 #endif 9036 9037 #undef MPI_Init_thread 9038 9039 /* Override any gcc2 internal prototype to avoid an error. */ 9040 #ifdef __cplusplus 9041 extern "C" 9042 { 9043 #endif 9044 /* We use char because int might match the return type of a gcc2 9045 builtin and then its argument prototype would still apply. */ 9046 char MPI_Init_thread (); 9047 /* The GNU C library defines this for functions which it implements 9048 to always fail with ENOSYS. Some functions are actually named 9049 something starting with __ and the normal name is an alias. */ 9050 #if defined (__stub_MPI_Init_thread) || defined (__stub___MPI_Init_thread) 9051 choke me 9052 #else 9053 char (*f) () = MPI_Init_thread; 9054 #endif 9055 #ifdef __cplusplus 9056 } 9057 #endif 9058 9059 int 9060 main () 9061 { 9062 return f != MPI_Init_thread; 9063 ; 9064 return 0; 9065 } 9066 _ACEOF 9067 rm -f conftest.$ac_objext conftest$ac_exeext 9068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9069 (eval $ac_link) 2>conftest.er1 9070 ac_status=$? 9071 grep -v '^ *+' conftest.er1 >conftest.err 9072 rm -f conftest.er1 9073 cat conftest.err >&5 9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9075 (exit $ac_status); } && 9076 { ac_try='test -z "$ac_cxx_werror_flag" 9077 || test ! -s conftest.err' 9078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9079 (eval $ac_try) 2>&5 9080 ac_status=$? 9081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9082 (exit $ac_status); }; } && 9083 { ac_try='test -s conftest$ac_exeext' 9084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9085 (eval $ac_try) 2>&5 9086 ac_status=$? 9087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9088 (exit $ac_status); }; }; then 9089 ac_cv_func_MPI_Init_thread=yes 9090 else 9091 echo "$as_me: failed program was:" >&5 9092 sed 's/^/| /' conftest.$ac_ext >&5 9093 9094 ac_cv_func_MPI_Init_thread=no 9095 fi 9096 rm -f conftest.err conftest.$ac_objext \ 9097 conftest$ac_exeext conftest.$ac_ext 9098 fi 9099 echo "$as_me:$LINENO: result: $ac_cv_func_MPI_Init_thread" >&5 9100 echo "${ECHO_T}$ac_cv_func_MPI_Init_thread" >&6 9101 if test $ac_cv_func_MPI_Init_thread = yes; then 9102 cat >>confdefs.h <<\_ACEOF 9103 #define HAVE_MPI_INIT_THREAD 1 9104 _ACEOF 9105 9106 fi 9107 9108 HAVE_MPIPP=no; 9109 echo "$as_me:$LINENO: checking for MPI_Abort in -lmpi++" >&5 9110 echo $ECHO_N "checking for MPI_Abort in -lmpi++... $ECHO_C" >&6 9111 if test "${ac_cv_lib_mpipp_MPI_Abort+set}" = set; then 9112 echo $ECHO_N "(cached) $ECHO_C" >&6 9113 else 9114 ac_check_lib_save_LIBS=$LIBS 9115 LIBS="-lmpi++ $LIBS" 9116 cat >conftest.$ac_ext <<_ACEOF 9117 /* confdefs.h. */ 9118 _ACEOF 9119 cat confdefs.h >>conftest.$ac_ext 9120 cat >>conftest.$ac_ext <<_ACEOF 9121 /* end confdefs.h. */ 9122 9123 /* Override any gcc2 internal prototype to avoid an error. */ 9124 #ifdef __cplusplus 9125 extern "C" 9126 #endif 9127 /* We use char because int might match the return type of a gcc2 9128 builtin and then its argument prototype would still apply. */ 9129 char MPI_Abort (); 9130 int 9131 main () 9132 { 9133 MPI_Abort (); 9134 ; 9135 return 0; 9136 } 9137 _ACEOF 9138 rm -f conftest.$ac_objext conftest$ac_exeext 9139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9140 (eval $ac_link) 2>conftest.er1 9141 ac_status=$? 9142 grep -v '^ *+' conftest.er1 >conftest.err 9143 rm -f conftest.er1 9144 cat conftest.err >&5 9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9146 (exit $ac_status); } && 9147 { ac_try='test -z "$ac_cxx_werror_flag" 9148 || test ! -s conftest.err' 9149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9150 (eval $ac_try) 2>&5 9151 ac_status=$? 9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9153 (exit $ac_status); }; } && 9154 { ac_try='test -s conftest$ac_exeext' 9155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9156 (eval $ac_try) 2>&5 9157 ac_status=$? 9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9159 (exit $ac_status); }; }; then 9160 ac_cv_lib_mpipp_MPI_Abort=yes 9161 else 9162 echo "$as_me: failed program was:" >&5 9163 sed 's/^/| /' conftest.$ac_ext >&5 9164 9165 ac_cv_lib_mpipp_MPI_Abort=no 9166 fi 9167 rm -f conftest.err conftest.$ac_objext \ 9168 conftest$ac_exeext conftest.$ac_ext 7568 if ac_fn_cxx_try_link "$LINENO"; then : 7569 ac_cv_lib_pmpichpp_MPI_Abort=yes 7570 else 7571 ac_cv_lib_pmpichpp_MPI_Abort=no 7572 fi 7573 rm -f core conftest.err conftest.$ac_objext \ 7574 conftest$ac_exeext conftest.$ac_ext 9169 7575 LIBS=$ac_check_lib_save_LIBS 9170 7576 fi 9171 echo "$as_me:$LINENO: result: $ac_cv_lib_mpipp_MPI_Abort" >&5 9172 echo "${ECHO_T}$ac_cv_lib_mpipp_MPI_Abort" >&6 9173 if test $ac_cv_lib_mpipp_MPI_Abort = yes; then 9174 HAVE_MPIPP=yes;LIBS="-lmpi++ $LIBS" 9175 fi 9176 9177 if test X$HAVE_MPIPP = Xno; then 9178 echo "$as_me:$LINENO: checking for MPI_Abort in -lpmpich++" >&5 9179 echo $ECHO_N "checking for MPI_Abort in -lpmpich++... $ECHO_C" >&6 9180 if test "${ac_cv_lib_pmpichpp_MPI_Abort+set}" = set; then 9181 echo $ECHO_N "(cached) $ECHO_C" >&6 9182 else 9183 ac_check_lib_save_LIBS=$LIBS 9184 LIBS="-lpmpich++ $LIBS" 9185 cat >conftest.$ac_ext <<_ACEOF 9186 /* confdefs.h. */ 9187 _ACEOF 9188 cat confdefs.h >>conftest.$ac_ext 9189 cat >>conftest.$ac_ext <<_ACEOF 9190 /* end confdefs.h. */ 9191 9192 /* Override any gcc2 internal prototype to avoid an error. */ 9193 #ifdef __cplusplus 9194 extern "C" 9195 #endif 9196 /* We use char because int might match the return type of a gcc2 9197 builtin and then its argument prototype would still apply. */ 9198 char MPI_Abort (); 9199 int 9200 main () 9201 { 9202 MPI_Abort (); 9203 ; 9204 return 0; 9205 } 9206 _ACEOF 9207 rm -f conftest.$ac_objext conftest$ac_exeext 9208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9209 (eval $ac_link) 2>conftest.er1 9210 ac_status=$? 9211 grep -v '^ *+' conftest.er1 >conftest.err 9212 rm -f conftest.er1 9213 cat conftest.err >&5 9214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9215 (exit $ac_status); } && 9216 { ac_try='test -z "$ac_cxx_werror_flag" 9217 || test ! -s conftest.err' 9218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9219 (eval $ac_try) 2>&5 9220 ac_status=$? 9221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9222 (exit $ac_status); }; } && 9223 { ac_try='test -s conftest$ac_exeext' 9224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9225 (eval $ac_try) 2>&5 9226 ac_status=$? 9227 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9228 (exit $ac_status); }; }; then 9229 ac_cv_lib_pmpichpp_MPI_Abort=yes 9230 else 9231 echo "$as_me: failed program was:" >&5 9232 sed 's/^/| /' conftest.$ac_ext >&5 9233 9234 ac_cv_lib_pmpichpp_MPI_Abort=no 9235 fi 9236 rm -f conftest.err conftest.$ac_objext \ 9237 conftest$ac_exeext conftest.$ac_ext 9238 LIBS=$ac_check_lib_save_LIBS 9239 fi 9240 echo "$as_me:$LINENO: result: $ac_cv_lib_pmpichpp_MPI_Abort" >&5 9241 echo "${ECHO_T}$ac_cv_lib_pmpichpp_MPI_Abort" >&6 9242 if test $ac_cv_lib_pmpichpp_MPI_Abort = yes; then 7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pmpichpp_MPI_Abort" >&5 7578 $as_echo "$ac_cv_lib_pmpichpp_MPI_Abort" >&6; } 7579 if test "x$ac_cv_lib_pmpichpp_MPI_Abort" = xyes; then : 9243 7580 HAVE_MPIPP=yes;LIBS="-lpmpich++ $LIBS" 9244 7581 fi 9245 7582 9246 7583 fi 9247 cat >>confdefs.h <<\_ACEOF 9248 #define HAVE_MPIPP 1 9249 _ACEOF 7584 7585 $as_echo "#define HAVE_MPIPP 1" >>confdefs.h 9250 7586 9251 7587 fi … … 9259 7595 9260 7596 if test X$HAVE_MPI != Xyes -a $ALWAYS_USE_MPI = yes; then 9261 { { echo "$as_me:$LINENO: error: --enable-always-use-mpi is set but MPI is not available" >&5 9262 echo "$as_me: error: --enable-always-use-mpi is set but MPI is not available" >&2;} 9263 { (exit 1); exit 1; }; } 7597 as_fn_error $? "--enable-always-use-mpi is set but MPI is not available" "$LINENO" 5 9264 7598 elif test $ALWAYS_USE_MPI = yes; then 9265 cat >>confdefs.h <<\_ACEOF 9266 #define ALWAYS_USE_MPI 1 9267 _ACEOF 9268 9269 fi 9270 9271 9272 9273 ac_ext=cc 7599 7600 $as_echo "#define ALWAYS_USE_MPI 1" >>confdefs.h 7601 7602 fi 7603 7604 7605 ac_ext=cpp 9274 7606 ac_cpp='$CXXCPP $CPPFLAGS' 9275 7607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 9277 7609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 9278 7610 9279 if test "${ac_cv_header_armci_h+set}" = set; then 9280 echo "$as_me:$LINENO: checking for armci.h" >&5 9281 echo $ECHO_N "checking for armci.h... $ECHO_C" >&6 9282 if test "${ac_cv_header_armci_h+set}" = set; then 9283 echo $ECHO_N "(cached) $ECHO_C" >&6 9284 fi 9285 echo "$as_me:$LINENO: result: $ac_cv_header_armci_h" >&5 9286 echo "${ECHO_T}$ac_cv_header_armci_h" >&6 9287 else 9288 # Is the header compilable? 9289 echo "$as_me:$LINENO: checking armci.h usability" >&5 9290 echo $ECHO_N "checking armci.h usability... $ECHO_C" >&6 9291 cat >conftest.$ac_ext <<_ACEOF 9292 /* confdefs.h. */ 9293 _ACEOF 9294 cat confdefs.h >>conftest.$ac_ext 9295 cat >>conftest.$ac_ext <<_ACEOF 7611 ac_fn_cxx_check_header_mongrel "$LINENO" "armci.h" "ac_cv_header_armci_h" "$ac_includes_default" 7612 if test "x$ac_cv_header_armci_h" = xyes; then : 7613 7614 ac_fn_cxx_check_func "$LINENO" "ARMCI_Init" "ac_cv_func_ARMCI_Init" 7615 if test "x$ac_cv_func_ARMCI_Init" = xyes; then : 7616 HAVE_ARMCI=yes 7617 else 7618 7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARMCI_Init in -larmci" >&5 7620 $as_echo_n "checking for ARMCI_Init in -larmci... " >&6; } 7621 if ${ac_cv_lib_armci_ARMCI_Init+:} false; then : 7622 $as_echo_n "(cached) " >&6 7623 else 7624 ac_check_lib_save_LIBS=$LIBS 7625 LIBS="-larmci $LIBS" 7626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9296 7627 /* end confdefs.h. */ 9297 $ac_includes_default 9298 #include <armci.h> 9299 _ACEOF 9300 rm -f conftest.$ac_objext 9301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9302 (eval $ac_compile) 2>conftest.er1 9303 ac_status=$? 9304 grep -v '^ *+' conftest.er1 >conftest.err 9305 rm -f conftest.er1 9306 cat conftest.err >&5 9307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9308 (exit $ac_status); } && 9309 { ac_try='test -z "$ac_cxx_werror_flag" 9310 || test ! -s conftest.err' 9311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9312 (eval $ac_try) 2>&5 9313 ac_status=$? 9314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9315 (exit $ac_status); }; } && 9316 { ac_try='test -s conftest.$ac_objext' 9317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9318 (eval $ac_try) 2>&5 9319 ac_status=$? 9320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9321 (exit $ac_status); }; }; then 9322 ac_header_compiler=yes 9323 else 9324 echo "$as_me: failed program was:" >&5 9325 sed 's/^/| /' conftest.$ac_ext >&5 9326 9327 ac_header_compiler=no 9328 fi 9329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9331 echo "${ECHO_T}$ac_header_compiler" >&6 9332 9333 # Is the header present? 9334 echo "$as_me:$LINENO: checking armci.h presence" >&5 9335 echo $ECHO_N "checking armci.h presence... $ECHO_C" >&6 9336 cat >conftest.$ac_ext <<_ACEOF 9337 /* confdefs.h. */ 9338 _ACEOF 9339 cat confdefs.h >>conftest.$ac_ext 9340 cat >>conftest.$ac_ext <<_ACEOF 9341 /* end confdefs.h. */ 9342 #include <armci.h> 9343 _ACEOF 9344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9345 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9346 ac_status=$? 9347 grep -v '^ *+' conftest.er1 >conftest.err 9348 rm -f conftest.er1 9349 cat conftest.err >&5 9350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9351 (exit $ac_status); } >/dev/null; then 9352 if test -s conftest.err; then 9353 ac_cpp_err=$ac_cxx_preproc_warn_flag 9354 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 9355 else 9356 ac_cpp_err= 9357 fi 9358 else 9359 ac_cpp_err=yes 9360 fi 9361 if test -z "$ac_cpp_err"; then 9362 ac_header_preproc=yes 9363 else 9364 echo "$as_me: failed program was:" >&5 9365 sed 's/^/| /' conftest.$ac_ext >&5 9366 9367 ac_header_preproc=no 9368 fi 9369 rm -f conftest.err conftest.$ac_ext 9370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9371 echo "${ECHO_T}$ac_header_preproc" >&6 9372 9373 # So? What about this header? 9374 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9375 yes:no: ) 9376 { echo "$as_me:$LINENO: WARNING: armci.h: accepted by the compiler, rejected by the preprocessor!" >&5 9377 echo "$as_me: WARNING: armci.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9378 { echo "$as_me:$LINENO: WARNING: armci.h: proceeding with the compiler's result" >&5 9379 echo "$as_me: WARNING: armci.h: proceeding with the compiler's result" >&2;} 9380 ac_header_preproc=yes 9381 ;; 9382 no:yes:* ) 9383 { echo "$as_me:$LINENO: WARNING: armci.h: present but cannot be compiled" >&5 9384 echo "$as_me: WARNING: armci.h: present but cannot be compiled" >&2;} 9385 { echo "$as_me:$LINENO: WARNING: armci.h: check for missing prerequisite headers?" >&5 9386 echo "$as_me: WARNING: armci.h: check for missing prerequisite headers?" >&2;} 9387 { echo "$as_me:$LINENO: WARNING: armci.h: see the Autoconf documentation" >&5 9388 echo "$as_me: WARNING: armci.h: see the Autoconf documentation" >&2;} 9389 { echo "$as_me:$LINENO: WARNING: armci.h: section \"Present But Cannot Be Compiled\"" >&5 9390 echo "$as_me: WARNING: armci.h: section \"Present But Cannot Be Compiled\"" >&2;} 9391 { echo "$as_me:$LINENO: WARNING: armci.h: proceeding with the preprocessor's result" >&5 9392 echo "$as_me: WARNING: armci.h: proceeding with the preprocessor's result" >&2;} 9393 { echo "$as_me:$LINENO: WARNING: armci.h: in the future, the compiler will take precedence" >&5 9394 echo "$as_me: WARNING: armci.h: in the future, the compiler will take precedence" >&2;} 9395 ( 9396 cat <<\_ASBOX 9397 ## ------------------------------------------ ## 9398 ## Report this to the AC_PACKAGE_NAME lists. ## 9399 ## ------------------------------------------ ## 9400 _ASBOX 9401 ) | 9402 sed "s/^/$as_me: WARNING: /" >&2 9403 ;; 9404 esac 9405 echo "$as_me:$LINENO: checking for armci.h" >&5 9406 echo $ECHO_N "checking for armci.h... $ECHO_C" >&6 9407 if test "${ac_cv_header_armci_h+set}" = set; then 9408 echo $ECHO_N "(cached) $ECHO_C" >&6 9409 else 9410 ac_cv_header_armci_h=$ac_header_preproc 9411 fi 9412 echo "$as_me:$LINENO: result: $ac_cv_header_armci_h" >&5 9413 echo "${ECHO_T}$ac_cv_header_armci_h" >&6 9414 9415 fi 9416 if test $ac_cv_header_armci_h = yes; then 9417 9418 echo "$as_me:$LINENO: checking for ARMCI_Init" >&5 9419 echo $ECHO_N "checking for ARMCI_Init... $ECHO_C" >&6 9420 if test "${ac_cv_func_ARMCI_Init+set}" = set; then 9421 echo $ECHO_N "(cached) $ECHO_C" >&6 9422 else 9423 cat >conftest.$ac_ext <<_ACEOF 9424 /* confdefs.h. */ 9425 _ACEOF 9426 cat confdefs.h >>conftest.$ac_ext 9427 cat >>conftest.$ac_ext <<_ACEOF 9428 /* end confdefs.h. */ 9429 /* Define ARMCI_Init to an innocuous variant, in case <limits.h> declares ARMCI_Init. 9430 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 9431 #define ARMCI_Init innocuous_ARMCI_Init 9432 9433 /* System header to define __stub macros and hopefully few prototypes, 9434 which can conflict with char ARMCI_Init (); below. 9435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9436 <limits.h> exists even on freestanding compilers. */ 9437 9438 #ifdef __STDC__ 9439 # include <limits.h> 9440 #else 9441 # include <assert.h> 9442 #endif 9443 9444 #undef ARMCI_Init 9445 9446 /* Override any gcc2 internal prototype to avoid an error. */ 7628 7629 /* Override any GCC internal prototype to avoid an error. 7630 Use char because int might match the return type of a GCC 7631 builtin and then its argument prototype would still apply. */ 9447 7632 #ifdef __cplusplus 9448 7633 extern "C" 9449 {9450 7634 #endif 9451 /* We use char because int might match the return type of a gcc29452 builtin and then its argument prototype would still apply. */9453 7635 char ARMCI_Init (); 9454 /* The GNU C library defines this for functions which it implements9455 to always fail with ENOSYS. Some functions are actually named9456 something starting with __ and the normal name is an alias. */9457 #if defined (__stub_ARMCI_Init) || defined (__stub___ARMCI_Init)9458 choke me9459 #else9460 char (*f) () = ARMCI_Init;9461 #endif9462 #ifdef __cplusplus9463 }9464 #endif9465 9466 7636 int 9467 7637 main () 9468 7638 { 9469 return f != ARMCI_Init;7639 return ARMCI_Init (); 9470 7640 ; 9471 7641 return 0; 9472 7642 } 9473 7643 _ACEOF 9474 rm -f conftest.$ac_objext conftest$ac_exeext 9475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9476 (eval $ac_link) 2>conftest.er1 9477 ac_status=$? 9478 grep -v '^ *+' conftest.er1 >conftest.err 9479 rm -f conftest.er1 9480 cat conftest.err >&5 9481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9482 (exit $ac_status); } && 9483 { ac_try='test -z "$ac_cxx_werror_flag" 9484 || test ! -s conftest.err' 9485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9486 (eval $ac_try) 2>&5 9487 ac_status=$? 9488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9489 (exit $ac_status); }; } && 9490 { ac_try='test -s conftest$ac_exeext' 9491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9492 (eval $ac_try) 2>&5 9493 ac_status=$? 9494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9495 (exit $ac_status); }; }; then 9496 ac_cv_func_ARMCI_Init=yes 9497 else 9498 echo "$as_me: failed program was:" >&5 9499 sed 's/^/| /' conftest.$ac_ext >&5 9500 9501 ac_cv_func_ARMCI_Init=no 9502 fi 9503 rm -f conftest.err conftest.$ac_objext \ 9504 conftest$ac_exeext conftest.$ac_ext 9505 fi 9506 echo "$as_me:$LINENO: result: $ac_cv_func_ARMCI_Init" >&5 9507 echo "${ECHO_T}$ac_cv_func_ARMCI_Init" >&6 9508 if test $ac_cv_func_ARMCI_Init = yes; then 9509 HAVE_ARMCI=yes 9510 else 9511 9512 echo "$as_me:$LINENO: checking for ARMCI_Init in -larmci" >&5 9513 echo $ECHO_N "checking for ARMCI_Init in -larmci... $ECHO_C" >&6 9514 if test "${ac_cv_lib_armci_ARMCI_Init+set}" = set; then 9515 echo $ECHO_N "(cached) $ECHO_C" >&6 9516 else 9517 ac_check_lib_save_LIBS=$LIBS 9518 LIBS="-larmci $LIBS" 9519 cat >conftest.$ac_ext <<_ACEOF 9520 /* confdefs.h. */ 9521 _ACEOF 9522 cat confdefs.h >>conftest.$ac_ext 9523 cat >>conftest.$ac_ext <<_ACEOF 9524 /* end confdefs.h. */ 9525 9526 /* Override any gcc2 internal prototype to avoid an error. */ 9527 #ifdef __cplusplus 9528 extern "C" 9529 #endif 9530 /* We use char because int might match the return type of a gcc2 9531 builtin and then its argument prototype would still apply. */ 9532 char ARMCI_Init (); 9533 int 9534 main () 9535 { 9536 ARMCI_Init (); 9537 ; 9538 return 0; 9539 } 9540 _ACEOF 9541 rm -f conftest.$ac_objext conftest$ac_exeext 9542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9543 (eval $ac_link) 2>conftest.er1 9544 ac_status=$? 9545 grep -v '^ *+' conftest.er1 >conftest.err 9546 rm -f conftest.er1 9547 cat conftest.err >&5 9548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9549 (exit $ac_status); } && 9550 { ac_try='test -z "$ac_cxx_werror_flag" 9551 || test ! -s conftest.err' 9552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9553 (eval $ac_try) 2>&5 9554 ac_status=$? 9555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9556 (exit $ac_status); }; } && 9557 { ac_try='test -s conftest$ac_exeext' 9558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9559 (eval $ac_try) 2>&5 9560 ac_status=$? 9561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9562 (exit $ac_status); }; }; then 7644 if ac_fn_cxx_try_link "$LINENO"; then : 9563 7645 ac_cv_lib_armci_ARMCI_Init=yes 9564 7646 else 9565 echo "$as_me: failed program was:" >&5 9566 sed 's/^/| /' conftest.$ac_ext >&5 9567 9568 ac_cv_lib_armci_ARMCI_Init=no 9569 fi 9570 rm -f conftest.err conftest.$ac_objext \ 9571 conftest$ac_exeext conftest.$ac_ext 7647 ac_cv_lib_armci_ARMCI_Init=no 7648 fi 7649 rm -f core conftest.err conftest.$ac_objext \ 7650 conftest$ac_exeext conftest.$ac_ext 9572 7651 LIBS=$ac_check_lib_save_LIBS 9573 7652 fi 9574 echo "$as_me:$LINENO: result: $ac_cv_lib_armci_ARMCI_Init" >&59575 echo "${ECHO_T}$ac_cv_lib_armci_ARMCI_Init" >&6 9576 if test $ac_cv_lib_armci_ARMCI_Init = yes; then7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_armci_ARMCI_Init" >&5 7654 $as_echo "$ac_cv_lib_armci_ARMCI_Init" >&6; } 7655 if test "x$ac_cv_lib_armci_ARMCI_Init" = xyes; then : 9577 7656 HAVE_ARMCI=yes;LIBS="-larmci $LIBS" 9578 7657 fi … … 9593 7672 9594 7673 if test X$HAVE_ARMCI = Xyes; then 9595 cat >>confdefs.h <<\_ACEOF 9596 #define HAVE_ARMCI 1 9597 _ACEOF 7674 7675 $as_echo "#define HAVE_ARMCI 1" >>confdefs.h 9598 7676 9599 7677 fi 9600 7678 9601 7679 if test $DEFAULT_PARALLEL = mtmpi -a X$HAVE_MPI != Xyes; then 9602 { { echo "$as_me:$LINENO: error: --with-default-parallel=mtmpi but MPI not available" >&5 9603 echo "$as_me: error: --with-default-parallel=mtmpi but MPI not available" >&2;} 9604 { (exit 1); exit 1; }; } 7680 as_fn_error $? "--with-default-parallel=mtmpi but MPI not available" "$LINENO" 5 9605 7681 fi 9606 7682 if test $DEFAULT_PARALLEL = armcimpi -a X$HAVE_MPI != Xyes; then 9607 { { echo "$as_me:$LINENO: error: --with-default-parallel=armcimpi but MPI not available" >&5 9608 echo "$as_me: error: --with-default-parallel=armcimpi but MPI not available" >&2;} 9609 { (exit 1); exit 1; }; } 7683 as_fn_error $? "--with-default-parallel=armcimpi but MPI not available" "$LINENO" 5 9610 7684 fi 9611 7685 if test $DEFAULT_PARALLEL = armcimpi -a X$HAVE_ARMCI != Xyes; then 9612 { { echo "$as_me:$LINENO: error: --with-default-parallel=armcimpi but ARMCI not available" >&5 9613 echo "$as_me: error: --with-default-parallel=armcimpi but ARMCI not available" >&2;} 9614 { (exit 1); exit 1; }; } 9615 fi 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 9627 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 9628 if test "${ac_cv_header_stdc+set}" = set; then 9629 echo $ECHO_N "(cached) $ECHO_C" >&6 9630 else 9631 cat >conftest.$ac_ext <<_ACEOF 9632 /* confdefs.h. */ 9633 _ACEOF 9634 cat confdefs.h >>conftest.$ac_ext 9635 cat >>conftest.$ac_ext <<_ACEOF 7686 as_fn_error $? "--with-default-parallel=armcimpi but ARMCI not available" "$LINENO" 5 7687 fi 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7699 $as_echo_n "checking for ANSI C header files... " >&6; } 7700 if ${ac_cv_header_stdc+:} false; then : 7701 $as_echo_n "(cached) " >&6 7702 else 7703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9636 7704 /* end confdefs.h. */ 9637 7705 #include <stdlib.h> … … 9648 7716 } 9649 7717 _ACEOF 9650 rm -f conftest.$ac_objext 9651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9652 (eval $ac_compile) 2>conftest.er1 9653 ac_status=$? 9654 grep -v '^ *+' conftest.er1 >conftest.err 9655 rm -f conftest.er1 9656 cat conftest.err >&5 9657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9658 (exit $ac_status); } && 9659 { ac_try='test -z "$ac_c_werror_flag" 9660 || test ! -s conftest.err' 9661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9662 (eval $ac_try) 2>&5 9663 ac_status=$? 9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9665 (exit $ac_status); }; } && 9666 { ac_try='test -s conftest.$ac_objext' 9667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9668 (eval $ac_try) 2>&5 9669 ac_status=$? 9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9671 (exit $ac_status); }; }; then 7718 if ac_fn_c_try_compile "$LINENO"; then : 9672 7719 ac_cv_header_stdc=yes 9673 7720 else 9674 echo "$as_me: failed program was:" >&5 9675 sed 's/^/| /' conftest.$ac_ext >&5 9676 9677 ac_cv_header_stdc=no 9678 fi 9679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7721 ac_cv_header_stdc=no 7722 fi 7723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9680 7724 9681 7725 if test $ac_cv_header_stdc = yes; then 9682 7726 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 9683 cat >conftest.$ac_ext <<_ACEOF 9684 /* confdefs.h. */ 9685 _ACEOF 9686 cat confdefs.h >>conftest.$ac_ext 9687 cat >>conftest.$ac_ext <<_ACEOF 7727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9688 7728 /* end confdefs.h. */ 9689 7729 #include <string.h> … … 9691 7731 _ACEOF 9692 7732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9693 $EGREP "memchr" >/dev/null 2>&1; then 9694 : 7733 $EGREP "memchr" >/dev/null 2>&1; then : 7734 9695 7735 else 9696 7736 ac_cv_header_stdc=no … … 9702 7742 if test $ac_cv_header_stdc = yes; then 9703 7743 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 9704 cat >conftest.$ac_ext <<_ACEOF 9705 /* confdefs.h. */ 9706 _ACEOF 9707 cat confdefs.h >>conftest.$ac_ext 9708 cat >>conftest.$ac_ext <<_ACEOF 7744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9709 7745 /* end confdefs.h. */ 9710 7746 #include <stdlib.h> … … 9712 7748 _ACEOF 9713 7749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9714 $EGREP "free" >/dev/null 2>&1; then 9715 : 7750 $EGREP "free" >/dev/null 2>&1; then : 7751 9716 7752 else 9717 7753 ac_cv_header_stdc=no … … 9723 7759 if test $ac_cv_header_stdc = yes; then 9724 7760 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 9725 if test "$cross_compiling" = yes; then 7761 if test "$cross_compiling" = yes; then : 9726 7762 : 9727 7763 else 9728 cat >conftest.$ac_ext <<_ACEOF 9729 /* confdefs.h. */ 9730 _ACEOF 9731 cat confdefs.h >>conftest.$ac_ext 9732 cat >>conftest.$ac_ext <<_ACEOF 7764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9733 7765 /* end confdefs.h. */ 9734 7766 #include <ctype.h> 7767 #include <stdlib.h> 9735 7768 #if ((' ' & 0x0FF) == 0x020) 9736 7769 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 9752 7785 if (XOR (islower (i), ISLOWER (i)) 9753 7786 || toupper (i) != TOUPPER (i)) 9754 exit(2);9755 exit (0);7787 return 2; 7788 return 0; 9756 7789 } 9757 7790 _ACEOF 9758 rm -f conftest$ac_exeext 9759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9760 (eval $ac_link) 2>&5 9761 ac_status=$? 9762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9763 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9765 (eval $ac_try) 2>&5 9766 ac_status=$? 9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9768 (exit $ac_status); }; }; then 9769 : 9770 else 9771 echo "$as_me: program exited with status $ac_status" >&5 9772 echo "$as_me: failed program was:" >&5 9773 sed 's/^/| /' conftest.$ac_ext >&5 9774 9775 ( exit $ac_status ) 9776 ac_cv_header_stdc=no 9777 fi 9778 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9779 fi 9780 fi 9781 fi 9782 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 9783 echo "${ECHO_T}$ac_cv_header_stdc" >&6 7791 if ac_fn_c_try_run "$LINENO"; then : 7792 7793 else 7794 ac_cv_header_stdc=no 7795 fi 7796 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7797 conftest.$ac_objext conftest.beam conftest.$ac_ext 7798 fi 7799 7800 fi 7801 fi 7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7803 $as_echo "$ac_cv_header_stdc" >&6; } 9784 7804 if test $ac_cv_header_stdc = yes; then 9785 7805 9786 cat >>confdefs.h <<\_ACEOF 9787 #define STDC_HEADERS 1 7806 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 7807 7808 fi 7809 7810 for ac_header in fcntl.h limits.h sys/ioctl.h sys/time.h unistd.h pwd.h 7811 do : 7812 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7813 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 7814 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7815 cat >>confdefs.h <<_ACEOF 7816 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9788 7817 _ACEOF 9789 7818 9790 7819 fi 9791 7820 9792 9793 9794 9795 9796 9797 9798 for ac_header in fcntl.h limits.h sys/ioctl.h sys/time.h unistd.h pwd.h 9799 do 9800 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9801 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9802 echo "$as_me:$LINENO: checking for $ac_header" >&5 9803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9804 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9805 echo $ECHO_N "(cached) $ECHO_C" >&6 9806 fi 9807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9809 else 9810 # Is the header compilable? 9811 echo "$as_me:$LINENO: checking $ac_header usability" >&5 9812 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 9813 cat >conftest.$ac_ext <<_ACEOF 9814 /* confdefs.h. */ 7821 done 7822 7823 for ac_header in sys/times.h sys/resource.h time.h machine/fpu.h asm/fpu.h 7824 do : 7825 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7826 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 7827 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7828 cat >>confdefs.h <<_ACEOF 7829 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9815 7830 _ACEOF 9816 cat confdefs.h >>conftest.$ac_ext 9817 cat >>conftest.$ac_ext <<_ACEOF 9818 /* end confdefs.h. */ 9819 $ac_includes_default 9820 #include <$ac_header> 7831 7832 fi 7833 7834 done 7835 7836 for ac_header in termios.h sys/stat.h sys/types.h dlfcn.h stdint.h 7837 do : 7838 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7839 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 7840 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7841 cat >>confdefs.h <<_ACEOF 7842 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9821 7843 _ACEOF 9822 rm -f conftest.$ac_objext9823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&59824 (eval $ac_compile) 2>conftest.er19825 ac_status=$?9826 grep -v '^ *+' conftest.er1 >conftest.err9827 rm -f conftest.er19828 cat conftest.err >&59829 echo "$as_me:$LINENO: \$? = $ac_status" >&59830 (exit $ac_status); } &&9831 { ac_try='test -z "$ac_c_werror_flag"9832 || test ! -s conftest.err'9833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59834 (eval $ac_try) 2>&59835 ac_status=$?9836 echo "$as_me:$LINENO: \$? = $ac_status" >&59837 (exit $ac_status); }; } &&9838 { ac_try='test -s conftest.$ac_objext'9839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59840 (eval $ac_try) 2>&59841 ac_status=$?9842 echo "$as_me:$LINENO: \$? = $ac_status" >&59843 (exit $ac_status); }; }; then9844 ac_header_compiler=yes9845 else9846 echo "$as_me: failed program was:" >&59847 sed 's/^/| /' conftest.$ac_ext >&59848 9849 ac_header_compiler=no9850 fi9851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext9852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&59853 echo "${ECHO_T}$ac_header_compiler" >&69854 9855 # Is the header present?9856 echo "$as_me:$LINENO: checking $ac_header presence" >&59857 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&69858 cat >conftest.$ac_ext <<_ACEOF9859 /* confdefs.h. */9860 _ACEOF9861 cat confdefs.h >>conftest.$ac_ext9862 cat >>conftest.$ac_ext <<_ACEOF9863 /* end confdefs.h. */9864 #include <$ac_header>9865 _ACEOF9866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&59867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er19868 ac_status=$?9869 grep -v '^ *+' conftest.er1 >conftest.err9870 rm -f conftest.er19871 cat conftest.err >&59872 echo "$as_me:$LINENO: \$? = $ac_status" >&59873 (exit $ac_status); } >/dev/null; then9874 if test -s conftest.err; then9875 ac_cpp_err=$ac_c_preproc_warn_flag9876 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag9877 else9878 ac_cpp_err=9879 fi9880 else9881 ac_cpp_err=yes9882 fi9883 if test -z "$ac_cpp_err"; then9884 ac_header_preproc=yes9885 else9886 echo "$as_me: failed program was:" >&59887 sed 's/^/| /' conftest.$ac_ext >&59888 9889 ac_header_preproc=no9890 fi9891 rm -f conftest.err conftest.$ac_ext9892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&59893 echo "${ECHO_T}$ac_header_preproc" >&69894 9895 # So? What about this header?9896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in9897 yes:no: )9898 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&59899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}9900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&59901 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}9902 ac_header_preproc=yes9903 ;;9904 no:yes:* )9905 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&59906 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}9907 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&59908 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}9909 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&59910 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}9911 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&59912 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}9913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&59914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}9915 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&59916 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}9917 (9918 cat <<\_ASBOX9919 ## ------------------------------------------ ##9920 ## Report this to the AC_PACKAGE_NAME lists. ##9921 ## ------------------------------------------ ##9922 _ASBOX9923 ) |9924 sed "s/^/$as_me: WARNING: /" >&29925 ;;9926 esac9927 echo "$as_me:$LINENO: checking for $ac_header" >&59928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&69929 if eval "test \"\${$as_ac_Header+set}\" = set"; then9930 echo $ECHO_N "(cached) $ECHO_C" >&69931 else9932 eval "$as_ac_Header=\$ac_header_preproc"9933 fi9934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&59935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&69936 9937 fi9938 if test `eval echo '${'$as_ac_Header'}'` = yes; then9939 cat >>confdefs.h <<_ACEOF9940 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 19941 _ACEOF9942 7844 9943 7845 fi … … 9946 7848 9947 7849 9948 9949 9950 9951 9952 for ac_header in sys/times.h sys/resource.h time.h machine/fpu.h asm/fpu.h 9953 do 9954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9955 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9956 echo "$as_me:$LINENO: checking for $ac_header" >&5 9957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9958 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9959 echo $ECHO_N "(cached) $ECHO_C" >&6 9960 fi 9961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9962 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9963 else 9964 # Is the header compilable? 9965 echo "$as_me:$LINENO: checking $ac_header usability" >&5 9966 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 9967 cat >conftest.$ac_ext <<_ACEOF 9968 /* confdefs.h. */ 9969 _ACEOF 9970 cat confdefs.h >>conftest.$ac_ext 9971 cat >>conftest.$ac_ext <<_ACEOF 9972 /* end confdefs.h. */ 9973 $ac_includes_default 9974 #include <$ac_header> 9975 _ACEOF 9976 rm -f conftest.$ac_objext 9977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9978 (eval $ac_compile) 2>conftest.er1 9979 ac_status=$? 9980 grep -v '^ *+' conftest.er1 >conftest.err 9981 rm -f conftest.er1 9982 cat conftest.err >&5 9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9984 (exit $ac_status); } && 9985 { ac_try='test -z "$ac_c_werror_flag" 9986 || test ! -s conftest.err' 9987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9988 (eval $ac_try) 2>&5 9989 ac_status=$? 9990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9991 (exit $ac_status); }; } && 9992 { ac_try='test -s conftest.$ac_objext' 9993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9994 (eval $ac_try) 2>&5 9995 ac_status=$? 9996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9997 (exit $ac_status); }; }; then 9998 ac_header_compiler=yes 9999 else 10000 echo "$as_me: failed program was:" >&5 10001 sed 's/^/| /' conftest.$ac_ext >&5 10002 10003 ac_header_compiler=no 10004 fi 10005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10007 echo "${ECHO_T}$ac_header_compiler" >&6 10008 10009 # Is the header present? 10010 echo "$as_me:$LINENO: checking $ac_header presence" >&5 10011 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 10012 cat >conftest.$ac_ext <<_ACEOF 10013 /* confdefs.h. */ 10014 _ACEOF 10015 cat confdefs.h >>conftest.$ac_ext 10016 cat >>conftest.$ac_ext <<_ACEOF 10017 /* end confdefs.h. */ 10018 #include <$ac_header> 10019 _ACEOF 10020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 10021 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10022 ac_status=$? 10023 grep -v '^ *+' conftest.er1 >conftest.err 10024 rm -f conftest.er1 10025 cat conftest.err >&5 10026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10027 (exit $ac_status); } >/dev/null; then 10028 if test -s conftest.err; then 10029 ac_cpp_err=$ac_c_preproc_warn_flag 10030 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 10031 else 10032 ac_cpp_err= 10033 fi 10034 else 10035 ac_cpp_err=yes 10036 fi 10037 if test -z "$ac_cpp_err"; then 10038 ac_header_preproc=yes 10039 else 10040 echo "$as_me: failed program was:" >&5 10041 sed 's/^/| /' conftest.$ac_ext >&5 10042 10043 ac_header_preproc=no 10044 fi 10045 rm -f conftest.err conftest.$ac_ext 10046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10047 echo "${ECHO_T}$ac_header_preproc" >&6 10048 10049 # So? What about this header? 10050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10051 yes:no: ) 10052 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 10053 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 10054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 10055 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 10056 ac_header_preproc=yes 10057 ;; 10058 no:yes:* ) 10059 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 10060 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 10061 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 10062 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 10063 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 10064 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 10065 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 10066 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 10067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 10068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 10069 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 10070 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10071 ( 10072 cat <<\_ASBOX 10073 ## ------------------------------------------ ## 10074 ## Report this to the AC_PACKAGE_NAME lists. ## 10075 ## ------------------------------------------ ## 10076 _ASBOX 10077 ) | 10078 sed "s/^/$as_me: WARNING: /" >&2 10079 ;; 10080 esac 10081 echo "$as_me:$LINENO: checking for $ac_header" >&5 10082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10083 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10084 echo $ECHO_N "(cached) $ECHO_C" >&6 10085 else 10086 eval "$as_ac_Header=\$ac_header_preproc" 10087 fi 10088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 10089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10090 10091 fi 10092 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10093 cat >>confdefs.h <<_ACEOF 10094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10095 _ACEOF 10096 10097 fi 10098 10099 done 10100 10101 10102 10103 10104 10105 10106 for ac_header in termios.h sys/stat.h sys/types.h dlfcn.h stdint.h 10107 do 10108 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10109 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10110 echo "$as_me:$LINENO: checking for $ac_header" >&5 10111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10112 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10113 echo $ECHO_N "(cached) $ECHO_C" >&6 10114 fi 10115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 10116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10117 else 10118 # Is the header compilable? 10119 echo "$as_me:$LINENO: checking $ac_header usability" >&5 10120 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 10121 cat >conftest.$ac_ext <<_ACEOF 10122 /* confdefs.h. */ 10123 _ACEOF 10124 cat confdefs.h >>conftest.$ac_ext 10125 cat >>conftest.$ac_ext <<_ACEOF 10126 /* end confdefs.h. */ 10127 $ac_includes_default 10128 #include <$ac_header> 10129 _ACEOF 10130 rm -f conftest.$ac_objext 10131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10132 (eval $ac_compile) 2>conftest.er1 10133 ac_status=$? 10134 grep -v '^ *+' conftest.er1 >conftest.err 10135 rm -f conftest.er1 10136 cat conftest.err >&5 10137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10138 (exit $ac_status); } && 10139 { ac_try='test -z "$ac_c_werror_flag" 10140 || test ! -s conftest.err' 10141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10142 (eval $ac_try) 2>&5 10143 ac_status=$? 10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10145 (exit $ac_status); }; } && 10146 { ac_try='test -s conftest.$ac_objext' 10147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10148 (eval $ac_try) 2>&5 10149 ac_status=$? 10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10151 (exit $ac_status); }; }; then 10152 ac_header_compiler=yes 10153 else 10154 echo "$as_me: failed program was:" >&5 10155 sed 's/^/| /' conftest.$ac_ext >&5 10156 10157 ac_header_compiler=no 10158 fi 10159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10161 echo "${ECHO_T}$ac_header_compiler" >&6 10162 10163 # Is the header present? 10164 echo "$as_me:$LINENO: checking $ac_header presence" >&5 10165 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 10166 cat >conftest.$ac_ext <<_ACEOF 10167 /* confdefs.h. */ 10168 _ACEOF 10169 cat confdefs.h >>conftest.$ac_ext 10170 cat >>conftest.$ac_ext <<_ACEOF 10171 /* end confdefs.h. */ 10172 #include <$ac_header> 10173 _ACEOF 10174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 10175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10176 ac_status=$? 10177 grep -v '^ *+' conftest.er1 >conftest.err 10178 rm -f conftest.er1 10179 cat conftest.err >&5 10180 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10181 (exit $ac_status); } >/dev/null; then 10182 if test -s conftest.err; then 10183 ac_cpp_err=$ac_c_preproc_warn_flag 10184 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 10185 else 10186 ac_cpp_err= 10187 fi 10188 else 10189 ac_cpp_err=yes 10190 fi 10191 if test -z "$ac_cpp_err"; then 10192 ac_header_preproc=yes 10193 else 10194 echo "$as_me: failed program was:" >&5 10195 sed 's/^/| /' conftest.$ac_ext >&5 10196 10197 ac_header_preproc=no 10198 fi 10199 rm -f conftest.err conftest.$ac_ext 10200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10201 echo "${ECHO_T}$ac_header_preproc" >&6 10202 10203 # So? What about this header? 10204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10205 yes:no: ) 10206 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 10207 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 10208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 10209 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 10210 ac_header_preproc=yes 10211 ;; 10212 no:yes:* ) 10213 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 10214 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 10215 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 10216 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 10217 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 10218 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 10219 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 10220 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 10221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 10222 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 10223 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 10224 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10225 ( 10226 cat <<\_ASBOX 10227 ## ------------------------------------------ ## 10228 ## Report this to the AC_PACKAGE_NAME lists. ## 10229 ## ------------------------------------------ ## 10230 _ASBOX 10231 ) | 10232 sed "s/^/$as_me: WARNING: /" >&2 10233 ;; 10234 esac 10235 echo "$as_me:$LINENO: checking for $ac_header" >&5 10236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10237 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10238 echo $ECHO_N "(cached) $ECHO_C" >&6 10239 else 10240 eval "$as_ac_Header=\$ac_header_preproc" 10241 fi 10242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 10243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10244 10245 fi 10246 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10247 cat >>confdefs.h <<_ACEOF 10248 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10249 _ACEOF 10250 10251 fi 10252 10253 done 10254 10255 10256 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 10257 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 10258 if test "${ac_cv_c_const+set}" = set; then 10259 echo $ECHO_N "(cached) $ECHO_C" >&6 10260 else 10261 cat >conftest.$ac_ext <<_ACEOF 10262 /* confdefs.h. */ 10263 _ACEOF 10264 cat confdefs.h >>conftest.$ac_ext 10265 cat >>conftest.$ac_ext <<_ACEOF 7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 7851 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 7852 if ${ac_cv_c_const+:} false; then : 7853 $as_echo_n "(cached) " >&6 7854 else 7855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10266 7856 /* end confdefs.h. */ 10267 7857 … … 10269 7859 main () 10270 7860 { 10271 /* FIXME: Include the comments suggested by Paul. */ 7861 10272 7862 #ifndef __cplusplus 10273 /* Ultrix mips cc rejects this . */7863 /* Ultrix mips cc rejects this sort of thing. */ 10274 7864 typedef int charset[2]; 10275 const charset x;7865 const charset cs = { 0, 0 }; 10276 7866 /* SunOS 4.1.1 cc rejects this. */ 10277 char const *const * ccp;10278 char **p ;7867 char const *const *pcpcc; 7868 char **ppc; 10279 7869 /* NEC SVR4.0.2 mips cc rejects this. */ 10280 7870 struct point {int x, y;}; … … 10285 7875 expression */ 10286 7876 const char *g = "string"; 10287 ccp= &g + (g ? g-g : 0);7877 pcpcc = &g + (g ? g-g : 0); 10288 7878 /* HPUX 7.0 cc rejects these. */ 10289 ++ccp; 10290 p = (char**) ccp; 10291 ccp = (char const *const *) p; 10292 { /* SCO 3.2v4 cc rejects this. */ 10293 char *t; 7879 ++pcpcc; 7880 ppc = (char**) pcpcc; 7881 pcpcc = (char const *const *) ppc; 7882 { /* SCO 3.2v4 cc rejects this sort of thing. */ 7883 char tx; 7884 char *t = &tx; 10294 7885 char const *s = 0 ? (char *) 0 : (char const *) 0; 10295 7886 10296 7887 *t++ = 0; 7888 if (s) return 0; 10297 7889 } 10298 7890 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 10306 7898 ++p; 10307 7899 } 10308 { /* AIX XL C 1.02.0.0 rejects this s aying7900 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 10309 7901 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 10310 struct s { int j; const int *ap[3]; } ;10311 struct s *b ; b->j = 5;7902 struct s { int j; const int *ap[3]; } bx; 7903 struct s *b = &bx; b->j = 5; 10312 7904 } 10313 7905 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 10314 7906 const int foo = 10; 7907 if (!foo) return 0; 10315 7908 } 7909 return !cs[0] && !zero.x; 10316 7910 #endif 10317 7911 … … 10320 7914 } 10321 7915 _ACEOF 10322 rm -f conftest.$ac_objext 10323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10324 (eval $ac_compile) 2>conftest.er1 10325 ac_status=$? 10326 grep -v '^ *+' conftest.er1 >conftest.err 10327 rm -f conftest.er1 10328 cat conftest.err >&5 10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10330 (exit $ac_status); } && 10331 { ac_try='test -z "$ac_c_werror_flag" 10332 || test ! -s conftest.err' 10333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10334 (eval $ac_try) 2>&5 10335 ac_status=$? 10336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10337 (exit $ac_status); }; } && 10338 { ac_try='test -s conftest.$ac_objext' 10339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10340 (eval $ac_try) 2>&5 10341 ac_status=$? 10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10343 (exit $ac_status); }; }; then 7916 if ac_fn_c_try_compile "$LINENO"; then : 10344 7917 ac_cv_c_const=yes 10345 7918 else 10346 echo "$as_me: failed program was:" >&5 10347 sed 's/^/| /' conftest.$ac_ext >&5 10348 10349 ac_cv_c_const=no 10350 fi 10351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10352 fi 10353 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 10354 echo "${ECHO_T}$ac_cv_c_const" >&6 7919 ac_cv_c_const=no 7920 fi 7921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7922 fi 7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 7924 $as_echo "$ac_cv_c_const" >&6; } 10355 7925 if test $ac_cv_c_const = no; then 10356 7926 10357 cat >>confdefs.h <<\_ACEOF 10358 #define const 7927 $as_echo "#define const /**/" >>confdefs.h 7928 7929 fi 7930 7931 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 7932 if test "x$ac_cv_type_size_t" = xyes; then : 7933 7934 else 7935 7936 cat >>confdefs.h <<_ACEOF 7937 #define size_t unsigned int 10359 7938 _ACEOF 10360 7939 10361 7940 fi 10362 7941 10363 echo "$as_me:$LINENO: checking for size_t" >&5 10364 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 10365 if test "${ac_cv_type_size_t+set}" = set; then 10366 echo $ECHO_N "(cached) $ECHO_C" >&6 10367 else 10368 cat >conftest.$ac_ext <<_ACEOF 10369 /* confdefs.h. */ 10370 _ACEOF 10371 cat confdefs.h >>conftest.$ac_ext 10372 cat >>conftest.$ac_ext <<_ACEOF 7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 7943 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 7944 if ${ac_cv_struct_tm+:} false; then : 7945 $as_echo_n "(cached) " >&6 7946 else 7947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10373 7948 /* end confdefs.h. */ 10374 $ac_includes_default 7949 #include <sys/types.h> 7950 #include <time.h> 7951 10375 7952 int 10376 7953 main () 10377 7954 { 10378 if ((size_t *) 0) 10379 return 0; 10380 if (sizeof (size_t)) 10381 return 0; 7955 struct tm tm; 7956 int *p = &tm.tm_sec; 7957 return !p; 10382 7958 ; 10383 7959 return 0; 10384 7960 } 10385 7961 _ACEOF 10386 rm -f conftest.$ac_objext 10387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10388 (eval $ac_compile) 2>conftest.er1 10389 ac_status=$? 10390 grep -v '^ *+' conftest.er1 >conftest.err 10391 rm -f conftest.er1 10392 cat conftest.err >&5 10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10394 (exit $ac_status); } && 10395 { ac_try='test -z "$ac_c_werror_flag" 10396 || test ! -s conftest.err' 10397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10398 (eval $ac_try) 2>&5 10399 ac_status=$? 10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10401 (exit $ac_status); }; } && 10402 { ac_try='test -s conftest.$ac_objext' 10403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10404 (eval $ac_try) 2>&5 10405 ac_status=$? 10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10407 (exit $ac_status); }; }; then 10408 ac_cv_type_size_t=yes 10409 else 10410 echo "$as_me: failed program was:" >&5 10411 sed 's/^/| /' conftest.$ac_ext >&5 10412 10413 ac_cv_type_size_t=no 10414 fi 10415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10416 fi 10417 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 10418 echo "${ECHO_T}$ac_cv_type_size_t" >&6 10419 if test $ac_cv_type_size_t = yes; then 10420 : 10421 else 10422 10423 cat >>confdefs.h <<_ACEOF 10424 #define size_t unsigned 10425 _ACEOF 10426 10427 fi 10428 10429 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 10430 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 10431 if test "${ac_cv_struct_tm+set}" = set; then 10432 echo $ECHO_N "(cached) $ECHO_C" >&6 10433 else 10434 cat >conftest.$ac_ext <<_ACEOF 10435 /* confdefs.h. */ 10436 _ACEOF 10437 cat confdefs.h >>conftest.$ac_ext 10438 cat >>conftest.$ac_ext <<_ACEOF 7962 if ac_fn_c_try_compile "$LINENO"; then : 7963 ac_cv_struct_tm=time.h 7964 else 7965 ac_cv_struct_tm=sys/time.h 7966 fi 7967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7968 fi 7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 7970 $as_echo "$ac_cv_struct_tm" >&6; } 7971 if test $ac_cv_struct_tm = sys/time.h; then 7972 7973 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 7974 7975 fi 7976 7977 7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 7979 $as_echo_n "checking return type of signal handlers... " >&6; } 7980 if ${ac_cv_type_signal+:} false; then : 7981 $as_echo_n "(cached) " >&6 7982 else 7983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10439 7984 /* end confdefs.h. */ 10440 7985 #include <sys/types.h> 10441 #include < time.h>7986 #include <signal.h> 10442 7987 10443 7988 int 10444 7989 main () 10445 7990 { 10446 struct tm *tp; tp->tm_sec;7991 return *(signal (0, 0)) (0) == 1; 10447 7992 ; 10448 7993 return 0; 10449 7994 } 10450 7995 _ACEOF 10451 rm -f conftest.$ac_objext 10452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10453 (eval $ac_compile) 2>conftest.er1 10454 ac_status=$? 10455 grep -v '^ *+' conftest.er1 >conftest.err 10456 rm -f conftest.er1 10457 cat conftest.err >&5 10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10459 (exit $ac_status); } && 10460 { ac_try='test -z "$ac_c_werror_flag" 10461 || test ! -s conftest.err' 10462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10463 (eval $ac_try) 2>&5 10464 ac_status=$? 10465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10466 (exit $ac_status); }; } && 10467 { ac_try='test -s conftest.$ac_objext' 10468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10469 (eval $ac_try) 2>&5 10470 ac_status=$? 10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10472 (exit $ac_status); }; }; then 10473 ac_cv_struct_tm=time.h 10474 else 10475 echo "$as_me: failed program was:" >&5 10476 sed 's/^/| /' conftest.$ac_ext >&5 10477 10478 ac_cv_struct_tm=sys/time.h 10479 fi 10480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10481 fi 10482 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 10483 echo "${ECHO_T}$ac_cv_struct_tm" >&6 10484 if test $ac_cv_struct_tm = sys/time.h; then 10485 10486 cat >>confdefs.h <<\_ACEOF 10487 #define TM_IN_SYS_TIME 1 7996 if ac_fn_c_try_compile "$LINENO"; then : 7997 ac_cv_type_signal=int 7998 else 7999 ac_cv_type_signal=void 8000 fi 8001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8002 fi 8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 8004 $as_echo "$ac_cv_type_signal" >&6; } 8005 8006 cat >>confdefs.h <<_ACEOF 8007 #define RETSIGTYPE $ac_cv_type_signal 10488 8008 _ACEOF 10489 8009 10490 fi 10491 10492 10493 echo "$as_me:$LINENO: checking return type of signal handlers" >&5 10494 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 10495 if test "${ac_cv_type_signal+set}" = set; then 10496 echo $ECHO_N "(cached) $ECHO_C" >&6 10497 else 10498 cat >conftest.$ac_ext <<_ACEOF 10499 /* confdefs.h. */ 8010 8011 for ac_func in vprintf 8012 do : 8013 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 8014 if test "x$ac_cv_func_vprintf" = xyes; then : 8015 cat >>confdefs.h <<_ACEOF 8016 #define HAVE_VPRINTF 1 10500 8017 _ACEOF 10501 cat confdefs.h >>conftest.$ac_ext 10502 cat >>conftest.$ac_ext <<_ACEOF 8018 8019 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 8020 if test "x$ac_cv_func__doprnt" = xyes; then : 8021 8022 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 8023 8024 fi 8025 8026 fi 8027 done 8028 8029 8030 for ac_func in strerror sigfillset signal system getpwuid geteuid 8031 do : 8032 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8033 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 8034 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 8035 cat >>confdefs.h <<_ACEOF 8036 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8037 _ACEOF 8038 8039 fi 8040 done 8041 8042 for ac_func in gethostname time ctime 8043 do : 8044 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 8046 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 8047 cat >>confdefs.h <<_ACEOF 8048 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8049 _ACEOF 8050 8051 fi 8052 done 8053 8054 for ac_func in setrlimit setenv 8055 do : 8056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 8058 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 8059 cat >>confdefs.h <<_ACEOF 8060 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8061 _ACEOF 8062 8063 fi 8064 done 8065 8066 8067 8068 ac_ext=cpp 8069 ac_cpp='$CXXCPP $CPPFLAGS' 8070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8073 8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking isnan and iostream" >&5 8075 $as_echo_n "checking isnan and iostream... " >&6; } 8076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10503 8077 /* end confdefs.h. */ 10504 #include <sys/types.h> 10505 #include <signal.h> 10506 #ifdef signal 10507 # undef signal 10508 #endif 10509 #ifdef __cplusplus 10510 extern "C" void (*signal (int, void (*)(int)))(int); 10511 #else 10512 void (*signal ()) (); 10513 #endif 8078 8079 #include <iostream> 8080 #include <math.h> 8081 int main(int,char**) { isnan(1.0); return 0; } 10514 8082 10515 8083 int 10516 8084 main () 10517 8085 { 10518 int i; 8086 10519 8087 ; 10520 8088 return 0; 10521 8089 } 10522 8090 _ACEOF 10523 rm -f conftest.$ac_objext 10524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10525 (eval $ac_compile) 2>conftest.er1 10526 ac_status=$? 10527 grep -v '^ *+' conftest.er1 >conftest.err 10528 rm -f conftest.er1 10529 cat conftest.err >&5 10530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10531 (exit $ac_status); } && 10532 { ac_try='test -z "$ac_c_werror_flag" 10533 || test ! -s conftest.err' 10534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10535 (eval $ac_try) 2>&5 10536 ac_status=$? 10537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10538 (exit $ac_status); }; } && 10539 { ac_try='test -s conftest.$ac_objext' 10540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10541 (eval $ac_try) 2>&5 10542 ac_status=$? 10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10544 (exit $ac_status); }; }; then 10545 ac_cv_type_signal=void 10546 else 10547 echo "$as_me: failed program was:" >&5 10548 sed 's/^/| /' conftest.$ac_ext >&5 10549 10550 ac_cv_type_signal=int 10551 fi 10552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10553 fi 10554 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 10555 echo "${ECHO_T}$ac_cv_type_signal" >&6 10556 10557 cat >>confdefs.h <<_ACEOF 10558 #define RETSIGTYPE $ac_cv_type_signal 10559 _ACEOF 10560 10561 10562 10563 for ac_func in vprintf 10564 do 10565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10566 echo "$as_me:$LINENO: checking for $ac_func" >&5 10567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10568 if eval "test \"\${$as_ac_var+set}\" = set"; then 10569 echo $ECHO_N "(cached) $ECHO_C" >&6 10570 else 10571 cat >conftest.$ac_ext <<_ACEOF 10572 /* confdefs.h. */ 10573 _ACEOF 10574 cat confdefs.h >>conftest.$ac_ext 10575 cat >>conftest.$ac_ext <<_ACEOF 10576 /* end confdefs.h. */ 10577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 10578 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10579 #define $ac_func innocuous_$ac_func 10580 10581 /* System header to define __stub macros and hopefully few prototypes, 10582 which can conflict with char $ac_func (); below. 10583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10584 <limits.h> exists even on freestanding compilers. */ 10585 10586 #ifdef __STDC__ 10587 # include <limits.h> 10588 #else 10589 # include <assert.h> 10590 #endif 10591 10592 #undef $ac_func 10593 10594 /* Override any gcc2 internal prototype to avoid an error. */ 10595 #ifdef __cplusplus 10596 extern "C" 10597 { 10598 #endif 10599 /* We use char because int might match the return type of a gcc2 10600 builtin and then its argument prototype would still apply. */ 10601 char $ac_func (); 10602 /* The GNU C library defines this for functions which it implements 10603 to always fail with ENOSYS. Some functions are actually named 10604 something starting with __ and the normal name is an alias. */ 10605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 10606 choke me 10607 #else 10608 char (*f) () = $ac_func; 10609 #endif 10610 #ifdef __cplusplus 10611 } 10612 #endif 10613 10614 int 10615 main () 10616 { 10617 return f != $ac_func; 10618 ; 10619 return 0; 10620 } 10621 _ACEOF 10622 rm -f conftest.$ac_objext conftest$ac_exeext 10623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10624 (eval $ac_link) 2>conftest.er1 10625 ac_status=$? 10626 grep -v '^ *+' conftest.er1 >conftest.err 10627 rm -f conftest.er1 10628 cat conftest.err >&5 10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10630 (exit $ac_status); } && 10631 { ac_try='test -z "$ac_c_werror_flag" 10632 || test ! -s conftest.err' 10633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10634 (eval $ac_try) 2>&5 10635 ac_status=$? 10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10637 (exit $ac_status); }; } && 10638 { ac_try='test -s conftest$ac_exeext' 10639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10640 (eval $ac_try) 2>&5 10641 ac_status=$? 10642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10643 (exit $ac_status); }; }; then 10644 eval "$as_ac_var=yes" 10645 else 10646 echo "$as_me: failed program was:" >&5 10647 sed 's/^/| /' conftest.$ac_ext >&5 10648 10649 eval "$as_ac_var=no" 10650 fi 10651 rm -f conftest.err conftest.$ac_objext \ 10652 conftest$ac_exeext conftest.$ac_ext 10653 fi 10654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 10655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10656 if test `eval echo '${'$as_ac_var'}'` = yes; then 10657 cat >>confdefs.h <<_ACEOF 10658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10659 _ACEOF 10660 10661 echo "$as_me:$LINENO: checking for _doprnt" >&5 10662 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 10663 if test "${ac_cv_func__doprnt+set}" = set; then 10664 echo $ECHO_N "(cached) $ECHO_C" >&6 10665 else 10666 cat >conftest.$ac_ext <<_ACEOF 10667 /* confdefs.h. */ 10668 _ACEOF 10669 cat confdefs.h >>conftest.$ac_ext 10670 cat >>conftest.$ac_ext <<_ACEOF 10671 /* end confdefs.h. */ 10672 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. 10673 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10674 #define _doprnt innocuous__doprnt 10675 10676 /* System header to define __stub macros and hopefully few prototypes, 10677 which can conflict with char _doprnt (); below. 10678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10679 <limits.h> exists even on freestanding compilers. */ 10680 10681 #ifdef __STDC__ 10682 # include <limits.h> 10683 #else 10684 # include <assert.h> 10685 #endif 10686 10687 #undef _doprnt 10688 10689 /* Override any gcc2 internal prototype to avoid an error. */ 10690 #ifdef __cplusplus 10691 extern "C" 10692 { 10693 #endif 10694 /* We use char because int might match the return type of a gcc2 10695 builtin and then its argument prototype would still apply. */ 10696 char _doprnt (); 10697 /* The GNU C library defines this for functions which it implements 10698 to always fail with ENOSYS. Some functions are actually named 10699 something starting with __ and the normal name is an alias. */ 10700 #if defined (__stub__doprnt) || defined (__stub____doprnt) 10701 choke me 10702 #else 10703 char (*f) () = _doprnt; 10704 #endif 10705 #ifdef __cplusplus 10706 } 10707 #endif 10708 10709 int 10710 main () 10711 { 10712 return f != _doprnt; 10713 ; 10714 return 0; 10715 } 10716 _ACEOF 10717 rm -f conftest.$ac_objext conftest$ac_exeext 10718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10719 (eval $ac_link) 2>conftest.er1 10720 ac_status=$? 10721 grep -v '^ *+' conftest.er1 >conftest.err 10722 rm -f conftest.er1 10723 cat conftest.err >&5 10724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10725 (exit $ac_status); } && 10726 { ac_try='test -z "$ac_c_werror_flag" 10727 || test ! -s conftest.err' 10728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10729 (eval $ac_try) 2>&5 10730 ac_status=$? 10731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10732 (exit $ac_status); }; } && 10733 { ac_try='test -s conftest$ac_exeext' 10734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10735 (eval $ac_try) 2>&5 10736 ac_status=$? 10737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10738 (exit $ac_status); }; }; then 10739 ac_cv_func__doprnt=yes 10740 else 10741 echo "$as_me: failed program was:" >&5 10742 sed 's/^/| /' conftest.$ac_ext >&5 10743 10744 ac_cv_func__doprnt=no 10745 fi 10746 rm -f conftest.err conftest.$ac_objext \ 10747 conftest$ac_exeext conftest.$ac_ext 10748 fi 10749 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 10750 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 10751 if test $ac_cv_func__doprnt = yes; then 10752 10753 cat >>confdefs.h <<\_ACEOF 10754 #define HAVE_DOPRNT 1 10755 _ACEOF 10756 10757 fi 10758 10759 fi 10760 done 10761 10762 10763 10764 10765 10766 10767 10768 10769 for ac_func in strerror sigfillset signal system getpwuid geteuid 10770 do 10771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10772 echo "$as_me:$LINENO: checking for $ac_func" >&5 10773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10774 if eval "test \"\${$as_ac_var+set}\" = set"; then 10775 echo $ECHO_N "(cached) $ECHO_C" >&6 10776 else 10777 cat >conftest.$ac_ext <<_ACEOF 10778 /* confdefs.h. */ 10779 _ACEOF 10780 cat confdefs.h >>conftest.$ac_ext 10781 cat >>conftest.$ac_ext <<_ACEOF 10782 /* end confdefs.h. */ 10783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 10784 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10785 #define $ac_func innocuous_$ac_func 10786 10787 /* System header to define __stub macros and hopefully few prototypes, 10788 which can conflict with char $ac_func (); below. 10789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10790 <limits.h> exists even on freestanding compilers. */ 10791 10792 #ifdef __STDC__ 10793 # include <limits.h> 10794 #else 10795 # include <assert.h> 10796 #endif 10797 10798 #undef $ac_func 10799 10800 /* Override any gcc2 internal prototype to avoid an error. */ 10801 #ifdef __cplusplus 10802 extern "C" 10803 { 10804 #endif 10805 /* We use char because int might match the return type of a gcc2 10806 builtin and then its argument prototype would still apply. */ 10807 char $ac_func (); 10808 /* The GNU C library defines this for functions which it implements 10809 to always fail with ENOSYS. Some functions are actually named 10810 something starting with __ and the normal name is an alias. */ 10811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 10812 choke me 10813 #else 10814 char (*f) () = $ac_func; 10815 #endif 10816 #ifdef __cplusplus 10817 } 10818 #endif 10819 10820 int 10821 main () 10822 { 10823 return f != $ac_func; 10824 ; 10825 return 0; 10826 } 10827 _ACEOF 10828 rm -f conftest.$ac_objext conftest$ac_exeext 10829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10830 (eval $ac_link) 2>conftest.er1 10831 ac_status=$? 10832 grep -v '^ *+' conftest.er1 >conftest.err 10833 rm -f conftest.er1 10834 cat conftest.err >&5 10835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10836 (exit $ac_status); } && 10837 { ac_try='test -z "$ac_c_werror_flag" 10838 || test ! -s conftest.err' 10839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10840 (eval $ac_try) 2>&5 10841 ac_status=$? 10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10843 (exit $ac_status); }; } && 10844 { ac_try='test -s conftest$ac_exeext' 10845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10846 (eval $ac_try) 2>&5 10847 ac_status=$? 10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10849 (exit $ac_status); }; }; then 10850 eval "$as_ac_var=yes" 10851 else 10852 echo "$as_me: failed program was:" >&5 10853 sed 's/^/| /' conftest.$ac_ext >&5 10854 10855 eval "$as_ac_var=no" 10856 fi 10857 rm -f conftest.err conftest.$ac_objext \ 10858 conftest$ac_exeext conftest.$ac_ext 10859 fi 10860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 10861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10862 if test `eval echo '${'$as_ac_var'}'` = yes; then 10863 cat >>confdefs.h <<_ACEOF 10864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10865 _ACEOF 10866 10867 fi 10868 done 10869 10870 10871 10872 10873 for ac_func in gethostname time ctime 10874 do 10875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10876 echo "$as_me:$LINENO: checking for $ac_func" >&5 10877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10878 if eval "test \"\${$as_ac_var+set}\" = set"; then 10879 echo $ECHO_N "(cached) $ECHO_C" >&6 10880 else 10881 cat >conftest.$ac_ext <<_ACEOF 10882 /* confdefs.h. */ 10883 _ACEOF 10884 cat confdefs.h >>conftest.$ac_ext 10885 cat >>conftest.$ac_ext <<_ACEOF 10886 /* end confdefs.h. */ 10887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 10888 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10889 #define $ac_func innocuous_$ac_func 10890 10891 /* System header to define __stub macros and hopefully few prototypes, 10892 which can conflict with char $ac_func (); below. 10893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10894 <limits.h> exists even on freestanding compilers. */ 10895 10896 #ifdef __STDC__ 10897 # include <limits.h> 10898 #else 10899 # include <assert.h> 10900 #endif 10901 10902 #undef $ac_func 10903 10904 /* Override any gcc2 internal prototype to avoid an error. */ 10905 #ifdef __cplusplus 10906 extern "C" 10907 { 10908 #endif 10909 /* We use char because int might match the return type of a gcc2 10910 builtin and then its argument prototype would still apply. */ 10911 char $ac_func (); 10912 /* The GNU C library defines this for functions which it implements 10913 to always fail with ENOSYS. Some functions are actually named 10914 something starting with __ and the normal name is an alias. */ 10915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 10916 choke me 10917 #else 10918 char (*f) () = $ac_func; 10919 #endif 10920 #ifdef __cplusplus 10921 } 10922 #endif 10923 10924 int 10925 main () 10926 { 10927 return f != $ac_func; 10928 ; 10929 return 0; 10930 } 10931 _ACEOF 10932 rm -f conftest.$ac_objext conftest$ac_exeext 10933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10934 (eval $ac_link) 2>conftest.er1 10935 ac_status=$? 10936 grep -v '^ *+' conftest.er1 >conftest.err 10937 rm -f conftest.er1 10938 cat conftest.err >&5 10939 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10940 (exit $ac_status); } && 10941 { ac_try='test -z "$ac_c_werror_flag" 10942 || test ! -s conftest.err' 10943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10944 (eval $ac_try) 2>&5 10945 ac_status=$? 10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10947 (exit $ac_status); }; } && 10948 { ac_try='test -s conftest$ac_exeext' 10949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10950 (eval $ac_try) 2>&5 10951 ac_status=$? 10952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10953 (exit $ac_status); }; }; then 10954 eval "$as_ac_var=yes" 10955 else 10956 echo "$as_me: failed program was:" >&5 10957 sed 's/^/| /' conftest.$ac_ext >&5 10958 10959 eval "$as_ac_var=no" 10960 fi 10961 rm -f conftest.err conftest.$ac_objext \ 10962 conftest$ac_exeext conftest.$ac_ext 10963 fi 10964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 10965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10966 if test `eval echo '${'$as_ac_var'}'` = yes; then 10967 cat >>confdefs.h <<_ACEOF 10968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10969 _ACEOF 10970 10971 fi 10972 done 10973 10974 10975 10976 for ac_func in setrlimit setenv 10977 do 10978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10979 echo "$as_me:$LINENO: checking for $ac_func" >&5 10980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10981 if eval "test \"\${$as_ac_var+set}\" = set"; then 10982 echo $ECHO_N "(cached) $ECHO_C" >&6 10983 else 10984 cat >conftest.$ac_ext <<_ACEOF 10985 /* confdefs.h. */ 10986 _ACEOF 10987 cat confdefs.h >>conftest.$ac_ext 10988 cat >>conftest.$ac_ext <<_ACEOF 10989 /* end confdefs.h. */ 10990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 10991 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10992 #define $ac_func innocuous_$ac_func 10993 10994 /* System header to define __stub macros and hopefully few prototypes, 10995 which can conflict with char $ac_func (); below. 10996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10997 <limits.h> exists even on freestanding compilers. */ 10998 10999 #ifdef __STDC__ 11000 # include <limits.h> 11001 #else 11002 # include <assert.h> 11003 #endif 11004 11005 #undef $ac_func 11006 11007 /* Override any gcc2 internal prototype to avoid an error. */ 11008 #ifdef __cplusplus 11009 extern "C" 11010 { 11011 #endif 11012 /* We use char because int might match the return type of a gcc2 11013 builtin and then its argument prototype would still apply. */ 11014 char $ac_func (); 11015 /* The GNU C library defines this for functions which it implements 11016 to always fail with ENOSYS. Some functions are actually named 11017 something starting with __ and the normal name is an alias. */ 11018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 11019 choke me 11020 #else 11021 char (*f) () = $ac_func; 11022 #endif 11023 #ifdef __cplusplus 11024 } 11025 #endif 11026 11027 int 11028 main () 11029 { 11030 return f != $ac_func; 11031 ; 11032 return 0; 11033 } 11034 _ACEOF 11035 rm -f conftest.$ac_objext conftest$ac_exeext 11036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11037 (eval $ac_link) 2>conftest.er1 11038 ac_status=$? 11039 grep -v '^ *+' conftest.er1 >conftest.err 11040 rm -f conftest.er1 11041 cat conftest.err >&5 11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11043 (exit $ac_status); } && 11044 { ac_try='test -z "$ac_c_werror_flag" 11045 || test ! -s conftest.err' 11046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11047 (eval $ac_try) 2>&5 11048 ac_status=$? 11049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11050 (exit $ac_status); }; } && 11051 { ac_try='test -s conftest$ac_exeext' 11052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11053 (eval $ac_try) 2>&5 11054 ac_status=$? 11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11056 (exit $ac_status); }; }; then 11057 eval "$as_ac_var=yes" 11058 else 11059 echo "$as_me: failed program was:" >&5 11060 sed 's/^/| /' conftest.$ac_ext >&5 11061 11062 eval "$as_ac_var=no" 11063 fi 11064 rm -f conftest.err conftest.$ac_objext \ 11065 conftest$ac_exeext conftest.$ac_ext 11066 fi 11067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 11068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11069 if test `eval echo '${'$as_ac_var'}'` = yes; then 11070 cat >>confdefs.h <<_ACEOF 11071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11072 _ACEOF 11073 11074 fi 11075 done 11076 11077 11078 11079 11080 ac_ext=cc 11081 ac_cpp='$CXXCPP $CPPFLAGS' 11082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 11085 11086 echo "$as_me:$LINENO: checking isnan and iostream" >&5 11087 echo $ECHO_N "checking isnan and iostream... $ECHO_C" >&6 11088 cat >conftest.$ac_ext <<_ACEOF 11089 11090 #include <iostream> 11091 #include <math.h> 11092 int main(int,char**) { isnan(1.0); return 0; } 11093 11094 _ACEOF 11095 rm -f conftest.$ac_objext conftest$ac_exeext 11096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11097 (eval $ac_link) 2>conftest.er1 11098 ac_status=$? 11099 grep -v '^ *+' conftest.er1 >conftest.err 11100 rm -f conftest.er1 11101 cat conftest.err >&5 11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11103 (exit $ac_status); } && 11104 { ac_try='test -z "$ac_cxx_werror_flag" 11105 || test ! -s conftest.err' 11106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11107 (eval $ac_try) 2>&5 11108 ac_status=$? 11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11110 (exit $ac_status); }; } && 11111 { ac_try='test -s conftest$ac_exeext' 11112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11113 (eval $ac_try) 2>&5 11114 ac_status=$? 11115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11116 (exit $ac_status); }; }; then 11117 cat >>confdefs.h <<\_ACEOF 11118 #define HAVE_ISNAN 1 11119 _ACEOF 11120 11121 echo "$as_me:$LINENO: result: yes" >&5 11122 echo "${ECHO_T}yes" >&6 11123 else 11124 echo "$as_me: failed program was:" >&5 11125 sed 's/^/| /' conftest.$ac_ext >&5 11126 11127 echo "$as_me:$LINENO: result: no" >&5 11128 echo "${ECHO_T}no" >&6 11129 11130 fi 11131 rm -f conftest.err conftest.$ac_objext \ 11132 conftest$ac_exeext conftest.$ac_ext 8091 if ac_fn_cxx_try_link "$LINENO"; then : 8092 8093 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h 8094 8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8096 $as_echo "yes" >&6; } 8097 else 8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8099 $as_echo "no" >&6; } 8100 8101 fi 8102 rm -f core conftest.err conftest.$ac_objext \ 8103 conftest$ac_exeext conftest.$ac_ext 11133 8104 ac_ext=c 11134 8105 ac_cpp='$CPP $CPPFLAGS' … … 11139 8110 11140 8111 11141 11142 8112 for ac_header in fenv.h 11143 do 11144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11145 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11146 echo "$as_me:$LINENO: checking for $ac_header" >&5 11147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11148 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11149 echo $ECHO_N "(cached) $ECHO_C" >&6 11150 fi 11151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 11152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11153 else 11154 # Is the header compilable? 11155 echo "$as_me:$LINENO: checking $ac_header usability" >&5 11156 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 11157 cat >conftest.$ac_ext <<_ACEOF 11158 /* confdefs.h. */ 8113 do : 8114 ac_fn_c_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default" 8115 if test "x$ac_cv_header_fenv_h" = xyes; then : 8116 cat >>confdefs.h <<_ACEOF 8117 #define HAVE_FENV_H 1 11159 8118 _ACEOF 11160 cat confdefs.h >>conftest.$ac_ext 11161 cat >>conftest.$ac_ext <<_ACEOF 11162 /* end confdefs.h. */ 11163 $ac_includes_default 11164 #include <$ac_header> 8119 8120 fi 8121 8122 done 8123 8124 for ac_func in feenableexcept fedisableexcept 8125 do : 8126 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8127 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 8128 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 8129 cat >>confdefs.h <<_ACEOF 8130 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11165 8131 _ACEOF 11166 rm -f conftest.$ac_objext 11167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11168 (eval $ac_compile) 2>conftest.er1 11169 ac_status=$? 11170 grep -v '^ *+' conftest.er1 >conftest.err 11171 rm -f conftest.er1 11172 cat conftest.err >&5 11173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11174 (exit $ac_status); } && 11175 { ac_try='test -z "$ac_c_werror_flag" 11176 || test ! -s conftest.err' 11177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11178 (eval $ac_try) 2>&5 11179 ac_status=$? 11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11181 (exit $ac_status); }; } && 11182 { ac_try='test -s conftest.$ac_objext' 11183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11184 (eval $ac_try) 2>&5 11185 ac_status=$? 11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11187 (exit $ac_status); }; }; then 11188 ac_header_compiler=yes 11189 else 11190 echo "$as_me: failed program was:" >&5 11191 sed 's/^/| /' conftest.$ac_ext >&5 11192 11193 ac_header_compiler=no 11194 fi 11195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11196 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11197 echo "${ECHO_T}$ac_header_compiler" >&6 11198 11199 # Is the header present? 11200 echo "$as_me:$LINENO: checking $ac_header presence" >&5 11201 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 11202 cat >conftest.$ac_ext <<_ACEOF 11203 /* confdefs.h. */ 11204 _ACEOF 11205 cat confdefs.h >>conftest.$ac_ext 11206 cat >>conftest.$ac_ext <<_ACEOF 11207 /* end confdefs.h. */ 11208 #include <$ac_header> 11209 _ACEOF 11210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11211 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11212 ac_status=$? 11213 grep -v '^ *+' conftest.er1 >conftest.err 11214 rm -f conftest.er1 11215 cat conftest.err >&5 11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11217 (exit $ac_status); } >/dev/null; then 11218 if test -s conftest.err; then 11219 ac_cpp_err=$ac_c_preproc_warn_flag 11220 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 11221 else 11222 ac_cpp_err= 11223 fi 11224 else 11225 ac_cpp_err=yes 11226 fi 11227 if test -z "$ac_cpp_err"; then 11228 ac_header_preproc=yes 11229 else 11230 echo "$as_me: failed program was:" >&5 11231 sed 's/^/| /' conftest.$ac_ext >&5 11232 11233 ac_header_preproc=no 11234 fi 11235 rm -f conftest.err conftest.$ac_ext 11236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11237 echo "${ECHO_T}$ac_header_preproc" >&6 11238 11239 # So? What about this header? 11240 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11241 yes:no: ) 11242 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11243 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11244 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11245 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11246 ac_header_preproc=yes 11247 ;; 11248 no:yes:* ) 11249 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11250 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11251 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11252 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11253 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11254 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11255 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11256 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11258 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11259 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11260 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11261 ( 11262 cat <<\_ASBOX 11263 ## ------------------------------------------ ## 11264 ## Report this to the AC_PACKAGE_NAME lists. ## 11265 ## ------------------------------------------ ## 11266 _ASBOX 11267 ) | 11268 sed "s/^/$as_me: WARNING: /" >&2 11269 ;; 11270 esac 11271 echo "$as_me:$LINENO: checking for $ac_header" >&5 11272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11273 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11274 echo $ECHO_N "(cached) $ECHO_C" >&6 11275 else 11276 eval "$as_ac_Header=\$ac_header_preproc" 11277 fi 11278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 11279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11280 11281 fi 11282 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11283 cat >>confdefs.h <<_ACEOF 11284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11285 _ACEOF 11286 11287 fi 11288 8132 8133 fi 11289 8134 done 11290 8135 11291 8136 11292 8137 11293 for ac_func in feenableexcept fedisableexcept 11294 do 11295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11296 echo "$as_me:$LINENO: checking for $ac_func" >&5 11297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11298 if eval "test \"\${$as_ac_var+set}\" = set"; then 11299 echo $ECHO_N "(cached) $ECHO_C" >&6 11300 else 11301 cat >conftest.$ac_ext <<_ACEOF 11302 /* confdefs.h. */ 11303 _ACEOF 11304 cat confdefs.h >>conftest.$ac_ext 11305 cat >>conftest.$ac_ext <<_ACEOF 11306 /* end confdefs.h. */ 11307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 11308 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 11309 #define $ac_func innocuous_$ac_func 11310 11311 /* System header to define __stub macros and hopefully few prototypes, 11312 which can conflict with char $ac_func (); below. 11313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11314 <limits.h> exists even on freestanding compilers. */ 11315 11316 #ifdef __STDC__ 11317 # include <limits.h> 11318 #else 11319 # include <assert.h> 11320 #endif 11321 11322 #undef $ac_func 11323 11324 /* Override any gcc2 internal prototype to avoid an error. */ 11325 #ifdef __cplusplus 11326 extern "C" 11327 { 11328 #endif 11329 /* We use char because int might match the return type of a gcc2 11330 builtin and then its argument prototype would still apply. */ 11331 char $ac_func (); 11332 /* The GNU C library defines this for functions which it implements 11333 to always fail with ENOSYS. Some functions are actually named 11334 something starting with __ and the normal name is an alias. */ 11335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 11336 choke me 11337 #else 11338 char (*f) () = $ac_func; 11339 #endif 11340 #ifdef __cplusplus 11341 } 11342 #endif 11343 11344 int 11345 main () 11346 { 11347 return f != $ac_func; 11348 ; 11349 return 0; 11350 } 11351 _ACEOF 11352 rm -f conftest.$ac_objext conftest$ac_exeext 11353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11354 (eval $ac_link) 2>conftest.er1 11355 ac_status=$? 11356 grep -v '^ *+' conftest.er1 >conftest.err 11357 rm -f conftest.er1 11358 cat conftest.err >&5 11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11360 (exit $ac_status); } && 11361 { ac_try='test -z "$ac_c_werror_flag" 11362 || test ! -s conftest.err' 11363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11364 (eval $ac_try) 2>&5 11365 ac_status=$? 11366 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11367 (exit $ac_status); }; } && 11368 { ac_try='test -s conftest$ac_exeext' 11369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11370 (eval $ac_try) 2>&5 11371 ac_status=$? 11372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11373 (exit $ac_status); }; }; then 11374 eval "$as_ac_var=yes" 11375 else 11376 echo "$as_me: failed program was:" >&5 11377 sed 's/^/| /' conftest.$ac_ext >&5 11378 11379 eval "$as_ac_var=no" 11380 fi 11381 rm -f conftest.err conftest.$ac_objext \ 11382 conftest$ac_exeext conftest.$ac_ext 11383 fi 11384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 11385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11386 if test `eval echo '${'$as_ac_var'}'` = yes; then 11387 cat >>confdefs.h <<_ACEOF 11388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11389 _ACEOF 11390 11391 fi 11392 done 11393 11394 11395 11396 11397 ac_ext=cc 8138 ac_ext=cpp 11398 8139 ac_cpp='$CXXCPP $CPPFLAGS' 11399 8140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 11401 8142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 11402 8143 11403 echo "$as_me:$LINENO: checking fchdir" >&5 11404 echo $ECHO_N "checking fchdir... $ECHO_C" >&6 11405 cat >conftest.$ac_ext <<_ACEOF 11406 /* confdefs.h. */ 11407 _ACEOF 11408 cat confdefs.h >>conftest.$ac_ext 11409 cat >>conftest.$ac_ext <<_ACEOF 8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking fchdir" >&5 8145 $as_echo_n "checking fchdir... " >&6; } 8146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11410 8147 /* end confdefs.h. */ 11411 8148 #include <unistd.h> … … 11420 8157 } 11421 8158 _ACEOF 11422 rm -f conftest.$ac_objext 11423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11424 (eval $ac_compile) 2>conftest.er1 11425 ac_status=$? 11426 grep -v '^ *+' conftest.er1 >conftest.err 11427 rm -f conftest.er1 11428 cat conftest.err >&5 11429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11430 (exit $ac_status); } && 11431 { ac_try='test -z "$ac_cxx_werror_flag" 11432 || test ! -s conftest.err' 11433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11434 (eval $ac_try) 2>&5 11435 ac_status=$? 11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11437 (exit $ac_status); }; } && 11438 { ac_try='test -s conftest.$ac_objext' 11439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11440 (eval $ac_try) 2>&5 11441 ac_status=$? 11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11443 (exit $ac_status); }; }; then 8159 if ac_fn_cxx_try_compile "$LINENO"; then : 11444 8160 HAVE_FCHDIR=yes 11445 cat >>confdefs.h <<\_ACEOF 11446 #define HAVE_FCHDIR 1 11447 _ACEOF 11448 11449 echo "$as_me:$LINENO: result: yes" >&5 11450 echo "${ECHO_T}yes" >&6 11451 else 11452 echo "$as_me: failed program was:" >&5 11453 sed 's/^/| /' conftest.$ac_ext >&5 11454 11455 11456 echo "$as_me:$LINENO: result: no" >&5 11457 echo "${ECHO_T}no" >&6 8161 8162 $as_echo "#define HAVE_FCHDIR 1" >>confdefs.h 8163 8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8165 $as_echo "yes" >&6; } 8166 else 8167 8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8169 $as_echo "no" >&6; } 11458 8170 HAVE_FCHDIR=no 11459 8171 11460 8172 fi 11461 rm -f co nftest.err conftest.$ac_objext conftest.$ac_ext8173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11462 8174 ac_ext=c 11463 8175 ac_cpp='$CPP $CPPFLAGS' … … 11470 8182 11471 8183 11472 11473 ac_ext=cc 8184 ac_ext=cpp 11474 8185 ac_cpp='$CXXCPP $CPPFLAGS' 11475 8186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 11477 8188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 11478 8189 11479 echo "$as_me:$LINENO: checking ios::fmtflags" >&5 11480 echo $ECHO_N "checking ios::fmtflags... $ECHO_C" >&6 11481 cat >conftest.$ac_ext <<_ACEOF 11482 /* confdefs.h. */ 11483 _ACEOF 11484 cat confdefs.h >>conftest.$ac_ext 11485 cat >>conftest.$ac_ext <<_ACEOF 8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ios::fmtflags" >&5 8191 $as_echo_n "checking ios::fmtflags... " >&6; } 8192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11486 8193 /* end confdefs.h. */ 11487 8194 #include <$iostream> … … 11496 8203 } 11497 8204 _ACEOF 11498 rm -f conftest.$ac_objext 11499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11500 (eval $ac_compile) 2>conftest.er1 11501 ac_status=$? 11502 grep -v '^ *+' conftest.er1 >conftest.err 11503 rm -f conftest.er1 11504 cat conftest.err >&5 11505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11506 (exit $ac_status); } && 11507 { ac_try='test -z "$ac_cxx_werror_flag" 11508 || test ! -s conftest.err' 11509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11510 (eval $ac_try) 2>&5 11511 ac_status=$? 11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11513 (exit $ac_status); }; } && 11514 { ac_try='test -s conftest.$ac_objext' 11515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11516 (eval $ac_try) 2>&5 11517 ac_status=$? 11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11519 (exit $ac_status); }; }; then 8205 if ac_fn_cxx_try_compile "$LINENO"; then : 11520 8206 HAVE_IOS_FMTFLAGS=yes 11521 cat >>confdefs.h <<\_ACEOF 11522 #define HAVE_IOS_FMTFLAGS 1 11523 _ACEOF 11524 11525 echo "$as_me:$LINENO: result: yes" >&5 11526 echo "${ECHO_T}yes" >&6 11527 else 11528 echo "$as_me: failed program was:" >&5 11529 sed 's/^/| /' conftest.$ac_ext >&5 11530 11531 11532 echo "$as_me:$LINENO: result: no" >&5 11533 echo "${ECHO_T}no" >&6 8207 8208 $as_echo "#define HAVE_IOS_FMTFLAGS 1" >>confdefs.h 8209 8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8211 $as_echo "yes" >&6; } 8212 else 8213 8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8215 $as_echo "no" >&6; } 11534 8216 HAVE_IOS_FMTFLAGS=no 11535 8217 11536 8218 fi 11537 rm -f co nftest.err conftest.$ac_objext conftest.$ac_ext8219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11538 8220 ac_ext=c 11539 8221 ac_cpp='$CPP $CPPFLAGS' … … 11547 8229 if test X"$LONGLONG" = Xyes; then 11548 8230 11549 11550 ac_ext=cc 8231 ac_ext=cpp 11551 8232 ac_cpp='$CXXCPP $CPPFLAGS' 11552 8233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 11554 8235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 11555 8236 11556 echo "$as_me:$LINENO: checking long long" >&5 11557 echo $ECHO_N "checking long long... $ECHO_C" >&6 11558 cat >conftest.$ac_ext <<_ACEOF 11559 /* confdefs.h. */ 11560 _ACEOF 11561 cat confdefs.h >>conftest.$ac_ext 11562 cat >>conftest.$ac_ext <<_ACEOF 8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking long long" >&5 8238 $as_echo_n "checking long long... " >&6; } 8239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11563 8240 /* end confdefs.h. */ 11564 8241 … … 11573 8250 } 11574 8251 _ACEOF 11575 rm -f conftest.$ac_objext 11576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11577 (eval $ac_compile) 2>conftest.er1 11578 ac_status=$? 11579 grep -v '^ *+' conftest.er1 >conftest.err 11580 rm -f conftest.er1 11581 cat conftest.err >&5 11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11583 (exit $ac_status); } && 11584 { ac_try='test -z "$ac_cxx_werror_flag" 11585 || test ! -s conftest.err' 11586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11587 (eval $ac_try) 2>&5 11588 ac_status=$? 11589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11590 (exit $ac_status); }; } && 11591 { ac_try='test -s conftest.$ac_objext' 11592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11593 (eval $ac_try) 2>&5 11594 ac_status=$? 11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11596 (exit $ac_status); }; }; then 11597 cat >>confdefs.h <<\_ACEOF 11598 #define HAVE_LONG_LONG 1 11599 _ACEOF 11600 11601 echo "$as_me:$LINENO: result: yes" >&5 11602 echo "${ECHO_T}yes" >&6 11603 else 11604 echo "$as_me: failed program was:" >&5 11605 sed 's/^/| /' conftest.$ac_ext >&5 11606 11607 11608 echo "$as_me:$LINENO: result: no" >&5 11609 echo "${ECHO_T}no" >&6 11610 11611 fi 11612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8252 if ac_fn_cxx_try_compile "$LINENO"; then : 8253 8254 $as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h 8255 8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8257 $as_echo "yes" >&6; } 8258 else 8259 8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8261 $as_echo "no" >&6; } 8262 8263 fi 8264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11613 8265 ac_ext=c 11614 8266 ac_cpp='$CPP $CPPFLAGS' … … 11621 8273 11622 8274 11623 11624 ac_ext=cc 8275 ac_ext=cpp 11625 8276 ac_cpp='$CXXCPP $CPPFLAGS' 11626 8277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 11628 8279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 11629 8280 11630 echo "$as_me:$LINENO: checking sgetn" >&5 11631 echo $ECHO_N "checking sgetn... $ECHO_C" >&6 11632 cat >conftest.$ac_ext <<_ACEOF 11633 /* confdefs.h. */ 11634 _ACEOF 11635 cat confdefs.h >>conftest.$ac_ext 11636 cat >>conftest.$ac_ext <<_ACEOF 8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sgetn" >&5 8282 $as_echo_n "checking sgetn... " >&6; } 8283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11637 8284 /* end confdefs.h. */ 11638 8285 #include <$iostream> … … 11648 8295 } 11649 8296 _ACEOF 11650 rm -f conftest.$ac_objext 11651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11652 (eval $ac_compile) 2>conftest.er1 11653 ac_status=$? 11654 grep -v '^ *+' conftest.er1 >conftest.err 11655 rm -f conftest.er1 11656 cat conftest.err >&5 11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11658 (exit $ac_status); } && 11659 { ac_try='test -z "$ac_cxx_werror_flag" 11660 || test ! -s conftest.err' 11661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11662 (eval $ac_try) 2>&5 11663 ac_status=$? 11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11665 (exit $ac_status); }; } && 11666 { ac_try='test -s conftest.$ac_objext' 11667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11668 (eval $ac_try) 2>&5 11669 ac_status=$? 11670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11671 (exit $ac_status); }; }; then 8297 if ac_fn_cxx_try_compile "$LINENO"; then : 11672 8298 HAVE_SGETN=yes 11673 cat >>confdefs.h <<\_ACEOF 11674 #define HAVE_SGETN 1 11675 _ACEOF 11676 11677 echo "$as_me:$LINENO: result: yes" >&5 11678 echo "${ECHO_T}yes" >&6 11679 else 11680 echo "$as_me: failed program was:" >&5 11681 sed 's/^/| /' conftest.$ac_ext >&5 11682 11683 11684 echo "$as_me:$LINENO: result: no" >&5 11685 echo "${ECHO_T}no" >&6 8299 8300 $as_echo "#define HAVE_SGETN 1" >>confdefs.h 8301 8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8303 $as_echo "yes" >&6; } 8304 else 8305 8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8307 $as_echo "no" >&6; } 11686 8308 HAVE_SGETN=no 11687 8309 11688 8310 fi 11689 rm -f co nftest.err conftest.$ac_objext conftest.$ac_ext8311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11690 8312 ac_ext=c 11691 8313 ac_cpp='$CPP $CPPFLAGS' … … 11698 8320 11699 8321 11700 11701 ac_ext=cc 8322 ac_ext=cpp 11702 8323 ac_cpp='$CXXCPP $CPPFLAGS' 11703 8324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 11705 8326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 11706 8327 11707 echo "$as_me:$LINENO: checking pubseekoff" >&5 11708 echo $ECHO_N "checking pubseekoff... $ECHO_C" >&6 11709 cat >conftest.$ac_ext <<_ACEOF 11710 /* confdefs.h. */ 11711 _ACEOF 11712 cat confdefs.h >>conftest.$ac_ext 11713 cat >>conftest.$ac_ext <<_ACEOF 8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pubseekoff" >&5 8329 $as_echo_n "checking pubseekoff... " >&6; } 8330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11714 8331 /* end confdefs.h. */ 11715 8332 #include <$iostream> … … 11725 8342 } 11726 8343 _ACEOF 11727 rm -f conftest.$ac_objext 11728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11729 (eval $ac_compile) 2>conftest.er1 11730 ac_status=$? 11731 grep -v '^ *+' conftest.er1 >conftest.err 11732 rm -f conftest.er1 11733 cat conftest.err >&5 11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11735 (exit $ac_status); } && 11736 { ac_try='test -z "$ac_cxx_werror_flag" 11737 || test ! -s conftest.err' 11738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11739 (eval $ac_try) 2>&5 11740 ac_status=$? 11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11742 (exit $ac_status); }; } && 11743 { ac_try='test -s conftest.$ac_objext' 11744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11745 (eval $ac_try) 2>&5 11746 ac_status=$? 11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11748 (exit $ac_status); }; }; then 8344 if ac_fn_cxx_try_compile "$LINENO"; then : 11749 8345 HAVE_PUBSEEKOFF=yes 11750 cat >>confdefs.h <<\_ACEOF 11751 #define HAVE_PUBSEEKOFF 1 11752 _ACEOF 11753 11754 echo "$as_me:$LINENO: result: yes" >&5 11755 echo "${ECHO_T}yes" >&6 11756 else 11757 echo "$as_me: failed program was:" >&5 11758 sed 's/^/| /' conftest.$ac_ext >&5 11759 11760 11761 echo "$as_me:$LINENO: result: no" >&5 11762 echo "${ECHO_T}no" >&6 8346 8347 $as_echo "#define HAVE_PUBSEEKOFF 1" >>confdefs.h 8348 8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8350 $as_echo "yes" >&6; } 8351 else 8352 8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8354 $as_echo "no" >&6; } 11763 8355 HAVE_PUBSEEKOFF=no 11764 8356 11765 8357 fi 11766 rm -f co nftest.err conftest.$ac_objext conftest.$ac_ext8358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11767 8359 ac_ext=c 11768 8360 ac_cpp='$CPP $CPPFLAGS' … … 11775 8367 11776 8368 11777 11778 ac_ext=cc 8369 ac_ext=cpp 11779 8370 ac_cpp='$CXXCPP $CPPFLAGS' 11780 8371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 11782 8373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 11783 8374 11784 echo "$as_me:$LINENO: checking seekoff" >&5 11785 echo $ECHO_N "checking seekoff... $ECHO_C" >&6 11786 cat >conftest.$ac_ext <<_ACEOF 11787 /* confdefs.h. */ 11788 _ACEOF 11789 cat confdefs.h >>conftest.$ac_ext 11790 cat >>conftest.$ac_ext <<_ACEOF 8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking seekoff" >&5 8376 $as_echo_n "checking seekoff... " >&6; } 8377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11791 8378 /* end confdefs.h. */ 11792 8379 #include <$iostream> … … 11802 8389 } 11803 8390 _ACEOF 11804 rm -f conftest.$ac_objext 11805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11806 (eval $ac_compile) 2>conftest.er1 11807 ac_status=$? 11808 grep -v '^ *+' conftest.er1 >conftest.err 11809 rm -f conftest.er1 11810 cat conftest.err >&5 11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11812 (exit $ac_status); } && 11813 { ac_try='test -z "$ac_cxx_werror_flag" 11814 || test ! -s conftest.err' 11815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11816 (eval $ac_try) 2>&5 11817 ac_status=$? 11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11819 (exit $ac_status); }; } && 11820 { ac_try='test -s conftest.$ac_objext' 11821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11822 (eval $ac_try) 2>&5 11823 ac_status=$? 11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11825 (exit $ac_status); }; }; then 8391 if ac_fn_cxx_try_compile "$LINENO"; then : 11826 8392 HAVE_SEEKOFF=yes 11827 cat >>confdefs.h <<\_ACEOF 11828 #define HAVE_SEEKOFF 1 11829 _ACEOF 11830 11831 echo "$as_me:$LINENO: result: yes" >&5 11832 echo "${ECHO_T}yes" >&6 11833 else 11834 echo "$as_me: failed program was:" >&5 11835 sed 's/^/| /' conftest.$ac_ext >&5 11836 11837 11838 echo "$as_me:$LINENO: result: no" >&5 11839 echo "${ECHO_T}no" >&6 8393 8394 $as_echo "#define HAVE_SEEKOFF 1" >>confdefs.h 8395 8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8397 $as_echo "yes" >&6; } 8398 else 8399 8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8401 $as_echo "no" >&6; } 11840 8402 HAVE_SEEKOFF=no 11841 8403 11842 8404 fi 11843 rm -f co nftest.err conftest.$ac_objext conftest.$ac_ext8405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11844 8406 ac_ext=c 11845 8407 ac_cpp='$CPP $CPPFLAGS' … … 11852 8414 11853 8415 11854 11855 ac_ext=cc 8416 ac_ext=cpp 11856 8417 ac_cpp='$CXXCPP $CPPFLAGS' 11857 8418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 11859 8420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 11860 8421 11861 echo "$as_me:$LINENO: checking signal handler needs ellipsis" >&5 11862 echo $ECHO_N "checking signal handler needs ellipsis... $ECHO_C" >&6 11863 cat >conftest.$ac_ext <<_ACEOF 11864 /* confdefs.h. */ 11865 _ACEOF 11866 cat confdefs.h >>conftest.$ac_ext 11867 cat >>conftest.$ac_ext <<_ACEOF 8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking signal handler needs ellipsis" >&5 8423 $as_echo_n "checking signal handler needs ellipsis... " >&6; } 8424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11868 8425 /* end confdefs.h. */ 11869 8426 … … 11885 8442 } 11886 8443 _ACEOF 11887 rm -f conftest.$ac_objext conftest$ac_exeext 11888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11889 (eval $ac_link) 2>conftest.er1 11890 ac_status=$? 11891 grep -v '^ *+' conftest.er1 >conftest.err 11892 rm -f conftest.er1 11893 cat conftest.err >&5 11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11895 (exit $ac_status); } && 11896 { ac_try='test -z "$ac_cxx_werror_flag" 11897 || test ! -s conftest.err' 11898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11899 (eval $ac_try) 2>&5 11900 ac_status=$? 11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11902 (exit $ac_status); }; } && 11903 { ac_try='test -s conftest$ac_exeext' 11904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11905 (eval $ac_try) 2>&5 11906 ac_status=$? 11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11908 (exit $ac_status); }; }; then 11909 cat >>confdefs.h <<\_ACEOF 11910 #define SIGHASELLIP 1 11911 _ACEOF 11912 echo "$as_me:$LINENO: result: yes" >&5 11913 echo "${ECHO_T}yes" >&6 11914 else 11915 echo "$as_me: failed program was:" >&5 11916 sed 's/^/| /' conftest.$ac_ext >&5 11917 11918 echo "$as_me:$LINENO: result: no" >&5 11919 echo "${ECHO_T}no" >&6 11920 fi 11921 rm -f conftest.err conftest.$ac_objext \ 11922 conftest$ac_exeext conftest.$ac_ext 8444 if ac_fn_cxx_try_link "$LINENO"; then : 8445 8446 $as_echo "#define SIGHASELLIP 1" >>confdefs.h 8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8448 $as_echo "yes" >&6; } 8449 else 8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8451 $as_echo "no" >&6; } 8452 fi 8453 rm -f core conftest.err conftest.$ac_objext \ 8454 conftest$ac_exeext conftest.$ac_ext 11923 8455 ac_ext=c 11924 8456 ac_cpp='$CPP $CPPFLAGS' … … 11930 8462 11931 8463 11932 11933 ac_ext=cc 8464 ac_ext=cpp 11934 8465 ac_cpp='$CXXCPP $CPPFLAGS' 11935 8466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 11937 8468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 11938 8469 11939 11940 8470 for ac_func in drand48 11941 do 11942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11943 echo "$as_me:$LINENO: checking for $ac_func" >&5 11944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11945 if eval "test \"\${$as_ac_var+set}\" = set"; then 11946 echo $ECHO_N "(cached) $ECHO_C" >&6 11947 else 11948 cat >conftest.$ac_ext <<_ACEOF 11949 /* confdefs.h. */ 11950 _ACEOF 11951 cat confdefs.h >>conftest.$ac_ext 11952 cat >>conftest.$ac_ext <<_ACEOF 11953 /* end confdefs.h. */ 11954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 11955 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 11956 #define $ac_func innocuous_$ac_func 11957 11958 /* System header to define __stub macros and hopefully few prototypes, 11959 which can conflict with char $ac_func (); below. 11960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11961 <limits.h> exists even on freestanding compilers. */ 11962 11963 #ifdef __STDC__ 11964 # include <limits.h> 11965 #else 11966 # include <assert.h> 11967 #endif 11968 11969 #undef $ac_func 11970 11971 /* Override any gcc2 internal prototype to avoid an error. */ 11972 #ifdef __cplusplus 11973 extern "C" 11974 { 11975 #endif 11976 /* We use char because int might match the return type of a gcc2 11977 builtin and then its argument prototype would still apply. */ 11978 char $ac_func (); 11979 /* The GNU C library defines this for functions which it implements 11980 to always fail with ENOSYS. Some functions are actually named 11981 something starting with __ and the normal name is an alias. */ 11982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 11983 choke me 11984 #else 11985 char (*f) () = $ac_func; 11986 #endif 11987 #ifdef __cplusplus 11988 } 11989 #endif 11990 11991 int 11992 main () 11993 { 11994 return f != $ac_func; 11995 ; 11996 return 0; 11997 } 11998 _ACEOF 11999 rm -f conftest.$ac_objext conftest$ac_exeext 12000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12001 (eval $ac_link) 2>conftest.er1 12002 ac_status=$? 12003 grep -v '^ *+' conftest.er1 >conftest.err 12004 rm -f conftest.er1 12005 cat conftest.err >&5 12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12007 (exit $ac_status); } && 12008 { ac_try='test -z "$ac_cxx_werror_flag" 12009 || test ! -s conftest.err' 12010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12011 (eval $ac_try) 2>&5 12012 ac_status=$? 12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12014 (exit $ac_status); }; } && 12015 { ac_try='test -s conftest$ac_exeext' 12016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12017 (eval $ac_try) 2>&5 12018 ac_status=$? 12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12020 (exit $ac_status); }; }; then 12021 eval "$as_ac_var=yes" 12022 else 12023 echo "$as_me: failed program was:" >&5 12024 sed 's/^/| /' conftest.$ac_ext >&5 12025 12026 eval "$as_ac_var=no" 12027 fi 12028 rm -f conftest.err conftest.$ac_objext \ 12029 conftest$ac_exeext conftest.$ac_ext 12030 fi 12031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 12032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12033 if test `eval echo '${'$as_ac_var'}'` = yes; then 8471 do : 8472 ac_fn_cxx_check_func "$LINENO" "drand48" "ac_cv_func_drand48" 8473 if test "x$ac_cv_func_drand48" = xyes; then : 12034 8474 cat >>confdefs.h <<_ACEOF 12035 #define `echo "HAVE_$ac_func" | $as_tr_cpp`18475 #define HAVE_DRAND48 1 12036 8476 _ACEOF 12037 8477 … … 12048 8488 12049 8489 if test "X$SYSVIPC" = Xyes; then 12050 12051 12052 for ac_func in shmget semget 12053 do 12054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12055 echo "$as_me:$LINENO: checking for $ac_func" >&5 12056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12057 if eval "test \"\${$as_ac_var+set}\" = set"; then 12058 echo $ECHO_N "(cached) $ECHO_C" >&6 12059 else 12060 cat >conftest.$ac_ext <<_ACEOF 12061 /* confdefs.h. */ 8490 for ac_func in shmget semget 8491 do : 8492 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8493 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 8494 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 8495 cat >>confdefs.h <<_ACEOF 8496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12062 8497 _ACEOF 12063 cat confdefs.h >>conftest.$ac_ext 12064 cat >>conftest.$ac_ext <<_ACEOF 12065 /* end confdefs.h. */ 12066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12067 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12068 #define $ac_func innocuous_$ac_func 12069 12070 /* System header to define __stub macros and hopefully few prototypes, 12071 which can conflict with char $ac_func (); below. 12072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12073 <limits.h> exists even on freestanding compilers. */ 12074 12075 #ifdef __STDC__ 12076 # include <limits.h> 12077 #else 12078 # include <assert.h> 12079 #endif 12080 12081 #undef $ac_func 12082 12083 /* Override any gcc2 internal prototype to avoid an error. */ 12084 #ifdef __cplusplus 12085 extern "C" 12086 { 12087 #endif 12088 /* We use char because int might match the return type of a gcc2 12089 builtin and then its argument prototype would still apply. */ 12090 char $ac_func (); 12091 /* The GNU C library defines this for functions which it implements 12092 to always fail with ENOSYS. Some functions are actually named 12093 something starting with __ and the normal name is an alias. */ 12094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 12095 choke me 12096 #else 12097 char (*f) () = $ac_func; 12098 #endif 12099 #ifdef __cplusplus 12100 } 12101 #endif 12102 12103 int 12104 main () 12105 { 12106 return f != $ac_func; 12107 ; 12108 return 0; 12109 } 8498 8499 fi 8500 done 8501 8502 for ac_header in sys/ipc.h sys/sem.h sys/shm.h 8503 do : 8504 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8505 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8506 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8507 cat >>confdefs.h <<_ACEOF 8508 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12110 8509 _ACEOF 12111 rm -f conftest.$ac_objext conftest$ac_exeext 12112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12113 (eval $ac_link) 2>conftest.er1 12114 ac_status=$? 12115 grep -v '^ *+' conftest.er1 >conftest.err 12116 rm -f conftest.er1 12117 cat conftest.err >&5 12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12119 (exit $ac_status); } && 12120 { ac_try='test -z "$ac_c_werror_flag" 12121 || test ! -s conftest.err' 12122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12123 (eval $ac_try) 2>&5 12124 ac_status=$? 12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12126 (exit $ac_status); }; } && 12127 { ac_try='test -s conftest$ac_exeext' 12128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12129 (eval $ac_try) 2>&5 12130 ac_status=$? 12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12132 (exit $ac_status); }; }; then 12133 eval "$as_ac_var=yes" 12134 else 12135 echo "$as_me: failed program was:" >&5 12136 sed 's/^/| /' conftest.$ac_ext >&5 12137 12138 eval "$as_ac_var=no" 12139 fi 12140 rm -f conftest.err conftest.$ac_objext \ 12141 conftest$ac_exeext conftest.$ac_ext 12142 fi 12143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 12144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12145 if test `eval echo '${'$as_ac_var'}'` = yes; then 12146 cat >>confdefs.h <<_ACEOF 12147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12148 _ACEOF 12149 12150 fi 8510 8511 fi 8512 12151 8513 done 12152 8514 12153 12154 12155 12156 for ac_header in sys/ipc.h sys/sem.h sys/shm.h 12157 do 12158 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12159 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12160 echo "$as_me:$LINENO: checking for $ac_header" >&5 12161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12162 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12163 echo $ECHO_N "(cached) $ECHO_C" >&6 12164 fi 12165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 12166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12167 else 12168 # Is the header compilable? 12169 echo "$as_me:$LINENO: checking $ac_header usability" >&5 12170 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 12171 cat >conftest.$ac_ext <<_ACEOF 12172 /* confdefs.h. */ 12173 _ACEOF 12174 cat confdefs.h >>conftest.$ac_ext 12175 cat >>conftest.$ac_ext <<_ACEOF 12176 /* end confdefs.h. */ 12177 $ac_includes_default 12178 #include <$ac_header> 12179 _ACEOF 12180 rm -f conftest.$ac_objext 12181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 12182 (eval $ac_compile) 2>conftest.er1 12183 ac_status=$? 12184 grep -v '^ *+' conftest.er1 >conftest.err 12185 rm -f conftest.er1 12186 cat conftest.err >&5 12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12188 (exit $ac_status); } && 12189 { ac_try='test -z "$ac_c_werror_flag" 12190 || test ! -s conftest.err' 12191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12192 (eval $ac_try) 2>&5 12193 ac_status=$? 12194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12195 (exit $ac_status); }; } && 12196 { ac_try='test -s conftest.$ac_objext' 12197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12198 (eval $ac_try) 2>&5 12199 ac_status=$? 12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12201 (exit $ac_status); }; }; then 12202 ac_header_compiler=yes 12203 else 12204 echo "$as_me: failed program was:" >&5 12205 sed 's/^/| /' conftest.$ac_ext >&5 12206 12207 ac_header_compiler=no 12208 fi 12209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 12210 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12211 echo "${ECHO_T}$ac_header_compiler" >&6 12212 12213 # Is the header present? 12214 echo "$as_me:$LINENO: checking $ac_header presence" >&5 12215 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 12216 cat >conftest.$ac_ext <<_ACEOF 12217 /* confdefs.h. */ 12218 _ACEOF 12219 cat confdefs.h >>conftest.$ac_ext 12220 cat >>conftest.$ac_ext <<_ACEOF 12221 /* end confdefs.h. */ 12222 #include <$ac_header> 12223 _ACEOF 12224 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 12225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12226 ac_status=$? 12227 grep -v '^ *+' conftest.er1 >conftest.err 12228 rm -f conftest.er1 12229 cat conftest.err >&5 12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12231 (exit $ac_status); } >/dev/null; then 12232 if test -s conftest.err; then 12233 ac_cpp_err=$ac_c_preproc_warn_flag 12234 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 12235 else 12236 ac_cpp_err= 12237 fi 12238 else 12239 ac_cpp_err=yes 12240 fi 12241 if test -z "$ac_cpp_err"; then 12242 ac_header_preproc=yes 12243 else 12244 echo "$as_me: failed program was:" >&5 12245 sed 's/^/| /' conftest.$ac_ext >&5 12246 12247 ac_header_preproc=no 12248 fi 12249 rm -f conftest.err conftest.$ac_ext 12250 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12251 echo "${ECHO_T}$ac_header_preproc" >&6 12252 12253 # So? What about this header? 12254 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 12255 yes:no: ) 12256 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12257 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12259 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12260 ac_header_preproc=yes 12261 ;; 12262 no:yes:* ) 12263 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12264 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12265 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12266 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12267 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12268 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12269 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12270 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12272 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12273 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12274 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12275 ( 12276 cat <<\_ASBOX 12277 ## ------------------------------------------ ## 12278 ## Report this to the AC_PACKAGE_NAME lists. ## 12279 ## ------------------------------------------ ## 12280 _ASBOX 12281 ) | 12282 sed "s/^/$as_me: WARNING: /" >&2 12283 ;; 12284 esac 12285 echo "$as_me:$LINENO: checking for $ac_header" >&5 12286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12287 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12288 echo $ECHO_N "(cached) $ECHO_C" >&6 12289 else 12290 eval "$as_ac_Header=\$ac_header_preproc" 12291 fi 12292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 12293 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12294 12295 fi 12296 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12297 cat >>confdefs.h <<_ACEOF 12298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12299 _ACEOF 12300 12301 fi 12302 12303 done 12304 12305 echo "$as_me:$LINENO: checking for SYSV IPC" >&5 12306 echo $ECHO_N "checking for SYSV IPC... $ECHO_C" >&6 8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSV IPC" >&5 8516 $as_echo_n "checking for SYSV IPC... " >&6; } 12307 8517 if test X$ac_cv_func_shmget = Xyes -a \ 12308 8518 X$ac_cv_func_semget = Xyes -a \ … … 12311 8521 X$ac_cv_header_sys_shm_h = Xyes; then 12312 8522 HAVE_SYSV_IPC=yes 12313 cat >>confdefs.h <<\_ACEOF 12314 #define HAVE_SYSV_IPC 1 12315 _ACEOF 8523 8524 $as_echo "#define HAVE_SYSV_IPC 1" >>confdefs.h 12316 8525 12317 8526 else 12318 8527 HAVE_SYSV_IPC=no 12319 8528 fi 12320 echo "$as_me:$LINENO: result: $HAVE_SYSV_IPC" >&512321 echo "${ECHO_T}$HAVE_SYSV_IPC" >&6 8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_SYSV_IPC" >&5 8530 $as_echo "$HAVE_SYSV_IPC" >&6; } 12322 8531 12323 8532 else … … 12327 8536 12328 8537 12329 12330 ac_ext=cc 8538 ac_ext=cpp 12331 8539 ac_cpp='$CXXCPP $CPPFLAGS' 12332 8540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 12334 8542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12335 8543 12336 echo "$as_me:$LINENO: checking if semctl requires semun" >&5 12337 echo $ECHO_N "checking if semctl requires semun... $ECHO_C" >&6 12338 cat >conftest.$ac_ext <<_ACEOF 12339 /* confdefs.h. */ 12340 _ACEOF 12341 cat confdefs.h >>conftest.$ac_ext 12342 cat >>conftest.$ac_ext <<_ACEOF 8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if semctl requires semun" >&5 8545 $as_echo_n "checking if semctl requires semun... " >&6; } 8546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12343 8547 /* end confdefs.h. */ 12344 8548 … … 12358 8562 } 12359 8563 _ACEOF 12360 rm -f conftest.$ac_objext conftest$ac_exeext 12361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12362 (eval $ac_link) 2>conftest.er1 12363 ac_status=$? 12364 grep -v '^ *+' conftest.er1 >conftest.err 12365 rm -f conftest.er1 12366 cat conftest.err >&5 12367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12368 (exit $ac_status); } && 12369 { ac_try='test -z "$ac_cxx_werror_flag" 12370 || test ! -s conftest.err' 12371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12372 (eval $ac_try) 2>&5 12373 ac_status=$? 12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12375 (exit $ac_status); }; } && 12376 { ac_try='test -s conftest$ac_exeext' 12377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12378 (eval $ac_try) 2>&5 12379 ac_status=$? 12380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12381 (exit $ac_status); }; }; then 8564 if ac_fn_cxx_try_link "$LINENO"; then : 12382 8565 12383 8566 case $target in 12384 8567 *-sgi-irix*) 12385 cat >>confdefs.h <<\_ACEOF 12386 #define SEMCTL_REQUIRES_SEMUN 1 12387 _ACEOF 12388 echo "$as_me:$LINENO: result: sgi-irix -- yes" >&5 12389 echo "${ECHO_T}sgi-irix -- yes" >&6 8568 8569 $as_echo "#define SEMCTL_REQUIRES_SEMUN 1" >>confdefs.h 8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: sgi-irix -- yes" >&5 8571 $as_echo "sgi-irix -- yes" >&6; } 12390 8572 ;; 12391 8573 *) 12392 echo "$as_me:$LINENO: result: no" >&512393 echo "${ECHO_T}no" >&6 8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8575 $as_echo "no" >&6; } 12394 8576 ;; 12395 8577 esac 12396 8578 12397 8579 else 12398 echo "$as_me: failed program was:" >&5 12399 sed 's/^/| /' conftest.$ac_ext >&5 12400 12401 cat >>confdefs.h <<\_ACEOF 12402 #define SEMCTL_REQUIRES_SEMUN 1 12403 _ACEOF 12404 echo "$as_me:$LINENO: result: yes" >&5 12405 echo "${ECHO_T}yes" >&6 12406 fi 12407 rm -f conftest.err conftest.$ac_objext \ 12408 conftest$ac_exeext conftest.$ac_ext 8580 8581 $as_echo "#define SEMCTL_REQUIRES_SEMUN 1" >>confdefs.h 8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8583 $as_echo "yes" >&6; } 8584 fi 8585 rm -f core conftest.err conftest.$ac_objext \ 8586 conftest$ac_exeext conftest.$ac_ext 12409 8587 ac_ext=c 12410 8588 ac_cpp='$CPP $CPPFLAGS' … … 12414 8592 12415 8593 12416 12417 echo "$as_me:$LINENO: checking if fortran compiler works" >&5 12418 echo $ECHO_N "checking if fortran compiler works... $ECHO_C" >&6 8594 $as_echo "#define SHMTYPE char *" >>confdefs.h 8595 8596 8597 8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fortran compiler works" >&5 8599 $as_echo_n "checking if fortran compiler works... " >&6; } 12419 8600 if test -n "$F77" -a "$F77" != no ; then 12420 8601 /bin/rm -f ffunc.f flink.c … … 12422 8603 echo " end" >> ffunc.f 12423 8604 if $F77 -o ffunc ffunc.f 1>&5 2>&5; then 12424 echo "$as_me:$LINENO: result: yes" >&512425 echo "${ECHO_T}yes" >&6 8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8606 $as_echo "yes" >&6; } 12426 8607 else 12427 echo "$as_me:$LINENO: result: no" >&5 12428 echo "${ECHO_T}no" >&6 12429 { { echo "$as_me:$LINENO: error: fortran compiler does not work 12430 See \`config.log' for more details." >&5 12431 echo "$as_me: error: fortran compiler does not work 12432 See \`config.log' for more details." >&2;} 12433 { (exit 1); exit 1; }; } 8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8609 $as_echo "no" >&6; } 8610 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8612 as_fn_error $? "fortran compiler does not work 8613 See \`config.log' for more details" "$LINENO" 5; } 12434 8614 fi 12435 8615 /bin/rm -f ffunc ffunc.f … … 12437 8617 12438 8618 12439 echo "$as_me:$LINENO: checking fortran symbols" >&512440 echo $ECHO_N "checking fortran symbols... $ECHO_C" >&6 8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking fortran symbols" >&5 8620 $as_echo_n "checking fortran symbols... " >&6; } 12441 8621 if test -n "$F77" -a "$F77" != no ; then 12442 8622 /bin/rm -f ffunc.f flink.c … … 12447 8627 echo "main(){ FF(); return 0; }" > flink.c 12448 8628 if $CC -o flink -DFF=ffunc flink.c ffunc.o $LDFLAGS $LIBS 1>/dev/null 2>/dev/null; then 12449 echo "$as_me:$LINENO: result: same as C" >&512450 echo "${ECHO_T}same as C" >&6 8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: same as C" >&5 8630 $as_echo "same as C" >&6; } 12451 8631 F77_SYMBOLS=symbol 12452 8632 elif $CC -o flink -DFF=ffunc_ flink.c ffunc.o $LDFLAGS $LIBS 1>/dev/null 2>/dev/null; then 12453 echo "$as_me:$LINENO: result: lowercase with underscore" >&512454 echo "${ECHO_T}lowercase with underscore" >&6 8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: lowercase with underscore" >&5 8634 $as_echo "lowercase with underscore" >&6; } 12455 8635 F77_SYMBOLS=symbol_ 12456 8636 elif $CC -o flink -DFF=FFUNC flink.c ffunc.o $LDFLAGS $LIBS 1>/dev/null 2>/dev/null; then 12457 echo "$as_me:$LINENO: result: uppercase" >&512458 echo "${ECHO_T}uppercase" >&6 8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: uppercase" >&5 8638 $as_echo "uppercase" >&6; } 12459 8639 F77_SYMBOLS=SYMBOL 12460 8640 elif $CC -o flink -DFF=FFUNC_ flink.c ffunc.o $LDFLAGS $LIBS 1>/dev/null 2>/dev/null; then 12461 echo "$as_me:$LINENO: result: uppercase with underscore" >&512462 echo "${ECHO_T}uppercase with underscore" >&6 8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: uppercase with underscore" >&5 8642 $as_echo "uppercase with underscore" >&6; } 12463 8643 F77_SYMBOLS=SYMBOL_ 12464 8644 else 12465 echo "$as_me:$LINENO: result: giving up" >&5 12466 echo "${ECHO_T}giving up" >&6 12467 { { echo "$as_me:$LINENO: error: could not determine F77 symbol names" >&5 12468 echo "$as_me: error: could not determine F77 symbol names" >&2;} 12469 { (exit 1); exit 1; }; } 8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: giving up" >&5 8646 $as_echo "giving up" >&6; } 8647 as_fn_error $? "could not determine F77 symbol names" "$LINENO" 5 12470 8648 fi 12471 8649 /bin/rm -f ffunc.f ffunc.o flink flink.c flink.o ffunc 12472 8650 else 12473 8651 F77_SYMBOLS=symbol_ 12474 echo "$as_me:$LINENO: result: guessing lowercase with underscore" >&5 12475 echo "${ECHO_T}guessing lowercase with underscore" >&6 12476 fi 12477 12478 12479 12480 12481 12482 ac_ext=cc 8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: guessing lowercase with underscore" >&5 8653 $as_echo "guessing lowercase with underscore" >&6; } 8654 fi 8655 8656 8657 8658 8659 ac_ext=cpp 12483 8660 ac_cpp='$CXXCPP $CPPFLAGS' 12484 8661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 12491 8668 LIBBLAS="" 12492 8669 F77_DGEMM=`$PERL $srcdir/bin/mkf77sym.pl.in -method $F77_SYMBOLS DAXPY` 12493 as_ac_var=`echo "ac_cv_func_$F77_DGEMM" | $as_tr_sh` 12494 echo "$as_me:$LINENO: checking for $F77_DGEMM" >&5 12495 echo $ECHO_N "checking for $F77_DGEMM... $ECHO_C" >&6 12496 if eval "test \"\${$as_ac_var+set}\" = set"; then 12497 echo $ECHO_N "(cached) $ECHO_C" >&6 12498 else 12499 cat >conftest.$ac_ext <<_ACEOF 12500 /* confdefs.h. */ 12501 _ACEOF 12502 cat confdefs.h >>conftest.$ac_ext 12503 cat >>conftest.$ac_ext <<_ACEOF 8670 as_ac_var=`$as_echo "ac_cv_func_$F77_DGEMM" | $as_tr_sh` 8671 ac_fn_cxx_check_func "$LINENO" "$F77_DGEMM" "$as_ac_var" 8672 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 8673 HAVE_BLAS=yes 8674 else 8675 8676 as_ac_Lib=`$as_echo "ac_cv_lib_essl_$F77_DGEMM" | $as_tr_sh` 8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $F77_DGEMM in -lessl" >&5 8678 $as_echo_n "checking for $F77_DGEMM in -lessl... " >&6; } 8679 if eval \${$as_ac_Lib+:} false; then : 8680 $as_echo_n "(cached) " >&6 8681 else 8682 ac_check_lib_save_LIBS=$LIBS 8683 LIBS="-lessl $LIBS" 8684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12504 8685 /* end confdefs.h. */ 12505 /* Define $F77_DGEMM to an innocuous variant, in case <limits.h> declares $F77_DGEMM. 12506 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12507 #define $F77_DGEMM innocuous_$F77_DGEMM 12508 12509 /* System header to define __stub macros and hopefully few prototypes, 12510 which can conflict with char $F77_DGEMM (); below. 12511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12512 <limits.h> exists even on freestanding compilers. */ 12513 12514 #ifdef __STDC__ 12515 # include <limits.h> 12516 #else 12517 # include <assert.h> 12518 #endif 12519 12520 #undef $F77_DGEMM 12521 12522 /* Override any gcc2 internal prototype to avoid an error. */ 8686 8687 /* Override any GCC internal prototype to avoid an error. 8688 Use char because int might match the return type of a GCC 8689 builtin and then its argument prototype would still apply. */ 12523 8690 #ifdef __cplusplus 12524 8691 extern "C" 12525 {12526 8692 #endif 12527 /* We use char because int might match the return type of a gcc212528 builtin and then its argument prototype would still apply. */12529 8693 char $F77_DGEMM (); 12530 /* The GNU C library defines this for functions which it implements12531 to always fail with ENOSYS. Some functions are actually named12532 something starting with __ and the normal name is an alias. */12533 #if defined (__stub_$F77_DGEMM) || defined (__stub___$F77_DGEMM)12534 choke me12535 #else12536 char (*f) () = $F77_DGEMM;12537 #endif12538 #ifdef __cplusplus12539 }12540 #endif12541 12542 8694 int 12543 8695 main () 12544 8696 { 12545 return f != $F77_DGEMM;8697 return $F77_DGEMM (); 12546 8698 ; 12547 8699 return 0; 12548 8700 } 12549 8701 _ACEOF 12550 rm -f conftest.$ac_objext conftest$ac_exeext 12551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12552 (eval $ac_link) 2>conftest.er1 12553 ac_status=$? 12554 grep -v '^ *+' conftest.er1 >conftest.err 12555 rm -f conftest.er1 12556 cat conftest.err >&5 12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12558 (exit $ac_status); } && 12559 { ac_try='test -z "$ac_cxx_werror_flag" 12560 || test ! -s conftest.err' 12561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12562 (eval $ac_try) 2>&5 12563 ac_status=$? 12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12565 (exit $ac_status); }; } && 12566 { ac_try='test -s conftest$ac_exeext' 12567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12568 (eval $ac_try) 2>&5 12569 ac_status=$? 12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12571 (exit $ac_status); }; }; then 12572 eval "$as_ac_var=yes" 12573 else 12574 echo "$as_me: failed program was:" >&5 12575 sed 's/^/| /' conftest.$ac_ext >&5 12576 12577 eval "$as_ac_var=no" 12578 fi 12579 rm -f conftest.err conftest.$ac_objext \ 12580 conftest$ac_exeext conftest.$ac_ext 12581 fi 12582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 12583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12584 if test `eval echo '${'$as_ac_var'}'` = yes; then 12585 HAVE_BLAS=yes 12586 else 12587 12588 as_ac_Lib=`echo "ac_cv_lib_essl_$F77_DGEMM" | $as_tr_sh` 12589 echo "$as_me:$LINENO: checking for $F77_DGEMM in -lessl" >&5 12590 echo $ECHO_N "checking for $F77_DGEMM in -lessl... $ECHO_C" >&6 12591 if eval "test \"\${$as_ac_Lib+set}\" = set"; then 12592 echo $ECHO_N "(cached) $ECHO_C" >&6 8702 if ac_fn_cxx_try_link "$LINENO"; then : 8703 eval "$as_ac_Lib=yes" 8704 else 8705 eval "$as_ac_Lib=no" 8706 fi 8707 rm -f core conftest.err conftest.$ac_objext \ 8708 conftest$ac_exeext conftest.$ac_ext 8709 LIBS=$ac_check_lib_save_LIBS 8710 fi 8711 eval ac_res=\$$as_ac_Lib 8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 8713 $as_echo "$ac_res" >&6; } 8714 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 8715 HAVE_BLAS=yes;LIBBLAS="-lessl" 8716 else 8717 as_ac_Lib=`$as_echo "ac_cv_lib_blas_$F77_DGEMM" | $as_tr_sh` 8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $F77_DGEMM in -lblas" >&5 8719 $as_echo_n "checking for $F77_DGEMM in -lblas... " >&6; } 8720 if eval \${$as_ac_Lib+:} false; then : 8721 $as_echo_n "(cached) " >&6 12593 8722 else 12594 8723 ac_check_lib_save_LIBS=$LIBS 12595 LIBS="-lessl $LIBS" 12596 cat >conftest.$ac_ext <<_ACEOF 12597 /* confdefs.h. */ 12598 _ACEOF 12599 cat confdefs.h >>conftest.$ac_ext 12600 cat >>conftest.$ac_ext <<_ACEOF 8724 LIBS="-lblas $LIBS" 8725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12601 8726 /* end confdefs.h. */ 12602 8727 12603 /* Override any gcc2 internal prototype to avoid an error. */ 8728 /* Override any GCC internal prototype to avoid an error. 8729 Use char because int might match the return type of a GCC 8730 builtin and then its argument prototype would still apply. */ 12604 8731 #ifdef __cplusplus 12605 8732 extern "C" 12606 8733 #endif 12607 /* We use char because int might match the return type of a gcc212608 builtin and then its argument prototype would still apply. */12609 8734 char $F77_DGEMM (); 12610 8735 int 12611 8736 main () 12612 8737 { 12613 $F77_DGEMM ();8738 return $F77_DGEMM (); 12614 8739 ; 12615 8740 return 0; 12616 8741 } 12617 8742 _ACEOF 12618 rm -f conftest.$ac_objext conftest$ac_exeext 12619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12620 (eval $ac_link) 2>conftest.er1 12621 ac_status=$? 12622 grep -v '^ *+' conftest.er1 >conftest.err 12623 rm -f conftest.er1 12624 cat conftest.err >&5 12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12626 (exit $ac_status); } && 12627 { ac_try='test -z "$ac_cxx_werror_flag" 12628 || test ! -s conftest.err' 12629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12630 (eval $ac_try) 2>&5 12631 ac_status=$? 12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12633 (exit $ac_status); }; } && 12634 { ac_try='test -s conftest$ac_exeext' 12635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12636 (eval $ac_try) 2>&5 12637 ac_status=$? 12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12639 (exit $ac_status); }; }; then 8743 if ac_fn_cxx_try_link "$LINENO"; then : 12640 8744 eval "$as_ac_Lib=yes" 12641 8745 else 12642 echo "$as_me: failed program was:" >&5 12643 sed 's/^/| /' conftest.$ac_ext >&5 12644 12645 eval "$as_ac_Lib=no" 12646 fi 12647 rm -f conftest.err conftest.$ac_objext \ 12648 conftest$ac_exeext conftest.$ac_ext 8746 eval "$as_ac_Lib=no" 8747 fi 8748 rm -f core conftest.err conftest.$ac_objext \ 8749 conftest$ac_exeext conftest.$ac_ext 12649 8750 LIBS=$ac_check_lib_save_LIBS 12650 8751 fi 12651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5 12652 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 12653 if test `eval echo '${'$as_ac_Lib'}'` = yes; then 12654 HAVE_BLAS=yes;LIBBLAS="-lessl" 12655 else 12656 as_ac_Lib=`echo "ac_cv_lib_blas_$F77_DGEMM" | $as_tr_sh` 12657 echo "$as_me:$LINENO: checking for $F77_DGEMM in -lblas" >&5 12658 echo $ECHO_N "checking for $F77_DGEMM in -lblas... $ECHO_C" >&6 12659 if eval "test \"\${$as_ac_Lib+set}\" = set"; then 12660 echo $ECHO_N "(cached) $ECHO_C" >&6 8752 eval ac_res=\$$as_ac_Lib 8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 8754 $as_echo "$ac_res" >&6; } 8755 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 8756 HAVE_BLAS=yes;LIBBLAS="-lblas" 8757 fi 8758 8759 8760 fi 8761 8762 8763 fi 8764 8765 if test X$HAVE_BLAS != Xyes; then 8766 LIBSSAV2="$LIBS" 8767 LIBS="-latlas $LIBS" 8768 as_ac_Lib=`$as_echo "ac_cv_lib_f77blas_$F77_DGEMM" | $as_tr_sh` 8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $F77_DGEMM in -lf77blas" >&5 8770 $as_echo_n "checking for $F77_DGEMM in -lf77blas... " >&6; } 8771 if eval \${$as_ac_Lib+:} false; then : 8772 $as_echo_n "(cached) " >&6 12661 8773 else 12662 8774 ac_check_lib_save_LIBS=$LIBS 12663 LIBS="-lblas $LIBS" 12664 cat >conftest.$ac_ext <<_ACEOF 12665 /* confdefs.h. */ 12666 _ACEOF 12667 cat confdefs.h >>conftest.$ac_ext 12668 cat >>conftest.$ac_ext <<_ACEOF 8775 LIBS="-lf77blas $LIBS" 8776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12669 8777 /* end confdefs.h. */ 12670 8778 12671 /* Override any gcc2 internal prototype to avoid an error. */ 8779 /* Override any GCC internal prototype to avoid an error. 8780 Use char because int might match the return type of a GCC 8781 builtin and then its argument prototype would still apply. */ 12672 8782 #ifdef __cplusplus 12673 8783 extern "C" 12674 8784 #endif 12675 /* We use char because int might match the return type of a gcc212676 builtin and then its argument prototype would still apply. */12677 8785 char $F77_DGEMM (); 12678 8786 int 12679 8787 main () 12680 8788 { 12681 $F77_DGEMM ();8789 return $F77_DGEMM (); 12682 8790 ; 12683 8791 return 0; 12684 8792 } 12685 8793 _ACEOF 12686 rm -f conftest.$ac_objext conftest$ac_exeext 12687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12688 (eval $ac_link) 2>conftest.er1 12689 ac_status=$? 12690 grep -v '^ *+' conftest.er1 >conftest.err 12691 rm -f conftest.er1 12692 cat conftest.err >&5 12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12694 (exit $ac_status); } && 12695 { ac_try='test -z "$ac_cxx_werror_flag" 12696 || test ! -s conftest.err' 12697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12698 (eval $ac_try) 2>&5 12699 ac_status=$? 12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12701 (exit $ac_status); }; } && 12702 { ac_try='test -s conftest$ac_exeext' 12703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12704 (eval $ac_try) 2>&5 12705 ac_status=$? 12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12707 (exit $ac_status); }; }; then 8794 if ac_fn_cxx_try_link "$LINENO"; then : 12708 8795 eval "$as_ac_Lib=yes" 12709 8796 else 12710 echo "$as_me: failed program was:" >&5 12711 sed 's/^/| /' conftest.$ac_ext >&5 12712 12713 eval "$as_ac_Lib=no" 12714 fi 12715 rm -f conftest.err conftest.$ac_objext \ 12716 conftest$ac_exeext conftest.$ac_ext 8797 eval "$as_ac_Lib=no" 8798 fi 8799 rm -f core conftest.err conftest.$ac_objext \ 8800 conftest$ac_exeext conftest.$ac_ext 12717 8801 LIBS=$ac_check_lib_save_LIBS 12718 8802 fi 12719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5 12720 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 12721 if test `eval echo '${'$as_ac_Lib'}'` = yes; then 12722 HAVE_BLAS=yes;LIBBLAS="-lblas" 12723 fi 12724 12725 12726 fi 12727 8803 eval ac_res=\$$as_ac_Lib 8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 8805 $as_echo "$ac_res" >&6; } 8806 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 8807 HAVE_BLAS=yes;LIBBLAS="-lf77blas -latlas" 8808 else 8809 LIBS="$LIBSSAV2" 8810 fi 12728 8811 12729 8812 fi 12730 8813 12731 8814 if test X$HAVE_BLAS != Xyes; then 12732 LIBSSAV2="$LIBS" 12733 LIBS="-latlas $LIBS" 12734 as_ac_Lib=`echo "ac_cv_lib_f77blas_$F77_DGEMM" | $as_tr_sh` 12735 echo "$as_me:$LINENO: checking for $F77_DGEMM in -lf77blas" >&5 12736 echo $ECHO_N "checking for $F77_DGEMM in -lf77blas... $ECHO_C" >&6 12737 if eval "test \"\${$as_ac_Lib+set}\" = set"; then 12738 echo $ECHO_N "(cached) $ECHO_C" >&6 8815 echo "WARNING: Could not link to the BLAS library. It can be obtained at" 8816 echo "http://www.netlib.org/blas. Use --with-libdirs and/or --with-libs" 8817 echo "to specify the name of the library." 8818 as_fn_error $? "BLAS is required to complete the build" "$LINENO" 5 8819 fi 8820 8821 LIBS="$LIBSSAV $LIBBLAS $FLIBS" 8822 8823 LIBLAPACK="" 8824 F77_DGESVD=`$PERL $srcdir/bin/mkf77sym.pl.in -method $F77_SYMBOLS DGESVD` 8825 as_ac_var=`$as_echo "ac_cv_func_$F77_DGESVD" | $as_tr_sh` 8826 ac_fn_cxx_check_func "$LINENO" "$F77_DGESVD" "$as_ac_var" 8827 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 8828 HAVE_LAPACK=yes 8829 else 8830 8831 as_ac_Lib=`$as_echo "ac_cv_lib_lapack_$F77_DGESVD" | $as_tr_sh` 8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $F77_DGESVD in -llapack" >&5 8833 $as_echo_n "checking for $F77_DGESVD in -llapack... " >&6; } 8834 if eval \${$as_ac_Lib+:} false; then : 8835 $as_echo_n "(cached) " >&6 12739 8836 else 12740 8837 ac_check_lib_save_LIBS=$LIBS 12741 LIBS="-lf77blas $LIBS" 12742 cat >conftest.$ac_ext <<_ACEOF 12743 /* confdefs.h. */ 12744 _ACEOF 12745 cat confdefs.h >>conftest.$ac_ext 12746 cat >>conftest.$ac_ext <<_ACEOF 8838 LIBS="-llapack $LIBS" 8839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12747 8840 /* end confdefs.h. */ 12748 8841 12749 /* Override any gcc2 internal prototype to avoid an error. */ 8842 /* Override any GCC internal prototype to avoid an error. 8843 Use char because int might match the return type of a GCC 8844 builtin and then its argument prototype would still apply. */ 12750 8845 #ifdef __cplusplus 12751 8846 extern "C" 12752 8847 #endif 12753 /* We use char because int might match the return type of a gcc2 12754 builtin and then its argument prototype would still apply. */ 12755 char $F77_DGEMM (); 8848 char $F77_DGESVD (); 12756 8849 int 12757 8850 main () 12758 8851 { 12759 $F77_DGEMM();8852 return $F77_DGESVD (); 12760 8853 ; 12761 8854 return 0; 12762 8855 } 12763 8856 _ACEOF 12764 rm -f conftest.$ac_objext conftest$ac_exeext 12765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12766 (eval $ac_link) 2>conftest.er1 12767 ac_status=$? 12768 grep -v '^ *+' conftest.er1 >conftest.err 12769 rm -f conftest.er1 12770 cat conftest.err >&5 12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12772 (exit $ac_status); } && 12773 { ac_try='test -z "$ac_cxx_werror_flag" 12774 || test ! -s conftest.err' 12775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12776 (eval $ac_try) 2>&5 12777 ac_status=$? 12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12779 (exit $ac_status); }; } && 12780 { ac_try='test -s conftest$ac_exeext' 12781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12782 (eval $ac_try) 2>&5 12783 ac_status=$? 12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12785 (exit $ac_status); }; }; then 8857 if ac_fn_cxx_try_link "$LINENO"; then : 12786 8858 eval "$as_ac_Lib=yes" 12787 8859 else 12788 echo "$as_me: failed program was:" >&5 12789 sed 's/^/| /' conftest.$ac_ext >&5 12790 12791 eval "$as_ac_Lib=no" 12792 fi 12793 rm -f conftest.err conftest.$ac_objext \ 12794 conftest$ac_exeext conftest.$ac_ext 8860 eval "$as_ac_Lib=no" 8861 fi 8862 rm -f core conftest.err conftest.$ac_objext \ 8863 conftest$ac_exeext conftest.$ac_ext 12795 8864 LIBS=$ac_check_lib_save_LIBS 12796 8865 fi 12797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5 12798 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 12799 if test `eval echo '${'$as_ac_Lib'}'` = yes; then 12800 HAVE_BLAS=yes;LIBBLAS="-lf77blas -latlas" 12801 else 12802 LIBS="$LIBSSAV2" 12803 fi 12804 12805 fi 12806 12807 if test X$HAVE_BLAS != Xyes; then 12808 echo "WARNING: Could not link to the BLAS library. It can be obtained at" 12809 echo "http://www.netlib.org/blas. Use --with-libdirs and/or --with-libs" 12810 echo "to specify the name of the library." 12811 { { echo "$as_me:$LINENO: error: BLAS is required to complete the build" >&5 12812 echo "$as_me: error: BLAS is required to complete the build" >&2;} 12813 { (exit 1); exit 1; }; } 12814 fi 12815 12816 LIBS="$LIBSSAV $LIBBLAS $FLIBS" 12817 12818 LIBLAPACK="" 12819 F77_DGESVD=`$PERL $srcdir/bin/mkf77sym.pl.in -method $F77_SYMBOLS DGESVD` 12820 as_ac_var=`echo "ac_cv_func_$F77_DGESVD" | $as_tr_sh` 12821 echo "$as_me:$LINENO: checking for $F77_DGESVD" >&5 12822 echo $ECHO_N "checking for $F77_DGESVD... $ECHO_C" >&6 12823 if eval "test \"\${$as_ac_var+set}\" = set"; then 12824 echo $ECHO_N "(cached) $ECHO_C" >&6 12825 else 12826 cat >conftest.$ac_ext <<_ACEOF 12827 /* confdefs.h. */ 12828 _ACEOF 12829 cat confdefs.h >>conftest.$ac_ext 12830 cat >>conftest.$ac_ext <<_ACEOF 12831 /* end confdefs.h. */ 12832 /* Define $F77_DGESVD to an innocuous variant, in case <limits.h> declares $F77_DGESVD. 12833 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12834 #define $F77_DGESVD innocuous_$F77_DGESVD 12835 12836 /* System header to define __stub macros and hopefully few prototypes, 12837 which can conflict with char $F77_DGESVD (); below. 12838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12839 <limits.h> exists even on freestanding compilers. */ 12840 12841 #ifdef __STDC__ 12842 # include <limits.h> 12843 #else 12844 # include <assert.h> 12845 #endif 12846 12847 #undef $F77_DGESVD 12848 12849 /* Override any gcc2 internal prototype to avoid an error. */ 12850 #ifdef __cplusplus 12851 extern "C" 12852 { 12853 #endif 12854 /* We use char because int might match the return type of a gcc2 12855 builtin and then its argument prototype would still apply. */ 12856 char $F77_DGESVD (); 12857 /* The GNU C library defines this for functions which it implements 12858 to always fail with ENOSYS. Some functions are actually named 12859 something starting with __ and the normal name is an alias. */ 12860 #if defined (__stub_$F77_DGESVD) || defined (__stub___$F77_DGESVD) 12861 choke me 12862 #else 12863 char (*f) () = $F77_DGESVD; 12864 #endif 12865 #ifdef __cplusplus 12866 } 12867 #endif 12868 12869 int 12870 main () 12871 { 12872 return f != $F77_DGESVD; 12873 ; 12874 return 0; 12875 } 12876 _ACEOF 12877 rm -f conftest.$ac_objext conftest$ac_exeext 12878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12879 (eval $ac_link) 2>conftest.er1 12880 ac_status=$? 12881 grep -v '^ *+' conftest.er1 >conftest.err 12882 rm -f conftest.er1 12883 cat conftest.err >&5 12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12885 (exit $ac_status); } && 12886 { ac_try='test -z "$ac_cxx_werror_flag" 12887 || test ! -s conftest.err' 12888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12889 (eval $ac_try) 2>&5 12890 ac_status=$? 12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12892 (exit $ac_status); }; } && 12893 { ac_try='test -s conftest$ac_exeext' 12894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12895 (eval $ac_try) 2>&5 12896 ac_status=$? 12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12898 (exit $ac_status); }; }; then 12899 eval "$as_ac_var=yes" 12900 else 12901 echo "$as_me: failed program was:" >&5 12902 sed 's/^/| /' conftest.$ac_ext >&5 12903 12904 eval "$as_ac_var=no" 12905 fi 12906 rm -f conftest.err conftest.$ac_objext \ 12907 conftest$ac_exeext conftest.$ac_ext 12908 fi 12909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 12910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12911 if test `eval echo '${'$as_ac_var'}'` = yes; then 12912 HAVE_LAPACK=yes 12913 else 12914 12915 as_ac_Lib=`echo "ac_cv_lib_lapack_$F77_DGESVD" | $as_tr_sh` 12916 echo "$as_me:$LINENO: checking for $F77_DGESVD in -llapack" >&5 12917 echo $ECHO_N "checking for $F77_DGESVD in -llapack... $ECHO_C" >&6 12918 if eval "test \"\${$as_ac_Lib+set}\" = set"; then 12919 echo $ECHO_N "(cached) $ECHO_C" >&6 12920 else 12921 ac_check_lib_save_LIBS=$LIBS 12922 LIBS="-llapack $LIBS" 12923 cat >conftest.$ac_ext <<_ACEOF 12924 /* confdefs.h. */ 12925 _ACEOF 12926 cat confdefs.h >>conftest.$ac_ext 12927 cat >>conftest.$ac_ext <<_ACEOF 12928 /* end confdefs.h. */ 12929 12930 /* Override any gcc2 internal prototype to avoid an error. */ 12931 #ifdef __cplusplus 12932 extern "C" 12933 #endif 12934 /* We use char because int might match the return type of a gcc2 12935 builtin and then its argument prototype would still apply. */ 12936 char $F77_DGESVD (); 12937 int 12938 main () 12939 { 12940 $F77_DGESVD (); 12941 ; 12942 return 0; 12943 } 12944 _ACEOF 12945 rm -f conftest.$ac_objext conftest$ac_exeext 12946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12947 (eval $ac_link) 2>conftest.er1 12948 ac_status=$? 12949 grep -v '^ *+' conftest.er1 >conftest.err 12950 rm -f conftest.er1 12951 cat conftest.err >&5 12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12953 (exit $ac_status); } && 12954 { ac_try='test -z "$ac_cxx_werror_flag" 12955 || test ! -s conftest.err' 12956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12957 (eval $ac_try) 2>&5 12958 ac_status=$? 12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12960 (exit $ac_status); }; } && 12961 { ac_try='test -s conftest$ac_exeext' 12962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12963 (eval $ac_try) 2>&5 12964 ac_status=$? 12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12966 (exit $ac_status); }; }; then 12967 eval "$as_ac_Lib=yes" 12968 else 12969 echo "$as_me: failed program was:" >&5 12970 sed 's/^/| /' conftest.$ac_ext >&5 12971 12972 eval "$as_ac_Lib=no" 12973 fi 12974 rm -f conftest.err conftest.$ac_objext \ 12975 conftest$ac_exeext conftest.$ac_ext 12976 LIBS=$ac_check_lib_save_LIBS 12977 fi 12978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5 12979 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 12980 if test `eval echo '${'$as_ac_Lib'}'` = yes; then 8866 eval ac_res=\$$as_ac_Lib 8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 8868 $as_echo "$ac_res" >&6; } 8869 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 12981 8870 HAVE_LAPACK=yes;LIBLAPACK="-llapack" 12982 8871 … … 12991 8880 echo "http://www.netlib.org/lapack. Use --with-libdirs and/or --with-libs" 12992 8881 echo "to specify the name of the library." 12993 { { echo "$as_me:$LINENO: error: LAPACK is required to complete the build" >&5 12994 echo "$as_me: error: LAPACK is required to complete the build" >&2;} 12995 { (exit 1); exit 1; }; } 8882 as_fn_error $? "LAPACK is required to complete the build" "$LINENO" 5 12996 8883 fi 12997 8884 … … 13008 8895 LIBS="$LIBS $FLIBS" 13009 8896 HAVE_SCALABLE_BLAS=no 13010 echo "$as_me:$LINENO: checking for sB_init" >&5 13011 echo $ECHO_N "checking for sB_init... $ECHO_C" >&6 13012 if test "${ac_cv_func_sB_init+set}" = set; then 13013 echo $ECHO_N "(cached) $ECHO_C" >&6 13014 else 13015 cat >conftest.$ac_ext <<_ACEOF 13016 /* confdefs.h. */ 13017 _ACEOF 13018 cat confdefs.h >>conftest.$ac_ext 13019 cat >>conftest.$ac_ext <<_ACEOF 8897 ac_fn_c_check_func "$LINENO" "sB_init" "ac_cv_func_sB_init" 8898 if test "x$ac_cv_func_sB_init" = xyes; then : 8899 HAVE_SCALABLE_BLAS=yes 8900 else 8901 8902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sB_init in -lsB_BLAS" >&5 8903 $as_echo_n "checking for sB_init in -lsB_BLAS... " >&6; } 8904 if ${ac_cv_lib_sB_BLAS_sB_init+:} false; then : 8905 $as_echo_n "(cached) " >&6 8906 else 8907 ac_check_lib_save_LIBS=$LIBS 8908 LIBS="-lsB_BLAS $LIBS" 8909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13020 8910 /* end confdefs.h. */ 13021 /* Define sB_init to an innocuous variant, in case <limits.h> declares sB_init. 13022 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13023 #define sB_init innocuous_sB_init 13024 13025 /* System header to define __stub macros and hopefully few prototypes, 13026 which can conflict with char sB_init (); below. 13027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13028 <limits.h> exists even on freestanding compilers. */ 13029 13030 #ifdef __STDC__ 13031 # include <limits.h> 13032 #else 13033 # include <assert.h> 13034 #endif 13035 13036 #undef sB_init 13037 13038 /* Override any gcc2 internal prototype to avoid an error. */ 8911 8912 /* Override any GCC internal prototype to avoid an error. 8913 Use char because int might match the return type of a GCC 8914 builtin and then its argument prototype would still apply. */ 13039 8915 #ifdef __cplusplus 13040 8916 extern "C" 13041 {13042 8917 #endif 13043 /* We use char because int might match the return type of a gcc213044 builtin and then its argument prototype would still apply. */13045 8918 char sB_init (); 13046 /* The GNU C library defines this for functions which it implements13047 to always fail with ENOSYS. Some functions are actually named13048 something starting with __ and the normal name is an alias. */13049 #if defined (__stub_sB_init) || defined (__stub___sB_init)13050 choke me13051 #else13052 char (*f) () = sB_init;13053 #endif13054 #ifdef __cplusplus13055 }13056 #endif13057 13058 8919 int 13059 8920 main () 13060 8921 { 13061 return f != sB_init;8922 return sB_init (); 13062 8923 ; 13063 8924 return 0; 13064 8925 } 13065 8926 _ACEOF 13066 rm -f conftest.$ac_objext conftest$ac_exeext 13067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13068 (eval $ac_link) 2>conftest.er1 13069 ac_status=$? 13070 grep -v '^ *+' conftest.er1 >conftest.err 13071 rm -f conftest.er1 13072 cat conftest.err >&5 13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13074 (exit $ac_status); } && 13075 { ac_try='test -z "$ac_c_werror_flag" 13076 || test ! -s conftest.err' 13077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13078 (eval $ac_try) 2>&5 13079 ac_status=$? 13080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13081 (exit $ac_status); }; } && 13082 { ac_try='test -s conftest$ac_exeext' 13083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13084 (eval $ac_try) 2>&5 13085 ac_status=$? 13086 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13087 (exit $ac_status); }; }; then 13088 ac_cv_func_sB_init=yes 13089 else 13090 echo "$as_me: failed program was:" >&5 13091 sed 's/^/| /' conftest.$ac_ext >&5 13092 13093 ac_cv_func_sB_init=no 13094 fi 13095 rm -f conftest.err conftest.$ac_objext \ 13096 conftest$ac_exeext conftest.$ac_ext 13097 fi 13098 echo "$as_me:$LINENO: result: $ac_cv_func_sB_init" >&5 13099 echo "${ECHO_T}$ac_cv_func_sB_init" >&6 13100 if test $ac_cv_func_sB_init = yes; then 13101 HAVE_SCALABLE_BLAS=yes 13102 else 13103 13104 echo "$as_me:$LINENO: checking for sB_init in -lsB_BLAS" >&5 13105 echo $ECHO_N "checking for sB_init in -lsB_BLAS... $ECHO_C" >&6 13106 if test "${ac_cv_lib_sB_BLAS_sB_init+set}" = set; then 13107 echo $ECHO_N "(cached) $ECHO_C" >&6 13108 else 13109 ac_check_lib_save_LIBS=$LIBS 13110 LIBS="-lsB_BLAS $LIBS" 13111 cat >conftest.$ac_ext <<_ACEOF 13112 /* confdefs.h. */ 13113 _ACEOF 13114 cat confdefs.h >>conftest.$ac_ext 13115 cat >>conftest.$ac_ext <<_ACEOF 13116 /* end confdefs.h. */ 13117 13118 /* Override any gcc2 internal prototype to avoid an error. */ 13119 #ifdef __cplusplus 13120 extern "C" 13121 #endif 13122 /* We use char because int might match the return type of a gcc2 13123 builtin and then its argument prototype would still apply. */ 13124 char sB_init (); 13125 int 13126 main () 13127 { 13128 sB_init (); 13129 ; 13130 return 0; 13131 } 13132 _ACEOF 13133 rm -f conftest.$ac_objext conftest$ac_exeext 13134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13135 (eval $ac_link) 2>conftest.er1 13136 ac_status=$? 13137 grep -v '^ *+' conftest.er1 >conftest.err 13138 rm -f conftest.er1 13139 cat conftest.err >&5 13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13141 (exit $ac_status); } && 13142 { ac_try='test -z "$ac_c_werror_flag" 13143 || test ! -s conftest.err' 13144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13145 (eval $ac_try) 2>&5 13146 ac_status=$? 13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13148 (exit $ac_status); }; } && 13149 { ac_try='test -s conftest$ac_exeext' 13150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13151 (eval $ac_try) 2>&5 13152 ac_status=$? 13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13154 (exit $ac_status); }; }; then 8927 if ac_fn_c_try_link "$LINENO"; then : 13155 8928 ac_cv_lib_sB_BLAS_sB_init=yes 13156 8929 else 13157 echo "$as_me: failed program was:" >&5 13158 sed 's/^/| /' conftest.$ac_ext >&5 13159 13160 ac_cv_lib_sB_BLAS_sB_init=no 13161 fi 13162 rm -f conftest.err conftest.$ac_objext \ 13163 conftest$ac_exeext conftest.$ac_ext 8930 ac_cv_lib_sB_BLAS_sB_init=no 8931 fi 8932 rm -f core conftest.err conftest.$ac_objext \ 8933 conftest$ac_exeext conftest.$ac_ext 13164 8934 LIBS=$ac_check_lib_save_LIBS 13165 8935 fi 13166 echo "$as_me:$LINENO: result: $ac_cv_lib_sB_BLAS_sB_init" >&513167 echo "${ECHO_T}$ac_cv_lib_sB_BLAS_sB_init" >&6 13168 if test $ac_cv_lib_sB_BLAS_sB_init = yes; then8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sB_BLAS_sB_init" >&5 8937 $as_echo "$ac_cv_lib_sB_BLAS_sB_init" >&6; } 8938 if test "x$ac_cv_lib_sB_BLAS_sB_init" = xyes; then : 13169 8939 13170 8940 HAVE_SCALABLE_BLAS=yes … … 13178 8948 LIBS="$LIBSSAV" 13179 8949 if test $HAVE_SCALABLE_BLAS = yes; then 13180 cat >>confdefs.h <<\_ACEOF 13181 #define HAVE_SCALABLE_BLAS 1 13182 _ACEOF 13183 13184 fi 13185 13186 13187 13188 13189 ac_ext=cc 8950 8951 $as_echo "#define HAVE_SCALABLE_BLAS 1" >>confdefs.h 8952 8953 fi 8954 8955 8956 8957 ac_ext=cpp 13190 8958 ac_cpp='$CXXCPP $CPPFLAGS' 13191 8959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 13195 8963 # Extract the first word of "niama-config", so it can be a program name with args. 13196 8964 set dummy niama-config; ac_word=$2 13197 echo "$as_me:$LINENO: checking for $ac_word" >&513198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13199 if test "${ac_cv_prog_NIAMACFG+set}" = set; then13200 echo $ECHO_N "(cached) $ECHO_C" >&68965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8966 $as_echo_n "checking for $ac_word... " >&6; } 8967 if ${ac_cv_prog_NIAMACFG+:} false; then : 8968 $as_echo_n "(cached) " >&6 13201 8969 else 13202 8970 if test -n "$NIAMACFG"; then … … 13208 8976 IFS=$as_save_IFS 13209 8977 test -z "$as_dir" && as_dir=. 13210 for ac_exec_ext in '' $ac_executable_extensions; do13211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8978 for ac_exec_ext in '' $ac_executable_extensions; do 8979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13212 8980 ac_cv_prog_NIAMACFG="niama-config" 13213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&58981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13214 8982 break 2 13215 8983 fi 13216 8984 done 13217 done 8985 done 8986 IFS=$as_save_IFS 13218 8987 13219 8988 fi … … 13221 8990 NIAMACFG=$ac_cv_prog_NIAMACFG 13222 8991 if test -n "$NIAMACFG"; then 13223 echo "$as_me:$LINENO: result: $NIAMACFG" >&5 13224 echo "${ECHO_T}$NIAMACFG" >&6 13225 else 13226 echo "$as_me:$LINENO: result: no" >&5 13227 echo "${ECHO_T}no" >&6 13228 fi 8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NIAMACFG" >&5 8993 $as_echo "$NIAMACFG" >&6; } 8994 else 8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8996 $as_echo "no" >&6; } 8997 fi 8998 13229 8999 13230 9000 if test X$NIAMACFG != X; then … … 13234 9004 CPPFLAGS="$CPPFLAGS `niama-config --cppflags`" 13235 9005 LIBS="$NIAMALIBS $LIBS" 13236 cat >conftest.$ac_ext <<_ACEOF 13237 /* confdefs.h. */ 13238 _ACEOF 13239 cat confdefs.h >>conftest.$ac_ext 13240 cat >>conftest.$ac_ext <<_ACEOF 9006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13241 9007 /* end confdefs.h. */ 13242 9008 … … 13253 9019 } 13254 9020 _ACEOF 13255 rm -f conftest.$ac_objext conftest$ac_exeext 13256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13257 (eval $ac_link) 2>conftest.er1 13258 ac_status=$? 13259 grep -v '^ *+' conftest.er1 >conftest.err 13260 rm -f conftest.er1 13261 cat conftest.err >&5 13262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13263 (exit $ac_status); } && 13264 { ac_try='test -z "$ac_cxx_werror_flag" 13265 || test ! -s conftest.err' 13266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13267 (eval $ac_try) 2>&5 13268 ac_status=$? 13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13270 (exit $ac_status); }; } && 13271 { ac_try='test -s conftest$ac_exeext' 13272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13273 (eval $ac_try) 2>&5 13274 ac_status=$? 13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13276 (exit $ac_status); }; }; then 13277 13278 cat >>confdefs.h <<\_ACEOF 13279 #define HAVE_NIAMA 1 13280 _ACEOF 13281 13282 13283 else 13284 echo "$as_me: failed program was:" >&5 13285 sed 's/^/| /' conftest.$ac_ext >&5 13286 9021 if ac_fn_cxx_try_link "$LINENO"; then : 9022 9023 9024 $as_echo "#define HAVE_NIAMA 1" >>confdefs.h 9025 9026 9027 else 13287 9028 13288 9029 LIBS="$LIBSSAV" … … 13291 9032 13292 9033 fi 13293 rm -f co nftest.err conftest.$ac_objext \13294 conftest$ac_exeext conftest.$ac_ext9034 rm -f core conftest.err conftest.$ac_objext \ 9035 conftest$ac_exeext conftest.$ac_ext 13295 9036 fi 13296 9037 ac_ext=c … … 13303 9044 13304 9045 13305 13306 ac_ext=cc 9046 ac_ext=cpp 13307 9047 ac_cpp='$CXXCPP $CPPFLAGS' 13308 9048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 13310 9050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13311 9051 13312 13313 9052 for ac_header in libint/libint.h 13314 do 13315 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 13316 if eval "test \"\${$as_ac_Header+set}\" = set"; then 13317 echo "$as_me:$LINENO: checking for $ac_header" >&5 13318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 13319 if eval "test \"\${$as_ac_Header+set}\" = set"; then 13320 echo $ECHO_N "(cached) $ECHO_C" >&6 13321 fi 13322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 13323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 13324 else 13325 # Is the header compilable? 13326 echo "$as_me:$LINENO: checking $ac_header usability" >&5 13327 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 13328 cat >conftest.$ac_ext <<_ACEOF 13329 /* confdefs.h. */ 9053 do : 9054 ac_fn_cxx_check_header_mongrel "$LINENO" "libint/libint.h" "ac_cv_header_libint_libint_h" "$ac_includes_default" 9055 if test "x$ac_cv_header_libint_libint_h" = xyes; then : 9056 cat >>confdefs.h <<_ACEOF 9057 #define HAVE_LIBINT_LIBINT_H 1 13330 9058 _ACEOF 13331 cat confdefs.h >>conftest.$ac_ext 13332 cat >>conftest.$ac_ext <<_ACEOF 13333 /* end confdefs.h. */ 13334 $ac_includes_default 13335 #include <$ac_header> 13336 _ACEOF 13337 rm -f conftest.$ac_objext 13338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13339 (eval $ac_compile) 2>conftest.er1 13340 ac_status=$? 13341 grep -v '^ *+' conftest.er1 >conftest.err 13342 rm -f conftest.er1 13343 cat conftest.err >&5 13344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13345 (exit $ac_status); } && 13346 { ac_try='test -z "$ac_cxx_werror_flag" 13347 || test ! -s conftest.err' 13348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13349 (eval $ac_try) 2>&5 13350 ac_status=$? 13351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13352 (exit $ac_status); }; } && 13353 { ac_try='test -s conftest.$ac_objext' 13354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13355 (eval $ac_try) 2>&5 13356 ac_status=$? 13357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13358 (exit $ac_status); }; }; then 13359 ac_header_compiler=yes 13360 else 13361 echo "$as_me: failed program was:" >&5 13362 sed 's/^/| /' conftest.$ac_ext >&5 13363 13364 ac_header_compiler=no 13365 fi 13366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 13367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13368 echo "${ECHO_T}$ac_header_compiler" >&6 13369 13370 # Is the header present? 13371 echo "$as_me:$LINENO: checking $ac_header presence" >&5 13372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 13373 cat >conftest.$ac_ext <<_ACEOF 13374 /* confdefs.h. */ 13375 _ACEOF 13376 cat confdefs.h >>conftest.$ac_ext 13377 cat >>conftest.$ac_ext <<_ACEOF 13378 /* end confdefs.h. */ 13379 #include <$ac_header> 13380 _ACEOF 13381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 13382 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13383 ac_status=$? 13384 grep -v '^ *+' conftest.er1 >conftest.err 13385 rm -f conftest.er1 13386 cat conftest.err >&5 13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13388 (exit $ac_status); } >/dev/null; then 13389 if test -s conftest.err; then 13390 ac_cpp_err=$ac_cxx_preproc_warn_flag 13391 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 13392 else 13393 ac_cpp_err= 13394 fi 13395 else 13396 ac_cpp_err=yes 13397 fi 13398 if test -z "$ac_cpp_err"; then 13399 ac_header_preproc=yes 13400 else 13401 echo "$as_me: failed program was:" >&5 13402 sed 's/^/| /' conftest.$ac_ext >&5 13403 13404 ac_header_preproc=no 13405 fi 13406 rm -f conftest.err conftest.$ac_ext 13407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13408 echo "${ECHO_T}$ac_header_preproc" >&6 13409 13410 # So? What about this header? 13411 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 13412 yes:no: ) 13413 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 13414 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 13415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 13416 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 13417 ac_header_preproc=yes 13418 ;; 13419 no:yes:* ) 13420 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 13421 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 13422 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 13423 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 13424 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 13425 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 13426 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 13427 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 13428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 13429 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 13430 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 13431 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 13432 ( 13433 cat <<\_ASBOX 13434 ## ------------------------------------------ ## 13435 ## Report this to the AC_PACKAGE_NAME lists. ## 13436 ## ------------------------------------------ ## 13437 _ASBOX 13438 ) | 13439 sed "s/^/$as_me: WARNING: /" >&2 13440 ;; 13441 esac 13442 echo "$as_me:$LINENO: checking for $ac_header" >&5 13443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 13444 if eval "test \"\${$as_ac_Header+set}\" = set"; then 13445 echo $ECHO_N "(cached) $ECHO_C" >&6 13446 else 13447 eval "$as_ac_Header=\$ac_header_preproc" 13448 fi 13449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 13450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 13451 13452 fi 13453 if test `eval echo '${'$as_ac_Header'}'` = yes; then 13454 cat >>confdefs.h <<_ACEOF 13455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 13456 _ACEOF 13457 echo "$as_me:$LINENO: checking for init_libint_base in -lint" >&5 13458 echo $ECHO_N "checking for init_libint_base in -lint... $ECHO_C" >&6 13459 if test "${ac_cv_lib_int_init_libint_base+set}" = set; then 13460 echo $ECHO_N "(cached) $ECHO_C" >&6 9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init_libint_base in -lint" >&5 9060 $as_echo_n "checking for init_libint_base in -lint... " >&6; } 9061 if ${ac_cv_lib_int_init_libint_base+:} false; then : 9062 $as_echo_n "(cached) " >&6 13461 9063 else 13462 9064 ac_check_lib_save_LIBS=$LIBS 13463 9065 LIBS="-lint $LIBS" 13464 cat >conftest.$ac_ext <<_ACEOF 13465 /* confdefs.h. */ 13466 _ACEOF 13467 cat confdefs.h >>conftest.$ac_ext 13468 cat >>conftest.$ac_ext <<_ACEOF 9066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13469 9067 /* end confdefs.h. */ 13470 9068 13471 /* Override any gcc2 internal prototype to avoid an error. */ 9069 /* Override any GCC internal prototype to avoid an error. 9070 Use char because int might match the return type of a GCC 9071 builtin and then its argument prototype would still apply. */ 13472 9072 #ifdef __cplusplus 13473 9073 extern "C" 13474 9074 #endif 13475 /* We use char because int might match the return type of a gcc213476 builtin and then its argument prototype would still apply. */13477 9075 char init_libint_base (); 13478 9076 int 13479 9077 main () 13480 9078 { 13481 init_libint_base ();9079 return init_libint_base (); 13482 9080 ; 13483 9081 return 0; 13484 9082 } 13485 9083 _ACEOF 13486 rm -f conftest.$ac_objext conftest$ac_exeext 13487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13488 (eval $ac_link) 2>conftest.er1 13489 ac_status=$? 13490 grep -v '^ *+' conftest.er1 >conftest.err 13491 rm -f conftest.er1 13492 cat conftest.err >&5 13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13494 (exit $ac_status); } && 13495 { ac_try='test -z "$ac_cxx_werror_flag" 13496 || test ! -s conftest.err' 13497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13498 (eval $ac_try) 2>&5 13499 ac_status=$? 13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13501 (exit $ac_status); }; } && 13502 { ac_try='test -s conftest$ac_exeext' 13503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13504 (eval $ac_try) 2>&5 13505 ac_status=$? 13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13507 (exit $ac_status); }; }; then 9084 if ac_fn_cxx_try_link "$LINENO"; then : 13508 9085 ac_cv_lib_int_init_libint_base=yes 13509 9086 else 13510 echo "$as_me: failed program was:" >&5 13511 sed 's/^/| /' conftest.$ac_ext >&5 13512 13513 ac_cv_lib_int_init_libint_base=no 13514 fi 13515 rm -f conftest.err conftest.$ac_objext \ 13516 conftest$ac_exeext conftest.$ac_ext 9087 ac_cv_lib_int_init_libint_base=no 9088 fi 9089 rm -f core conftest.err conftest.$ac_objext \ 9090 conftest$ac_exeext conftest.$ac_ext 13517 9091 LIBS=$ac_check_lib_save_LIBS 13518 9092 fi 13519 echo "$as_me:$LINENO: result: $ac_cv_lib_int_init_libint_base" >&513520 echo "${ECHO_T}$ac_cv_lib_int_init_libint_base" >&6 13521 if test $ac_cv_lib_int_init_libint_base = yes; then9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_int_init_libint_base" >&5 9094 $as_echo "$ac_cv_lib_int_init_libint_base" >&6; } 9095 if test "x$ac_cv_lib_int_init_libint_base" = xyes; then : 13522 9096 HAVE_LIBINT=yes 13523 cat >>confdefs.h <<\_ACEOF 13524 #define HAVE_LIBINT 1 13525 _ACEOF 9097 9098 $as_echo "#define HAVE_LIBINT 1" >>confdefs.h 13526 9099 13527 9100 … … 13544 9117 13545 9118 13546 13547 ac_ext=cc 9119 ac_ext=cpp 13548 9120 ac_cpp='$CXXCPP $CPPFLAGS' 13549 9121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 13551 9123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13552 9124 13553 13554 9125 for ac_header in libr12/libr12.h 13555 do 13556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 13557 if eval "test \"\${$as_ac_Header+set}\" = set"; then 13558 echo "$as_me:$LINENO: checking for $ac_header" >&5 13559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 13560 if eval "test \"\${$as_ac_Header+set}\" = set"; then 13561 echo $ECHO_N "(cached) $ECHO_C" >&6 13562 fi 13563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 13564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 13565 else 13566 # Is the header compilable? 13567 echo "$as_me:$LINENO: checking $ac_header usability" >&5 13568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 13569 cat >conftest.$ac_ext <<_ACEOF 13570 /* confdefs.h. */ 9126 do : 9127 ac_fn_cxx_check_header_mongrel "$LINENO" "libr12/libr12.h" "ac_cv_header_libr12_libr12_h" "$ac_includes_default" 9128 if test "x$ac_cv_header_libr12_libr12_h" = xyes; then : 9129 cat >>confdefs.h <<_ACEOF 9130 #define HAVE_LIBR12_LIBR12_H 1 13571 9131 _ACEOF 13572 cat confdefs.h >>conftest.$ac_ext 13573 cat >>conftest.$ac_ext <<_ACEOF 13574 /* end confdefs.h. */ 13575 $ac_includes_default 13576 #include <$ac_header> 13577 _ACEOF 13578 rm -f conftest.$ac_objext 13579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13580 (eval $ac_compile) 2>conftest.er1 13581 ac_status=$? 13582 grep -v '^ *+' conftest.er1 >conftest.err 13583 rm -f conftest.er1 13584 cat conftest.err >&5 13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13586 (exit $ac_status); } && 13587 { ac_try='test -z "$ac_cxx_werror_flag" 13588 || test ! -s conftest.err' 13589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13590 (eval $ac_try) 2>&5 13591 ac_status=$? 13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13593 (exit $ac_status); }; } && 13594 { ac_try='test -s conftest.$ac_objext' 13595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13596 (eval $ac_try) 2>&5 13597 ac_status=$? 13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13599 (exit $ac_status); }; }; then 13600 ac_header_compiler=yes 13601 else 13602 echo "$as_me: failed program was:" >&5 13603 sed 's/^/| /' conftest.$ac_ext >&5 13604 13605 ac_header_compiler=no 13606 fi 13607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 13608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13609 echo "${ECHO_T}$ac_header_compiler" >&6 13610 13611 # Is the header present? 13612 echo "$as_me:$LINENO: checking $ac_header presence" >&5 13613 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 13614 cat >conftest.$ac_ext <<_ACEOF 13615 /* confdefs.h. */ 13616 _ACEOF 13617 cat confdefs.h >>conftest.$ac_ext 13618 cat >>conftest.$ac_ext <<_ACEOF 13619 /* end confdefs.h. */ 13620 #include <$ac_header> 13621 _ACEOF 13622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 13623 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13624 ac_status=$? 13625 grep -v '^ *+' conftest.er1 >conftest.err 13626 rm -f conftest.er1 13627 cat conftest.err >&5 13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13629 (exit $ac_status); } >/dev/null; then 13630 if test -s conftest.err; then 13631 ac_cpp_err=$ac_cxx_preproc_warn_flag 13632 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 13633 else 13634 ac_cpp_err= 13635 fi 13636 else 13637 ac_cpp_err=yes 13638 fi 13639 if test -z "$ac_cpp_err"; then 13640 ac_header_preproc=yes 13641 else 13642 echo "$as_me: failed program was:" >&5 13643 sed 's/^/| /' conftest.$ac_ext >&5 13644 13645 ac_header_preproc=no 13646 fi 13647 rm -f conftest.err conftest.$ac_ext 13648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13649 echo "${ECHO_T}$ac_header_preproc" >&6 13650 13651 # So? What about this header? 13652 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 13653 yes:no: ) 13654 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 13655 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 13656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 13657 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 13658 ac_header_preproc=yes 13659 ;; 13660 no:yes:* ) 13661 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 13662 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 13663 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 13664 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 13665 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 13666 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 13667 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 13668 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 13669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 13670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 13671 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 13672 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 13673 ( 13674 cat <<\_ASBOX 13675 ## ------------------------------------------ ## 13676 ## Report this to the AC_PACKAGE_NAME lists. ## 13677 ## ------------------------------------------ ## 13678 _ASBOX 13679 ) | 13680 sed "s/^/$as_me: WARNING: /" >&2 13681 ;; 13682 esac 13683 echo "$as_me:$LINENO: checking for $ac_header" >&5 13684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 13685 if eval "test \"\${$as_ac_Header+set}\" = set"; then 13686 echo $ECHO_N "(cached) $ECHO_C" >&6 13687 else 13688 eval "$as_ac_Header=\$ac_header_preproc" 13689 fi 13690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 13691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 13692 13693 fi 13694 if test `eval echo '${'$as_ac_Header'}'` = yes; then 13695 cat >>confdefs.h <<_ACEOF 13696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 13697 _ACEOF 13698 echo "$as_me:$LINENO: checking for init_libr12_base in -lr12" >&5 13699 echo $ECHO_N "checking for init_libr12_base in -lr12... $ECHO_C" >&6 13700 if test "${ac_cv_lib_r12_init_libr12_base+set}" = set; then 13701 echo $ECHO_N "(cached) $ECHO_C" >&6 9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init_libr12_base in -lr12" >&5 9133 $as_echo_n "checking for init_libr12_base in -lr12... " >&6; } 9134 if ${ac_cv_lib_r12_init_libr12_base+:} false; then : 9135 $as_echo_n "(cached) " >&6 13702 9136 else 13703 9137 ac_check_lib_save_LIBS=$LIBS 13704 9138 LIBS="-lr12 $LIBS" 13705 cat >conftest.$ac_ext <<_ACEOF 13706 /* confdefs.h. */ 13707 _ACEOF 13708 cat confdefs.h >>conftest.$ac_ext 13709 cat >>conftest.$ac_ext <<_ACEOF 9139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13710 9140 /* end confdefs.h. */ 13711 9141 13712 /* Override any gcc2 internal prototype to avoid an error. */ 9142 /* Override any GCC internal prototype to avoid an error. 9143 Use char because int might match the return type of a GCC 9144 builtin and then its argument prototype would still apply. */ 13713 9145 #ifdef __cplusplus 13714 9146 extern "C" 13715 9147 #endif 13716 /* We use char because int might match the return type of a gcc213717 builtin and then its argument prototype would still apply. */13718 9148 char init_libr12_base (); 13719 9149 int 13720 9150 main () 13721 9151 { 13722 init_libr12_base ();9152 return init_libr12_base (); 13723 9153 ; 13724 9154 return 0; 13725 9155 } 13726 9156 _ACEOF 13727 rm -f conftest.$ac_objext conftest$ac_exeext 13728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13729 (eval $ac_link) 2>conftest.er1 13730 ac_status=$? 13731 grep -v '^ *+' conftest.er1 >conftest.err 13732 rm -f conftest.er1 13733 cat conftest.err >&5 13734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13735 (exit $ac_status); } && 13736 { ac_try='test -z "$ac_cxx_werror_flag" 13737 || test ! -s conftest.err' 13738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13739 (eval $ac_try) 2>&5 13740 ac_status=$? 13741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13742 (exit $ac_status); }; } && 13743 { ac_try='test -s conftest$ac_exeext' 13744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13745 (eval $ac_try) 2>&5 13746 ac_status=$? 13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13748 (exit $ac_status); }; }; then 9157 if ac_fn_cxx_try_link "$LINENO"; then : 13749 9158 ac_cv_lib_r12_init_libr12_base=yes 13750 9159 else 13751 echo "$as_me: failed program was:" >&5 13752 sed 's/^/| /' conftest.$ac_ext >&5 13753 13754 ac_cv_lib_r12_init_libr12_base=no 13755 fi 13756 rm -f conftest.err conftest.$ac_objext \ 13757 conftest$ac_exeext conftest.$ac_ext 9160 ac_cv_lib_r12_init_libr12_base=no 9161 fi 9162 rm -f core conftest.err conftest.$ac_objext \ 9163 conftest$ac_exeext conftest.$ac_ext 13758 9164 LIBS=$ac_check_lib_save_LIBS 13759 9165 fi 13760 echo "$as_me:$LINENO: result: $ac_cv_lib_r12_init_libr12_base" >&513761 echo "${ECHO_T}$ac_cv_lib_r12_init_libr12_base" >&6 13762 if test $ac_cv_lib_r12_init_libr12_base = yes; then9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_r12_init_libr12_base" >&5 9167 $as_echo "$ac_cv_lib_r12_init_libr12_base" >&6; } 9168 if test "x$ac_cv_lib_r12_init_libr12_base" = xyes; then : 13763 9169 HAVE_LIBR12=yes 13764 cat >>confdefs.h <<\_ACEOF 13765 #define HAVE_LIBR12 1 13766 _ACEOF 9170 9171 $as_echo "#define HAVE_LIBR12 1" >>confdefs.h 13767 9172 13768 9173 … … 13785 9190 13786 9191 13787 13788 ac_ext=cc 9192 ac_ext=cpp 13789 9193 ac_cpp='$CXXCPP $CPPFLAGS' 13790 9194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 13792 9196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13793 9197 13794 13795 9198 for ac_header in libderiv/libderiv.h 13796 do 13797 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 13798 if eval "test \"\${$as_ac_Header+set}\" = set"; then 13799 echo "$as_me:$LINENO: checking for $ac_header" >&5 13800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 13801 if eval "test \"\${$as_ac_Header+set}\" = set"; then 13802 echo $ECHO_N "(cached) $ECHO_C" >&6 13803 fi 13804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 13805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 13806 else 13807 # Is the header compilable? 13808 echo "$as_me:$LINENO: checking $ac_header usability" >&5 13809 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 13810 cat >conftest.$ac_ext <<_ACEOF 13811 /* confdefs.h. */ 9199 do : 9200 ac_fn_cxx_check_header_mongrel "$LINENO" "libderiv/libderiv.h" "ac_cv_header_libderiv_libderiv_h" "$ac_includes_default" 9201 if test "x$ac_cv_header_libderiv_libderiv_h" = xyes; then : 9202 cat >>confdefs.h <<_ACEOF 9203 #define HAVE_LIBDERIV_LIBDERIV_H 1 13812 9204 _ACEOF 13813 cat confdefs.h >>conftest.$ac_ext 13814 cat >>conftest.$ac_ext <<_ACEOF 13815 /* end confdefs.h. */ 13816 $ac_includes_default 13817 #include <$ac_header> 13818 _ACEOF 13819 rm -f conftest.$ac_objext 13820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13821 (eval $ac_compile) 2>conftest.er1 13822 ac_status=$? 13823 grep -v '^ *+' conftest.er1 >conftest.err 13824 rm -f conftest.er1 13825 cat conftest.err >&5 13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13827 (exit $ac_status); } && 13828 { ac_try='test -z "$ac_cxx_werror_flag" 13829 || test ! -s conftest.err' 13830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13831 (eval $ac_try) 2>&5 13832 ac_status=$? 13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13834 (exit $ac_status); }; } && 13835 { ac_try='test -s conftest.$ac_objext' 13836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13837 (eval $ac_try) 2>&5 13838 ac_status=$? 13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13840 (exit $ac_status); }; }; then 13841 ac_header_compiler=yes 13842 else 13843 echo "$as_me: failed program was:" >&5 13844 sed 's/^/| /' conftest.$ac_ext >&5 13845 13846 ac_header_compiler=no 13847 fi 13848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 13849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13850 echo "${ECHO_T}$ac_header_compiler" >&6 13851 13852 # Is the header present? 13853 echo "$as_me:$LINENO: checking $ac_header presence" >&5 13854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 13855 cat >conftest.$ac_ext <<_ACEOF 13856 /* confdefs.h. */ 13857 _ACEOF 13858 cat confdefs.h >>conftest.$ac_ext 13859 cat >>conftest.$ac_ext <<_ACEOF 13860 /* end confdefs.h. */ 13861 #include <$ac_header> 13862 _ACEOF 13863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 13864 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13865 ac_status=$? 13866 grep -v '^ *+' conftest.er1 >conftest.err 13867 rm -f conftest.er1 13868 cat conftest.err >&5 13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13870 (exit $ac_status); } >/dev/null; then 13871 if test -s conftest.err; then 13872 ac_cpp_err=$ac_cxx_preproc_warn_flag 13873 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 13874 else 13875 ac_cpp_err= 13876 fi 13877 else 13878 ac_cpp_err=yes 13879 fi 13880 if test -z "$ac_cpp_err"; then 13881 ac_header_preproc=yes 13882 else 13883 echo "$as_me: failed program was:" >&5 13884 sed 's/^/| /' conftest.$ac_ext >&5 13885 13886 ac_header_preproc=no 13887 fi 13888 rm -f conftest.err conftest.$ac_ext 13889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13890 echo "${ECHO_T}$ac_header_preproc" >&6 13891 13892 # So? What about this header? 13893 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 13894 yes:no: ) 13895 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 13896 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 13897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 13898 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 13899 ac_header_preproc=yes 13900 ;; 13901 no:yes:* ) 13902 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 13903 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 13904 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 13905 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 13906 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 13907 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 13908 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 13909 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 13910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 13911 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 13912 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 13913 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 13914 ( 13915 cat <<\_ASBOX 13916 ## ------------------------------------------ ## 13917 ## Report this to the AC_PACKAGE_NAME lists. ## 13918 ## ------------------------------------------ ## 13919 _ASBOX 13920 ) | 13921 sed "s/^/$as_me: WARNING: /" >&2 13922 ;; 13923 esac 13924 echo "$as_me:$LINENO: checking for $ac_header" >&5 13925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 13926 if eval "test \"\${$as_ac_Header+set}\" = set"; then 13927 echo $ECHO_N "(cached) $ECHO_C" >&6 13928 else 13929 eval "$as_ac_Header=\$ac_header_preproc" 13930 fi 13931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 13932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 13933 13934 fi 13935 if test `eval echo '${'$as_ac_Header'}'` = yes; then 13936 cat >>confdefs.h <<_ACEOF 13937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 13938 _ACEOF 13939 echo "$as_me:$LINENO: checking for init_libderiv_base in -lderiv" >&5 13940 echo $ECHO_N "checking for init_libderiv_base in -lderiv... $ECHO_C" >&6 13941 if test "${ac_cv_lib_deriv_init_libderiv_base+set}" = set; then 13942 echo $ECHO_N "(cached) $ECHO_C" >&6 9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init_libderiv_base in -lderiv" >&5 9206 $as_echo_n "checking for init_libderiv_base in -lderiv... " >&6; } 9207 if ${ac_cv_lib_deriv_init_libderiv_base+:} false; then : 9208 $as_echo_n "(cached) " >&6 13943 9209 else 13944 9210 ac_check_lib_save_LIBS=$LIBS 13945 9211 LIBS="-lderiv $LIBS" 13946 cat >conftest.$ac_ext <<_ACEOF 13947 /* confdefs.h. */ 13948 _ACEOF 13949 cat confdefs.h >>conftest.$ac_ext 13950 cat >>conftest.$ac_ext <<_ACEOF 9212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13951 9213 /* end confdefs.h. */ 13952 9214 13953 /* Override any gcc2 internal prototype to avoid an error. */ 9215 /* Override any GCC internal prototype to avoid an error. 9216 Use char because int might match the return type of a GCC 9217 builtin and then its argument prototype would still apply. */ 13954 9218 #ifdef __cplusplus 13955 9219 extern "C" 13956 9220 #endif 13957 /* We use char because int might match the return type of a gcc213958 builtin and then its argument prototype would still apply. */13959 9221 char init_libderiv_base (); 13960 9222 int 13961 9223 main () 13962 9224 { 13963 init_libderiv_base ();9225 return init_libderiv_base (); 13964 9226 ; 13965 9227 return 0; 13966 9228 } 13967 9229 _ACEOF 13968 rm -f conftest.$ac_objext conftest$ac_exeext 13969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13970 (eval $ac_link) 2>conftest.er1 13971 ac_status=$? 13972 grep -v '^ *+' conftest.er1 >conftest.err 13973 rm -f conftest.er1 13974 cat conftest.err >&5 13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13976 (exit $ac_status); } && 13977 { ac_try='test -z "$ac_cxx_werror_flag" 13978 || test ! -s conftest.err' 13979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13980 (eval $ac_try) 2>&5 13981 ac_status=$? 13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13983 (exit $ac_status); }; } && 13984 { ac_try='test -s conftest$ac_exeext' 13985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13986 (eval $ac_try) 2>&5 13987 ac_status=$? 13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13989 (exit $ac_status); }; }; then 9230 if ac_fn_cxx_try_link "$LINENO"; then : 13990 9231 ac_cv_lib_deriv_init_libderiv_base=yes 13991 9232 else 13992 echo "$as_me: failed program was:" >&5 13993 sed 's/^/| /' conftest.$ac_ext >&5 13994 13995 ac_cv_lib_deriv_init_libderiv_base=no 13996 fi 13997 rm -f conftest.err conftest.$ac_objext \ 13998 conftest$ac_exeext conftest.$ac_ext 9233 ac_cv_lib_deriv_init_libderiv_base=no 9234 fi 9235 rm -f core conftest.err conftest.$ac_objext \ 9236 conftest$ac_exeext conftest.$ac_ext 13999 9237 LIBS=$ac_check_lib_save_LIBS 14000 9238 fi 14001 echo "$as_me:$LINENO: result: $ac_cv_lib_deriv_init_libderiv_base" >&514002 echo "${ECHO_T}$ac_cv_lib_deriv_init_libderiv_base" >&6 14003 if test $ac_cv_lib_deriv_init_libderiv_base = yes; then9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_deriv_init_libderiv_base" >&5 9240 $as_echo "$ac_cv_lib_deriv_init_libderiv_base" >&6; } 9241 if test "x$ac_cv_lib_deriv_init_libderiv_base" = xyes; then : 14004 9242 HAVE_LIBDERIV=yes 14005 cat >>confdefs.h <<\_ACEOF 14006 #define HAVE_LIBDERIV 1 14007 _ACEOF 9243 9244 $as_echo "#define HAVE_LIBDERIV 1" >>confdefs.h 14008 9245 14009 9246 … … 14031 9268 14032 9269 if test $template_instantiation = auto; then 14033 echo "$as_me:$LINENO: checking choosing template instantiation method" >&514034 echo $ECHO_N "checking choosing template instantiation method... $ECHO_C" >&6 9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking choosing template instantiation method" >&5 9271 $as_echo_n "checking choosing template instantiation method... " >&6; } 14035 9272 if test X$GXX = Xyes; then 14036 echo "$as_me:$LINENO: result: \"gcc (none)\"" >&514037 echo "${ECHO_T}\"gcc (none)\"" >&6 9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"gcc (none)\"" >&5 9274 $as_echo "\"gcc (none)\"" >&6; } 14038 9275 else 14039 9276 case $target in 14040 9277 *-sgi-irix6.0*) 14041 echo "$as_me:$LINENO: result: \"*-sgi-irix6.0* (none)\"" >&514042 echo "${ECHO_T}\"*-sgi-irix6.0* (none)\"" >&6 9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"*-sgi-irix6.0* (none)\"" >&5 9279 $as_echo "\"*-sgi-irix6.0* (none)\"" >&6; } 14043 9280 ;; 14044 9281 *-sgi-irix*) 14045 9282 template_instantiation=ptused 14046 echo "$as_me:$LINENO: result: \"*-sgi-irix* (ptused)\"" >&514047 echo "${ECHO_T}\"*-sgi-irix* (ptused)\"" >&6 9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"*-sgi-irix* (ptused)\"" >&5 9284 $as_echo "\"*-sgi-irix* (ptused)\"" >&6; } 14048 9285 ;; 14049 9286 *-cray-unicos*) 14050 9287 template_instantiation=craysimp 14051 echo "$as_me:$LINENO: result: \"*-cray-unicos* (craysimp)\"" >&514052 echo "${ECHO_T}\"*-cray-unicos* (craysimp)\"" >&6 9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"*-cray-unicos* (craysimp)\"" >&5 9289 $as_echo "\"*-cray-unicos* (craysimp)\"" >&6; } 14053 9290 ;; 14054 9291 *-dec-osf*) 14055 9292 template_instantiation=repodir 14056 echo "$as_me:$LINENO: result: \"*-dec-osf* (repodir)\"" >&514057 echo "${ECHO_T}\"*-dec-osf* (repodir)\"" >&6 9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"*-dec-osf* (repodir)\"" >&5 9294 $as_echo "\"*-dec-osf* (repodir)\"" >&6; } 14058 9295 ;; 14059 9296 alpha*) 14060 9297 template_instantiation=repodir 14061 echo "$as_me:$LINENO: result: \"alpha* non-GNU C++ (repodir)\"" >&514062 echo "${ECHO_T}\"alpha* non-GNU C++ (repodir)\"" >&6 9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"alpha* non-GNU C++ (repodir)\"" >&5 9299 $as_echo "\"alpha* non-GNU C++ (repodir)\"" >&6; } 14063 9300 ;; 14064 9301 *-solaris*) 14065 9302 template_instantiation=sunexpl 14066 echo "$as_me:$LINENO: result: \"*-solaris* (sunexpl)\"" >&514067 echo "${ECHO_T}\"*-solaris* (sunexpl)\"" >&6 9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"*-solaris* (sunexpl)\"" >&5 9304 $as_echo "\"*-solaris* (sunexpl)\"" >&6; } 14068 9305 ;; 14069 9306 *) 14070 echo "$as_me:$LINENO: result: \"generic non GNU (none)\"" >&514071 echo "${ECHO_T}\"generic non GNU (none)\"" >&6 9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"generic non GNU (none)\"" >&5 9308 $as_echo "\"generic non GNU (none)\"" >&6; } 14072 9309 ;; 14073 9310 esac … … 14079 9316 fi 14080 9317 14081 echo "$as_me:$LINENO: checking template instantiation flags" >&514082 echo $ECHO_N "checking template instantiation flags... $ECHO_C" >&6 9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking template instantiation flags" >&5 9319 $as_echo_n "checking template instantiation flags... " >&6; } 14083 9320 TMPLINST=no 14084 9321 TMPLREPO= … … 14095 9332 TMPLINST=yes 14096 9333 CXXFLAGS="$CXXFLAGS -frepo" 14097 echo "$as_me:$LINENO: result: gnurepo" >&514098 echo "${ECHO_T}gnurepo" >&6 9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnurepo" >&5 9335 $as_echo "gnurepo" >&6; } 14099 9336 ;; 14100 9337 gnuexpl) … … 14102 9339 CXXFLAGS="$CXXFLAGS -fno-implicit-templates" 14103 9340 EXPLICIT_TEMPLATE_INSTANTIATION=yes 14104 cat >>confdefs.h <<\_ACEOF 14105 #define EXPLICIT_TEMPLATE_INSTANTIATION 1 14106 _ACEOF 9341 9342 $as_echo "#define EXPLICIT_TEMPLATE_INSTANTIATION 1" >>confdefs.h 14107 9343 14108 9344 ;; 14109 9345 sunexpl) 14110 9346 CXXFLAGS="$CXXFLAGS -instances=explicit" 14111 cat >>confdefs.h <<\_ACEOF 14112 #define EXPLICIT_TEMPLATE_INSTANTIATION 1 14113 _ACEOF 9347 9348 $as_echo "#define EXPLICIT_TEMPLATE_INSTANTIATION 1" >>confdefs.h 14114 9349 14115 9350 ;; … … 14118 9353 ;; 14119 9354 none) 14120 echo "$as_me:$LINENO: result: none" >&514121 echo "${ECHO_T}none" >&6 9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 9356 $as_echo "none" >&6; } 14122 9357 ;; 14123 9358 *) 14124 echo "$as_me:$LINENO: result: $template_instantiation" >&5 14125 echo "${ECHO_T}$template_instantiation" >&6 14126 { { echo "$as_me:$LINENO: error: unknown template instantiation method" >&5 14127 echo "$as_me: error: unknown template instantiation method" >&2;} 14128 { (exit 1); exit 1; }; } 9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $template_instantiation" >&5 9360 $as_echo "$template_instantiation" >&6; } 9361 as_fn_error $? "unknown template instantiation method" "$LINENO" 5 14129 9362 esac 14130 9363 … … 14134 9367 14135 9368 14136 echo "$as_me:$LINENO: checking for special flags that must be set last" >&514137 echo $ECHO_N "checking for special flags that must be set last... $ECHO_C" >&6 9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special flags that must be set last" >&5 9370 $as_echo_n "checking for special flags that must be set last... " >&6; } 14138 9371 case $target in 14139 9372 i860-intel-puma*) 14140 9373 LDFLAGS="$LDFLAGS -mpuma -mnoieee" 14141 echo "$as_me:$LINENO: result: paragon puma" >&514142 echo "${ECHO_T}paragon puma" >&6 9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: paragon puma" >&5 9375 $as_echo "paragon puma" >&6; } 14143 9376 ;; 14144 9377 i686-intel-cougar*) 14145 9378 LDFLAGS="$LDFLAGS -mcougar -mnoieee" 14146 echo "$as_me:$LINENO: result: teraflop cougar" >&514147 echo "${ECHO_T}teraflop cougar" >&6 9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: teraflop cougar" >&5 9380 $as_echo "teraflop cougar" >&6; } 14148 9381 ;; 14149 9382 i860-intel-sunmos*) 14150 9383 LDFLAGS="$LDFLAGS -msunmos -mnoieee" 14151 echo "$as_me:$LINENO: result: paragon sunmos" >&514152 echo "${ECHO_T}paragon sunmos" >&6 9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: paragon sunmos" >&5 9385 $as_echo "paragon sunmos" >&6; } 14153 9386 ;; 14154 9387 i860-intel-osf*) 14155 9388 LDFLAGS="$LDFLAGS -mnx -mnoieee" 14156 echo "$as_me:$LINENO: result: osf paragon" >&514157 echo "${ECHO_T}osf paragon" >&6 9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: osf paragon" >&5 9390 $as_echo "osf paragon" >&6; } 14158 9391 ;; 14159 9392 *) 14160 echo "$as_me:$LINENO: result: none" >&514161 echo "${ECHO_T}none" >&6 9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 9394 $as_echo "none" >&6; } 14162 9395 ;; 14163 9396 esac … … 14165 9398 14166 9399 enablelibtool=yes 14167 # Check whether --enable-libtool or --disable-libtool was given. 14168 if test "${enable_libtool+set}" = set; then 14169 enableval="$enable_libtool" 14170 9400 # Check whether --enable-libtool was given. 9401 if test "${enable_libtool+set}" = set; then : 9402 enableval=$enable_libtool; 14171 9403 case $enableval in 14172 9404 yes) … … 14176 9408 ;; 14177 9409 *) 14178 { { echo "$as_me:$LINENO: error: Invalid value for --(dis|en)able-libtool ($enableval)" >&5 14179 echo "$as_me: error: Invalid value for --(dis|en)able-libtool ($enableval)" >&2;} 14180 { (exit 1); exit 1; }; } 9410 as_fn_error $? "Invalid value for --(dis|en)able-libtool ($enableval)" "$LINENO" 5 14181 9411 ;; 14182 9412 esac 14183 9413 14184 fi; 9414 fi 9415 14185 9416 14186 9417 if test "$enablelibtool" = yes; then 14187 9418 14188 # Check whether --enable-shared or --disable-shared was given. 14189 if test "${enable_shared+set}" = set; then 14190 enableval="$enable_shared" 14191 p=${PACKAGE-default} 9419 # Check whether --enable-shared was given. 9420 if test "${enable_shared+set}" = set; then : 9421 enableval=$enable_shared; p=${PACKAGE-default} 14192 9422 case $enableval in 14193 9423 yes) enable_shared=yes ;; … … 14208 9438 else 14209 9439 enable_shared=no 14210 fi; 14211 14212 14213 # Check whether --enable-static or --disable-static was given. 14214 if test "${enable_static+set}" = set; then 14215 enableval="$enable_static" 14216 p=${PACKAGE-default} 14217 case $enableval in 14218 yes) enable_static=yes ;; 14219 no) enable_static=no ;; 14220 *) 14221 enable_static=no 14222 # Look at the argument we got. We use all the common list separators. 14223 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 14224 for pkg in $enableval; do 14225 IFS="$lt_save_ifs" 14226 if test "X$pkg" = "X$p"; then 14227 enable_static=yes 14228 fi 14229 done 14230 IFS="$lt_save_ifs" 14231 ;; 14232 esac 14233 else 14234 enable_static=yes 14235 fi; 14236 14237 # Check whether --enable-fast-install or --disable-fast-install was given. 14238 if test "${enable_fast_install+set}" = set; then 14239 enableval="$enable_fast_install" 14240 p=${PACKAGE-default} 14241 case $enableval in 14242 yes) enable_fast_install=yes ;; 14243 no) enable_fast_install=no ;; 14244 *) 14245 enable_fast_install=no 14246 # Look at the argument we got. We use all the common list separators. 14247 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 14248 for pkg in $enableval; do 14249 IFS="$lt_save_ifs" 14250 if test "X$pkg" = "X$p"; then 14251 enable_fast_install=yes 14252 fi 14253 done 14254 IFS="$lt_save_ifs" 14255 ;; 14256 esac 14257 else 14258 enable_fast_install=yes 14259 fi; 14260 14261 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 14262 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 14263 if test "${lt_cv_path_SED+set}" = set; then 14264 echo $ECHO_N "(cached) $ECHO_C" >&6 14265 else 14266 # Loop through the user's path and test for sed and gsed. 14267 # Then use that list of sed's as ones to test for truncation. 14268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9440 fi 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 case `pwd` in 9451 *\ * | *\ *) 9452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 9453 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 9454 esac 9455 9456 9457 9458 macro_version='2.4.2' 9459 macro_revision='1.3337' 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 ltmain="$ac_aux_dir/ltmain.sh" 9474 9475 # Backslashify metacharacters that are still active within 9476 # double-quoted strings. 9477 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 9478 9479 # Same as above, but do not quote variable references. 9480 double_quote_subst='s/\(["`\\]\)/\\\1/g' 9481 9482 # Sed substitution to delay expansion of an escaped shell variable in a 9483 # double_quote_subst'ed string. 9484 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 9485 9486 # Sed substitution to delay expansion of an escaped single quote. 9487 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 9488 9489 # Sed substitution to avoid accidental globbing in evaled expressions 9490 no_glob_subst='s/\*/\\\*/g' 9491 9492 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9493 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 9494 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 9495 9496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 9497 $as_echo_n "checking how to print strings... " >&6; } 9498 # Test print first, because it will be a builtin if present. 9499 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 9500 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 9501 ECHO='print -r --' 9502 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 9503 ECHO='printf %s\n' 9504 else 9505 # Use this function as a fallback that always works. 9506 func_fallback_echo () 9507 { 9508 eval 'cat <<_LTECHO_EOF 9509 $1 9510 _LTECHO_EOF' 9511 } 9512 ECHO='func_fallback_echo' 9513 fi 9514 9515 # func_echo_all arg... 9516 # Invoke $ECHO with all args, space-separated. 9517 func_echo_all () 9518 { 9519 $ECHO "" 9520 } 9521 9522 case "$ECHO" in 9523 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 9524 $as_echo "printf" >&6; } ;; 9525 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 9526 $as_echo "print -r" >&6; } ;; 9527 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 9528 $as_echo "cat" >&6; } ;; 9529 esac 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 9545 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 9546 if ${ac_cv_path_SED+:} false; then : 9547 $as_echo_n "(cached) " >&6 9548 else 9549 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 9550 for ac_i in 1 2 3 4 5 6 7; do 9551 ac_script="$ac_script$as_nl$ac_script" 9552 done 9553 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 9554 { ac_script=; unset ac_script;} 9555 if test -z "$SED"; then 9556 ac_path_SED_found=false 9557 # Loop through the user's path and test for each of PROGNAME-LIST 9558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14269 9559 for as_dir in $PATH 14270 9560 do 14271 9561 IFS=$as_save_IFS 14272 9562 test -z "$as_dir" && as_dir=. 14273 for lt_ac_prog in sed gsed; do9563 for ac_prog in sed gsed; do 14274 9564 for ac_exec_ext in '' $ac_executable_extensions; do 14275 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then 14276 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" 14277 fi 9565 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 9566 as_fn_executable_p "$ac_path_SED" || continue 9567 # Check for GNU ac_path_SED and select it if it is found. 9568 # Check for GNU $ac_path_SED 9569 case `"$ac_path_SED" --version 2>&1` in 9570 *GNU*) 9571 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 9572 *) 9573 ac_count=0 9574 $as_echo_n 0123456789 >"conftest.in" 9575 while : 9576 do 9577 cat "conftest.in" "conftest.in" >"conftest.tmp" 9578 mv "conftest.tmp" "conftest.in" 9579 cp "conftest.in" "conftest.nl" 9580 $as_echo '' >> "conftest.nl" 9581 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 9582 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 9583 as_fn_arith $ac_count + 1 && ac_count=$as_val 9584 if test $ac_count -gt ${ac_path_SED_max-0}; then 9585 # Best one so far, save it but keep looking for a better one 9586 ac_cv_path_SED="$ac_path_SED" 9587 ac_path_SED_max=$ac_count 9588 fi 9589 # 10*(2^10) chars as input seems more than enough 9590 test $ac_count -gt 10 && break 9591 done 9592 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 9593 esac 9594 9595 $ac_path_SED_found && break 3 14278 9596 done 14279 9597 done 14280 done 14281 lt_ac_max=0 14282 lt_ac_count=0 14283 # Add /usr/xpg4/bin/sed as it is typically found on Solaris 14284 # along with /bin/sed that truncates output. 14285 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do 14286 test ! -f $lt_ac_sed && continue 14287 cat /dev/null > conftest.in 14288 lt_ac_count=0 14289 echo $ECHO_N "0123456789$ECHO_C" >conftest.in 14290 # Check for GNU sed and select it if it is found. 14291 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then 14292 lt_cv_path_SED=$lt_ac_sed 14293 break 9598 done 9599 IFS=$as_save_IFS 9600 if test -z "$ac_cv_path_SED"; then 9601 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 14294 9602 fi 14295 while true; do 14296 cat conftest.in conftest.in >conftest.tmp 14297 mv conftest.tmp conftest.in 14298 cp conftest.in conftest.nl 14299 echo >>conftest.nl 14300 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break 14301 cmp -s conftest.out conftest.nl || break 14302 # 10000 chars as input seems more than enough 14303 test $lt_ac_count -gt 10 && break 14304 lt_ac_count=`expr $lt_ac_count + 1` 14305 if test $lt_ac_count -gt $lt_ac_max; then 14306 lt_ac_max=$lt_ac_count 14307 lt_cv_path_SED=$lt_ac_sed 9603 else 9604 ac_cv_path_SED=$SED 9605 fi 9606 9607 fi 9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 9609 $as_echo "$ac_cv_path_SED" >&6; } 9610 SED="$ac_cv_path_SED" 9611 rm -f conftest.sed 9612 9613 test -z "$SED" && SED=sed 9614 Xsed="$SED -e 1s/^X//" 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 9627 $as_echo_n "checking for fgrep... " >&6; } 9628 if ${ac_cv_path_FGREP+:} false; then : 9629 $as_echo_n "(cached) " >&6 9630 else 9631 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 9632 then ac_cv_path_FGREP="$GREP -F" 9633 else 9634 if test -z "$FGREP"; then 9635 ac_path_FGREP_found=false 9636 # Loop through the user's path and test for each of PROGNAME-LIST 9637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9638 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 9639 do 9640 IFS=$as_save_IFS 9641 test -z "$as_dir" && as_dir=. 9642 for ac_prog in fgrep; do 9643 for ac_exec_ext in '' $ac_executable_extensions; do 9644 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 9645 as_fn_executable_p "$ac_path_FGREP" || continue 9646 # Check for GNU ac_path_FGREP and select it if it is found. 9647 # Check for GNU $ac_path_FGREP 9648 case `"$ac_path_FGREP" --version 2>&1` in 9649 *GNU*) 9650 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 9651 *) 9652 ac_count=0 9653 $as_echo_n 0123456789 >"conftest.in" 9654 while : 9655 do 9656 cat "conftest.in" "conftest.in" >"conftest.tmp" 9657 mv "conftest.tmp" "conftest.in" 9658 cp "conftest.in" "conftest.nl" 9659 $as_echo 'FGREP' >> "conftest.nl" 9660 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 9661 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 9662 as_fn_arith $ac_count + 1 && ac_count=$as_val 9663 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 9664 # Best one so far, save it but keep looking for a better one 9665 ac_cv_path_FGREP="$ac_path_FGREP" 9666 ac_path_FGREP_max=$ac_count 14308 9667 fi 9668 # 10*(2^10) chars as input seems more than enough 9669 test $ac_count -gt 10 && break 14309 9670 done 14310 done 14311 14312 fi 14313 14314 SED=$lt_cv_path_SED 14315 echo "$as_me:$LINENO: result: $SED" >&5 14316 echo "${ECHO_T}$SED" >&6 14317 14318 14319 # Check whether --with-gnu-ld or --without-gnu-ld was given. 14320 if test "${with_gnu_ld+set}" = set; then 14321 withval="$with_gnu_ld" 14322 test "$withval" = no || with_gnu_ld=yes 9671 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 9672 esac 9673 9674 $ac_path_FGREP_found && break 3 9675 done 9676 done 9677 done 9678 IFS=$as_save_IFS 9679 if test -z "$ac_cv_path_FGREP"; then 9680 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 9681 fi 9682 else 9683 ac_cv_path_FGREP=$FGREP 9684 fi 9685 9686 fi 9687 fi 9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 9689 $as_echo "$ac_cv_path_FGREP" >&6; } 9690 FGREP="$ac_cv_path_FGREP" 9691 9692 9693 test -z "$GREP" && GREP=grep 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 # Check whether --with-gnu-ld was given. 9714 if test "${with_gnu_ld+set}" = set; then : 9715 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 14323 9716 else 14324 9717 with_gnu_ld=no 14325 fi; 9718 fi 9719 14326 9720 ac_prog=ld 14327 9721 if test "$GCC" = yes; then 14328 9722 # Check if gcc -print-prog-name=ld gives a path. 14329 echo "$as_me:$LINENO: checking for ld used by $CC" >&514330 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 9724 $as_echo_n "checking for ld used by $CC... " >&6; } 14331 9725 case $host in 14332 9726 *-*-mingw*) … … 14341 9735 re_direlt='/[^/][^/]*/\.\./' 14342 9736 # Canonicalize the pathname of ld 14343 ac_prog=` echo $ac_prog| $SED 's%\\\\%/%g'`14344 while echo $ac_prog | grep"$re_direlt" > /dev/null 2>&1; do14345 ac_prog=` echo$ac_prog| $SED "s%$re_direlt%/%"`9737 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 9738 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 9739 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 14346 9740 done 14347 9741 test -z "$LD" && LD="$ac_prog" … … 14357 9751 esac 14358 9752 elif test "$with_gnu_ld" = yes; then 14359 echo "$as_me:$LINENO: checking for GNU ld" >&514360 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 14361 else 14362 echo "$as_me:$LINENO: checking for non-GNU ld" >&514363 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 14364 fi 14365 if test "${lt_cv_path_LD+set}" = set; then14366 echo $ECHO_N "(cached) $ECHO_C" >&69753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 9754 $as_echo_n "checking for GNU ld... " >&6; } 9755 else 9756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 9757 $as_echo_n "checking for non-GNU ld... " >&6; } 9758 fi 9759 if ${lt_cv_path_LD+:} false; then : 9760 $as_echo_n "(cached) " >&6 14367 9761 else 14368 9762 if test -z "$LD"; then … … 14394 9788 LD="$lt_cv_path_LD" 14395 9789 if test -n "$LD"; then 14396 echo "$as_me:$LINENO: result: $LD" >&5 14397 echo "${ECHO_T}$LD" >&6 14398 else 14399 echo "$as_me:$LINENO: result: no" >&5 14400 echo "${ECHO_T}no" >&6 14401 fi 14402 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 14403 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 14404 { (exit 1); exit 1; }; } 14405 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 14406 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 14407 if test "${lt_cv_prog_gnu_ld+set}" = set; then 14408 echo $ECHO_N "(cached) $ECHO_C" >&6 9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 9791 $as_echo "$LD" >&6; } 9792 else 9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9794 $as_echo "no" >&6; } 9795 fi 9796 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 9797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 9798 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 9799 if ${lt_cv_prog_gnu_ld+:} false; then : 9800 $as_echo_n "(cached) " >&6 14409 9801 else 14410 9802 # I'd rather use --version here, but apparently some GNU lds only accept -v. … … 14418 9810 esac 14419 9811 fi 14420 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&514421 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 9813 $as_echo "$lt_cv_prog_gnu_ld" >&6; } 14422 9814 with_gnu_ld=$lt_cv_prog_gnu_ld 14423 9815 14424 9816 14425 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 14426 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 14427 if test "${lt_cv_ld_reload_flag+set}" = set; then 14428 echo $ECHO_N "(cached) $ECHO_C" >&6 14429 else 14430 lt_cv_ld_reload_flag='-r' 14431 fi 14432 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 14433 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 14434 reload_flag=$lt_cv_ld_reload_flag 14435 case $reload_flag in 14436 "" | " "*) ;; 14437 *) reload_flag=" $reload_flag" ;; 14438 esac 14439 reload_cmds='$LD$reload_flag -o $output$reload_objs' 14440 case $host_os in 14441 darwin*) 14442 if test "$GCC" = yes; then 14443 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 14444 else 14445 reload_cmds='$LD$reload_flag -o $output$reload_objs' 14446 fi 14447 ;; 14448 esac 14449 14450 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 14451 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 14452 if test "${lt_cv_path_NM+set}" = set; then 14453 echo $ECHO_N "(cached) $ECHO_C" >&6 9817 9818 9819 9820 9821 9822 9823 9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 9825 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 9826 if ${lt_cv_path_NM+:} false; then : 9827 $as_echo_n "(cached) " >&6 14454 9828 else 14455 9829 if test -n "$NM"; then … … 14494 9868 IFS="$lt_save_ifs" 14495 9869 done 14496 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 14497 fi 14498 fi 14499 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 14500 echo "${ECHO_T}$lt_cv_path_NM" >&6 14501 NM="$lt_cv_path_NM" 14502 14503 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 14504 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 14505 if test "${lt_cv_deplibs_check_method+set}" = set; then 14506 echo $ECHO_N "(cached) $ECHO_C" >&6 9870 : ${lt_cv_path_NM=no} 9871 fi 9872 fi 9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 9874 $as_echo "$lt_cv_path_NM" >&6; } 9875 if test "$lt_cv_path_NM" != "no"; then 9876 NM="$lt_cv_path_NM" 9877 else 9878 # Didn't find any BSD compatible name lister, look for dumpbin. 9879 if test -n "$DUMPBIN"; then : 9880 # Let the user override the test. 9881 else 9882 if test -n "$ac_tool_prefix"; then 9883 for ac_prog in dumpbin "link -dump" 9884 do 9885 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 9886 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9888 $as_echo_n "checking for $ac_word... " >&6; } 9889 if ${ac_cv_prog_DUMPBIN+:} false; then : 9890 $as_echo_n "(cached) " >&6 9891 else 9892 if test -n "$DUMPBIN"; then 9893 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 9894 else 9895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9896 for as_dir in $PATH 9897 do 9898 IFS=$as_save_IFS 9899 test -z "$as_dir" && as_dir=. 9900 for ac_exec_ext in '' $ac_executable_extensions; do 9901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9902 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 9903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9904 break 2 9905 fi 9906 done 9907 done 9908 IFS=$as_save_IFS 9909 9910 fi 9911 fi 9912 DUMPBIN=$ac_cv_prog_DUMPBIN 9913 if test -n "$DUMPBIN"; then 9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 9915 $as_echo "$DUMPBIN" >&6; } 9916 else 9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9918 $as_echo "no" >&6; } 9919 fi 9920 9921 9922 test -n "$DUMPBIN" && break 9923 done 9924 fi 9925 if test -z "$DUMPBIN"; then 9926 ac_ct_DUMPBIN=$DUMPBIN 9927 for ac_prog in dumpbin "link -dump" 9928 do 9929 # Extract the first word of "$ac_prog", so it can be a program name with args. 9930 set dummy $ac_prog; ac_word=$2 9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9932 $as_echo_n "checking for $ac_word... " >&6; } 9933 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 9934 $as_echo_n "(cached) " >&6 9935 else 9936 if test -n "$ac_ct_DUMPBIN"; then 9937 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 9938 else 9939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9940 for as_dir in $PATH 9941 do 9942 IFS=$as_save_IFS 9943 test -z "$as_dir" && as_dir=. 9944 for ac_exec_ext in '' $ac_executable_extensions; do 9945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9946 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 9947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9948 break 2 9949 fi 9950 done 9951 done 9952 IFS=$as_save_IFS 9953 9954 fi 9955 fi 9956 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 9957 if test -n "$ac_ct_DUMPBIN"; then 9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 9959 $as_echo "$ac_ct_DUMPBIN" >&6; } 9960 else 9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9962 $as_echo "no" >&6; } 9963 fi 9964 9965 9966 test -n "$ac_ct_DUMPBIN" && break 9967 done 9968 9969 if test "x$ac_ct_DUMPBIN" = x; then 9970 DUMPBIN=":" 9971 else 9972 case $cross_compiling:$ac_tool_warned in 9973 yes:) 9974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9976 ac_tool_warned=yes ;; 9977 esac 9978 DUMPBIN=$ac_ct_DUMPBIN 9979 fi 9980 fi 9981 9982 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 9983 *COFF*) 9984 DUMPBIN="$DUMPBIN -symbols" 9985 ;; 9986 *) 9987 DUMPBIN=: 9988 ;; 9989 esac 9990 fi 9991 9992 if test "$DUMPBIN" != ":"; then 9993 NM="$DUMPBIN" 9994 fi 9995 fi 9996 test -z "$NM" && NM=nm 9997 9998 9999 10000 10001 10002 10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 10004 $as_echo_n "checking the name lister ($NM) interface... " >&6; } 10005 if ${lt_cv_nm_interface+:} false; then : 10006 $as_echo_n "(cached) " >&6 10007 else 10008 lt_cv_nm_interface="BSD nm" 10009 echo "int some_variable = 0;" > conftest.$ac_ext 10010 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 10011 (eval "$ac_compile" 2>conftest.err) 10012 cat conftest.err >&5 10013 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 10014 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 10015 cat conftest.err >&5 10016 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 10017 cat conftest.out >&5 10018 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 10019 lt_cv_nm_interface="MS dumpbin" 10020 fi 10021 rm -f conftest* 10022 fi 10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 10024 $as_echo "$lt_cv_nm_interface" >&6; } 10025 10026 # find the maximum length of command line arguments 10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 10028 $as_echo_n "checking the maximum length of command line arguments... " >&6; } 10029 if ${lt_cv_sys_max_cmd_len+:} false; then : 10030 $as_echo_n "(cached) " >&6 10031 else 10032 i=0 10033 teststring="ABCD" 10034 10035 case $build_os in 10036 msdosdjgpp*) 10037 # On DJGPP, this test can blow up pretty badly due to problems in libc 10038 # (any single argument exceeding 2000 bytes causes a buffer overrun 10039 # during glob expansion). Even if it were fixed, the result of this 10040 # check would be larger than it should be. 10041 lt_cv_sys_max_cmd_len=12288; # 12K is about right 10042 ;; 10043 10044 gnu*) 10045 # Under GNU Hurd, this test is not required because there is 10046 # no limit to the length of command line arguments. 10047 # Libtool will interpret -1 as no limit whatsoever 10048 lt_cv_sys_max_cmd_len=-1; 10049 ;; 10050 10051 cygwin* | mingw* | cegcc*) 10052 # On Win9x/ME, this test blows up -- it succeeds, but takes 10053 # about 5 minutes as the teststring grows exponentially. 10054 # Worse, since 9x/ME are not pre-emptively multitasking, 10055 # you end up with a "frozen" computer, even though with patience 10056 # the test eventually succeeds (with a max line length of 256k). 10057 # Instead, let's just punt: use the minimum linelength reported by 10058 # all of the supported platforms: 8192 (on NT/2K/XP). 10059 lt_cv_sys_max_cmd_len=8192; 10060 ;; 10061 10062 mint*) 10063 # On MiNT this can take a long time and run out of memory. 10064 lt_cv_sys_max_cmd_len=8192; 10065 ;; 10066 10067 amigaos*) 10068 # On AmigaOS with pdksh, this test takes hours, literally. 10069 # So we just punt and use a minimum line length of 8192. 10070 lt_cv_sys_max_cmd_len=8192; 10071 ;; 10072 10073 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 10074 # This has been around since 386BSD, at least. Likely further. 10075 if test -x /sbin/sysctl; then 10076 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 10077 elif test -x /usr/sbin/sysctl; then 10078 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 10079 else 10080 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 10081 fi 10082 # And add a safety zone 10083 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 10084 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 10085 ;; 10086 10087 interix*) 10088 # We know the value 262144 and hardcode it with a safety zone (like BSD) 10089 lt_cv_sys_max_cmd_len=196608 10090 ;; 10091 10092 os2*) 10093 # The test takes a long time on OS/2. 10094 lt_cv_sys_max_cmd_len=8192 10095 ;; 10096 10097 osf*) 10098 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 10099 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 10100 # nice to cause kernel panics so lets avoid the loop below. 10101 # First set a reasonable default. 10102 lt_cv_sys_max_cmd_len=16384 10103 # 10104 if test -x /sbin/sysconfig; then 10105 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 10106 *1*) lt_cv_sys_max_cmd_len=-1 ;; 10107 esac 10108 fi 10109 ;; 10110 sco3.2v5*) 10111 lt_cv_sys_max_cmd_len=102400 10112 ;; 10113 sysv5* | sco5v6* | sysv4.2uw2*) 10114 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 10115 if test -n "$kargmax"; then 10116 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 10117 else 10118 lt_cv_sys_max_cmd_len=32768 10119 fi 10120 ;; 10121 *) 10122 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 10123 if test -n "$lt_cv_sys_max_cmd_len" && \ 10124 test undefined != "$lt_cv_sys_max_cmd_len"; then 10125 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 10126 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 10127 else 10128 # Make teststring a little bigger before we do anything with it. 10129 # a 1K string should be a reasonable start. 10130 for i in 1 2 3 4 5 6 7 8 ; do 10131 teststring=$teststring$teststring 10132 done 10133 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 10134 # If test is not a shell built-in, we'll probably end up computing a 10135 # maximum length that is only half of the actual maximum length, but 10136 # we can't tell. 10137 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 10138 = "X$teststring$teststring"; } >/dev/null 2>&1 && 10139 test $i != 17 # 1/2 MB should be enough 10140 do 10141 i=`expr $i + 1` 10142 teststring=$teststring$teststring 10143 done 10144 # Only check the string length outside the loop. 10145 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 10146 teststring= 10147 # Add a significant safety factor because C++ compilers can tack on 10148 # massive amounts of additional arguments before passing them to the 10149 # linker. It appears as though 1/2 is a usable value. 10150 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 10151 fi 10152 ;; 10153 esac 10154 10155 fi 10156 10157 if test -n $lt_cv_sys_max_cmd_len ; then 10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 10159 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } 10160 else 10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 10162 $as_echo "none" >&6; } 10163 fi 10164 max_cmd_len=$lt_cv_sys_max_cmd_len 10165 10166 10167 10168 10169 10170 10171 : ${CP="cp -f"} 10172 : ${MV="mv -f"} 10173 : ${RM="rm -f"} 10174 10175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 10176 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 10177 # Try some XSI features 10178 xsi_shell=no 10179 ( _lt_dummy="a/b/c" 10180 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 10181 = c,a/b,b/c, \ 10182 && eval 'test $(( 1 + 1 )) -eq 2 \ 10183 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 10184 && xsi_shell=yes 10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 10186 $as_echo "$xsi_shell" >&6; } 10187 10188 10189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 10190 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 10191 lt_shell_append=no 10192 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 10193 >/dev/null 2>&1 \ 10194 && lt_shell_append=yes 10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 10196 $as_echo "$lt_shell_append" >&6; } 10197 10198 10199 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 10200 lt_unset=unset 10201 else 10202 lt_unset=false 10203 fi 10204 10205 10206 10207 10208 10209 # test EBCDIC or ASCII 10210 case `echo X|tr X '\101'` in 10211 A) # ASCII based system 10212 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 10213 lt_SP2NL='tr \040 \012' 10214 lt_NL2SP='tr \015\012 \040\040' 10215 ;; 10216 *) # EBCDIC based system 10217 lt_SP2NL='tr \100 \n' 10218 lt_NL2SP='tr \r\n \100\100' 10219 ;; 10220 esac 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 10231 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } 10232 if ${lt_cv_to_host_file_cmd+:} false; then : 10233 $as_echo_n "(cached) " >&6 10234 else 10235 case $host in 10236 *-*-mingw* ) 10237 case $build in 10238 *-*-mingw* ) # actually msys 10239 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 10240 ;; 10241 *-*-cygwin* ) 10242 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 10243 ;; 10244 * ) # otherwise, assume *nix 10245 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 10246 ;; 10247 esac 10248 ;; 10249 *-*-cygwin* ) 10250 case $build in 10251 *-*-mingw* ) # actually msys 10252 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 10253 ;; 10254 *-*-cygwin* ) 10255 lt_cv_to_host_file_cmd=func_convert_file_noop 10256 ;; 10257 * ) # otherwise, assume *nix 10258 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 10259 ;; 10260 esac 10261 ;; 10262 * ) # unhandled hosts (and "normal" native builds) 10263 lt_cv_to_host_file_cmd=func_convert_file_noop 10264 ;; 10265 esac 10266 10267 fi 10268 10269 to_host_file_cmd=$lt_cv_to_host_file_cmd 10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 10271 $as_echo "$lt_cv_to_host_file_cmd" >&6; } 10272 10273 10274 10275 10276 10277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 10278 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 10279 if ${lt_cv_to_tool_file_cmd+:} false; then : 10280 $as_echo_n "(cached) " >&6 10281 else 10282 #assume ordinary cross tools, or native build. 10283 lt_cv_to_tool_file_cmd=func_convert_file_noop 10284 case $host in 10285 *-*-mingw* ) 10286 case $build in 10287 *-*-mingw* ) # actually msys 10288 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 10289 ;; 10290 esac 10291 ;; 10292 esac 10293 10294 fi 10295 10296 to_tool_file_cmd=$lt_cv_to_tool_file_cmd 10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 10298 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } 10299 10300 10301 10302 10303 10304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 10305 $as_echo_n "checking for $LD option to reload object files... " >&6; } 10306 if ${lt_cv_ld_reload_flag+:} false; then : 10307 $as_echo_n "(cached) " >&6 10308 else 10309 lt_cv_ld_reload_flag='-r' 10310 fi 10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 10312 $as_echo "$lt_cv_ld_reload_flag" >&6; } 10313 reload_flag=$lt_cv_ld_reload_flag 10314 case $reload_flag in 10315 "" | " "*) ;; 10316 *) reload_flag=" $reload_flag" ;; 10317 esac 10318 reload_cmds='$LD$reload_flag -o $output$reload_objs' 10319 case $host_os in 10320 cygwin* | mingw* | pw32* | cegcc*) 10321 if test "$GCC" != yes; then 10322 reload_cmds=false 10323 fi 10324 ;; 10325 darwin*) 10326 if test "$GCC" = yes; then 10327 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 10328 else 10329 reload_cmds='$LD$reload_flag -o $output$reload_objs' 10330 fi 10331 ;; 10332 esac 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 if test -n "$ac_tool_prefix"; then 10343 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 10344 set dummy ${ac_tool_prefix}objdump; ac_word=$2 10345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10346 $as_echo_n "checking for $ac_word... " >&6; } 10347 if ${ac_cv_prog_OBJDUMP+:} false; then : 10348 $as_echo_n "(cached) " >&6 10349 else 10350 if test -n "$OBJDUMP"; then 10351 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 10352 else 10353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10354 for as_dir in $PATH 10355 do 10356 IFS=$as_save_IFS 10357 test -z "$as_dir" && as_dir=. 10358 for ac_exec_ext in '' $ac_executable_extensions; do 10359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10360 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 10361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10362 break 2 10363 fi 10364 done 10365 done 10366 IFS=$as_save_IFS 10367 10368 fi 10369 fi 10370 OBJDUMP=$ac_cv_prog_OBJDUMP 10371 if test -n "$OBJDUMP"; then 10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 10373 $as_echo "$OBJDUMP" >&6; } 10374 else 10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10376 $as_echo "no" >&6; } 10377 fi 10378 10379 10380 fi 10381 if test -z "$ac_cv_prog_OBJDUMP"; then 10382 ac_ct_OBJDUMP=$OBJDUMP 10383 # Extract the first word of "objdump", so it can be a program name with args. 10384 set dummy objdump; ac_word=$2 10385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10386 $as_echo_n "checking for $ac_word... " >&6; } 10387 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 10388 $as_echo_n "(cached) " >&6 10389 else 10390 if test -n "$ac_ct_OBJDUMP"; then 10391 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 10392 else 10393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10394 for as_dir in $PATH 10395 do 10396 IFS=$as_save_IFS 10397 test -z "$as_dir" && as_dir=. 10398 for ac_exec_ext in '' $ac_executable_extensions; do 10399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10400 ac_cv_prog_ac_ct_OBJDUMP="objdump" 10401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10402 break 2 10403 fi 10404 done 10405 done 10406 IFS=$as_save_IFS 10407 10408 fi 10409 fi 10410 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 10411 if test -n "$ac_ct_OBJDUMP"; then 10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 10413 $as_echo "$ac_ct_OBJDUMP" >&6; } 10414 else 10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10416 $as_echo "no" >&6; } 10417 fi 10418 10419 if test "x$ac_ct_OBJDUMP" = x; then 10420 OBJDUMP="false" 10421 else 10422 case $cross_compiling:$ac_tool_warned in 10423 yes:) 10424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10426 ac_tool_warned=yes ;; 10427 esac 10428 OBJDUMP=$ac_ct_OBJDUMP 10429 fi 10430 else 10431 OBJDUMP="$ac_cv_prog_OBJDUMP" 10432 fi 10433 10434 test -z "$OBJDUMP" && OBJDUMP=objdump 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 10445 $as_echo_n "checking how to recognize dependent libraries... " >&6; } 10446 if ${lt_cv_deplibs_check_method+:} false; then : 10447 $as_echo_n "(cached) " >&6 14507 10448 else 14508 10449 lt_cv_file_magic_cmd='$MAGIC_CMD' … … 14521 10462 14522 10463 case $host_os in 14523 aix 4* | aix5*)10464 aix[4-9]*) 14524 10465 lt_cv_deplibs_check_method=pass_all 14525 10466 ;; … … 14543 10484 mingw* | pw32*) 14544 10485 # Base MSYS/MinGW do not provide the 'file' command needed by 14545 # func_win32_libid shell function, so use a weaker test based on 'objdump'. 14546 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 10486 # func_win32_libid shell function, so use a weaker test based on 'objdump', 10487 # unless we find 'file', for example because we are cross-compiling. 10488 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 10489 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 10490 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 10491 lt_cv_file_magic_cmd='func_win32_libid' 10492 else 10493 # Keep this pattern in sync with the one in func_win32_libid. 10494 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 10495 lt_cv_file_magic_cmd='$OBJDUMP -f' 10496 fi 10497 ;; 10498 10499 cegcc*) 10500 # use the weaker test based on 'objdump'. See mingw*. 10501 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 14547 10502 lt_cv_file_magic_cmd='$OBJDUMP -f' 14548 10503 ;; … … 14552 10507 ;; 14553 10508 14554 freebsd* | kfreebsd*-gnu |dragonfly*)14555 if echo __ELF__ | $CC -E - | grep__ELF__ > /dev/null; then10509 freebsd* | dragonfly*) 10510 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 14556 10511 case $host_cpu in 14557 10512 i*86 ) … … 14568 10523 ;; 14569 10524 14570 gnu*)10525 haiku*) 14571 10526 lt_cv_deplibs_check_method=pass_all 14572 10527 ;; … … 14580 10535 ;; 14581 10536 hppa*64*) 14582 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF -[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'10537 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' 14583 10538 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 14584 10539 ;; 14585 10540 *) 14586 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9] .[0-9]) shared library'10541 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 14587 10542 lt_cv_file_magic_test_file=/usr/lib/libc.sl 14588 10543 ;; … … 14590 10545 ;; 14591 10546 14592 interix 3*)10547 interix[3-9]*) 14593 10548 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 14594 10549 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' … … 14605 10560 ;; 14606 10561 14607 # This must be LinuxELF.14608 linux* )10562 # This must be glibc/ELF. 10563 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14609 10564 lt_cv_deplibs_check_method=pass_all 14610 10565 ;; 14611 10566 14612 netbsd* )14613 if echo __ELF__ | $CC -E - | grep__ELF__ > /dev/null; then10567 netbsd* | netbsdelf*-gnu) 10568 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 14614 10569 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 14615 10570 else … … 14624 10579 ;; 14625 10580 14626 nto-qnx*)14627 lt_cv_deplibs_check_method= unknown10581 *nto* | *qnx*) 10582 lt_cv_deplibs_check_method=pass_all 14628 10583 ;; 14629 10584 14630 10585 openbsd*) 14631 if test -z "`echo __ELF__ | $CC -E - | grep__ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then10586 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 14632 10587 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 14633 10588 else … … 14640 10595 ;; 14641 10596 10597 rdos*) 10598 lt_cv_deplibs_check_method=pass_all 10599 ;; 10600 14642 10601 solaris*) 10602 lt_cv_deplibs_check_method=pass_all 10603 ;; 10604 10605 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 14643 10606 lt_cv_deplibs_check_method=pass_all 14644 10607 ;; … … 14671 10634 ;; 14672 10635 14673 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)10636 tpf*) 14674 10637 lt_cv_deplibs_check_method=pass_all 14675 10638 ;; … … 14677 10640 14678 10641 fi 14679 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 14680 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 10643 $as_echo "$lt_cv_deplibs_check_method" >&6; } 10644 10645 file_magic_glob= 10646 want_nocaseglob=no 10647 if test "$build" = "$host"; then 10648 case $host_os in 10649 mingw* | pw32*) 10650 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 10651 want_nocaseglob=yes 10652 else 10653 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 10654 fi 10655 ;; 10656 esac 10657 fi 10658 14681 10659 file_magic_cmd=$lt_cv_file_magic_cmd 14682 10660 deplibs_check_method=$lt_cv_deplibs_check_method … … 14686 10664 14687 10665 14688 # If no C compiler was specified, use CC. 14689 LTCC=${LTCC-"$CC"} 14690 14691 # If no C compiler flags were specified, use CFLAGS. 14692 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 14693 14694 # Allow CC to be a program name with arguments. 14695 compiler=$CC 14696 14697 # Check whether --enable-libtool-lock or --disable-libtool-lock was given. 14698 if test "${enable_libtool_lock+set}" = set; then 14699 enableval="$enable_libtool_lock" 14700 14701 fi; 14702 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 14703 14704 # Some flags need to be propagated to the compiler or linker for good 14705 # libtool support. 14706 case $host in 14707 ia64-*-hpux*) 14708 # Find out which ABI we are using. 14709 echo 'int i;' > conftest.$ac_ext 14710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14711 (eval $ac_compile) 2>&5 14712 ac_status=$? 14713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14714 (exit $ac_status); }; then 14715 case `/usr/bin/file conftest.$ac_objext` in 14716 *ELF-32*) 14717 HPUX_IA64_MODE="32" 14718 ;; 14719 *ELF-64*) 14720 HPUX_IA64_MODE="64" 14721 ;; 14722 esac 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 if test -n "$ac_tool_prefix"; then 10685 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 10686 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10688 $as_echo_n "checking for $ac_word... " >&6; } 10689 if ${ac_cv_prog_DLLTOOL+:} false; then : 10690 $as_echo_n "(cached) " >&6 10691 else 10692 if test -n "$DLLTOOL"; then 10693 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 10694 else 10695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10696 for as_dir in $PATH 10697 do 10698 IFS=$as_save_IFS 10699 test -z "$as_dir" && as_dir=. 10700 for ac_exec_ext in '' $ac_executable_extensions; do 10701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10702 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 10703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10704 break 2 14723 10705 fi 14724 rm -rf conftest* 10706 done 10707 done 10708 IFS=$as_save_IFS 10709 10710 fi 10711 fi 10712 DLLTOOL=$ac_cv_prog_DLLTOOL 10713 if test -n "$DLLTOOL"; then 10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 10715 $as_echo "$DLLTOOL" >&6; } 10716 else 10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10718 $as_echo "no" >&6; } 10719 fi 10720 10721 10722 fi 10723 if test -z "$ac_cv_prog_DLLTOOL"; then 10724 ac_ct_DLLTOOL=$DLLTOOL 10725 # Extract the first word of "dlltool", so it can be a program name with args. 10726 set dummy dlltool; ac_word=$2 10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10728 $as_echo_n "checking for $ac_word... " >&6; } 10729 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 10730 $as_echo_n "(cached) " >&6 10731 else 10732 if test -n "$ac_ct_DLLTOOL"; then 10733 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 10734 else 10735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10736 for as_dir in $PATH 10737 do 10738 IFS=$as_save_IFS 10739 test -z "$as_dir" && as_dir=. 10740 for ac_exec_ext in '' $ac_executable_extensions; do 10741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10742 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 10743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10744 break 2 10745 fi 10746 done 10747 done 10748 IFS=$as_save_IFS 10749 10750 fi 10751 fi 10752 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 10753 if test -n "$ac_ct_DLLTOOL"; then 10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 10755 $as_echo "$ac_ct_DLLTOOL" >&6; } 10756 else 10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10758 $as_echo "no" >&6; } 10759 fi 10760 10761 if test "x$ac_ct_DLLTOOL" = x; then 10762 DLLTOOL="false" 10763 else 10764 case $cross_compiling:$ac_tool_warned in 10765 yes:) 10766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10768 ac_tool_warned=yes ;; 10769 esac 10770 DLLTOOL=$ac_ct_DLLTOOL 10771 fi 10772 else 10773 DLLTOOL="$ac_cv_prog_DLLTOOL" 10774 fi 10775 10776 test -z "$DLLTOOL" && DLLTOOL=dlltool 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 10788 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } 10789 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 10790 $as_echo_n "(cached) " >&6 10791 else 10792 lt_cv_sharedlib_from_linklib_cmd='unknown' 10793 10794 case $host_os in 10795 cygwin* | mingw* | pw32* | cegcc*) 10796 # two different shell functions defined in ltmain.sh 10797 # decide which to use based on capabilities of $DLLTOOL 10798 case `$DLLTOOL --help 2>&1` in 10799 *--identify-strict*) 10800 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 10801 ;; 10802 *) 10803 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 10804 ;; 10805 esac 14725 10806 ;; 14726 *-*-irix6*) 14727 # Find out which ABI we are using. 14728 echo '#line 14728 "configure"' > conftest.$ac_ext 14729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14730 (eval $ac_compile) 2>&5 14731 ac_status=$? 14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14733 (exit $ac_status); }; then 14734 if test "$lt_cv_prog_gnu_ld" = yes; then 14735 case `/usr/bin/file conftest.$ac_objext` in 14736 *32-bit*) 14737 LD="${LD-ld} -melf32bsmip" 14738 ;; 14739 *N32*) 14740 LD="${LD-ld} -melf32bmipn32" 14741 ;; 14742 *64-bit*) 14743 LD="${LD-ld} -melf64bmip" 14744 ;; 14745 esac 14746 else 14747 case `/usr/bin/file conftest.$ac_objext` in 14748 *32-bit*) 14749 LD="${LD-ld} -32" 14750 ;; 14751 *N32*) 14752 LD="${LD-ld} -n32" 14753 ;; 14754 *64-bit*) 14755 LD="${LD-ld} -64" 14756 ;; 14757 esac 14758 fi 10807 *) 10808 # fallback: assume linklib IS sharedlib 10809 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 10810 ;; 10811 esac 10812 10813 fi 10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 10815 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 10816 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 10817 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 10818 10819 10820 10821 10822 10823 10824 10825 if test -n "$ac_tool_prefix"; then 10826 for ac_prog in ar 10827 do 10828 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 10829 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10831 $as_echo_n "checking for $ac_word... " >&6; } 10832 if ${ac_cv_prog_AR+:} false; then : 10833 $as_echo_n "(cached) " >&6 10834 else 10835 if test -n "$AR"; then 10836 ac_cv_prog_AR="$AR" # Let the user override the test. 10837 else 10838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10839 for as_dir in $PATH 10840 do 10841 IFS=$as_save_IFS 10842 test -z "$as_dir" && as_dir=. 10843 for ac_exec_ext in '' $ac_executable_extensions; do 10844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10845 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 10846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10847 break 2 14759 10848 fi 14760 rm -rf conftest* 14761 ;; 14762 14763 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 14764 # Find out which ABI we are using. 14765 echo 'int i;' > conftest.$ac_ext 14766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14767 (eval $ac_compile) 2>&5 14768 ac_status=$? 14769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14770 (exit $ac_status); }; then 14771 case `/usr/bin/file conftest.o` in 14772 *32-bit*) 14773 case $host in 14774 x86_64-*linux*) 14775 LD="${LD-ld} -m elf_i386" 14776 ;; 14777 ppc64-*linux*|powerpc64-*linux*) 14778 LD="${LD-ld} -m elf32ppclinux" 14779 ;; 14780 s390x-*linux*) 14781 LD="${LD-ld} -m elf_s390" 14782 ;; 14783 sparc64-*linux*) 14784 LD="${LD-ld} -m elf32_sparc" 14785 ;; 14786 esac 14787 ;; 14788 *64-bit*) 14789 case $host in 14790 x86_64-*linux*) 14791 LD="${LD-ld} -m elf_x86_64" 14792 ;; 14793 ppc*-*linux*|powerpc*-*linux*) 14794 LD="${LD-ld} -m elf64ppc" 14795 ;; 14796 s390*-*linux*) 14797 LD="${LD-ld} -m elf64_s390" 14798 ;; 14799 sparc*-*linux*) 14800 LD="${LD-ld} -m elf64_sparc" 14801 ;; 14802 esac 14803 ;; 14804 esac 10849 done 10850 done 10851 IFS=$as_save_IFS 10852 10853 fi 10854 fi 10855 AR=$ac_cv_prog_AR 10856 if test -n "$AR"; then 10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 10858 $as_echo "$AR" >&6; } 10859 else 10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10861 $as_echo "no" >&6; } 10862 fi 10863 10864 10865 test -n "$AR" && break 10866 done 10867 fi 10868 if test -z "$AR"; then 10869 ac_ct_AR=$AR 10870 for ac_prog in ar 10871 do 10872 # Extract the first word of "$ac_prog", so it can be a program name with args. 10873 set dummy $ac_prog; ac_word=$2 10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10875 $as_echo_n "checking for $ac_word... " >&6; } 10876 if ${ac_cv_prog_ac_ct_AR+:} false; then : 10877 $as_echo_n "(cached) " >&6 10878 else 10879 if test -n "$ac_ct_AR"; then 10880 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 10881 else 10882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10883 for as_dir in $PATH 10884 do 10885 IFS=$as_save_IFS 10886 test -z "$as_dir" && as_dir=. 10887 for ac_exec_ext in '' $ac_executable_extensions; do 10888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10889 ac_cv_prog_ac_ct_AR="$ac_prog" 10890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10891 break 2 14805 10892 fi 14806 rm -rf conftest* 14807 ;; 14808 14809 *-*-sco3.2v5*) 14810 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 14811 SAVE_CFLAGS="$CFLAGS" 14812 CFLAGS="$CFLAGS -belf" 14813 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 14814 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 14815 if test "${lt_cv_cc_needs_belf+set}" = set; then 14816 echo $ECHO_N "(cached) $ECHO_C" >&6 14817 else 14818 ac_ext=c 14819 ac_cpp='$CPP $CPPFLAGS' 14820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14822 ac_compiler_gnu=$ac_cv_c_compiler_gnu 14823 14824 cat >conftest.$ac_ext <<_ACEOF 14825 /* confdefs.h. */ 14826 _ACEOF 14827 cat confdefs.h >>conftest.$ac_ext 14828 cat >>conftest.$ac_ext <<_ACEOF 10893 done 10894 done 10895 IFS=$as_save_IFS 10896 10897 fi 10898 fi 10899 ac_ct_AR=$ac_cv_prog_ac_ct_AR 10900 if test -n "$ac_ct_AR"; then 10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 10902 $as_echo "$ac_ct_AR" >&6; } 10903 else 10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10905 $as_echo "no" >&6; } 10906 fi 10907 10908 10909 test -n "$ac_ct_AR" && break 10910 done 10911 10912 if test "x$ac_ct_AR" = x; then 10913 AR="false" 10914 else 10915 case $cross_compiling:$ac_tool_warned in 10916 yes:) 10917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10919 ac_tool_warned=yes ;; 10920 esac 10921 AR=$ac_ct_AR 10922 fi 10923 fi 10924 10925 : ${AR=ar} 10926 : ${AR_FLAGS=cru} 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 10939 $as_echo_n "checking for archiver @FILE support... " >&6; } 10940 if ${lt_cv_ar_at_file+:} false; then : 10941 $as_echo_n "(cached) " >&6 10942 else 10943 lt_cv_ar_at_file=no 10944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14829 10945 /* end confdefs.h. */ 14830 10946 … … 14837 10953 } 14838 10954 _ACEOF 14839 rm -f conftest.$ac_objext conftest$ac_exeext 14840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14841 (eval $ac_link) 2>conftest.er1 10955 if ac_fn_c_try_compile "$LINENO"; then : 10956 echo conftest.$ac_objext > conftest.lst 10957 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 10958 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 10959 (eval $lt_ar_try) 2>&5 14842 10960 ac_status=$? 14843 grep -v '^ *+' conftest.er1 >conftest.err 14844 rm -f conftest.er1 14845 cat conftest.err >&5 14846 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14847 (exit $ac_status); } && 14848 { ac_try='test -z "$ac_c_werror_flag" 14849 || test ! -s conftest.err' 14850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14851 (eval $ac_try) 2>&5 10961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10962 test $ac_status = 0; } 10963 if test "$ac_status" -eq 0; then 10964 # Ensure the archiver fails upon bogus file names. 10965 rm -f conftest.$ac_objext libconftest.a 10966 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 10967 (eval $lt_ar_try) 2>&5 14852 10968 ac_status=$? 14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14854 (exit $ac_status); }; } && 14855 { ac_try='test -s conftest$ac_exeext' 14856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14857 (eval $ac_try) 2>&5 14858 ac_status=$? 14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14860 (exit $ac_status); }; }; then 14861 lt_cv_cc_needs_belf=yes 14862 else 14863 echo "$as_me: failed program was:" >&5 14864 sed 's/^/| /' conftest.$ac_ext >&5 14865 14866 lt_cv_cc_needs_belf=no 14867 fi 14868 rm -f conftest.err conftest.$ac_objext \ 14869 conftest$ac_exeext conftest.$ac_ext 14870 ac_ext=c 14871 ac_cpp='$CPP $CPPFLAGS' 14872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14874 ac_compiler_gnu=$ac_cv_c_compiler_gnu 14875 14876 fi 14877 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 14878 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 14879 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 14880 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 14881 CFLAGS="$SAVE_CFLAGS" 10969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10970 test $ac_status = 0; } 10971 if test "$ac_status" -ne 0; then 10972 lt_cv_ar_at_file=@ 10973 fi 10974 fi 10975 rm -f conftest.* libconftest.a 10976 10977 fi 10978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10979 10980 fi 10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 10982 $as_echo "$lt_cv_ar_at_file" >&6; } 10983 10984 if test "x$lt_cv_ar_at_file" = xno; then 10985 archiver_list_spec= 10986 else 10987 archiver_list_spec=$lt_cv_ar_at_file 10988 fi 10989 10990 10991 10992 10993 10994 10995 10996 if test -n "$ac_tool_prefix"; then 10997 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 10998 set dummy ${ac_tool_prefix}strip; ac_word=$2 10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11000 $as_echo_n "checking for $ac_word... " >&6; } 11001 if ${ac_cv_prog_STRIP+:} false; then : 11002 $as_echo_n "(cached) " >&6 11003 else 11004 if test -n "$STRIP"; then 11005 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 11006 else 11007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11008 for as_dir in $PATH 11009 do 11010 IFS=$as_save_IFS 11011 test -z "$as_dir" && as_dir=. 11012 for ac_exec_ext in '' $ac_executable_extensions; do 11013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11014 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 11015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11016 break 2 14882 11017 fi 14883 ;; 14884 sparc*-*solaris*) 14885 # Find out which ABI we are using. 14886 echo 'int i;' > conftest.$ac_ext 14887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14888 (eval $ac_compile) 2>&5 14889 ac_status=$? 14890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14891 (exit $ac_status); }; then 14892 case `/usr/bin/file conftest.o` in 14893 *64-bit*) 14894 case $lt_cv_prog_gnu_ld in 14895 yes*) LD="${LD-ld} -m elf64_sparc" ;; 14896 *) LD="${LD-ld} -64" ;; 14897 esac 14898 ;; 14899 esac 11018 done 11019 done 11020 IFS=$as_save_IFS 11021 11022 fi 11023 fi 11024 STRIP=$ac_cv_prog_STRIP 11025 if test -n "$STRIP"; then 11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 11027 $as_echo "$STRIP" >&6; } 11028 else 11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11030 $as_echo "no" >&6; } 11031 fi 11032 11033 11034 fi 11035 if test -z "$ac_cv_prog_STRIP"; then 11036 ac_ct_STRIP=$STRIP 11037 # Extract the first word of "strip", so it can be a program name with args. 11038 set dummy strip; ac_word=$2 11039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11040 $as_echo_n "checking for $ac_word... " >&6; } 11041 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 11042 $as_echo_n "(cached) " >&6 11043 else 11044 if test -n "$ac_ct_STRIP"; then 11045 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 11046 else 11047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11048 for as_dir in $PATH 11049 do 11050 IFS=$as_save_IFS 11051 test -z "$as_dir" && as_dir=. 11052 for ac_exec_ext in '' $ac_executable_extensions; do 11053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11054 ac_cv_prog_ac_ct_STRIP="strip" 11055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11056 break 2 14900 11057 fi 14901 rm -rf conftest* 14902 ;; 14903 14904 11058 done 11059 done 11060 IFS=$as_save_IFS 11061 11062 fi 11063 fi 11064 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 11065 if test -n "$ac_ct_STRIP"; then 11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 11067 $as_echo "$ac_ct_STRIP" >&6; } 11068 else 11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11070 $as_echo "no" >&6; } 11071 fi 11072 11073 if test "x$ac_ct_STRIP" = x; then 11074 STRIP=":" 11075 else 11076 case $cross_compiling:$ac_tool_warned in 11077 yes:) 11078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11080 ac_tool_warned=yes ;; 14905 11081 esac 14906 14907 need_locks="$enable_libtool_lock" 14908 14909 14910 14911 for ac_header in dlfcn.h 11082 STRIP=$ac_ct_STRIP 11083 fi 11084 else 11085 STRIP="$ac_cv_prog_STRIP" 11086 fi 11087 11088 test -z "$STRIP" && STRIP=: 11089 11090 11091 11092 11093 11094 11095 if test -n "$ac_tool_prefix"; then 11096 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 11097 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11099 $as_echo_n "checking for $ac_word... " >&6; } 11100 if ${ac_cv_prog_RANLIB+:} false; then : 11101 $as_echo_n "(cached) " >&6 11102 else 11103 if test -n "$RANLIB"; then 11104 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 11105 else 11106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11107 for as_dir in $PATH 14912 11108 do 14913 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 14914 if eval "test \"\${$as_ac_Header+set}\" = set"; then 14915 echo "$as_me:$LINENO: checking for $ac_header" >&5 14916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14917 if eval "test \"\${$as_ac_Header+set}\" = set"; then 14918 echo $ECHO_N "(cached) $ECHO_C" >&6 14919 fi 14920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 14921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14922 else 14923 # Is the header compilable? 14924 echo "$as_me:$LINENO: checking $ac_header usability" >&5 14925 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 14926 cat >conftest.$ac_ext <<_ACEOF 14927 /* confdefs.h. */ 14928 _ACEOF 14929 cat confdefs.h >>conftest.$ac_ext 14930 cat >>conftest.$ac_ext <<_ACEOF 14931 /* end confdefs.h. */ 14932 $ac_includes_default 14933 #include <$ac_header> 14934 _ACEOF 14935 rm -f conftest.$ac_objext 14936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14937 (eval $ac_compile) 2>conftest.er1 14938 ac_status=$? 14939 grep -v '^ *+' conftest.er1 >conftest.err 14940 rm -f conftest.er1 14941 cat conftest.err >&5 14942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14943 (exit $ac_status); } && 14944 { ac_try='test -z "$ac_c_werror_flag" 14945 || test ! -s conftest.err' 14946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14947 (eval $ac_try) 2>&5 14948 ac_status=$? 14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14950 (exit $ac_status); }; } && 14951 { ac_try='test -s conftest.$ac_objext' 14952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14953 (eval $ac_try) 2>&5 14954 ac_status=$? 14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14956 (exit $ac_status); }; }; then 14957 ac_header_compiler=yes 14958 else 14959 echo "$as_me: failed program was:" >&5 14960 sed 's/^/| /' conftest.$ac_ext >&5 14961 14962 ac_header_compiler=no 14963 fi 14964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 14965 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14966 echo "${ECHO_T}$ac_header_compiler" >&6 14967 14968 # Is the header present? 14969 echo "$as_me:$LINENO: checking $ac_header presence" >&5 14970 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 14971 cat >conftest.$ac_ext <<_ACEOF 14972 /* confdefs.h. */ 14973 _ACEOF 14974 cat confdefs.h >>conftest.$ac_ext 14975 cat >>conftest.$ac_ext <<_ACEOF 14976 /* end confdefs.h. */ 14977 #include <$ac_header> 14978 _ACEOF 14979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 14980 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14981 ac_status=$? 14982 grep -v '^ *+' conftest.er1 >conftest.err 14983 rm -f conftest.er1 14984 cat conftest.err >&5 14985 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14986 (exit $ac_status); } >/dev/null; then 14987 if test -s conftest.err; then 14988 ac_cpp_err=$ac_c_preproc_warn_flag 14989 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 11109 IFS=$as_save_IFS 11110 test -z "$as_dir" && as_dir=. 11111 for ac_exec_ext in '' $ac_executable_extensions; do 11112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11113 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 11114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11115 break 2 11116 fi 11117 done 11118 done 11119 IFS=$as_save_IFS 11120 11121 fi 11122 fi 11123 RANLIB=$ac_cv_prog_RANLIB 11124 if test -n "$RANLIB"; then 11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 11126 $as_echo "$RANLIB" >&6; } 11127 else 11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11129 $as_echo "no" >&6; } 11130 fi 11131 11132 11133 fi 11134 if test -z "$ac_cv_prog_RANLIB"; then 11135 ac_ct_RANLIB=$RANLIB 11136 # Extract the first word of "ranlib", so it can be a program name with args. 11137 set dummy ranlib; ac_word=$2 11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11139 $as_echo_n "checking for $ac_word... " >&6; } 11140 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 11141 $as_echo_n "(cached) " >&6 11142 else 11143 if test -n "$ac_ct_RANLIB"; then 11144 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 11145 else 11146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11147 for as_dir in $PATH 11148 do 11149 IFS=$as_save_IFS 11150 test -z "$as_dir" && as_dir=. 11151 for ac_exec_ext in '' $ac_executable_extensions; do 11152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11153 ac_cv_prog_ac_ct_RANLIB="ranlib" 11154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11155 break 2 11156 fi 11157 done 11158 done 11159 IFS=$as_save_IFS 11160 11161 fi 11162 fi 11163 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 11164 if test -n "$ac_ct_RANLIB"; then 11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 11166 $as_echo "$ac_ct_RANLIB" >&6; } 11167 else 11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11169 $as_echo "no" >&6; } 11170 fi 11171 11172 if test "x$ac_ct_RANLIB" = x; then 11173 RANLIB=":" 14990 11174 else 14991 ac_cpp_err= 11175 case $cross_compiling:$ac_tool_warned in 11176 yes:) 11177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11179 ac_tool_warned=yes ;; 11180 esac 11181 RANLIB=$ac_ct_RANLIB 14992 11182 fi 14993 11183 else 14994 ac_cpp_err=yes 14995 fi 14996 if test -z "$ac_cpp_err"; then 14997 ac_header_preproc=yes 14998 else 14999 echo "$as_me: failed program was:" >&5 15000 sed 's/^/| /' conftest.$ac_ext >&5 15001 15002 ac_header_preproc=no 15003 fi 15004 rm -f conftest.err conftest.$ac_ext 15005 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 15006 echo "${ECHO_T}$ac_header_preproc" >&6 15007 15008 # So? What about this header? 15009 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 15010 yes:no: ) 15011 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 15012 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 15013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 15014 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 15015 ac_header_preproc=yes 15016 ;; 15017 no:yes:* ) 15018 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 15019 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 15020 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 15021 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 15022 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 15023 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 15024 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 15025 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 15026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 15027 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 15028 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 15029 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 15030 ( 15031 cat <<\_ASBOX 15032 ## ------------------------------------------ ## 15033 ## Report this to the AC_PACKAGE_NAME lists. ## 15034 ## ------------------------------------------ ## 15035 _ASBOX 15036 ) | 15037 sed "s/^/$as_me: WARNING: /" >&2 15038 ;; 15039 esac 15040 echo "$as_me:$LINENO: checking for $ac_header" >&5 15041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 15042 if eval "test \"\${$as_ac_Header+set}\" = set"; then 15043 echo $ECHO_N "(cached) $ECHO_C" >&6 15044 else 15045 eval "$as_ac_Header=\$ac_header_preproc" 15046 fi 15047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 15048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 15049 15050 fi 15051 if test `eval echo '${'$as_ac_Header'}'` = yes; then 15052 cat >>confdefs.h <<_ACEOF 15053 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 15054 _ACEOF 15055 15056 fi 15057 15058 done 15059 15060 15061 15062 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 15063 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 15064 (test "X$CXX" != "Xg++"))) ; then 15065 ac_ext=cc 15066 ac_cpp='$CXXCPP $CPPFLAGS' 15067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 15070 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 15071 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 15072 if test -z "$CXXCPP"; then 15073 if test "${ac_cv_prog_CXXCPP+set}" = set; then 15074 echo $ECHO_N "(cached) $ECHO_C" >&6 15075 else 15076 # Double quotes because CXXCPP needs to be expanded 15077 for CXXCPP in "$CXX -E" "/lib/cpp" 15078 do 15079 ac_preproc_ok=false 15080 for ac_cxx_preproc_warn_flag in '' yes 15081 do 15082 # Use a header file that comes with gcc, so configuring glibc 15083 # with a fresh cross-compiler works. 15084 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15085 # <limits.h> exists even on freestanding compilers. 15086 # On the NeXT, cc -E runs the code through the compiler's parser, 15087 # not just through cpp. "Syntax error" is here to catch this case. 15088 cat >conftest.$ac_ext <<_ACEOF 15089 /* confdefs.h. */ 15090 _ACEOF 15091 cat confdefs.h >>conftest.$ac_ext 15092 cat >>conftest.$ac_ext <<_ACEOF 15093 /* end confdefs.h. */ 15094 #ifdef __STDC__ 15095 # include <limits.h> 15096 #else 15097 # include <assert.h> 15098 #endif 15099 Syntax error 15100 _ACEOF 15101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 15102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15103 ac_status=$? 15104 grep -v '^ *+' conftest.er1 >conftest.err 15105 rm -f conftest.er1 15106 cat conftest.err >&5 15107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15108 (exit $ac_status); } >/dev/null; then 15109 if test -s conftest.err; then 15110 ac_cpp_err=$ac_cxx_preproc_warn_flag 15111 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 15112 else 15113 ac_cpp_err= 15114 fi 15115 else 15116 ac_cpp_err=yes 15117 fi 15118 if test -z "$ac_cpp_err"; then 15119 : 15120 else 15121 echo "$as_me: failed program was:" >&5 15122 sed 's/^/| /' conftest.$ac_ext >&5 15123 15124 # Broken: fails on valid input. 15125 continue 15126 fi 15127 rm -f conftest.err conftest.$ac_ext 15128 15129 # OK, works on sane cases. Now check whether non-existent headers 15130 # can be detected and how. 15131 cat >conftest.$ac_ext <<_ACEOF 15132 /* confdefs.h. */ 15133 _ACEOF 15134 cat confdefs.h >>conftest.$ac_ext 15135 cat >>conftest.$ac_ext <<_ACEOF 15136 /* end confdefs.h. */ 15137 #include <ac_nonexistent.h> 15138 _ACEOF 15139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 15140 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15141 ac_status=$? 15142 grep -v '^ *+' conftest.er1 >conftest.err 15143 rm -f conftest.er1 15144 cat conftest.err >&5 15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15146 (exit $ac_status); } >/dev/null; then 15147 if test -s conftest.err; then 15148 ac_cpp_err=$ac_cxx_preproc_warn_flag 15149 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 15150 else 15151 ac_cpp_err= 15152 fi 15153 else 15154 ac_cpp_err=yes 15155 fi 15156 if test -z "$ac_cpp_err"; then 15157 # Broken: success on invalid input. 15158 continue 15159 else 15160 echo "$as_me: failed program was:" >&5 15161 sed 's/^/| /' conftest.$ac_ext >&5 15162 15163 # Passes both tests. 15164 ac_preproc_ok=: 15165 break 15166 fi 15167 rm -f conftest.err conftest.$ac_ext 15168 15169 done 15170 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 15171 rm -f conftest.err conftest.$ac_ext 15172 if $ac_preproc_ok; then 15173 break 15174 fi 15175 15176 done 15177 ac_cv_prog_CXXCPP=$CXXCPP 15178 15179 fi 15180 CXXCPP=$ac_cv_prog_CXXCPP 15181 else 15182 ac_cv_prog_CXXCPP=$CXXCPP 15183 fi 15184 echo "$as_me:$LINENO: result: $CXXCPP" >&5 15185 echo "${ECHO_T}$CXXCPP" >&6 15186 ac_preproc_ok=false 15187 for ac_cxx_preproc_warn_flag in '' yes 15188 do 15189 # Use a header file that comes with gcc, so configuring glibc 15190 # with a fresh cross-compiler works. 15191 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15192 # <limits.h> exists even on freestanding compilers. 15193 # On the NeXT, cc -E runs the code through the compiler's parser, 15194 # not just through cpp. "Syntax error" is here to catch this case. 15195 cat >conftest.$ac_ext <<_ACEOF 15196 /* confdefs.h. */ 15197 _ACEOF 15198 cat confdefs.h >>conftest.$ac_ext 15199 cat >>conftest.$ac_ext <<_ACEOF 15200 /* end confdefs.h. */ 15201 #ifdef __STDC__ 15202 # include <limits.h> 15203 #else 15204 # include <assert.h> 15205 #endif 15206 Syntax error 15207 _ACEOF 15208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 15209 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15210 ac_status=$? 15211 grep -v '^ *+' conftest.er1 >conftest.err 15212 rm -f conftest.er1 15213 cat conftest.err >&5 15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15215 (exit $ac_status); } >/dev/null; then 15216 if test -s conftest.err; then 15217 ac_cpp_err=$ac_cxx_preproc_warn_flag 15218 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 15219 else 15220 ac_cpp_err= 15221 fi 15222 else 15223 ac_cpp_err=yes 15224 fi 15225 if test -z "$ac_cpp_err"; then 15226 : 15227 else 15228 echo "$as_me: failed program was:" >&5 15229 sed 's/^/| /' conftest.$ac_ext >&5 15230 15231 # Broken: fails on valid input. 15232 continue 15233 fi 15234 rm -f conftest.err conftest.$ac_ext 15235 15236 # OK, works on sane cases. Now check whether non-existent headers 15237 # can be detected and how. 15238 cat >conftest.$ac_ext <<_ACEOF 15239 /* confdefs.h. */ 15240 _ACEOF 15241 cat confdefs.h >>conftest.$ac_ext 15242 cat >>conftest.$ac_ext <<_ACEOF 15243 /* end confdefs.h. */ 15244 #include <ac_nonexistent.h> 15245 _ACEOF 15246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 15247 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15248 ac_status=$? 15249 grep -v '^ *+' conftest.er1 >conftest.err 15250 rm -f conftest.er1 15251 cat conftest.err >&5 15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15253 (exit $ac_status); } >/dev/null; then 15254 if test -s conftest.err; then 15255 ac_cpp_err=$ac_cxx_preproc_warn_flag 15256 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 15257 else 15258 ac_cpp_err= 15259 fi 15260 else 15261 ac_cpp_err=yes 15262 fi 15263 if test -z "$ac_cpp_err"; then 15264 # Broken: success on invalid input. 15265 continue 15266 else 15267 echo "$as_me: failed program was:" >&5 15268 sed 's/^/| /' conftest.$ac_ext >&5 15269 15270 # Passes both tests. 15271 ac_preproc_ok=: 15272 break 15273 fi 15274 rm -f conftest.err conftest.$ac_ext 15275 15276 done 15277 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 15278 rm -f conftest.err conftest.$ac_ext 15279 if $ac_preproc_ok; then 15280 : 15281 else 15282 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 15283 See \`config.log' for more details." >&5 15284 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 15285 See \`config.log' for more details." >&2;} 15286 { (exit 1); exit 1; }; } 15287 fi 15288 15289 ac_ext=cc 15290 ac_cpp='$CXXCPP $CPPFLAGS' 15291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 15294 15295 fi 15296 15297 15298 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! 15299 15300 # find the maximum length of command line arguments 15301 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 15302 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 15303 if test "${lt_cv_sys_max_cmd_len+set}" = set; then 15304 echo $ECHO_N "(cached) $ECHO_C" >&6 15305 else 15306 i=0 15307 teststring="ABCD" 15308 15309 case $build_os in 15310 msdosdjgpp*) 15311 # On DJGPP, this test can blow up pretty badly due to problems in libc 15312 # (any single argument exceeding 2000 bytes causes a buffer overrun 15313 # during glob expansion). Even if it were fixed, the result of this 15314 # check would be larger than it should be. 15315 lt_cv_sys_max_cmd_len=12288; # 12K is about right 15316 ;; 15317 15318 gnu*) 15319 # Under GNU Hurd, this test is not required because there is 15320 # no limit to the length of command line arguments. 15321 # Libtool will interpret -1 as no limit whatsoever 15322 lt_cv_sys_max_cmd_len=-1; 15323 ;; 15324 15325 cygwin* | mingw*) 15326 # On Win9x/ME, this test blows up -- it succeeds, but takes 15327 # about 5 minutes as the teststring grows exponentially. 15328 # Worse, since 9x/ME are not pre-emptively multitasking, 15329 # you end up with a "frozen" computer, even though with patience 15330 # the test eventually succeeds (with a max line length of 256k). 15331 # Instead, let's just punt: use the minimum linelength reported by 15332 # all of the supported platforms: 8192 (on NT/2K/XP). 15333 lt_cv_sys_max_cmd_len=8192; 15334 ;; 15335 15336 amigaos*) 15337 # On AmigaOS with pdksh, this test takes hours, literally. 15338 # So we just punt and use a minimum line length of 8192. 15339 lt_cv_sys_max_cmd_len=8192; 15340 ;; 15341 15342 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 15343 # This has been around since 386BSD, at least. Likely further. 15344 if test -x /sbin/sysctl; then 15345 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 15346 elif test -x /usr/sbin/sysctl; then 15347 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 15348 else 15349 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 15350 fi 15351 # And add a safety zone 15352 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 15353 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 15354 ;; 15355 15356 interix*) 15357 # We know the value 262144 and hardcode it with a safety zone (like BSD) 15358 lt_cv_sys_max_cmd_len=196608 15359 ;; 15360 15361 osf*) 15362 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 15363 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 15364 # nice to cause kernel panics so lets avoid the loop below. 15365 # First set a reasonable default. 15366 lt_cv_sys_max_cmd_len=16384 15367 # 15368 if test -x /sbin/sysconfig; then 15369 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 15370 *1*) lt_cv_sys_max_cmd_len=-1 ;; 15371 esac 15372 fi 15373 ;; 15374 sco3.2v5*) 15375 lt_cv_sys_max_cmd_len=102400 15376 ;; 15377 sysv5* | sco5v6* | sysv4.2uw2*) 15378 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 15379 if test -n "$kargmax"; then 15380 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 15381 else 15382 lt_cv_sys_max_cmd_len=32768 15383 fi 11184 RANLIB="$ac_cv_prog_RANLIB" 11185 fi 11186 11187 test -z "$RANLIB" && RANLIB=: 11188 11189 11190 11191 11192 11193 11194 # Determine commands to create old-style static archives. 11195 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 11196 old_postinstall_cmds='chmod 644 $oldlib' 11197 old_postuninstall_cmds= 11198 11199 if test -n "$RANLIB"; then 11200 case $host_os in 11201 openbsd*) 11202 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 15384 11203 ;; 15385 11204 *) 15386 # If test is not a shell built-in, we'll probably end up computing a 15387 # maximum length that is only half of the actual maximum length, but 15388 # we can't tell. 15389 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 15390 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ 15391 = "XX$teststring") >/dev/null 2>&1 && 15392 new_result=`expr "X$teststring" : ".*" 2>&1` && 15393 lt_cv_sys_max_cmd_len=$new_result && 15394 test $i != 17 # 1/2 MB should be enough 15395 do 15396 i=`expr $i + 1` 15397 teststring=$teststring$teststring 15398 done 15399 teststring= 15400 # Add a significant safety factor because C++ compilers can tack on massive 15401 # amounts of additional arguments before passing them to the linker. 15402 # It appears as though 1/2 is a usable value. 15403 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 11205 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 15404 11206 ;; 15405 11207 esac 15406 15407 fi 15408 15409 if test -n $lt_cv_sys_max_cmd_len ; then 15410 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 15411 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 15412 else 15413 echo "$as_me:$LINENO: result: none" >&5 15414 echo "${ECHO_T}none" >&6 15415 fi 15416 15417 11208 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 11209 fi 11210 11211 case $host_os in 11212 darwin*) 11213 lock_old_archive_extraction=yes ;; 11214 *) 11215 lock_old_archive_extraction=no ;; 11216 esac 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 for ac_prog in gawk mawk nawk awk 11239 do 11240 # Extract the first word of "$ac_prog", so it can be a program name with args. 11241 set dummy $ac_prog; ac_word=$2 11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11243 $as_echo_n "checking for $ac_word... " >&6; } 11244 if ${ac_cv_prog_AWK+:} false; then : 11245 $as_echo_n "(cached) " >&6 11246 else 11247 if test -n "$AWK"; then 11248 ac_cv_prog_AWK="$AWK" # Let the user override the test. 11249 else 11250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11251 for as_dir in $PATH 11252 do 11253 IFS=$as_save_IFS 11254 test -z "$as_dir" && as_dir=. 11255 for ac_exec_ext in '' $ac_executable_extensions; do 11256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11257 ac_cv_prog_AWK="$ac_prog" 11258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11259 break 2 11260 fi 11261 done 11262 done 11263 IFS=$as_save_IFS 11264 11265 fi 11266 fi 11267 AWK=$ac_cv_prog_AWK 11268 if test -n "$AWK"; then 11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 11270 $as_echo "$AWK" >&6; } 11271 else 11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11273 $as_echo "no" >&6; } 11274 fi 11275 11276 11277 test -n "$AWK" && break 11278 done 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 # If no C compiler was specified, use CC. 11299 LTCC=${LTCC-"$CC"} 11300 11301 # If no C compiler flags were specified, use CFLAGS. 11302 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 11303 11304 # Allow CC to be a program name with arguments. 11305 compiler=$CC 15418 11306 15419 11307 15420 11308 # Check for command to grab the raw symbol name followed by C symbol from nm. 15421 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&515422 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 15423 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then15424 echo $ECHO_N "(cached) $ECHO_C" >&611309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 11310 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 11311 if ${lt_cv_sys_global_symbol_pipe+:} false; then : 11312 $as_echo_n "(cached) " >&6 15425 11313 else 15426 11314 … … 15433 11321 # Regexp to match symbols that can be accessed directly from C. 15434 11322 sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 15435 15436 # Transform an extracted symbol line into a proper C declaration15437 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"15438 15439 # Transform an extracted symbol line into symbol name and symbol address15440 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"15441 11323 15442 11324 # Define system-specific variables. … … 15445 11327 symcode='[BCDT]' 15446 11328 ;; 15447 cygwin* | mingw* | pw32* )11329 cygwin* | mingw* | pw32* | cegcc*) 15448 11330 symcode='[ABCDGISTW]' 15449 11331 ;; 15450 hpux*) # Its linker distinguishes data from code symbols11332 hpux*) 15451 11333 if test "$host_cpu" = ia64; then 15452 11334 symcode='[ABCDEGRST]' 15453 fi15454 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"15455 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"15456 ;;15457 linux*)15458 if test "$host_cpu" = ia64; then15459 symcode='[ABCDGIRSTW]'15460 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"15461 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"15462 11335 fi 15463 11336 ;; … … 15485 11358 esac 15486 11359 15487 # Handle CRLF in mingw tool chain15488 opt_cr=15489 case $build_os in15490 mingw*)15491 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp15492 ;;15493 esac15494 15495 11360 # If we're using GNU nm, then use its standard symbol codes. 15496 11361 case `$NM -V 2>&1` in … … 15499 11364 esac 15500 11365 15501 # Try without a prefix undercore, then with it. 11366 # Transform an extracted symbol line into a proper C declaration. 11367 # Some systems (esp. on ia64) link data and code symbols differently, 11368 # so use this general approach. 11369 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 11370 11371 # Transform an extracted symbol line into symbol name and symbol address 11372 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 11373 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 11374 11375 # Handle CRLF in mingw tool chain 11376 opt_cr= 11377 case $build_os in 11378 mingw*) 11379 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 11380 ;; 11381 esac 11382 11383 # Try without a prefix underscore, then with it. 15502 11384 for ac_symprfx in "" "_"; do 15503 11385 … … 15506 11388 15507 11389 # Write the raw and C identifiers. 15508 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 11390 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 11391 # Fake it for dumpbin and say T for any non-static function 11392 # and D for any global variable. 11393 # Also find C++ and __fastcall symbols from MSVC++, 11394 # which start with @ or ?. 11395 lt_cv_sys_global_symbol_pipe="$AWK '"\ 11396 " {last_section=section; section=\$ 3};"\ 11397 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 11398 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 11399 " \$ 0!~/External *\|/{next};"\ 11400 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 11401 " {if(hide[section]) next};"\ 11402 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 11403 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 11404 " s[1]~/^[@?]/{print s[1], s[1]; next};"\ 11405 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 11406 " ' prfx=^$ac_symprfx" 11407 else 11408 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 11409 fi 11410 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 15509 11411 15510 11412 # Check to see that the pipe works correctly. … … 15512 11414 15513 11415 rm -f conftest* 15514 cat > conftest.$ac_ext << EOF11416 cat > conftest.$ac_ext <<_LT_EOF 15515 11417 #ifdef __cplusplus 15516 11418 extern "C" { 15517 11419 #endif 15518 11420 char nm_test_var; 15519 void nm_test_func(){} 11421 void nm_test_func(void); 11422 void nm_test_func(void){} 15520 11423 #ifdef __cplusplus 15521 11424 } 15522 11425 #endif 15523 11426 int main(){nm_test_var='a';nm_test_func();return(0);} 15524 EOF15525 15526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"")>&511427 _LT_EOF 11428 11429 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15527 11430 (eval $ac_compile) 2>&5 15528 11431 ac_status=$? 15529 echo "$as_me:$LINENO: \$? = $ac_status" >&515530 (exit $ac_status); }; then11432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11433 test $ac_status = 0; }; then 15531 11434 # Now try to grab the symbols. 15532 11435 nlist=conftest.nm 15533 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"")>&515534 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe\> $nlist) 2>&511436 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 11437 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 15535 11438 ac_status=$? 15536 echo "$as_me:$LINENO: \$? = $ac_status" >&515537 (exit $ac_status); } && test -s "$nlist"; then11439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11440 test $ac_status = 0; } && test -s "$nlist"; then 15538 11441 # Try sorting and uniquifying the output. 15539 11442 if sort "$nlist" | uniq > "$nlist"T; then … … 15544 11447 15545 11448 # Make sure that we snagged all the symbols we need. 15546 if grep ' nm_test_var$' "$nlist" >/dev/null; then 15547 if grep ' nm_test_func$' "$nlist" >/dev/null; then 15548 cat <<EOF > conftest.$ac_ext 11449 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 11450 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 11451 cat <<_LT_EOF > conftest.$ac_ext 11452 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 11453 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 11454 /* DATA imports from DLLs on WIN32 con't be const, because runtime 11455 relocations are performed -- see ld's documentation on pseudo-relocs. */ 11456 # define LT_DLSYM_CONST 11457 #elif defined(__osf__) 11458 /* This system does not cope well with relocations in const data. */ 11459 # define LT_DLSYM_CONST 11460 #else 11461 # define LT_DLSYM_CONST const 11462 #endif 11463 15549 11464 #ifdef __cplusplus 15550 11465 extern "C" { 15551 11466 #endif 15552 11467 15553 EOF11468 _LT_EOF 15554 11469 # Now generate the symbol file. 15555 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' 15556 15557 cat <<EOF >> conftest.$ac_ext 15558 #if defined (__STDC__) && __STDC__ 15559 # define lt_ptr_t void * 15560 #else 15561 # define lt_ptr_t char * 15562 # define const 11470 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 11471 11472 cat <<_LT_EOF >> conftest.$ac_ext 11473 11474 /* The mapping between symbol names and symbols. */ 11475 LT_DLSYM_CONST struct { 11476 const char *name; 11477 void *address; 11478 } 11479 lt__PROGRAM__LTX_preloaded_symbols[] = 11480 { 11481 { "@PROGRAM@", (void *) 0 }, 11482 _LT_EOF 11483 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 11484 cat <<\_LT_EOF >> conftest.$ac_ext 11485 {0, (void *) 0} 11486 }; 11487 11488 /* This works around a problem in FreeBSD linker */ 11489 #ifdef FREEBSD_WORKAROUND 11490 static const void *lt_preloaded_setup() { 11491 return lt__PROGRAM__LTX_preloaded_symbols; 11492 } 15563 11493 #endif 15564 15565 /* The mapping between symbol names and symbols. */15566 const struct {15567 const char *name;15568 lt_ptr_t address;15569 }15570 lt_preloaded_symbols[] =15571 {15572 EOF15573 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext15574 cat <<\EOF >> conftest.$ac_ext15575 {0, (lt_ptr_t) 0}15576 };15577 11494 15578 11495 #ifdef __cplusplus 15579 11496 } 15580 11497 #endif 15581 EOF11498 _LT_EOF 15582 11499 # Now try linking the two files. 15583 11500 mv conftest.$ac_objext conftstm.$ac_objext 15584 lt_ save_LIBS="$LIBS"15585 lt_ save_CFLAGS="$CFLAGS"11501 lt_globsym_save_LIBS=$LIBS 11502 lt_globsym_save_CFLAGS=$CFLAGS 15586 11503 LIBS="conftstm.$ac_objext" 15587 11504 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 15588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"")>&511505 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 15589 11506 (eval $ac_link) 2>&5 15590 11507 ac_status=$? 15591 echo "$as_me:$LINENO: \$? = $ac_status" >&515592 (exit $ac_status); } && test -s conftest${ac_exeext}; then11508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11509 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 15593 11510 pipe_works=yes 15594 11511 fi 15595 LIBS= "$lt_save_LIBS"15596 CFLAGS= "$lt_save_CFLAGS"11512 LIBS=$lt_globsym_save_LIBS 11513 CFLAGS=$lt_globsym_save_CFLAGS 15597 11514 else 15598 11515 echo "cannot find nm_test_func in $nlist" >&5 … … 15608 11525 cat conftest.$ac_ext >&5 15609 11526 fi 15610 rm - f conftest* conftst*11527 rm -rf conftest* conftst* 15611 11528 15612 11529 # Do not use the global_symbol_pipe unless it works. … … 15624 11541 fi 15625 11542 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 15626 echo "$as_me:$LINENO: result: failed" >&5 15627 echo "${ECHO_T}failed" >&6 15628 else 15629 echo "$as_me:$LINENO: result: ok" >&5 15630 echo "${ECHO_T}ok" >&6 15631 fi 15632 15633 echo "$as_me:$LINENO: checking for objdir" >&5 15634 echo $ECHO_N "checking for objdir... $ECHO_C" >&6 15635 if test "${lt_cv_objdir+set}" = set; then 15636 echo $ECHO_N "(cached) $ECHO_C" >&6 11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 11544 $as_echo "failed" >&6; } 11545 else 11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 11547 $as_echo "ok" >&6; } 11548 fi 11549 11550 # Response file support. 11551 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 11552 nm_file_list_spec='@' 11553 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 11554 nm_file_list_spec='@' 11555 fi 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 11584 $as_echo_n "checking for sysroot... " >&6; } 11585 11586 # Check whether --with-sysroot was given. 11587 if test "${with_sysroot+set}" = set; then : 11588 withval=$with_sysroot; 11589 else 11590 with_sysroot=no 11591 fi 11592 11593 11594 lt_sysroot= 11595 case ${with_sysroot} in #( 11596 yes) 11597 if test "$GCC" = yes; then 11598 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 11599 fi 11600 ;; #( 11601 /*) 11602 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 11603 ;; #( 11604 no|'') 11605 ;; #( 11606 *) 11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 11608 $as_echo "${with_sysroot}" >&6; } 11609 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 11610 ;; 11611 esac 11612 11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 11614 $as_echo "${lt_sysroot:-no}" >&6; } 11615 11616 11617 11618 11619 11620 # Check whether --enable-libtool-lock was given. 11621 if test "${enable_libtool_lock+set}" = set; then : 11622 enableval=$enable_libtool_lock; 11623 fi 11624 11625 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 11626 11627 # Some flags need to be propagated to the compiler or linker for good 11628 # libtool support. 11629 case $host in 11630 ia64-*-hpux*) 11631 # Find out which ABI we are using. 11632 echo 'int i;' > conftest.$ac_ext 11633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11634 (eval $ac_compile) 2>&5 11635 ac_status=$? 11636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11637 test $ac_status = 0; }; then 11638 case `/usr/bin/file conftest.$ac_objext` in 11639 *ELF-32*) 11640 HPUX_IA64_MODE="32" 11641 ;; 11642 *ELF-64*) 11643 HPUX_IA64_MODE="64" 11644 ;; 11645 esac 11646 fi 11647 rm -rf conftest* 11648 ;; 11649 *-*-irix6*) 11650 # Find out which ABI we are using. 11651 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 11652 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11653 (eval $ac_compile) 2>&5 11654 ac_status=$? 11655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11656 test $ac_status = 0; }; then 11657 if test "$lt_cv_prog_gnu_ld" = yes; then 11658 case `/usr/bin/file conftest.$ac_objext` in 11659 *32-bit*) 11660 LD="${LD-ld} -melf32bsmip" 11661 ;; 11662 *N32*) 11663 LD="${LD-ld} -melf32bmipn32" 11664 ;; 11665 *64-bit*) 11666 LD="${LD-ld} -melf64bmip" 11667 ;; 11668 esac 11669 else 11670 case `/usr/bin/file conftest.$ac_objext` in 11671 *32-bit*) 11672 LD="${LD-ld} -32" 11673 ;; 11674 *N32*) 11675 LD="${LD-ld} -n32" 11676 ;; 11677 *64-bit*) 11678 LD="${LD-ld} -64" 11679 ;; 11680 esac 11681 fi 11682 fi 11683 rm -rf conftest* 11684 ;; 11685 11686 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 11687 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 11688 # Find out which ABI we are using. 11689 echo 'int i;' > conftest.$ac_ext 11690 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11691 (eval $ac_compile) 2>&5 11692 ac_status=$? 11693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11694 test $ac_status = 0; }; then 11695 case `/usr/bin/file conftest.o` in 11696 *32-bit*) 11697 case $host in 11698 x86_64-*kfreebsd*-gnu) 11699 LD="${LD-ld} -m elf_i386_fbsd" 11700 ;; 11701 x86_64-*linux*) 11702 case `/usr/bin/file conftest.o` in 11703 *x86-64*) 11704 LD="${LD-ld} -m elf32_x86_64" 11705 ;; 11706 *) 11707 LD="${LD-ld} -m elf_i386" 11708 ;; 11709 esac 11710 ;; 11711 powerpc64le-*) 11712 LD="${LD-ld} -m elf32lppclinux" 11713 ;; 11714 powerpc64-*) 11715 LD="${LD-ld} -m elf32ppclinux" 11716 ;; 11717 s390x-*linux*) 11718 LD="${LD-ld} -m elf_s390" 11719 ;; 11720 sparc64-*linux*) 11721 LD="${LD-ld} -m elf32_sparc" 11722 ;; 11723 esac 11724 ;; 11725 *64-bit*) 11726 case $host in 11727 x86_64-*kfreebsd*-gnu) 11728 LD="${LD-ld} -m elf_x86_64_fbsd" 11729 ;; 11730 x86_64-*linux*) 11731 LD="${LD-ld} -m elf_x86_64" 11732 ;; 11733 powerpcle-*) 11734 LD="${LD-ld} -m elf64lppc" 11735 ;; 11736 powerpc-*) 11737 LD="${LD-ld} -m elf64ppc" 11738 ;; 11739 s390*-*linux*|s390*-*tpf*) 11740 LD="${LD-ld} -m elf64_s390" 11741 ;; 11742 sparc*-*linux*) 11743 LD="${LD-ld} -m elf64_sparc" 11744 ;; 11745 esac 11746 ;; 11747 esac 11748 fi 11749 rm -rf conftest* 11750 ;; 11751 11752 *-*-sco3.2v5*) 11753 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 11754 SAVE_CFLAGS="$CFLAGS" 11755 CFLAGS="$CFLAGS -belf" 11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 11757 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 11758 if ${lt_cv_cc_needs_belf+:} false; then : 11759 $as_echo_n "(cached) " >&6 11760 else 11761 ac_ext=c 11762 ac_cpp='$CPP $CPPFLAGS' 11763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11765 ac_compiler_gnu=$ac_cv_c_compiler_gnu 11766 11767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11768 /* end confdefs.h. */ 11769 11770 int 11771 main () 11772 { 11773 11774 ; 11775 return 0; 11776 } 11777 _ACEOF 11778 if ac_fn_c_try_link "$LINENO"; then : 11779 lt_cv_cc_needs_belf=yes 11780 else 11781 lt_cv_cc_needs_belf=no 11782 fi 11783 rm -f core conftest.err conftest.$ac_objext \ 11784 conftest$ac_exeext conftest.$ac_ext 11785 ac_ext=c 11786 ac_cpp='$CPP $CPPFLAGS' 11787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11789 ac_compiler_gnu=$ac_cv_c_compiler_gnu 11790 11791 fi 11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 11793 $as_echo "$lt_cv_cc_needs_belf" >&6; } 11794 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 11795 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 11796 CFLAGS="$SAVE_CFLAGS" 11797 fi 11798 ;; 11799 *-*solaris*) 11800 # Find out which ABI we are using. 11801 echo 'int i;' > conftest.$ac_ext 11802 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11803 (eval $ac_compile) 2>&5 11804 ac_status=$? 11805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11806 test $ac_status = 0; }; then 11807 case `/usr/bin/file conftest.o` in 11808 *64-bit*) 11809 case $lt_cv_prog_gnu_ld in 11810 yes*) 11811 case $host in 11812 i?86-*-solaris*) 11813 LD="${LD-ld} -m elf_x86_64" 11814 ;; 11815 sparc*-*-solaris*) 11816 LD="${LD-ld} -m elf64_sparc" 11817 ;; 11818 esac 11819 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 11820 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 11821 LD="${LD-ld}_sol2" 11822 fi 11823 ;; 11824 *) 11825 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 11826 LD="${LD-ld} -64" 11827 fi 11828 ;; 11829 esac 11830 ;; 11831 esac 11832 fi 11833 rm -rf conftest* 11834 ;; 11835 esac 11836 11837 need_locks="$enable_libtool_lock" 11838 11839 if test -n "$ac_tool_prefix"; then 11840 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 11841 set dummy ${ac_tool_prefix}mt; ac_word=$2 11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11843 $as_echo_n "checking for $ac_word... " >&6; } 11844 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 11845 $as_echo_n "(cached) " >&6 11846 else 11847 if test -n "$MANIFEST_TOOL"; then 11848 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 11849 else 11850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11851 for as_dir in $PATH 11852 do 11853 IFS=$as_save_IFS 11854 test -z "$as_dir" && as_dir=. 11855 for ac_exec_ext in '' $ac_executable_extensions; do 11856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11857 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 11858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11859 break 2 11860 fi 11861 done 11862 done 11863 IFS=$as_save_IFS 11864 11865 fi 11866 fi 11867 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 11868 if test -n "$MANIFEST_TOOL"; then 11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 11870 $as_echo "$MANIFEST_TOOL" >&6; } 11871 else 11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11873 $as_echo "no" >&6; } 11874 fi 11875 11876 11877 fi 11878 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 11879 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 11880 # Extract the first word of "mt", so it can be a program name with args. 11881 set dummy mt; ac_word=$2 11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11883 $as_echo_n "checking for $ac_word... " >&6; } 11884 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 11885 $as_echo_n "(cached) " >&6 11886 else 11887 if test -n "$ac_ct_MANIFEST_TOOL"; then 11888 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 11889 else 11890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11891 for as_dir in $PATH 11892 do 11893 IFS=$as_save_IFS 11894 test -z "$as_dir" && as_dir=. 11895 for ac_exec_ext in '' $ac_executable_extensions; do 11896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11897 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 11898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11899 break 2 11900 fi 11901 done 11902 done 11903 IFS=$as_save_IFS 11904 11905 fi 11906 fi 11907 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 11908 if test -n "$ac_ct_MANIFEST_TOOL"; then 11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 11910 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 11911 else 11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11913 $as_echo "no" >&6; } 11914 fi 11915 11916 if test "x$ac_ct_MANIFEST_TOOL" = x; then 11917 MANIFEST_TOOL=":" 11918 else 11919 case $cross_compiling:$ac_tool_warned in 11920 yes:) 11921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11923 ac_tool_warned=yes ;; 11924 esac 11925 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 11926 fi 11927 else 11928 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 11929 fi 11930 11931 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 11933 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 11934 if ${lt_cv_path_mainfest_tool+:} false; then : 11935 $as_echo_n "(cached) " >&6 11936 else 11937 lt_cv_path_mainfest_tool=no 11938 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 11939 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 11940 cat conftest.err >&5 11941 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 11942 lt_cv_path_mainfest_tool=yes 11943 fi 11944 rm -f conftest* 11945 fi 11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 11947 $as_echo "$lt_cv_path_mainfest_tool" >&6; } 11948 if test "x$lt_cv_path_mainfest_tool" != xyes; then 11949 MANIFEST_TOOL=: 11950 fi 11951 11952 11953 11954 11955 11956 11957 case $host_os in 11958 rhapsody* | darwin*) 11959 if test -n "$ac_tool_prefix"; then 11960 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 11961 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11963 $as_echo_n "checking for $ac_word... " >&6; } 11964 if ${ac_cv_prog_DSYMUTIL+:} false; then : 11965 $as_echo_n "(cached) " >&6 11966 else 11967 if test -n "$DSYMUTIL"; then 11968 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 11969 else 11970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11971 for as_dir in $PATH 11972 do 11973 IFS=$as_save_IFS 11974 test -z "$as_dir" && as_dir=. 11975 for ac_exec_ext in '' $ac_executable_extensions; do 11976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11977 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 11978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11979 break 2 11980 fi 11981 done 11982 done 11983 IFS=$as_save_IFS 11984 11985 fi 11986 fi 11987 DSYMUTIL=$ac_cv_prog_DSYMUTIL 11988 if test -n "$DSYMUTIL"; then 11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 11990 $as_echo "$DSYMUTIL" >&6; } 11991 else 11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11993 $as_echo "no" >&6; } 11994 fi 11995 11996 11997 fi 11998 if test -z "$ac_cv_prog_DSYMUTIL"; then 11999 ac_ct_DSYMUTIL=$DSYMUTIL 12000 # Extract the first word of "dsymutil", so it can be a program name with args. 12001 set dummy dsymutil; ac_word=$2 12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12003 $as_echo_n "checking for $ac_word... " >&6; } 12004 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 12005 $as_echo_n "(cached) " >&6 12006 else 12007 if test -n "$ac_ct_DSYMUTIL"; then 12008 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 12009 else 12010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12011 for as_dir in $PATH 12012 do 12013 IFS=$as_save_IFS 12014 test -z "$as_dir" && as_dir=. 12015 for ac_exec_ext in '' $ac_executable_extensions; do 12016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12017 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 12018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12019 break 2 12020 fi 12021 done 12022 done 12023 IFS=$as_save_IFS 12024 12025 fi 12026 fi 12027 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 12028 if test -n "$ac_ct_DSYMUTIL"; then 12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 12030 $as_echo "$ac_ct_DSYMUTIL" >&6; } 12031 else 12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12033 $as_echo "no" >&6; } 12034 fi 12035 12036 if test "x$ac_ct_DSYMUTIL" = x; then 12037 DSYMUTIL=":" 12038 else 12039 case $cross_compiling:$ac_tool_warned in 12040 yes:) 12041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12043 ac_tool_warned=yes ;; 12044 esac 12045 DSYMUTIL=$ac_ct_DSYMUTIL 12046 fi 12047 else 12048 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 12049 fi 12050 12051 if test -n "$ac_tool_prefix"; then 12052 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 12053 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12055 $as_echo_n "checking for $ac_word... " >&6; } 12056 if ${ac_cv_prog_NMEDIT+:} false; then : 12057 $as_echo_n "(cached) " >&6 12058 else 12059 if test -n "$NMEDIT"; then 12060 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 12061 else 12062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12063 for as_dir in $PATH 12064 do 12065 IFS=$as_save_IFS 12066 test -z "$as_dir" && as_dir=. 12067 for ac_exec_ext in '' $ac_executable_extensions; do 12068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12069 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 12070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12071 break 2 12072 fi 12073 done 12074 done 12075 IFS=$as_save_IFS 12076 12077 fi 12078 fi 12079 NMEDIT=$ac_cv_prog_NMEDIT 12080 if test -n "$NMEDIT"; then 12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 12082 $as_echo "$NMEDIT" >&6; } 12083 else 12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12085 $as_echo "no" >&6; } 12086 fi 12087 12088 12089 fi 12090 if test -z "$ac_cv_prog_NMEDIT"; then 12091 ac_ct_NMEDIT=$NMEDIT 12092 # Extract the first word of "nmedit", so it can be a program name with args. 12093 set dummy nmedit; ac_word=$2 12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12095 $as_echo_n "checking for $ac_word... " >&6; } 12096 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 12097 $as_echo_n "(cached) " >&6 12098 else 12099 if test -n "$ac_ct_NMEDIT"; then 12100 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 12101 else 12102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12103 for as_dir in $PATH 12104 do 12105 IFS=$as_save_IFS 12106 test -z "$as_dir" && as_dir=. 12107 for ac_exec_ext in '' $ac_executable_extensions; do 12108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12109 ac_cv_prog_ac_ct_NMEDIT="nmedit" 12110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12111 break 2 12112 fi 12113 done 12114 done 12115 IFS=$as_save_IFS 12116 12117 fi 12118 fi 12119 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 12120 if test -n "$ac_ct_NMEDIT"; then 12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 12122 $as_echo "$ac_ct_NMEDIT" >&6; } 12123 else 12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12125 $as_echo "no" >&6; } 12126 fi 12127 12128 if test "x$ac_ct_NMEDIT" = x; then 12129 NMEDIT=":" 12130 else 12131 case $cross_compiling:$ac_tool_warned in 12132 yes:) 12133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12135 ac_tool_warned=yes ;; 12136 esac 12137 NMEDIT=$ac_ct_NMEDIT 12138 fi 12139 else 12140 NMEDIT="$ac_cv_prog_NMEDIT" 12141 fi 12142 12143 if test -n "$ac_tool_prefix"; then 12144 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 12145 set dummy ${ac_tool_prefix}lipo; ac_word=$2 12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12147 $as_echo_n "checking for $ac_word... " >&6; } 12148 if ${ac_cv_prog_LIPO+:} false; then : 12149 $as_echo_n "(cached) " >&6 12150 else 12151 if test -n "$LIPO"; then 12152 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 12153 else 12154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12155 for as_dir in $PATH 12156 do 12157 IFS=$as_save_IFS 12158 test -z "$as_dir" && as_dir=. 12159 for ac_exec_ext in '' $ac_executable_extensions; do 12160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12161 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 12162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12163 break 2 12164 fi 12165 done 12166 done 12167 IFS=$as_save_IFS 12168 12169 fi 12170 fi 12171 LIPO=$ac_cv_prog_LIPO 12172 if test -n "$LIPO"; then 12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 12174 $as_echo "$LIPO" >&6; } 12175 else 12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12177 $as_echo "no" >&6; } 12178 fi 12179 12180 12181 fi 12182 if test -z "$ac_cv_prog_LIPO"; then 12183 ac_ct_LIPO=$LIPO 12184 # Extract the first word of "lipo", so it can be a program name with args. 12185 set dummy lipo; ac_word=$2 12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12187 $as_echo_n "checking for $ac_word... " >&6; } 12188 if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 12189 $as_echo_n "(cached) " >&6 12190 else 12191 if test -n "$ac_ct_LIPO"; then 12192 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 12193 else 12194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12195 for as_dir in $PATH 12196 do 12197 IFS=$as_save_IFS 12198 test -z "$as_dir" && as_dir=. 12199 for ac_exec_ext in '' $ac_executable_extensions; do 12200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12201 ac_cv_prog_ac_ct_LIPO="lipo" 12202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12203 break 2 12204 fi 12205 done 12206 done 12207 IFS=$as_save_IFS 12208 12209 fi 12210 fi 12211 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 12212 if test -n "$ac_ct_LIPO"; then 12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 12214 $as_echo "$ac_ct_LIPO" >&6; } 12215 else 12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12217 $as_echo "no" >&6; } 12218 fi 12219 12220 if test "x$ac_ct_LIPO" = x; then 12221 LIPO=":" 12222 else 12223 case $cross_compiling:$ac_tool_warned in 12224 yes:) 12225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12227 ac_tool_warned=yes ;; 12228 esac 12229 LIPO=$ac_ct_LIPO 12230 fi 12231 else 12232 LIPO="$ac_cv_prog_LIPO" 12233 fi 12234 12235 if test -n "$ac_tool_prefix"; then 12236 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 12237 set dummy ${ac_tool_prefix}otool; ac_word=$2 12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12239 $as_echo_n "checking for $ac_word... " >&6; } 12240 if ${ac_cv_prog_OTOOL+:} false; then : 12241 $as_echo_n "(cached) " >&6 12242 else 12243 if test -n "$OTOOL"; then 12244 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 12245 else 12246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12247 for as_dir in $PATH 12248 do 12249 IFS=$as_save_IFS 12250 test -z "$as_dir" && as_dir=. 12251 for ac_exec_ext in '' $ac_executable_extensions; do 12252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12253 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 12254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12255 break 2 12256 fi 12257 done 12258 done 12259 IFS=$as_save_IFS 12260 12261 fi 12262 fi 12263 OTOOL=$ac_cv_prog_OTOOL 12264 if test -n "$OTOOL"; then 12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 12266 $as_echo "$OTOOL" >&6; } 12267 else 12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12269 $as_echo "no" >&6; } 12270 fi 12271 12272 12273 fi 12274 if test -z "$ac_cv_prog_OTOOL"; then 12275 ac_ct_OTOOL=$OTOOL 12276 # Extract the first word of "otool", so it can be a program name with args. 12277 set dummy otool; ac_word=$2 12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12279 $as_echo_n "checking for $ac_word... " >&6; } 12280 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 12281 $as_echo_n "(cached) " >&6 12282 else 12283 if test -n "$ac_ct_OTOOL"; then 12284 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 12285 else 12286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12287 for as_dir in $PATH 12288 do 12289 IFS=$as_save_IFS 12290 test -z "$as_dir" && as_dir=. 12291 for ac_exec_ext in '' $ac_executable_extensions; do 12292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12293 ac_cv_prog_ac_ct_OTOOL="otool" 12294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12295 break 2 12296 fi 12297 done 12298 done 12299 IFS=$as_save_IFS 12300 12301 fi 12302 fi 12303 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 12304 if test -n "$ac_ct_OTOOL"; then 12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 12306 $as_echo "$ac_ct_OTOOL" >&6; } 12307 else 12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12309 $as_echo "no" >&6; } 12310 fi 12311 12312 if test "x$ac_ct_OTOOL" = x; then 12313 OTOOL=":" 12314 else 12315 case $cross_compiling:$ac_tool_warned in 12316 yes:) 12317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12319 ac_tool_warned=yes ;; 12320 esac 12321 OTOOL=$ac_ct_OTOOL 12322 fi 12323 else 12324 OTOOL="$ac_cv_prog_OTOOL" 12325 fi 12326 12327 if test -n "$ac_tool_prefix"; then 12328 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 12329 set dummy ${ac_tool_prefix}otool64; ac_word=$2 12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12331 $as_echo_n "checking for $ac_word... " >&6; } 12332 if ${ac_cv_prog_OTOOL64+:} false; then : 12333 $as_echo_n "(cached) " >&6 12334 else 12335 if test -n "$OTOOL64"; then 12336 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 12337 else 12338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12339 for as_dir in $PATH 12340 do 12341 IFS=$as_save_IFS 12342 test -z "$as_dir" && as_dir=. 12343 for ac_exec_ext in '' $ac_executable_extensions; do 12344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12345 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 12346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12347 break 2 12348 fi 12349 done 12350 done 12351 IFS=$as_save_IFS 12352 12353 fi 12354 fi 12355 OTOOL64=$ac_cv_prog_OTOOL64 12356 if test -n "$OTOOL64"; then 12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 12358 $as_echo "$OTOOL64" >&6; } 12359 else 12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12361 $as_echo "no" >&6; } 12362 fi 12363 12364 12365 fi 12366 if test -z "$ac_cv_prog_OTOOL64"; then 12367 ac_ct_OTOOL64=$OTOOL64 12368 # Extract the first word of "otool64", so it can be a program name with args. 12369 set dummy otool64; ac_word=$2 12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12371 $as_echo_n "checking for $ac_word... " >&6; } 12372 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 12373 $as_echo_n "(cached) " >&6 12374 else 12375 if test -n "$ac_ct_OTOOL64"; then 12376 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 12377 else 12378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12379 for as_dir in $PATH 12380 do 12381 IFS=$as_save_IFS 12382 test -z "$as_dir" && as_dir=. 12383 for ac_exec_ext in '' $ac_executable_extensions; do 12384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12385 ac_cv_prog_ac_ct_OTOOL64="otool64" 12386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12387 break 2 12388 fi 12389 done 12390 done 12391 IFS=$as_save_IFS 12392 12393 fi 12394 fi 12395 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 12396 if test -n "$ac_ct_OTOOL64"; then 12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 12398 $as_echo "$ac_ct_OTOOL64" >&6; } 12399 else 12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12401 $as_echo "no" >&6; } 12402 fi 12403 12404 if test "x$ac_ct_OTOOL64" = x; then 12405 OTOOL64=":" 12406 else 12407 case $cross_compiling:$ac_tool_warned in 12408 yes:) 12409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12411 ac_tool_warned=yes ;; 12412 esac 12413 OTOOL64=$ac_ct_OTOOL64 12414 fi 12415 else 12416 OTOOL64="$ac_cv_prog_OTOOL64" 12417 fi 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 12446 $as_echo_n "checking for -single_module linker flag... " >&6; } 12447 if ${lt_cv_apple_cc_single_mod+:} false; then : 12448 $as_echo_n "(cached) " >&6 12449 else 12450 lt_cv_apple_cc_single_mod=no 12451 if test -z "${LT_MULTI_MODULE}"; then 12452 # By default we will add the -single_module flag. You can override 12453 # by either setting the environment variable LT_MULTI_MODULE 12454 # non-empty at configure time, or by adding -multi_module to the 12455 # link flags. 12456 rm -rf libconftest.dylib* 12457 echo "int foo(void){return 1;}" > conftest.c 12458 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 12459 -dynamiclib -Wl,-single_module conftest.c" >&5 12460 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 12461 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 12462 _lt_result=$? 12463 # If there is a non-empty error log, and "single_module" 12464 # appears in it, assume the flag caused a linker warning 12465 if test -s conftest.err && $GREP single_module conftest.err; then 12466 cat conftest.err >&5 12467 # Otherwise, if the output was created with a 0 exit code from 12468 # the compiler, it worked. 12469 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 12470 lt_cv_apple_cc_single_mod=yes 12471 else 12472 cat conftest.err >&5 12473 fi 12474 rm -rf libconftest.dylib* 12475 rm -f conftest.* 12476 fi 12477 fi 12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 12479 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } 12480 12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 12482 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 12483 if ${lt_cv_ld_exported_symbols_list+:} false; then : 12484 $as_echo_n "(cached) " >&6 12485 else 12486 lt_cv_ld_exported_symbols_list=no 12487 save_LDFLAGS=$LDFLAGS 12488 echo "_main" > conftest.sym 12489 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12491 /* end confdefs.h. */ 12492 12493 int 12494 main () 12495 { 12496 12497 ; 12498 return 0; 12499 } 12500 _ACEOF 12501 if ac_fn_c_try_link "$LINENO"; then : 12502 lt_cv_ld_exported_symbols_list=yes 12503 else 12504 lt_cv_ld_exported_symbols_list=no 12505 fi 12506 rm -f core conftest.err conftest.$ac_objext \ 12507 conftest$ac_exeext conftest.$ac_ext 12508 LDFLAGS="$save_LDFLAGS" 12509 12510 fi 12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 12512 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 12513 12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 12515 $as_echo_n "checking for -force_load linker flag... " >&6; } 12516 if ${lt_cv_ld_force_load+:} false; then : 12517 $as_echo_n "(cached) " >&6 12518 else 12519 lt_cv_ld_force_load=no 12520 cat > conftest.c << _LT_EOF 12521 int forced_loaded() { return 2;} 12522 _LT_EOF 12523 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 12524 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 12525 echo "$AR cru libconftest.a conftest.o" >&5 12526 $AR cru libconftest.a conftest.o 2>&5 12527 echo "$RANLIB libconftest.a" >&5 12528 $RANLIB libconftest.a 2>&5 12529 cat > conftest.c << _LT_EOF 12530 int main() { return 0;} 12531 _LT_EOF 12532 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 12533 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 12534 _lt_result=$? 12535 if test -s conftest.err && $GREP force_load conftest.err; then 12536 cat conftest.err >&5 12537 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 12538 lt_cv_ld_force_load=yes 12539 else 12540 cat conftest.err >&5 12541 fi 12542 rm -f conftest.err libconftest.a conftest conftest.c 12543 rm -rf conftest.dSYM 12544 12545 fi 12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 12547 $as_echo "$lt_cv_ld_force_load" >&6; } 12548 case $host_os in 12549 rhapsody* | darwin1.[012]) 12550 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 12551 darwin1.*) 12552 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 12553 darwin*) # darwin 5.x on 12554 # if running on 10.5 or later, the deployment target defaults 12555 # to the OS version, if on x86, and 10.4, the deployment 12556 # target defaults to 10.4. Don't you love it? 12557 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 12558 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 12559 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 12560 10.[012]*) 12561 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 12562 10.*) 12563 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 12564 esac 12565 ;; 12566 esac 12567 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 12568 _lt_dar_single_mod='$single_module' 12569 fi 12570 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 12571 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 12572 else 12573 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 12574 fi 12575 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 12576 _lt_dsymutil='~$DSYMUTIL $lib || :' 12577 else 12578 _lt_dsymutil= 12579 fi 12580 ;; 12581 esac 12582 12583 for ac_header in dlfcn.h 12584 do : 12585 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 12586 " 12587 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 12588 cat >>confdefs.h <<_ACEOF 12589 #define HAVE_DLFCN_H 1 12590 _ACEOF 12591 12592 fi 12593 12594 done 12595 12596 12597 12598 func_stripname_cnf () 12599 { 12600 case ${2} in 12601 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; 12602 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; 12603 esac 12604 } # func_stripname_cnf 12605 12606 12607 12608 12609 12610 # Set options 12611 12612 12613 12614 enable_dlopen=no 12615 12616 12617 enable_win32_dll=no 12618 12619 12620 12621 # Check whether --enable-static was given. 12622 if test "${enable_static+set}" = set; then : 12623 enableval=$enable_static; p=${PACKAGE-default} 12624 case $enableval in 12625 yes) enable_static=yes ;; 12626 no) enable_static=no ;; 12627 *) 12628 enable_static=no 12629 # Look at the argument we got. We use all the common list separators. 12630 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 12631 for pkg in $enableval; do 12632 IFS="$lt_save_ifs" 12633 if test "X$pkg" = "X$p"; then 12634 enable_static=yes 12635 fi 12636 done 12637 IFS="$lt_save_ifs" 12638 ;; 12639 esac 12640 else 12641 enable_static=yes 12642 fi 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 # Check whether --with-pic was given. 12654 if test "${with_pic+set}" = set; then : 12655 withval=$with_pic; lt_p=${PACKAGE-default} 12656 case $withval in 12657 yes|no) pic_mode=$withval ;; 12658 *) 12659 pic_mode=default 12660 # Look at the argument we got. We use all the common list separators. 12661 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 12662 for lt_pkg in $withval; do 12663 IFS="$lt_save_ifs" 12664 if test "X$lt_pkg" = "X$lt_p"; then 12665 pic_mode=yes 12666 fi 12667 done 12668 IFS="$lt_save_ifs" 12669 ;; 12670 esac 12671 else 12672 pic_mode=default 12673 fi 12674 12675 12676 test -z "$pic_mode" && pic_mode=default 12677 12678 12679 12680 12681 12682 12683 12684 # Check whether --enable-fast-install was given. 12685 if test "${enable_fast_install+set}" = set; then : 12686 enableval=$enable_fast_install; p=${PACKAGE-default} 12687 case $enableval in 12688 yes) enable_fast_install=yes ;; 12689 no) enable_fast_install=no ;; 12690 *) 12691 enable_fast_install=no 12692 # Look at the argument we got. We use all the common list separators. 12693 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 12694 for pkg in $enableval; do 12695 IFS="$lt_save_ifs" 12696 if test "X$pkg" = "X$p"; then 12697 enable_fast_install=yes 12698 fi 12699 done 12700 IFS="$lt_save_ifs" 12701 ;; 12702 esac 12703 else 12704 enable_fast_install=yes 12705 fi 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 # This can be used to rebuild libtool when needed 12718 LIBTOOL_DEPS="$ltmain" 12719 12720 # Always use our own libtool. 12721 LIBTOOL='$(SHELL) $(top_builddir)/libtool' 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 test -z "$LN_S" && LN_S="ln -s" 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 if test -n "${ZSH_VERSION+set}" ; then 12768 setopt NO_GLOB_SUBST 12769 fi 12770 12771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 12772 $as_echo_n "checking for objdir... " >&6; } 12773 if ${lt_cv_objdir+:} false; then : 12774 $as_echo_n "(cached) " >&6 15637 12775 else 15638 12776 rm -f .libs 2>/dev/null … … 15646 12784 rmdir .libs 2>/dev/null 15647 12785 fi 15648 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&515649 echo "${ECHO_T}$lt_cv_objdir" >&6 12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 12787 $as_echo "$lt_cv_objdir" >&6; } 15650 12788 objdir=$lt_cv_objdir 15651 12789 12790 12791 12792 12793 12794 cat >>confdefs.h <<_ACEOF 12795 #define LT_OBJDIR "$lt_cv_objdir/" 12796 _ACEOF 15652 12797 15653 12798 … … 15666 12811 esac 15667 12812 15668 # Sed substitution that helps us do robust quoting. It backslashifies15669 # metacharacters that are still active within double-quoted strings.15670 Xsed='sed -e 1s/^X//'15671 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'15672 15673 # Same as above, but do not quote variable references.15674 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'15675 15676 # Sed substitution to delay expansion of an escaped shell variable in a15677 # double_quote_subst'ed string.15678 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'15679 15680 # Sed substitution to avoid accidental globbing in evaled expressions15681 no_glob_subst='s/\*/\\\*/g'15682 15683 # Constants:15684 rm="rm -f"15685 15686 12813 # Global variables: 15687 default_ofile=libtool12814 ofile=libtool 15688 12815 can_build_shared=yes 15689 12816 … … 15691 12818 # which needs '.lib'). 15692 12819 libext=a 15693 ltmain="$ac_aux_dir/ltmain.sh" 15694 ofile="$default_ofile" 12820 15695 12821 with_gnu_ld="$lt_cv_prog_gnu_ld" 15696 15697 if test -n "$ac_tool_prefix"; then15698 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.15699 set dummy ${ac_tool_prefix}ar; ac_word=$215700 echo "$as_me:$LINENO: checking for $ac_word" >&515701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&615702 if test "${ac_cv_prog_AR+set}" = set; then15703 echo $ECHO_N "(cached) $ECHO_C" >&615704 else15705 if test -n "$AR"; then15706 ac_cv_prog_AR="$AR" # Let the user override the test.15707 else15708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR15709 for as_dir in $PATH15710 do15711 IFS=$as_save_IFS15712 test -z "$as_dir" && as_dir=.15713 for ac_exec_ext in '' $ac_executable_extensions; do15714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then15715 ac_cv_prog_AR="${ac_tool_prefix}ar"15716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&515717 break 215718 fi15719 done15720 done15721 15722 fi15723 fi15724 AR=$ac_cv_prog_AR15725 if test -n "$AR"; then15726 echo "$as_me:$LINENO: result: $AR" >&515727 echo "${ECHO_T}$AR" >&615728 else15729 echo "$as_me:$LINENO: result: no" >&515730 echo "${ECHO_T}no" >&615731 fi15732 15733 fi15734 if test -z "$ac_cv_prog_AR"; then15735 ac_ct_AR=$AR15736 # Extract the first word of "ar", so it can be a program name with args.15737 set dummy ar; ac_word=$215738 echo "$as_me:$LINENO: checking for $ac_word" >&515739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&615740 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then15741 echo $ECHO_N "(cached) $ECHO_C" >&615742 else15743 if test -n "$ac_ct_AR"; then15744 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.15745 else15746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR15747 for as_dir in $PATH15748 do15749 IFS=$as_save_IFS15750 test -z "$as_dir" && as_dir=.15751 for ac_exec_ext in '' $ac_executable_extensions; do15752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then15753 ac_cv_prog_ac_ct_AR="ar"15754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&515755 break 215756 fi15757 done15758 done15759 15760 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"15761 fi15762 fi15763 ac_ct_AR=$ac_cv_prog_ac_ct_AR15764 if test -n "$ac_ct_AR"; then15765 echo "$as_me:$LINENO: result: $ac_ct_AR" >&515766 echo "${ECHO_T}$ac_ct_AR" >&615767 else15768 echo "$as_me:$LINENO: result: no" >&515769 echo "${ECHO_T}no" >&615770 fi15771 15772 AR=$ac_ct_AR15773 else15774 AR="$ac_cv_prog_AR"15775 fi15776 15777 if test -n "$ac_tool_prefix"; then15778 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.15779 set dummy ${ac_tool_prefix}ranlib; ac_word=$215780 echo "$as_me:$LINENO: checking for $ac_word" >&515781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&615782 if test "${ac_cv_prog_RANLIB+set}" = set; then15783 echo $ECHO_N "(cached) $ECHO_C" >&615784 else15785 if test -n "$RANLIB"; then15786 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.15787 else15788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR15789 for as_dir in $PATH15790 do15791 IFS=$as_save_IFS15792 test -z "$as_dir" && as_dir=.15793 for ac_exec_ext in '' $ac_executable_extensions; do15794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then15795 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"15796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&515797 break 215798 fi15799 done15800 done15801 15802 fi15803 fi15804 RANLIB=$ac_cv_prog_RANLIB15805 if test -n "$RANLIB"; then15806 echo "$as_me:$LINENO: result: $RANLIB" >&515807 echo "${ECHO_T}$RANLIB" >&615808 else15809 echo "$as_me:$LINENO: result: no" >&515810 echo "${ECHO_T}no" >&615811 fi15812 15813 fi15814 if test -z "$ac_cv_prog_RANLIB"; then15815 ac_ct_RANLIB=$RANLIB15816 # Extract the first word of "ranlib", so it can be a program name with args.15817 set dummy ranlib; ac_word=$215818 echo "$as_me:$LINENO: checking for $ac_word" >&515819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&615820 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then15821 echo $ECHO_N "(cached) $ECHO_C" >&615822 else15823 if test -n "$ac_ct_RANLIB"; then15824 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.15825 else15826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR15827 for as_dir in $PATH15828 do15829 IFS=$as_save_IFS15830 test -z "$as_dir" && as_dir=.15831 for ac_exec_ext in '' $ac_executable_extensions; do15832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then15833 ac_cv_prog_ac_ct_RANLIB="ranlib"15834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&515835 break 215836 fi15837 done15838 done15839 15840 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"15841 fi15842 fi15843 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB15844 if test -n "$ac_ct_RANLIB"; then15845 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&515846 echo "${ECHO_T}$ac_ct_RANLIB" >&615847 else15848 echo "$as_me:$LINENO: result: no" >&515849 echo "${ECHO_T}no" >&615850 fi15851 15852 RANLIB=$ac_ct_RANLIB15853 else15854 RANLIB="$ac_cv_prog_RANLIB"15855 fi15856 15857 if test -n "$ac_tool_prefix"; then15858 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.15859 set dummy ${ac_tool_prefix}strip; ac_word=$215860 echo "$as_me:$LINENO: checking for $ac_word" >&515861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&615862 if test "${ac_cv_prog_STRIP+set}" = set; then15863 echo $ECHO_N "(cached) $ECHO_C" >&615864 else15865 if test -n "$STRIP"; then15866 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.15867 else15868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR15869 for as_dir in $PATH15870 do15871 IFS=$as_save_IFS15872 test -z "$as_dir" && as_dir=.15873 for ac_exec_ext in '' $ac_executable_extensions; do15874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then15875 ac_cv_prog_STRIP="${ac_tool_prefix}strip"15876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&515877 break 215878 fi15879 done15880 done15881 15882 fi15883 fi15884 STRIP=$ac_cv_prog_STRIP15885 if test -n "$STRIP"; then15886 echo "$as_me:$LINENO: result: $STRIP" >&515887 echo "${ECHO_T}$STRIP" >&615888 else15889 echo "$as_me:$LINENO: result: no" >&515890 echo "${ECHO_T}no" >&615891 fi15892 15893 fi15894 if test -z "$ac_cv_prog_STRIP"; then15895 ac_ct_STRIP=$STRIP15896 # Extract the first word of "strip", so it can be a program name with args.15897 set dummy strip; ac_word=$215898 echo "$as_me:$LINENO: checking for $ac_word" >&515899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&615900 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then15901 echo $ECHO_N "(cached) $ECHO_C" >&615902 else15903 if test -n "$ac_ct_STRIP"; then15904 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.15905 else15906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR15907 for as_dir in $PATH15908 do15909 IFS=$as_save_IFS15910 test -z "$as_dir" && as_dir=.15911 for ac_exec_ext in '' $ac_executable_extensions; do15912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then15913 ac_cv_prog_ac_ct_STRIP="strip"15914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&515915 break 215916 fi15917 done15918 done15919 15920 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"15921 fi15922 fi15923 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP15924 if test -n "$ac_ct_STRIP"; then15925 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&515926 echo "${ECHO_T}$ac_ct_STRIP" >&615927 else15928 echo "$as_me:$LINENO: result: no" >&515929 echo "${ECHO_T}no" >&615930 fi15931 15932 STRIP=$ac_ct_STRIP15933 else15934 STRIP="$ac_cv_prog_STRIP"15935 fi15936 15937 12822 15938 12823 old_CC="$CC" … … 15940 12825 15941 12826 # Set sane defaults for various variables 15942 test -z "$AR" && AR=ar15943 test -z "$AR_FLAGS" && AR_FLAGS=cru15944 test -z "$AS" && AS=as15945 12827 test -z "$CC" && CC=cc 15946 12828 test -z "$LTCC" && LTCC=$CC 15947 12829 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 15948 test -z "$DLLTOOL" && DLLTOOL=dlltool15949 12830 test -z "$LD" && LD=ld 15950 test -z "$LN_S" && LN_S="ln -s"15951 test -z "$MAGIC_CMD" && MAGIC_CMD=file15952 test -z "$NM" && NM=nm15953 test -z "$SED" && SED=sed15954 test -z "$OBJDUMP" && OBJDUMP=objdump15955 test -z "$RANLIB" && RANLIB=:15956 test -z "$STRIP" && STRIP=:15957 12831 test -z "$ac_objext" && ac_objext=o 15958 15959 # Determine commands to create old-style static archives.15960 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'15961 old_postinstall_cmds='chmod 644 $oldlib'15962 old_postuninstall_cmds=15963 15964 if test -n "$RANLIB"; then15965 case $host_os in15966 openbsd*)15967 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"15968 ;;15969 *)15970 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"15971 ;;15972 esac15973 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"15974 fi15975 12832 15976 12833 for cc_temp in $compiler""; do … … 15982 12839 esac 15983 12840 done 15984 cc_basename=`$ echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`12841 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 15985 12842 15986 12843 15987 12844 # Only perform the check for file, if the check method requires it 12845 test -z "$MAGIC_CMD" && MAGIC_CMD=file 15988 12846 case $deplibs_check_method in 15989 12847 file_magic*) 15990 12848 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 15991 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&515992 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 15993 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then15994 echo $ECHO_N "(cached) $ECHO_C" >&612849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 12850 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 12851 if ${lt_cv_path_MAGIC_CMD+:} false; then : 12852 $as_echo_n "(cached) " >&6 15995 12853 else 15996 12854 case $MAGIC_CMD in … … 16016 12874 : 16017 12875 else 16018 cat << EOF 1>&212876 cat <<_LT_EOF 1>&2 16019 12877 16020 12878 *** Warning: the command libtool uses to detect shared libraries, … … 16027 12885 *** bug-libtool@gnu.org 16028 12886 16029 EOF12887 _LT_EOF 16030 12888 fi ;; 16031 12889 esac … … 16042 12900 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 16043 12901 if test -n "$MAGIC_CMD"; then 16044 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 16045 echo "${ECHO_T}$MAGIC_CMD" >&6 16046 else 16047 echo "$as_me:$LINENO: result: no" >&5 16048 echo "${ECHO_T}no" >&6 16049 fi 12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 12903 $as_echo "$MAGIC_CMD" >&6; } 12904 else 12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12906 $as_echo "no" >&6; } 12907 fi 12908 12909 12910 12911 16050 12912 16051 12913 if test -z "$lt_cv_path_MAGIC_CMD"; then 16052 12914 if test -n "$ac_tool_prefix"; then 16053 echo "$as_me:$LINENO: checking for file" >&516054 echo $ECHO_N "checking for file... $ECHO_C" >&6 16055 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then16056 echo $ECHO_N "(cached) $ECHO_C" >&612915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 12916 $as_echo_n "checking for file... " >&6; } 12917 if ${lt_cv_path_MAGIC_CMD+:} false; then : 12918 $as_echo_n "(cached) " >&6 16057 12919 else 16058 12920 case $MAGIC_CMD in … … 16078 12940 : 16079 12941 else 16080 cat << EOF 1>&212942 cat <<_LT_EOF 1>&2 16081 12943 16082 12944 *** Warning: the command libtool uses to detect shared libraries, … … 16089 12951 *** bug-libtool@gnu.org 16090 12952 16091 EOF12953 _LT_EOF 16092 12954 fi ;; 16093 12955 esac … … 16104 12966 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 16105 12967 if test -n "$MAGIC_CMD"; then 16106 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 16107 echo "${ECHO_T}$MAGIC_CMD" >&6 16108 else 16109 echo "$as_me:$LINENO: result: no" >&5 16110 echo "${ECHO_T}no" >&6 16111 fi 12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 12969 $as_echo "$MAGIC_CMD" >&6; } 12970 else 12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12972 $as_echo "no" >&6; } 12973 fi 12974 16112 12975 16113 12976 else … … 16120 12983 esac 16121 12984 16122 enable_dlopen=no16123 enable_win32_dll=no16124 16125 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.16126 if test "${enable_libtool_lock+set}" = set; then16127 enableval="$enable_libtool_lock"16128 16129 fi;16130 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes16131 16132 16133 # Check whether --with-pic or --without-pic was given.16134 if test "${with_pic+set}" = set; then16135 withval="$with_pic"16136 pic_mode="$withval"16137 else16138 pic_mode=default16139 fi;16140 test -z "$pic_mode" && pic_mode=default16141 16142 # Check if we have a version mismatch between libtool.m4 and ltmain.sh.16143 #16144 # Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.16145 # We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually16146 # calls AC_LIBTOOL_CONFIG and creates libtool.16147 #16148 echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&516149 echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&616150 if test "x$ltmain" = "x" ; then16151 echo "$as_me:$LINENO: result: no" >&516152 echo "${ECHO_T}no" >&616153 { { echo "$as_me:$LINENO: error:16154 16155 *** [Gentoo] sanity check failed! ***16156 *** \$ltmain is not defined, please check the patch for consistency! ***16157 " >&516158 echo "$as_me: error:16159 16160 *** [Gentoo] sanity check failed! ***16161 *** \$ltmain is not defined, please check the patch for consistency! ***16162 " >&2;}16163 { (exit 1); exit 1; }; }16164 fi16165 gentoo_lt_version="1.5.22"16166 gentoo_ltmain_version=`sed -n '/^[ ]*VERSION=/{s/^[ ]*VERSION=//;p;q;}' "$ltmain"`16167 if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then16168 echo "$as_me:$LINENO: result: no" >&516169 echo "${ECHO_T}no" >&616170 { { echo "$as_me:$LINENO: error:16171 16172 *** [Gentoo] sanity check failed! ***16173 *** libtool.m4 and ltmain.sh have a version mismatch! ***16174 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***16175 16176 Please run:16177 16178 libtoolize --copy --force16179 16180 if appropriate, please contact the maintainer of this16181 package (or your distribution) for help.16182 " >&516183 echo "$as_me: error:16184 16185 *** [Gentoo] sanity check failed! ***16186 *** libtool.m4 and ltmain.sh have a version mismatch! ***16187 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***16188 16189 Please run:16190 16191 libtoolize --copy --force16192 16193 if appropriate, please contact the maintainer of this16194 package (or your distribution) for help.16195 " >&2;}16196 { (exit 1); exit 1; }; }16197 else16198 echo "$as_me:$LINENO: result: yes" >&516199 echo "${ECHO_T}yes" >&616200 fi16201 16202 16203 12985 # Use C for the default configuration in the libtool script 16204 tagname= 12986 16205 12987 lt_save_CC="$CC" 16206 12988 ac_ext=c … … 16219 13001 16220 13002 # Code to be used in simple compile tests 16221 lt_simple_compile_test_code="int some_variable = 0; \n"13003 lt_simple_compile_test_code="int some_variable = 0;" 16222 13004 16223 13005 # Code to be used in simple link tests 16224 lt_simple_link_test_code='int main(){return(0);}\n' 13006 lt_simple_link_test_code='int main(){return(0);}' 13007 13008 13009 13010 13011 16225 13012 16226 13013 … … 16234 13021 compiler=$CC 16235 13022 13023 # Save the default compiler, since it gets overwritten when the other 13024 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 13025 compiler_DEFAULT=$CC 16236 13026 16237 13027 # save warnings/boilerplate of simple test code 16238 13028 ac_outfile=conftest.$ac_objext 16239 printf"$lt_simple_compile_test_code" >conftest.$ac_ext13029 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 16240 13030 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 16241 13031 _lt_compiler_boilerplate=`cat conftest.err` 16242 $ rmconftest*13032 $RM conftest* 16243 13033 16244 13034 ac_outfile=conftest.$ac_objext 16245 printf"$lt_simple_link_test_code" >conftest.$ac_ext13035 echo "$lt_simple_link_test_code" >conftest.$ac_ext 16246 13036 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 16247 13037 _lt_linker_boilerplate=`cat conftest.err` 16248 $rm conftest* 16249 16250 16251 ## CAVEAT EMPTOR: 16252 ## There is no encapsulation within the following macros, do not change 16253 ## the running order or otherwise move them around unless you know exactly 16254 ## what you are doing... 13038 $RM -r conftest* 13039 13040 13041 if test -n "$compiler"; then 16255 13042 16256 13043 lt_prog_compiler_no_builtin_flag= 16257 13044 16258 13045 if test "$GCC" = yes; then 16259 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 16260 16261 16262 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 16263 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 16264 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 16265 echo $ECHO_N "(cached) $ECHO_C" >&6 13046 case $cc_basename in 13047 nvcc*) 13048 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 13049 *) 13050 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 13051 esac 13052 13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 13054 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 13055 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 13056 $as_echo_n "(cached) " >&6 16266 13057 else 16267 13058 lt_cv_prog_compiler_rtti_exceptions=no 16268 ac_outfile=conftest.$ac_objext16269 printf"$lt_simple_compile_test_code" > conftest.$ac_ext13059 ac_outfile=conftest.$ac_objext 13060 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16270 13061 lt_compiler_flag="-fno-rtti -fno-exceptions" 16271 13062 # Insert the option either (1) after the last *FLAGS variable, or … … 16278 13069 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16279 13070 -e 's:$: $lt_compiler_flag:'` 16280 (eval echo "\"\$as_me: 16280: $lt_compile\"" >&5)13071 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 16281 13072 (eval "$lt_compile" 2>conftest.err) 16282 13073 ac_status=$? 16283 13074 cat conftest.err >&5 16284 echo "$as_me: 16284: \$? = $ac_status" >&513075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16285 13076 if (exit $ac_status) && test -s "$ac_outfile"; then 16286 13077 # The compiler can only warn and ignore the option if not recognized 16287 13078 # So say no if there are warnings other than the usual output. 16288 $ echo "X$_lt_compiler_boilerplate" | $Xsed -e'/^$/d' >conftest.exp13079 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 16289 13080 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 16290 13081 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then … … 16292 13083 fi 16293 13084 fi 16294 $ rmconftest*16295 16296 fi 16297 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&516298 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 13085 $RM conftest* 13086 13087 fi 13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 13089 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 16299 13090 16300 13091 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then … … 16306 13097 fi 16307 13098 16308 lt_prog_compiler_wl= 13099 13100 13101 13102 13103 13104 lt_prog_compiler_wl= 16309 13105 lt_prog_compiler_pic= 16310 13106 lt_prog_compiler_static= 16311 13107 16312 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&516313 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&616314 13108 16315 13109 if test "$GCC" = yes; then … … 16327 13121 16328 13122 amigaos*) 16329 # FIXME: we need at least 68020 code to build shared libraries, but 16330 # adding the `-m68020' flag to GCC prevents building anything better, 16331 # like `-m68040'. 16332 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 13123 case $host_cpu in 13124 powerpc) 13125 # see comment about AmigaOS4 .so support 13126 lt_prog_compiler_pic='-fPIC' 13127 ;; 13128 m68k) 13129 # FIXME: we need at least 68020 code to build shared libraries, but 13130 # adding the `-m68020' flag to GCC prevents building anything better, 13131 # like `-m68040'. 13132 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 13133 ;; 13134 esac 16333 13135 ;; 16334 13136 16335 beos* | cygwin* |irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)13137 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 16336 13138 # PIC is the default for these OSes. 16337 13139 ;; 16338 13140 16339 mingw* | pw32* | os2*)13141 mingw* | cygwin* | pw32* | os2* | cegcc*) 16340 13142 # This hack is so that the source file can tell whether it is being 16341 13143 # built for inclusion in a dll (and should export symbols for example). 13144 # Although the cygwin gcc ignores -fPIC, still need this for old-style 13145 # (--disable-auto-import) libraries 16342 13146 lt_prog_compiler_pic='-DDLL_EXPORT' 16343 13147 ;; … … 16349 13153 ;; 16350 13154 16351 interix3*) 16352 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 16353 # Instead, we relocate shared libraries at runtime. 13155 haiku*) 13156 # PIC is the default for Haiku. 13157 # The "-static" flag exists, but is broken. 13158 lt_prog_compiler_static= 16354 13159 ;; 16355 13160 16356 msdosdjgpp*)16357 # Just because we use GCC doesn't mean we suddenly get shared libraries16358 # on systems that don't support them.16359 lt_prog_compiler_can_build_shared=no16360 enable_shared=no16361 ;;16362 16363 sysv4*MP*)16364 if test -d /usr/nec; then16365 lt_prog_compiler_pic=-Kconform_pic16366 fi16367 ;;16368 16369 13161 hpux*) 16370 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 16371 # not for PA HP-UX. 13162 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 13163 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 13164 # sets the default TLS model and affects inlining. 16372 13165 case $host_cpu in 16373 hppa*64* |ia64*)13166 hppa*64*) 16374 13167 # +Z the default 16375 13168 ;; … … 16380 13173 ;; 16381 13174 13175 interix[3-9]*) 13176 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 13177 # Instead, we relocate shared libraries at runtime. 13178 ;; 13179 13180 msdosdjgpp*) 13181 # Just because we use GCC doesn't mean we suddenly get shared libraries 13182 # on systems that don't support them. 13183 lt_prog_compiler_can_build_shared=no 13184 enable_shared=no 13185 ;; 13186 13187 *nto* | *qnx*) 13188 # QNX uses GNU C++, but need to define -shared option too, otherwise 13189 # it will coredump. 13190 lt_prog_compiler_pic='-fPIC -shared' 13191 ;; 13192 13193 sysv4*MP*) 13194 if test -d /usr/nec; then 13195 lt_prog_compiler_pic=-Kconform_pic 13196 fi 13197 ;; 13198 16382 13199 *) 16383 13200 lt_prog_compiler_pic='-fPIC' 13201 ;; 13202 esac 13203 13204 case $cc_basename in 13205 nvcc*) # Cuda Compiler Driver 2.2 13206 lt_prog_compiler_wl='-Xlinker ' 13207 if test -n "$lt_prog_compiler_pic"; then 13208 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 13209 fi 16384 13210 ;; 16385 13211 esac … … 16396 13222 fi 16397 13223 ;; 16398 darwin*) 16399 # PIC is the default on this platform 16400 # Common symbols not allowed in MH_DYLIB files 16401 case $cc_basename in 16402 xlc*) 16403 lt_prog_compiler_pic='-qnocommon' 16404 lt_prog_compiler_wl='-Wl,' 16405 ;; 16406 esac 16407 ;; 16408 16409 mingw* | pw32* | os2*) 13224 13225 mingw* | cygwin* | pw32* | os2* | cegcc*) 16410 13226 # This hack is so that the source file can tell whether it is being 16411 13227 # built for inclusion in a dll (and should export symbols for example). … … 16435 13251 ;; 16436 13252 16437 newsos6) 16438 lt_prog_compiler_pic='-KPIC' 16439 lt_prog_compiler_static='-Bstatic' 16440 ;; 16441 16442 linux*) 13253 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16443 13254 case $cc_basename in 16444 icc* | ecc*) 13255 # old Intel for x86_64 which still supported -KPIC. 13256 ecc*) 16445 13257 lt_prog_compiler_wl='-Wl,' 16446 13258 lt_prog_compiler_pic='-KPIC' 16447 13259 lt_prog_compiler_static='-static' 16448 13260 ;; 16449 pgcc* | pgf77* | pgf90* | pgf95*) 13261 # icc used to be incompatible with GCC. 13262 # ICC 10 doesn't accept -KPIC any more. 13263 icc* | ifort*) 13264 lt_prog_compiler_wl='-Wl,' 13265 lt_prog_compiler_pic='-fPIC' 13266 lt_prog_compiler_static='-static' 13267 ;; 13268 # Lahey Fortran 8.1. 13269 lf95*) 13270 lt_prog_compiler_wl='-Wl,' 13271 lt_prog_compiler_pic='--shared' 13272 lt_prog_compiler_static='--static' 13273 ;; 13274 nagfor*) 13275 # NAG Fortran compiler 13276 lt_prog_compiler_wl='-Wl,-Wl,,' 13277 lt_prog_compiler_pic='-PIC' 13278 lt_prog_compiler_static='-Bstatic' 13279 ;; 13280 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 16450 13281 # Portland Group compilers (*not* the Pentium gcc compiler, 16451 13282 # which looks to be a dead project) … … 16459 13290 lt_prog_compiler_static='-non_shared' 16460 13291 ;; 13292 xl* | bgxl* | bgf* | mpixl*) 13293 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 13294 lt_prog_compiler_wl='-Wl,' 13295 lt_prog_compiler_pic='-qpic' 13296 lt_prog_compiler_static='-qstaticlink' 13297 ;; 13298 *) 13299 case `$CC -V 2>&1 | sed 5q` in 13300 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 13301 # Sun Fortran 8.3 passes all unrecognized flags to the linker 13302 lt_prog_compiler_pic='-KPIC' 13303 lt_prog_compiler_static='-Bstatic' 13304 lt_prog_compiler_wl='' 13305 ;; 13306 *Sun\ F* | *Sun*Fortran*) 13307 lt_prog_compiler_pic='-KPIC' 13308 lt_prog_compiler_static='-Bstatic' 13309 lt_prog_compiler_wl='-Qoption ld ' 13310 ;; 13311 *Sun\ C*) 13312 # Sun C 5.9 13313 lt_prog_compiler_pic='-KPIC' 13314 lt_prog_compiler_static='-Bstatic' 13315 lt_prog_compiler_wl='-Wl,' 13316 ;; 13317 *Intel*\ [CF]*Compiler*) 13318 lt_prog_compiler_wl='-Wl,' 13319 lt_prog_compiler_pic='-fPIC' 13320 lt_prog_compiler_static='-static' 13321 ;; 13322 *Portland\ Group*) 13323 lt_prog_compiler_wl='-Wl,' 13324 lt_prog_compiler_pic='-fpic' 13325 lt_prog_compiler_static='-Bstatic' 13326 ;; 13327 esac 13328 ;; 16461 13329 esac 13330 ;; 13331 13332 newsos6) 13333 lt_prog_compiler_pic='-KPIC' 13334 lt_prog_compiler_static='-Bstatic' 13335 ;; 13336 13337 *nto* | *qnx*) 13338 # QNX uses GNU C++, but need to define -shared option too, otherwise 13339 # it will coredump. 13340 lt_prog_compiler_pic='-fPIC -shared' 16462 13341 ;; 16463 13342 … … 16468 13347 ;; 16469 13348 13349 rdos*) 13350 lt_prog_compiler_static='-non_shared' 13351 ;; 13352 16470 13353 solaris*) 16471 13354 lt_prog_compiler_pic='-KPIC' 16472 13355 lt_prog_compiler_static='-Bstatic' 16473 13356 case $cc_basename in 16474 f77* | f90* | f95* )13357 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 16475 13358 lt_prog_compiler_wl='-Qoption ld ';; 16476 13359 *) … … 16520 13403 fi 16521 13404 16522 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 16523 echo "${ECHO_T}$lt_prog_compiler_pic" >&6 13405 case $host_os in 13406 # For platforms which do not support PIC, -DPIC is meaningless: 13407 *djgpp*) 13408 lt_prog_compiler_pic= 13409 ;; 13410 *) 13411 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 13412 ;; 13413 esac 13414 13415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 13416 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 13417 if ${lt_cv_prog_compiler_pic+:} false; then : 13418 $as_echo_n "(cached) " >&6 13419 else 13420 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 13421 fi 13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 13423 $as_echo "$lt_cv_prog_compiler_pic" >&6; } 13424 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 16524 13425 16525 13426 # … … 16527 13428 # 16528 13429 if test -n "$lt_prog_compiler_pic"; then 16529 16530 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 16531 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 16532 if test "${lt_prog_compiler_pic_works+set}" = set; then 16533 echo $ECHO_N "(cached) $ECHO_C" >&6 16534 else 16535 lt_prog_compiler_pic_works=no 16536 ac_outfile=conftest.$ac_objext 16537 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 13431 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 13432 if ${lt_cv_prog_compiler_pic_works+:} false; then : 13433 $as_echo_n "(cached) " >&6 13434 else 13435 lt_cv_prog_compiler_pic_works=no 13436 ac_outfile=conftest.$ac_objext 13437 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16538 13438 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 16539 13439 # Insert the option either (1) after the last *FLAGS variable, or … … 16546 13446 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16547 13447 -e 's:$: $lt_compiler_flag:'` 16548 (eval echo "\"\$as_me: 16548: $lt_compile\"" >&5)13448 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 16549 13449 (eval "$lt_compile" 2>conftest.err) 16550 13450 ac_status=$? 16551 13451 cat conftest.err >&5 16552 echo "$as_me: 16552: \$? = $ac_status" >&513452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16553 13453 if (exit $ac_status) && test -s "$ac_outfile"; then 16554 13454 # The compiler can only warn and ignore the option if not recognized 16555 13455 # So say no if there are warnings other than the usual output. 16556 $ echo "X$_lt_compiler_boilerplate" | $Xsed -e'/^$/d' >conftest.exp13456 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 16557 13457 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 16558 13458 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 16559 lt_ prog_compiler_pic_works=yes13459 lt_cv_prog_compiler_pic_works=yes 16560 13460 fi 16561 13461 fi 16562 $ rmconftest*16563 16564 fi 16565 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&516566 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 16567 16568 if test x"$lt_ prog_compiler_pic_works" = xyes; then13462 $RM conftest* 13463 13464 fi 13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 13466 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 13467 13468 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 16569 13469 case $lt_prog_compiler_pic in 16570 13470 "" | " "*) ;; … … 16577 13477 16578 13478 fi 16579 case $host_os in 16580 # For platforms which do not support PIC, -DPIC is meaningless: 16581 *djgpp*) 16582 lt_prog_compiler_pic= 16583 ;; 16584 *) 16585 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 16586 ;; 16587 esac 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 16588 13489 16589 13490 # … … 16591 13492 # 16592 13493 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 16593 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&516594 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 16595 if test "${lt_prog_compiler_static_works+set}" = set; then16596 echo $ECHO_N "(cached) $ECHO_C" >&616597 else 16598 lt_ prog_compiler_static_works=no13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 13495 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 13496 if ${lt_cv_prog_compiler_static_works+:} false; then : 13497 $as_echo_n "(cached) " >&6 13498 else 13499 lt_cv_prog_compiler_static_works=no 16599 13500 save_LDFLAGS="$LDFLAGS" 16600 13501 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 16601 printf"$lt_simple_link_test_code" > conftest.$ac_ext13502 echo "$lt_simple_link_test_code" > conftest.$ac_ext 16602 13503 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 16603 13504 # The linker can only warn and ignore the option if not recognized … … 16606 13507 # Append any errors to the config.log. 16607 13508 cat conftest.err 1>&5 16608 $ echo "X$_lt_linker_boilerplate" | $Xsed -e'/^$/d' > conftest.exp13509 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 16609 13510 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 16610 13511 if diff conftest.exp conftest.er2 >/dev/null; then 16611 lt_ prog_compiler_static_works=yes13512 lt_cv_prog_compiler_static_works=yes 16612 13513 fi 16613 13514 else 16614 lt_ prog_compiler_static_works=yes13515 lt_cv_prog_compiler_static_works=yes 16615 13516 fi 16616 13517 fi 16617 $ rmconftest*13518 $RM -r conftest* 16618 13519 LDFLAGS="$save_LDFLAGS" 16619 13520 16620 13521 fi 16621 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&516622 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 16623 16624 if test x"$lt_ prog_compiler_static_works" = xyes; then13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 13523 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } 13524 13525 if test x"$lt_cv_prog_compiler_static_works" = xyes; then 16625 13526 : 16626 13527 else … … 16629 13530 16630 13531 16631 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 16632 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 16633 if test "${lt_cv_prog_compiler_c_o+set}" = set; then 16634 echo $ECHO_N "(cached) $ECHO_C" >&6 13532 13533 13534 13535 13536 13537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 13538 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 13539 if ${lt_cv_prog_compiler_c_o+:} false; then : 13540 $as_echo_n "(cached) " >&6 16635 13541 else 16636 13542 lt_cv_prog_compiler_c_o=no 16637 $ rm-r conftest 2>/dev/null13543 $RM -r conftest 2>/dev/null 16638 13544 mkdir conftest 16639 13545 cd conftest 16640 13546 mkdir out 16641 printf"$lt_simple_compile_test_code" > conftest.$ac_ext13547 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16642 13548 16643 13549 lt_compiler_flag="-o out/conftest2.$ac_objext" … … 16650 13556 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16651 13557 -e 's:$: $lt_compiler_flag:'` 16652 (eval echo "\"\$as_me: 16652: $lt_compile\"" >&5)13558 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 16653 13559 (eval "$lt_compile" 2>out/conftest.err) 16654 13560 ac_status=$? 16655 13561 cat out/conftest.err >&5 16656 echo "$as_me: 16656: \$? = $ac_status" >&513562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16657 13563 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16658 13564 then 16659 13565 # The compiler can only warn and ignore the option if not recognized 16660 13566 # So say no if there are warnings 16661 $ echo "X$_lt_compiler_boilerplate" | $Xsed -e'/^$/d' > out/conftest.exp13567 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 16662 13568 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 16663 13569 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then … … 16666 13572 fi 16667 13573 chmod u+w . 2>&5 16668 $ rmconftest*13574 $RM conftest* 16669 13575 # SGI C++ compiler will create directory out/ii_files/ for 16670 13576 # template instantiation 16671 test -d out/ii_files && $ rmout/ii_files/* && rmdir out/ii_files16672 $ rmout/* && rmdir out13577 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 13578 $RM out/* && rmdir out 16673 13579 cd .. 16674 rmdir conftest 16675 $rm conftest* 16676 16677 fi 16678 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 16679 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 13580 $RM -r conftest 13581 $RM conftest* 13582 13583 fi 13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 13585 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 13586 13587 13588 13589 13590 13591 13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 13593 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 13594 if ${lt_cv_prog_compiler_c_o+:} false; then : 13595 $as_echo_n "(cached) " >&6 13596 else 13597 lt_cv_prog_compiler_c_o=no 13598 $RM -r conftest 2>/dev/null 13599 mkdir conftest 13600 cd conftest 13601 mkdir out 13602 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13603 13604 lt_compiler_flag="-o out/conftest2.$ac_objext" 13605 # Insert the option either (1) after the last *FLAGS variable, or 13606 # (2) before a word containing "conftest.", or (3) at the end. 13607 # Note that $ac_compile itself does not contain backslashes and begins 13608 # with a dollar sign (not a hyphen), so the echo should work correctly. 13609 lt_compile=`echo "$ac_compile" | $SED \ 13610 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 13611 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13612 -e 's:$: $lt_compiler_flag:'` 13613 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 13614 (eval "$lt_compile" 2>out/conftest.err) 13615 ac_status=$? 13616 cat out/conftest.err >&5 13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13618 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13619 then 13620 # The compiler can only warn and ignore the option if not recognized 13621 # So say no if there are warnings 13622 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 13623 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 13624 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 13625 lt_cv_prog_compiler_c_o=yes 13626 fi 13627 fi 13628 chmod u+w . 2>&5 13629 $RM conftest* 13630 # SGI C++ compiler will create directory out/ii_files/ for 13631 # template instantiation 13632 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 13633 $RM out/* && rmdir out 13634 cd .. 13635 $RM -r conftest 13636 $RM conftest* 13637 13638 fi 13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 13640 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 13641 13642 16680 13643 16681 13644 … … 16683 13646 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 16684 13647 # do not overwrite the value of need_locks provided by the user 16685 echo "$as_me:$LINENO: checking if we can lock with hard links" >&516686 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 13649 $as_echo_n "checking if we can lock with hard links... " >&6; } 16687 13650 hard_links=yes 16688 $ rmconftest*13651 $RM conftest* 16689 13652 ln conftest.a conftest.b 2>/dev/null && hard_links=no 16690 13653 touch conftest.a 16691 13654 ln conftest.a conftest.b 2>&5 || hard_links=no 16692 13655 ln conftest.a conftest.b 2>/dev/null && hard_links=no 16693 echo "$as_me:$LINENO: result: $hard_links" >&516694 echo "${ECHO_T}$hard_links" >&6 13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 13657 $as_echo "$hard_links" >&6; } 16695 13658 if test "$hard_links" = no; then 16696 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&516697 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}13659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 13660 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 16698 13661 need_locks=warn 16699 13662 fi … … 16702 13665 fi 16703 13666 16704 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 16705 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 13667 13668 13669 13670 13671 13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 13673 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 16706 13674 16707 13675 runpath_var= 16708 13676 allow_undefined_flag= 16709 enable_shared_with_static_runtimes=no13677 always_export_symbols=no 16710 13678 archive_cmds= 16711 13679 archive_expsym_cmds= 16712 old_archive_From_new_cmds=16713 old_archive_from_expsyms_cmds=13680 compiler_needs_object=no 13681 enable_shared_with_static_runtimes=no 16714 13682 export_dynamic_flag_spec= 16715 whole_archive_flag_spec= 16716 thread_safe_flag_spec= 13683 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 13684 hardcode_automatic=no 13685 hardcode_direct=no 13686 hardcode_direct_absolute=no 16717 13687 hardcode_libdir_flag_spec= 16718 hardcode_libdir_flag_spec_ld=16719 13688 hardcode_libdir_separator= 16720 hardcode_direct=no16721 13689 hardcode_minus_L=no 16722 13690 hardcode_shlibpath_var=unsupported 13691 inherit_rpath=no 16723 13692 link_all_deplibs=unknown 16724 hardcode_automatic=no16725 13693 module_cmds= 16726 13694 module_expsym_cmds= 16727 always_export_symbols=no 16728 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 13695 old_archive_from_new_cmds= 13696 old_archive_from_expsyms_cmds= 13697 thread_safe_flag_spec= 13698 whole_archive_flag_spec= 16729 13699 # include_expsyms should be a list of space-separated symbols to be *always* 16730 13700 # included in the symbol list … … 16734 13704 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 16735 13705 # as well as any symbol that contains `d'. 16736 exclude_expsyms= "_GLOBAL_OFFSET_TABLE_"13706 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 16737 13707 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 16738 13708 # platforms (ab)use it in PIC code, but their linkers get confused if … … 16740 13710 # rely on this symbol name, it's probably fine to never include it in 16741 13711 # preloaded symbol tables. 13712 # Exclude shared library initialization/finalization symbols. 16742 13713 extract_expsyms_cmds= 16743 # Just being paranoid about ensuring that cc_basename is set.16744 for cc_temp in $compiler""; do16745 case $cc_temp in16746 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;16747 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;16748 \-*) ;;16749 *) break;;16750 esac16751 done16752 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`16753 13714 16754 13715 case $host_os in 16755 cygwin* | mingw* | pw32* )13716 cygwin* | mingw* | pw32* | cegcc*) 16756 13717 # FIXME: the MSVC++ port hasn't been tested in a loooong time 16757 13718 # When not using gcc, we currently assume that we are using … … 16768 13729 with_gnu_ld=no 16769 13730 ;; 13731 linux* | k*bsd*-gnu | gnu*) 13732 link_all_deplibs=no 13733 ;; 16770 13734 esac 16771 13735 16772 13736 ld_shlibs=yes 13737 13738 # On some targets, GNU ld is compatible enough with the native linker 13739 # that we're better off using the native interface for both. 13740 lt_use_gnu_ld_interface=no 16773 13741 if test "$with_gnu_ld" = yes; then 13742 case $host_os in 13743 aix*) 13744 # The AIX port of GNU ld has always aspired to compatibility 13745 # with the native linker. However, as the warning in the GNU ld 13746 # block says, versions before 2.19.5* couldn't really create working 13747 # shared libraries, regardless of the interface used. 13748 case `$LD -v 2>&1` in 13749 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 13750 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 13751 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 13752 *) 13753 lt_use_gnu_ld_interface=yes 13754 ;; 13755 esac 13756 ;; 13757 *) 13758 lt_use_gnu_ld_interface=yes 13759 ;; 13760 esac 13761 fi 13762 13763 if test "$lt_use_gnu_ld_interface" = yes; then 16774 13764 # If archive_cmds runs LD, not CC, wlarc should be empty 16775 13765 wlarc='${wl}' … … 16779 13769 # here allows them to be overridden if necessary. 16780 13770 runpath_var=LD_RUN_PATH 16781 hardcode_libdir_flag_spec='${wl}- -rpath ${wl}$libdir'13771 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 16782 13772 export_dynamic_flag_spec='${wl}--export-dynamic' 16783 13773 # ancient GNU ld didn't support --whole-archive et. al. 16784 if $LD --help 2>&1 | grep'no-whole-archive' > /dev/null; then16785 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'16786 else16787 whole_archive_flag_spec=13774 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 13775 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 13776 else 13777 whole_archive_flag_spec= 16788 13778 fi 16789 13779 supports_anon_versioning=no 16790 case `$LD -v 2>/dev/null` in 13780 case `$LD -v 2>&1` in 13781 *GNU\ gold*) supports_anon_versioning=yes ;; 16791 13782 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 16792 13783 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... … … 16798 13789 # See if GNU ld supports shared libraries. 16799 13790 case $host_os in 16800 aix 3* | aix4* | aix5*)13791 aix[3-9]*) 16801 13792 # On AIX/PPC, the GNU linker is very broken 16802 13793 if test "$host_cpu" != ia64; then 16803 13794 ld_shlibs=no 16804 cat << EOF 1>&216805 16806 *** Warning: the GNU linker, at least up to release 2. 9.1, is reported13795 cat <<_LT_EOF 1>&2 13796 13797 *** Warning: the GNU linker, at least up to release 2.19, is reported 16807 13798 *** to be unable to reliably create shared libraries on AIX. 16808 13799 *** Therefore, libtool is disabling shared libraries support. If you 16809 *** really care for shared libraries, you may want to modify your PATH 16810 *** so that a non-GNU linker is found, and then restart. 16811 16812 EOF 13800 *** really care for shared libraries, you may want to install binutils 13801 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 13802 *** You will then need to restart the configuration process. 13803 13804 _LT_EOF 16813 13805 fi 16814 13806 ;; 16815 13807 16816 13808 amigaos*) 16817 archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 16818 hardcode_libdir_flag_spec='-L$libdir' 16819 hardcode_minus_L=yes 16820 16821 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports 16822 # that the semantics of dynamic libraries on AmigaOS, at least up 16823 # to version 4, is to share data among multiple programs linked 16824 # with the same dynamic library. Since this doesn't match the 16825 # behavior of shared libraries on other platforms, we can't use 16826 # them. 16827 ld_shlibs=no 13809 case $host_cpu in 13810 powerpc) 13811 # see comment about AmigaOS4 .so support 13812 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13813 archive_expsym_cmds='' 13814 ;; 13815 m68k) 13816 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 13817 hardcode_libdir_flag_spec='-L$libdir' 13818 hardcode_minus_L=yes 13819 ;; 13820 esac 16828 13821 ;; 16829 13822 16830 13823 beos*) 16831 if $LD --help 2>&1 | grep': supported targets:.* elf' > /dev/null; then13824 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 16832 13825 allow_undefined_flag=unsupported 16833 13826 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc … … 16839 13832 ;; 16840 13833 16841 cygwin* | mingw* | pw32* )16842 # _LT_ AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,13834 cygwin* | mingw* | pw32* | cegcc*) 13835 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 16843 13836 # as there is no search path for DLLs. 16844 13837 hardcode_libdir_flag_spec='-L$libdir' 13838 export_dynamic_flag_spec='${wl}--export-all-symbols' 16845 13839 allow_undefined_flag=unsupported 16846 13840 always_export_symbols=no 16847 13841 enable_shared_with_static_runtimes=yes 16848 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' 16849 16850 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 13842 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 13843 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 13844 13845 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 16851 13846 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 16852 13847 # If the export-symbols file already is a .def file (1st line … … 16864 13859 ;; 16865 13860 16866 interix3*) 13861 haiku*) 13862 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13863 link_all_deplibs=yes 13864 ;; 13865 13866 interix[3-9]*) 16867 13867 hardcode_direct=no 16868 13868 hardcode_shlibpath_var=no … … 16879 13879 ;; 16880 13880 16881 linux*) 16882 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 16883 tmp_addflag= 13881 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 13882 tmp_diet=no 13883 if test "$host_os" = linux-dietlibc; then 13884 case $cc_basename in 13885 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 13886 esac 13887 fi 13888 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 13889 && test "$tmp_diet" = no 13890 then 13891 tmp_addflag=' $pic_flag' 13892 tmp_sharedflag='-shared' 16884 13893 case $cc_basename,$host_cpu in 16885 pgcc*) # Portland Group C compiler16886 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo\"$new_convenience\"` ${wl}--no-whole-archive'13894 pgcc*) # Portland Group C compiler 13895 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 16887 13896 tmp_addflag=' $pic_flag' 16888 13897 ;; 16889 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 16890 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 13898 pgf77* | pgf90* | pgf95* | pgfortran*) 13899 # Portland Group f77 and f90 compilers 13900 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 16891 13901 tmp_addflag=' $pic_flag -Mnomain' ;; 16892 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia6413902 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 16893 13903 tmp_addflag=' -i_dynamic' ;; 16894 13904 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 … … 16896 13906 ifc* | ifort*) # Intel Fortran compiler 16897 13907 tmp_addflag=' -nofor_main' ;; 13908 lf95*) # Lahey Fortran 8.1 13909 whole_archive_flag_spec= 13910 tmp_sharedflag='--shared' ;; 13911 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 13912 tmp_sharedflag='-qmkshrobj' 13913 tmp_addflag= ;; 13914 nvcc*) # Cuda Compiler Driver 2.2 13915 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 13916 compiler_needs_object=yes 13917 ;; 16898 13918 esac 16899 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 16900 16901 if test $supports_anon_versioning = yes; then 16902 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ 16903 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 16904 $echo "local: *; };" >> $output_objdir/$libname.ver~ 16905 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 16906 fi 13919 case `$CC -V 2>&1 | sed 5q` in 13920 *Sun\ C*) # Sun C 5.9 13921 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 13922 compiler_needs_object=yes 13923 tmp_sharedflag='-G' ;; 13924 *Sun\ F*) # Sun Fortran 8.3 13925 tmp_sharedflag='-G' ;; 13926 esac 13927 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13928 13929 if test "x$supports_anon_versioning" = xyes; then 13930 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 13931 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 13932 echo "local: *; };" >> $output_objdir/$libname.ver~ 13933 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 13934 fi 13935 13936 case $cc_basename in 13937 xlf* | bgf* | bgxlf* | mpixlf*) 13938 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 13939 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 13940 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 13941 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 13942 if test "x$supports_anon_versioning" = xyes; then 13943 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 13944 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 13945 echo "local: *; };" >> $output_objdir/$libname.ver~ 13946 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 13947 fi 13948 ;; 13949 esac 16907 13950 else 16908 ld_shlibs=no13951 ld_shlibs=no 16909 13952 fi 16910 13953 ;; 16911 13954 16912 netbsd* )16913 if echo __ELF__ | $CC -E - | grep__ELF__ >/dev/null; then13955 netbsd* | netbsdelf*-gnu) 13956 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16914 13957 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 16915 13958 wlarc= 16916 13959 else 16917 archive_cmds='$CC -shared $ libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'16918 archive_expsym_cmds='$CC -shared $ libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'13960 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13961 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 16919 13962 fi 16920 13963 ;; 16921 13964 16922 13965 solaris*) 16923 if $LD -v 2>&1 | grep'BFD 2\.8' > /dev/null; then13966 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 16924 13967 ld_shlibs=no 16925 cat << EOF 1>&213968 cat <<_LT_EOF 1>&2 16926 13969 16927 13970 *** Warning: The releases 2.8.* of the GNU linker cannot reliably … … 16932 13975 *** used, and then restart. 16933 13976 16934 EOF16935 elif $LD --help 2>&1 | grep': supported targets:.* elf' > /dev/null; then16936 archive_cmds='$CC -shared $ libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'16937 archive_expsym_cmds='$CC -shared $ libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'13977 _LT_EOF 13978 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 13979 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13980 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 16938 13981 else 16939 13982 ld_shlibs=no … … 16957 14000 ;; 16958 14001 *) 16959 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 16960 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' 16961 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' 16962 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' 14002 # For security reasons, it is highly recommended that you always 14003 # use absolute paths for naming shared libraries, and exclude the 14004 # DT_RUNPATH tag from executables and libraries. But doing so 14005 # requires that you compile everything twice, which is a pain. 14006 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14007 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 14008 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14009 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 16963 14010 else 16964 14011 ld_shlibs=no … … 16976 14023 16977 14024 *) 16978 if $LD --help 2>&1 | grep': supported targets:.* elf' > /dev/null; then16979 archive_cmds='$CC -shared $ libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'16980 archive_expsym_cmds='$CC -shared $ libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'14025 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14026 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14027 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 16981 14028 else 16982 14029 ld_shlibs=no … … 17008 14055 ;; 17009 14056 17010 aix 4* | aix5*)14057 aix[4-9]*) 17011 14058 if test "$host_cpu" = ia64; then 17012 14059 # On IA64, the linker does run time linking by default, so we don't … … 17018 14065 # If we're using GNU nm, then we don't want the "-C" option. 17019 14066 # -C means demangle to AIX nm, but means don't demangle with GNU nm 17020 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 17021 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 14067 # Also, AIX nm treats weak defined symbols like other global 14068 # defined symbols, whereas GNU nm marks them as "W". 14069 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 14070 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 17022 14071 else 17023 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'14072 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 17024 14073 fi 17025 14074 aix_use_runtimelinking=no … … 17028 14077 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 17029 14078 # need to do runtime linking. 17030 case $host_os in aix4.[23]|aix4.[23].*|aix 5*)14079 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 17031 14080 for ld_flag in $LDFLAGS; do 17032 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then17033 aix_use_runtimelinking=yes17034 break17035 fi14081 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 14082 aix_use_runtimelinking=yes 14083 break 14084 fi 17036 14085 done 17037 14086 ;; … … 17050 14099 archive_cmds='' 17051 14100 hardcode_direct=yes 14101 hardcode_direct_absolute=yes 17052 14102 hardcode_libdir_separator=':' 17053 14103 link_all_deplibs=yes 14104 file_list_spec='${wl}-f,' 17054 14105 17055 14106 if test "$GCC" = yes; then … … 17058 14109 # below for broken collect2 doesn't work under 4.3+ 17059 14110 collect2name=`${CC} -print-prog-name=collect2` 17060 if test -f "$collect2name" && \17061 strings "$collect2name" | grepresolve_lib_name >/dev/null14111 if test -f "$collect2name" && 14112 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 17062 14113 then 17063 # We have reworked collect217064 hardcode_direct=yes 14114 # We have reworked collect2 14115 : 17065 14116 else 17066 # We have old collect217067 hardcode_direct=unsupported17068 # It fails to find uninstalled libraries when the uninstalled17069 # path is not listed in the libpath. Setting hardcode_minus_L17070 # to unsupported forces relinking17071 hardcode_minus_L=yes17072 hardcode_libdir_flag_spec='-L$libdir'17073 hardcode_libdir_separator=14117 # We have old collect2 14118 hardcode_direct=unsupported 14119 # It fails to find uninstalled libraries when the uninstalled 14120 # path is not listed in the libpath. Setting hardcode_minus_L 14121 # to unsupported forces relinking 14122 hardcode_minus_L=yes 14123 hardcode_libdir_flag_spec='-L$libdir' 14124 hardcode_libdir_separator= 17074 14125 fi 17075 14126 ;; … … 17079 14130 shared_flag="$shared_flag "'${wl}-G' 17080 14131 fi 14132 link_all_deplibs=no 17081 14133 else 17082 14134 # not using gcc 17083 14135 if test "$host_cpu" = ia64; then 17084 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release17085 # chokes on -Wl,-G. The following line is correct:14136 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 14137 # chokes on -Wl,-G. The following line is correct: 17086 14138 shared_flag='-G' 17087 14139 else … … 17094 14146 fi 17095 14147 14148 export_dynamic_flag_spec='${wl}-bexpall' 17096 14149 # It seems that -bexpall does not export symbols beginning with 17097 14150 # underscore (_), so it is better to generate a list of symbols to export. … … 17101 14154 # -berok will link without error, but may produce a broken library. 17102 14155 allow_undefined_flag='-berok' 17103 # Determine the default libpath from the value encoded in an empty executable. 17104 cat >conftest.$ac_ext <<_ACEOF 17105 /* confdefs.h. */ 17106 _ACEOF 17107 cat confdefs.h >>conftest.$ac_ext 17108 cat >>conftest.$ac_ext <<_ACEOF 14156 # Determine the default libpath from the value encoded in an 14157 # empty executable. 14158 if test "${lt_cv_aix_libpath+set}" = set; then 14159 aix_libpath=$lt_cv_aix_libpath 14160 else 14161 if ${lt_cv_aix_libpath_+:} false; then : 14162 $as_echo_n "(cached) " >&6 14163 else 14164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17109 14165 /* end confdefs.h. */ 17110 14166 … … 17117 14173 } 17118 14174 _ACEOF 17119 rm -f conftest.$ac_objext conftest$ac_exeext 17120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17121 (eval $ac_link) 2>conftest.er1 17122 ac_status=$? 17123 grep -v '^ *+' conftest.er1 >conftest.err 17124 rm -f conftest.er1 17125 cat conftest.err >&5 17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17127 (exit $ac_status); } && 17128 { ac_try='test -z "$ac_c_werror_flag" 17129 || test ! -s conftest.err' 17130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17131 (eval $ac_try) 2>&5 17132 ac_status=$? 17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17134 (exit $ac_status); }; } && 17135 { ac_try='test -s conftest$ac_exeext' 17136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17137 (eval $ac_try) 2>&5 17138 ac_status=$? 17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17140 (exit $ac_status); }; }; then 17141 17142 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 17143 }'` 17144 # Check for a 64-bit object if we didn't find anything. 17145 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 17146 }'`; fi 17147 else 17148 echo "$as_me: failed program was:" >&5 17149 sed 's/^/| /' conftest.$ac_ext >&5 17150 17151 fi 17152 rm -f conftest.err conftest.$ac_objext \ 17153 conftest$ac_exeext conftest.$ac_ext 17154 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 17155 17156 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 17157 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 17158 else 14175 if ac_fn_c_try_link "$LINENO"; then : 14176 14177 lt_aix_libpath_sed=' 14178 /Import File Strings/,/^$/ { 14179 /^0/ { 14180 s/^0 *\([^ ]*\) *$/\1/ 14181 p 14182 } 14183 }' 14184 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14185 # Check for a 64-bit object if we didn't find anything. 14186 if test -z "$lt_cv_aix_libpath_"; then 14187 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14188 fi 14189 fi 14190 rm -f core conftest.err conftest.$ac_objext \ 14191 conftest$ac_exeext conftest.$ac_ext 14192 if test -z "$lt_cv_aix_libpath_"; then 14193 lt_cv_aix_libpath_="/usr/lib:/lib" 14194 fi 14195 14196 fi 14197 14198 aix_libpath=$lt_cv_aix_libpath_ 14199 fi 14200 14201 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 14202 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 14203 else 17159 14204 if test "$host_cpu" = ia64; then 17160 14205 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' … … 17162 14207 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 17163 14208 else 17164 # Determine the default libpath from the value encoded in an empty executable. 17165 cat >conftest.$ac_ext <<_ACEOF 17166 /* confdefs.h. */ 17167 _ACEOF 17168 cat confdefs.h >>conftest.$ac_ext 17169 cat >>conftest.$ac_ext <<_ACEOF 14209 # Determine the default libpath from the value encoded in an 14210 # empty executable. 14211 if test "${lt_cv_aix_libpath+set}" = set; then 14212 aix_libpath=$lt_cv_aix_libpath 14213 else 14214 if ${lt_cv_aix_libpath_+:} false; then : 14215 $as_echo_n "(cached) " >&6 14216 else 14217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17170 14218 /* end confdefs.h. */ 17171 14219 … … 17178 14226 } 17179 14227 _ACEOF 17180 rm -f conftest.$ac_objext conftest$ac_exeext 17181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17182 (eval $ac_link) 2>conftest.er1 17183 ac_status=$? 17184 grep -v '^ *+' conftest.er1 >conftest.err 17185 rm -f conftest.er1 17186 cat conftest.err >&5 17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17188 (exit $ac_status); } && 17189 { ac_try='test -z "$ac_c_werror_flag" 17190 || test ! -s conftest.err' 17191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17192 (eval $ac_try) 2>&5 17193 ac_status=$? 17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17195 (exit $ac_status); }; } && 17196 { ac_try='test -s conftest$ac_exeext' 17197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17198 (eval $ac_try) 2>&5 17199 ac_status=$? 17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17201 (exit $ac_status); }; }; then 17202 17203 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 17204 }'` 17205 # Check for a 64-bit object if we didn't find anything. 17206 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 17207 }'`; fi 17208 else 17209 echo "$as_me: failed program was:" >&5 17210 sed 's/^/| /' conftest.$ac_ext >&5 17211 17212 fi 17213 rm -f conftest.err conftest.$ac_objext \ 17214 conftest$ac_exeext conftest.$ac_ext 17215 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14228 if ac_fn_c_try_link "$LINENO"; then : 14229 14230 lt_aix_libpath_sed=' 14231 /Import File Strings/,/^$/ { 14232 /^0/ { 14233 s/^0 *\([^ ]*\) *$/\1/ 14234 p 14235 } 14236 }' 14237 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14238 # Check for a 64-bit object if we didn't find anything. 14239 if test -z "$lt_cv_aix_libpath_"; then 14240 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14241 fi 14242 fi 14243 rm -f core conftest.err conftest.$ac_objext \ 14244 conftest$ac_exeext conftest.$ac_ext 14245 if test -z "$lt_cv_aix_libpath_"; then 14246 lt_cv_aix_libpath_="/usr/lib:/lib" 14247 fi 14248 14249 fi 14250 14251 aix_libpath=$lt_cv_aix_libpath_ 14252 fi 17216 14253 17217 14254 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" … … 17220 14257 no_undefined_flag=' ${wl}-bernotok' 17221 14258 allow_undefined_flag=' ${wl}-berok' 17222 # Exported symbols can be pulled into shared objects from archives 17223 whole_archive_flag_spec='$convenience' 14259 if test "$with_gnu_ld" = yes; then 14260 # We only use this code for GNU lds that support --whole-archive. 14261 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 14262 else 14263 # Exported symbols can be pulled into shared objects from archives 14264 whole_archive_flag_spec='$convenience' 14265 fi 17224 14266 archive_cmds_need_lc=yes 17225 14267 # This is similar to how AIX traditionally builds its shared libraries. … … 17230 14272 17231 14273 amigaos*) 17232 archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 17233 hardcode_libdir_flag_spec='-L$libdir' 17234 hardcode_minus_L=yes 17235 # see comment about different semantics on the GNU ld section 17236 ld_shlibs=no 14274 case $host_cpu in 14275 powerpc) 14276 # see comment about AmigaOS4 .so support 14277 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14278 archive_expsym_cmds='' 14279 ;; 14280 m68k) 14281 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 14282 hardcode_libdir_flag_spec='-L$libdir' 14283 hardcode_minus_L=yes 14284 ;; 14285 esac 17237 14286 ;; 17238 14287 … … 17241 14290 ;; 17242 14291 17243 cygwin* | mingw* | pw32* )14292 cygwin* | mingw* | pw32* | cegcc*) 17244 14293 # When not using gcc, we currently assume that we are using 17245 14294 # Microsoft Visual C++. 17246 14295 # hardcode_libdir_flag_spec is actually meaningless, as there is 17247 14296 # no search path for DLLs. 17248 hardcode_libdir_flag_spec=' ' 17249 allow_undefined_flag=unsupported 17250 # Tell ltmain to make .lib files, not .a files. 17251 libext=lib 17252 # Tell ltmain to make .dll files, not .so files. 17253 shrext_cmds=".dll" 17254 # FIXME: Setting linknames here is a bad hack. 17255 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 17256 # The linker will automatically build a .lib file if we build a DLL. 17257 old_archive_From_new_cmds='true' 17258 # FIXME: Should let the user specify the lib program. 17259 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' 17260 fix_srcfile_path='`cygpath -w "$srcfile"`' 17261 enable_shared_with_static_runtimes=yes 14297 case $cc_basename in 14298 cl*) 14299 # Native MSVC 14300 hardcode_libdir_flag_spec=' ' 14301 allow_undefined_flag=unsupported 14302 always_export_symbols=yes 14303 file_list_spec='@' 14304 # Tell ltmain to make .lib files, not .a files. 14305 libext=lib 14306 # Tell ltmain to make .dll files, not .so files. 14307 shrext_cmds=".dll" 14308 # FIXME: Setting linknames here is a bad hack. 14309 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 14310 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 14311 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 14312 else 14313 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 14314 fi~ 14315 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 14316 linknames=' 14317 # The linker will not automatically build a static lib if we build a DLL. 14318 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 14319 enable_shared_with_static_runtimes=yes 14320 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 14321 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 14322 # Don't use ranlib 14323 old_postinstall_cmds='chmod 644 $oldlib' 14324 postlink_cmds='lt_outputfile="@OUTPUT@"~ 14325 lt_tool_outputfile="@TOOL_OUTPUT@"~ 14326 case $lt_outputfile in 14327 *.exe|*.EXE) ;; 14328 *) 14329 lt_outputfile="$lt_outputfile.exe" 14330 lt_tool_outputfile="$lt_tool_outputfile.exe" 14331 ;; 14332 esac~ 14333 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 14334 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 14335 $RM "$lt_outputfile.manifest"; 14336 fi' 14337 ;; 14338 *) 14339 # Assume MSVC wrapper 14340 hardcode_libdir_flag_spec=' ' 14341 allow_undefined_flag=unsupported 14342 # Tell ltmain to make .lib files, not .a files. 14343 libext=lib 14344 # Tell ltmain to make .dll files, not .so files. 14345 shrext_cmds=".dll" 14346 # FIXME: Setting linknames here is a bad hack. 14347 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 14348 # The linker will automatically build a .lib file if we build a DLL. 14349 old_archive_from_new_cmds='true' 14350 # FIXME: Should let the user specify the lib program. 14351 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 14352 enable_shared_with_static_runtimes=yes 14353 ;; 14354 esac 17262 14355 ;; 17263 14356 17264 14357 darwin* | rhapsody*) 17265 case $host_os in 17266 rhapsody* | darwin1.[012]) 17267 allow_undefined_flag='${wl}-undefined ${wl}suppress' 17268 ;; 17269 *) # Darwin 1.3 on 17270 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 17271 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 17272 else 17273 case ${MACOSX_DEPLOYMENT_TARGET} in 17274 10.[012]) 17275 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 17276 ;; 17277 10.*) 17278 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' 17279 ;; 17280 esac 17281 fi 17282 ;; 17283 esac 17284 archive_cmds_need_lc=no 17285 hardcode_direct=no 17286 hardcode_automatic=yes 17287 hardcode_shlibpath_var=unsupported 17288 whole_archive_flag_spec='' 17289 link_all_deplibs=yes 17290 if test "$GCC" = yes ; then 17291 output_verbose_link_cmd='echo' 17292 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 17293 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 17294 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 17295 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 17296 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 17297 else 17298 case $cc_basename in 17299 xlc*) 17300 output_verbose_link_cmd='echo' 17301 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 17302 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 17303 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 17304 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 17305 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 17306 ;; 17307 *) 17308 ld_shlibs=no 17309 ;; 17310 esac 17311 fi 14358 14359 14360 archive_cmds_need_lc=no 14361 hardcode_direct=no 14362 hardcode_automatic=yes 14363 hardcode_shlibpath_var=unsupported 14364 if test "$lt_cv_ld_force_load" = "yes"; then 14365 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 14366 14367 else 14368 whole_archive_flag_spec='' 14369 fi 14370 link_all_deplibs=yes 14371 allow_undefined_flag="$_lt_dar_allow_undefined" 14372 case $cc_basename in 14373 ifort*) _lt_dar_can_shared=yes ;; 14374 *) _lt_dar_can_shared=$GCC ;; 14375 esac 14376 if test "$_lt_dar_can_shared" = "yes"; then 14377 output_verbose_link_cmd=func_echo_all 14378 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 14379 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 14380 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 14381 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 14382 14383 else 14384 ld_shlibs=no 14385 fi 14386 17312 14387 ;; 17313 14388 … … 17316 14391 hardcode_libdir_flag_spec='-L$libdir' 17317 14392 hardcode_shlibpath_var=no 17318 ;;17319 17320 freebsd1*)17321 ld_shlibs=no17322 14393 ;; 17323 14394 … … 17334 14405 17335 14406 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 17336 freebsd2 *)14407 freebsd2.*) 17337 14408 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 17338 14409 hardcode_direct=yes … … 17342 14413 17343 14414 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 17344 freebsd* | kfreebsd*-gnu |dragonfly*)17345 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'14415 freebsd* | dragonfly*) 14416 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 17346 14417 hardcode_libdir_flag_spec='-R$libdir' 17347 14418 hardcode_direct=yes … … 17351 14422 hpux9*) 17352 14423 if test "$GCC" = yes; then 17353 archive_cmds='$ rm $output_objdir/$soname~$CC -shared -fPIC${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'14424 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 17354 14425 else 17355 archive_cmds='$ rm$output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'14426 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 17356 14427 fi 17357 14428 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' … … 17366 14437 17367 14438 hpux10*) 17368 if test "$GCC" = yes -a"$with_gnu_ld" = no; then17369 archive_cmds='$CC -shared -fPIC${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'14439 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 14440 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 17370 14441 else 17371 14442 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' … … 17374 14445 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 17375 14446 hardcode_libdir_separator=: 17376 17377 14447 hardcode_direct=yes 14448 hardcode_direct_absolute=yes 17378 14449 export_dynamic_flag_spec='${wl}-E' 17379 17380 14450 # hardcode_minus_L: Not really in the search PATH, 17381 14451 # but as the default location of the library. … … 17385 14455 17386 14456 hpux11*) 17387 if test "$GCC" = yes -a"$with_gnu_ld" = no; then14457 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 17388 14458 case $host_cpu in 17389 14459 hppa*64*) … … 17391 14461 ;; 17392 14462 ia64*) 17393 archive_cmds='$CC -shared $ {wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'14463 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 17394 14464 ;; 17395 14465 *) 17396 archive_cmds='$CC -shared -fPIC${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'14466 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 17397 14467 ;; 17398 14468 esac … … 17406 14476 ;; 17407 14477 *) 17408 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 14478 14479 # Older versions of the 11.00 compiler do not understand -b yet 14480 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 14482 $as_echo_n "checking if $CC understands -b... " >&6; } 14483 if ${lt_cv_prog_compiler__b+:} false; then : 14484 $as_echo_n "(cached) " >&6 14485 else 14486 lt_cv_prog_compiler__b=no 14487 save_LDFLAGS="$LDFLAGS" 14488 LDFLAGS="$LDFLAGS -b" 14489 echo "$lt_simple_link_test_code" > conftest.$ac_ext 14490 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 14491 # The linker can only warn and ignore the option if not recognized 14492 # So say no if there are warnings 14493 if test -s conftest.err; then 14494 # Append any errors to the config.log. 14495 cat conftest.err 1>&5 14496 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 14497 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14498 if diff conftest.exp conftest.er2 >/dev/null; then 14499 lt_cv_prog_compiler__b=yes 14500 fi 14501 else 14502 lt_cv_prog_compiler__b=yes 14503 fi 14504 fi 14505 $RM -r conftest* 14506 LDFLAGS="$save_LDFLAGS" 14507 14508 fi 14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 14510 $as_echo "$lt_cv_prog_compiler__b" >&6; } 14511 14512 if test x"$lt_cv_prog_compiler__b" = xyes; then 14513 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 14514 else 14515 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 14516 fi 14517 17409 14518 ;; 17410 14519 esac … … 17416 14525 case $host_cpu in 17417 14526 hppa*64*|ia64*) 17418 hardcode_libdir_flag_spec_ld='+b $libdir'17419 14527 hardcode_direct=no 17420 14528 hardcode_shlibpath_var=no … … 17422 14530 *) 17423 14531 hardcode_direct=yes 14532 hardcode_direct_absolute=yes 17424 14533 export_dynamic_flag_spec='${wl}-E' 17425 14534 … … 17434 14543 irix5* | irix6* | nonstopux*) 17435 14544 if test "$GCC" = yes; then 17436 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 14545 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 14546 # Try to use the -exported_symbol ld option, if it does not 14547 # work, assume that -exports_file does not work either and 14548 # implicitly export all symbols. 14549 # This should be the same for all languages, so no per-tag cache variable. 14550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 14551 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 14552 if ${lt_cv_irix_exported_symbol+:} false; then : 14553 $as_echo_n "(cached) " >&6 14554 else 14555 save_LDFLAGS="$LDFLAGS" 14556 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 14557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14558 /* end confdefs.h. */ 14559 int foo (void) { return 0; } 14560 _ACEOF 14561 if ac_fn_c_try_link "$LINENO"; then : 14562 lt_cv_irix_exported_symbol=yes 14563 else 14564 lt_cv_irix_exported_symbol=no 14565 fi 14566 rm -f core conftest.err conftest.$ac_objext \ 14567 conftest$ac_exeext conftest.$ac_ext 14568 LDFLAGS="$save_LDFLAGS" 14569 fi 14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 14571 $as_echo "$lt_cv_irix_exported_symbol" >&6; } 14572 if test "$lt_cv_irix_exported_symbol" = yes; then 14573 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 14574 fi 17437 14575 else 17438 archive_cmds='$ LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'17439 hardcode_libdir_flag_spec_ld='-rpath $libdir'14576 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 14577 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 17440 14578 fi 14579 archive_cmds_need_lc='no' 17441 14580 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 17442 14581 hardcode_libdir_separator=: 14582 inherit_rpath=yes 17443 14583 link_all_deplibs=yes 17444 14584 ;; 17445 14585 17446 netbsd* )17447 if echo __ELF__ | $CC -E - | grep__ELF__ >/dev/null; then14586 netbsd* | netbsdelf*-gnu) 14587 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 17448 14588 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 17449 14589 else … … 17463 14603 ;; 17464 14604 14605 *nto* | *qnx*) 14606 ;; 14607 17465 14608 openbsd*) 17466 hardcode_direct=yes 17467 hardcode_shlibpath_var=no 17468 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 17469 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 17470 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 17471 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 17472 export_dynamic_flag_spec='${wl}-E' 14609 if test -f /usr/libexec/ld.so; then 14610 hardcode_direct=yes 14611 hardcode_shlibpath_var=no 14612 hardcode_direct_absolute=yes 14613 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 14614 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 14615 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 14616 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 14617 export_dynamic_flag_spec='${wl}-E' 14618 else 14619 case $host_os in 14620 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 14621 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 14622 hardcode_libdir_flag_spec='-R$libdir' 14623 ;; 14624 *) 14625 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 14626 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 14627 ;; 14628 esac 14629 fi 17473 14630 else 17474 case $host_os in 17475 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 17476 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 17477 hardcode_libdir_flag_spec='-R$libdir' 17478 ;; 17479 *) 17480 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 17481 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 17482 ;; 17483 esac 14631 ld_shlibs=no 17484 14632 fi 17485 14633 ;; … … 17489 14637 hardcode_minus_L=yes 17490 14638 allow_undefined_flag=unsupported 17491 archive_cmds='$ echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'17492 old_archive_ From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'14639 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 14640 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 17493 14641 ;; 17494 14642 … … 17496 14644 if test "$GCC" = yes; then 17497 14645 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 17498 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'14646 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 17499 14647 else 17500 14648 allow_undefined_flag=' -expect_unresolved \*' 17501 archive_cmds='$ LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'14649 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 17502 14650 fi 14651 archive_cmds_need_lc='no' 17503 14652 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 17504 14653 hardcode_libdir_separator=: … … 17508 14657 if test "$GCC" = yes; then 17509 14658 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 17510 archive_cmds='$CC -shared${allow_undefined_flag} $ libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'14659 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 17511 14660 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 17512 14661 else 17513 14662 allow_undefined_flag=' -expect_unresolved \*' 17514 archive_cmds='$ LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'17515 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo"-hidden">> $lib.exp~17516 $ LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm$lib.exp'14663 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 14664 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ 14665 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' 17517 14666 17518 14667 # Both c and cxx compiler support -rpath directly 17519 14668 hardcode_libdir_flag_spec='-rpath $libdir' 17520 14669 fi 14670 archive_cmds_need_lc='no' 17521 14671 hardcode_libdir_separator=: 17522 14672 ;; 17523 14673 17524 14674 solaris*) 17525 no_undefined_flag=' -z text'14675 no_undefined_flag=' -z defs' 17526 14676 if test "$GCC" = yes; then 17527 14677 wlarc='${wl}' 17528 archive_cmds='$CC -shared $ {wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'17529 archive_expsym_cmds=' $echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~17530 $CC -shared $ {wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm$lib.exp'14678 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 14679 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14680 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 17531 14681 else 17532 wlarc='' 17533 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 17534 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 17535 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 14682 case `$CC -V 2>&1` in 14683 *"Compilers 5.0"*) 14684 wlarc='' 14685 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 14686 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14687 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 14688 ;; 14689 *) 14690 wlarc='${wl}' 14691 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 14692 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14693 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 14694 ;; 14695 esac 17536 14696 fi 17537 14697 hardcode_libdir_flag_spec='-R$libdir' … … 17540 14700 solaris2.[0-5] | solaris2.[0-5].*) ;; 17541 14701 *) 17542 # The compiler driver will combine linker options so we 17543 # cannot just pass the convience library names through 17544 # without $wl, iff we do not link with $LD. 17545 # Luckily, gcc supports the same syntax we need for Sun Studio. 17546 # Supported since Solaris 2.6 (maybe 2.5.1?) 17547 case $wlarc in 17548 '') 17549 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; 17550 *) 17551 whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; 17552 esac ;; 14702 # The compiler driver will combine and reorder linker options, 14703 # but understands `-z linker_flag'. GCC discards it without `$wl', 14704 # but is careful enough not to reorder. 14705 # Supported since Solaris 2.6 (maybe 2.5.1?) 14706 if test "$GCC" = yes; then 14707 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 14708 else 14709 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 14710 fi 14711 ;; 17553 14712 esac 17554 14713 link_all_deplibs=yes … … 17607 14766 ;; 17608 14767 17609 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* )14768 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 17610 14769 no_undefined_flag='${wl}-z,text' 17611 14770 archive_cmds_need_lc=no … … 17633 14792 archive_cmds_need_lc=no 17634 14793 hardcode_shlibpath_var=no 17635 hardcode_libdir_flag_spec=' `test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'14794 hardcode_libdir_flag_spec='${wl}-R,$libdir' 17636 14795 hardcode_libdir_separator=':' 17637 14796 link_all_deplibs=yes … … 17640 14799 17641 14800 if test "$GCC" = yes; then 17642 archive_cmds='$CC -shared ${wl}-h, \${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'17643 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h, \${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'14801 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14802 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 17644 14803 else 17645 archive_cmds='$CC -G ${wl}-h, \${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'17646 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h, \${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'14804 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14805 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 17647 14806 fi 17648 14807 ;; … … 17658 14817 ;; 17659 14818 esac 14819 14820 if test x$host_vendor = xsni; then 14821 case $host in 14822 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 14823 export_dynamic_flag_spec='${wl}-Blargedynsym' 14824 ;; 14825 esac 14826 fi 17660 14827 fi 17661 14828 17662 echo "$as_me:$LINENO: result: $ld_shlibs" >&517663 echo "${ECHO_T}$ld_shlibs" >&6 14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 14830 $as_echo "$ld_shlibs" >&6; } 17664 14831 test "$ld_shlibs" = no && can_build_shared=no 14832 14833 with_gnu_ld=$with_gnu_ld 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 17665 14848 17666 14849 # … … 17681 14864 # systems, -lgcc has to come before -lc. If gcc already passes -lc 17682 14865 # to ld, don't add -lc before -lgcc. 17683 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 17684 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 17685 $rm conftest* 17686 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 17687 17688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 14867 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 14868 if ${lt_cv_archive_cmds_need_lc+:} false; then : 14869 $as_echo_n "(cached) " >&6 14870 else 14871 $RM conftest* 14872 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14873 14874 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 17689 14875 (eval $ac_compile) 2>&5 17690 14876 ac_status=$? 17691 echo "$as_me:$LINENO: \$? = $ac_status" >&517692 (exit $ac_status); } 2>conftest.err; then17693 soname=conftest17694 lib=conftest17695 libobjs=conftest.$ac_objext17696 deplibs=17697 wl=$lt_prog_compiler_wl17698 pic_flag=$lt_prog_compiler_pic17699 compiler_flags=-v17700 linker_flags=-v17701 verstring=17702 output_objdir=.17703 libname=conftest17704 lt_save_allow_undefined_flag=$allow_undefined_flag17705 allow_undefined_flag=17706 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"")>&517707 (eval $archive_cmds 2\>\&1 \| grep\" -lc \" \>/dev/null 2\>\&1) 2>&514877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14878 test $ac_status = 0; } 2>conftest.err; then 14879 soname=conftest 14880 lib=conftest 14881 libobjs=conftest.$ac_objext 14882 deplibs= 14883 wl=$lt_prog_compiler_wl 14884 pic_flag=$lt_prog_compiler_pic 14885 compiler_flags=-v 14886 linker_flags=-v 14887 verstring= 14888 output_objdir=. 14889 libname=conftest 14890 lt_save_allow_undefined_flag=$allow_undefined_flag 14891 allow_undefined_flag= 14892 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 14893 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 17708 14894 ac_status=$? 17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17710 (exit $ac_status); } 17711 then 17712 archive_cmds_need_lc=no 17713 else 17714 archive_cmds_need_lc=yes 17715 fi 17716 allow_undefined_flag=$lt_save_allow_undefined_flag 17717 else 17718 cat conftest.err 1>&5 17719 fi 17720 $rm conftest* 17721 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 17722 echo "${ECHO_T}$archive_cmds_need_lc" >&6 14895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14896 test $ac_status = 0; } 14897 then 14898 lt_cv_archive_cmds_need_lc=no 14899 else 14900 lt_cv_archive_cmds_need_lc=yes 14901 fi 14902 allow_undefined_flag=$lt_save_allow_undefined_flag 14903 else 14904 cat conftest.err 1>&5 14905 fi 14906 $RM conftest* 14907 14908 fi 14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 14910 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 14911 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 17723 14912 ;; 17724 14913 esac … … 17727 14916 esac 17728 14917 17729 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 17730 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 15070 $as_echo_n "checking dynamic linker characteristics... " >&6; } 15071 15072 if test "$GCC" = yes; then 15073 case $host_os in 15074 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 15075 *) lt_awk_arg="/^libraries:/" ;; 15076 esac 15077 case $host_os in 15078 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 15079 *) lt_sed_strip_eq="s,=/,/,g" ;; 15080 esac 15081 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 15082 case $lt_search_path_spec in 15083 *\;*) 15084 # if the path contains ";" then we assume it to be the separator 15085 # otherwise default to the standard path separator (i.e. ":") - it is 15086 # assumed that no part of a normal pathname contains ";" but that should 15087 # okay in the real world where ";" in dirpaths is itself problematic. 15088 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 15089 ;; 15090 *) 15091 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 15092 ;; 15093 esac 15094 # Ok, now we have the path, separated by spaces, we can step through it 15095 # and add multilib dir if necessary. 15096 lt_tmp_lt_search_path_spec= 15097 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 15098 for lt_sys_path in $lt_search_path_spec; do 15099 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 15100 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 15101 else 15102 test -d "$lt_sys_path" && \ 15103 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 15104 fi 15105 done 15106 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 15107 BEGIN {RS=" "; FS="/|\n";} { 15108 lt_foo=""; 15109 lt_count=0; 15110 for (lt_i = NF; lt_i > 0; lt_i--) { 15111 if ($lt_i != "" && $lt_i != ".") { 15112 if ($lt_i == "..") { 15113 lt_count++; 15114 } else { 15115 if (lt_count == 0) { 15116 lt_foo="/" $lt_i lt_foo; 15117 } else { 15118 lt_count--; 15119 } 15120 } 15121 } 15122 } 15123 if (lt_foo != "") { lt_freq[lt_foo]++; } 15124 if (lt_freq[lt_foo] == 1) { print lt_foo; } 15125 }'` 15126 # AWK program above erroneously prepends '/' to C:/dos/paths 15127 # for these hosts. 15128 case $host_os in 15129 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 15130 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 15131 esac 15132 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 15133 else 15134 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 15135 fi 17731 15136 library_names_spec= 17732 15137 libname_spec='lib$name' … … 17742 15147 dynamic_linker="$host_os ld.so" 17743 15148 sys_lib_dlsearch_path_spec="/lib /usr/lib" 17744 if test "$GCC" = yes; then17745 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`17746 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then17747 # if the path contains ";" then we assume it to be the separator17748 # otherwise default to the standard path separator (i.e. ":") - it is17749 # assumed that no part of a normal pathname contains ";" but that should17750 # okay in the real world where ";" in dirpaths is itself problematic.17751 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`17752 else17753 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`17754 fi17755 else17756 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"17757 fi17758 15149 need_lib_prefix=unknown 17759 15150 hardcode_into_libs=no … … 17765 15156 case $host_os in 17766 15157 aix3*) 17767 version_type=linux 15158 version_type=linux # correct to gnu/linux during the next big refactor 17768 15159 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 17769 15160 shlibpath_var=LIBPATH … … 17773 15164 ;; 17774 15165 17775 aix 4* | aix5*)17776 version_type=linux 15166 aix[4-9]*) 15167 version_type=linux # correct to gnu/linux during the next big refactor 17777 15168 need_lib_prefix=no 17778 15169 need_version=no … … 17792 15183 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 17793 15184 echo ' yes ' 17794 echo '#endif'; } | ${CC} -E - | grepyes > /dev/null; then15185 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 17795 15186 : 17796 15187 else … … 17818 15209 17819 15210 amigaos*) 17820 library_names_spec='$libname.ixlibrary $libname.a' 17821 # Create ${libname}_ixlibrary.a entries in /sys/libs. 17822 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 15211 case $host_cpu in 15212 powerpc) 15213 # Since July 2007 AmigaOS4 officially supports .so libraries. 15214 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 15215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15216 ;; 15217 m68k) 15218 library_names_spec='$libname.ixlibrary $libname.a' 15219 # Create ${libname}_ixlibrary.a entries in /sys/libs. 15220 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 15221 ;; 15222 esac 17823 15223 ;; 17824 15224 … … 17830 15230 17831 15231 bsdi[45]*) 17832 version_type=linux 15232 version_type=linux # correct to gnu/linux during the next big refactor 17833 15233 need_version=no 17834 15234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' … … 17843 15243 ;; 17844 15244 17845 cygwin* | mingw* | pw32* )15245 cygwin* | mingw* | pw32* | cegcc*) 17846 15246 version_type=windows 17847 15247 shrext_cmds=".dll" … … 17849 15249 need_lib_prefix=no 17850 15250 17851 case $GCC,$host_os in 17852 yes,cygwin* | yes,mingw* | yes,pw32*) 15251 case $GCC,$cc_basename in 15252 yes,*) 15253 # gcc 17853 15254 library_names_spec='$libname.dll.a' 17854 15255 # DLL is installed to $(libdir)/../bin by postinstall_cmds 17855 15256 postinstall_cmds='base_file=`basename \${file}`~ 17856 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~15257 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 17857 15258 dldir=$destdir/`dirname \$dlpath`~ 17858 15259 test -d \$dldir || mkdir -p \$dldir~ 17859 15260 $install_prog $dir/$dlname \$dldir/$dlname~ 17860 chmod a+x \$dldir/$dlname' 15261 chmod a+x \$dldir/$dlname~ 15262 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 15263 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 15264 fi' 17861 15265 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 17862 15266 dlpath=$dir/\$dldll~ 17863 $ rm\$dlpath'15267 $RM \$dlpath' 17864 15268 shlibpath_overrides_runpath=yes 17865 15269 … … 17868 15272 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 17869 15273 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 17870 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 15274 15275 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 17871 15276 ;; 17872 mingw* )15277 mingw* | cegcc*) 17873 15278 # MinGW DLLs use traditional 'lib' prefix 17874 15279 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 17875 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`17876 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then17877 # It is most probably a Windows format PATH printed by17878 # mingw gcc, but we are running on Cygwin. Gcc prints its search17879 # path with ; separators, and with drive letters. We can handle the17880 # drive letters (cygwin fileutils understands them), so leave them,17881 # especially as we might pass files found there to a mingw objdump,17882 # which wouldn't understand a cygwinified path. Ahh.17883 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`17884 else17885 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`17886 fi17887 15280 ;; 17888 15281 pw32*) … … 17891 15284 ;; 17892 15285 esac 15286 dynamic_linker='Win32 ld.exe' 17893 15287 ;; 17894 15288 17895 linux*) 17896 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then 17897 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17898 supports_anon_versioning=no 17899 case `$LD -v 2>/dev/null` in 17900 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 17901 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 17902 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 17903 *\ 2.11.*) ;; # other 2.11 versions 17904 *) supports_anon_versioning=yes ;; 17905 esac 17906 if test $supports_anon_versioning = yes; then 17907 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ 17908 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 17909 $echo "local: *; };" >> $output_objdir/$libname.ver~ 17910 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 15289 *,cl*) 15290 # Native MSVC 15291 libname_spec='$name' 15292 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15293 library_names_spec='${libname}.dll.lib' 15294 15295 case $build_os in 15296 mingw*) 15297 sys_lib_search_path_spec= 15298 lt_save_ifs=$IFS 15299 IFS=';' 15300 for lt_path in $LIB 15301 do 15302 IFS=$lt_save_ifs 15303 # Let DOS variable expansion print the short 8.3 style file name. 15304 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 15305 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 15306 done 15307 IFS=$lt_save_ifs 15308 # Convert to MSYS style. 15309 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 15310 ;; 15311 cygwin*) 15312 # Convert to unix form, then to dos form, then back to unix form 15313 # but this time dos style (no spaces!) so that the unix form looks 15314 # like /cygdrive/c/PROGRA~1:/cygdr... 15315 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 15316 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 15317 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15318 ;; 15319 *) 15320 sys_lib_search_path_spec="$LIB" 15321 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 15322 # It is most probably a Windows format PATH. 15323 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 17911 15324 else 17912 $archive_expsym_cmds="$archive_cmds"15325 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 17913 15326 fi 17914 else 17915 ld_shlibs=no 17916 fi 15327 # FIXME: find the short name or the path components, as spaces are 15328 # common. (e.g. "Program Files" -> "PROGRA~1") 15329 ;; 15330 esac 15331 15332 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15333 postinstall_cmds='base_file=`basename \${file}`~ 15334 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 15335 dldir=$destdir/`dirname \$dlpath`~ 15336 test -d \$dldir || mkdir -p \$dldir~ 15337 $install_prog $dir/$dlname \$dldir/$dlname' 15338 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15339 dlpath=$dir/\$dldll~ 15340 $RM \$dlpath' 15341 shlibpath_overrides_runpath=yes 15342 dynamic_linker='Win32 link.exe' 17917 15343 ;; 17918 15344 17919 15345 *) 15346 # Assume MSVC wrapper 17920 15347 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 15348 dynamic_linker='Win32 ld.exe' 17921 15349 ;; 17922 15350 esac 17923 dynamic_linker='Win32 ld.exe'17924 15351 # FIXME: first we should search . and the directory the executable is in 17925 15352 shlibpath_var=PATH … … 17931 15358 need_lib_prefix=no 17932 15359 need_version=no 17933 library_names_spec='${libname}${release}${ versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'15360 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 17934 15361 soname_spec='${libname}${release}${major}$shared_ext' 17935 15362 shlibpath_overrides_runpath=yes 17936 15363 shlibpath_var=DYLD_LIBRARY_PATH 17937 15364 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 17938 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 17939 if test "$GCC" = yes; then 17940 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 17941 else 17942 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 17943 fi 15365 15366 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 17944 15367 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 17945 15368 ;; 17946 15369 17947 15370 dgux*) 17948 version_type=linux 15371 version_type=linux # correct to gnu/linux during the next big refactor 17949 15372 need_lib_prefix=no 17950 15373 need_version=no … … 17952 15375 soname_spec='${libname}${release}${shared_ext}$major' 17953 15376 shlibpath_var=LD_LIBRARY_PATH 17954 ;;17955 17956 freebsd1*)17957 dynamic_linker=no17958 ;;17959 17960 kfreebsd*-gnu)17961 version_type=linux17962 need_lib_prefix=no17963 need_version=no17964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'17965 soname_spec='${libname}${release}${shared_ext}$major'17966 shlibpath_var=LD_LIBRARY_PATH17967 shlibpath_overrides_runpath=no17968 hardcode_into_libs=yes17969 dynamic_linker='GNU ld.so'17970 15377 ;; 17971 15378 … … 17977 15384 else 17978 15385 case $host_os in 17979 freebsd[ 123]*) objformat=aout ;;15386 freebsd[23].*) objformat=aout ;; 17980 15387 *) objformat=elf ;; 17981 15388 esac 17982 15389 fi 17983 # Handle Gentoo/FreeBSD as it was Linux 17984 case $host_vendor in 17985 gentoo) 17986 version_type=linux ;; 17987 *) 17988 version_type=freebsd-$objformat ;; 17989 esac 17990 15390 version_type=freebsd-$objformat 17991 15391 case $version_type in 17992 15392 freebsd-elf*) … … 17999 15399 need_version=yes 18000 15400 ;; 18001 linux)18002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'18003 soname_spec='${libname}${release}${shared_ext}$major'18004 need_lib_prefix=no18005 need_version=no18006 ;;18007 15401 esac 18008 15402 shlibpath_var=LD_LIBRARY_PATH 18009 15403 case $host_os in 18010 freebsd2 *)15404 freebsd2.*) 18011 15405 shlibpath_overrides_runpath=yes 18012 15406 ;; … … 18020 15414 hardcode_into_libs=yes 18021 15415 ;; 18022 freebsd*) # from 4.6 on15416 *) # from 4.6 on, and DragonFly 18023 15417 shlibpath_overrides_runpath=yes 18024 15418 hardcode_into_libs=yes … … 18027 15421 ;; 18028 15422 18029 gnu*)18030 version_type=linux 15423 haiku*) 15424 version_type=linux # correct to gnu/linux during the next big refactor 18031 15425 need_lib_prefix=no 18032 15426 need_version=no 15427 dynamic_linker="$host_os runtime_loader" 18033 15428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 18034 15429 soname_spec='${libname}${release}${shared_ext}$major' 18035 shlibpath_var=LD_LIBRARY_PATH 15430 shlibpath_var=LIBRARY_PATH 15431 shlibpath_overrides_runpath=yes 15432 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 18036 15433 hardcode_into_libs=yes 18037 15434 ;; … … 18059 15456 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 18060 15457 ;; 18061 hppa*64*)18062 shrext_cmds='.sl'18063 hardcode_into_libs=yes18064 dynamic_linker="$host_os dld.sl"18065 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH18066 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.18067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'18068 soname_spec='${libname}${release}${shared_ext}$major'18069 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"18070 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec18071 ;;18072 *)15458 hppa*64*) 15459 shrext_cmds='.sl' 15460 hardcode_into_libs=yes 15461 dynamic_linker="$host_os dld.sl" 15462 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 15463 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15465 soname_spec='${libname}${release}${shared_ext}$major' 15466 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 15467 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15468 ;; 15469 *) 18073 15470 shrext_cmds='.sl' 18074 15471 dynamic_linker="$host_os dld.sl" … … 18079 15476 ;; 18080 15477 esac 18081 # HP-UX runs *really* slowly unless shared libraries are mode 555 .15478 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 18082 15479 postinstall_cmds='chmod 555 $lib' 15480 # or fails outright, so override atomically: 15481 install_override_mode=555 18083 15482 ;; 18084 15483 18085 interix 3*)18086 version_type=linux 15484 interix[3-9]*) 15485 version_type=linux # correct to gnu/linux during the next big refactor 18087 15486 need_lib_prefix=no 18088 15487 need_version=no … … 18100 15499 *) 18101 15500 if test "$lt_cv_prog_gnu_ld" = yes; then 18102 version_type=linux 15501 version_type=linux # correct to gnu/linux during the next big refactor 18103 15502 else 18104 15503 version_type=irix … … 18137 15536 ;; 18138 15537 18139 # This must be LinuxELF.18140 linux* )18141 version_type=linux 15538 # This must be glibc/ELF. 15539 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15540 version_type=linux # correct to gnu/linux during the next big refactor 18142 15541 need_lib_prefix=no 18143 15542 need_version=no … … 18147 15546 shlibpath_var=LD_LIBRARY_PATH 18148 15547 shlibpath_overrides_runpath=no 15548 15549 # Some binutils ld are patched to set DT_RUNPATH 15550 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 15551 $as_echo_n "(cached) " >&6 15552 else 15553 lt_cv_shlibpath_overrides_runpath=no 15554 save_LDFLAGS=$LDFLAGS 15555 save_libdir=$libdir 15556 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 15557 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 15558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15559 /* end confdefs.h. */ 15560 15561 int 15562 main () 15563 { 15564 15565 ; 15566 return 0; 15567 } 15568 _ACEOF 15569 if ac_fn_c_try_link "$LINENO"; then : 15570 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 15571 lt_cv_shlibpath_overrides_runpath=yes 15572 fi 15573 fi 15574 rm -f core conftest.err conftest.$ac_objext \ 15575 conftest$ac_exeext conftest.$ac_ext 15576 LDFLAGS=$save_LDFLAGS 15577 libdir=$save_libdir 15578 15579 fi 15580 15581 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 15582 18149 15583 # This implies no fast_install, which is unacceptable. 18150 15584 # Some rework will be needed to allow for fast_install … … 18154 15588 # Append ld.so.conf contents to the search path 18155 15589 if test -f /etc/ld.so.conf; then 18156 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s ", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* //g;/^$/d' | tr '\n' ' '`15590 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` 18157 15591 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 18158 15592 fi … … 18167 15601 ;; 18168 15602 18169 knetbsd*-gnu)15603 netbsdelf*-gnu) 18170 15604 version_type=linux 18171 15605 need_lib_prefix=no … … 18176 15610 shlibpath_overrides_runpath=no 18177 15611 hardcode_into_libs=yes 18178 dynamic_linker=' GNU ld.so'15612 dynamic_linker='NetBSD ld.elf_so' 18179 15613 ;; 18180 15614 … … 18183 15617 need_lib_prefix=no 18184 15618 need_version=no 18185 if echo __ELF__ | $CC -E - | grep__ELF__ >/dev/null; then15619 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 18186 15620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 18187 15621 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 18198 15632 18199 15633 newsos6) 18200 version_type=linux 15634 version_type=linux # correct to gnu/linux during the next big refactor 18201 15635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18202 15636 shlibpath_var=LD_LIBRARY_PATH … … 18204 15638 ;; 18205 15639 18206 nto-qnx*)18207 version_type= linux15640 *nto* | *qnx*) 15641 version_type=qnx 18208 15642 need_lib_prefix=no 18209 15643 need_version=no … … 18211 15645 soname_spec='${libname}${release}${shared_ext}$major' 18212 15646 shlibpath_var=LD_LIBRARY_PATH 18213 shlibpath_overrides_runpath=yes 15647 shlibpath_overrides_runpath=no 15648 hardcode_into_libs=yes 15649 dynamic_linker='ldqnx.so' 18214 15650 ;; 18215 15651 … … 18220 15656 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 18221 15657 case $host_os in 18222 openbsd3.3 | openbsd3.3.*) need_version=yes ;;18223 *) need_version=no ;;15658 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 15659 *) need_version=no ;; 18224 15660 esac 18225 15661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 18226 15662 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 18227 15663 shlibpath_var=LD_LIBRARY_PATH 18228 if test -z "`echo __ELF__ | $CC -E - | grep__ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then15664 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 18229 15665 case $host_os in 18230 15666 openbsd2.[89] | openbsd2.[89].*) … … 18260 15696 ;; 18261 15697 15698 rdos*) 15699 dynamic_linker=no 15700 ;; 15701 18262 15702 solaris*) 18263 version_type=linux 15703 version_type=linux # correct to gnu/linux during the next big refactor 18264 15704 need_lib_prefix=no 18265 15705 need_version=no … … 18286 15726 18287 15727 sysv4 | sysv4.3*) 18288 version_type=linux 15728 version_type=linux # correct to gnu/linux during the next big refactor 18289 15729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18290 15730 soname_spec='${libname}${release}${shared_ext}$major' … … 18294 15734 shlibpath_overrides_runpath=no 18295 15735 need_lib_prefix=no 18296 export_dynamic_flag_spec='${wl}-Blargedynsym'18297 15736 runpath_var=LD_RUN_PATH 18298 15737 ;; … … 18311 15750 sysv4*MP*) 18312 15751 if test -d /usr/nec ;then 18313 version_type=linux 15752 version_type=linux # correct to gnu/linux during the next big refactor 18314 15753 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 18315 15754 soname_spec='$libname${shared_ext}.$major' … … 18325 15764 soname_spec='${libname}${release}${shared_ext}$major' 18326 15765 shlibpath_var=LD_LIBRARY_PATH 15766 shlibpath_overrides_runpath=yes 18327 15767 hardcode_into_libs=yes 18328 15768 if test "$with_gnu_ld" = yes; then 18329 15769 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 18330 shlibpath_overrides_runpath=no18331 15770 else 18332 15771 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 18333 shlibpath_overrides_runpath=yes18334 15772 case $host_os in 18335 15773 sco3.2v5*) … … 18341 15779 ;; 18342 15780 15781 tpf*) 15782 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 15783 version_type=linux # correct to gnu/linux during the next big refactor 15784 need_lib_prefix=no 15785 need_version=no 15786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15787 shlibpath_var=LD_LIBRARY_PATH 15788 shlibpath_overrides_runpath=no 15789 hardcode_into_libs=yes 15790 ;; 15791 18343 15792 uts4*) 18344 version_type=linux 15793 version_type=linux # correct to gnu/linux during the next big refactor 18345 15794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18346 15795 soname_spec='${libname}${release}${shared_ext}$major' … … 18352 15801 ;; 18353 15802 esac 18354 echo "$as_me:$LINENO: result: $dynamic_linker" >&518355 echo "${ECHO_T}$dynamic_linker" >&6 15803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 15804 $as_echo "$dynamic_linker" >&6; } 18356 15805 test "$dynamic_linker" = no && can_build_shared=no 18357 15806 … … 18361 15810 fi 18362 15811 18363 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 18364 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 15812 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 15813 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 15814 fi 15815 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 15816 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 15817 fi 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 15911 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 18365 15912 hardcode_action= 18366 if test -n "$hardcode_libdir_flag_spec" || \18367 test -n "$runpath_var" || \15913 if test -n "$hardcode_libdir_flag_spec" || 15914 test -n "$runpath_var" || 18368 15915 test "X$hardcode_automatic" = "Xyes" ; then 18369 15916 18370 # We can hardcode non-exist ant directories.15917 # We can hardcode non-existent directories. 18371 15918 if test "$hardcode_direct" != no && 18372 15919 # If the only mechanism to avoid hardcoding is shlibpath_var, we 18373 15920 # have to relink, otherwise we might link with an installed library 18374 15921 # when we should be linking with a yet-to-be-installed one 18375 ## test "$_LT_ AC_TAGVAR(hardcode_shlibpath_var, )" != no &&15922 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 18376 15923 test "$hardcode_minus_L" != no; then 18377 15924 # Linking always hardcodes the temporary library directory. … … 18386 15933 hardcode_action=unsupported 18387 15934 fi 18388 echo "$as_me:$LINENO: result: $hardcode_action" >&5 18389 echo "${ECHO_T}$hardcode_action" >&6 18390 18391 if test "$hardcode_action" = relink; then 15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 15936 $as_echo "$hardcode_action" >&6; } 15937 15938 if test "$hardcode_action" = relink || 15939 test "$inherit_rpath" = yes; then 18392 15940 # Fast installation is not supported 18393 15941 enable_fast_install=no … … 18398 15946 fi 18399 15947 18400 striplib= 18401 old_striplib= 18402 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 18403 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 18404 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 18405 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 18406 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 18407 echo "$as_me:$LINENO: result: yes" >&5 18408 echo "${ECHO_T}yes" >&6 18409 else 18410 # FIXME - insert some real tests, host_os isn't really good enough 18411 case $host_os in 18412 darwin*) 18413 if test -n "$STRIP" ; then 18414 striplib="$STRIP -x" 18415 echo "$as_me:$LINENO: result: yes" >&5 18416 echo "${ECHO_T}yes" >&6 18417 else 18418 echo "$as_me:$LINENO: result: no" >&5 18419 echo "${ECHO_T}no" >&6 18420 fi 18421 ;; 18422 *) 18423 echo "$as_me:$LINENO: result: no" >&5 18424 echo "${ECHO_T}no" >&6 18425 ;; 18426 esac 18427 fi 18428 18429 if test "x$enable_dlopen" != xyes; then 15948 15949 15950 15951 15952 15953 if test "x$enable_dlopen" != xyes; then 18430 15954 enable_dlopen=unknown 18431 15955 enable_dlopen_self=unknown … … 18442 15966 ;; 18443 15967 18444 mingw* | pw32* )15968 mingw* | pw32* | cegcc*) 18445 15969 lt_cv_dlopen="LoadLibrary" 18446 15970 lt_cv_dlopen_libs= 18447 ;;15971 ;; 18448 15972 18449 15973 cygwin*) 18450 15974 lt_cv_dlopen="dlopen" 18451 15975 lt_cv_dlopen_libs= 18452 ;;15976 ;; 18453 15977 18454 15978 darwin*) 18455 15979 # if libdl is installed we need to link against it 18456 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&518457 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 18458 if test "${ac_cv_lib_dl_dlopen+set}" = set; then18459 echo $ECHO_N "(cached) $ECHO_C" >&615980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 15981 $as_echo_n "checking for dlopen in -ldl... " >&6; } 15982 if ${ac_cv_lib_dl_dlopen+:} false; then : 15983 $as_echo_n "(cached) " >&6 18460 15984 else 18461 15985 ac_check_lib_save_LIBS=$LIBS 18462 15986 LIBS="-ldl $LIBS" 18463 cat >conftest.$ac_ext <<_ACEOF 18464 /* confdefs.h. */ 18465 _ACEOF 18466 cat confdefs.h >>conftest.$ac_ext 18467 cat >>conftest.$ac_ext <<_ACEOF 15987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18468 15988 /* end confdefs.h. */ 18469 15989 18470 /* Override any gcc2 internal prototype to avoid an error. */ 15990 /* Override any GCC internal prototype to avoid an error. 15991 Use char because int might match the return type of a GCC 15992 builtin and then its argument prototype would still apply. */ 18471 15993 #ifdef __cplusplus 18472 15994 extern "C" 18473 15995 #endif 18474 /* We use char because int might match the return type of a gcc218475 builtin and then its argument prototype would still apply. */18476 15996 char dlopen (); 18477 15997 int 18478 15998 main () 18479 15999 { 18480 dlopen ();16000 return dlopen (); 18481 16001 ; 18482 16002 return 0; 18483 16003 } 18484 16004 _ACEOF 18485 rm -f conftest.$ac_objext conftest$ac_exeext 18486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18487 (eval $ac_link) 2>conftest.er1 18488 ac_status=$? 18489 grep -v '^ *+' conftest.er1 >conftest.err 18490 rm -f conftest.er1 18491 cat conftest.err >&5 18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18493 (exit $ac_status); } && 18494 { ac_try='test -z "$ac_c_werror_flag" 18495 || test ! -s conftest.err' 18496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18497 (eval $ac_try) 2>&5 18498 ac_status=$? 18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18500 (exit $ac_status); }; } && 18501 { ac_try='test -s conftest$ac_exeext' 18502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18503 (eval $ac_try) 2>&5 18504 ac_status=$? 18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18506 (exit $ac_status); }; }; then 16005 if ac_fn_c_try_link "$LINENO"; then : 18507 16006 ac_cv_lib_dl_dlopen=yes 18508 16007 else 18509 echo "$as_me: failed program was:" >&5 18510 sed 's/^/| /' conftest.$ac_ext >&5 18511 18512 ac_cv_lib_dl_dlopen=no 18513 fi 18514 rm -f conftest.err conftest.$ac_objext \ 18515 conftest$ac_exeext conftest.$ac_ext 16008 ac_cv_lib_dl_dlopen=no 16009 fi 16010 rm -f core conftest.err conftest.$ac_objext \ 16011 conftest$ac_exeext conftest.$ac_ext 18516 16012 LIBS=$ac_check_lib_save_LIBS 18517 16013 fi 18518 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&518519 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 18520 if test $ac_cv_lib_dl_dlopen = yes; then16014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 16015 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 16016 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 18521 16017 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 18522 16018 else … … 18528 16024 fi 18529 16025 18530 ;;16026 ;; 18531 16027 18532 16028 *) 18533 echo "$as_me:$LINENO: checking for shl_load" >&5 18534 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 18535 if test "${ac_cv_func_shl_load+set}" = set; then 18536 echo $ECHO_N "(cached) $ECHO_C" >&6 18537 else 18538 cat >conftest.$ac_ext <<_ACEOF 18539 /* confdefs.h. */ 18540 _ACEOF 18541 cat confdefs.h >>conftest.$ac_ext 18542 cat >>conftest.$ac_ext <<_ACEOF 16029 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 16030 if test "x$ac_cv_func_shl_load" = xyes; then : 16031 lt_cv_dlopen="shl_load" 16032 else 16033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 16034 $as_echo_n "checking for shl_load in -ldld... " >&6; } 16035 if ${ac_cv_lib_dld_shl_load+:} false; then : 16036 $as_echo_n "(cached) " >&6 16037 else 16038 ac_check_lib_save_LIBS=$LIBS 16039 LIBS="-ldld $LIBS" 16040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18543 16041 /* end confdefs.h. */ 18544 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 18545 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18546 #define shl_load innocuous_shl_load 18547 18548 /* System header to define __stub macros and hopefully few prototypes, 18549 which can conflict with char shl_load (); below. 18550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18551 <limits.h> exists even on freestanding compilers. */ 18552 18553 #ifdef __STDC__ 18554 # include <limits.h> 18555 #else 18556 # include <assert.h> 18557 #endif 18558 18559 #undef shl_load 18560 18561 /* Override any gcc2 internal prototype to avoid an error. */ 16042 16043 /* Override any GCC internal prototype to avoid an error. 16044 Use char because int might match the return type of a GCC 16045 builtin and then its argument prototype would still apply. */ 18562 16046 #ifdef __cplusplus 18563 16047 extern "C" 18564 {18565 16048 #endif 18566 /* We use char because int might match the return type of a gcc218567 builtin and then its argument prototype would still apply. */18568 16049 char shl_load (); 18569 /* The GNU C library defines this for functions which it implements18570 to always fail with ENOSYS. Some functions are actually named18571 something starting with __ and the normal name is an alias. */18572 #if defined (__stub_shl_load) || defined (__stub___shl_load)18573 choke me18574 #else18575 char (*f) () = shl_load;18576 #endif18577 #ifdef __cplusplus18578 }18579 #endif18580 18581 16050 int 18582 16051 main () 18583 16052 { 18584 return f != shl_load;16053 return shl_load (); 18585 16054 ; 18586 16055 return 0; 18587 16056 } 18588 16057 _ACEOF 18589 rm -f conftest.$ac_objext conftest$ac_exeext 18590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18591 (eval $ac_link) 2>conftest.er1 18592 ac_status=$? 18593 grep -v '^ *+' conftest.er1 >conftest.err 18594 rm -f conftest.er1 18595 cat conftest.err >&5 18596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18597 (exit $ac_status); } && 18598 { ac_try='test -z "$ac_c_werror_flag" 18599 || test ! -s conftest.err' 18600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18601 (eval $ac_try) 2>&5 18602 ac_status=$? 18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18604 (exit $ac_status); }; } && 18605 { ac_try='test -s conftest$ac_exeext' 18606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18607 (eval $ac_try) 2>&5 18608 ac_status=$? 18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18610 (exit $ac_status); }; }; then 18611 ac_cv_func_shl_load=yes 18612 else 18613 echo "$as_me: failed program was:" >&5 18614 sed 's/^/| /' conftest.$ac_ext >&5 18615 18616 ac_cv_func_shl_load=no 18617 fi 18618 rm -f conftest.err conftest.$ac_objext \ 18619 conftest$ac_exeext conftest.$ac_ext 18620 fi 18621 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 18622 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 18623 if test $ac_cv_func_shl_load = yes; then 18624 lt_cv_dlopen="shl_load" 18625 else 18626 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 18627 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 18628 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 18629 echo $ECHO_N "(cached) $ECHO_C" >&6 16058 if ac_fn_c_try_link "$LINENO"; then : 16059 ac_cv_lib_dld_shl_load=yes 16060 else 16061 ac_cv_lib_dld_shl_load=no 16062 fi 16063 rm -f core conftest.err conftest.$ac_objext \ 16064 conftest$ac_exeext conftest.$ac_ext 16065 LIBS=$ac_check_lib_save_LIBS 16066 fi 16067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 16068 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 16069 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 16070 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 16071 else 16072 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 16073 if test "x$ac_cv_func_dlopen" = xyes; then : 16074 lt_cv_dlopen="dlopen" 16075 else 16076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 16077 $as_echo_n "checking for dlopen in -ldl... " >&6; } 16078 if ${ac_cv_lib_dl_dlopen+:} false; then : 16079 $as_echo_n "(cached) " >&6 18630 16080 else 18631 16081 ac_check_lib_save_LIBS=$LIBS 18632 LIBS="-ldld $LIBS" 18633 cat >conftest.$ac_ext <<_ACEOF 18634 /* confdefs.h. */ 18635 _ACEOF 18636 cat confdefs.h >>conftest.$ac_ext 18637 cat >>conftest.$ac_ext <<_ACEOF 16082 LIBS="-ldl $LIBS" 16083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18638 16084 /* end confdefs.h. */ 18639 16085 18640 /* Override any gcc2 internal prototype to avoid an error. */ 16086 /* Override any GCC internal prototype to avoid an error. 16087 Use char because int might match the return type of a GCC 16088 builtin and then its argument prototype would still apply. */ 18641 16089 #ifdef __cplusplus 18642 16090 extern "C" 18643 16091 #endif 18644 /* We use char because int might match the return type of a gcc2 18645 builtin and then its argument prototype would still apply. */ 18646 char shl_load (); 16092 char dlopen (); 18647 16093 int 18648 16094 main () 18649 16095 { 18650 shl_load();16096 return dlopen (); 18651 16097 ; 18652 16098 return 0; 18653 16099 } 18654 16100 _ACEOF 18655 rm -f conftest.$ac_objext conftest$ac_exeext 18656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18657 (eval $ac_link) 2>conftest.er1 18658 ac_status=$? 18659 grep -v '^ *+' conftest.er1 >conftest.err 18660 rm -f conftest.er1 18661 cat conftest.err >&5 18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18663 (exit $ac_status); } && 18664 { ac_try='test -z "$ac_c_werror_flag" 18665 || test ! -s conftest.err' 18666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18667 (eval $ac_try) 2>&5 18668 ac_status=$? 18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18670 (exit $ac_status); }; } && 18671 { ac_try='test -s conftest$ac_exeext' 18672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18673 (eval $ac_try) 2>&5 18674 ac_status=$? 18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18676 (exit $ac_status); }; }; then 18677 ac_cv_lib_dld_shl_load=yes 18678 else 18679 echo "$as_me: failed program was:" >&5 18680 sed 's/^/| /' conftest.$ac_ext >&5 18681 18682 ac_cv_lib_dld_shl_load=no 18683 fi 18684 rm -f conftest.err conftest.$ac_objext \ 18685 conftest$ac_exeext conftest.$ac_ext 16101 if ac_fn_c_try_link "$LINENO"; then : 16102 ac_cv_lib_dl_dlopen=yes 16103 else 16104 ac_cv_lib_dl_dlopen=no 16105 fi 16106 rm -f core conftest.err conftest.$ac_objext \ 16107 conftest$ac_exeext conftest.$ac_ext 18686 16108 LIBS=$ac_check_lib_save_LIBS 18687 16109 fi 18688 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 18689 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 18690 if test $ac_cv_lib_dld_shl_load = yes; then 18691 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" 18692 else 18693 echo "$as_me:$LINENO: checking for dlopen" >&5 18694 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 18695 if test "${ac_cv_func_dlopen+set}" = set; then 18696 echo $ECHO_N "(cached) $ECHO_C" >&6 18697 else 18698 cat >conftest.$ac_ext <<_ACEOF 18699 /* confdefs.h. */ 18700 _ACEOF 18701 cat confdefs.h >>conftest.$ac_ext 18702 cat >>conftest.$ac_ext <<_ACEOF 16110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 16111 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 16112 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 16113 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 16114 else 16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 16116 $as_echo_n "checking for dlopen in -lsvld... " >&6; } 16117 if ${ac_cv_lib_svld_dlopen+:} false; then : 16118 $as_echo_n "(cached) " >&6 16119 else 16120 ac_check_lib_save_LIBS=$LIBS 16121 LIBS="-lsvld $LIBS" 16122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18703 16123 /* end confdefs.h. */ 18704 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 18705 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18706 #define dlopen innocuous_dlopen 18707 18708 /* System header to define __stub macros and hopefully few prototypes, 18709 which can conflict with char dlopen (); below. 18710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18711 <limits.h> exists even on freestanding compilers. */ 18712 18713 #ifdef __STDC__ 18714 # include <limits.h> 18715 #else 18716 # include <assert.h> 18717 #endif 18718 18719 #undef dlopen 18720 18721 /* Override any gcc2 internal prototype to avoid an error. */ 16124 16125 /* Override any GCC internal prototype to avoid an error. 16126 Use char because int might match the return type of a GCC 16127 builtin and then its argument prototype would still apply. */ 18722 16128 #ifdef __cplusplus 18723 16129 extern "C" 18724 {18725 16130 #endif 18726 /* We use char because int might match the return type of a gcc218727 builtin and then its argument prototype would still apply. */18728 16131 char dlopen (); 18729 /* The GNU C library defines this for functions which it implements18730 to always fail with ENOSYS. Some functions are actually named18731 something starting with __ and the normal name is an alias. */18732 #if defined (__stub_dlopen) || defined (__stub___dlopen)18733 choke me18734 #else18735 char (*f) () = dlopen;18736 #endif18737 #ifdef __cplusplus18738 }18739 #endif18740 18741 16132 int 18742 16133 main () 18743 16134 { 18744 return f != dlopen;16135 return dlopen (); 18745 16136 ; 18746 16137 return 0; 18747 16138 } 18748 16139 _ACEOF 18749 rm -f conftest.$ac_objext conftest$ac_exeext 18750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18751 (eval $ac_link) 2>conftest.er1 18752 ac_status=$? 18753 grep -v '^ *+' conftest.er1 >conftest.err 18754 rm -f conftest.er1 18755 cat conftest.err >&5 18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18757 (exit $ac_status); } && 18758 { ac_try='test -z "$ac_c_werror_flag" 18759 || test ! -s conftest.err' 18760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18761 (eval $ac_try) 2>&5 18762 ac_status=$? 18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18764 (exit $ac_status); }; } && 18765 { ac_try='test -s conftest$ac_exeext' 18766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18767 (eval $ac_try) 2>&5 18768 ac_status=$? 18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18770 (exit $ac_status); }; }; then 18771 ac_cv_func_dlopen=yes 18772 else 18773 echo "$as_me: failed program was:" >&5 18774 sed 's/^/| /' conftest.$ac_ext >&5 18775 18776 ac_cv_func_dlopen=no 18777 fi 18778 rm -f conftest.err conftest.$ac_objext \ 18779 conftest$ac_exeext conftest.$ac_ext 18780 fi 18781 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 18782 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 18783 if test $ac_cv_func_dlopen = yes; then 18784 lt_cv_dlopen="dlopen" 18785 else 18786 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 18787 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 18788 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 18789 echo $ECHO_N "(cached) $ECHO_C" >&6 16140 if ac_fn_c_try_link "$LINENO"; then : 16141 ac_cv_lib_svld_dlopen=yes 16142 else 16143 ac_cv_lib_svld_dlopen=no 16144 fi 16145 rm -f core conftest.err conftest.$ac_objext \ 16146 conftest$ac_exeext conftest.$ac_ext 16147 LIBS=$ac_check_lib_save_LIBS 16148 fi 16149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 16150 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 16151 if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 16152 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 16153 else 16154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 16155 $as_echo_n "checking for dld_link in -ldld... " >&6; } 16156 if ${ac_cv_lib_dld_dld_link+:} false; then : 16157 $as_echo_n "(cached) " >&6 18790 16158 else 18791 16159 ac_check_lib_save_LIBS=$LIBS 18792 LIBS="-ldl $LIBS" 18793 cat >conftest.$ac_ext <<_ACEOF 18794 /* confdefs.h. */ 18795 _ACEOF 18796 cat confdefs.h >>conftest.$ac_ext 18797 cat >>conftest.$ac_ext <<_ACEOF 16160 LIBS="-ldld $LIBS" 16161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18798 16162 /* end confdefs.h. */ 18799 16163 18800 /* Override any gcc2 internal prototype to avoid an error. */ 16164 /* Override any GCC internal prototype to avoid an error. 16165 Use char because int might match the return type of a GCC 16166 builtin and then its argument prototype would still apply. */ 18801 16167 #ifdef __cplusplus 18802 16168 extern "C" 18803 16169 #endif 18804 /* We use char because int might match the return type of a gcc2 18805 builtin and then its argument prototype would still apply. */ 18806 char dlopen (); 16170 char dld_link (); 18807 16171 int 18808 16172 main () 18809 16173 { 18810 dlopen();16174 return dld_link (); 18811 16175 ; 18812 16176 return 0; 18813 16177 } 18814 16178 _ACEOF 18815 rm -f conftest.$ac_objext conftest$ac_exeext 18816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18817 (eval $ac_link) 2>conftest.er1 18818 ac_status=$? 18819 grep -v '^ *+' conftest.er1 >conftest.err 18820 rm -f conftest.er1 18821 cat conftest.err >&5 18822 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18823 (exit $ac_status); } && 18824 { ac_try='test -z "$ac_c_werror_flag" 18825 || test ! -s conftest.err' 18826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18827 (eval $ac_try) 2>&5 18828 ac_status=$? 18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18830 (exit $ac_status); }; } && 18831 { ac_try='test -s conftest$ac_exeext' 18832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18833 (eval $ac_try) 2>&5 18834 ac_status=$? 18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18836 (exit $ac_status); }; }; then 18837 ac_cv_lib_dl_dlopen=yes 18838 else 18839 echo "$as_me: failed program was:" >&5 18840 sed 's/^/| /' conftest.$ac_ext >&5 18841 18842 ac_cv_lib_dl_dlopen=no 18843 fi 18844 rm -f conftest.err conftest.$ac_objext \ 18845 conftest$ac_exeext conftest.$ac_ext 16179 if ac_fn_c_try_link "$LINENO"; then : 16180 ac_cv_lib_dld_dld_link=yes 16181 else 16182 ac_cv_lib_dld_dld_link=no 16183 fi 16184 rm -f core conftest.err conftest.$ac_objext \ 16185 conftest$ac_exeext conftest.$ac_ext 18846 16186 LIBS=$ac_check_lib_save_LIBS 18847 16187 fi 18848 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 18849 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 18850 if test $ac_cv_lib_dl_dlopen = yes; then 18851 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 18852 else 18853 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 18854 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 18855 if test "${ac_cv_lib_svld_dlopen+set}" = set; then 18856 echo $ECHO_N "(cached) $ECHO_C" >&6 18857 else 18858 ac_check_lib_save_LIBS=$LIBS 18859 LIBS="-lsvld $LIBS" 18860 cat >conftest.$ac_ext <<_ACEOF 18861 /* confdefs.h. */ 18862 _ACEOF 18863 cat confdefs.h >>conftest.$ac_ext 18864 cat >>conftest.$ac_ext <<_ACEOF 18865 /* end confdefs.h. */ 18866 18867 /* Override any gcc2 internal prototype to avoid an error. */ 18868 #ifdef __cplusplus 18869 extern "C" 18870 #endif 18871 /* We use char because int might match the return type of a gcc2 18872 builtin and then its argument prototype would still apply. */ 18873 char dlopen (); 18874 int 18875 main () 18876 { 18877 dlopen (); 18878 ; 18879 return 0; 18880 } 18881 _ACEOF 18882 rm -f conftest.$ac_objext conftest$ac_exeext 18883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18884 (eval $ac_link) 2>conftest.er1 18885 ac_status=$? 18886 grep -v '^ *+' conftest.er1 >conftest.err 18887 rm -f conftest.er1 18888 cat conftest.err >&5 18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18890 (exit $ac_status); } && 18891 { ac_try='test -z "$ac_c_werror_flag" 18892 || test ! -s conftest.err' 18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18894 (eval $ac_try) 2>&5 18895 ac_status=$? 18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18897 (exit $ac_status); }; } && 18898 { ac_try='test -s conftest$ac_exeext' 18899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18900 (eval $ac_try) 2>&5 18901 ac_status=$? 18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18903 (exit $ac_status); }; }; then 18904 ac_cv_lib_svld_dlopen=yes 18905 else 18906 echo "$as_me: failed program was:" >&5 18907 sed 's/^/| /' conftest.$ac_ext >&5 18908 18909 ac_cv_lib_svld_dlopen=no 18910 fi 18911 rm -f conftest.err conftest.$ac_objext \ 18912 conftest$ac_exeext conftest.$ac_ext 18913 LIBS=$ac_check_lib_save_LIBS 18914 fi 18915 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 18916 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 18917 if test $ac_cv_lib_svld_dlopen = yes; then 18918 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 18919 else 18920 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 18921 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 18922 if test "${ac_cv_lib_dld_dld_link+set}" = set; then 18923 echo $ECHO_N "(cached) $ECHO_C" >&6 18924 else 18925 ac_check_lib_save_LIBS=$LIBS 18926 LIBS="-ldld $LIBS" 18927 cat >conftest.$ac_ext <<_ACEOF 18928 /* confdefs.h. */ 18929 _ACEOF 18930 cat confdefs.h >>conftest.$ac_ext 18931 cat >>conftest.$ac_ext <<_ACEOF 18932 /* end confdefs.h. */ 18933 18934 /* Override any gcc2 internal prototype to avoid an error. */ 18935 #ifdef __cplusplus 18936 extern "C" 18937 #endif 18938 /* We use char because int might match the return type of a gcc2 18939 builtin and then its argument prototype would still apply. */ 18940 char dld_link (); 18941 int 18942 main () 18943 { 18944 dld_link (); 18945 ; 18946 return 0; 18947 } 18948 _ACEOF 18949 rm -f conftest.$ac_objext conftest$ac_exeext 18950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18951 (eval $ac_link) 2>conftest.er1 18952 ac_status=$? 18953 grep -v '^ *+' conftest.er1 >conftest.err 18954 rm -f conftest.er1 18955 cat conftest.err >&5 18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18957 (exit $ac_status); } && 18958 { ac_try='test -z "$ac_c_werror_flag" 18959 || test ! -s conftest.err' 18960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18961 (eval $ac_try) 2>&5 18962 ac_status=$? 18963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18964 (exit $ac_status); }; } && 18965 { ac_try='test -s conftest$ac_exeext' 18966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18967 (eval $ac_try) 2>&5 18968 ac_status=$? 18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18970 (exit $ac_status); }; }; then 18971 ac_cv_lib_dld_dld_link=yes 18972 else 18973 echo "$as_me: failed program was:" >&5 18974 sed 's/^/| /' conftest.$ac_ext >&5 18975 18976 ac_cv_lib_dld_dld_link=no 18977 fi 18978 rm -f conftest.err conftest.$ac_objext \ 18979 conftest$ac_exeext conftest.$ac_ext 18980 LIBS=$ac_check_lib_save_LIBS 18981 fi 18982 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 18983 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 18984 if test $ac_cv_lib_dld_dld_link = yes; then 18985 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" 16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 16189 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 16190 if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 16191 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 18986 16192 fi 18987 16193 … … 19021 16227 LIBS="$lt_cv_dlopen_libs $LIBS" 19022 16228 19023 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&519024 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 19025 if test "${lt_cv_dlopen_self+set}" = set; then19026 echo $ECHO_N "(cached) $ECHO_C" >&616229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 16230 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 16231 if ${lt_cv_dlopen_self+:} false; then : 16232 $as_echo_n "(cached) " >&6 19027 16233 else 19028 16234 if test "$cross_compiling" = yes; then : … … 19031 16237 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 19032 16238 lt_status=$lt_dlunknown 19033 cat > conftest.$ac_ext << EOF19034 #line 19034"configure"16239 cat > conftest.$ac_ext <<_LT_EOF 16240 #line $LINENO "configure" 19035 16241 #include "confdefs.h" 19036 16242 … … 19073 16279 #endif 19074 16280 19075 #ifdef __cplusplus 19076 extern "C" void exit (int); 16281 /* When -fvisbility=hidden is used, assume the code has been annotated 16282 correspondingly for the symbols needed. */ 16283 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 16284 int fnord () __attribute__((visibility("default"))); 19077 16285 #endif 19078 16286 19079 void fnord() { int i=42;}16287 int fnord () { return 42; } 19080 16288 int main () 19081 16289 { … … 19086 16294 { 19087 16295 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 19088 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 16296 else 16297 { 16298 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 16299 else puts (dlerror ()); 16300 } 19089 16301 /* dlclose (self); */ 19090 16302 } … … 19092 16304 puts (dlerror ()); 19093 16305 19094 exit (status);16306 return status; 19095 16307 } 19096 EOF19097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"")>&516308 _LT_EOF 16309 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 19098 16310 (eval $ac_link) 2>&5 19099 16311 ac_status=$? 19100 echo "$as_me:$LINENO: \$? = $ac_status" >&519101 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then16312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16313 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 19102 16314 (./conftest; exit; ) >&5 2>/dev/null 19103 16315 lt_status=$? … … 19116 16328 19117 16329 fi 19118 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&519119 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 16330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 16331 $as_echo "$lt_cv_dlopen_self" >&6; } 19120 16332 19121 16333 if test "x$lt_cv_dlopen_self" = xyes; then 19122 16334 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 19123 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&519124 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 19125 if test "${lt_cv_dlopen_self_static+set}" = set; then19126 echo $ECHO_N "(cached) $ECHO_C" >&616335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 16336 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 16337 if ${lt_cv_dlopen_self_static+:} false; then : 16338 $as_echo_n "(cached) " >&6 19127 16339 else 19128 16340 if test "$cross_compiling" = yes; then : … … 19131 16343 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 19132 16344 lt_status=$lt_dlunknown 19133 cat > conftest.$ac_ext << EOF19134 #line 19134"configure"16345 cat > conftest.$ac_ext <<_LT_EOF 16346 #line $LINENO "configure" 19135 16347 #include "confdefs.h" 19136 16348 … … 19173 16385 #endif 19174 16386 19175 #ifdef __cplusplus 19176 extern "C" void exit (int); 16387 /* When -fvisbility=hidden is used, assume the code has been annotated 16388 correspondingly for the symbols needed. */ 16389 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 16390 int fnord () __attribute__((visibility("default"))); 19177 16391 #endif 19178 16392 19179 void fnord() { int i=42;}16393 int fnord () { return 42; } 19180 16394 int main () 19181 16395 { … … 19186 16400 { 19187 16401 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 19188 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 16402 else 16403 { 16404 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 16405 else puts (dlerror ()); 16406 } 19189 16407 /* dlclose (self); */ 19190 16408 } … … 19192 16410 puts (dlerror ()); 19193 16411 19194 exit (status);16412 return status; 19195 16413 } 19196 EOF19197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"")>&516414 _LT_EOF 16415 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 19198 16416 (eval $ac_link) 2>&5 19199 16417 ac_status=$? 19200 echo "$as_me:$LINENO: \$? = $ac_status" >&519201 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then16418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16419 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 19202 16420 (./conftest; exit; ) >&5 2>/dev/null 19203 16421 lt_status=$? … … 19216 16434 19217 16435 fi 19218 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&519219 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 16437 $as_echo "$lt_cv_dlopen_self_static" >&6; } 19220 16438 fi 19221 16439 … … 19238 16456 19239 16457 19240 # Report which library types will actually be built 19241 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 19242 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 19243 echo "$as_me:$LINENO: result: $can_build_shared" >&5 19244 echo "${ECHO_T}$can_build_shared" >&6 19245 19246 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 19247 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 19248 test "$can_build_shared" = "no" && enable_shared=no 19249 19250 # On AIX, shared libraries and static libraries use the same namespace, and 19251 # are all built from PIC. 19252 case $host_os in 19253 aix3*) 19254 test "$enable_shared" = yes && enable_static=no 19255 if test -n "$RANLIB"; then 19256 archive_cmds="$archive_cmds~\$RANLIB \$lib" 19257 postinstall_cmds='$RANLIB $lib' 19258 fi 19259 ;; 19260 19261 aix4* | aix5*) 19262 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 19263 test "$enable_shared" = yes && enable_static=no 19264 fi 16458 16459 16460 16461 16462 16463 16464 16465 16466 16467 16468 16469 16470 16471 16472 16473 striplib= 16474 old_striplib= 16475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 16476 $as_echo_n "checking whether stripping libraries is possible... " >&6; } 16477 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 16478 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 16479 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16481 $as_echo "yes" >&6; } 16482 else 16483 # FIXME - insert some real tests, host_os isn't really good enough 16484 case $host_os in 16485 darwin*) 16486 if test -n "$STRIP" ; then 16487 striplib="$STRIP -x" 16488 old_striplib="$STRIP -S" 16489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16490 $as_echo "yes" >&6; } 16491 else 16492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16493 $as_echo "no" >&6; } 16494 fi 19265 16495 ;; 19266 esac 19267 echo "$as_me:$LINENO: result: $enable_shared" >&5 19268 echo "${ECHO_T}$enable_shared" >&6 19269 19270 echo "$as_me:$LINENO: checking whether to build static libraries" >&5 19271 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 19272 # Make sure either enable_shared or enable_static is yes. 19273 test "$enable_shared" = yes || enable_static=yes 19274 echo "$as_me:$LINENO: result: $enable_static" >&5 19275 echo "${ECHO_T}$enable_static" >&6 19276 19277 # The else clause should only fire when bootstrapping the 19278 # libtool distribution, otherwise you forgot to ship ltmain.sh 19279 # with your package, and you will get complaints that there are 19280 # no rules to generate ltmain.sh. 19281 if test -f "$ltmain"; then 19282 # See if we are running on zsh, and set the options which allow our commands through 19283 # without removal of \ escapes. 19284 if test -n "${ZSH_VERSION+set}" ; then 19285 setopt NO_GLOB_SUBST 19286 fi 19287 # Now quote all the things that may contain metacharacters while being 19288 # careful not to overquote the AC_SUBSTed values. We take copies of the 19289 # variables and quote the copies for generation of the libtool script. 19290 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ 19291 SED SHELL STRIP \ 19292 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 19293 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 19294 deplibs_check_method reload_flag reload_cmds need_locks \ 19295 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 19296 lt_cv_sys_global_symbol_to_c_name_address \ 19297 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 19298 old_postinstall_cmds old_postuninstall_cmds \ 19299 compiler \ 19300 CC \ 19301 LD \ 19302 lt_prog_compiler_wl \ 19303 lt_prog_compiler_pic \ 19304 lt_prog_compiler_static \ 19305 lt_prog_compiler_no_builtin_flag \ 19306 export_dynamic_flag_spec \ 19307 thread_safe_flag_spec \ 19308 whole_archive_flag_spec \ 19309 enable_shared_with_static_runtimes \ 19310 old_archive_cmds \ 19311 old_archive_from_new_cmds \ 19312 predep_objects \ 19313 postdep_objects \ 19314 predeps \ 19315 postdeps \ 19316 compiler_lib_search_path \ 19317 archive_cmds \ 19318 archive_expsym_cmds \ 19319 postinstall_cmds \ 19320 postuninstall_cmds \ 19321 old_archive_from_expsyms_cmds \ 19322 allow_undefined_flag \ 19323 no_undefined_flag \ 19324 export_symbols_cmds \ 19325 hardcode_libdir_flag_spec \ 19326 hardcode_libdir_flag_spec_ld \ 19327 hardcode_libdir_separator \ 19328 hardcode_automatic \ 19329 module_cmds \ 19330 module_expsym_cmds \ 19331 lt_cv_prog_compiler_c_o \ 19332 exclude_expsyms \ 19333 include_expsyms; do 19334 19335 case $var in 19336 old_archive_cmds | \ 19337 old_archive_from_new_cmds | \ 19338 archive_cmds | \ 19339 archive_expsym_cmds | \ 19340 module_cmds | \ 19341 module_expsym_cmds | \ 19342 old_archive_from_expsyms_cmds | \ 19343 export_symbols_cmds | \ 19344 extract_expsyms_cmds | reload_cmds | finish_cmds | \ 19345 postinstall_cmds | postuninstall_cmds | \ 19346 old_postinstall_cmds | old_postuninstall_cmds | \ 19347 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 19348 # Double-quote double-evaled strings. 19349 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 19350 ;; 19351 *) 19352 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 19353 ;; 19354 esac 19355 done 19356 19357 case $lt_echo in 19358 *'\$0 --fallback-echo"') 19359 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` 16496 *) 16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16498 $as_echo "no" >&6; } 19360 16499 ;; 19361 16500 esac 19362 19363 cfgfile="${ofile}T" 19364 trap "$rm \"$cfgfile\"; exit 1" 1 2 15 19365 $rm -f "$cfgfile" 19366 { echo "$as_me:$LINENO: creating $ofile" >&5 19367 echo "$as_me: creating $ofile" >&6;} 19368 19369 cat <<__EOF__ >> "$cfgfile" 19370 #! $SHELL 19371 19372 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 19373 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) 19374 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 19375 # 19376 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 19377 # Free Software Foundation, Inc. 19378 # 19379 # This file is part of GNU Libtool: 19380 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 19381 # 19382 # This program is free software; you can redistribute it and/or modify 19383 # it under the terms of the GNU General Public License as published by 19384 # the Free Software Foundation; either version 2 of the License, or 19385 # (at your option) any later version. 19386 # 19387 # This program is distributed in the hope that it will be useful, but 19388 # WITHOUT ANY WARRANTY; without even the implied warranty of 19389 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19390 # General Public License for more details. 19391 # 19392 # You should have received a copy of the GNU General Public License 19393 # along with this program; if not, write to the Free Software 19394 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 19395 # 19396 # As a special exception to the GNU General Public License, if you 19397 # distribute this file as part of a program that contains a 19398 # configuration script generated by Autoconf, you may include it under 19399 # the same distribution terms that you use for the rest of that program. 19400 19401 # A sed program that does not truncate output. 19402 SED=$lt_SED 19403 19404 # Sed that helps us avoid accidentally triggering echo(1) options like -n. 19405 Xsed="$SED -e 1s/^X//" 19406 19407 # The HP-UX ksh and POSIX shell print the target directory to stdout 19408 # if CDPATH is set. 19409 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 19410 19411 # The names of the tagged configurations supported by this script. 19412 available_tags= 19413 19414 # ### BEGIN LIBTOOL CONFIG 19415 19416 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 19417 19418 # Shell to use when invoking shell scripts. 19419 SHELL=$lt_SHELL 19420 19421 # Whether or not to build shared libraries. 19422 build_libtool_libs=$enable_shared 19423 19424 # Whether or not to build static libraries. 19425 build_old_libs=$enable_static 19426 19427 # Whether or not to add -lc for building shared libraries. 19428 build_libtool_need_lc=$archive_cmds_need_lc 19429 19430 # Whether or not to disallow shared libs when runtime libs are static 19431 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 19432 19433 # Whether or not to optimize for fast installation. 19434 fast_install=$enable_fast_install 19435 19436 # The host system. 19437 host_alias=$host_alias 19438 host=$host 19439 host_os=$host_os 19440 19441 # The build system. 19442 build_alias=$build_alias 19443 build=$build 19444 build_os=$build_os 19445 19446 # An echo program that does not interpret backslashes. 19447 echo=$lt_echo 19448 19449 # The archiver. 19450 AR=$lt_AR 19451 AR_FLAGS=$lt_AR_FLAGS 19452 19453 # A C compiler. 19454 LTCC=$lt_LTCC 19455 19456 # LTCC compiler flags. 19457 LTCFLAGS=$lt_LTCFLAGS 19458 19459 # A language-specific compiler. 19460 CC=$lt_compiler 19461 19462 # Is the compiler the GNU C compiler? 19463 with_gcc=$GCC 19464 19465 # An ERE matcher. 19466 EGREP=$lt_EGREP 19467 19468 # The linker used to build libraries. 19469 LD=$lt_LD 19470 19471 # Whether we need hard or soft links. 19472 LN_S=$lt_LN_S 19473 19474 # A BSD-compatible nm program. 19475 NM=$lt_NM 19476 19477 # A symbol stripping program 19478 STRIP=$lt_STRIP 19479 19480 # Used to examine libraries when file_magic_cmd begins "file" 19481 MAGIC_CMD=$MAGIC_CMD 19482 19483 # Used on cygwin: DLL creation program. 19484 DLLTOOL="$DLLTOOL" 19485 19486 # Used on cygwin: object dumper. 19487 OBJDUMP="$OBJDUMP" 19488 19489 # Used on cygwin: assembler. 19490 AS="$AS" 19491 19492 # The name of the directory that contains temporary libtool files. 19493 objdir=$objdir 19494 19495 # How to create reloadable object files. 19496 reload_flag=$lt_reload_flag 19497 reload_cmds=$lt_reload_cmds 19498 19499 # How to pass a linker flag through the compiler. 19500 wl=$lt_lt_prog_compiler_wl 19501 19502 # Object file suffix (normally "o"). 19503 objext="$ac_objext" 19504 19505 # Old archive suffix (normally "a"). 19506 libext="$libext" 19507 19508 # Shared library suffix (normally ".so"). 19509 shrext_cmds='$shrext_cmds' 19510 19511 # Executable file suffix (normally ""). 19512 exeext="$exeext" 19513 19514 # Additional compiler flags for building library objects. 19515 pic_flag=$lt_lt_prog_compiler_pic 19516 pic_mode=$pic_mode 19517 19518 # What is the maximum length of a command? 19519 max_cmd_len=$lt_cv_sys_max_cmd_len 19520 19521 # Does compiler simultaneously support -c and -o options? 19522 compiler_c_o=$lt_lt_cv_prog_compiler_c_o 19523 19524 # Must we lock files when doing compilation? 19525 need_locks=$lt_need_locks 19526 19527 # Do we need the lib prefix for modules? 19528 need_lib_prefix=$need_lib_prefix 19529 19530 # Do we need a version for libraries? 19531 need_version=$need_version 19532 19533 # Whether dlopen is supported. 19534 dlopen_support=$enable_dlopen 19535 19536 # Whether dlopen of programs is supported. 19537 dlopen_self=$enable_dlopen_self 19538 19539 # Whether dlopen of statically linked programs is supported. 19540 dlopen_self_static=$enable_dlopen_self_static 19541 19542 # Compiler flag to prevent dynamic linking. 19543 link_static_flag=$lt_lt_prog_compiler_static 19544 19545 # Compiler flag to turn off builtin functions. 19546 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 19547 19548 # Compiler flag to allow reflexive dlopens. 19549 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 19550 19551 # Compiler flag to generate shared objects directly from archives. 19552 whole_archive_flag_spec=$lt_whole_archive_flag_spec 19553 19554 # Compiler flag to generate thread-safe objects. 19555 thread_safe_flag_spec=$lt_thread_safe_flag_spec 19556 19557 # Library versioning type. 19558 version_type=$version_type 19559 19560 # Format of library name prefix. 19561 libname_spec=$lt_libname_spec 19562 19563 # List of archive names. First name is the real one, the rest are links. 19564 # The last name is the one that the linker finds with -lNAME. 19565 library_names_spec=$lt_library_names_spec 19566 19567 # The coded name of the library, if different from the real name. 19568 soname_spec=$lt_soname_spec 19569 19570 # Commands used to build and install an old-style archive. 19571 RANLIB=$lt_RANLIB 19572 old_archive_cmds=$lt_old_archive_cmds 19573 old_postinstall_cmds=$lt_old_postinstall_cmds 19574 old_postuninstall_cmds=$lt_old_postuninstall_cmds 19575 19576 # Create an old-style archive from a shared archive. 19577 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 19578 19579 # Create a temporary old-style archive to link instead of a shared archive. 19580 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 19581 19582 # Commands used to build and install a shared archive. 19583 archive_cmds=$lt_archive_cmds 19584 archive_expsym_cmds=$lt_archive_expsym_cmds 19585 postinstall_cmds=$lt_postinstall_cmds 19586 postuninstall_cmds=$lt_postuninstall_cmds 19587 19588 # Commands used to build a loadable module (assumed same as above if empty) 19589 module_cmds=$lt_module_cmds 19590 module_expsym_cmds=$lt_module_expsym_cmds 19591 19592 # Commands to strip libraries. 19593 old_striplib=$lt_old_striplib 19594 striplib=$lt_striplib 19595 19596 # Dependencies to place before the objects being linked to create a 19597 # shared library. 19598 predep_objects=$lt_predep_objects 19599 19600 # Dependencies to place after the objects being linked to create a 19601 # shared library. 19602 postdep_objects=$lt_postdep_objects 19603 19604 # Dependencies to place before the objects being linked to create a 19605 # shared library. 19606 predeps=$lt_predeps 19607 19608 # Dependencies to place after the objects being linked to create a 19609 # shared library. 19610 postdeps=$lt_postdeps 19611 19612 # The library search path used internally by the compiler when linking 19613 # a shared library. 19614 compiler_lib_search_path=$lt_compiler_lib_search_path 19615 19616 # Method to check whether dependent libraries are shared objects. 19617 deplibs_check_method=$lt_deplibs_check_method 19618 19619 # Command to use when deplibs_check_method == file_magic. 19620 file_magic_cmd=$lt_file_magic_cmd 19621 19622 # Flag that allows shared libraries with undefined symbols to be built. 19623 allow_undefined_flag=$lt_allow_undefined_flag 19624 19625 # Flag that forces no undefined symbols. 19626 no_undefined_flag=$lt_no_undefined_flag 19627 19628 # Commands used to finish a libtool library installation in a directory. 19629 finish_cmds=$lt_finish_cmds 19630 19631 # Same as above, but a single script fragment to be evaled but not shown. 19632 finish_eval=$lt_finish_eval 19633 19634 # Take the output of nm and produce a listing of raw symbols and C names. 19635 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 19636 19637 # Transform the output of nm in a proper C declaration 19638 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 19639 19640 # Transform the output of nm in a C name address pair 19641 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 19642 19643 # This is the shared library runtime path variable. 19644 runpath_var=$runpath_var 19645 19646 # This is the shared library path variable. 19647 shlibpath_var=$shlibpath_var 19648 19649 # Is shlibpath searched before the hard-coded library search path? 19650 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 19651 19652 # How to hardcode a shared library path into an executable. 19653 hardcode_action=$hardcode_action 19654 19655 # Whether we should hardcode library paths into libraries. 19656 hardcode_into_libs=$hardcode_into_libs 19657 19658 # Flag to hardcode \$libdir into a binary during linking. 19659 # This must work even if \$libdir does not exist. 19660 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 19661 19662 # If ld is used when linking, flag to hardcode \$libdir into 19663 # a binary during linking. This must work even if \$libdir does 19664 # not exist. 19665 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 19666 19667 # Whether we need a single -rpath flag with a separated argument. 19668 hardcode_libdir_separator=$lt_hardcode_libdir_separator 19669 19670 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the 19671 # resulting binary. 19672 hardcode_direct=$hardcode_direct 19673 19674 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the 19675 # resulting binary. 19676 hardcode_minus_L=$hardcode_minus_L 19677 19678 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 19679 # the resulting binary. 19680 hardcode_shlibpath_var=$hardcode_shlibpath_var 19681 19682 # Set to yes if building a shared library automatically hardcodes DIR into the library 19683 # and all subsequent libraries and executables linked against it. 19684 hardcode_automatic=$hardcode_automatic 19685 19686 # Variables whose values should be saved in libtool wrapper scripts and 19687 # restored at relink time. 19688 variables_saved_for_relink="$variables_saved_for_relink" 19689 19690 # Whether libtool must link a program against all its dependency libraries. 19691 link_all_deplibs=$link_all_deplibs 19692 19693 # Compile-time system search path for libraries 19694 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 19695 19696 # Run-time system search path for libraries 19697 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 19698 19699 # Fix the shell variable \$srcfile for the compiler. 19700 fix_srcfile_path="$fix_srcfile_path" 19701 19702 # Set to yes if exported symbols are required. 19703 always_export_symbols=$always_export_symbols 19704 19705 # The commands to list exported symbols. 19706 export_symbols_cmds=$lt_export_symbols_cmds 19707 19708 # The commands to extract the exported symbol list from a shared archive. 19709 extract_expsyms_cmds=$lt_extract_expsyms_cmds 19710 19711 # Symbols that should not be listed in the preloaded symbols. 19712 exclude_expsyms=$lt_exclude_expsyms 19713 19714 # Symbols that must always be exported. 19715 include_expsyms=$lt_include_expsyms 19716 19717 # ### END LIBTOOL CONFIG 19718 19719 __EOF__ 19720 19721 16501 fi 16502 16503 16504 16505 16506 16507 16508 16509 16510 16511 16512 16513 16514 # Report which library types will actually be built 16515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 16516 $as_echo_n "checking if libtool supports shared libraries... " >&6; } 16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 16518 $as_echo "$can_build_shared" >&6; } 16519 16520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 16521 $as_echo_n "checking whether to build shared libraries... " >&6; } 16522 test "$can_build_shared" = "no" && enable_shared=no 16523 16524 # On AIX, shared libraries and static libraries use the same namespace, and 16525 # are all built from PIC. 19722 16526 case $host_os in 19723 16527 aix3*) 19724 cat <<\EOF >> "$cfgfile" 19725 19726 # AIX sometimes has problems with the GCC collect2 program. For some 19727 # reason, if we set the COLLECT_NAMES environment variable, the problems 19728 # vanish in a puff of smoke. 19729 if test "X${COLLECT_NAMES+set}" != Xset; then 19730 COLLECT_NAMES= 19731 export COLLECT_NAMES 19732 fi 19733 EOF 16528 test "$enable_shared" = yes && enable_static=no 16529 if test -n "$RANLIB"; then 16530 archive_cmds="$archive_cmds~\$RANLIB \$lib" 16531 postinstall_cmds='$RANLIB $lib' 16532 fi 16533 ;; 16534 16535 aix[4-9]*) 16536 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 16537 test "$enable_shared" = yes && enable_static=no 16538 fi 19734 16539 ;; 19735 16540 esac 19736 19737 # We use sed instead of cat because bash on DJGPP gets confused if 19738 # if finds mixed CR/LF and LF-only lines. Since sed operates in 19739 # text mode, it properly converts lines to CR/LF. This bash problem 19740 # is reportedly fixed, but why not run on old versions too? 19741 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) 19742 19743 mv -f "$cfgfile" "$ofile" || \ 19744 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 19745 chmod +x "$ofile" 19746 19747 else 19748 # If there is no Makefile yet, we rely on a make rule to execute 19749 # `config.status --recheck' to rerun these tests and create the 19750 # libtool script then. 19751 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 19752 if test -f "$ltmain_in"; then 19753 test -f Makefile && make "$ltmain" 19754 fi 19755 fi 19756 19757 16541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 16542 $as_echo "$enable_shared" >&6; } 16543 16544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 16545 $as_echo_n "checking whether to build static libraries... " >&6; } 16546 # Make sure either enable_shared or enable_static is yes. 16547 test "$enable_shared" = yes || enable_static=yes 16548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 16549 $as_echo "$enable_static" >&6; } 16550 16551 16552 16553 16554 fi 19758 16555 ac_ext=c 19759 16556 ac_cpp='$CPP $CPPFLAGS' … … 19764 16561 CC="$lt_save_CC" 19765 16562 19766 19767 # Check whether --with-tags or --without-tags was given. 19768 if test "${with_tags+set}" = set; then 19769 withval="$with_tags" 19770 tagnames="$withval" 19771 fi; 19772 19773 if test -f "$ltmain" && test -n "$tagnames"; then 19774 if test ! -f "${ofile}"; then 19775 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 19776 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} 19777 fi 19778 19779 if test -z "$LTCC"; then 19780 eval "`$SHELL ${ofile} --config | grep '^LTCC='`" 19781 if test -z "$LTCC"; then 19782 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 19783 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} 19784 else 19785 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 19786 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} 19787 fi 19788 fi 19789 if test -z "$LTCFLAGS"; then 19790 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" 19791 fi 19792 19793 # Extract list of available tagged configurations in $ofile. 19794 # Note that this assumes the entire list is on one line. 19795 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` 19796 19797 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 19798 for tagname in $tagnames; do 19799 IFS="$lt_save_ifs" 19800 # Check whether tagname contains only valid characters 19801 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in 19802 "") ;; 19803 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 19804 echo "$as_me: error: invalid tag name: $tagname" >&2;} 19805 { (exit 1); exit 1; }; } 19806 ;; 19807 esac 19808 19809 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null 19810 then 19811 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 19812 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} 19813 { (exit 1); exit 1; }; } 19814 fi 19815 19816 # Update the list of available tags. 19817 if test -n "$tagname"; then 19818 echo appending configuration tag \"$tagname\" to $ofile 19819 19820 case $tagname in 19821 CXX) 19822 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 19823 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 19824 (test "X$CXX" != "Xg++"))) ; then 19825 ac_ext=cc 16563 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 16564 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 16565 (test "X$CXX" != "Xg++"))) ; then 16566 ac_ext=cpp 19826 16567 ac_cpp='$CXXCPP $CPPFLAGS' 19827 16568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19828 16569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19829 16570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 19830 19831 19832 16571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 16572 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 16573 if test -z "$CXXCPP"; then 16574 if ${ac_cv_prog_CXXCPP+:} false; then : 16575 $as_echo_n "(cached) " >&6 16576 else 16577 # Double quotes because CXXCPP needs to be expanded 16578 for CXXCPP in "$CXX -E" "/lib/cpp" 16579 do 16580 ac_preproc_ok=false 16581 for ac_cxx_preproc_warn_flag in '' yes 16582 do 16583 # Use a header file that comes with gcc, so configuring glibc 16584 # with a fresh cross-compiler works. 16585 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16586 # <limits.h> exists even on freestanding compilers. 16587 # On the NeXT, cc -E runs the code through the compiler's parser, 16588 # not just through cpp. "Syntax error" is here to catch this case. 16589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16590 /* end confdefs.h. */ 16591 #ifdef __STDC__ 16592 # include <limits.h> 16593 #else 16594 # include <assert.h> 16595 #endif 16596 Syntax error 16597 _ACEOF 16598 if ac_fn_cxx_try_cpp "$LINENO"; then : 16599 16600 else 16601 # Broken: fails on valid input. 16602 continue 16603 fi 16604 rm -f conftest.err conftest.i conftest.$ac_ext 16605 16606 # OK, works on sane cases. Now check whether nonexistent headers 16607 # can be detected and how. 16608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16609 /* end confdefs.h. */ 16610 #include <ac_nonexistent.h> 16611 _ACEOF 16612 if ac_fn_cxx_try_cpp "$LINENO"; then : 16613 # Broken: success on invalid input. 16614 continue 16615 else 16616 # Passes both tests. 16617 ac_preproc_ok=: 16618 break 16619 fi 16620 rm -f conftest.err conftest.i conftest.$ac_ext 16621 16622 done 16623 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 16624 rm -f conftest.i conftest.err conftest.$ac_ext 16625 if $ac_preproc_ok; then : 16626 break 16627 fi 16628 16629 done 16630 ac_cv_prog_CXXCPP=$CXXCPP 16631 16632 fi 16633 CXXCPP=$ac_cv_prog_CXXCPP 16634 else 16635 ac_cv_prog_CXXCPP=$CXXCPP 16636 fi 16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 16638 $as_echo "$CXXCPP" >&6; } 16639 ac_preproc_ok=false 16640 for ac_cxx_preproc_warn_flag in '' yes 16641 do 16642 # Use a header file that comes with gcc, so configuring glibc 16643 # with a fresh cross-compiler works. 16644 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16645 # <limits.h> exists even on freestanding compilers. 16646 # On the NeXT, cc -E runs the code through the compiler's parser, 16647 # not just through cpp. "Syntax error" is here to catch this case. 16648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16649 /* end confdefs.h. */ 16650 #ifdef __STDC__ 16651 # include <limits.h> 16652 #else 16653 # include <assert.h> 16654 #endif 16655 Syntax error 16656 _ACEOF 16657 if ac_fn_cxx_try_cpp "$LINENO"; then : 16658 16659 else 16660 # Broken: fails on valid input. 16661 continue 16662 fi 16663 rm -f conftest.err conftest.i conftest.$ac_ext 16664 16665 # OK, works on sane cases. Now check whether nonexistent headers 16666 # can be detected and how. 16667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16668 /* end confdefs.h. */ 16669 #include <ac_nonexistent.h> 16670 _ACEOF 16671 if ac_fn_cxx_try_cpp "$LINENO"; then : 16672 # Broken: success on invalid input. 16673 continue 16674 else 16675 # Passes both tests. 16676 ac_preproc_ok=: 16677 break 16678 fi 16679 rm -f conftest.err conftest.i conftest.$ac_ext 16680 16681 done 16682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 16683 rm -f conftest.i conftest.err conftest.$ac_ext 16684 if $ac_preproc_ok; then : 16685 16686 else 16687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16689 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 16690 See \`config.log' for more details" "$LINENO" 5; } 16691 fi 16692 16693 ac_ext=c 16694 ac_cpp='$CPP $CPPFLAGS' 16695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16697 ac_compiler_gnu=$ac_cv_c_compiler_gnu 16698 16699 else 16700 _lt_caught_CXX_error=yes 16701 fi 16702 16703 ac_ext=cpp 16704 ac_cpp='$CXXCPP $CPPFLAGS' 16705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 19833 16708 19834 16709 archive_cmds_need_lc_CXX=no … … 19836 16711 always_export_symbols_CXX=no 19837 16712 archive_expsym_cmds_CXX= 16713 compiler_needs_object_CXX=no 19838 16714 export_dynamic_flag_spec_CXX= 19839 16715 hardcode_direct_CXX=no 16716 hardcode_direct_absolute_CXX=no 19840 16717 hardcode_libdir_flag_spec_CXX= 19841 hardcode_libdir_flag_spec_ld_CXX=19842 16718 hardcode_libdir_separator_CXX= 19843 16719 hardcode_minus_L_CXX=no 19844 16720 hardcode_shlibpath_var_CXX=unsupported 19845 16721 hardcode_automatic_CXX=no 16722 inherit_rpath_CXX=no 19846 16723 module_cmds_CXX= 19847 16724 module_expsym_cmds_CXX= 19848 16725 link_all_deplibs_CXX=unknown 19849 16726 old_archive_cmds_CXX=$old_archive_cmds 16727 reload_flag_CXX=$reload_flag 16728 reload_cmds_CXX=$reload_cmds 19850 16729 no_undefined_flag_CXX= 19851 16730 whole_archive_flag_spec_CXX= 19852 16731 enable_shared_with_static_runtimes_CXX=no 19853 16732 19854 # Dependencies to place before and after the object being linked:19855 predep_objects_CXX=19856 postdep_objects_CXX=19857 predeps_CXX=19858 postdeps_CXX=19859 compiler_lib_search_path_CXX=19860 19861 16733 # Source file extension for C++ test sources. 19862 16734 ac_ext=cpp … … 19866 16738 objext_CXX=$objext 19867 16739 19868 # Code to be used in simple compile tests 19869 lt_simple_compile_test_code="int some_variable = 0;\n" 19870 19871 # Code to be used in simple link tests 19872 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' 19873 19874 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 16740 # No sense in running all these tests if we already determined that 16741 # the CXX compiler isn't working. Some variables (like enable_shared) 16742 # are currently assumed to apply to all compilers on this platform, 16743 # and will be corrupted by setting them based on a non-working compiler. 16744 if test "$_lt_caught_CXX_error" != yes; then 16745 # Code to be used in simple compile tests 16746 lt_simple_compile_test_code="int some_variable = 0;" 16747 16748 # Code to be used in simple link tests 16749 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 16750 16751 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 16752 16753 16754 16755 16756 19875 16757 19876 16758 # If no C compiler was specified, use CC. … … 19884 16766 19885 16767 19886 # save warnings/boilerplate of simple test code19887 ac_outfile=conftest.$ac_objext19888 printf"$lt_simple_compile_test_code" >conftest.$ac_ext16768 # save warnings/boilerplate of simple test code 16769 ac_outfile=conftest.$ac_objext 16770 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 19889 16771 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 19890 16772 _lt_compiler_boilerplate=`cat conftest.err` 19891 $ rmconftest*19892 19893 ac_outfile=conftest.$ac_objext19894 printf"$lt_simple_link_test_code" >conftest.$ac_ext16773 $RM conftest* 16774 16775 ac_outfile=conftest.$ac_objext 16776 echo "$lt_simple_link_test_code" >conftest.$ac_ext 19895 16777 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 19896 16778 _lt_linker_boilerplate=`cat conftest.err` 19897 $rm conftest* 19898 19899 19900 # Allow CC to be a program name with arguments. 19901 lt_save_CC=$CC 19902 lt_save_LD=$LD 19903 lt_save_GCC=$GCC 19904 GCC=$GXX 19905 lt_save_with_gnu_ld=$with_gnu_ld 19906 lt_save_path_LD=$lt_cv_path_LD 19907 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 19908 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 19909 else 19910 $as_unset lt_cv_prog_gnu_ld 19911 fi 19912 if test -n "${lt_cv_path_LDCXX+set}"; then 19913 lt_cv_path_LD=$lt_cv_path_LDCXX 19914 else 19915 $as_unset lt_cv_path_LD 19916 fi 19917 test -z "${LDCXX+set}" || LD=$LDCXX 19918 CC=${CXX-"c++"} 19919 compiler=$CC 19920 compiler_CXX=$CC 19921 for cc_temp in $compiler""; do 16779 $RM -r conftest* 16780 16781 16782 # Allow CC to be a program name with arguments. 16783 lt_save_CC=$CC 16784 lt_save_CFLAGS=$CFLAGS 16785 lt_save_LD=$LD 16786 lt_save_GCC=$GCC 16787 GCC=$GXX 16788 lt_save_with_gnu_ld=$with_gnu_ld 16789 lt_save_path_LD=$lt_cv_path_LD 16790 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 16791 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 16792 else 16793 $as_unset lt_cv_prog_gnu_ld 16794 fi 16795 if test -n "${lt_cv_path_LDCXX+set}"; then 16796 lt_cv_path_LD=$lt_cv_path_LDCXX 16797 else 16798 $as_unset lt_cv_path_LD 16799 fi 16800 test -z "${LDCXX+set}" || LD=$LDCXX 16801 CC=${CXX-"c++"} 16802 CFLAGS=$CXXFLAGS 16803 compiler=$CC 16804 compiler_CXX=$CC 16805 for cc_temp in $compiler""; do 19922 16806 case $cc_temp in 19923 16807 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; … … 19927 16811 esac 19928 16812 done 19929 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 19930 19931 19932 # We don't want -fno-exception wen compiling C++ code, so set the 19933 # no_builtin_flag separately 19934 if test "$GXX" = yes; then 19935 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 19936 else 19937 lt_prog_compiler_no_builtin_flag_CXX= 19938 fi 19939 19940 if test "$GXX" = yes; then 19941 # Set up default GNU C++ configuration 19942 19943 19944 # Check whether --with-gnu-ld or --without-gnu-ld was given. 19945 if test "${with_gnu_ld+set}" = set; then 19946 withval="$with_gnu_ld" 19947 test "$withval" = no || with_gnu_ld=yes 16813 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 16814 16815 16816 if test -n "$compiler"; then 16817 # We don't want -fno-exception when compiling C++ code, so set the 16818 # no_builtin_flag separately 16819 if test "$GXX" = yes; then 16820 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 16821 else 16822 lt_prog_compiler_no_builtin_flag_CXX= 16823 fi 16824 16825 if test "$GXX" = yes; then 16826 # Set up default GNU C++ configuration 16827 16828 16829 16830 # Check whether --with-gnu-ld was given. 16831 if test "${with_gnu_ld+set}" = set; then : 16832 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 19948 16833 else 19949 16834 with_gnu_ld=no 19950 fi; 16835 fi 16836 19951 16837 ac_prog=ld 19952 16838 if test "$GCC" = yes; then 19953 16839 # Check if gcc -print-prog-name=ld gives a path. 19954 echo "$as_me:$LINENO: checking for ld used by $CC" >&519955 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 16840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 16841 $as_echo_n "checking for ld used by $CC... " >&6; } 19956 16842 case $host in 19957 16843 *-*-mingw*) … … 19966 16852 re_direlt='/[^/][^/]*/\.\./' 19967 16853 # Canonicalize the pathname of ld 19968 ac_prog=` echo $ac_prog| $SED 's%\\\\%/%g'`19969 while echo $ac_prog | grep"$re_direlt" > /dev/null 2>&1; do19970 ac_prog=` echo$ac_prog| $SED "s%$re_direlt%/%"`16854 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 16855 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 16856 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 19971 16857 done 19972 16858 test -z "$LD" && LD="$ac_prog" … … 19982 16868 esac 19983 16869 elif test "$with_gnu_ld" = yes; then 19984 echo "$as_me:$LINENO: checking for GNU ld" >&519985 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 19986 else 19987 echo "$as_me:$LINENO: checking for non-GNU ld" >&519988 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 19989 fi 19990 if test "${lt_cv_path_LD+set}" = set; then19991 echo $ECHO_N "(cached) $ECHO_C" >&616870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 16871 $as_echo_n "checking for GNU ld... " >&6; } 16872 else 16873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 16874 $as_echo_n "checking for non-GNU ld... " >&6; } 16875 fi 16876 if ${lt_cv_path_LD+:} false; then : 16877 $as_echo_n "(cached) " >&6 19992 16878 else 19993 16879 if test -z "$LD"; then … … 20019 16905 LD="$lt_cv_path_LD" 20020 16906 if test -n "$LD"; then 20021 echo "$as_me:$LINENO: result: $LD" >&5 20022 echo "${ECHO_T}$LD" >&6 20023 else 20024 echo "$as_me:$LINENO: result: no" >&5 20025 echo "${ECHO_T}no" >&6 20026 fi 20027 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 20028 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 20029 { (exit 1); exit 1; }; } 20030 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 20031 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 20032 if test "${lt_cv_prog_gnu_ld+set}" = set; then 20033 echo $ECHO_N "(cached) $ECHO_C" >&6 16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 16908 $as_echo "$LD" >&6; } 16909 else 16910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16911 $as_echo "no" >&6; } 16912 fi 16913 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 16914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 16915 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 16916 if ${lt_cv_prog_gnu_ld+:} false; then : 16917 $as_echo_n "(cached) " >&6 20034 16918 else 20035 16919 # I'd rather use --version here, but apparently some GNU lds only accept -v. … … 20043 16927 esac 20044 16928 fi 20045 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&520046 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 16929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 16930 $as_echo "$lt_cv_prog_gnu_ld" >&6; } 20047 16931 with_gnu_ld=$lt_cv_prog_gnu_ld 20048 16932 20049 16933 20050 16934 20051 # Check if GNU C++ uses GNU ld as the underlying linker, since the 20052 # archiving commands below assume that GNU ld is being used. 20053 if test "$with_gnu_ld" = yes; then 20054 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 20055 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 20056 20057 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 20058 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 20059 20060 # If archive_cmds runs LD, not CC, wlarc should be empty 20061 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 20062 # investigate it a little bit more. (MM) 20063 wlarc='${wl}' 20064 20065 # ancient GNU ld didn't support --whole-archive et. al. 20066 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ 20067 grep 'no-whole-archive' > /dev/null; then 20068 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 16935 16936 16937 16938 16939 # Check if GNU C++ uses GNU ld as the underlying linker, since the 16940 # archiving commands below assume that GNU ld is being used. 16941 if test "$with_gnu_ld" = yes; then 16942 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 16943 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 16944 16945 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 16946 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 16947 16948 # If archive_cmds runs LD, not CC, wlarc should be empty 16949 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 16950 # investigate it a little bit more. (MM) 16951 wlarc='${wl}' 16952 16953 # ancient GNU ld didn't support --whole-archive et. al. 16954 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 16955 $GREP 'no-whole-archive' > /dev/null; then 16956 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 16957 else 16958 whole_archive_flag_spec_CXX= 16959 fi 16960 else 16961 with_gnu_ld=no 16962 wlarc= 16963 16964 # A generic and very simple default shared library creation 16965 # command for GNU C++ for the case where it uses the native 16966 # linker, instead of GNU ld. If possible, this setting should 16967 # overridden to take advantage of the native linker features on 16968 # the platform it is being used on. 16969 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 16970 fi 16971 16972 # Commands to make compiler produce verbose output that lists 16973 # what "hidden" libraries, object files and flags are used when 16974 # linking a shared library. 16975 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 16976 20069 16977 else 20070 whole_archive_flag_spec_CXX= 16978 GXX=no 16979 with_gnu_ld=no 16980 wlarc= 20071 16981 fi 20072 else 20073 with_gnu_ld=no 20074 wlarc= 20075 20076 # A generic and very simple default shared library creation 20077 # command for GNU C++ for the case where it uses the native 20078 # linker, instead of GNU ld. If possible, this setting should 20079 # overridden to take advantage of the native linker features on 20080 # the platform it is being used on. 20081 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 20082 fi 20083 20084 # Commands to make compiler produce verbose output that lists 20085 # what "hidden" libraries, object files and flags are used when 20086 # linking a shared library. 20087 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' 20088 20089 else 20090 GXX=no 20091 with_gnu_ld=no 20092 wlarc= 20093 fi 20094 20095 # PORTME: fill in a description of your system's C++ link characteristics 20096 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 20097 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 20098 ld_shlibs_CXX=yes 20099 case $host_os in 20100 aix3*) 20101 # FIXME: insert proper C++ library support 20102 ld_shlibs_CXX=no 20103 ;; 20104 aix4* | aix5*) 20105 if test "$host_cpu" = ia64; then 20106 # On IA64, the linker does run time linking by default, so we don't 20107 # have to do anything special. 20108 aix_use_runtimelinking=no 20109 exp_sym_flag='-Bexport' 20110 no_entry_flag="" 20111 else 20112 aix_use_runtimelinking=no 20113 20114 # Test if we are trying to use run time linking or normal 20115 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 20116 # need to do runtime linking. 20117 case $host_os in aix4.[23]|aix4.[23].*|aix5*) 20118 for ld_flag in $LDFLAGS; do 20119 case $ld_flag in 20120 *-brtl*) 20121 aix_use_runtimelinking=yes 20122 break 16982 16983 # PORTME: fill in a description of your system's C++ link characteristics 16984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 16985 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 16986 ld_shlibs_CXX=yes 16987 case $host_os in 16988 aix3*) 16989 # FIXME: insert proper C++ library support 16990 ld_shlibs_CXX=no 16991 ;; 16992 aix[4-9]*) 16993 if test "$host_cpu" = ia64; then 16994 # On IA64, the linker does run time linking by default, so we don't 16995 # have to do anything special. 16996 aix_use_runtimelinking=no 16997 exp_sym_flag='-Bexport' 16998 no_entry_flag="" 16999 else 17000 aix_use_runtimelinking=no 17001 17002 # Test if we are trying to use run time linking or normal 17003 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 17004 # need to do runtime linking. 17005 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 17006 for ld_flag in $LDFLAGS; do 17007 case $ld_flag in 17008 *-brtl*) 17009 aix_use_runtimelinking=yes 17010 break 17011 ;; 17012 esac 17013 done 20123 17014 ;; 20124 esac 20125 done 20126 ;; 20127 esac 20128 20129 exp_sym_flag='-bexport' 20130 no_entry_flag='-bnoentry' 20131 fi 20132 20133 # When large executables or shared objects are built, AIX ld can 20134 # have problems creating the table of contents. If linking a library 20135 # or program results in "error TOC overflow" add -mminimal-toc to 20136 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 20137 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 20138 20139 archive_cmds_CXX='' 20140 hardcode_direct_CXX=yes 20141 hardcode_libdir_separator_CXX=':' 20142 link_all_deplibs_CXX=yes 20143 20144 if test "$GXX" = yes; then 20145 case $host_os in aix4.[012]|aix4.[012].*) 20146 # We only want to do this on AIX 4.2 and lower, the check 20147 # below for broken collect2 doesn't work under 4.3+ 20148 collect2name=`${CC} -print-prog-name=collect2` 20149 if test -f "$collect2name" && \ 20150 strings "$collect2name" | grep resolve_lib_name >/dev/null 20151 then 20152 # We have reworked collect2 20153 hardcode_direct_CXX=yes 20154 else 20155 # We have old collect2 20156 hardcode_direct_CXX=unsupported 20157 # It fails to find uninstalled libraries when the uninstalled 20158 # path is not listed in the libpath. Setting hardcode_minus_L 20159 # to unsupported forces relinking 20160 hardcode_minus_L_CXX=yes 20161 hardcode_libdir_flag_spec_CXX='-L$libdir' 20162 hardcode_libdir_separator_CXX= 20163 fi 20164 ;; 20165 esac 20166 shared_flag='-shared' 20167 if test "$aix_use_runtimelinking" = yes; then 20168 shared_flag="$shared_flag "'${wl}-G' 20169 fi 20170 else 20171 # not using gcc 20172 if test "$host_cpu" = ia64; then 20173 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 20174 # chokes on -Wl,-G. The following line is correct: 20175 shared_flag='-G' 20176 else 20177 if test "$aix_use_runtimelinking" = yes; then 20178 shared_flag='${wl}-G' 20179 else 20180 shared_flag='${wl}-bM:SRE' 20181 fi 20182 fi 20183 fi 20184 20185 # It seems that -bexpall does not export symbols beginning with 20186 # underscore (_), so it is better to generate a list of symbols to export. 20187 always_export_symbols_CXX=yes 20188 if test "$aix_use_runtimelinking" = yes; then 20189 # Warning - without using the other runtime loading flags (-brtl), 20190 # -berok will link without error, but may produce a broken library. 20191 allow_undefined_flag_CXX='-berok' 20192 # Determine the default libpath from the value encoded in an empty executable. 20193 cat >conftest.$ac_ext <<_ACEOF 20194 /* confdefs.h. */ 20195 _ACEOF 20196 cat confdefs.h >>conftest.$ac_ext 20197 cat >>conftest.$ac_ext <<_ACEOF 17015 esac 17016 17017 exp_sym_flag='-bexport' 17018 no_entry_flag='-bnoentry' 17019 fi 17020 17021 # When large executables or shared objects are built, AIX ld can 17022 # have problems creating the table of contents. If linking a library 17023 # or program results in "error TOC overflow" add -mminimal-toc to 17024 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 17025 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 17026 17027 archive_cmds_CXX='' 17028 hardcode_direct_CXX=yes 17029 hardcode_direct_absolute_CXX=yes 17030 hardcode_libdir_separator_CXX=':' 17031 link_all_deplibs_CXX=yes 17032 file_list_spec_CXX='${wl}-f,' 17033 17034 if test "$GXX" = yes; then 17035 case $host_os in aix4.[012]|aix4.[012].*) 17036 # We only want to do this on AIX 4.2 and lower, the check 17037 # below for broken collect2 doesn't work under 4.3+ 17038 collect2name=`${CC} -print-prog-name=collect2` 17039 if test -f "$collect2name" && 17040 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 17041 then 17042 # We have reworked collect2 17043 : 17044 else 17045 # We have old collect2 17046 hardcode_direct_CXX=unsupported 17047 # It fails to find uninstalled libraries when the uninstalled 17048 # path is not listed in the libpath. Setting hardcode_minus_L 17049 # to unsupported forces relinking 17050 hardcode_minus_L_CXX=yes 17051 hardcode_libdir_flag_spec_CXX='-L$libdir' 17052 hardcode_libdir_separator_CXX= 17053 fi 17054 esac 17055 shared_flag='-shared' 17056 if test "$aix_use_runtimelinking" = yes; then 17057 shared_flag="$shared_flag "'${wl}-G' 17058 fi 17059 else 17060 # not using gcc 17061 if test "$host_cpu" = ia64; then 17062 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 17063 # chokes on -Wl,-G. The following line is correct: 17064 shared_flag='-G' 17065 else 17066 if test "$aix_use_runtimelinking" = yes; then 17067 shared_flag='${wl}-G' 17068 else 17069 shared_flag='${wl}-bM:SRE' 17070 fi 17071 fi 17072 fi 17073 17074 export_dynamic_flag_spec_CXX='${wl}-bexpall' 17075 # It seems that -bexpall does not export symbols beginning with 17076 # underscore (_), so it is better to generate a list of symbols to 17077 # export. 17078 always_export_symbols_CXX=yes 17079 if test "$aix_use_runtimelinking" = yes; then 17080 # Warning - without using the other runtime loading flags (-brtl), 17081 # -berok will link without error, but may produce a broken library. 17082 allow_undefined_flag_CXX='-berok' 17083 # Determine the default libpath from the value encoded in an empty 17084 # executable. 17085 if test "${lt_cv_aix_libpath+set}" = set; then 17086 aix_libpath=$lt_cv_aix_libpath 17087 else 17088 if ${lt_cv_aix_libpath__CXX+:} false; then : 17089 $as_echo_n "(cached) " >&6 17090 else 17091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20198 17092 /* end confdefs.h. */ 20199 17093 … … 20206 17100 } 20207 17101 _ACEOF 20208 rm -f conftest.$ac_objext conftest$ac_exeext 20209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 20210 (eval $ac_link) 2>conftest.er1 20211 ac_status=$? 20212 grep -v '^ *+' conftest.er1 >conftest.err 20213 rm -f conftest.er1 20214 cat conftest.err >&5 20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20216 (exit $ac_status); } && 20217 { ac_try='test -z "$ac_cxx_werror_flag" 20218 || test ! -s conftest.err' 20219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20220 (eval $ac_try) 2>&5 20221 ac_status=$? 20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20223 (exit $ac_status); }; } && 20224 { ac_try='test -s conftest$ac_exeext' 20225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20226 (eval $ac_try) 2>&5 20227 ac_status=$? 20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20229 (exit $ac_status); }; }; then 20230 20231 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 20232 }'` 20233 # Check for a 64-bit object if we didn't find anything. 20234 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 20235 }'`; fi 20236 else 20237 echo "$as_me: failed program was:" >&5 20238 sed 's/^/| /' conftest.$ac_ext >&5 20239 20240 fi 20241 rm -f conftest.err conftest.$ac_objext \ 20242 conftest$ac_exeext conftest.$ac_ext 20243 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 20244 20245 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 20246 20247 archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 20248 else 20249 if test "$host_cpu" = ia64; then 20250 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 20251 allow_undefined_flag_CXX="-z nodefs" 20252 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 20253 else 20254 # Determine the default libpath from the value encoded in an empty executable. 20255 cat >conftest.$ac_ext <<_ACEOF 20256 /* confdefs.h. */ 20257 _ACEOF 20258 cat confdefs.h >>conftest.$ac_ext 20259 cat >>conftest.$ac_ext <<_ACEOF 17102 if ac_fn_cxx_try_link "$LINENO"; then : 17103 17104 lt_aix_libpath_sed=' 17105 /Import File Strings/,/^$/ { 17106 /^0/ { 17107 s/^0 *\([^ ]*\) *$/\1/ 17108 p 17109 } 17110 }' 17111 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 17112 # Check for a 64-bit object if we didn't find anything. 17113 if test -z "$lt_cv_aix_libpath__CXX"; then 17114 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 17115 fi 17116 fi 17117 rm -f core conftest.err conftest.$ac_objext \ 17118 conftest$ac_exeext conftest.$ac_ext 17119 if test -z "$lt_cv_aix_libpath__CXX"; then 17120 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 17121 fi 17122 17123 fi 17124 17125 aix_libpath=$lt_cv_aix_libpath__CXX 17126 fi 17127 17128 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 17129 17130 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 17131 else 17132 if test "$host_cpu" = ia64; then 17133 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 17134 allow_undefined_flag_CXX="-z nodefs" 17135 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 17136 else 17137 # Determine the default libpath from the value encoded in an 17138 # empty executable. 17139 if test "${lt_cv_aix_libpath+set}" = set; then 17140 aix_libpath=$lt_cv_aix_libpath 17141 else 17142 if ${lt_cv_aix_libpath__CXX+:} false; then : 17143 $as_echo_n "(cached) " >&6 17144 else 17145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20260 17146 /* end confdefs.h. */ 20261 17147 … … 20268 17154 } 20269 17155 _ACEOF 20270 rm -f conftest.$ac_objext conftest$ac_exeext 20271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 20272 (eval $ac_link) 2>conftest.er1 20273 ac_status=$? 20274 grep -v '^ *+' conftest.er1 >conftest.err 20275 rm -f conftest.er1 20276 cat conftest.err >&5 20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20278 (exit $ac_status); } && 20279 { ac_try='test -z "$ac_cxx_werror_flag" 20280 || test ! -s conftest.err' 20281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20282 (eval $ac_try) 2>&5 20283 ac_status=$? 20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20285 (exit $ac_status); }; } && 20286 { ac_try='test -s conftest$ac_exeext' 20287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20288 (eval $ac_try) 2>&5 20289 ac_status=$? 20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20291 (exit $ac_status); }; }; then 20292 20293 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 20294 }'` 20295 # Check for a 64-bit object if we didn't find anything. 20296 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 20297 }'`; fi 20298 else 20299 echo "$as_me: failed program was:" >&5 20300 sed 's/^/| /' conftest.$ac_ext >&5 20301 20302 fi 20303 rm -f conftest.err conftest.$ac_objext \ 20304 conftest$ac_exeext conftest.$ac_ext 20305 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 20306 20307 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 20308 # Warning - without using the other run time loading flags, 20309 # -berok will link without error, but may produce a broken library. 20310 no_undefined_flag_CXX=' ${wl}-bernotok' 20311 allow_undefined_flag_CXX=' ${wl}-berok' 20312 # Exported symbols can be pulled into shared objects from archives 20313 whole_archive_flag_spec_CXX='$convenience' 20314 archive_cmds_need_lc_CXX=yes 20315 # This is similar to how AIX traditionally builds its shared libraries. 20316 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 20317 fi 20318 fi 20319 ;; 20320 20321 beos*) 20322 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 20323 allow_undefined_flag_CXX=unsupported 20324 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 20325 # support --undefined. This deserves some investigation. FIXME 20326 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 20327 else 20328 ld_shlibs_CXX=no 20329 fi 20330 ;; 20331 20332 chorus*) 20333 case $cc_basename in 20334 *) 20335 # FIXME: insert proper C++ library support 20336 ld_shlibs_CXX=no 20337 ;; 20338 esac 20339 ;; 20340 20341 cygwin* | mingw* | pw32*) 20342 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 20343 # as there is no search path for DLLs. 20344 hardcode_libdir_flag_spec_CXX='-L$libdir' 20345 allow_undefined_flag_CXX=unsupported 20346 always_export_symbols_CXX=no 20347 enable_shared_with_static_runtimes_CXX=yes 20348 20349 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 20350 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 20351 # If the export-symbols file already is a .def file (1st line 20352 # is EXPORTS), use it as is; otherwise, prepend... 20353 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 20354 cp $export_symbols $output_objdir/$soname.def; 20355 else 20356 echo EXPORTS > $output_objdir/$soname.def; 20357 cat $export_symbols >> $output_objdir/$soname.def; 20358 fi~ 20359 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 20360 else 20361 ld_shlibs_CXX=no 20362 fi 20363 ;; 20364 darwin* | rhapsody*) 20365 case $host_os in 20366 rhapsody* | darwin1.[012]) 20367 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' 20368 ;; 20369 *) # Darwin 1.3 on 20370 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 20371 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 20372 else 20373 case ${MACOSX_DEPLOYMENT_TARGET} in 20374 10.[012]) 20375 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 20376 ;; 20377 10.*) 20378 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' 20379 ;; 20380 esac 20381 fi 20382 ;; 20383 esac 20384 archive_cmds_need_lc_CXX=no 20385 hardcode_direct_CXX=no 20386 hardcode_automatic_CXX=yes 20387 hardcode_shlibpath_var_CXX=unsupported 20388 whole_archive_flag_spec_CXX='' 20389 link_all_deplibs_CXX=yes 20390 20391 if test "$GXX" = yes ; then 20392 lt_int_apple_cc_single_mod=no 20393 output_verbose_link_cmd='echo' 20394 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then 20395 lt_int_apple_cc_single_mod=yes 20396 fi 20397 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 20398 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 20399 else 20400 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 17156 if ac_fn_cxx_try_link "$LINENO"; then : 17157 17158 lt_aix_libpath_sed=' 17159 /Import File Strings/,/^$/ { 17160 /^0/ { 17161 s/^0 *\([^ ]*\) *$/\1/ 17162 p 17163 } 17164 }' 17165 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 17166 # Check for a 64-bit object if we didn't find anything. 17167 if test -z "$lt_cv_aix_libpath__CXX"; then 17168 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 17169 fi 17170 fi 17171 rm -f core conftest.err conftest.$ac_objext \ 17172 conftest$ac_exeext conftest.$ac_ext 17173 if test -z "$lt_cv_aix_libpath__CXX"; then 17174 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 17175 fi 17176 17177 fi 17178 17179 aix_libpath=$lt_cv_aix_libpath__CXX 17180 fi 17181 17182 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 17183 # Warning - without using the other run time loading flags, 17184 # -berok will link without error, but may produce a broken library. 17185 no_undefined_flag_CXX=' ${wl}-bernotok' 17186 allow_undefined_flag_CXX=' ${wl}-berok' 17187 if test "$with_gnu_ld" = yes; then 17188 # We only use this code for GNU lds that support --whole-archive. 17189 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 17190 else 17191 # Exported symbols can be pulled into shared objects from archives 17192 whole_archive_flag_spec_CXX='$convenience' 17193 fi 17194 archive_cmds_need_lc_CXX=yes 17195 # This is similar to how AIX traditionally builds its shared 17196 # libraries. 17197 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 17198 fi 20401 17199 fi 20402 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'20403 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds20404 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then20405 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'20406 else20407 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'20408 fi20409 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'20410 else20411 case $cc_basename in20412 xlc*)20413 output_verbose_link_cmd='echo'20414 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'20415 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'20416 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds20417 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'20418 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'20419 ;;20420 *)20421 ld_shlibs_CXX=no20422 ;;20423 esac20424 fi20425 17200 ;; 20426 17201 20427 dgux*) 20428 case $cc_basename in 20429 ec++*) 20430 # FIXME: insert proper C++ library support 20431 ld_shlibs_CXX=no 20432 ;; 20433 ghcx*) 20434 # Green Hills C++ Compiler 20435 # FIXME: insert proper C++ library support 20436 ld_shlibs_CXX=no 20437 ;; 20438 *) 20439 # FIXME: insert proper C++ library support 20440 ld_shlibs_CXX=no 20441 ;; 20442 esac 20443 ;; 20444 freebsd[12]*) 20445 # C++ shared libraries reported to be fairly broken before switch to ELF 20446 ld_shlibs_CXX=no 20447 ;; 20448 freebsd-elf*) 20449 archive_cmds_need_lc_CXX=no 20450 ;; 20451 freebsd* | kfreebsd*-gnu | dragonfly*) 20452 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 20453 # conventions 20454 ld_shlibs_CXX=yes 20455 ;; 20456 gnu*) 20457 ;; 20458 hpux9*) 20459 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 20460 hardcode_libdir_separator_CXX=: 20461 export_dynamic_flag_spec_CXX='${wl}-E' 20462 hardcode_direct_CXX=yes 20463 hardcode_minus_L_CXX=yes # Not in the search PATH, 20464 # but as the default 20465 # location of the library. 20466 20467 case $cc_basename in 20468 CC*) 20469 # FIXME: insert proper C++ library support 20470 ld_shlibs_CXX=no 20471 ;; 20472 aCC*) 20473 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 20474 # Commands to make compiler produce verbose output that lists 20475 # what "hidden" libraries, object files and flags are used when 20476 # linking a shared library. 20477 # 20478 # There doesn't appear to be a way to prevent this compiler from 20479 # explicitly linking system object files so we need to strip them 20480 # from the output so that they don't get included in the library 20481 # dependencies. 20482 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 20483 ;; 20484 *) 20485 if test "$GXX" = yes; then 20486 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 20487 else 20488 # FIXME: insert proper C++ library support 20489 ld_shlibs_CXX=no 20490 fi 20491 ;; 20492 esac 20493 ;; 20494 hpux10*|hpux11*) 20495 if test $with_gnu_ld = no; then 20496 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 20497 hardcode_libdir_separator_CXX=: 20498 20499 case $host_cpu in 20500 hppa*64*|ia64*) 20501 hardcode_libdir_flag_spec_ld_CXX='+b $libdir' 20502 ;; 20503 *) 20504 export_dynamic_flag_spec_CXX='${wl}-E' 20505 ;; 20506 esac 20507 fi 20508 case $host_cpu in 20509 hppa*64*|ia64*) 20510 hardcode_direct_CXX=no 20511 hardcode_shlibpath_var_CXX=no 20512 ;; 20513 *) 20514 hardcode_direct_CXX=yes 20515 hardcode_minus_L_CXX=yes # Not in the search PATH, 20516 # but as the default 20517 # location of the library. 20518 ;; 20519 esac 20520 20521 case $cc_basename in 20522 CC*) 20523 # FIXME: insert proper C++ library support 20524 ld_shlibs_CXX=no 20525 ;; 20526 aCC*) 20527 case $host_cpu in 20528 hppa*64*) 20529 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 20530 ;; 20531 ia64*) 20532 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 20533 ;; 20534 *) 20535 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 20536 ;; 20537 esac 20538 # Commands to make compiler produce verbose output that lists 20539 # what "hidden" libraries, object files and flags are used when 20540 # linking a shared library. 20541 # 20542 # There doesn't appear to be a way to prevent this compiler from 20543 # explicitly linking system object files so we need to strip them 20544 # from the output so that they don't get included in the library 20545 # dependencies. 20546 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 20547 ;; 20548 *) 20549 if test "$GXX" = yes; then 20550 if test $with_gnu_ld = no; then 20551 case $host_cpu in 20552 hppa*64*) 20553 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 20554 ;; 20555 ia64*) 20556 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 20557 ;; 20558 *) 20559 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 20560 ;; 20561 esac 20562 fi 17202 beos*) 17203 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 17204 allow_undefined_flag_CXX=unsupported 17205 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 17206 # support --undefined. This deserves some investigation. FIXME 17207 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 20563 17208 else 20564 # FIXME: insert proper C++ library support20565 17209 ld_shlibs_CXX=no 20566 17210 fi 20567 17211 ;; 20568 esac 20569 ;; 20570 interix3*) 20571 hardcode_direct_CXX=no 20572 hardcode_shlibpath_var_CXX=no 20573 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 20574 export_dynamic_flag_spec_CXX='${wl}-E' 20575 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 20576 # Instead, shared libraries are loaded at an image base (0x10000000 by 20577 # default) and relocated if they conflict, which is a slow very memory 20578 # consuming and fragmenting process. To avoid this, we pick a random, 20579 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 20580 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 20581 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 20582 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 20583 ;; 20584 irix5* | irix6*) 20585 case $cc_basename in 20586 CC*) 20587 # SGI C++ 20588 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 20589 20590 # Archives containing C++ object files must be created using 20591 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 20592 # necessary to make sure instantiated templates are included 20593 # in the archive. 20594 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 20595 ;; 20596 *) 20597 if test "$GXX" = yes; then 20598 if test "$with_gnu_ld" = no; then 20599 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 17212 17213 chorus*) 17214 case $cc_basename in 17215 *) 17216 # FIXME: insert proper C++ library support 17217 ld_shlibs_CXX=no 17218 ;; 17219 esac 17220 ;; 17221 17222 cygwin* | mingw* | pw32* | cegcc*) 17223 case $GXX,$cc_basename in 17224 ,cl* | no,cl*) 17225 # Native MSVC 17226 # hardcode_libdir_flag_spec is actually meaningless, as there is 17227 # no search path for DLLs. 17228 hardcode_libdir_flag_spec_CXX=' ' 17229 allow_undefined_flag_CXX=unsupported 17230 always_export_symbols_CXX=yes 17231 file_list_spec_CXX='@' 17232 # Tell ltmain to make .lib files, not .a files. 17233 libext=lib 17234 # Tell ltmain to make .dll files, not .so files. 17235 shrext_cmds=".dll" 17236 # FIXME: Setting linknames here is a bad hack. 17237 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 17238 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 17239 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 17240 else 17241 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 17242 fi~ 17243 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 17244 linknames=' 17245 # The linker will not automatically build a static lib if we build a DLL. 17246 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 17247 enable_shared_with_static_runtimes_CXX=yes 17248 # Don't use ranlib 17249 old_postinstall_cmds_CXX='chmod 644 $oldlib' 17250 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 17251 lt_tool_outputfile="@TOOL_OUTPUT@"~ 17252 case $lt_outputfile in 17253 *.exe|*.EXE) ;; 17254 *) 17255 lt_outputfile="$lt_outputfile.exe" 17256 lt_tool_outputfile="$lt_tool_outputfile.exe" 17257 ;; 17258 esac~ 17259 func_to_tool_file "$lt_outputfile"~ 17260 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 17261 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 17262 $RM "$lt_outputfile.manifest"; 17263 fi' 17264 ;; 17265 *) 17266 # g++ 17267 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 17268 # as there is no search path for DLLs. 17269 hardcode_libdir_flag_spec_CXX='-L$libdir' 17270 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' 17271 allow_undefined_flag_CXX=unsupported 17272 always_export_symbols_CXX=no 17273 enable_shared_with_static_runtimes_CXX=yes 17274 17275 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 17276 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 17277 # If the export-symbols file already is a .def file (1st line 17278 # is EXPORTS), use it as is; otherwise, prepend... 17279 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 17280 cp $export_symbols $output_objdir/$soname.def; 17281 else 17282 echo EXPORTS > $output_objdir/$soname.def; 17283 cat $export_symbols >> $output_objdir/$soname.def; 17284 fi~ 17285 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 20600 17286 else 20601 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'17287 ld_shlibs_CXX=no 20602 17288 fi 20603 fi20604 link_all_deplibs_CXX=yes20605 ;;20606 esac20607 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'20608 hardcode_libdir_separator_CXX=:20609 ;;20610 linux*)20611 case $cc_basename in20612 KCC*)20613 # Kuck and Associates, Inc. (KAI) C++ Compiler20614 20615 # KCC will only create a shared library if the output file20616 # ends with ".so" (or ".sl" for HP-UX), so rename the library20617 # to its proper name (with version) after linking.20618 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'20619 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'20620 # Commands to make compiler produce verbose output that lists20621 # what "hidden" libraries, object files and flags are used when20622 # linking a shared library.20623 #20624 # There doesn't appear to be a way to prevent this compiler from20625 # explicitly linking system object files so we need to strip them20626 # from the output so that they don't get included in the library20627 # dependencies.20628 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'20629 20630 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'20631 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'20632 20633 # Archives containing C++ object files must be created using20634 # "CC -Bstatic", where "CC" is the KAI C++ compiler.20635 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'20636 ;;20637 icpc*)20638 # Intel C++20639 with_gnu_ld=yes20640 # version 8.0 and above of icpc choke on multiply defined symbols20641 # if we add $predep_objects and $postdep_objects, however 7.1 and20642 # earlier do not add the objects themselves.20643 case `$CC -V 2>&1` in20644 *"Version 7."*)20645 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'20646 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'20647 ;;20648 *) # Version 8.0 or newer20649 tmp_idyn=20650 case $host_cpu in20651 ia64*) tmp_idyn=' -i_dynamic';;20652 esac20653 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'20654 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'20655 17289 ;; 20656 17290 esac 20657 archive_cmds_need_lc_CXX=no 17291 ;; 17292 darwin* | rhapsody*) 17293 17294 17295 archive_cmds_need_lc_CXX=no 17296 hardcode_direct_CXX=no 17297 hardcode_automatic_CXX=yes 17298 hardcode_shlibpath_var_CXX=unsupported 17299 if test "$lt_cv_ld_force_load" = "yes"; then 17300 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 17301 17302 else 17303 whole_archive_flag_spec_CXX='' 17304 fi 17305 link_all_deplibs_CXX=yes 17306 allow_undefined_flag_CXX="$_lt_dar_allow_undefined" 17307 case $cc_basename in 17308 ifort*) _lt_dar_can_shared=yes ;; 17309 *) _lt_dar_can_shared=$GCC ;; 17310 esac 17311 if test "$_lt_dar_can_shared" = "yes"; then 17312 output_verbose_link_cmd=func_echo_all 17313 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 17314 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 17315 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 17316 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 17317 if test "$lt_cv_apple_cc_single_mod" != "yes"; then 17318 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" 17319 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" 17320 fi 17321 17322 else 17323 ld_shlibs_CXX=no 17324 fi 17325 17326 ;; 17327 17328 dgux*) 17329 case $cc_basename in 17330 ec++*) 17331 # FIXME: insert proper C++ library support 17332 ld_shlibs_CXX=no 17333 ;; 17334 ghcx*) 17335 # Green Hills C++ Compiler 17336 # FIXME: insert proper C++ library support 17337 ld_shlibs_CXX=no 17338 ;; 17339 *) 17340 # FIXME: insert proper C++ library support 17341 ld_shlibs_CXX=no 17342 ;; 17343 esac 17344 ;; 17345 17346 freebsd2.*) 17347 # C++ shared libraries reported to be fairly broken before 17348 # switch to ELF 17349 ld_shlibs_CXX=no 17350 ;; 17351 17352 freebsd-elf*) 17353 archive_cmds_need_lc_CXX=no 17354 ;; 17355 17356 freebsd* | dragonfly*) 17357 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 17358 # conventions 17359 ld_shlibs_CXX=yes 17360 ;; 17361 17362 haiku*) 17363 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17364 link_all_deplibs_CXX=yes 17365 ;; 17366 17367 hpux9*) 17368 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 17369 hardcode_libdir_separator_CXX=: 17370 export_dynamic_flag_spec_CXX='${wl}-E' 17371 hardcode_direct_CXX=yes 17372 hardcode_minus_L_CXX=yes # Not in the search PATH, 17373 # but as the default 17374 # location of the library. 17375 17376 case $cc_basename in 17377 CC*) 17378 # FIXME: insert proper C++ library support 17379 ld_shlibs_CXX=no 17380 ;; 17381 aCC*) 17382 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 17383 # Commands to make compiler produce verbose output that lists 17384 # what "hidden" libraries, object files and flags are used when 17385 # linking a shared library. 17386 # 17387 # There doesn't appear to be a way to prevent this compiler from 17388 # explicitly linking system object files so we need to strip them 17389 # from the output so that they don't get included in the library 17390 # dependencies. 17391 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 17392 ;; 17393 *) 17394 if test "$GXX" = yes; then 17395 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 17396 else 17397 # FIXME: insert proper C++ library support 17398 ld_shlibs_CXX=no 17399 fi 17400 ;; 17401 esac 17402 ;; 17403 17404 hpux10*|hpux11*) 17405 if test $with_gnu_ld = no; then 17406 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 17407 hardcode_libdir_separator_CXX=: 17408 17409 case $host_cpu in 17410 hppa*64*|ia64*) 17411 ;; 17412 *) 17413 export_dynamic_flag_spec_CXX='${wl}-E' 17414 ;; 17415 esac 17416 fi 17417 case $host_cpu in 17418 hppa*64*|ia64*) 17419 hardcode_direct_CXX=no 17420 hardcode_shlibpath_var_CXX=no 17421 ;; 17422 *) 17423 hardcode_direct_CXX=yes 17424 hardcode_direct_absolute_CXX=yes 17425 hardcode_minus_L_CXX=yes # Not in the search PATH, 17426 # but as the default 17427 # location of the library. 17428 ;; 17429 esac 17430 17431 case $cc_basename in 17432 CC*) 17433 # FIXME: insert proper C++ library support 17434 ld_shlibs_CXX=no 17435 ;; 17436 aCC*) 17437 case $host_cpu in 17438 hppa*64*) 17439 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 17440 ;; 17441 ia64*) 17442 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 17443 ;; 17444 *) 17445 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 17446 ;; 17447 esac 17448 # Commands to make compiler produce verbose output that lists 17449 # what "hidden" libraries, object files and flags are used when 17450 # linking a shared library. 17451 # 17452 # There doesn't appear to be a way to prevent this compiler from 17453 # explicitly linking system object files so we need to strip them 17454 # from the output so that they don't get included in the library 17455 # dependencies. 17456 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 17457 ;; 17458 *) 17459 if test "$GXX" = yes; then 17460 if test $with_gnu_ld = no; then 17461 case $host_cpu in 17462 hppa*64*) 17463 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 17464 ;; 17465 ia64*) 17466 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 17467 ;; 17468 *) 17469 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 17470 ;; 17471 esac 17472 fi 17473 else 17474 # FIXME: insert proper C++ library support 17475 ld_shlibs_CXX=no 17476 fi 17477 ;; 17478 esac 17479 ;; 17480 17481 interix[3-9]*) 17482 hardcode_direct_CXX=no 17483 hardcode_shlibpath_var_CXX=no 20658 17484 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 20659 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 20660 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 17485 export_dynamic_flag_spec_CXX='${wl}-E' 17486 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 17487 # Instead, shared libraries are loaded at an image base (0x10000000 by 17488 # default) and relocated if they conflict, which is a slow very memory 17489 # consuming and fragmenting process. To avoid this, we pick a random, 17490 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 17491 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 17492 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 17493 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 20661 17494 ;; 20662 pgCC*) 20663 # Portland Group C++ compiler 20664 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 20665 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 20666 20667 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 20668 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 20669 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 17495 irix5* | irix6*) 17496 case $cc_basename in 17497 CC*) 17498 # SGI C++ 17499 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 17500 17501 # Archives containing C++ object files must be created using 17502 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 17503 # necessary to make sure instantiated templates are included 17504 # in the archive. 17505 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 17506 ;; 17507 *) 17508 if test "$GXX" = yes; then 17509 if test "$with_gnu_ld" = no; then 17510 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 17511 else 17512 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' 17513 fi 17514 fi 17515 link_all_deplibs_CXX=yes 17516 ;; 17517 esac 17518 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 17519 hardcode_libdir_separator_CXX=: 17520 inherit_rpath_CXX=yes 20670 17521 ;; 20671 cxx*) 20672 # Compaq C++ 20673 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 20674 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' 20675 20676 runpath_var=LD_RUN_PATH 20677 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 20678 hardcode_libdir_separator_CXX=: 20679 20680 # Commands to make compiler produce verbose output that lists 20681 # what "hidden" libraries, object files and flags are used when 20682 # linking a shared library. 20683 # 20684 # There doesn't appear to be a way to prevent this compiler from 20685 # explicitly linking system object files so we need to strip them 20686 # from the output so that they don't get included in the library 20687 # dependencies. 20688 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 17522 17523 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 17524 case $cc_basename in 17525 KCC*) 17526 # Kuck and Associates, Inc. (KAI) C++ Compiler 17527 17528 # KCC will only create a shared library if the output file 17529 # ends with ".so" (or ".sl" for HP-UX), so rename the library 17530 # to its proper name (with version) after linking. 17531 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 17532 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' 17533 # Commands to make compiler produce verbose output that lists 17534 # what "hidden" libraries, object files and flags are used when 17535 # linking a shared library. 17536 # 17537 # There doesn't appear to be a way to prevent this compiler from 17538 # explicitly linking system object files so we need to strip them 17539 # from the output so that they don't get included in the library 17540 # dependencies. 17541 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 17542 17543 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 17544 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 17545 17546 # Archives containing C++ object files must be created using 17547 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 17548 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 17549 ;; 17550 icpc* | ecpc* ) 17551 # Intel C++ 17552 with_gnu_ld=yes 17553 # version 8.0 and above of icpc choke on multiply defined symbols 17554 # if we add $predep_objects and $postdep_objects, however 7.1 and 17555 # earlier do not add the objects themselves. 17556 case `$CC -V 2>&1` in 17557 *"Version 7."*) 17558 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 17559 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 17560 ;; 17561 *) # Version 8.0 or newer 17562 tmp_idyn= 17563 case $host_cpu in 17564 ia64*) tmp_idyn=' -i_dynamic';; 17565 esac 17566 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17567 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 17568 ;; 17569 esac 17570 archive_cmds_need_lc_CXX=no 17571 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 17572 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 17573 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 17574 ;; 17575 pgCC* | pgcpp*) 17576 # Portland Group C++ compiler 17577 case `$CC -V` in 17578 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 17579 prelink_cmds_CXX='tpldir=Template.dir~ 17580 rm -rf $tpldir~ 17581 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 17582 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 17583 old_archive_cmds_CXX='tpldir=Template.dir~ 17584 rm -rf $tpldir~ 17585 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 17586 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 17587 $RANLIB $oldlib' 17588 archive_cmds_CXX='tpldir=Template.dir~ 17589 rm -rf $tpldir~ 17590 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 17591 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 17592 archive_expsym_cmds_CXX='tpldir=Template.dir~ 17593 rm -rf $tpldir~ 17594 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 17595 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 17596 ;; 17597 *) # Version 6 and above use weak symbols 17598 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 17599 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 17600 ;; 17601 esac 17602 17603 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 17604 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 17605 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 17606 ;; 17607 cxx*) 17608 # Compaq C++ 17609 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 17610 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' 17611 17612 runpath_var=LD_RUN_PATH 17613 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 17614 hardcode_libdir_separator_CXX=: 17615 17616 # Commands to make compiler produce verbose output that lists 17617 # what "hidden" libraries, object files and flags are used when 17618 # linking a shared library. 17619 # 17620 # There doesn't appear to be a way to prevent this compiler from 17621 # explicitly linking system object files so we need to strip them 17622 # from the output so that they don't get included in the library 17623 # dependencies. 17624 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' 17625 ;; 17626 xl* | mpixl* | bgxl*) 17627 # IBM XL 8.0 on PPC, with GNU ld 17628 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 17629 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 17630 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17631 if test "x$supports_anon_versioning" = xyes; then 17632 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 17633 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 17634 echo "local: *; };" >> $output_objdir/$libname.ver~ 17635 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 17636 fi 17637 ;; 17638 *) 17639 case `$CC -V 2>&1 | sed 5q` in 17640 *Sun\ C*) 17641 # Sun C++ 5.9 17642 no_undefined_flag_CXX=' -zdefs' 17643 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 17644 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' 17645 hardcode_libdir_flag_spec_CXX='-R$libdir' 17646 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 17647 compiler_needs_object_CXX=yes 17648 17649 # Not sure whether something based on 17650 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 17651 # would be better. 17652 output_verbose_link_cmd='func_echo_all' 17653 17654 # Archives containing C++ object files must be created using 17655 # "CC -xar", where "CC" is the Sun C++ compiler. This is 17656 # necessary to make sure instantiated templates are included 17657 # in the archive. 17658 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 17659 ;; 17660 esac 17661 ;; 17662 esac 20689 17663 ;; 20690 esac 20691 ;; 20692 lynxos*) 20693 # FIXME: insert proper C++ library support 20694 ld_shlibs_CXX=no 20695 ;; 20696 m88k*) 20697 # FIXME: insert proper C++ library support 20698 ld_shlibs_CXX=no 20699 ;; 20700 mvs*) 20701 case $cc_basename in 20702 cxx*) 20703 # FIXME: insert proper C++ library support 17664 17665 lynxos*) 17666 # FIXME: insert proper C++ library support 20704 17667 ld_shlibs_CXX=no 20705 17668 ;; 20706 *) 20707 # FIXME: insert proper C++ library support 17669 17670 m88k*) 17671 # FIXME: insert proper C++ library support 17672 ld_shlibs_CXX=no 17673 ;; 17674 17675 mvs*) 17676 case $cc_basename in 17677 cxx*) 17678 # FIXME: insert proper C++ library support 17679 ld_shlibs_CXX=no 17680 ;; 17681 *) 17682 # FIXME: insert proper C++ library support 17683 ld_shlibs_CXX=no 17684 ;; 17685 esac 17686 ;; 17687 17688 netbsd*) 17689 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 17690 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 17691 wlarc= 17692 hardcode_libdir_flag_spec_CXX='-R$libdir' 17693 hardcode_direct_CXX=yes 17694 hardcode_shlibpath_var_CXX=no 17695 fi 17696 # Workaround some broken pre-1.5 toolchains 17697 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 17698 ;; 17699 17700 *nto* | *qnx*) 17701 ld_shlibs_CXX=yes 17702 ;; 17703 17704 openbsd2*) 17705 # C++ shared libraries are fairly broken 20708 17706 ld_shlibs_CXX=no 20709 17707 ;; 20710 esac 20711 ;; 20712 netbsd*) 20713 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 20714 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 20715 wlarc= 20716 hardcode_libdir_flag_spec_CXX='-R$libdir' 20717 hardcode_direct_CXX=yes 20718 hardcode_shlibpath_var_CXX=no 20719 fi 20720 # Workaround some broken pre-1.5 toolchains 20721 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 20722 ;; 20723 openbsd2*) 20724 # C++ shared libraries are fairly broken 20725 ld_shlibs_CXX=no 20726 ;; 20727 openbsd*) 20728 hardcode_direct_CXX=yes 20729 hardcode_shlibpath_var_CXX=no 20730 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 20731 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 20732 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 20733 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 20734 export_dynamic_flag_spec_CXX='${wl}-E' 20735 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 20736 fi 20737 output_verbose_link_cmd='echo' 20738 ;; 20739 osf3*) 20740 case $cc_basename in 20741 KCC*) 20742 # Kuck and Associates, Inc. (KAI) C++ Compiler 20743 20744 # KCC will only create a shared library if the output file 20745 # ends with ".so" (or ".sl" for HP-UX), so rename the library 20746 # to its proper name (with version) after linking. 20747 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 20748 20749 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 20750 hardcode_libdir_separator_CXX=: 20751 20752 # Archives containing C++ object files must be created using 20753 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 20754 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 20755 20756 ;; 20757 RCC*) 20758 # Rational C++ 2.4.1 20759 # FIXME: insert proper C++ library support 20760 ld_shlibs_CXX=no 20761 ;; 20762 cxx*) 20763 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 20764 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 20765 20766 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 20767 hardcode_libdir_separator_CXX=: 20768 20769 # Commands to make compiler produce verbose output that lists 20770 # what "hidden" libraries, object files and flags are used when 20771 # linking a shared library. 20772 # 20773 # There doesn't appear to be a way to prevent this compiler from 20774 # explicitly linking system object files so we need to strip them 20775 # from the output so that they don't get included in the library 20776 # dependencies. 20777 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 20778 ;; 20779 *) 20780 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 20781 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 20782 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 20783 20784 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 20785 hardcode_libdir_separator_CXX=: 20786 20787 # Commands to make compiler produce verbose output that lists 20788 # what "hidden" libraries, object files and flags are used when 20789 # linking a shared library. 20790 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' 20791 17708 17709 openbsd*) 17710 if test -f /usr/libexec/ld.so; then 17711 hardcode_direct_CXX=yes 17712 hardcode_shlibpath_var_CXX=no 17713 hardcode_direct_absolute_CXX=yes 17714 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 17715 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 17716 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 17717 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 17718 export_dynamic_flag_spec_CXX='${wl}-E' 17719 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 17720 fi 17721 output_verbose_link_cmd=func_echo_all 20792 17722 else 20793 # FIXME: insert proper C++ library support20794 17723 ld_shlibs_CXX=no 20795 17724 fi 20796 17725 ;; 20797 esac 20798 ;; 20799 osf4* | osf5*) 20800 case $cc_basename in 20801 KCC*) 20802 # Kuck and Associates, Inc. (KAI) C++ Compiler 20803 20804 # KCC will only create a shared library if the output file 20805 # ends with ".so" (or ".sl" for HP-UX), so rename the library 20806 # to its proper name (with version) after linking. 20807 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 20808 20809 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 20810 hardcode_libdir_separator_CXX=: 20811 20812 # Archives containing C++ object files must be created using 20813 # the KAI C++ compiler. 20814 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' 20815 ;; 20816 RCC*) 20817 # Rational C++ 2.4.1 20818 # FIXME: insert proper C++ library support 20819 ld_shlibs_CXX=no 20820 ;; 20821 cxx*) 20822 allow_undefined_flag_CXX=' -expect_unresolved \*' 20823 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 20824 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 20825 echo "-hidden">> $lib.exp~ 20826 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ 20827 $rm $lib.exp' 20828 20829 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 20830 hardcode_libdir_separator_CXX=: 20831 20832 # Commands to make compiler produce verbose output that lists 20833 # what "hidden" libraries, object files and flags are used when 20834 # linking a shared library. 20835 # 20836 # There doesn't appear to be a way to prevent this compiler from 20837 # explicitly linking system object files so we need to strip them 20838 # from the output so that they don't get included in the library 20839 # dependencies. 20840 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 20841 ;; 20842 *) 20843 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 20844 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 20845 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 20846 20847 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 20848 hardcode_libdir_separator_CXX=: 20849 20850 # Commands to make compiler produce verbose output that lists 20851 # what "hidden" libraries, object files and flags are used when 20852 # linking a shared library. 20853 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' 20854 20855 else 20856 # FIXME: insert proper C++ library support 20857 ld_shlibs_CXX=no 20858 fi 20859 ;; 20860 esac 20861 ;; 20862 psos*) 20863 # FIXME: insert proper C++ library support 20864 ld_shlibs_CXX=no 20865 ;; 20866 sunos4*) 20867 case $cc_basename in 20868 CC*) 20869 # Sun C++ 4.x 20870 # FIXME: insert proper C++ library support 20871 ld_shlibs_CXX=no 20872 ;; 20873 lcc*) 20874 # Lucid 20875 # FIXME: insert proper C++ library support 20876 ld_shlibs_CXX=no 20877 ;; 20878 *) 20879 # FIXME: insert proper C++ library support 20880 ld_shlibs_CXX=no 20881 ;; 20882 esac 20883 ;; 20884 solaris*) 20885 case $cc_basename in 20886 CC*) 20887 # Sun C++ 4.2, 5.x and Centerline C++ 20888 archive_cmds_need_lc_CXX=yes 20889 no_undefined_flag_CXX=' -zdefs' 20890 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 20891 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 20892 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' 20893 20894 hardcode_libdir_flag_spec_CXX='-R$libdir' 20895 hardcode_shlibpath_var_CXX=no 20896 case $host_os in 20897 solaris2.[0-5] | solaris2.[0-5].*) ;; 20898 *) 20899 # The C++ compiler is used as linker so we must use $wl 20900 # flag to pass the commands to the underlying system 20901 # linker. We must also pass each convience library through 20902 # to the system linker between allextract/defaultextract. 20903 # The C++ compiler will combine linker options so we 20904 # cannot just pass the convience library names through 20905 # without $wl. 20906 # Supported since Solaris 2.6 (maybe 2.5.1?) 20907 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' 17726 17727 osf3* | osf4* | osf5*) 17728 case $cc_basename in 17729 KCC*) 17730 # Kuck and Associates, Inc. (KAI) C++ Compiler 17731 17732 # KCC will only create a shared library if the output file 17733 # ends with ".so" (or ".sl" for HP-UX), so rename the library 17734 # to its proper name (with version) after linking. 17735 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 17736 17737 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 17738 hardcode_libdir_separator_CXX=: 17739 17740 # Archives containing C++ object files must be created using 17741 # the KAI C++ compiler. 17742 case $host in 17743 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 17744 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 17745 esac 20908 17746 ;; 20909 esac 20910 link_all_deplibs_CXX=yes 20911 20912 output_verbose_link_cmd='echo' 20913 20914 # Archives containing C++ object files must be created using 20915 # "CC -xar", where "CC" is the Sun C++ compiler. This is 20916 # necessary to make sure instantiated templates are included 20917 # in the archive. 20918 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 20919 ;; 20920 gcx*) 20921 # Green Hills C++ Compiler 20922 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 20923 20924 # The C++ compiler must be used to create the archive. 20925 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 20926 ;; 20927 *) 20928 # GNU C++ compiler with Solaris linker 20929 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 20930 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 20931 if $CC --version | grep -v '^2\.7' > /dev/null; then 20932 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 20933 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 20934 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' 17747 RCC*) 17748 # Rational C++ 2.4.1 17749 # FIXME: insert proper C++ library support 17750 ld_shlibs_CXX=no 17751 ;; 17752 cxx*) 17753 case $host in 17754 osf3*) 17755 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 17756 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 17757 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 17758 ;; 17759 *) 17760 allow_undefined_flag_CXX=' -expect_unresolved \*' 17761 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 17762 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 17763 echo "-hidden">> $lib.exp~ 17764 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ 17765 $RM $lib.exp' 17766 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 17767 ;; 17768 esac 17769 17770 hardcode_libdir_separator_CXX=: 20935 17771 20936 17772 # Commands to make compiler produce verbose output that lists 20937 17773 # what "hidden" libraries, object files and flags are used when 20938 17774 # linking a shared library. 20939 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" 20940 else 20941 # g++ 2.7 appears to require `-G' NOT `-shared' on this 20942 # platform. 20943 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 20944 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 20945 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' 20946 20947 # Commands to make compiler produce verbose output that lists 20948 # what "hidden" libraries, object files and flags are used when 20949 # linking a shared library. 20950 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" 20951 fi 20952 20953 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' 20954 fi 20955 ;; 17775 # 17776 # There doesn't appear to be a way to prevent this compiler from 17777 # explicitly linking system object files so we need to strip them 17778 # from the output so that they don't get included in the library 17779 # dependencies. 17780 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 17781 ;; 17782 *) 17783 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 17784 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 17785 case $host in 17786 osf3*) 17787 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 17788 ;; 17789 *) 17790 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 17791 ;; 17792 esac 17793 17794 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 17795 hardcode_libdir_separator_CXX=: 17796 17797 # Commands to make compiler produce verbose output that lists 17798 # what "hidden" libraries, object files and flags are used when 17799 # linking a shared library. 17800 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 17801 17802 else 17803 # FIXME: insert proper C++ library support 17804 ld_shlibs_CXX=no 17805 fi 17806 ;; 17807 esac 17808 ;; 17809 17810 psos*) 17811 # FIXME: insert proper C++ library support 17812 ld_shlibs_CXX=no 17813 ;; 17814 17815 sunos4*) 17816 case $cc_basename in 17817 CC*) 17818 # Sun C++ 4.x 17819 # FIXME: insert proper C++ library support 17820 ld_shlibs_CXX=no 17821 ;; 17822 lcc*) 17823 # Lucid 17824 # FIXME: insert proper C++ library support 17825 ld_shlibs_CXX=no 17826 ;; 17827 *) 17828 # FIXME: insert proper C++ library support 17829 ld_shlibs_CXX=no 17830 ;; 17831 esac 17832 ;; 17833 17834 solaris*) 17835 case $cc_basename in 17836 CC* | sunCC*) 17837 # Sun C++ 4.2, 5.x and Centerline C++ 17838 archive_cmds_need_lc_CXX=yes 17839 no_undefined_flag_CXX=' -zdefs' 17840 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 17841 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 17842 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 17843 17844 hardcode_libdir_flag_spec_CXX='-R$libdir' 17845 hardcode_shlibpath_var_CXX=no 17846 case $host_os in 17847 solaris2.[0-5] | solaris2.[0-5].*) ;; 17848 *) 17849 # The compiler driver will combine and reorder linker options, 17850 # but understands `-z linker_flag'. 17851 # Supported since Solaris 2.6 (maybe 2.5.1?) 17852 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 17853 ;; 17854 esac 17855 link_all_deplibs_CXX=yes 17856 17857 output_verbose_link_cmd='func_echo_all' 17858 17859 # Archives containing C++ object files must be created using 17860 # "CC -xar", where "CC" is the Sun C++ compiler. This is 17861 # necessary to make sure instantiated templates are included 17862 # in the archive. 17863 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 17864 ;; 17865 gcx*) 17866 # Green Hills C++ Compiler 17867 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 17868 17869 # The C++ compiler must be used to create the archive. 17870 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 17871 ;; 17872 *) 17873 # GNU C++ compiler with Solaris linker 17874 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 17875 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 17876 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 17877 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 17878 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 17879 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 17880 17881 # Commands to make compiler produce verbose output that lists 17882 # what "hidden" libraries, object files and flags are used when 17883 # linking a shared library. 17884 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 17885 else 17886 # g++ 2.7 appears to require `-G' NOT `-shared' on this 17887 # platform. 17888 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 17889 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 17890 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 17891 17892 # Commands to make compiler produce verbose output that lists 17893 # what "hidden" libraries, object files and flags are used when 17894 # linking a shared library. 17895 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 17896 fi 17897 17898 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' 17899 case $host_os in 17900 solaris2.[0-5] | solaris2.[0-5].*) ;; 17901 *) 17902 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 17903 ;; 17904 esac 17905 fi 17906 ;; 17907 esac 17908 ;; 17909 17910 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 17911 no_undefined_flag_CXX='${wl}-z,text' 17912 archive_cmds_need_lc_CXX=no 17913 hardcode_shlibpath_var_CXX=no 17914 runpath_var='LD_RUN_PATH' 17915 17916 case $cc_basename in 17917 CC*) 17918 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 17919 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 17920 ;; 17921 *) 17922 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 17923 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 17924 ;; 17925 esac 17926 ;; 17927 17928 sysv5* | sco3.2v5* | sco5v6*) 17929 # Note: We can NOT use -z defs as we might desire, because we do not 17930 # link with -lc, and that would cause any symbols used from libc to 17931 # always be unresolved, which means just about no library would 17932 # ever link correctly. If we're not using GNU ld we use -z text 17933 # though, which does catch some bad symbols but isn't as heavy-handed 17934 # as -z defs. 17935 no_undefined_flag_CXX='${wl}-z,text' 17936 allow_undefined_flag_CXX='${wl}-z,nodefs' 17937 archive_cmds_need_lc_CXX=no 17938 hardcode_shlibpath_var_CXX=no 17939 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' 17940 hardcode_libdir_separator_CXX=':' 17941 link_all_deplibs_CXX=yes 17942 export_dynamic_flag_spec_CXX='${wl}-Bexport' 17943 runpath_var='LD_RUN_PATH' 17944 17945 case $cc_basename in 17946 CC*) 17947 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 17948 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 17949 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 17950 '"$old_archive_cmds_CXX" 17951 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 17952 '"$reload_cmds_CXX" 17953 ;; 17954 *) 17955 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 17956 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 17957 ;; 17958 esac 17959 ;; 17960 17961 tandem*) 17962 case $cc_basename in 17963 NCC*) 17964 # NonStop-UX NCC 3.20 17965 # FIXME: insert proper C++ library support 17966 ld_shlibs_CXX=no 17967 ;; 17968 *) 17969 # FIXME: insert proper C++ library support 17970 ld_shlibs_CXX=no 17971 ;; 17972 esac 17973 ;; 17974 17975 vxworks*) 17976 # FIXME: insert proper C++ library support 17977 ld_shlibs_CXX=no 17978 ;; 17979 17980 *) 17981 # FIXME: insert proper C++ library support 17982 ld_shlibs_CXX=no 17983 ;; 20956 17984 esac 20957 ;; 20958 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 20959 no_undefined_flag_CXX='${wl}-z,text' 20960 archive_cmds_need_lc_CXX=no 20961 hardcode_shlibpath_var_CXX=no 20962 runpath_var='LD_RUN_PATH' 20963 20964 case $cc_basename in 20965 CC*) 20966 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 20967 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 20968 ;; 20969 *) 20970 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 20971 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 20972 ;; 20973 esac 20974 ;; 20975 sysv5* | sco3.2v5* | sco5v6*) 20976 # Note: We can NOT use -z defs as we might desire, because we do not 20977 # link with -lc, and that would cause any symbols used from libc to 20978 # always be unresolved, which means just about no library would 20979 # ever link correctly. If we're not using GNU ld we use -z text 20980 # though, which does catch some bad symbols but isn't as heavy-handed 20981 # as -z defs. 20982 # For security reasons, it is highly recommended that you always 20983 # use absolute paths for naming shared libraries, and exclude the 20984 # DT_RUNPATH tag from executables and libraries. But doing so 20985 # requires that you compile everything twice, which is a pain. 20986 # So that behaviour is only enabled if SCOABSPATH is set to a 20987 # non-empty value in the environment. Most likely only useful for 20988 # creating official distributions of packages. 20989 # This is a hack until libtool officially supports absolute path 20990 # names for shared libraries. 20991 no_undefined_flag_CXX='${wl}-z,text' 20992 allow_undefined_flag_CXX='${wl}-z,nodefs' 20993 archive_cmds_need_lc_CXX=no 20994 hardcode_shlibpath_var_CXX=no 20995 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 20996 hardcode_libdir_separator_CXX=':' 20997 link_all_deplibs_CXX=yes 20998 export_dynamic_flag_spec_CXX='${wl}-Bexport' 20999 runpath_var='LD_RUN_PATH' 21000 21001 case $cc_basename in 21002 CC*) 21003 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 21004 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 21005 ;; 21006 *) 21007 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 21008 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 21009 ;; 21010 esac 21011 ;; 21012 tandem*) 21013 case $cc_basename in 21014 NCC*) 21015 # NonStop-UX NCC 3.20 21016 # FIXME: insert proper C++ library support 21017 ld_shlibs_CXX=no 21018 ;; 21019 *) 21020 # FIXME: insert proper C++ library support 21021 ld_shlibs_CXX=no 21022 ;; 21023 esac 21024 ;; 21025 vxworks*) 21026 # FIXME: insert proper C++ library support 21027 ld_shlibs_CXX=no 21028 ;; 21029 *) 21030 # FIXME: insert proper C++ library support 21031 ld_shlibs_CXX=no 21032 ;; 21033 esac 21034 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 21035 echo "${ECHO_T}$ld_shlibs_CXX" >&6 21036 test "$ld_shlibs_CXX" = no && can_build_shared=no 21037 21038 GCC_CXX="$GXX" 21039 LD_CXX="$LD" 21040 21041 ## CAVEAT EMPTOR: 21042 ## There is no encapsulation within the following macros, do not change 21043 ## the running order or otherwise move them around unless you know exactly 21044 ## what you are doing... 21045 21046 cat > conftest.$ac_ext <<EOF 17985 17986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 17987 $as_echo "$ld_shlibs_CXX" >&6; } 17988 test "$ld_shlibs_CXX" = no && can_build_shared=no 17989 17990 GCC_CXX="$GXX" 17991 LD_CXX="$LD" 17992 17993 ## CAVEAT EMPTOR: 17994 ## There is no encapsulation within the following macros, do not change 17995 ## the running order or otherwise move them around unless you know exactly 17996 ## what you are doing... 17997 # Dependencies to place before and after the object being linked: 17998 predep_objects_CXX= 17999 postdep_objects_CXX= 18000 predeps_CXX= 18001 postdeps_CXX= 18002 compiler_lib_search_path_CXX= 18003 18004 cat > conftest.$ac_ext <<_LT_EOF 21047 18005 class Foo 21048 18006 { … … 21052 18010 int a; 21053 18011 }; 21054 EOF 21055 21056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 18012 _LT_EOF 18013 18014 18015 _lt_libdeps_save_CFLAGS=$CFLAGS 18016 case "$CC $CFLAGS " in #( 18017 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 18018 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 18019 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 18020 esac 18021 18022 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 21057 18023 (eval $ac_compile) 2>&5 21058 18024 ac_status=$? 21059 echo "$as_me:$LINENO: \$? = $ac_status" >&521060 (exit $ac_status); }; then18025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18026 test $ac_status = 0; }; then 21061 18027 # Parse the compiler output and extract the necessary 21062 18028 # objects, libraries and library flags. … … 21066 18032 pre_test_object_deps_done=no 21067 18033 21068 # The `*' in the case matches for architectures that use `case' in 21069 # $output_verbose_cmd can trigger glob expansion during the loop 21070 # eval without this substitution. 21071 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` 21072 21073 for p in `eval $output_verbose_link_cmd`; do 21074 case $p in 18034 for p in `eval "$output_verbose_link_cmd"`; do 18035 case ${prev}${p} in 21075 18036 21076 18037 -L* | -R* | -l*) 21077 18038 # Some compilers place space between "-{L,R}" and the path. 21078 18039 # Remove the space. 21079 if test $p = "-L" \21080 ||test $p = "-R"; then18040 if test $p = "-L" || 18041 test $p = "-R"; then 21081 18042 prev=$p 21082 18043 continue 21083 else21084 prev=21085 18044 fi 21086 18045 18046 # Expand the sysroot to ease extracting the directories later. 18047 if test -z "$prev"; then 18048 case $p in 18049 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 18050 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 18051 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 18052 esac 18053 fi 18054 case $p in 18055 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 18056 esac 21087 18057 if test "$pre_test_object_deps_done" = no; then 21088 case $ pin21089 -L * | -R*)18058 case ${prev} in 18059 -L | -R) 21090 18060 # Internal compiler library paths should come after those 21091 18061 # provided the user. The postdeps already come after the … … 21107 18077 fi 21108 18078 fi 18079 prev= 21109 18080 ;; 21110 18081 18082 *.lto.$objext) ;; # Ignore GCC LTO objects 21111 18083 *.$objext) 21112 18084 # This assumes that the test object file only shows up … … 21143 18115 fi 21144 18116 21145 $rm -f confest.$objext 18117 $RM -f confest.$objext 18118 CFLAGS=$_lt_libdeps_save_CFLAGS 21146 18119 21147 18120 # PORTME: override above test on systems where it is broken 21148 18121 case $host_os in 21149 interix 3*)18122 interix[3-9]*) 21150 18123 # Interix 3.5 installs completely hosed .la files for C++, so rather than 21151 18124 # hack all around it, let's just trust "g++" to DTRT. … … 21155 18128 ;; 21156 18129 18130 linux*) 18131 case `$CC -V 2>&1 | sed 5q` in 18132 *Sun\ C*) 18133 # Sun C++ 5.9 18134 18135 # The more standards-conforming stlport4 library is 18136 # incompatible with the Cstd library. Avoid specifying 18137 # it if it's in CXXFLAGS. Ignore libCrun as 18138 # -library=stlport4 depends on it. 18139 case " $CXX $CXXFLAGS " in 18140 *" -library=stlport4 "*) 18141 solaris_use_stlport4=yes 18142 ;; 18143 esac 18144 18145 if test "$solaris_use_stlport4" != yes; then 18146 postdeps_CXX='-library=Cstd -library=Crun' 18147 fi 18148 ;; 18149 esac 18150 ;; 18151 21157 18152 solaris*) 21158 18153 case $cc_basename in 21159 CC*) 18154 CC* | sunCC*) 18155 # The more standards-conforming stlport4 library is 18156 # incompatible with the Cstd library. Avoid specifying 18157 # it if it's in CXXFLAGS. Ignore libCrun as 18158 # -library=stlport4 depends on it. 18159 case " $CXX $CXXFLAGS " in 18160 *" -library=stlport4 "*) 18161 solaris_use_stlport4=yes 18162 ;; 18163 esac 18164 21160 18165 # Adding this requires a known-good setup of shared libraries for 21161 18166 # Sun compiler versions before 5.6, else PIC objects from an old 21162 18167 # archive will be linked into the output, leading to subtle bugs. 21163 postdeps_CXX='-lCstd -lCrun' 18168 if test "$solaris_use_stlport4" != yes; then 18169 postdeps_CXX='-library=Cstd -library=Crun' 18170 fi 21164 18171 ;; 21165 18172 esac … … 21171 18178 *" -lc "*) archive_cmds_need_lc_CXX=no ;; 21172 18179 esac 21173 21174 lt_prog_compiler_wl_CXX= 18180 compiler_lib_search_dirs_CXX= 18181 if test -n "${compiler_lib_search_path_CXX}"; then 18182 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 18183 fi 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 18204 18205 18206 18207 18208 18209 18210 18211 18212 18213 18214 18215 lt_prog_compiler_wl_CXX= 21175 18216 lt_prog_compiler_pic_CXX= 21176 18217 lt_prog_compiler_static_CXX= 21177 18218 21178 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&521179 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&621180 18219 21181 18220 # C++ specific cases for pic, static, wl, etc. … … 21192 18231 fi 21193 18232 ;; 18233 21194 18234 amigaos*) 21195 # FIXME: we need at least 68020 code to build shared libraries, but 21196 # adding the `-m68020' flag to GCC prevents building anything better, 21197 # like `-m68040'. 21198 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 18235 case $host_cpu in 18236 powerpc) 18237 # see comment about AmigaOS4 .so support 18238 lt_prog_compiler_pic_CXX='-fPIC' 18239 ;; 18240 m68k) 18241 # FIXME: we need at least 68020 code to build shared libraries, but 18242 # adding the `-m68020' flag to GCC prevents building anything better, 18243 # like `-m68040'. 18244 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 18245 ;; 18246 esac 21199 18247 ;; 21200 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 18248 18249 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 21201 18250 # PIC is the default for these OSes. 21202 18251 ;; 21203 mingw* | os2* | pw32*)18252 mingw* | cygwin* | os2* | pw32* | cegcc*) 21204 18253 # This hack is so that the source file can tell whether it is being 21205 18254 # built for inclusion in a dll (and should export symbols for example). 18255 # Although the cygwin gcc ignores -fPIC, still need this for old-style 18256 # (--disable-auto-import) libraries 21206 18257 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 21207 18258 ;; … … 21215 18266 lt_prog_compiler_pic_CXX= 21216 18267 ;; 21217 interix3*) 18268 haiku*) 18269 # PIC is the default for Haiku. 18270 # The "-static" flag exists, but is broken. 18271 lt_prog_compiler_static_CXX= 18272 ;; 18273 interix[3-9]*) 21218 18274 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 21219 18275 # Instead, we relocate shared libraries at runtime. … … 21225 18281 ;; 21226 18282 hpux*) 21227 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 21228 # not for PA HP-UX. 18283 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 18284 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 18285 # sets the default TLS model and affects inlining. 21229 18286 case $host_cpu in 21230 hppa*64* |ia64*)18287 hppa*64*) 21231 18288 ;; 21232 18289 *) … … 21234 18291 ;; 21235 18292 esac 18293 ;; 18294 *qnx* | *nto*) 18295 # QNX uses GNU C++, but need to define -shared option too, otherwise 18296 # it will coredump. 18297 lt_prog_compiler_pic_CXX='-fPIC -shared' 21236 18298 ;; 21237 18299 *) … … 21241 18303 else 21242 18304 case $host_os in 21243 aix 4* | aix5*)18305 aix[4-9]*) 21244 18306 # All AIX code is PIC. 21245 18307 if test "$host_cpu" = ia64; then … … 21254 18316 cxch68*) 21255 18317 # Green Hills C++ Compiler 21256 # _LT_ AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"18318 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 21257 18319 ;; 21258 18320 esac 21259 18321 ;; 21260 darwin*) 21261 # PIC is the default on this platform 21262 # Common symbols not allowed in MH_DYLIB files 21263 case $cc_basename in 21264 xlc*) 21265 lt_prog_compiler_pic_CXX='-qnocommon' 21266 lt_prog_compiler_wl_CXX='-Wl,' 21267 ;; 21268 esac 21269 ;; 18322 mingw* | cygwin* | os2* | pw32* | cegcc*) 18323 # This hack is so that the source file can tell whether it is being 18324 # built for inclusion in a dll (and should export symbols for example). 18325 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 18326 ;; 21270 18327 dgux*) 21271 18328 case $cc_basename in … … 21281 18338 esac 21282 18339 ;; 21283 freebsd* | kfreebsd*-gnu |dragonfly*)18340 freebsd* | dragonfly*) 21284 18341 # FreeBSD uses GNU C++ 21285 18342 ;; … … 21324 18381 esac 21325 18382 ;; 21326 linux* )18383 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 21327 18384 case $cc_basename in 21328 18385 KCC*) … … 21331 18388 lt_prog_compiler_pic_CXX='-fPIC' 21332 18389 ;; 21333 icpc* | ecpc*)21334 # Intel C++18390 ecpc* ) 18391 # old Intel C++ for x86_64 which still supported -KPIC. 21335 18392 lt_prog_compiler_wl_CXX='-Wl,' 21336 18393 lt_prog_compiler_pic_CXX='-KPIC' 21337 18394 lt_prog_compiler_static_CXX='-static' 21338 18395 ;; 21339 pgCC*) 21340 # Portland Group C++ compiler. 18396 icpc* ) 18397 # Intel C++, used to be incompatible with GCC. 18398 # ICC 10 doesn't accept -KPIC any more. 18399 lt_prog_compiler_wl_CXX='-Wl,' 18400 lt_prog_compiler_pic_CXX='-fPIC' 18401 lt_prog_compiler_static_CXX='-static' 18402 ;; 18403 pgCC* | pgcpp*) 18404 # Portland Group C++ compiler 21341 18405 lt_prog_compiler_wl_CXX='-Wl,' 21342 18406 lt_prog_compiler_pic_CXX='-fpic' … … 21350 18414 lt_prog_compiler_static_CXX='-non_shared' 21351 18415 ;; 18416 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 18417 # IBM XL 8.0, 9.0 on PPC and BlueGene 18418 lt_prog_compiler_wl_CXX='-Wl,' 18419 lt_prog_compiler_pic_CXX='-qpic' 18420 lt_prog_compiler_static_CXX='-qstaticlink' 18421 ;; 21352 18422 *) 18423 case `$CC -V 2>&1 | sed 5q` in 18424 *Sun\ C*) 18425 # Sun C++ 5.9 18426 lt_prog_compiler_pic_CXX='-KPIC' 18427 lt_prog_compiler_static_CXX='-Bstatic' 18428 lt_prog_compiler_wl_CXX='-Qoption ld ' 18429 ;; 18430 esac 21353 18431 ;; 21354 18432 esac … … 21367 18445 esac 21368 18446 ;; 21369 netbsd* )18447 netbsd* | netbsdelf*-gnu) 21370 18448 ;; 18449 *qnx* | *nto*) 18450 # QNX uses GNU C++, but need to define -shared option too, otherwise 18451 # it will coredump. 18452 lt_prog_compiler_pic_CXX='-fPIC -shared' 18453 ;; 21371 18454 osf3* | osf4* | osf5*) 21372 18455 case $cc_basename in … … 21394 18477 solaris*) 21395 18478 case $cc_basename in 21396 CC* )18479 CC* | sunCC*) 21397 18480 # Sun C++ 4.2, 5.x and Centerline C++ 21398 18481 lt_prog_compiler_pic_CXX='-KPIC' … … 21423 18506 esac 21424 18507 ;; 18508 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 18509 case $cc_basename in 18510 CC*) 18511 lt_prog_compiler_wl_CXX='-Wl,' 18512 lt_prog_compiler_pic_CXX='-KPIC' 18513 lt_prog_compiler_static_CXX='-Bstatic' 18514 ;; 18515 esac 18516 ;; 21425 18517 tandem*) 21426 18518 case $cc_basename in … … 21433 18525 esac 21434 18526 ;; 21435 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)21436 case $cc_basename in21437 CC*)21438 lt_prog_compiler_wl_CXX='-Wl,'21439 lt_prog_compiler_pic_CXX='-KPIC'21440 lt_prog_compiler_static_CXX='-Bstatic'21441 ;;21442 esac21443 ;;21444 18527 vxworks*) 21445 18528 ;; … … 21450 18533 fi 21451 18534 21452 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 21453 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 18535 case $host_os in 18536 # For platforms which do not support PIC, -DPIC is meaningless: 18537 *djgpp*) 18538 lt_prog_compiler_pic_CXX= 18539 ;; 18540 *) 18541 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 18542 ;; 18543 esac 18544 18545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 18546 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 18547 if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 18548 $as_echo_n "(cached) " >&6 18549 else 18550 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 18551 fi 18552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 18553 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 18554 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 21454 18555 21455 18556 # … … 21457 18558 # 21458 18559 if test -n "$lt_prog_compiler_pic_CXX"; then 21459 21460 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 21461 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 21462 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then 21463 echo $ECHO_N "(cached) $ECHO_C" >&6 21464 else 21465 lt_prog_compiler_pic_works_CXX=no 21466 ac_outfile=conftest.$ac_objext 21467 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 18560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 18561 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 18562 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 18563 $as_echo_n "(cached) " >&6 18564 else 18565 lt_cv_prog_compiler_pic_works_CXX=no 18566 ac_outfile=conftest.$ac_objext 18567 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 21468 18568 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 21469 18569 # Insert the option either (1) after the last *FLAGS variable, or … … 21476 18576 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 21477 18577 -e 's:$: $lt_compiler_flag:'` 21478 (eval echo "\"\$as_me: 21478: $lt_compile\"" >&5)18578 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 21479 18579 (eval "$lt_compile" 2>conftest.err) 21480 18580 ac_status=$? 21481 18581 cat conftest.err >&5 21482 echo "$as_me: 21482: \$? = $ac_status" >&518582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21483 18583 if (exit $ac_status) && test -s "$ac_outfile"; then 21484 18584 # The compiler can only warn and ignore the option if not recognized 21485 18585 # So say no if there are warnings other than the usual output. 21486 $ echo "X$_lt_compiler_boilerplate" | $Xsed -e'/^$/d' >conftest.exp18586 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 21487 18587 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 21488 18588 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 21489 lt_ prog_compiler_pic_works_CXX=yes18589 lt_cv_prog_compiler_pic_works_CXX=yes 21490 18590 fi 21491 18591 fi 21492 $ rmconftest*21493 21494 fi 21495 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&521496 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 21497 21498 if test x"$lt_ prog_compiler_pic_works_CXX" = xyes; then18592 $RM conftest* 18593 18594 fi 18595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 18596 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 18597 18598 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then 21499 18599 case $lt_prog_compiler_pic_CXX in 21500 18600 "" | " "*) ;; … … 21507 18607 21508 18608 fi 21509 case $host_os in 21510 # For platforms which do not support PIC, -DPIC is meaningless: 21511 *djgpp*) 21512 lt_prog_compiler_pic_CXX= 21513 ;; 21514 *) 21515 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 21516 ;; 21517 esac 18609 18610 18611 18612 21518 18613 21519 18614 # … … 21521 18616 # 21522 18617 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 21523 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&521524 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 21525 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then21526 echo $ECHO_N "(cached) $ECHO_C" >&621527 else 21528 lt_ prog_compiler_static_works_CXX=no18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 18619 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 18620 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 18621 $as_echo_n "(cached) " >&6 18622 else 18623 lt_cv_prog_compiler_static_works_CXX=no 21529 18624 save_LDFLAGS="$LDFLAGS" 21530 18625 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 21531 printf"$lt_simple_link_test_code" > conftest.$ac_ext18626 echo "$lt_simple_link_test_code" > conftest.$ac_ext 21532 18627 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 21533 18628 # The linker can only warn and ignore the option if not recognized … … 21536 18631 # Append any errors to the config.log. 21537 18632 cat conftest.err 1>&5 21538 $ echo "X$_lt_linker_boilerplate" | $Xsed -e'/^$/d' > conftest.exp18633 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 21539 18634 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 21540 18635 if diff conftest.exp conftest.er2 >/dev/null; then 21541 lt_ prog_compiler_static_works_CXX=yes18636 lt_cv_prog_compiler_static_works_CXX=yes 21542 18637 fi 21543 18638 else 21544 lt_ prog_compiler_static_works_CXX=yes18639 lt_cv_prog_compiler_static_works_CXX=yes 21545 18640 fi 21546 18641 fi 21547 $ rmconftest*18642 $RM -r conftest* 21548 18643 LDFLAGS="$save_LDFLAGS" 21549 18644 21550 18645 fi 21551 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&521552 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6 21553 21554 if test x"$lt_ prog_compiler_static_works_CXX" = xyes; then18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 18647 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 18648 18649 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then 21555 18650 : 21556 18651 else … … 21559 18654 21560 18655 21561 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 21562 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 21563 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then 21564 echo $ECHO_N "(cached) $ECHO_C" >&6 18656 18657 18658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 18659 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 18660 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 18661 $as_echo_n "(cached) " >&6 21565 18662 else 21566 18663 lt_cv_prog_compiler_c_o_CXX=no 21567 $ rm-r conftest 2>/dev/null18664 $RM -r conftest 2>/dev/null 21568 18665 mkdir conftest 21569 18666 cd conftest 21570 18667 mkdir out 21571 printf"$lt_simple_compile_test_code" > conftest.$ac_ext18668 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 21572 18669 21573 18670 lt_compiler_flag="-o out/conftest2.$ac_objext" … … 21580 18677 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 21581 18678 -e 's:$: $lt_compiler_flag:'` 21582 (eval echo "\"\$as_me: 21582: $lt_compile\"" >&5)18679 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 21583 18680 (eval "$lt_compile" 2>out/conftest.err) 21584 18681 ac_status=$? 21585 18682 cat out/conftest.err >&5 21586 echo "$as_me: 21586: \$? = $ac_status" >&518683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21587 18684 if (exit $ac_status) && test -s out/conftest2.$ac_objext 21588 18685 then 21589 18686 # The compiler can only warn and ignore the option if not recognized 21590 18687 # So say no if there are warnings 21591 $ echo "X$_lt_compiler_boilerplate" | $Xsed -e'/^$/d' > out/conftest.exp18688 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 21592 18689 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 21593 18690 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then … … 21596 18693 fi 21597 18694 chmod u+w . 2>&5 21598 $ rmconftest*18695 $RM conftest* 21599 18696 # SGI C++ compiler will create directory out/ii_files/ for 21600 18697 # template instantiation 21601 test -d out/ii_files && $ rmout/ii_files/* && rmdir out/ii_files21602 $ rmout/* && rmdir out18698 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 18699 $RM out/* && rmdir out 21603 18700 cd .. 21604 rmdir conftest 21605 $rm conftest* 21606 21607 fi 21608 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 21609 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 18701 $RM -r conftest 18702 $RM conftest* 18703 18704 fi 18705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 18706 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 18707 18708 18709 18710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 18711 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 18712 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 18713 $as_echo_n "(cached) " >&6 18714 else 18715 lt_cv_prog_compiler_c_o_CXX=no 18716 $RM -r conftest 2>/dev/null 18717 mkdir conftest 18718 cd conftest 18719 mkdir out 18720 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 18721 18722 lt_compiler_flag="-o out/conftest2.$ac_objext" 18723 # Insert the option either (1) after the last *FLAGS variable, or 18724 # (2) before a word containing "conftest.", or (3) at the end. 18725 # Note that $ac_compile itself does not contain backslashes and begins 18726 # with a dollar sign (not a hyphen), so the echo should work correctly. 18727 lt_compile=`echo "$ac_compile" | $SED \ 18728 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 18729 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18730 -e 's:$: $lt_compiler_flag:'` 18731 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 18732 (eval "$lt_compile" 2>out/conftest.err) 18733 ac_status=$? 18734 cat out/conftest.err >&5 18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18736 if (exit $ac_status) && test -s out/conftest2.$ac_objext 18737 then 18738 # The compiler can only warn and ignore the option if not recognized 18739 # So say no if there are warnings 18740 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 18741 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 18742 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 18743 lt_cv_prog_compiler_c_o_CXX=yes 18744 fi 18745 fi 18746 chmod u+w . 2>&5 18747 $RM conftest* 18748 # SGI C++ compiler will create directory out/ii_files/ for 18749 # template instantiation 18750 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 18751 $RM out/* && rmdir out 18752 cd .. 18753 $RM -r conftest 18754 $RM conftest* 18755 18756 fi 18757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 18758 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 18759 18760 21610 18761 21611 18762 … … 21613 18764 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then 21614 18765 # do not overwrite the value of need_locks provided by the user 21615 echo "$as_me:$LINENO: checking if we can lock with hard links" >&521616 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 18766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 18767 $as_echo_n "checking if we can lock with hard links... " >&6; } 21617 18768 hard_links=yes 21618 $ rmconftest*18769 $RM conftest* 21619 18770 ln conftest.a conftest.b 2>/dev/null && hard_links=no 21620 18771 touch conftest.a 21621 18772 ln conftest.a conftest.b 2>&5 || hard_links=no 21622 18773 ln conftest.a conftest.b 2>/dev/null && hard_links=no 21623 echo "$as_me:$LINENO: result: $hard_links" >&521624 echo "${ECHO_T}$hard_links" >&6 18774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 18775 $as_echo "$hard_links" >&6; } 21625 18776 if test "$hard_links" = no; then 21626 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&521627 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}18777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 18778 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 21628 18779 need_locks=warn 21629 18780 fi … … 21632 18783 fi 21633 18784 21634 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 21635 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 18785 18786 18787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 18788 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 21636 18789 21637 18790 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 18791 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 21638 18792 case $host_os in 21639 aix 4* | aix5*)18793 aix[4-9]*) 21640 18794 # If we're using GNU nm, then we don't want the "-C" option. 21641 18795 # -C means demangle to AIX nm, but means don't demangle with GNU nm 21642 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 21643 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 18796 # Also, AIX nm treats weak defined symbols like other global defined 18797 # symbols, whereas GNU nm marks them as "W". 18798 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 18799 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 21644 18800 else 21645 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'18801 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 21646 18802 fi 21647 18803 ;; 21648 18804 pw32*) 21649 18805 export_symbols_cmds_CXX="$ltdll_cmds" 21650 ;; 21651 cygwin* | mingw*) 21652 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' 21653 ;; 18806 ;; 18807 cygwin* | mingw* | cegcc*) 18808 case $cc_basename in 18809 cl*) 18810 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 18811 ;; 18812 *) 18813 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 18814 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 18815 ;; 18816 esac 18817 ;; 18818 linux* | k*bsd*-gnu | gnu*) 18819 link_all_deplibs_CXX=no 18820 ;; 21654 18821 *) 21655 18822 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 21656 ;;18823 ;; 21657 18824 esac 21658 18825 21659 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&521660 echo "${ECHO_T}$ld_shlibs_CXX" >&6 18826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 18827 $as_echo "$ld_shlibs_CXX" >&6; } 21661 18828 test "$ld_shlibs_CXX" = no && can_build_shared=no 18829 18830 with_gnu_ld_CXX=$with_gnu_ld 18831 18832 18833 18834 18835 21662 18836 21663 18837 # … … 21678 18852 # systems, -lgcc has to come before -lc. If gcc already passes -lc 21679 18853 # to ld, don't add -lc before -lgcc. 21680 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 21681 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 21682 $rm conftest* 21683 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 21684 21685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 18854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 18855 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 18856 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 18857 $as_echo_n "(cached) " >&6 18858 else 18859 $RM conftest* 18860 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 18861 18862 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 21686 18863 (eval $ac_compile) 2>&5 21687 18864 ac_status=$? 21688 echo "$as_me:$LINENO: \$? = $ac_status" >&521689 (exit $ac_status); } 2>conftest.err; then21690 soname=conftest21691 lib=conftest21692 libobjs=conftest.$ac_objext21693 deplibs=21694 wl=$lt_prog_compiler_wl_CXX21695 pic_flag=$lt_prog_compiler_pic_CXX21696 compiler_flags=-v21697 linker_flags=-v21698 verstring=21699 output_objdir=.21700 libname=conftest21701 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX21702 allow_undefined_flag_CXX=21703 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"")>&521704 (eval $archive_cmds_CXX 2\>\&1 \| grep\" -lc \" \>/dev/null 2\>\&1) 2>&518865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18866 test $ac_status = 0; } 2>conftest.err; then 18867 soname=conftest 18868 lib=conftest 18869 libobjs=conftest.$ac_objext 18870 deplibs= 18871 wl=$lt_prog_compiler_wl_CXX 18872 pic_flag=$lt_prog_compiler_pic_CXX 18873 compiler_flags=-v 18874 linker_flags=-v 18875 verstring= 18876 output_objdir=. 18877 libname=conftest 18878 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 18879 allow_undefined_flag_CXX= 18880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 18881 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 21705 18882 ac_status=$? 21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21707 (exit $ac_status); } 21708 then 21709 archive_cmds_need_lc_CXX=no 21710 else 21711 archive_cmds_need_lc_CXX=yes 21712 fi 21713 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 21714 else 21715 cat conftest.err 1>&5 21716 fi 21717 $rm conftest* 21718 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 21719 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 18883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18884 test $ac_status = 0; } 18885 then 18886 lt_cv_archive_cmds_need_lc_CXX=no 18887 else 18888 lt_cv_archive_cmds_need_lc_CXX=yes 18889 fi 18890 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 18891 else 18892 cat conftest.err 1>&5 18893 fi 18894 $RM conftest* 18895 18896 fi 18897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 18898 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 18899 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 21720 18900 ;; 21721 18901 esac … … 21724 18904 esac 21725 18905 21726 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 21727 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 18906 18907 18908 18909 18910 18911 18912 18913 18914 18915 18916 18917 18918 18919 18920 18921 18922 18923 18924 18925 18926 18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 18956 18957 18958 18959 18960 18961 18962 18963 18964 18965 18966 18967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 18968 $as_echo_n "checking dynamic linker characteristics... " >&6; } 18969 21728 18970 library_names_spec= 21729 18971 libname_spec='lib$name' … … 21739 18981 dynamic_linker="$host_os ld.so" 21740 18982 sys_lib_dlsearch_path_spec="/lib /usr/lib" 21741 if test "$GCC" = yes; then21742 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`21743 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then21744 # if the path contains ";" then we assume it to be the separator21745 # otherwise default to the standard path separator (i.e. ":") - it is21746 # assumed that no part of a normal pathname contains ";" but that should21747 # okay in the real world where ";" in dirpaths is itself problematic.21748 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`21749 else21750 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`21751 fi21752 else21753 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"21754 fi21755 18983 need_lib_prefix=unknown 21756 18984 hardcode_into_libs=no … … 21762 18990 case $host_os in 21763 18991 aix3*) 21764 version_type=linux 18992 version_type=linux # correct to gnu/linux during the next big refactor 21765 18993 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 21766 18994 shlibpath_var=LIBPATH … … 21770 18998 ;; 21771 18999 21772 aix 4* | aix5*)21773 version_type=linux 19000 aix[4-9]*) 19001 version_type=linux # correct to gnu/linux during the next big refactor 21774 19002 need_lib_prefix=no 21775 19003 need_version=no … … 21789 19017 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 21790 19018 echo ' yes ' 21791 echo '#endif'; } | ${CC} -E - | grepyes > /dev/null; then19019 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 21792 19020 : 21793 19021 else … … 21815 19043 21816 19044 amigaos*) 21817 library_names_spec='$libname.ixlibrary $libname.a' 21818 # Create ${libname}_ixlibrary.a entries in /sys/libs. 21819 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 19045 case $host_cpu in 19046 powerpc) 19047 # Since July 2007 AmigaOS4 officially supports .so libraries. 19048 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 19049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19050 ;; 19051 m68k) 19052 library_names_spec='$libname.ixlibrary $libname.a' 19053 # Create ${libname}_ixlibrary.a entries in /sys/libs. 19054 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 19055 ;; 19056 esac 21820 19057 ;; 21821 19058 … … 21827 19064 21828 19065 bsdi[45]*) 21829 version_type=linux 19066 version_type=linux # correct to gnu/linux during the next big refactor 21830 19067 need_version=no 21831 19068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' … … 21840 19077 ;; 21841 19078 21842 cygwin* | mingw* | pw32* )19079 cygwin* | mingw* | pw32* | cegcc*) 21843 19080 version_type=windows 21844 19081 shrext_cmds=".dll" … … 21846 19083 need_lib_prefix=no 21847 19084 21848 case $GCC,$host_os in 21849 yes,cygwin* | yes,mingw* | yes,pw32*) 19085 case $GCC,$cc_basename in 19086 yes,*) 19087 # gcc 21850 19088 library_names_spec='$libname.dll.a' 21851 19089 # DLL is installed to $(libdir)/../bin by postinstall_cmds 21852 19090 postinstall_cmds='base_file=`basename \${file}`~ 21853 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~19091 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 21854 19092 dldir=$destdir/`dirname \$dlpath`~ 21855 19093 test -d \$dldir || mkdir -p \$dldir~ 21856 19094 $install_prog $dir/$dlname \$dldir/$dlname~ 21857 chmod a+x \$dldir/$dlname' 19095 chmod a+x \$dldir/$dlname~ 19096 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 19097 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 19098 fi' 21858 19099 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 21859 19100 dlpath=$dir/\$dldll~ 21860 $ rm\$dlpath'19101 $RM \$dlpath' 21861 19102 shlibpath_overrides_runpath=yes 21862 19103 … … 21865 19106 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 21866 19107 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 21867 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 19108 21868 19109 ;; 21869 mingw* )19110 mingw* | cegcc*) 21870 19111 # MinGW DLLs use traditional 'lib' prefix 21871 19112 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 21872 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`21873 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then21874 # It is most probably a Windows format PATH printed by21875 # mingw gcc, but we are running on Cygwin. Gcc prints its search21876 # path with ; separators, and with drive letters. We can handle the21877 # drive letters (cygwin fileutils understands them), so leave them,21878 # especially as we might pass files found there to a mingw objdump,21879 # which wouldn't understand a cygwinified path. Ahh.21880 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`21881 else21882 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`21883 fi21884 19113 ;; 21885 19114 pw32*) … … 21888 19117 ;; 21889 19118 esac 19119 dynamic_linker='Win32 ld.exe' 21890 19120 ;; 21891 19121 21892 linux*) 21893 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then 21894 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 21895 supports_anon_versioning=no 21896 case `$LD -v 2>/dev/null` in 21897 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 21898 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 21899 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 21900 *\ 2.11.*) ;; # other 2.11 versions 21901 *) supports_anon_versioning=yes ;; 21902 esac 21903 if test $supports_anon_versioning = yes; then 21904 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ 21905 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 21906 $echo "local: *; };" >> $output_objdir/$libname.ver~ 21907 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 19122 *,cl*) 19123 # Native MSVC 19124 libname_spec='$name' 19125 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 19126 library_names_spec='${libname}.dll.lib' 19127 19128 case $build_os in 19129 mingw*) 19130 sys_lib_search_path_spec= 19131 lt_save_ifs=$IFS 19132 IFS=';' 19133 for lt_path in $LIB 19134 do 19135 IFS=$lt_save_ifs 19136 # Let DOS variable expansion print the short 8.3 style file name. 19137 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 19138 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 19139 done 19140 IFS=$lt_save_ifs 19141 # Convert to MSYS style. 19142 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 19143 ;; 19144 cygwin*) 19145 # Convert to unix form, then to dos form, then back to unix form 19146 # but this time dos style (no spaces!) so that the unix form looks 19147 # like /cygdrive/c/PROGRA~1:/cygdr... 19148 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 19149 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 19150 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 19151 ;; 19152 *) 19153 sys_lib_search_path_spec="$LIB" 19154 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 19155 # It is most probably a Windows format PATH. 19156 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 21908 19157 else 21909 $archive_expsym_cmds="$archive_cmds"19158 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 21910 19159 fi 21911 else 21912 ld_shlibs=no 21913 fi 19160 # FIXME: find the short name or the path components, as spaces are 19161 # common. (e.g. "Program Files" -> "PROGRA~1") 19162 ;; 19163 esac 19164 19165 # DLL is installed to $(libdir)/../bin by postinstall_cmds 19166 postinstall_cmds='base_file=`basename \${file}`~ 19167 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 19168 dldir=$destdir/`dirname \$dlpath`~ 19169 test -d \$dldir || mkdir -p \$dldir~ 19170 $install_prog $dir/$dlname \$dldir/$dlname' 19171 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 19172 dlpath=$dir/\$dldll~ 19173 $RM \$dlpath' 19174 shlibpath_overrides_runpath=yes 19175 dynamic_linker='Win32 link.exe' 21914 19176 ;; 21915 19177 21916 19178 *) 19179 # Assume MSVC wrapper 21917 19180 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 19181 dynamic_linker='Win32 ld.exe' 21918 19182 ;; 21919 19183 esac 21920 dynamic_linker='Win32 ld.exe'21921 19184 # FIXME: first we should search . and the directory the executable is in 21922 19185 shlibpath_var=PATH … … 21928 19191 need_lib_prefix=no 21929 19192 need_version=no 21930 library_names_spec='${libname}${release}${ versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'19193 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 21931 19194 soname_spec='${libname}${release}${major}$shared_ext' 21932 19195 shlibpath_overrides_runpath=yes 21933 19196 shlibpath_var=DYLD_LIBRARY_PATH 21934 19197 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 21935 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 21936 if test "$GCC" = yes; then 21937 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 21938 else 21939 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 21940 fi 19198 21941 19199 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 21942 19200 ;; 21943 19201 21944 19202 dgux*) 21945 version_type=linux 19203 version_type=linux # correct to gnu/linux during the next big refactor 21946 19204 need_lib_prefix=no 21947 19205 need_version=no … … 21949 19207 soname_spec='${libname}${release}${shared_ext}$major' 21950 19208 shlibpath_var=LD_LIBRARY_PATH 21951 ;;21952 21953 freebsd1*)21954 dynamic_linker=no21955 ;;21956 21957 kfreebsd*-gnu)21958 version_type=linux21959 need_lib_prefix=no21960 need_version=no21961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'21962 soname_spec='${libname}${release}${shared_ext}$major'21963 shlibpath_var=LD_LIBRARY_PATH21964 shlibpath_overrides_runpath=no21965 hardcode_into_libs=yes21966 dynamic_linker='GNU ld.so'21967 19209 ;; 21968 19210 … … 21974 19216 else 21975 19217 case $host_os in 21976 freebsd[ 123]*) objformat=aout ;;19218 freebsd[23].*) objformat=aout ;; 21977 19219 *) objformat=elf ;; 21978 19220 esac 21979 19221 fi 21980 # Handle Gentoo/FreeBSD as it was Linux 21981 case $host_vendor in 21982 gentoo) 21983 version_type=linux ;; 21984 *) 21985 version_type=freebsd-$objformat ;; 21986 esac 21987 19222 version_type=freebsd-$objformat 21988 19223 case $version_type in 21989 19224 freebsd-elf*) … … 21996 19231 need_version=yes 21997 19232 ;; 21998 linux)21999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'22000 soname_spec='${libname}${release}${shared_ext}$major'22001 need_lib_prefix=no22002 need_version=no22003 ;;22004 19233 esac 22005 19234 shlibpath_var=LD_LIBRARY_PATH 22006 19235 case $host_os in 22007 freebsd2 *)19236 freebsd2.*) 22008 19237 shlibpath_overrides_runpath=yes 22009 19238 ;; … … 22017 19246 hardcode_into_libs=yes 22018 19247 ;; 22019 freebsd*) # from 4.6 on19248 *) # from 4.6 on, and DragonFly 22020 19249 shlibpath_overrides_runpath=yes 22021 19250 hardcode_into_libs=yes … … 22024 19253 ;; 22025 19254 22026 gnu*)22027 version_type=linux 19255 haiku*) 19256 version_type=linux # correct to gnu/linux during the next big refactor 22028 19257 need_lib_prefix=no 22029 19258 need_version=no 19259 dynamic_linker="$host_os runtime_loader" 22030 19260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 22031 19261 soname_spec='${libname}${release}${shared_ext}$major' 22032 shlibpath_var=LD_LIBRARY_PATH 19262 shlibpath_var=LIBRARY_PATH 19263 shlibpath_overrides_runpath=yes 19264 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 22033 19265 hardcode_into_libs=yes 22034 19266 ;; … … 22056 19288 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 22057 19289 ;; 22058 hppa*64*)22059 shrext_cmds='.sl'22060 hardcode_into_libs=yes22061 dynamic_linker="$host_os dld.sl"22062 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH22063 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.22064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'22065 soname_spec='${libname}${release}${shared_ext}$major'22066 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"22067 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec22068 ;;22069 *)19290 hppa*64*) 19291 shrext_cmds='.sl' 19292 hardcode_into_libs=yes 19293 dynamic_linker="$host_os dld.sl" 19294 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 19295 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 19296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19297 soname_spec='${libname}${release}${shared_ext}$major' 19298 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 19299 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 19300 ;; 19301 *) 22070 19302 shrext_cmds='.sl' 22071 19303 dynamic_linker="$host_os dld.sl" … … 22076 19308 ;; 22077 19309 esac 22078 # HP-UX runs *really* slowly unless shared libraries are mode 555 .19310 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 22079 19311 postinstall_cmds='chmod 555 $lib' 19312 # or fails outright, so override atomically: 19313 install_override_mode=555 22080 19314 ;; 22081 19315 22082 interix 3*)22083 version_type=linux 19316 interix[3-9]*) 19317 version_type=linux # correct to gnu/linux during the next big refactor 22084 19318 need_lib_prefix=no 22085 19319 need_version=no … … 22097 19331 *) 22098 19332 if test "$lt_cv_prog_gnu_ld" = yes; then 22099 version_type=linux 19333 version_type=linux # correct to gnu/linux during the next big refactor 22100 19334 else 22101 19335 version_type=irix … … 22134 19368 ;; 22135 19369 22136 # This must be LinuxELF.22137 linux* )22138 version_type=linux 19370 # This must be glibc/ELF. 19371 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 19372 version_type=linux # correct to gnu/linux during the next big refactor 22139 19373 need_lib_prefix=no 22140 19374 need_version=no … … 22144 19378 shlibpath_var=LD_LIBRARY_PATH 22145 19379 shlibpath_overrides_runpath=no 19380 19381 # Some binutils ld are patched to set DT_RUNPATH 19382 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 19383 $as_echo_n "(cached) " >&6 19384 else 19385 lt_cv_shlibpath_overrides_runpath=no 19386 save_LDFLAGS=$LDFLAGS 19387 save_libdir=$libdir 19388 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 19389 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 19390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19391 /* end confdefs.h. */ 19392 19393 int 19394 main () 19395 { 19396 19397 ; 19398 return 0; 19399 } 19400 _ACEOF 19401 if ac_fn_cxx_try_link "$LINENO"; then : 19402 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 19403 lt_cv_shlibpath_overrides_runpath=yes 19404 fi 19405 fi 19406 rm -f core conftest.err conftest.$ac_objext \ 19407 conftest$ac_exeext conftest.$ac_ext 19408 LDFLAGS=$save_LDFLAGS 19409 libdir=$save_libdir 19410 19411 fi 19412 19413 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 19414 22146 19415 # This implies no fast_install, which is unacceptable. 22147 19416 # Some rework will be needed to allow for fast_install … … 22151 19420 # Append ld.so.conf contents to the search path 22152 19421 if test -f /etc/ld.so.conf; then 22153 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s ", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* //g;/^$/d' | tr '\n' ' '`19422 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` 22154 19423 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 22155 19424 fi … … 22164 19433 ;; 22165 19434 22166 knetbsd*-gnu)19435 netbsdelf*-gnu) 22167 19436 version_type=linux 22168 19437 need_lib_prefix=no … … 22173 19442 shlibpath_overrides_runpath=no 22174 19443 hardcode_into_libs=yes 22175 dynamic_linker=' GNU ld.so'19444 dynamic_linker='NetBSD ld.elf_so' 22176 19445 ;; 22177 19446 … … 22180 19449 need_lib_prefix=no 22181 19450 need_version=no 22182 if echo __ELF__ | $CC -E - | grep__ELF__ >/dev/null; then19451 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 22183 19452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 22184 19453 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 22195 19464 22196 19465 newsos6) 22197 version_type=linux 19466 version_type=linux # correct to gnu/linux during the next big refactor 22198 19467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 22199 19468 shlibpath_var=LD_LIBRARY_PATH … … 22201 19470 ;; 22202 19471 22203 nto-qnx*)22204 version_type= linux19472 *nto* | *qnx*) 19473 version_type=qnx 22205 19474 need_lib_prefix=no 22206 19475 need_version=no … … 22208 19477 soname_spec='${libname}${release}${shared_ext}$major' 22209 19478 shlibpath_var=LD_LIBRARY_PATH 22210 shlibpath_overrides_runpath=yes 19479 shlibpath_overrides_runpath=no 19480 hardcode_into_libs=yes 19481 dynamic_linker='ldqnx.so' 22211 19482 ;; 22212 19483 … … 22217 19488 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 22218 19489 case $host_os in 22219 openbsd3.3 | openbsd3.3.*) need_version=yes ;;22220 *) need_version=no ;;19490 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 19491 *) need_version=no ;; 22221 19492 esac 22222 19493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 22223 19494 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 22224 19495 shlibpath_var=LD_LIBRARY_PATH 22225 if test -z "`echo __ELF__ | $CC -E - | grep__ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then19496 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 22226 19497 case $host_os in 22227 19498 openbsd2.[89] | openbsd2.[89].*) … … 22257 19528 ;; 22258 19529 19530 rdos*) 19531 dynamic_linker=no 19532 ;; 19533 22259 19534 solaris*) 22260 version_type=linux 19535 version_type=linux # correct to gnu/linux during the next big refactor 22261 19536 need_lib_prefix=no 22262 19537 need_version=no … … 22283 19558 22284 19559 sysv4 | sysv4.3*) 22285 version_type=linux 19560 version_type=linux # correct to gnu/linux during the next big refactor 22286 19561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 22287 19562 soname_spec='${libname}${release}${shared_ext}$major' … … 22291 19566 shlibpath_overrides_runpath=no 22292 19567 need_lib_prefix=no 22293 export_dynamic_flag_spec='${wl}-Blargedynsym'22294 19568 runpath_var=LD_RUN_PATH 22295 19569 ;; … … 22308 19582 sysv4*MP*) 22309 19583 if test -d /usr/nec ;then 22310 version_type=linux 19584 version_type=linux # correct to gnu/linux during the next big refactor 22311 19585 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 22312 19586 soname_spec='$libname${shared_ext}.$major' … … 22322 19596 soname_spec='${libname}${release}${shared_ext}$major' 22323 19597 shlibpath_var=LD_LIBRARY_PATH 19598 shlibpath_overrides_runpath=yes 22324 19599 hardcode_into_libs=yes 22325 19600 if test "$with_gnu_ld" = yes; then 22326 19601 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 22327 shlibpath_overrides_runpath=no22328 19602 else 22329 19603 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 22330 shlibpath_overrides_runpath=yes22331 19604 case $host_os in 22332 19605 sco3.2v5*) … … 22338 19611 ;; 22339 19612 19613 tpf*) 19614 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 19615 version_type=linux # correct to gnu/linux during the next big refactor 19616 need_lib_prefix=no 19617 need_version=no 19618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19619 shlibpath_var=LD_LIBRARY_PATH 19620 shlibpath_overrides_runpath=no 19621 hardcode_into_libs=yes 19622 ;; 19623 22340 19624 uts4*) 22341 version_type=linux 19625 version_type=linux # correct to gnu/linux during the next big refactor 22342 19626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 22343 19627 soname_spec='${libname}${release}${shared_ext}$major' … … 22349 19633 ;; 22350 19634 esac 22351 echo "$as_me:$LINENO: result: $dynamic_linker" >&522352 echo "${ECHO_T}$dynamic_linker" >&6 19635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 19636 $as_echo "$dynamic_linker" >&6; } 22353 19637 test "$dynamic_linker" = no && can_build_shared=no 22354 19638 … … 22358 19642 fi 22359 19643 22360 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 22361 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 19644 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 19645 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 19646 fi 19647 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 19648 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 19649 fi 19650 19651 19652 19653 19654 19655 19656 19657 19658 19659 19660 19661 19662 19663 19664 19665 19666 19667 19668 19669 19670 19671 19672 19673 19674 19675 19676 19677 19678 19679 19680 19681 19682 19683 19684 19685 19686 19687 19688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 19689 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 22362 19690 hardcode_action_CXX= 22363 if test -n "$hardcode_libdir_flag_spec_CXX" || \22364 test -n "$runpath_var_CXX" || \19691 if test -n "$hardcode_libdir_flag_spec_CXX" || 19692 test -n "$runpath_var_CXX" || 22365 19693 test "X$hardcode_automatic_CXX" = "Xyes" ; then 22366 19694 22367 # We can hardcode non-exist ant directories.19695 # We can hardcode non-existent directories. 22368 19696 if test "$hardcode_direct_CXX" != no && 22369 19697 # If the only mechanism to avoid hardcoding is shlibpath_var, we 22370 19698 # have to relink, otherwise we might link with an installed library 22371 19699 # when we should be linking with a yet-to-be-installed one 22372 ## test "$_LT_ AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&19700 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 22373 19701 test "$hardcode_minus_L_CXX" != no; then 22374 19702 # Linking always hardcodes the temporary library directory. … … 22383 19711 hardcode_action_CXX=unsupported 22384 19712 fi 22385 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 22386 echo "${ECHO_T}$hardcode_action_CXX" >&6 22387 22388 if test "$hardcode_action_CXX" = relink; then 19713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 19714 $as_echo "$hardcode_action_CXX" >&6; } 19715 19716 if test "$hardcode_action_CXX" = relink || 19717 test "$inherit_rpath_CXX" = yes; then 22389 19718 # Fast installation is not supported 22390 19719 enable_fast_install=no … … 22396 19725 22397 19726 22398 # The else clause should only fire when bootstrapping the 22399 # libtool distribution, otherwise you forgot to ship ltmain.sh 22400 # with your package, and you will get complaints that there are 22401 # no rules to generate ltmain.sh. 22402 if test -f "$ltmain"; then 22403 # See if we are running on zsh, and set the options which allow our commands through 22404 # without removal of \ escapes. 22405 if test -n "${ZSH_VERSION+set}" ; then 22406 setopt NO_GLOB_SUBST 22407 fi 22408 # Now quote all the things that may contain metacharacters while being 22409 # careful not to overquote the AC_SUBSTed values. We take copies of the 22410 # variables and quote the copies for generation of the libtool script. 22411 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ 22412 SED SHELL STRIP \ 22413 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 22414 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 22415 deplibs_check_method reload_flag reload_cmds need_locks \ 22416 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 22417 lt_cv_sys_global_symbol_to_c_name_address \ 22418 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 22419 old_postinstall_cmds old_postuninstall_cmds \ 22420 compiler_CXX \ 22421 CC_CXX \ 22422 LD_CXX \ 22423 lt_prog_compiler_wl_CXX \ 22424 lt_prog_compiler_pic_CXX \ 22425 lt_prog_compiler_static_CXX \ 22426 lt_prog_compiler_no_builtin_flag_CXX \ 22427 export_dynamic_flag_spec_CXX \ 22428 thread_safe_flag_spec_CXX \ 22429 whole_archive_flag_spec_CXX \ 22430 enable_shared_with_static_runtimes_CXX \ 22431 old_archive_cmds_CXX \ 22432 old_archive_from_new_cmds_CXX \ 22433 predep_objects_CXX \ 22434 postdep_objects_CXX \ 22435 predeps_CXX \ 22436 postdeps_CXX \ 22437 compiler_lib_search_path_CXX \ 22438 archive_cmds_CXX \ 22439 archive_expsym_cmds_CXX \ 22440 postinstall_cmds_CXX \ 22441 postuninstall_cmds_CXX \ 22442 old_archive_from_expsyms_cmds_CXX \ 22443 allow_undefined_flag_CXX \ 22444 no_undefined_flag_CXX \ 22445 export_symbols_cmds_CXX \ 22446 hardcode_libdir_flag_spec_CXX \ 22447 hardcode_libdir_flag_spec_ld_CXX \ 22448 hardcode_libdir_separator_CXX \ 22449 hardcode_automatic_CXX \ 22450 module_cmds_CXX \ 22451 module_expsym_cmds_CXX \ 22452 lt_cv_prog_compiler_c_o_CXX \ 22453 exclude_expsyms_CXX \ 22454 include_expsyms_CXX; do 22455 22456 case $var in 22457 old_archive_cmds_CXX | \ 22458 old_archive_from_new_cmds_CXX | \ 22459 archive_cmds_CXX | \ 22460 archive_expsym_cmds_CXX | \ 22461 module_cmds_CXX | \ 22462 module_expsym_cmds_CXX | \ 22463 old_archive_from_expsyms_cmds_CXX | \ 22464 export_symbols_cmds_CXX | \ 22465 extract_expsyms_cmds | reload_cmds | finish_cmds | \ 22466 postinstall_cmds | postuninstall_cmds | \ 22467 old_postinstall_cmds | old_postuninstall_cmds | \ 22468 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 22469 # Double-quote double-evaled strings. 22470 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 22471 ;; 22472 *) 22473 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 22474 ;; 22475 esac 22476 done 22477 22478 case $lt_echo in 22479 *'\$0 --fallback-echo"') 22480 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` 22481 ;; 22482 esac 22483 22484 cfgfile="$ofile" 22485 22486 cat <<__EOF__ >> "$cfgfile" 22487 # ### BEGIN LIBTOOL TAG CONFIG: $tagname 22488 22489 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 22490 22491 # Shell to use when invoking shell scripts. 22492 SHELL=$lt_SHELL 22493 22494 # Whether or not to build shared libraries. 22495 build_libtool_libs=$enable_shared 22496 22497 # Whether or not to build static libraries. 22498 build_old_libs=$enable_static 22499 22500 # Whether or not to add -lc for building shared libraries. 22501 build_libtool_need_lc=$archive_cmds_need_lc_CXX 22502 22503 # Whether or not to disallow shared libs when runtime libs are static 22504 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 22505 22506 # Whether or not to optimize for fast installation. 22507 fast_install=$enable_fast_install 22508 22509 # The host system. 22510 host_alias=$host_alias 22511 host=$host 22512 host_os=$host_os 22513 22514 # The build system. 22515 build_alias=$build_alias 22516 build=$build 22517 build_os=$build_os 22518 22519 # An echo program that does not interpret backslashes. 22520 echo=$lt_echo 22521 22522 # The archiver. 22523 AR=$lt_AR 22524 AR_FLAGS=$lt_AR_FLAGS 22525 22526 # A C compiler. 22527 LTCC=$lt_LTCC 22528 22529 # LTCC compiler flags. 22530 LTCFLAGS=$lt_LTCFLAGS 22531 22532 # A language-specific compiler. 22533 CC=$lt_compiler_CXX 22534 22535 # Is the compiler the GNU C compiler? 22536 with_gcc=$GCC_CXX 22537 22538 # An ERE matcher. 22539 EGREP=$lt_EGREP 22540 22541 # The linker used to build libraries. 22542 LD=$lt_LD_CXX 22543 22544 # Whether we need hard or soft links. 22545 LN_S=$lt_LN_S 22546 22547 # A BSD-compatible nm program. 22548 NM=$lt_NM 22549 22550 # A symbol stripping program 22551 STRIP=$lt_STRIP 22552 22553 # Used to examine libraries when file_magic_cmd begins "file" 22554 MAGIC_CMD=$MAGIC_CMD 22555 22556 # Used on cygwin: DLL creation program. 22557 DLLTOOL="$DLLTOOL" 22558 22559 # Used on cygwin: object dumper. 22560 OBJDUMP="$OBJDUMP" 22561 22562 # Used on cygwin: assembler. 22563 AS="$AS" 22564 22565 # The name of the directory that contains temporary libtool files. 22566 objdir=$objdir 22567 22568 # How to create reloadable object files. 22569 reload_flag=$lt_reload_flag 22570 reload_cmds=$lt_reload_cmds 22571 22572 # How to pass a linker flag through the compiler. 22573 wl=$lt_lt_prog_compiler_wl_CXX 22574 22575 # Object file suffix (normally "o"). 22576 objext="$ac_objext" 22577 22578 # Old archive suffix (normally "a"). 22579 libext="$libext" 22580 22581 # Shared library suffix (normally ".so"). 22582 shrext_cmds='$shrext_cmds' 22583 22584 # Executable file suffix (normally ""). 22585 exeext="$exeext" 22586 22587 # Additional compiler flags for building library objects. 22588 pic_flag=$lt_lt_prog_compiler_pic_CXX 22589 pic_mode=$pic_mode 22590 22591 # What is the maximum length of a command? 22592 max_cmd_len=$lt_cv_sys_max_cmd_len 22593 22594 # Does compiler simultaneously support -c and -o options? 22595 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 22596 22597 # Must we lock files when doing compilation? 22598 need_locks=$lt_need_locks 22599 22600 # Do we need the lib prefix for modules? 22601 need_lib_prefix=$need_lib_prefix 22602 22603 # Do we need a version for libraries? 22604 need_version=$need_version 22605 22606 # Whether dlopen is supported. 22607 dlopen_support=$enable_dlopen 22608 22609 # Whether dlopen of programs is supported. 22610 dlopen_self=$enable_dlopen_self 22611 22612 # Whether dlopen of statically linked programs is supported. 22613 dlopen_self_static=$enable_dlopen_self_static 22614 22615 # Compiler flag to prevent dynamic linking. 22616 link_static_flag=$lt_lt_prog_compiler_static_CXX 22617 22618 # Compiler flag to turn off builtin functions. 22619 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 22620 22621 # Compiler flag to allow reflexive dlopens. 22622 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 22623 22624 # Compiler flag to generate shared objects directly from archives. 22625 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 22626 22627 # Compiler flag to generate thread-safe objects. 22628 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX 22629 22630 # Library versioning type. 22631 version_type=$version_type 22632 22633 # Format of library name prefix. 22634 libname_spec=$lt_libname_spec 22635 22636 # List of archive names. First name is the real one, the rest are links. 22637 # The last name is the one that the linker finds with -lNAME. 22638 library_names_spec=$lt_library_names_spec 22639 22640 # The coded name of the library, if different from the real name. 22641 soname_spec=$lt_soname_spec 22642 22643 # Commands used to build and install an old-style archive. 22644 RANLIB=$lt_RANLIB 22645 old_archive_cmds=$lt_old_archive_cmds_CXX 22646 old_postinstall_cmds=$lt_old_postinstall_cmds 22647 old_postuninstall_cmds=$lt_old_postuninstall_cmds 22648 22649 # Create an old-style archive from a shared archive. 22650 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 22651 22652 # Create a temporary old-style archive to link instead of a shared archive. 22653 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 22654 22655 # Commands used to build and install a shared archive. 22656 archive_cmds=$lt_archive_cmds_CXX 22657 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 22658 postinstall_cmds=$lt_postinstall_cmds 22659 postuninstall_cmds=$lt_postuninstall_cmds 22660 22661 # Commands used to build a loadable module (assumed same as above if empty) 22662 module_cmds=$lt_module_cmds_CXX 22663 module_expsym_cmds=$lt_module_expsym_cmds_CXX 22664 22665 # Commands to strip libraries. 22666 old_striplib=$lt_old_striplib 22667 striplib=$lt_striplib 22668 22669 # Dependencies to place before the objects being linked to create a 22670 # shared library. 22671 predep_objects=$lt_predep_objects_CXX 22672 22673 # Dependencies to place after the objects being linked to create a 22674 # shared library. 22675 postdep_objects=$lt_postdep_objects_CXX 22676 22677 # Dependencies to place before the objects being linked to create a 22678 # shared library. 22679 predeps=$lt_predeps_CXX 22680 22681 # Dependencies to place after the objects being linked to create a 22682 # shared library. 22683 postdeps=$lt_postdeps_CXX 22684 22685 # The library search path used internally by the compiler when linking 22686 # a shared library. 22687 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 22688 22689 # Method to check whether dependent libraries are shared objects. 22690 deplibs_check_method=$lt_deplibs_check_method 22691 22692 # Command to use when deplibs_check_method == file_magic. 22693 file_magic_cmd=$lt_file_magic_cmd 22694 22695 # Flag that allows shared libraries with undefined symbols to be built. 22696 allow_undefined_flag=$lt_allow_undefined_flag_CXX 22697 22698 # Flag that forces no undefined symbols. 22699 no_undefined_flag=$lt_no_undefined_flag_CXX 22700 22701 # Commands used to finish a libtool library installation in a directory. 22702 finish_cmds=$lt_finish_cmds 22703 22704 # Same as above, but a single script fragment to be evaled but not shown. 22705 finish_eval=$lt_finish_eval 22706 22707 # Take the output of nm and produce a listing of raw symbols and C names. 22708 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 22709 22710 # Transform the output of nm in a proper C declaration 22711 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 22712 22713 # Transform the output of nm in a C name address pair 22714 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 22715 22716 # This is the shared library runtime path variable. 22717 runpath_var=$runpath_var 22718 22719 # This is the shared library path variable. 22720 shlibpath_var=$shlibpath_var 22721 22722 # Is shlibpath searched before the hard-coded library search path? 22723 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 22724 22725 # How to hardcode a shared library path into an executable. 22726 hardcode_action=$hardcode_action_CXX 22727 22728 # Whether we should hardcode library paths into libraries. 22729 hardcode_into_libs=$hardcode_into_libs 22730 22731 # Flag to hardcode \$libdir into a binary during linking. 22732 # This must work even if \$libdir does not exist. 22733 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 22734 22735 # If ld is used when linking, flag to hardcode \$libdir into 22736 # a binary during linking. This must work even if \$libdir does 22737 # not exist. 22738 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX 22739 22740 # Whether we need a single -rpath flag with a separated argument. 22741 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 22742 22743 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the 22744 # resulting binary. 22745 hardcode_direct=$hardcode_direct_CXX 22746 22747 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the 22748 # resulting binary. 22749 hardcode_minus_L=$hardcode_minus_L_CXX 22750 22751 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 22752 # the resulting binary. 22753 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 22754 22755 # Set to yes if building a shared library automatically hardcodes DIR into the library 22756 # and all subsequent libraries and executables linked against it. 22757 hardcode_automatic=$hardcode_automatic_CXX 22758 22759 # Variables whose values should be saved in libtool wrapper scripts and 22760 # restored at relink time. 22761 variables_saved_for_relink="$variables_saved_for_relink" 22762 22763 # Whether libtool must link a program against all its dependency libraries. 22764 link_all_deplibs=$link_all_deplibs_CXX 22765 22766 # Compile-time system search path for libraries 22767 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 22768 22769 # Run-time system search path for libraries 22770 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 22771 22772 # Fix the shell variable \$srcfile for the compiler. 22773 fix_srcfile_path="$fix_srcfile_path_CXX" 22774 22775 # Set to yes if exported symbols are required. 22776 always_export_symbols=$always_export_symbols_CXX 22777 22778 # The commands to list exported symbols. 22779 export_symbols_cmds=$lt_export_symbols_cmds_CXX 22780 22781 # The commands to extract the exported symbol list from a shared archive. 22782 extract_expsyms_cmds=$lt_extract_expsyms_cmds 22783 22784 # Symbols that should not be listed in the preloaded symbols. 22785 exclude_expsyms=$lt_exclude_expsyms_CXX 22786 22787 # Symbols that must always be exported. 22788 include_expsyms=$lt_include_expsyms_CXX 22789 22790 # ### END LIBTOOL TAG CONFIG: $tagname 22791 22792 __EOF__ 22793 22794 22795 else 22796 # If there is no Makefile yet, we rely on a make rule to execute 22797 # `config.status --recheck' to rerun these tests and create the 22798 # libtool script then. 22799 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 22800 if test -f "$ltmain_in"; then 22801 test -f Makefile && make "$ltmain" 22802 fi 22803 fi 22804 19727 19728 19729 19730 19731 19732 fi # test -n "$compiler" 19733 19734 CC=$lt_save_CC 19735 CFLAGS=$lt_save_CFLAGS 19736 LDCXX=$LD 19737 LD=$lt_save_LD 19738 GCC=$lt_save_GCC 19739 with_gnu_ld=$lt_save_with_gnu_ld 19740 lt_cv_path_LDCXX=$lt_cv_path_LD 19741 lt_cv_path_LD=$lt_save_path_LD 19742 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 19743 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 19744 fi # test "$_lt_caught_CXX_error" != yes 22805 19745 22806 19746 ac_ext=c … … 22810 19750 ac_compiler_gnu=$ac_cv_c_compiler_gnu 22811 19751 22812 CC=$lt_save_CC 22813 LDCXX=$LD 22814 LD=$lt_save_LD 22815 GCC=$lt_save_GCC 22816 with_gnu_ldcxx=$with_gnu_ld 22817 with_gnu_ld=$lt_save_with_gnu_ld 22818 lt_cv_path_LDCXX=$lt_cv_path_LD 22819 lt_cv_path_LD=$lt_save_path_LD 22820 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 22821 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 22822 22823 else 22824 tagname="" 22825 fi 22826 ;; 22827 22828 F77) 22829 if test -n "$F77" && test "X$F77" != "Xno"; then 22830 22831 ac_ext=f 19752 19753 19754 ac_ext=f 22832 19755 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 22833 19756 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22834 19757 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 22835 19758 19759 if test -z "$F77" || test "X$F77" = "Xno"; then 19760 _lt_disable_F77=yes 19761 fi 22836 19762 22837 19763 archive_cmds_need_lc_F77=no … … 22841 19767 export_dynamic_flag_spec_F77= 22842 19768 hardcode_direct_F77=no 19769 hardcode_direct_absolute_F77=no 22843 19770 hardcode_libdir_flag_spec_F77= 22844 hardcode_libdir_flag_spec_ld_F77=22845 19771 hardcode_libdir_separator_F77= 22846 19772 hardcode_minus_L_F77=no 22847 19773 hardcode_automatic_F77=no 19774 inherit_rpath_F77=no 22848 19775 module_cmds_F77= 22849 19776 module_expsym_cmds_F77= 22850 19777 link_all_deplibs_F77=unknown 22851 19778 old_archive_cmds_F77=$old_archive_cmds 19779 reload_flag_F77=$reload_flag 19780 reload_cmds_F77=$reload_cmds 22852 19781 no_undefined_flag_F77= 22853 19782 whole_archive_flag_spec_F77= … … 22861 19790 objext_F77=$objext 22862 19791 22863 # Code to be used in simple compile tests 22864 lt_simple_compile_test_code=" subroutine t\n return\n end\n" 22865 22866 # Code to be used in simple link tests 22867 lt_simple_link_test_code=" program t\n end\n" 22868 22869 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 19792 # No sense in running all these tests if we already determined that 19793 # the F77 compiler isn't working. Some variables (like enable_shared) 19794 # are currently assumed to apply to all compilers on this platform, 19795 # and will be corrupted by setting them based on a non-working compiler. 19796 if test "$_lt_disable_F77" != yes; then 19797 # Code to be used in simple compile tests 19798 lt_simple_compile_test_code="\ 19799 subroutine t 19800 return 19801 end 19802 " 19803 19804 # Code to be used in simple link tests 19805 lt_simple_link_test_code="\ 19806 program t 19807 end 19808 " 19809 19810 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 19811 19812 19813 19814 19815 22870 19816 22871 19817 # If no C compiler was specified, use CC. … … 22879 19825 22880 19826 22881 # save warnings/boilerplate of simple test code22882 ac_outfile=conftest.$ac_objext22883 printf"$lt_simple_compile_test_code" >conftest.$ac_ext19827 # save warnings/boilerplate of simple test code 19828 ac_outfile=conftest.$ac_objext 19829 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 22884 19830 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 22885 19831 _lt_compiler_boilerplate=`cat conftest.err` 22886 $ rmconftest*22887 22888 ac_outfile=conftest.$ac_objext22889 printf"$lt_simple_link_test_code" >conftest.$ac_ext19832 $RM conftest* 19833 19834 ac_outfile=conftest.$ac_objext 19835 echo "$lt_simple_link_test_code" >conftest.$ac_ext 22890 19836 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 22891 19837 _lt_linker_boilerplate=`cat conftest.err` 22892 $rm conftest* 22893 22894 22895 # Allow CC to be a program name with arguments. 22896 lt_save_CC="$CC" 22897 CC=${F77-"f77"} 22898 compiler=$CC 22899 compiler_F77=$CC 22900 for cc_temp in $compiler""; do 19838 $RM -r conftest* 19839 19840 19841 # Allow CC to be a program name with arguments. 19842 lt_save_CC="$CC" 19843 lt_save_GCC=$GCC 19844 lt_save_CFLAGS=$CFLAGS 19845 CC=${F77-"f77"} 19846 CFLAGS=$FFLAGS 19847 compiler=$CC 19848 compiler_F77=$CC 19849 for cc_temp in $compiler""; do 22901 19850 case $cc_temp in 22902 19851 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; … … 22906 19855 esac 22907 19856 done 22908 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 22909 22910 22911 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 22912 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 22913 echo "$as_me:$LINENO: result: $can_build_shared" >&5 22914 echo "${ECHO_T}$can_build_shared" >&6 22915 22916 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 22917 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 22918 test "$can_build_shared" = "no" && enable_shared=no 22919 22920 # On AIX, shared libraries and static libraries use the same namespace, and 22921 # are all built from PIC. 22922 case $host_os in 22923 aix3*) 22924 test "$enable_shared" = yes && enable_static=no 22925 if test -n "$RANLIB"; then 22926 archive_cmds="$archive_cmds~\$RANLIB \$lib" 22927 postinstall_cmds='$RANLIB $lib' 22928 fi 22929 ;; 22930 aix4* | aix5*) 22931 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 22932 test "$enable_shared" = yes && enable_static=no 22933 fi 22934 ;; 22935 esac 22936 echo "$as_me:$LINENO: result: $enable_shared" >&5 22937 echo "${ECHO_T}$enable_shared" >&6 22938 22939 echo "$as_me:$LINENO: checking whether to build static libraries" >&5 22940 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 22941 # Make sure either enable_shared or enable_static is yes. 22942 test "$enable_shared" = yes || enable_static=yes 22943 echo "$as_me:$LINENO: result: $enable_static" >&5 22944 echo "${ECHO_T}$enable_static" >&6 22945 22946 GCC_F77="$G77" 22947 LD_F77="$LD" 22948 22949 lt_prog_compiler_wl_F77= 19857 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 19858 19859 GCC=$G77 19860 if test -n "$compiler"; then 19861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 19862 $as_echo_n "checking if libtool supports shared libraries... " >&6; } 19863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 19864 $as_echo "$can_build_shared" >&6; } 19865 19866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 19867 $as_echo_n "checking whether to build shared libraries... " >&6; } 19868 test "$can_build_shared" = "no" && enable_shared=no 19869 19870 # On AIX, shared libraries and static libraries use the same namespace, and 19871 # are all built from PIC. 19872 case $host_os in 19873 aix3*) 19874 test "$enable_shared" = yes && enable_static=no 19875 if test -n "$RANLIB"; then 19876 archive_cmds="$archive_cmds~\$RANLIB \$lib" 19877 postinstall_cmds='$RANLIB $lib' 19878 fi 19879 ;; 19880 aix[4-9]*) 19881 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 19882 test "$enable_shared" = yes && enable_static=no 19883 fi 19884 ;; 19885 esac 19886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 19887 $as_echo "$enable_shared" >&6; } 19888 19889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 19890 $as_echo_n "checking whether to build static libraries... " >&6; } 19891 # Make sure either enable_shared or enable_static is yes. 19892 test "$enable_shared" = yes || enable_static=yes 19893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 19894 $as_echo "$enable_static" >&6; } 19895 19896 GCC_F77="$G77" 19897 LD_F77="$LD" 19898 19899 ## CAVEAT EMPTOR: 19900 ## There is no encapsulation within the following macros, do not change 19901 ## the running order or otherwise move them around unless you know exactly 19902 ## what you are doing... 19903 lt_prog_compiler_wl_F77= 22950 19904 lt_prog_compiler_pic_F77= 22951 19905 lt_prog_compiler_static_F77= 22952 19906 22953 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&522954 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&622955 19907 22956 19908 if test "$GCC" = yes; then … … 22968 19920 22969 19921 amigaos*) 22970 # FIXME: we need at least 68020 code to build shared libraries, but 22971 # adding the `-m68020' flag to GCC prevents building anything better, 22972 # like `-m68040'. 22973 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' 19922 case $host_cpu in 19923 powerpc) 19924 # see comment about AmigaOS4 .so support 19925 lt_prog_compiler_pic_F77='-fPIC' 19926 ;; 19927 m68k) 19928 # FIXME: we need at least 68020 code to build shared libraries, but 19929 # adding the `-m68020' flag to GCC prevents building anything better, 19930 # like `-m68040'. 19931 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' 19932 ;; 19933 esac 22974 19934 ;; 22975 19935 22976 beos* | cygwin* |irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)19936 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 22977 19937 # PIC is the default for these OSes. 22978 19938 ;; 22979 19939 22980 mingw* | pw32* | os2*)19940 mingw* | cygwin* | pw32* | os2* | cegcc*) 22981 19941 # This hack is so that the source file can tell whether it is being 22982 19942 # built for inclusion in a dll (and should export symbols for example). 19943 # Although the cygwin gcc ignores -fPIC, still need this for old-style 19944 # (--disable-auto-import) libraries 22983 19945 lt_prog_compiler_pic_F77='-DDLL_EXPORT' 22984 19946 ;; … … 22990 19952 ;; 22991 19953 22992 interix3*) 22993 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 22994 # Instead, we relocate shared libraries at runtime. 19954 haiku*) 19955 # PIC is the default for Haiku. 19956 # The "-static" flag exists, but is broken. 19957 lt_prog_compiler_static_F77= 22995 19958 ;; 22996 19959 22997 msdosdjgpp*)22998 # Just because we use GCC doesn't mean we suddenly get shared libraries22999 # on systems that don't support them.23000 lt_prog_compiler_can_build_shared_F77=no23001 enable_shared=no23002 ;;23003 23004 sysv4*MP*)23005 if test -d /usr/nec; then23006 lt_prog_compiler_pic_F77=-Kconform_pic23007 fi23008 ;;23009 23010 19960 hpux*) 23011 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 23012 # not for PA HP-UX. 19961 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 19962 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 19963 # sets the default TLS model and affects inlining. 23013 19964 case $host_cpu in 23014 hppa*64* |ia64*)19965 hppa*64*) 23015 19966 # +Z the default 23016 19967 ;; … … 23021 19972 ;; 23022 19973 19974 interix[3-9]*) 19975 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 19976 # Instead, we relocate shared libraries at runtime. 19977 ;; 19978 19979 msdosdjgpp*) 19980 # Just because we use GCC doesn't mean we suddenly get shared libraries 19981 # on systems that don't support them. 19982 lt_prog_compiler_can_build_shared_F77=no 19983 enable_shared=no 19984 ;; 19985 19986 *nto* | *qnx*) 19987 # QNX uses GNU C++, but need to define -shared option too, otherwise 19988 # it will coredump. 19989 lt_prog_compiler_pic_F77='-fPIC -shared' 19990 ;; 19991 19992 sysv4*MP*) 19993 if test -d /usr/nec; then 19994 lt_prog_compiler_pic_F77=-Kconform_pic 19995 fi 19996 ;; 19997 23023 19998 *) 23024 19999 lt_prog_compiler_pic_F77='-fPIC' 20000 ;; 20001 esac 20002 20003 case $cc_basename in 20004 nvcc*) # Cuda Compiler Driver 2.2 20005 lt_prog_compiler_wl_F77='-Xlinker ' 20006 if test -n "$lt_prog_compiler_pic_F77"; then 20007 lt_prog_compiler_pic_F77="-Xcompiler $lt_prog_compiler_pic_F77" 20008 fi 23025 20009 ;; 23026 20010 esac … … 23037 20021 fi 23038 20022 ;; 23039 darwin*) 23040 # PIC is the default on this platform 23041 # Common symbols not allowed in MH_DYLIB files 23042 case $cc_basename in 23043 xlc*) 23044 lt_prog_compiler_pic_F77='-qnocommon' 23045 lt_prog_compiler_wl_F77='-Wl,' 23046 ;; 23047 esac 23048 ;; 23049 23050 mingw* | pw32* | os2*) 20023 20024 mingw* | cygwin* | pw32* | os2* | cegcc*) 23051 20025 # This hack is so that the source file can tell whether it is being 23052 20026 # built for inclusion in a dll (and should export symbols for example). … … 23076 20050 ;; 23077 20051 23078 newsos6) 23079 lt_prog_compiler_pic_F77='-KPIC' 23080 lt_prog_compiler_static_F77='-Bstatic' 23081 ;; 23082 23083 linux*) 20052 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 23084 20053 case $cc_basename in 23085 icc* | ecc*) 20054 # old Intel for x86_64 which still supported -KPIC. 20055 ecc*) 23086 20056 lt_prog_compiler_wl_F77='-Wl,' 23087 20057 lt_prog_compiler_pic_F77='-KPIC' 23088 20058 lt_prog_compiler_static_F77='-static' 23089 20059 ;; 23090 pgcc* | pgf77* | pgf90* | pgf95*) 20060 # icc used to be incompatible with GCC. 20061 # ICC 10 doesn't accept -KPIC any more. 20062 icc* | ifort*) 20063 lt_prog_compiler_wl_F77='-Wl,' 20064 lt_prog_compiler_pic_F77='-fPIC' 20065 lt_prog_compiler_static_F77='-static' 20066 ;; 20067 # Lahey Fortran 8.1. 20068 lf95*) 20069 lt_prog_compiler_wl_F77='-Wl,' 20070 lt_prog_compiler_pic_F77='--shared' 20071 lt_prog_compiler_static_F77='--static' 20072 ;; 20073 nagfor*) 20074 # NAG Fortran compiler 20075 lt_prog_compiler_wl_F77='-Wl,-Wl,,' 20076 lt_prog_compiler_pic_F77='-PIC' 20077 lt_prog_compiler_static_F77='-Bstatic' 20078 ;; 20079 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 23091 20080 # Portland Group compilers (*not* the Pentium gcc compiler, 23092 20081 # which looks to be a dead project) … … 23100 20089 lt_prog_compiler_static_F77='-non_shared' 23101 20090 ;; 20091 xl* | bgxl* | bgf* | mpixl*) 20092 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 20093 lt_prog_compiler_wl_F77='-Wl,' 20094 lt_prog_compiler_pic_F77='-qpic' 20095 lt_prog_compiler_static_F77='-qstaticlink' 20096 ;; 20097 *) 20098 case `$CC -V 2>&1 | sed 5q` in 20099 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 20100 # Sun Fortran 8.3 passes all unrecognized flags to the linker 20101 lt_prog_compiler_pic_F77='-KPIC' 20102 lt_prog_compiler_static_F77='-Bstatic' 20103 lt_prog_compiler_wl_F77='' 20104 ;; 20105 *Sun\ F* | *Sun*Fortran*) 20106 lt_prog_compiler_pic_F77='-KPIC' 20107 lt_prog_compiler_static_F77='-Bstatic' 20108 lt_prog_compiler_wl_F77='-Qoption ld ' 20109 ;; 20110 *Sun\ C*) 20111 # Sun C 5.9 20112 lt_prog_compiler_pic_F77='-KPIC' 20113 lt_prog_compiler_static_F77='-Bstatic' 20114 lt_prog_compiler_wl_F77='-Wl,' 20115 ;; 20116 *Intel*\ [CF]*Compiler*) 20117 lt_prog_compiler_wl_F77='-Wl,' 20118 lt_prog_compiler_pic_F77='-fPIC' 20119 lt_prog_compiler_static_F77='-static' 20120 ;; 20121 *Portland\ Group*) 20122 lt_prog_compiler_wl_F77='-Wl,' 20123 lt_prog_compiler_pic_F77='-fpic' 20124 lt_prog_compiler_static_F77='-Bstatic' 20125 ;; 20126 esac 20127 ;; 23102 20128 esac 20129 ;; 20130 20131 newsos6) 20132 lt_prog_compiler_pic_F77='-KPIC' 20133 lt_prog_compiler_static_F77='-Bstatic' 20134 ;; 20135 20136 *nto* | *qnx*) 20137 # QNX uses GNU C++, but need to define -shared option too, otherwise 20138 # it will coredump. 20139 lt_prog_compiler_pic_F77='-fPIC -shared' 23103 20140 ;; 23104 20141 … … 23109 20146 ;; 23110 20147 20148 rdos*) 20149 lt_prog_compiler_static_F77='-non_shared' 20150 ;; 20151 23111 20152 solaris*) 23112 20153 lt_prog_compiler_pic_F77='-KPIC' 23113 20154 lt_prog_compiler_static_F77='-Bstatic' 23114 20155 case $cc_basename in 23115 f77* | f90* | f95* )20156 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 23116 20157 lt_prog_compiler_wl_F77='-Qoption ld ';; 23117 20158 *) … … 23161 20202 fi 23162 20203 23163 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 23164 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 20204 case $host_os in 20205 # For platforms which do not support PIC, -DPIC is meaningless: 20206 *djgpp*) 20207 lt_prog_compiler_pic_F77= 20208 ;; 20209 *) 20210 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" 20211 ;; 20212 esac 20213 20214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 20215 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 20216 if ${lt_cv_prog_compiler_pic_F77+:} false; then : 20217 $as_echo_n "(cached) " >&6 20218 else 20219 lt_cv_prog_compiler_pic_F77=$lt_prog_compiler_pic_F77 20220 fi 20221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_F77" >&5 20222 $as_echo "$lt_cv_prog_compiler_pic_F77" >&6; } 20223 lt_prog_compiler_pic_F77=$lt_cv_prog_compiler_pic_F77 23165 20224 23166 20225 # … … 23168 20227 # 23169 20228 if test -n "$lt_prog_compiler_pic_F77"; then 23170 23171 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 23172 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 23173 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then 23174 echo $ECHO_N "(cached) $ECHO_C" >&6 23175 else 23176 lt_prog_compiler_pic_works_F77=no 23177 ac_outfile=conftest.$ac_objext 23178 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 20229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 20230 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; } 20231 if ${lt_cv_prog_compiler_pic_works_F77+:} false; then : 20232 $as_echo_n "(cached) " >&6 20233 else 20234 lt_cv_prog_compiler_pic_works_F77=no 20235 ac_outfile=conftest.$ac_objext 20236 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 23179 20237 lt_compiler_flag="$lt_prog_compiler_pic_F77" 23180 20238 # Insert the option either (1) after the last *FLAGS variable, or … … 23187 20245 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 23188 20246 -e 's:$: $lt_compiler_flag:'` 23189 (eval echo "\"\$as_me: 23189: $lt_compile\"" >&5)20247 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 23190 20248 (eval "$lt_compile" 2>conftest.err) 23191 20249 ac_status=$? 23192 20250 cat conftest.err >&5 23193 echo "$as_me: 23193: \$? = $ac_status" >&520251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23194 20252 if (exit $ac_status) && test -s "$ac_outfile"; then 23195 20253 # The compiler can only warn and ignore the option if not recognized 23196 20254 # So say no if there are warnings other than the usual output. 23197 $ echo "X$_lt_compiler_boilerplate" | $Xsed -e'/^$/d' >conftest.exp20255 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 23198 20256 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 23199 20257 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 23200 lt_ prog_compiler_pic_works_F77=yes20258 lt_cv_prog_compiler_pic_works_F77=yes 23201 20259 fi 23202 20260 fi 23203 $ rmconftest*23204 23205 fi 23206 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&523207 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 23208 23209 if test x"$lt_ prog_compiler_pic_works_F77" = xyes; then20261 $RM conftest* 20262 20263 fi 20264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_F77" >&5 20265 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; } 20266 20267 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then 23210 20268 case $lt_prog_compiler_pic_F77 in 23211 20269 "" | " "*) ;; … … 23218 20276 23219 20277 fi 23220 case $host_os in 23221 # For platforms which do not support PIC, -DPIC is meaningless: 23222 *djgpp*) 23223 lt_prog_compiler_pic_F77= 23224 ;; 23225 *) 23226 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" 23227 ;; 23228 esac 20278 20279 20280 20281 23229 20282 23230 20283 # … … 23232 20285 # 23233 20286 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" 23234 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&523235 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 23236 if test "${lt_prog_compiler_static_works_F77+set}" = set; then23237 echo $ECHO_N "(cached) $ECHO_C" >&623238 else 23239 lt_ prog_compiler_static_works_F77=no20287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 20288 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 20289 if ${lt_cv_prog_compiler_static_works_F77+:} false; then : 20290 $as_echo_n "(cached) " >&6 20291 else 20292 lt_cv_prog_compiler_static_works_F77=no 23240 20293 save_LDFLAGS="$LDFLAGS" 23241 20294 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 23242 printf"$lt_simple_link_test_code" > conftest.$ac_ext20295 echo "$lt_simple_link_test_code" > conftest.$ac_ext 23243 20296 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 23244 20297 # The linker can only warn and ignore the option if not recognized … … 23247 20300 # Append any errors to the config.log. 23248 20301 cat conftest.err 1>&5 23249 $ echo "X$_lt_linker_boilerplate" | $Xsed -e'/^$/d' > conftest.exp20302 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 23250 20303 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 23251 20304 if diff conftest.exp conftest.er2 >/dev/null; then 23252 lt_ prog_compiler_static_works_F77=yes20305 lt_cv_prog_compiler_static_works_F77=yes 23253 20306 fi 23254 20307 else 23255 lt_ prog_compiler_static_works_F77=yes20308 lt_cv_prog_compiler_static_works_F77=yes 23256 20309 fi 23257 20310 fi 23258 $ rmconftest*20311 $RM -r conftest* 23259 20312 LDFLAGS="$save_LDFLAGS" 23260 20313 23261 20314 fi 23262 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&523263 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6 23264 23265 if test x"$lt_ prog_compiler_static_works_F77" = xyes; then20315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_F77" >&5 20316 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; } 20317 20318 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then 23266 20319 : 23267 20320 else … … 23270 20323 23271 20324 23272 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 23273 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 23274 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then 23275 echo $ECHO_N "(cached) $ECHO_C" >&6 20325 20326 20327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 20328 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 20329 if ${lt_cv_prog_compiler_c_o_F77+:} false; then : 20330 $as_echo_n "(cached) " >&6 23276 20331 else 23277 20332 lt_cv_prog_compiler_c_o_F77=no 23278 $ rm-r conftest 2>/dev/null20333 $RM -r conftest 2>/dev/null 23279 20334 mkdir conftest 23280 20335 cd conftest 23281 20336 mkdir out 23282 printf"$lt_simple_compile_test_code" > conftest.$ac_ext20337 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 23283 20338 23284 20339 lt_compiler_flag="-o out/conftest2.$ac_objext" … … 23291 20346 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 23292 20347 -e 's:$: $lt_compiler_flag:'` 23293 (eval echo "\"\$as_me: 23293: $lt_compile\"" >&5)20348 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 23294 20349 (eval "$lt_compile" 2>out/conftest.err) 23295 20350 ac_status=$? 23296 20351 cat out/conftest.err >&5 23297 echo "$as_me: 23297: \$? = $ac_status" >&520352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23298 20353 if (exit $ac_status) && test -s out/conftest2.$ac_objext 23299 20354 then 23300 20355 # The compiler can only warn and ignore the option if not recognized 23301 20356 # So say no if there are warnings 23302 $ echo "X$_lt_compiler_boilerplate" | $Xsed -e'/^$/d' > out/conftest.exp20357 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 23303 20358 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 23304 20359 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then … … 23307 20362 fi 23308 20363 chmod u+w . 2>&5 23309 $ rmconftest*20364 $RM conftest* 23310 20365 # SGI C++ compiler will create directory out/ii_files/ for 23311 20366 # template instantiation 23312 test -d out/ii_files && $ rmout/ii_files/* && rmdir out/ii_files23313 $ rmout/* && rmdir out20367 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 20368 $RM out/* && rmdir out 23314 20369 cd .. 23315 rmdir conftest 23316 $rm conftest* 23317 23318 fi 23319 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 23320 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 20370 $RM -r conftest 20371 $RM conftest* 20372 20373 fi 20374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5 20375 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; } 20376 20377 20378 20379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 20380 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 20381 if ${lt_cv_prog_compiler_c_o_F77+:} false; then : 20382 $as_echo_n "(cached) " >&6 20383 else 20384 lt_cv_prog_compiler_c_o_F77=no 20385 $RM -r conftest 2>/dev/null 20386 mkdir conftest 20387 cd conftest 20388 mkdir out 20389 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 20390 20391 lt_compiler_flag="-o out/conftest2.$ac_objext" 20392 # Insert the option either (1) after the last *FLAGS variable, or 20393 # (2) before a word containing "conftest.", or (3) at the end. 20394 # Note that $ac_compile itself does not contain backslashes and begins 20395 # with a dollar sign (not a hyphen), so the echo should work correctly. 20396 lt_compile=`echo "$ac_compile" | $SED \ 20397 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 20398 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 20399 -e 's:$: $lt_compiler_flag:'` 20400 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 20401 (eval "$lt_compile" 2>out/conftest.err) 20402 ac_status=$? 20403 cat out/conftest.err >&5 20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20405 if (exit $ac_status) && test -s out/conftest2.$ac_objext 20406 then 20407 # The compiler can only warn and ignore the option if not recognized 20408 # So say no if there are warnings 20409 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 20410 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 20411 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 20412 lt_cv_prog_compiler_c_o_F77=yes 20413 fi 20414 fi 20415 chmod u+w . 2>&5 20416 $RM conftest* 20417 # SGI C++ compiler will create directory out/ii_files/ for 20418 # template instantiation 20419 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 20420 $RM out/* && rmdir out 20421 cd .. 20422 $RM -r conftest 20423 $RM conftest* 20424 20425 fi 20426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5 20427 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; } 20428 20429 23321 20430 23322 20431 … … 23324 20433 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then 23325 20434 # do not overwrite the value of need_locks provided by the user 23326 echo "$as_me:$LINENO: checking if we can lock with hard links" >&523327 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 20435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 20436 $as_echo_n "checking if we can lock with hard links... " >&6; } 23328 20437 hard_links=yes 23329 $ rmconftest*20438 $RM conftest* 23330 20439 ln conftest.a conftest.b 2>/dev/null && hard_links=no 23331 20440 touch conftest.a 23332 20441 ln conftest.a conftest.b 2>&5 || hard_links=no 23333 20442 ln conftest.a conftest.b 2>/dev/null && hard_links=no 23334 echo "$as_me:$LINENO: result: $hard_links" >&523335 echo "${ECHO_T}$hard_links" >&6 20443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 20444 $as_echo "$hard_links" >&6; } 23336 20445 if test "$hard_links" = no; then 23337 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&523338 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}20446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 20447 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 23339 20448 need_locks=warn 23340 20449 fi … … 23343 20452 fi 23344 20453 23345 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 23346 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 20454 20455 20456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 20457 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 23347 20458 23348 20459 runpath_var= 23349 20460 allow_undefined_flag_F77= 23350 enable_shared_with_static_runtimes_F77=no20461 always_export_symbols_F77=no 23351 20462 archive_cmds_F77= 23352 20463 archive_expsym_cmds_F77= 23353 old_archive_From_new_cmds_F77=23354 old_archive_from_expsyms_cmds_F77=20464 compiler_needs_object_F77=no 20465 enable_shared_with_static_runtimes_F77=no 23355 20466 export_dynamic_flag_spec_F77= 23356 whole_archive_flag_spec_F77= 23357 thread_safe_flag_spec_F77= 20467 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 20468 hardcode_automatic_F77=no 20469 hardcode_direct_F77=no 20470 hardcode_direct_absolute_F77=no 23358 20471 hardcode_libdir_flag_spec_F77= 23359 hardcode_libdir_flag_spec_ld_F77=23360 20472 hardcode_libdir_separator_F77= 23361 hardcode_direct_F77=no23362 20473 hardcode_minus_L_F77=no 23363 20474 hardcode_shlibpath_var_F77=unsupported 20475 inherit_rpath_F77=no 23364 20476 link_all_deplibs_F77=unknown 23365 hardcode_automatic_F77=no23366 20477 module_cmds_F77= 23367 20478 module_expsym_cmds_F77= 23368 always_export_symbols_F77=no 23369 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 20479 old_archive_from_new_cmds_F77= 20480 old_archive_from_expsyms_cmds_F77= 20481 thread_safe_flag_spec_F77= 20482 whole_archive_flag_spec_F77= 23370 20483 # include_expsyms should be a list of space-separated symbols to be *always* 23371 20484 # included in the symbol list … … 23375 20488 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 23376 20489 # as well as any symbol that contains `d'. 23377 exclude_expsyms_F77= "_GLOBAL_OFFSET_TABLE_"20490 exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 23378 20491 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 23379 20492 # platforms (ab)use it in PIC code, but their linkers get confused if … … 23381 20494 # rely on this symbol name, it's probably fine to never include it in 23382 20495 # preloaded symbol tables. 20496 # Exclude shared library initialization/finalization symbols. 23383 20497 extract_expsyms_cmds= 23384 # Just being paranoid about ensuring that cc_basename is set.23385 for cc_temp in $compiler""; do23386 case $cc_temp in23387 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;23388 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;23389 \-*) ;;23390 *) break;;23391 esac23392 done23393 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`23394 20498 23395 20499 case $host_os in 23396 cygwin* | mingw* | pw32* )20500 cygwin* | mingw* | pw32* | cegcc*) 23397 20501 # FIXME: the MSVC++ port hasn't been tested in a loooong time 23398 20502 # When not using gcc, we currently assume that we are using … … 23409 20513 with_gnu_ld=no 23410 20514 ;; 20515 linux* | k*bsd*-gnu | gnu*) 20516 link_all_deplibs_F77=no 20517 ;; 23411 20518 esac 23412 20519 23413 20520 ld_shlibs_F77=yes 20521 20522 # On some targets, GNU ld is compatible enough with the native linker 20523 # that we're better off using the native interface for both. 20524 lt_use_gnu_ld_interface=no 23414 20525 if test "$with_gnu_ld" = yes; then 20526 case $host_os in 20527 aix*) 20528 # The AIX port of GNU ld has always aspired to compatibility 20529 # with the native linker. However, as the warning in the GNU ld 20530 # block says, versions before 2.19.5* couldn't really create working 20531 # shared libraries, regardless of the interface used. 20532 case `$LD -v 2>&1` in 20533 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 20534 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 20535 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 20536 *) 20537 lt_use_gnu_ld_interface=yes 20538 ;; 20539 esac 20540 ;; 20541 *) 20542 lt_use_gnu_ld_interface=yes 20543 ;; 20544 esac 20545 fi 20546 20547 if test "$lt_use_gnu_ld_interface" = yes; then 23415 20548 # If archive_cmds runs LD, not CC, wlarc should be empty 23416 20549 wlarc='${wl}' … … 23420 20553 # here allows them to be overridden if necessary. 23421 20554 runpath_var=LD_RUN_PATH 23422 hardcode_libdir_flag_spec_F77='${wl}- -rpath ${wl}$libdir'20555 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' 23423 20556 export_dynamic_flag_spec_F77='${wl}--export-dynamic' 23424 20557 # ancient GNU ld didn't support --whole-archive et. al. 23425 if $LD --help 2>&1 | grep'no-whole-archive' > /dev/null; then23426 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'23427 else23428 whole_archive_flag_spec_F77=20558 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 20559 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 20560 else 20561 whole_archive_flag_spec_F77= 23429 20562 fi 23430 20563 supports_anon_versioning=no 23431 case `$LD -v 2>/dev/null` in 20564 case `$LD -v 2>&1` in 20565 *GNU\ gold*) supports_anon_versioning=yes ;; 23432 20566 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 23433 20567 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... … … 23439 20573 # See if GNU ld supports shared libraries. 23440 20574 case $host_os in 23441 aix 3* | aix4* | aix5*)20575 aix[3-9]*) 23442 20576 # On AIX/PPC, the GNU linker is very broken 23443 20577 if test "$host_cpu" != ia64; then 23444 20578 ld_shlibs_F77=no 23445 cat << EOF 1>&223446 23447 *** Warning: the GNU linker, at least up to release 2. 9.1, is reported20579 cat <<_LT_EOF 1>&2 20580 20581 *** Warning: the GNU linker, at least up to release 2.19, is reported 23448 20582 *** to be unable to reliably create shared libraries on AIX. 23449 20583 *** Therefore, libtool is disabling shared libraries support. If you 23450 *** really care for shared libraries, you may want to modify your PATH 23451 *** so that a non-GNU linker is found, and then restart. 23452 23453 EOF 20584 *** really care for shared libraries, you may want to install binutils 20585 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 20586 *** You will then need to restart the configuration process. 20587 20588 _LT_EOF 23454 20589 fi 23455 20590 ;; 23456 20591 23457 20592 amigaos*) 23458 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 23459 hardcode_libdir_flag_spec_F77='-L$libdir' 23460 hardcode_minus_L_F77=yes 23461 23462 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports 23463 # that the semantics of dynamic libraries on AmigaOS, at least up 23464 # to version 4, is to share data among multiple programs linked 23465 # with the same dynamic library. Since this doesn't match the 23466 # behavior of shared libraries on other platforms, we can't use 23467 # them. 23468 ld_shlibs_F77=no 20593 case $host_cpu in 20594 powerpc) 20595 # see comment about AmigaOS4 .so support 20596 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 20597 archive_expsym_cmds_F77='' 20598 ;; 20599 m68k) 20600 archive_cmds_F77='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 20601 hardcode_libdir_flag_spec_F77='-L$libdir' 20602 hardcode_minus_L_F77=yes 20603 ;; 20604 esac 23469 20605 ;; 23470 20606 23471 20607 beos*) 23472 if $LD --help 2>&1 | grep': supported targets:.* elf' > /dev/null; then20608 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 23473 20609 allow_undefined_flag_F77=unsupported 23474 20610 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc … … 23480 20616 ;; 23481 20617 23482 cygwin* | mingw* | pw32* )23483 # _LT_ AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,20618 cygwin* | mingw* | pw32* | cegcc*) 20619 # _LT_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, 23484 20620 # as there is no search path for DLLs. 23485 20621 hardcode_libdir_flag_spec_F77='-L$libdir' 20622 export_dynamic_flag_spec_F77='${wl}--export-all-symbols' 23486 20623 allow_undefined_flag_F77=unsupported 23487 20624 always_export_symbols_F77=no 23488 20625 enable_shared_with_static_runtimes_F77=yes 23489 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' 23490 23491 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 20626 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 20627 exclude_expsyms_F77='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 20628 20629 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 23492 20630 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 23493 20631 # If the export-symbols file already is a .def file (1st line … … 23505 20643 ;; 23506 20644 23507 interix3*) 20645 haiku*) 20646 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 20647 link_all_deplibs_F77=yes 20648 ;; 20649 20650 interix[3-9]*) 23508 20651 hardcode_direct_F77=no 23509 20652 hardcode_shlibpath_var_F77=no … … 23520 20663 ;; 23521 20664 23522 linux*) 23523 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 23524 tmp_addflag= 20665 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 20666 tmp_diet=no 20667 if test "$host_os" = linux-dietlibc; then 20668 case $cc_basename in 20669 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 20670 esac 20671 fi 20672 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 20673 && test "$tmp_diet" = no 20674 then 20675 tmp_addflag=' $pic_flag' 20676 tmp_sharedflag='-shared' 23525 20677 case $cc_basename,$host_cpu in 23526 pgcc*) # Portland Group C compiler23527 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo\"$new_convenience\"` ${wl}--no-whole-archive'20678 pgcc*) # Portland Group C compiler 20679 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 23528 20680 tmp_addflag=' $pic_flag' 23529 20681 ;; 23530 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 23531 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 20682 pgf77* | pgf90* | pgf95* | pgfortran*) 20683 # Portland Group f77 and f90 compilers 20684 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 23532 20685 tmp_addflag=' $pic_flag -Mnomain' ;; 23533 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia6420686 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 23534 20687 tmp_addflag=' -i_dynamic' ;; 23535 20688 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 … … 23537 20690 ifc* | ifort*) # Intel Fortran compiler 23538 20691 tmp_addflag=' -nofor_main' ;; 20692 lf95*) # Lahey Fortran 8.1 20693 whole_archive_flag_spec_F77= 20694 tmp_sharedflag='--shared' ;; 20695 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 20696 tmp_sharedflag='-qmkshrobj' 20697 tmp_addflag= ;; 20698 nvcc*) # Cuda Compiler Driver 2.2 20699 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 20700 compiler_needs_object_F77=yes 20701 ;; 23539 20702 esac 23540 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 23541 23542 if test $supports_anon_versioning = yes; then 23543 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ 23544 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 23545 $echo "local: *; };" >> $output_objdir/$libname.ver~ 23546 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 23547 fi 20703 case `$CC -V 2>&1 | sed 5q` in 20704 *Sun\ C*) # Sun C 5.9 20705 whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 20706 compiler_needs_object_F77=yes 20707 tmp_sharedflag='-G' ;; 20708 *Sun\ F*) # Sun Fortran 8.3 20709 tmp_sharedflag='-G' ;; 20710 esac 20711 archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 20712 20713 if test "x$supports_anon_versioning" = xyes; then 20714 archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~ 20715 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 20716 echo "local: *; };" >> $output_objdir/$libname.ver~ 20717 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 20718 fi 20719 20720 case $cc_basename in 20721 xlf* | bgf* | bgxlf* | mpixlf*) 20722 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 20723 whole_archive_flag_spec_F77='--whole-archive$convenience --no-whole-archive' 20724 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' 20725 archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 20726 if test "x$supports_anon_versioning" = xyes; then 20727 archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~ 20728 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 20729 echo "local: *; };" >> $output_objdir/$libname.ver~ 20730 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 20731 fi 20732 ;; 20733 esac 23548 20734 else 23549 ld_shlibs_F77=no20735 ld_shlibs_F77=no 23550 20736 fi 23551 20737 ;; 23552 20738 23553 netbsd* )23554 if echo __ELF__ | $CC -E - | grep__ELF__ >/dev/null; then20739 netbsd* | netbsdelf*-gnu) 20740 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 23555 20741 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 23556 20742 wlarc= 23557 20743 else 23558 archive_cmds_F77='$CC -shared $ libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'23559 archive_expsym_cmds_F77='$CC -shared $ libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'20744 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 20745 archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 23560 20746 fi 23561 20747 ;; 23562 20748 23563 20749 solaris*) 23564 if $LD -v 2>&1 | grep'BFD 2\.8' > /dev/null; then20750 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 23565 20751 ld_shlibs_F77=no 23566 cat << EOF 1>&220752 cat <<_LT_EOF 1>&2 23567 20753 23568 20754 *** Warning: The releases 2.8.* of the GNU linker cannot reliably … … 23573 20759 *** used, and then restart. 23574 20760 23575 EOF23576 elif $LD --help 2>&1 | grep': supported targets:.* elf' > /dev/null; then23577 archive_cmds_F77='$CC -shared $ libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'23578 archive_expsym_cmds_F77='$CC -shared $ libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'20761 _LT_EOF 20762 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 20763 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 20764 archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 23579 20765 else 23580 20766 ld_shlibs_F77=no … … 23598 20784 ;; 23599 20785 *) 23600 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 23601 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' 23602 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' 23603 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' 20786 # For security reasons, it is highly recommended that you always 20787 # use absolute paths for naming shared libraries, and exclude the 20788 # DT_RUNPATH tag from executables and libraries. But doing so 20789 # requires that you compile everything twice, which is a pain. 20790 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 20791 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' 20792 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 20793 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 23604 20794 else 23605 20795 ld_shlibs_F77=no … … 23617 20807 23618 20808 *) 23619 if $LD --help 2>&1 | grep': supported targets:.* elf' > /dev/null; then23620 archive_cmds_F77='$CC -shared $ libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'23621 archive_expsym_cmds_F77='$CC -shared $ libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'20809 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 20810 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 20811 archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 23622 20812 else 23623 20813 ld_shlibs_F77=no … … 23649 20839 ;; 23650 20840 23651 aix 4* | aix5*)20841 aix[4-9]*) 23652 20842 if test "$host_cpu" = ia64; then 23653 20843 # On IA64, the linker does run time linking by default, so we don't … … 23659 20849 # If we're using GNU nm, then we don't want the "-C" option. 23660 20850 # -C means demangle to AIX nm, but means don't demangle with GNU nm 23661 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 23662 export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 20851 # Also, AIX nm treats weak defined symbols like other global 20852 # defined symbols, whereas GNU nm marks them as "W". 20853 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 20854 export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 23663 20855 else 23664 export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'20856 export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 23665 20857 fi 23666 20858 aix_use_runtimelinking=no … … 23669 20861 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 23670 20862 # need to do runtime linking. 23671 case $host_os in aix4.[23]|aix4.[23].*|aix 5*)20863 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 23672 20864 for ld_flag in $LDFLAGS; do 23673 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then23674 aix_use_runtimelinking=yes23675 break23676 fi20865 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 20866 aix_use_runtimelinking=yes 20867 break 20868 fi 23677 20869 done 23678 20870 ;; … … 23691 20883 archive_cmds_F77='' 23692 20884 hardcode_direct_F77=yes 20885 hardcode_direct_absolute_F77=yes 23693 20886 hardcode_libdir_separator_F77=':' 23694 20887 link_all_deplibs_F77=yes 20888 file_list_spec_F77='${wl}-f,' 23695 20889 23696 20890 if test "$GCC" = yes; then … … 23699 20893 # below for broken collect2 doesn't work under 4.3+ 23700 20894 collect2name=`${CC} -print-prog-name=collect2` 23701 if test -f "$collect2name" && \23702 strings "$collect2name" | grepresolve_lib_name >/dev/null20895 if test -f "$collect2name" && 20896 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 23703 20897 then 23704 # We have reworked collect223705 hardcode_direct_F77=yes 20898 # We have reworked collect2 20899 : 23706 20900 else 23707 # We have old collect223708 hardcode_direct_F77=unsupported23709 # It fails to find uninstalled libraries when the uninstalled23710 # path is not listed in the libpath. Setting hardcode_minus_L23711 # to unsupported forces relinking23712 hardcode_minus_L_F77=yes23713 hardcode_libdir_flag_spec_F77='-L$libdir'23714 hardcode_libdir_separator_F77=20901 # We have old collect2 20902 hardcode_direct_F77=unsupported 20903 # It fails to find uninstalled libraries when the uninstalled 20904 # path is not listed in the libpath. Setting hardcode_minus_L 20905 # to unsupported forces relinking 20906 hardcode_minus_L_F77=yes 20907 hardcode_libdir_flag_spec_F77='-L$libdir' 20908 hardcode_libdir_separator_F77= 23715 20909 fi 23716 20910 ;; … … 23720 20914 shared_flag="$shared_flag "'${wl}-G' 23721 20915 fi 20916 link_all_deplibs_F77=no 23722 20917 else 23723 20918 # not using gcc 23724 20919 if test "$host_cpu" = ia64; then 23725 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release23726 # chokes on -Wl,-G. The following line is correct:20920 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 20921 # chokes on -Wl,-G. The following line is correct: 23727 20922 shared_flag='-G' 23728 20923 else … … 23735 20930 fi 23736 20931 20932 export_dynamic_flag_spec_F77='${wl}-bexpall' 23737 20933 # It seems that -bexpall does not export symbols beginning with 23738 20934 # underscore (_), so it is better to generate a list of symbols to export. … … 23742 20938 # -berok will link without error, but may produce a broken library. 23743 20939 allow_undefined_flag_F77='-berok' 23744 # Determine the default libpath from the value encoded in an empty executable. 23745 cat >conftest.$ac_ext <<_ACEOF 20940 # Determine the default libpath from the value encoded in an 20941 # empty executable. 20942 if test "${lt_cv_aix_libpath+set}" = set; then 20943 aix_libpath=$lt_cv_aix_libpath 20944 else 20945 if ${lt_cv_aix_libpath__F77+:} false; then : 20946 $as_echo_n "(cached) " >&6 20947 else 20948 cat > conftest.$ac_ext <<_ACEOF 23746 20949 program main 23747 20950 23748 20951 end 23749 20952 _ACEOF 23750 rm -f conftest.$ac_objext conftest$ac_exeext 23751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23752 (eval $ac_link) 2>conftest.er1 23753 ac_status=$? 23754 grep -v '^ *+' conftest.er1 >conftest.err 23755 rm -f conftest.er1 23756 cat conftest.err >&5 23757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23758 (exit $ac_status); } && 23759 { ac_try='test -z "$ac_f77_werror_flag" 23760 || test ! -s conftest.err' 23761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23762 (eval $ac_try) 2>&5 23763 ac_status=$? 23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23765 (exit $ac_status); }; } && 23766 { ac_try='test -s conftest$ac_exeext' 23767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23768 (eval $ac_try) 2>&5 23769 ac_status=$? 23770 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23771 (exit $ac_status); }; }; then 23772 23773 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 23774 }'` 23775 # Check for a 64-bit object if we didn't find anything. 23776 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 23777 }'`; fi 23778 else 23779 echo "$as_me: failed program was:" >&5 23780 sed 's/^/| /' conftest.$ac_ext >&5 23781 23782 fi 23783 rm -f conftest.err conftest.$ac_objext \ 23784 conftest$ac_exeext conftest.$ac_ext 23785 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 23786 23787 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" 23788 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 23789 else 20953 if ac_fn_f77_try_link "$LINENO"; then : 20954 20955 lt_aix_libpath_sed=' 20956 /Import File Strings/,/^$/ { 20957 /^0/ { 20958 s/^0 *\([^ ]*\) *$/\1/ 20959 p 20960 } 20961 }' 20962 lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 20963 # Check for a 64-bit object if we didn't find anything. 20964 if test -z "$lt_cv_aix_libpath__F77"; then 20965 lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 20966 fi 20967 fi 20968 rm -f core conftest.err conftest.$ac_objext \ 20969 conftest$ac_exeext conftest.$ac_ext 20970 if test -z "$lt_cv_aix_libpath__F77"; then 20971 lt_cv_aix_libpath__F77="/usr/lib:/lib" 20972 fi 20973 20974 fi 20975 20976 aix_libpath=$lt_cv_aix_libpath__F77 20977 fi 20978 20979 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" 20980 archive_expsym_cmds_F77='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 20981 else 23790 20982 if test "$host_cpu" = ia64; then 23791 20983 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' … … 23793 20985 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 23794 20986 else 23795 # Determine the default libpath from the value encoded in an empty executable. 23796 cat >conftest.$ac_ext <<_ACEOF 20987 # Determine the default libpath from the value encoded in an 20988 # empty executable. 20989 if test "${lt_cv_aix_libpath+set}" = set; then 20990 aix_libpath=$lt_cv_aix_libpath 20991 else 20992 if ${lt_cv_aix_libpath__F77+:} false; then : 20993 $as_echo_n "(cached) " >&6 20994 else 20995 cat > conftest.$ac_ext <<_ACEOF 23797 20996 program main 23798 20997 23799 20998 end 23800 20999 _ACEOF 23801 rm -f conftest.$ac_objext conftest$ac_exeext 23802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23803 (eval $ac_link) 2>conftest.er1 23804 ac_status=$? 23805 grep -v '^ *+' conftest.er1 >conftest.err 23806 rm -f conftest.er1 23807 cat conftest.err >&5 23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23809 (exit $ac_status); } && 23810 { ac_try='test -z "$ac_f77_werror_flag" 23811 || test ! -s conftest.err' 23812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23813 (eval $ac_try) 2>&5 23814 ac_status=$? 23815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23816 (exit $ac_status); }; } && 23817 { ac_try='test -s conftest$ac_exeext' 23818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23819 (eval $ac_try) 2>&5 23820 ac_status=$? 23821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23822 (exit $ac_status); }; }; then 23823 23824 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 23825 }'` 23826 # Check for a 64-bit object if we didn't find anything. 23827 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 23828 }'`; fi 23829 else 23830 echo "$as_me: failed program was:" >&5 23831 sed 's/^/| /' conftest.$ac_ext >&5 23832 23833 fi 23834 rm -f conftest.err conftest.$ac_objext \ 23835 conftest$ac_exeext conftest.$ac_ext 23836 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 21000 if ac_fn_f77_try_link "$LINENO"; then : 21001 21002 lt_aix_libpath_sed=' 21003 /Import File Strings/,/^$/ { 21004 /^0/ { 21005 s/^0 *\([^ ]*\) *$/\1/ 21006 p 21007 } 21008 }' 21009 lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 21010 # Check for a 64-bit object if we didn't find anything. 21011 if test -z "$lt_cv_aix_libpath__F77"; then 21012 lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 21013 fi 21014 fi 21015 rm -f core conftest.err conftest.$ac_objext \ 21016 conftest$ac_exeext conftest.$ac_ext 21017 if test -z "$lt_cv_aix_libpath__F77"; then 21018 lt_cv_aix_libpath__F77="/usr/lib:/lib" 21019 fi 21020 21021 fi 21022 21023 aix_libpath=$lt_cv_aix_libpath__F77 21024 fi 23837 21025 23838 21026 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" … … 23841 21029 no_undefined_flag_F77=' ${wl}-bernotok' 23842 21030 allow_undefined_flag_F77=' ${wl}-berok' 23843 # Exported symbols can be pulled into shared objects from archives 23844 whole_archive_flag_spec_F77='$convenience' 21031 if test "$with_gnu_ld" = yes; then 21032 # We only use this code for GNU lds that support --whole-archive. 21033 whole_archive_flag_spec_F77='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 21034 else 21035 # Exported symbols can be pulled into shared objects from archives 21036 whole_archive_flag_spec_F77='$convenience' 21037 fi 23845 21038 archive_cmds_need_lc_F77=yes 23846 21039 # This is similar to how AIX traditionally builds its shared libraries. … … 23851 21044 23852 21045 amigaos*) 23853 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 23854 hardcode_libdir_flag_spec_F77='-L$libdir' 23855 hardcode_minus_L_F77=yes 23856 # see comment about different semantics on the GNU ld section 23857 ld_shlibs_F77=no 21046 case $host_cpu in 21047 powerpc) 21048 # see comment about AmigaOS4 .so support 21049 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 21050 archive_expsym_cmds_F77='' 21051 ;; 21052 m68k) 21053 archive_cmds_F77='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 21054 hardcode_libdir_flag_spec_F77='-L$libdir' 21055 hardcode_minus_L_F77=yes 21056 ;; 21057 esac 23858 21058 ;; 23859 21059 … … 23862 21062 ;; 23863 21063 23864 cygwin* | mingw* | pw32* )21064 cygwin* | mingw* | pw32* | cegcc*) 23865 21065 # When not using gcc, we currently assume that we are using 23866 21066 # Microsoft Visual C++. 23867 21067 # hardcode_libdir_flag_spec is actually meaningless, as there is 23868 21068 # no search path for DLLs. 23869 hardcode_libdir_flag_spec_F77=' ' 23870 allow_undefined_flag_F77=unsupported 23871 # Tell ltmain to make .lib files, not .a files. 23872 libext=lib 23873 # Tell ltmain to make .dll files, not .so files. 23874 shrext_cmds=".dll" 23875 # FIXME: Setting linknames here is a bad hack. 23876 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 23877 # The linker will automatically build a .lib file if we build a DLL. 23878 old_archive_From_new_cmds_F77='true' 23879 # FIXME: Should let the user specify the lib program. 23880 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' 23881 fix_srcfile_path_F77='`cygpath -w "$srcfile"`' 23882 enable_shared_with_static_runtimes_F77=yes 21069 case $cc_basename in 21070 cl*) 21071 # Native MSVC 21072 hardcode_libdir_flag_spec_F77=' ' 21073 allow_undefined_flag_F77=unsupported 21074 always_export_symbols_F77=yes 21075 file_list_spec_F77='@' 21076 # Tell ltmain to make .lib files, not .a files. 21077 libext=lib 21078 # Tell ltmain to make .dll files, not .so files. 21079 shrext_cmds=".dll" 21080 # FIXME: Setting linknames here is a bad hack. 21081 archive_cmds_F77='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 21082 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 21083 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 21084 else 21085 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 21086 fi~ 21087 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 21088 linknames=' 21089 # The linker will not automatically build a static lib if we build a DLL. 21090 # _LT_TAGVAR(old_archive_from_new_cmds, F77)='true' 21091 enable_shared_with_static_runtimes_F77=yes 21092 exclude_expsyms_F77='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 21093 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 21094 # Don't use ranlib 21095 old_postinstall_cmds_F77='chmod 644 $oldlib' 21096 postlink_cmds_F77='lt_outputfile="@OUTPUT@"~ 21097 lt_tool_outputfile="@TOOL_OUTPUT@"~ 21098 case $lt_outputfile in 21099 *.exe|*.EXE) ;; 21100 *) 21101 lt_outputfile="$lt_outputfile.exe" 21102 lt_tool_outputfile="$lt_tool_outputfile.exe" 21103 ;; 21104 esac~ 21105 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 21106 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 21107 $RM "$lt_outputfile.manifest"; 21108 fi' 21109 ;; 21110 *) 21111 # Assume MSVC wrapper 21112 hardcode_libdir_flag_spec_F77=' ' 21113 allow_undefined_flag_F77=unsupported 21114 # Tell ltmain to make .lib files, not .a files. 21115 libext=lib 21116 # Tell ltmain to make .dll files, not .so files. 21117 shrext_cmds=".dll" 21118 # FIXME: Setting linknames here is a bad hack. 21119 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 21120 # The linker will automatically build a .lib file if we build a DLL. 21121 old_archive_from_new_cmds_F77='true' 21122 # FIXME: Should let the user specify the lib program. 21123 old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs' 21124 enable_shared_with_static_runtimes_F77=yes 21125 ;; 21126 esac 23883 21127 ;; 23884 21128 23885 21129 darwin* | rhapsody*) 23886 case $host_os in 23887 rhapsody* | darwin1.[012]) 23888 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' 23889 ;; 23890 *) # Darwin 1.3 on 23891 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 23892 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 23893 else 23894 case ${MACOSX_DEPLOYMENT_TARGET} in 23895 10.[012]) 23896 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 23897 ;; 23898 10.*) 23899 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' 23900 ;; 23901 esac 23902 fi 23903 ;; 23904 esac 23905 archive_cmds_need_lc_F77=no 23906 hardcode_direct_F77=no 23907 hardcode_automatic_F77=yes 23908 hardcode_shlibpath_var_F77=unsupported 23909 whole_archive_flag_spec_F77='' 23910 link_all_deplibs_F77=yes 23911 if test "$GCC" = yes ; then 23912 output_verbose_link_cmd='echo' 23913 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 23914 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 23915 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 23916 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 23917 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 23918 else 23919 case $cc_basename in 23920 xlc*) 23921 output_verbose_link_cmd='echo' 23922 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 23923 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 23924 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 23925 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 23926 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 23927 ;; 23928 *) 23929 ld_shlibs_F77=no 23930 ;; 23931 esac 23932 fi 21130 21131 21132 archive_cmds_need_lc_F77=no 21133 hardcode_direct_F77=no 21134 hardcode_automatic_F77=yes 21135 hardcode_shlibpath_var_F77=unsupported 21136 if test "$lt_cv_ld_force_load" = "yes"; then 21137 whole_archive_flag_spec_F77='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 21138 compiler_needs_object_F77=yes 21139 else 21140 whole_archive_flag_spec_F77='' 21141 fi 21142 link_all_deplibs_F77=yes 21143 allow_undefined_flag_F77="$_lt_dar_allow_undefined" 21144 case $cc_basename in 21145 ifort*) _lt_dar_can_shared=yes ;; 21146 *) _lt_dar_can_shared=$GCC ;; 21147 esac 21148 if test "$_lt_dar_can_shared" = "yes"; then 21149 output_verbose_link_cmd=func_echo_all 21150 archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 21151 module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 21152 archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 21153 module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 21154 21155 else 21156 ld_shlibs_F77=no 21157 fi 21158 23933 21159 ;; 23934 21160 … … 23937 21163 hardcode_libdir_flag_spec_F77='-L$libdir' 23938 21164 hardcode_shlibpath_var_F77=no 23939 ;;23940 23941 freebsd1*)23942 ld_shlibs_F77=no23943 21165 ;; 23944 21166 … … 23955 21177 23956 21178 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 23957 freebsd2 *)21179 freebsd2.*) 23958 21180 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 23959 21181 hardcode_direct_F77=yes … … 23963 21185 23964 21186 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 23965 freebsd* | kfreebsd*-gnu |dragonfly*)23966 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'21187 freebsd* | dragonfly*) 21188 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 23967 21189 hardcode_libdir_flag_spec_F77='-R$libdir' 23968 21190 hardcode_direct_F77=yes … … 23972 21194 hpux9*) 23973 21195 if test "$GCC" = yes; then 23974 archive_cmds_F77='$ rm $output_objdir/$soname~$CC -shared -fPIC${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'21196 archive_cmds_F77='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 23975 21197 else 23976 archive_cmds_F77='$ rm$output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'21198 archive_cmds_F77='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 23977 21199 fi 23978 21200 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' … … 23987 21209 23988 21210 hpux10*) 23989 if test "$GCC" = yes -a"$with_gnu_ld" = no; then23990 archive_cmds_F77='$CC -shared -fPIC${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'21211 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 21212 archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 23991 21213 else 23992 21214 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' … … 23995 21217 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' 23996 21218 hardcode_libdir_separator_F77=: 23997 23998 21219 hardcode_direct_F77=yes 21220 hardcode_direct_absolute_F77=yes 23999 21221 export_dynamic_flag_spec_F77='${wl}-E' 24000 24001 21222 # hardcode_minus_L: Not really in the search PATH, 24002 21223 # but as the default location of the library. … … 24006 21227 24007 21228 hpux11*) 24008 if test "$GCC" = yes -a"$with_gnu_ld" = no; then21229 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 24009 21230 case $host_cpu in 24010 21231 hppa*64*) … … 24012 21233 ;; 24013 21234 ia64*) 24014 archive_cmds_F77='$CC -shared $ {wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'21235 archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 24015 21236 ;; 24016 21237 *) 24017 archive_cmds_F77='$CC -shared -fPIC${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'21238 archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 24018 21239 ;; 24019 21240 esac … … 24027 21248 ;; 24028 21249 *) 24029 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'21250 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 24030 21251 ;; 24031 21252 esac … … 24037 21258 case $host_cpu in 24038 21259 hppa*64*|ia64*) 24039 hardcode_libdir_flag_spec_ld_F77='+b $libdir'24040 21260 hardcode_direct_F77=no 24041 21261 hardcode_shlibpath_var_F77=no … … 24043 21263 *) 24044 21264 hardcode_direct_F77=yes 21265 hardcode_direct_absolute_F77=yes 24045 21266 export_dynamic_flag_spec_F77='${wl}-E' 24046 21267 … … 24055 21276 irix5* | irix6* | nonstopux*) 24056 21277 if test "$GCC" = yes; then 24057 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 21278 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 21279 # Try to use the -exported_symbol ld option, if it does not 21280 # work, assume that -exports_file does not work either and 21281 # implicitly export all symbols. 21282 # This should be the same for all languages, so no per-tag cache variable. 21283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 21284 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 21285 if ${lt_cv_irix_exported_symbol+:} false; then : 21286 $as_echo_n "(cached) " >&6 21287 else 21288 save_LDFLAGS="$LDFLAGS" 21289 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 21290 cat > conftest.$ac_ext <<_ACEOF 21291 21292 subroutine foo 21293 end 21294 _ACEOF 21295 if ac_fn_f77_try_link "$LINENO"; then : 21296 lt_cv_irix_exported_symbol=yes 21297 else 21298 lt_cv_irix_exported_symbol=no 21299 fi 21300 rm -f core conftest.err conftest.$ac_objext \ 21301 conftest$ac_exeext conftest.$ac_ext 21302 LDFLAGS="$save_LDFLAGS" 21303 fi 21304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 21305 $as_echo "$lt_cv_irix_exported_symbol" >&6; } 21306 if test "$lt_cv_irix_exported_symbol" = yes; then 21307 archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 21308 fi 24058 21309 else 24059 archive_cmds_F77='$ LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'24060 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'21310 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 21311 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 24061 21312 fi 21313 archive_cmds_need_lc_F77='no' 24062 21314 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' 24063 21315 hardcode_libdir_separator_F77=: 21316 inherit_rpath_F77=yes 24064 21317 link_all_deplibs_F77=yes 24065 21318 ;; 24066 21319 24067 netbsd* )24068 if echo __ELF__ | $CC -E - | grep__ELF__ >/dev/null; then21320 netbsd* | netbsdelf*-gnu) 21321 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 24069 21322 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 24070 21323 else … … 24084 21337 ;; 24085 21338 21339 *nto* | *qnx*) 21340 ;; 21341 24086 21342 openbsd*) 24087 hardcode_direct_F77=yes 24088 hardcode_shlibpath_var_F77=no 24089 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 24090 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 24091 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 24092 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' 24093 export_dynamic_flag_spec_F77='${wl}-E' 21343 if test -f /usr/libexec/ld.so; then 21344 hardcode_direct_F77=yes 21345 hardcode_shlibpath_var_F77=no 21346 hardcode_direct_absolute_F77=yes 21347 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 21348 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 21349 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 21350 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' 21351 export_dynamic_flag_spec_F77='${wl}-E' 21352 else 21353 case $host_os in 21354 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 21355 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 21356 hardcode_libdir_flag_spec_F77='-R$libdir' 21357 ;; 21358 *) 21359 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 21360 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' 21361 ;; 21362 esac 21363 fi 24094 21364 else 24095 case $host_os in 24096 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 24097 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 24098 hardcode_libdir_flag_spec_F77='-R$libdir' 24099 ;; 24100 *) 24101 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 24102 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' 24103 ;; 24104 esac 21365 ld_shlibs_F77=no 24105 21366 fi 24106 21367 ;; … … 24110 21371 hardcode_minus_L_F77=yes 24111 21372 allow_undefined_flag_F77=unsupported 24112 archive_cmds_F77='$ echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'24113 old_archive_ From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'21373 archive_cmds_F77='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 21374 old_archive_from_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 24114 21375 ;; 24115 21376 … … 24117 21378 if test "$GCC" = yes; then 24118 21379 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' 24119 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'21380 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 24120 21381 else 24121 21382 allow_undefined_flag_F77=' -expect_unresolved \*' 24122 archive_cmds_F77='$ LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'21383 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 24123 21384 fi 21385 archive_cmds_need_lc_F77='no' 24124 21386 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' 24125 21387 hardcode_libdir_separator_F77=: … … 24129 21391 if test "$GCC" = yes; then 24130 21392 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' 24131 archive_cmds_F77='$CC -shared${allow_undefined_flag} $ libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'21393 archive_cmds_F77='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 24132 21394 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' 24133 21395 else 24134 21396 allow_undefined_flag_F77=' -expect_unresolved \*' 24135 archive_cmds_F77='$ LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'24136 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo"-hidden">> $lib.exp~24137 $ LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm$lib.exp'21397 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 21398 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ 21399 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' 24138 21400 24139 21401 # Both c and cxx compiler support -rpath directly 24140 21402 hardcode_libdir_flag_spec_F77='-rpath $libdir' 24141 21403 fi 21404 archive_cmds_need_lc_F77='no' 24142 21405 hardcode_libdir_separator_F77=: 24143 21406 ;; 24144 21407 24145 21408 solaris*) 24146 no_undefined_flag_F77=' -z text'21409 no_undefined_flag_F77=' -z defs' 24147 21410 if test "$GCC" = yes; then 24148 21411 wlarc='${wl}' 24149 archive_cmds_F77='$CC -shared $ {wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'24150 archive_expsym_cmds_F77=' $echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~24151 $CC -shared $ {wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm$lib.exp'21412 archive_cmds_F77='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 21413 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 21414 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 24152 21415 else 24153 wlarc='' 24154 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 24155 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 24156 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 21416 case `$CC -V 2>&1` in 21417 *"Compilers 5.0"*) 21418 wlarc='' 21419 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 21420 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 21421 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 21422 ;; 21423 *) 21424 wlarc='${wl}' 21425 archive_cmds_F77='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 21426 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 21427 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 21428 ;; 21429 esac 24157 21430 fi 24158 21431 hardcode_libdir_flag_spec_F77='-R$libdir' … … 24161 21434 solaris2.[0-5] | solaris2.[0-5].*) ;; 24162 21435 *) 24163 # The compiler driver will combine linker options so we 24164 # cannot just pass the convience library names through 24165 # without $wl, iff we do not link with $LD. 24166 # Luckily, gcc supports the same syntax we need for Sun Studio. 24167 # Supported since Solaris 2.6 (maybe 2.5.1?) 24168 case $wlarc in 24169 '') 24170 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; 24171 *) 24172 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; 24173 esac ;; 21436 # The compiler driver will combine and reorder linker options, 21437 # but understands `-z linker_flag'. GCC discards it without `$wl', 21438 # but is careful enough not to reorder. 21439 # Supported since Solaris 2.6 (maybe 2.5.1?) 21440 if test "$GCC" = yes; then 21441 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 21442 else 21443 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' 21444 fi 21445 ;; 24174 21446 esac 24175 21447 link_all_deplibs_F77=yes … … 24228 21500 ;; 24229 21501 24230 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* )21502 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 24231 21503 no_undefined_flag_F77='${wl}-z,text' 24232 21504 archive_cmds_need_lc_F77=no … … 24254 21526 archive_cmds_need_lc_F77=no 24255 21527 hardcode_shlibpath_var_F77=no 24256 hardcode_libdir_flag_spec_F77=' `test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'21528 hardcode_libdir_flag_spec_F77='${wl}-R,$libdir' 24257 21529 hardcode_libdir_separator_F77=':' 24258 21530 link_all_deplibs_F77=yes … … 24261 21533 24262 21534 if test "$GCC" = yes; then 24263 archive_cmds_F77='$CC -shared ${wl}-h, \${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'24264 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h, \${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'21535 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 21536 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 24265 21537 else 24266 archive_cmds_F77='$CC -G ${wl}-h, \${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'24267 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h, \${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'21538 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 21539 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 24268 21540 fi 24269 21541 ;; … … 24279 21551 ;; 24280 21552 esac 21553 21554 if test x$host_vendor = xsni; then 21555 case $host in 21556 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 21557 export_dynamic_flag_spec_F77='${wl}-Blargedynsym' 21558 ;; 21559 esac 21560 fi 24281 21561 fi 24282 21562 24283 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&524284 echo "${ECHO_T}$ld_shlibs_F77" >&6 21563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5 21564 $as_echo "$ld_shlibs_F77" >&6; } 24285 21565 test "$ld_shlibs_F77" = no && can_build_shared=no 21566 21567 with_gnu_ld_F77=$with_gnu_ld 21568 21569 21570 21571 21572 24286 21573 24287 21574 # … … 24302 21589 # systems, -lgcc has to come before -lc. If gcc already passes -lc 24303 21590 # to ld, don't add -lc before -lgcc. 24304 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 24305 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 24306 $rm conftest* 24307 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 24308 24309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 21592 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 21593 if ${lt_cv_archive_cmds_need_lc_F77+:} false; then : 21594 $as_echo_n "(cached) " >&6 21595 else 21596 $RM conftest* 21597 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 21598 21599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 24310 21600 (eval $ac_compile) 2>&5 24311 21601 ac_status=$? 24312 echo "$as_me:$LINENO: \$? = $ac_status" >&524313 (exit $ac_status); } 2>conftest.err; then24314 soname=conftest24315 lib=conftest24316 libobjs=conftest.$ac_objext24317 deplibs=24318 wl=$lt_prog_compiler_wl_F7724319 pic_flag=$lt_prog_compiler_pic_F7724320 compiler_flags=-v24321 linker_flags=-v24322 verstring=24323 output_objdir=.24324 libname=conftest24325 lt_save_allow_undefined_flag=$allow_undefined_flag_F7724326 allow_undefined_flag_F77=24327 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"")>&524328 (eval $archive_cmds_F77 2\>\&1 \| grep\" -lc \" \>/dev/null 2\>\&1) 2>&521602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21603 test $ac_status = 0; } 2>conftest.err; then 21604 soname=conftest 21605 lib=conftest 21606 libobjs=conftest.$ac_objext 21607 deplibs= 21608 wl=$lt_prog_compiler_wl_F77 21609 pic_flag=$lt_prog_compiler_pic_F77 21610 compiler_flags=-v 21611 linker_flags=-v 21612 verstring= 21613 output_objdir=. 21614 libname=conftest 21615 lt_save_allow_undefined_flag=$allow_undefined_flag_F77 21616 allow_undefined_flag_F77= 21617 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 21618 (eval $archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 24329 21619 ac_status=$? 24330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24331 (exit $ac_status); } 24332 then 24333 archive_cmds_need_lc_F77=no 24334 else 24335 archive_cmds_need_lc_F77=yes 24336 fi 24337 allow_undefined_flag_F77=$lt_save_allow_undefined_flag 24338 else 24339 cat conftest.err 1>&5 24340 fi 24341 $rm conftest* 24342 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 24343 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 21620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21621 test $ac_status = 0; } 21622 then 21623 lt_cv_archive_cmds_need_lc_F77=no 21624 else 21625 lt_cv_archive_cmds_need_lc_F77=yes 21626 fi 21627 allow_undefined_flag_F77=$lt_save_allow_undefined_flag 21628 else 21629 cat conftest.err 1>&5 21630 fi 21631 $RM conftest* 21632 21633 fi 21634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_F77" >&5 21635 $as_echo "$lt_cv_archive_cmds_need_lc_F77" >&6; } 21636 archive_cmds_need_lc_F77=$lt_cv_archive_cmds_need_lc_F77 24344 21637 ;; 24345 21638 esac … … 24348 21641 esac 24349 21642 24350 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 24351 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 21643 21644 21645 21646 21647 21648 21649 21650 21651 21652 21653 21654 21655 21656 21657 21658 21659 21660 21661 21662 21663 21664 21665 21666 21667 21668 21669 21670 21671 21672 21673 21674 21675 21676 21677 21678 21679 21680 21681 21682 21683 21684 21685 21686 21687 21688 21689 21690 21691 21692 21693 21694 21695 21696 21697 21698 21699 21700 21701 21702 21703 21704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 21705 $as_echo_n "checking dynamic linker characteristics... " >&6; } 21706 24352 21707 library_names_spec= 24353 21708 libname_spec='lib$name' … … 24363 21718 dynamic_linker="$host_os ld.so" 24364 21719 sys_lib_dlsearch_path_spec="/lib /usr/lib" 24365 if test "$GCC" = yes; then24366 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`24367 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then24368 # if the path contains ";" then we assume it to be the separator24369 # otherwise default to the standard path separator (i.e. ":") - it is24370 # assumed that no part of a normal pathname contains ";" but that should24371 # okay in the real world where ";" in dirpaths is itself problematic.24372 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`24373 else24374 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`24375 fi24376 else24377 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"24378 fi24379 21720 need_lib_prefix=unknown 24380 21721 hardcode_into_libs=no … … 24386 21727 case $host_os in 24387 21728 aix3*) 24388 version_type=linux 21729 version_type=linux # correct to gnu/linux during the next big refactor 24389 21730 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 24390 21731 shlibpath_var=LIBPATH … … 24394 21735 ;; 24395 21736 24396 aix 4* | aix5*)24397 version_type=linux 21737 aix[4-9]*) 21738 version_type=linux # correct to gnu/linux during the next big refactor 24398 21739 need_lib_prefix=no 24399 21740 need_version=no … … 24413 21754 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 24414 21755 echo ' yes ' 24415 echo '#endif'; } | ${CC} -E - | grepyes > /dev/null; then21756 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 24416 21757 : 24417 21758 else … … 24439 21780 24440 21781 amigaos*) 24441 library_names_spec='$libname.ixlibrary $libname.a' 24442 # Create ${libname}_ixlibrary.a entries in /sys/libs. 24443 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 21782 case $host_cpu in 21783 powerpc) 21784 # Since July 2007 AmigaOS4 officially supports .so libraries. 21785 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 21786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 21787 ;; 21788 m68k) 21789 library_names_spec='$libname.ixlibrary $libname.a' 21790 # Create ${libname}_ixlibrary.a entries in /sys/libs. 21791 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 21792 ;; 21793 esac 24444 21794 ;; 24445 21795 … … 24451 21801 24452 21802 bsdi[45]*) 24453 version_type=linux 21803 version_type=linux # correct to gnu/linux during the next big refactor 24454 21804 need_version=no 24455 21805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' … … 24464 21814 ;; 24465 21815 24466 cygwin* | mingw* | pw32* )21816 cygwin* | mingw* | pw32* | cegcc*) 24467 21817 version_type=windows 24468 21818 shrext_cmds=".dll" … … 24470 21820 need_lib_prefix=no 24471 21821 24472 case $GCC,$host_os in 24473 yes,cygwin* | yes,mingw* | yes,pw32*) 21822 case $GCC,$cc_basename in 21823 yes,*) 21824 # gcc 24474 21825 library_names_spec='$libname.dll.a' 24475 21826 # DLL is installed to $(libdir)/../bin by postinstall_cmds 24476 21827 postinstall_cmds='base_file=`basename \${file}`~ 24477 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~21828 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 24478 21829 dldir=$destdir/`dirname \$dlpath`~ 24479 21830 test -d \$dldir || mkdir -p \$dldir~ 24480 21831 $install_prog $dir/$dlname \$dldir/$dlname~ 24481 chmod a+x \$dldir/$dlname' 21832 chmod a+x \$dldir/$dlname~ 21833 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 21834 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 21835 fi' 24482 21836 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 24483 21837 dlpath=$dir/\$dldll~ 24484 $ rm\$dlpath'21838 $RM \$dlpath' 24485 21839 shlibpath_overrides_runpath=yes 24486 21840 … … 24489 21843 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 24490 21844 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 24491 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 21845 24492 21846 ;; 24493 mingw* )21847 mingw* | cegcc*) 24494 21848 # MinGW DLLs use traditional 'lib' prefix 24495 21849 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 24496 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`24497 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then24498 # It is most probably a Windows format PATH printed by24499 # mingw gcc, but we are running on Cygwin. Gcc prints its search24500 # path with ; separators, and with drive letters. We can handle the24501 # drive letters (cygwin fileutils understands them), so leave them,24502 # especially as we might pass files found there to a mingw objdump,24503 # which wouldn't understand a cygwinified path. Ahh.24504 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`24505 else24506 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`24507 fi24508 21850 ;; 24509 21851 pw32*) … … 24512 21854 ;; 24513 21855 esac 21856 dynamic_linker='Win32 ld.exe' 24514 21857 ;; 24515 21858 24516 linux*) 24517 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then 24518 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 24519 supports_anon_versioning=no 24520 case `$LD -v 2>/dev/null` in 24521 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 24522 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 24523 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 24524 *\ 2.11.*) ;; # other 2.11 versions 24525 *) supports_anon_versioning=yes ;; 24526 esac 24527 if test $supports_anon_versioning = yes; then 24528 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ 24529 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 24530 $echo "local: *; };" >> $output_objdir/$libname.ver~ 24531 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 21859 *,cl*) 21860 # Native MSVC 21861 libname_spec='$name' 21862 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 21863 library_names_spec='${libname}.dll.lib' 21864 21865 case $build_os in 21866 mingw*) 21867 sys_lib_search_path_spec= 21868 lt_save_ifs=$IFS 21869 IFS=';' 21870 for lt_path in $LIB 21871 do 21872 IFS=$lt_save_ifs 21873 # Let DOS variable expansion print the short 8.3 style file name. 21874 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 21875 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 21876 done 21877 IFS=$lt_save_ifs 21878 # Convert to MSYS style. 21879 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 21880 ;; 21881 cygwin*) 21882 # Convert to unix form, then to dos form, then back to unix form 21883 # but this time dos style (no spaces!) so that the unix form looks 21884 # like /cygdrive/c/PROGRA~1:/cygdr... 21885 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 21886 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 21887 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 21888 ;; 21889 *) 21890 sys_lib_search_path_spec="$LIB" 21891 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 21892 # It is most probably a Windows format PATH. 21893 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 24532 21894 else 24533 $archive_expsym_cmds="$archive_cmds"21895 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 24534 21896 fi 24535 else 24536 ld_shlibs=no 24537 fi 21897 # FIXME: find the short name or the path components, as spaces are 21898 # common. (e.g. "Program Files" -> "PROGRA~1") 21899 ;; 21900 esac 21901 21902 # DLL is installed to $(libdir)/../bin by postinstall_cmds 21903 postinstall_cmds='base_file=`basename \${file}`~ 21904 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 21905 dldir=$destdir/`dirname \$dlpath`~ 21906 test -d \$dldir || mkdir -p \$dldir~ 21907 $install_prog $dir/$dlname \$dldir/$dlname' 21908 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 21909 dlpath=$dir/\$dldll~ 21910 $RM \$dlpath' 21911 shlibpath_overrides_runpath=yes 21912 dynamic_linker='Win32 link.exe' 24538 21913 ;; 24539 21914 24540 21915 *) 21916 # Assume MSVC wrapper 24541 21917 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 21918 dynamic_linker='Win32 ld.exe' 24542 21919 ;; 24543 21920 esac 24544 dynamic_linker='Win32 ld.exe'24545 21921 # FIXME: first we should search . and the directory the executable is in 24546 21922 shlibpath_var=PATH … … 24552 21928 need_lib_prefix=no 24553 21929 need_version=no 24554 library_names_spec='${libname}${release}${ versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'21930 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 24555 21931 soname_spec='${libname}${release}${major}$shared_ext' 24556 21932 shlibpath_overrides_runpath=yes 24557 21933 shlibpath_var=DYLD_LIBRARY_PATH 24558 21934 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 24559 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 24560 if test "$GCC" = yes; then 24561 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 24562 else 24563 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 24564 fi 21935 24565 21936 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 24566 21937 ;; 24567 21938 24568 21939 dgux*) 24569 version_type=linux 21940 version_type=linux # correct to gnu/linux during the next big refactor 24570 21941 need_lib_prefix=no 24571 21942 need_version=no … … 24573 21944 soname_spec='${libname}${release}${shared_ext}$major' 24574 21945 shlibpath_var=LD_LIBRARY_PATH 24575 ;;24576 24577 freebsd1*)24578 dynamic_linker=no24579 ;;24580 24581 kfreebsd*-gnu)24582 version_type=linux24583 need_lib_prefix=no24584 need_version=no24585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'24586 soname_spec='${libname}${release}${shared_ext}$major'24587 shlibpath_var=LD_LIBRARY_PATH24588 shlibpath_overrides_runpath=no24589 hardcode_into_libs=yes24590 dynamic_linker='GNU ld.so'24591 21946 ;; 24592 21947 … … 24598 21953 else 24599 21954 case $host_os in 24600 freebsd[ 123]*) objformat=aout ;;21955 freebsd[23].*) objformat=aout ;; 24601 21956 *) objformat=elf ;; 24602 21957 esac 24603 21958 fi 24604 # Handle Gentoo/FreeBSD as it was Linux 24605 case $host_vendor in 24606 gentoo) 24607 version_type=linux ;; 24608 *) 24609 version_type=freebsd-$objformat ;; 24610 esac 24611 21959 version_type=freebsd-$objformat 24612 21960 case $version_type in 24613 21961 freebsd-elf*) … … 24620 21968 need_version=yes 24621 21969 ;; 24622 linux)24623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'24624 soname_spec='${libname}${release}${shared_ext}$major'24625 need_lib_prefix=no24626 need_version=no24627 ;;24628 21970 esac 24629 21971 shlibpath_var=LD_LIBRARY_PATH 24630 21972 case $host_os in 24631 freebsd2 *)21973 freebsd2.*) 24632 21974 shlibpath_overrides_runpath=yes 24633 21975 ;; … … 24641 21983 hardcode_into_libs=yes 24642 21984 ;; 24643 freebsd*) # from 4.6 on21985 *) # from 4.6 on, and DragonFly 24644 21986 shlibpath_overrides_runpath=yes 24645 21987 hardcode_into_libs=yes … … 24648 21990 ;; 24649 21991 24650 gnu*)24651 version_type=linux 21992 haiku*) 21993 version_type=linux # correct to gnu/linux during the next big refactor 24652 21994 need_lib_prefix=no 24653 21995 need_version=no 21996 dynamic_linker="$host_os runtime_loader" 24654 21997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 24655 21998 soname_spec='${libname}${release}${shared_ext}$major' 24656 shlibpath_var=LD_LIBRARY_PATH 21999 shlibpath_var=LIBRARY_PATH 22000 shlibpath_overrides_runpath=yes 22001 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 24657 22002 hardcode_into_libs=yes 24658 22003 ;; … … 24680 22025 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 24681 22026 ;; 24682 hppa*64*)24683 shrext_cmds='.sl'24684 hardcode_into_libs=yes24685 dynamic_linker="$host_os dld.sl"24686 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH24687 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.24688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'24689 soname_spec='${libname}${release}${shared_ext}$major'24690 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"24691 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec24692 ;;24693 *)22027 hppa*64*) 22028 shrext_cmds='.sl' 22029 hardcode_into_libs=yes 22030 dynamic_linker="$host_os dld.sl" 22031 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 22032 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 22033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 22034 soname_spec='${libname}${release}${shared_ext}$major' 22035 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 22036 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 22037 ;; 22038 *) 24694 22039 shrext_cmds='.sl' 24695 22040 dynamic_linker="$host_os dld.sl" … … 24700 22045 ;; 24701 22046 esac 24702 # HP-UX runs *really* slowly unless shared libraries are mode 555 .22047 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 24703 22048 postinstall_cmds='chmod 555 $lib' 22049 # or fails outright, so override atomically: 22050 install_override_mode=555 24704 22051 ;; 24705 22052 24706 interix 3*)24707 version_type=linux 22053 interix[3-9]*) 22054 version_type=linux # correct to gnu/linux during the next big refactor 24708 22055 need_lib_prefix=no 24709 22056 need_version=no … … 24721 22068 *) 24722 22069 if test "$lt_cv_prog_gnu_ld" = yes; then 24723 version_type=linux 22070 version_type=linux # correct to gnu/linux during the next big refactor 24724 22071 else 24725 22072 version_type=irix … … 24758 22105 ;; 24759 22106 24760 # This must be LinuxELF.24761 linux* )24762 version_type=linux 22107 # This must be glibc/ELF. 22108 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 22109 version_type=linux # correct to gnu/linux during the next big refactor 24763 22110 need_lib_prefix=no 24764 22111 need_version=no … … 24768 22115 shlibpath_var=LD_LIBRARY_PATH 24769 22116 shlibpath_overrides_runpath=no 22117 22118 # Some binutils ld are patched to set DT_RUNPATH 22119 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 22120 $as_echo_n "(cached) " >&6 22121 else 22122 lt_cv_shlibpath_overrides_runpath=no 22123 save_LDFLAGS=$LDFLAGS 22124 save_libdir=$libdir 22125 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_F77\"; \ 22126 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_F77\"" 22127 cat > conftest.$ac_ext <<_ACEOF 22128 program main 22129 22130 end 22131 _ACEOF 22132 if ac_fn_f77_try_link "$LINENO"; then : 22133 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 22134 lt_cv_shlibpath_overrides_runpath=yes 22135 fi 22136 fi 22137 rm -f core conftest.err conftest.$ac_objext \ 22138 conftest$ac_exeext conftest.$ac_ext 22139 LDFLAGS=$save_LDFLAGS 22140 libdir=$save_libdir 22141 22142 fi 22143 22144 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 22145 24770 22146 # This implies no fast_install, which is unacceptable. 24771 22147 # Some rework will be needed to allow for fast_install … … 24775 22151 # Append ld.so.conf contents to the search path 24776 22152 if test -f /etc/ld.so.conf; then 24777 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s ", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* //g;/^$/d' | tr '\n' ' '`22153 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` 24778 22154 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 24779 22155 fi … … 24788 22164 ;; 24789 22165 24790 knetbsd*-gnu)22166 netbsdelf*-gnu) 24791 22167 version_type=linux 24792 22168 need_lib_prefix=no … … 24797 22173 shlibpath_overrides_runpath=no 24798 22174 hardcode_into_libs=yes 24799 dynamic_linker=' GNU ld.so'22175 dynamic_linker='NetBSD ld.elf_so' 24800 22176 ;; 24801 22177 … … 24804 22180 need_lib_prefix=no 24805 22181 need_version=no 24806 if echo __ELF__ | $CC -E - | grep__ELF__ >/dev/null; then22182 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 24807 22183 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 24808 22184 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 24819 22195 24820 22196 newsos6) 24821 version_type=linux 22197 version_type=linux # correct to gnu/linux during the next big refactor 24822 22198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 24823 22199 shlibpath_var=LD_LIBRARY_PATH … … 24825 22201 ;; 24826 22202 24827 nto-qnx*)24828 version_type= linux22203 *nto* | *qnx*) 22204 version_type=qnx 24829 22205 need_lib_prefix=no 24830 22206 need_version=no … … 24832 22208 soname_spec='${libname}${release}${shared_ext}$major' 24833 22209 shlibpath_var=LD_LIBRARY_PATH 24834 shlibpath_overrides_runpath=yes 22210 shlibpath_overrides_runpath=no 22211 hardcode_into_libs=yes 22212 dynamic_linker='ldqnx.so' 24835 22213 ;; 24836 22214 … … 24841 22219 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 24842 22220 case $host_os in 24843 openbsd3.3 | openbsd3.3.*) need_version=yes ;;24844 *) need_version=no ;;22221 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 22222 *) need_version=no ;; 24845 22223 esac 24846 22224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 24847 22225 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 24848 22226 shlibpath_var=LD_LIBRARY_PATH 24849 if test -z "`echo __ELF__ | $CC -E - | grep__ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then22227 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 24850 22228 case $host_os in 24851 22229 openbsd2.[89] | openbsd2.[89].*) … … 24881 22259 ;; 24882 22260 22261 rdos*) 22262 dynamic_linker=no 22263 ;; 22264 24883 22265 solaris*) 24884 version_type=linux 22266 version_type=linux # correct to gnu/linux during the next big refactor 24885 22267 need_lib_prefix=no 24886 22268 need_version=no … … 24907 22289 24908 22290 sysv4 | sysv4.3*) 24909 version_type=linux 22291 version_type=linux # correct to gnu/linux during the next big refactor 24910 22292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 24911 22293 soname_spec='${libname}${release}${shared_ext}$major' … … 24915 22297 shlibpath_overrides_runpath=no 24916 22298 need_lib_prefix=no 24917 export_dynamic_flag_spec='${wl}-Blargedynsym'24918 22299 runpath_var=LD_RUN_PATH 24919 22300 ;; … … 24932 22313 sysv4*MP*) 24933 22314 if test -d /usr/nec ;then 24934 version_type=linux 22315 version_type=linux # correct to gnu/linux during the next big refactor 24935 22316 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 24936 22317 soname_spec='$libname${shared_ext}.$major' … … 24946 22327 soname_spec='${libname}${release}${shared_ext}$major' 24947 22328 shlibpath_var=LD_LIBRARY_PATH 22329 shlibpath_overrides_runpath=yes 24948 22330 hardcode_into_libs=yes 24949 22331 if test "$with_gnu_ld" = yes; then 24950 22332 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 24951 shlibpath_overrides_runpath=no24952 22333 else 24953 22334 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 24954 shlibpath_overrides_runpath=yes24955 22335 case $host_os in 24956 22336 sco3.2v5*) … … 24962 22342 ;; 24963 22343 22344 tpf*) 22345 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 22346 version_type=linux # correct to gnu/linux during the next big refactor 22347 need_lib_prefix=no 22348 need_version=no 22349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 22350 shlibpath_var=LD_LIBRARY_PATH 22351 shlibpath_overrides_runpath=no 22352 hardcode_into_libs=yes 22353 ;; 22354 24964 22355 uts4*) 24965 version_type=linux 22356 version_type=linux # correct to gnu/linux during the next big refactor 24966 22357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 24967 22358 soname_spec='${libname}${release}${shared_ext}$major' … … 24973 22364 ;; 24974 22365 esac 24975 echo "$as_me:$LINENO: result: $dynamic_linker" >&524976 echo "${ECHO_T}$dynamic_linker" >&6 22366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 22367 $as_echo "$dynamic_linker" >&6; } 24977 22368 test "$dynamic_linker" = no && can_build_shared=no 24978 22369 … … 24982 22373 fi 24983 22374 24984 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 24985 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 22375 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 22376 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 22377 fi 22378 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 22379 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 22380 fi 22381 22382 22383 22384 22385 22386 22387 22388 22389 22390 22391 22392 22393 22394 22395 22396 22397 22398 22399 22400 22401 22402 22403 22404 22405 22406 22407 22408 22409 22410 22411 22412 22413 22414 22415 22416 22417 22418 22419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 22420 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 24986 22421 hardcode_action_F77= 24987 if test -n "$hardcode_libdir_flag_spec_F77" || \24988 test -n "$runpath_var_F77" || \22422 if test -n "$hardcode_libdir_flag_spec_F77" || 22423 test -n "$runpath_var_F77" || 24989 22424 test "X$hardcode_automatic_F77" = "Xyes" ; then 24990 22425 24991 # We can hardcode non-exist ant directories.22426 # We can hardcode non-existent directories. 24992 22427 if test "$hardcode_direct_F77" != no && 24993 22428 # If the only mechanism to avoid hardcoding is shlibpath_var, we 24994 22429 # have to relink, otherwise we might link with an installed library 24995 22430 # when we should be linking with a yet-to-be-installed one 24996 ## test "$_LT_ AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&22431 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, F77)" != no && 24997 22432 test "$hardcode_minus_L_F77" != no; then 24998 22433 # Linking always hardcodes the temporary library directory. … … 25007 22442 hardcode_action_F77=unsupported 25008 22443 fi 25009 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 25010 echo "${ECHO_T}$hardcode_action_F77" >&6 25011 25012 if test "$hardcode_action_F77" = relink; then 22444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5 22445 $as_echo "$hardcode_action_F77" >&6; } 22446 22447 if test "$hardcode_action_F77" = relink || 22448 test "$inherit_rpath_F77" = yes; then 25013 22449 # Fast installation is not supported 25014 22450 enable_fast_install=no … … 25020 22456 25021 22457 25022 # The else clause should only fire when bootstrapping the 25023 # libtool distribution, otherwise you forgot to ship ltmain.sh 25024 # with your package, and you will get complaints that there are 25025 # no rules to generate ltmain.sh. 25026 if test -f "$ltmain"; then 25027 # See if we are running on zsh, and set the options which allow our commands through 25028 # without removal of \ escapes. 25029 if test -n "${ZSH_VERSION+set}" ; then 25030 setopt NO_GLOB_SUBST 25031 fi 25032 # Now quote all the things that may contain metacharacters while being 25033 # careful not to overquote the AC_SUBSTed values. We take copies of the 25034 # variables and quote the copies for generation of the libtool script. 25035 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ 25036 SED SHELL STRIP \ 25037 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 25038 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 25039 deplibs_check_method reload_flag reload_cmds need_locks \ 25040 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 25041 lt_cv_sys_global_symbol_to_c_name_address \ 25042 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 25043 old_postinstall_cmds old_postuninstall_cmds \ 25044 compiler_F77 \ 25045 CC_F77 \ 25046 LD_F77 \ 25047 lt_prog_compiler_wl_F77 \ 25048 lt_prog_compiler_pic_F77 \ 25049 lt_prog_compiler_static_F77 \ 25050 lt_prog_compiler_no_builtin_flag_F77 \ 25051 export_dynamic_flag_spec_F77 \ 25052 thread_safe_flag_spec_F77 \ 25053 whole_archive_flag_spec_F77 \ 25054 enable_shared_with_static_runtimes_F77 \ 25055 old_archive_cmds_F77 \ 25056 old_archive_from_new_cmds_F77 \ 25057 predep_objects_F77 \ 25058 postdep_objects_F77 \ 25059 predeps_F77 \ 25060 postdeps_F77 \ 25061 compiler_lib_search_path_F77 \ 25062 archive_cmds_F77 \ 25063 archive_expsym_cmds_F77 \ 25064 postinstall_cmds_F77 \ 25065 postuninstall_cmds_F77 \ 25066 old_archive_from_expsyms_cmds_F77 \ 25067 allow_undefined_flag_F77 \ 25068 no_undefined_flag_F77 \ 25069 export_symbols_cmds_F77 \ 25070 hardcode_libdir_flag_spec_F77 \ 25071 hardcode_libdir_flag_spec_ld_F77 \ 25072 hardcode_libdir_separator_F77 \ 25073 hardcode_automatic_F77 \ 25074 module_cmds_F77 \ 25075 module_expsym_cmds_F77 \ 25076 lt_cv_prog_compiler_c_o_F77 \ 25077 exclude_expsyms_F77 \ 25078 include_expsyms_F77; do 25079 25080 case $var in 25081 old_archive_cmds_F77 | \ 25082 old_archive_from_new_cmds_F77 | \ 25083 archive_cmds_F77 | \ 25084 archive_expsym_cmds_F77 | \ 25085 module_cmds_F77 | \ 25086 module_expsym_cmds_F77 | \ 25087 old_archive_from_expsyms_cmds_F77 | \ 25088 export_symbols_cmds_F77 | \ 25089 extract_expsyms_cmds | reload_cmds | finish_cmds | \ 25090 postinstall_cmds | postuninstall_cmds | \ 25091 old_postinstall_cmds | old_postuninstall_cmds | \ 25092 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 25093 # Double-quote double-evaled strings. 25094 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 25095 ;; 25096 *) 25097 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 25098 ;; 25099 esac 25100 done 25101 25102 case $lt_echo in 25103 *'\$0 --fallback-echo"') 25104 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` 25105 ;; 25106 esac 25107 25108 cfgfile="$ofile" 25109 25110 cat <<__EOF__ >> "$cfgfile" 25111 # ### BEGIN LIBTOOL TAG CONFIG: $tagname 25112 25113 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 25114 25115 # Shell to use when invoking shell scripts. 25116 SHELL=$lt_SHELL 25117 25118 # Whether or not to build shared libraries. 25119 build_libtool_libs=$enable_shared 25120 25121 # Whether or not to build static libraries. 25122 build_old_libs=$enable_static 25123 25124 # Whether or not to add -lc for building shared libraries. 25125 build_libtool_need_lc=$archive_cmds_need_lc_F77 25126 25127 # Whether or not to disallow shared libs when runtime libs are static 25128 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 25129 25130 # Whether or not to optimize for fast installation. 25131 fast_install=$enable_fast_install 25132 25133 # The host system. 25134 host_alias=$host_alias 25135 host=$host 25136 host_os=$host_os 25137 25138 # The build system. 25139 build_alias=$build_alias 25140 build=$build 25141 build_os=$build_os 25142 25143 # An echo program that does not interpret backslashes. 25144 echo=$lt_echo 25145 25146 # The archiver. 25147 AR=$lt_AR 25148 AR_FLAGS=$lt_AR_FLAGS 25149 25150 # A C compiler. 25151 LTCC=$lt_LTCC 25152 25153 # LTCC compiler flags. 25154 LTCFLAGS=$lt_LTCFLAGS 25155 25156 # A language-specific compiler. 25157 CC=$lt_compiler_F77 25158 25159 # Is the compiler the GNU C compiler? 25160 with_gcc=$GCC_F77 25161 25162 # An ERE matcher. 25163 EGREP=$lt_EGREP 25164 25165 # The linker used to build libraries. 25166 LD=$lt_LD_F77 25167 25168 # Whether we need hard or soft links. 25169 LN_S=$lt_LN_S 25170 25171 # A BSD-compatible nm program. 25172 NM=$lt_NM 25173 25174 # A symbol stripping program 25175 STRIP=$lt_STRIP 25176 25177 # Used to examine libraries when file_magic_cmd begins "file" 25178 MAGIC_CMD=$MAGIC_CMD 25179 25180 # Used on cygwin: DLL creation program. 25181 DLLTOOL="$DLLTOOL" 25182 25183 # Used on cygwin: object dumper. 25184 OBJDUMP="$OBJDUMP" 25185 25186 # Used on cygwin: assembler. 25187 AS="$AS" 25188 25189 # The name of the directory that contains temporary libtool files. 25190 objdir=$objdir 25191 25192 # How to create reloadable object files. 25193 reload_flag=$lt_reload_flag 25194 reload_cmds=$lt_reload_cmds 25195 25196 # How to pass a linker flag through the compiler. 25197 wl=$lt_lt_prog_compiler_wl_F77 25198 25199 # Object file suffix (normally "o"). 25200 objext="$ac_objext" 25201 25202 # Old archive suffix (normally "a"). 25203 libext="$libext" 25204 25205 # Shared library suffix (normally ".so"). 25206 shrext_cmds='$shrext_cmds' 25207 25208 # Executable file suffix (normally ""). 25209 exeext="$exeext" 25210 25211 # Additional compiler flags for building library objects. 25212 pic_flag=$lt_lt_prog_compiler_pic_F77 25213 pic_mode=$pic_mode 25214 25215 # What is the maximum length of a command? 25216 max_cmd_len=$lt_cv_sys_max_cmd_len 25217 25218 # Does compiler simultaneously support -c and -o options? 25219 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 25220 25221 # Must we lock files when doing compilation? 25222 need_locks=$lt_need_locks 25223 25224 # Do we need the lib prefix for modules? 25225 need_lib_prefix=$need_lib_prefix 25226 25227 # Do we need a version for libraries? 25228 need_version=$need_version 25229 25230 # Whether dlopen is supported. 25231 dlopen_support=$enable_dlopen 25232 25233 # Whether dlopen of programs is supported. 25234 dlopen_self=$enable_dlopen_self 25235 25236 # Whether dlopen of statically linked programs is supported. 25237 dlopen_self_static=$enable_dlopen_self_static 25238 25239 # Compiler flag to prevent dynamic linking. 25240 link_static_flag=$lt_lt_prog_compiler_static_F77 25241 25242 # Compiler flag to turn off builtin functions. 25243 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 25244 25245 # Compiler flag to allow reflexive dlopens. 25246 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 25247 25248 # Compiler flag to generate shared objects directly from archives. 25249 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 25250 25251 # Compiler flag to generate thread-safe objects. 25252 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 25253 25254 # Library versioning type. 25255 version_type=$version_type 25256 25257 # Format of library name prefix. 25258 libname_spec=$lt_libname_spec 25259 25260 # List of archive names. First name is the real one, the rest are links. 25261 # The last name is the one that the linker finds with -lNAME. 25262 library_names_spec=$lt_library_names_spec 25263 25264 # The coded name of the library, if different from the real name. 25265 soname_spec=$lt_soname_spec 25266 25267 # Commands used to build and install an old-style archive. 25268 RANLIB=$lt_RANLIB 25269 old_archive_cmds=$lt_old_archive_cmds_F77 25270 old_postinstall_cmds=$lt_old_postinstall_cmds 25271 old_postuninstall_cmds=$lt_old_postuninstall_cmds 25272 25273 # Create an old-style archive from a shared archive. 25274 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 25275 25276 # Create a temporary old-style archive to link instead of a shared archive. 25277 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 25278 25279 # Commands used to build and install a shared archive. 25280 archive_cmds=$lt_archive_cmds_F77 25281 archive_expsym_cmds=$lt_archive_expsym_cmds_F77 25282 postinstall_cmds=$lt_postinstall_cmds 25283 postuninstall_cmds=$lt_postuninstall_cmds 25284 25285 # Commands used to build a loadable module (assumed same as above if empty) 25286 module_cmds=$lt_module_cmds_F77 25287 module_expsym_cmds=$lt_module_expsym_cmds_F77 25288 25289 # Commands to strip libraries. 25290 old_striplib=$lt_old_striplib 25291 striplib=$lt_striplib 25292 25293 # Dependencies to place before the objects being linked to create a 25294 # shared library. 25295 predep_objects=$lt_predep_objects_F77 25296 25297 # Dependencies to place after the objects being linked to create a 25298 # shared library. 25299 postdep_objects=$lt_postdep_objects_F77 25300 25301 # Dependencies to place before the objects being linked to create a 25302 # shared library. 25303 predeps=$lt_predeps_F77 25304 25305 # Dependencies to place after the objects being linked to create a 25306 # shared library. 25307 postdeps=$lt_postdeps_F77 25308 25309 # The library search path used internally by the compiler when linking 25310 # a shared library. 25311 compiler_lib_search_path=$lt_compiler_lib_search_path_F77 25312 25313 # Method to check whether dependent libraries are shared objects. 25314 deplibs_check_method=$lt_deplibs_check_method 25315 25316 # Command to use when deplibs_check_method == file_magic. 25317 file_magic_cmd=$lt_file_magic_cmd 25318 25319 # Flag that allows shared libraries with undefined symbols to be built. 25320 allow_undefined_flag=$lt_allow_undefined_flag_F77 25321 25322 # Flag that forces no undefined symbols. 25323 no_undefined_flag=$lt_no_undefined_flag_F77 25324 25325 # Commands used to finish a libtool library installation in a directory. 25326 finish_cmds=$lt_finish_cmds 25327 25328 # Same as above, but a single script fragment to be evaled but not shown. 25329 finish_eval=$lt_finish_eval 25330 25331 # Take the output of nm and produce a listing of raw symbols and C names. 25332 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 25333 25334 # Transform the output of nm in a proper C declaration 25335 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 25336 25337 # Transform the output of nm in a C name address pair 25338 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 25339 25340 # This is the shared library runtime path variable. 25341 runpath_var=$runpath_var 25342 25343 # This is the shared library path variable. 25344 shlibpath_var=$shlibpath_var 25345 25346 # Is shlibpath searched before the hard-coded library search path? 25347 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 25348 25349 # How to hardcode a shared library path into an executable. 25350 hardcode_action=$hardcode_action_F77 25351 25352 # Whether we should hardcode library paths into libraries. 25353 hardcode_into_libs=$hardcode_into_libs 25354 25355 # Flag to hardcode \$libdir into a binary during linking. 25356 # This must work even if \$libdir does not exist. 25357 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 25358 25359 # If ld is used when linking, flag to hardcode \$libdir into 25360 # a binary during linking. This must work even if \$libdir does 25361 # not exist. 25362 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 25363 25364 # Whether we need a single -rpath flag with a separated argument. 25365 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 25366 25367 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the 25368 # resulting binary. 25369 hardcode_direct=$hardcode_direct_F77 25370 25371 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the 25372 # resulting binary. 25373 hardcode_minus_L=$hardcode_minus_L_F77 25374 25375 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 25376 # the resulting binary. 25377 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 25378 25379 # Set to yes if building a shared library automatically hardcodes DIR into the library 25380 # and all subsequent libraries and executables linked against it. 25381 hardcode_automatic=$hardcode_automatic_F77 25382 25383 # Variables whose values should be saved in libtool wrapper scripts and 25384 # restored at relink time. 25385 variables_saved_for_relink="$variables_saved_for_relink" 25386 25387 # Whether libtool must link a program against all its dependency libraries. 25388 link_all_deplibs=$link_all_deplibs_F77 25389 25390 # Compile-time system search path for libraries 25391 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 25392 25393 # Run-time system search path for libraries 25394 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 25395 25396 # Fix the shell variable \$srcfile for the compiler. 25397 fix_srcfile_path="$fix_srcfile_path_F77" 25398 25399 # Set to yes if exported symbols are required. 25400 always_export_symbols=$always_export_symbols_F77 25401 25402 # The commands to list exported symbols. 25403 export_symbols_cmds=$lt_export_symbols_cmds_F77 25404 25405 # The commands to extract the exported symbol list from a shared archive. 25406 extract_expsyms_cmds=$lt_extract_expsyms_cmds 25407 25408 # Symbols that should not be listed in the preloaded symbols. 25409 exclude_expsyms=$lt_exclude_expsyms_F77 25410 25411 # Symbols that must always be exported. 25412 include_expsyms=$lt_include_expsyms_F77 25413 25414 # ### END LIBTOOL TAG CONFIG: $tagname 25415 25416 __EOF__ 25417 25418 25419 else 25420 # If there is no Makefile yet, we rely on a make rule to execute 25421 # `config.status --recheck' to rerun these tests and create the 25422 # libtool script then. 25423 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 25424 if test -f "$ltmain_in"; then 25425 test -f Makefile && make "$ltmain" 25426 fi 25427 fi 25428 22458 22459 22460 22461 22462 22463 fi # test -n "$compiler" 22464 22465 GCC=$lt_save_GCC 22466 CC="$lt_save_CC" 22467 CFLAGS="$lt_save_CFLAGS" 22468 fi # test "$_lt_disable_F77" != yes 25429 22469 25430 22470 ac_ext=c … … 25434 22474 ac_compiler_gnu=$ac_cv_c_compiler_gnu 25435 22475 25436 CC="$lt_save_CC" 25437 25438 else 25439 tagname="" 25440 fi 25441 ;; 25442 25443 GCJ) 25444 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then 25445 25446 25447 25448 # Source file extension for Java test sources. 25449 ac_ext=java 25450 25451 # Object file extension for compiled Java test sources. 25452 objext=o 25453 objext_GCJ=$objext 25454 25455 # Code to be used in simple compile tests 25456 lt_simple_compile_test_code="class foo {}\n" 25457 25458 # Code to be used in simple link tests 25459 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n' 25460 25461 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 25462 25463 # If no C compiler was specified, use CC. 25464 LTCC=${LTCC-"$CC"} 25465 25466 # If no C compiler flags were specified, use CFLAGS. 25467 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 25468 25469 # Allow CC to be a program name with arguments. 25470 compiler=$CC 25471 25472 25473 # save warnings/boilerplate of simple test code 25474 ac_outfile=conftest.$ac_objext 25475 printf "$lt_simple_compile_test_code" >conftest.$ac_ext 25476 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 25477 _lt_compiler_boilerplate=`cat conftest.err` 25478 $rm conftest* 25479 25480 ac_outfile=conftest.$ac_objext 25481 printf "$lt_simple_link_test_code" >conftest.$ac_ext 25482 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 25483 _lt_linker_boilerplate=`cat conftest.err` 25484 $rm conftest* 25485 25486 25487 # Allow CC to be a program name with arguments. 25488 lt_save_CC="$CC" 25489 CC=${GCJ-"gcj"} 25490 compiler=$CC 25491 compiler_GCJ=$CC 25492 for cc_temp in $compiler""; do 25493 case $cc_temp in 25494 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 25495 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 25496 \-*) ;; 25497 *) break;; 25498 esac 25499 done 25500 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 25501 25502 25503 # GCJ did not exist at the time GCC didn't implicitly link libc in. 25504 archive_cmds_need_lc_GCJ=no 25505 25506 old_archive_cmds_GCJ=$old_archive_cmds 25507 25508 ## CAVEAT EMPTOR: 25509 ## There is no encapsulation within the following macros, do not change 25510 ## the running order or otherwise move them around unless you know exactly 25511 ## what you are doing... 25512 25513 lt_prog_compiler_no_builtin_flag_GCJ= 25514 25515 if test "$GCC" = yes; then 25516 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' 25517 25518 25519 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 25520 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 25521 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 25522 echo $ECHO_N "(cached) $ECHO_C" >&6 25523 else 25524 lt_cv_prog_compiler_rtti_exceptions=no 25525 ac_outfile=conftest.$ac_objext 25526 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 25527 lt_compiler_flag="-fno-rtti -fno-exceptions" 25528 # Insert the option either (1) after the last *FLAGS variable, or 25529 # (2) before a word containing "conftest.", or (3) at the end. 25530 # Note that $ac_compile itself does not contain backslashes and begins 25531 # with a dollar sign (not a hyphen), so the echo should work correctly. 25532 # The option is referenced via a variable to avoid confusing sed. 25533 lt_compile=`echo "$ac_compile" | $SED \ 25534 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 25535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 25536 -e 's:$: $lt_compiler_flag:'` 25537 (eval echo "\"\$as_me:25537: $lt_compile\"" >&5) 25538 (eval "$lt_compile" 2>conftest.err) 25539 ac_status=$? 25540 cat conftest.err >&5 25541 echo "$as_me:25541: \$? = $ac_status" >&5 25542 if (exit $ac_status) && test -s "$ac_outfile"; then 25543 # The compiler can only warn and ignore the option if not recognized 25544 # So say no if there are warnings other than the usual output. 25545 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 25546 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 25547 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 25548 lt_cv_prog_compiler_rtti_exceptions=yes 25549 fi 25550 fi 25551 $rm conftest* 25552 25553 fi 25554 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 25555 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 25556 25557 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 25558 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" 25559 else 25560 : 25561 fi 25562 25563 fi 25564 25565 lt_prog_compiler_wl_GCJ= 25566 lt_prog_compiler_pic_GCJ= 25567 lt_prog_compiler_static_GCJ= 25568 25569 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 25570 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 25571 25572 if test "$GCC" = yes; then 25573 lt_prog_compiler_wl_GCJ='-Wl,' 25574 lt_prog_compiler_static_GCJ='-static' 25575 25576 case $host_os in 25577 aix*) 25578 # All AIX code is PIC. 25579 if test "$host_cpu" = ia64; then 25580 # AIX 5 now supports IA64 processor 25581 lt_prog_compiler_static_GCJ='-Bstatic' 25582 fi 25583 ;; 25584 25585 amigaos*) 25586 # FIXME: we need at least 68020 code to build shared libraries, but 25587 # adding the `-m68020' flag to GCC prevents building anything better, 25588 # like `-m68040'. 25589 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' 25590 ;; 25591 25592 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 25593 # PIC is the default for these OSes. 25594 ;; 25595 25596 mingw* | pw32* | os2*) 25597 # This hack is so that the source file can tell whether it is being 25598 # built for inclusion in a dll (and should export symbols for example). 25599 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' 25600 ;; 25601 25602 darwin* | rhapsody*) 25603 # PIC is the default on this platform 25604 # Common symbols not allowed in MH_DYLIB files 25605 lt_prog_compiler_pic_GCJ='-fno-common' 25606 ;; 25607 25608 interix3*) 25609 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 25610 # Instead, we relocate shared libraries at runtime. 25611 ;; 25612 25613 msdosdjgpp*) 25614 # Just because we use GCC doesn't mean we suddenly get shared libraries 25615 # on systems that don't support them. 25616 lt_prog_compiler_can_build_shared_GCJ=no 25617 enable_shared=no 25618 ;; 25619 25620 sysv4*MP*) 25621 if test -d /usr/nec; then 25622 lt_prog_compiler_pic_GCJ=-Kconform_pic 25623 fi 25624 ;; 25625 25626 hpux*) 25627 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 25628 # not for PA HP-UX. 25629 case $host_cpu in 25630 hppa*64*|ia64*) 25631 # +Z the default 25632 ;; 25633 *) 25634 lt_prog_compiler_pic_GCJ='-fPIC' 25635 ;; 25636 esac 25637 ;; 25638 25639 *) 25640 lt_prog_compiler_pic_GCJ='-fPIC' 25641 ;; 25642 esac 25643 else 25644 # PORTME Check for flag to pass linker flags through the system compiler. 25645 case $host_os in 25646 aix*) 25647 lt_prog_compiler_wl_GCJ='-Wl,' 25648 if test "$host_cpu" = ia64; then 25649 # AIX 5 now supports IA64 processor 25650 lt_prog_compiler_static_GCJ='-Bstatic' 25651 else 25652 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' 25653 fi 25654 ;; 25655 darwin*) 25656 # PIC is the default on this platform 25657 # Common symbols not allowed in MH_DYLIB files 25658 case $cc_basename in 25659 xlc*) 25660 lt_prog_compiler_pic_GCJ='-qnocommon' 25661 lt_prog_compiler_wl_GCJ='-Wl,' 25662 ;; 25663 esac 25664 ;; 25665 25666 mingw* | pw32* | os2*) 25667 # This hack is so that the source file can tell whether it is being 25668 # built for inclusion in a dll (and should export symbols for example). 25669 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' 25670 ;; 25671 25672 hpux9* | hpux10* | hpux11*) 25673 lt_prog_compiler_wl_GCJ='-Wl,' 25674 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 25675 # not for PA HP-UX. 25676 case $host_cpu in 25677 hppa*64*|ia64*) 25678 # +Z the default 25679 ;; 25680 *) 25681 lt_prog_compiler_pic_GCJ='+Z' 25682 ;; 25683 esac 25684 # Is there a better lt_prog_compiler_static that works with the bundled CC? 25685 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' 25686 ;; 25687 25688 irix5* | irix6* | nonstopux*) 25689 lt_prog_compiler_wl_GCJ='-Wl,' 25690 # PIC (with -KPIC) is the default. 25691 lt_prog_compiler_static_GCJ='-non_shared' 25692 ;; 25693 25694 newsos6) 25695 lt_prog_compiler_pic_GCJ='-KPIC' 25696 lt_prog_compiler_static_GCJ='-Bstatic' 25697 ;; 25698 25699 linux*) 25700 case $cc_basename in 25701 icc* | ecc*) 25702 lt_prog_compiler_wl_GCJ='-Wl,' 25703 lt_prog_compiler_pic_GCJ='-KPIC' 25704 lt_prog_compiler_static_GCJ='-static' 25705 ;; 25706 pgcc* | pgf77* | pgf90* | pgf95*) 25707 # Portland Group compilers (*not* the Pentium gcc compiler, 25708 # which looks to be a dead project) 25709 lt_prog_compiler_wl_GCJ='-Wl,' 25710 lt_prog_compiler_pic_GCJ='-fpic' 25711 lt_prog_compiler_static_GCJ='-Bstatic' 25712 ;; 25713 ccc*) 25714 lt_prog_compiler_wl_GCJ='-Wl,' 25715 # All Alpha code is PIC. 25716 lt_prog_compiler_static_GCJ='-non_shared' 25717 ;; 25718 esac 25719 ;; 25720 25721 osf3* | osf4* | osf5*) 25722 lt_prog_compiler_wl_GCJ='-Wl,' 25723 # All OSF/1 code is PIC. 25724 lt_prog_compiler_static_GCJ='-non_shared' 25725 ;; 25726 25727 solaris*) 25728 lt_prog_compiler_pic_GCJ='-KPIC' 25729 lt_prog_compiler_static_GCJ='-Bstatic' 25730 case $cc_basename in 25731 f77* | f90* | f95*) 25732 lt_prog_compiler_wl_GCJ='-Qoption ld ';; 25733 *) 25734 lt_prog_compiler_wl_GCJ='-Wl,';; 25735 esac 25736 ;; 25737 25738 sunos4*) 25739 lt_prog_compiler_wl_GCJ='-Qoption ld ' 25740 lt_prog_compiler_pic_GCJ='-PIC' 25741 lt_prog_compiler_static_GCJ='-Bstatic' 25742 ;; 25743 25744 sysv4 | sysv4.2uw2* | sysv4.3*) 25745 lt_prog_compiler_wl_GCJ='-Wl,' 25746 lt_prog_compiler_pic_GCJ='-KPIC' 25747 lt_prog_compiler_static_GCJ='-Bstatic' 25748 ;; 25749 25750 sysv4*MP*) 25751 if test -d /usr/nec ;then 25752 lt_prog_compiler_pic_GCJ='-Kconform_pic' 25753 lt_prog_compiler_static_GCJ='-Bstatic' 25754 fi 25755 ;; 25756 25757 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 25758 lt_prog_compiler_wl_GCJ='-Wl,' 25759 lt_prog_compiler_pic_GCJ='-KPIC' 25760 lt_prog_compiler_static_GCJ='-Bstatic' 25761 ;; 25762 25763 unicos*) 25764 lt_prog_compiler_wl_GCJ='-Wl,' 25765 lt_prog_compiler_can_build_shared_GCJ=no 25766 ;; 25767 25768 uts4*) 25769 lt_prog_compiler_pic_GCJ='-pic' 25770 lt_prog_compiler_static_GCJ='-Bstatic' 25771 ;; 25772 25773 *) 25774 lt_prog_compiler_can_build_shared_GCJ=no 25775 ;; 25776 esac 25777 fi 25778 25779 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 25780 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 25781 25782 # 25783 # Check to make sure the PIC flag actually works. 25784 # 25785 if test -n "$lt_prog_compiler_pic_GCJ"; then 25786 25787 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 25788 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 25789 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then 25790 echo $ECHO_N "(cached) $ECHO_C" >&6 25791 else 25792 lt_prog_compiler_pic_works_GCJ=no 25793 ac_outfile=conftest.$ac_objext 25794 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 25795 lt_compiler_flag="$lt_prog_compiler_pic_GCJ" 25796 # Insert the option either (1) after the last *FLAGS variable, or 25797 # (2) before a word containing "conftest.", or (3) at the end. 25798 # Note that $ac_compile itself does not contain backslashes and begins 25799 # with a dollar sign (not a hyphen), so the echo should work correctly. 25800 # The option is referenced via a variable to avoid confusing sed. 25801 lt_compile=`echo "$ac_compile" | $SED \ 25802 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 25803 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 25804 -e 's:$: $lt_compiler_flag:'` 25805 (eval echo "\"\$as_me:25805: $lt_compile\"" >&5) 25806 (eval "$lt_compile" 2>conftest.err) 25807 ac_status=$? 25808 cat conftest.err >&5 25809 echo "$as_me:25809: \$? = $ac_status" >&5 25810 if (exit $ac_status) && test -s "$ac_outfile"; then 25811 # The compiler can only warn and ignore the option if not recognized 25812 # So say no if there are warnings other than the usual output. 25813 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 25814 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 25815 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 25816 lt_prog_compiler_pic_works_GCJ=yes 25817 fi 25818 fi 25819 $rm conftest* 25820 25821 fi 25822 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 25823 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 25824 25825 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then 25826 case $lt_prog_compiler_pic_GCJ in 25827 "" | " "*) ;; 25828 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; 25829 esac 25830 else 25831 lt_prog_compiler_pic_GCJ= 25832 lt_prog_compiler_can_build_shared_GCJ=no 25833 fi 25834 25835 fi 25836 case $host_os in 25837 # For platforms which do not support PIC, -DPIC is meaningless: 25838 *djgpp*) 25839 lt_prog_compiler_pic_GCJ= 25840 ;; 25841 *) 25842 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" 25843 ;; 25844 esac 25845 25846 # 25847 # Check to make sure the static flag actually works. 25848 # 25849 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" 25850 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 25851 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 25852 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then 25853 echo $ECHO_N "(cached) $ECHO_C" >&6 25854 else 25855 lt_prog_compiler_static_works_GCJ=no 25856 save_LDFLAGS="$LDFLAGS" 25857 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 25858 printf "$lt_simple_link_test_code" > conftest.$ac_ext 25859 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 25860 # The linker can only warn and ignore the option if not recognized 25861 # So say no if there are warnings 25862 if test -s conftest.err; then 25863 # Append any errors to the config.log. 25864 cat conftest.err 1>&5 25865 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 25866 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 25867 if diff conftest.exp conftest.er2 >/dev/null; then 25868 lt_prog_compiler_static_works_GCJ=yes 25869 fi 25870 else 25871 lt_prog_compiler_static_works_GCJ=yes 25872 fi 25873 fi 25874 $rm conftest* 25875 LDFLAGS="$save_LDFLAGS" 25876 25877 fi 25878 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5 25879 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6 25880 25881 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then 25882 : 25883 else 25884 lt_prog_compiler_static_GCJ= 25885 fi 25886 25887 25888 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 25889 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 25890 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then 25891 echo $ECHO_N "(cached) $ECHO_C" >&6 25892 else 25893 lt_cv_prog_compiler_c_o_GCJ=no 25894 $rm -r conftest 2>/dev/null 25895 mkdir conftest 25896 cd conftest 25897 mkdir out 25898 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 25899 25900 lt_compiler_flag="-o out/conftest2.$ac_objext" 25901 # Insert the option either (1) after the last *FLAGS variable, or 25902 # (2) before a word containing "conftest.", or (3) at the end. 25903 # Note that $ac_compile itself does not contain backslashes and begins 25904 # with a dollar sign (not a hyphen), so the echo should work correctly. 25905 lt_compile=`echo "$ac_compile" | $SED \ 25906 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 25907 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 25908 -e 's:$: $lt_compiler_flag:'` 25909 (eval echo "\"\$as_me:25909: $lt_compile\"" >&5) 25910 (eval "$lt_compile" 2>out/conftest.err) 25911 ac_status=$? 25912 cat out/conftest.err >&5 25913 echo "$as_me:25913: \$? = $ac_status" >&5 25914 if (exit $ac_status) && test -s out/conftest2.$ac_objext 25915 then 25916 # The compiler can only warn and ignore the option if not recognized 25917 # So say no if there are warnings 25918 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 25919 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 25920 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 25921 lt_cv_prog_compiler_c_o_GCJ=yes 25922 fi 25923 fi 25924 chmod u+w . 2>&5 25925 $rm conftest* 25926 # SGI C++ compiler will create directory out/ii_files/ for 25927 # template instantiation 25928 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 25929 $rm out/* && rmdir out 25930 cd .. 25931 rmdir conftest 25932 $rm conftest* 25933 25934 fi 25935 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 25936 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 25937 25938 25939 hard_links="nottested" 25940 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then 25941 # do not overwrite the value of need_locks provided by the user 25942 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 25943 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 25944 hard_links=yes 25945 $rm conftest* 25946 ln conftest.a conftest.b 2>/dev/null && hard_links=no 25947 touch conftest.a 25948 ln conftest.a conftest.b 2>&5 || hard_links=no 25949 ln conftest.a conftest.b 2>/dev/null && hard_links=no 25950 echo "$as_me:$LINENO: result: $hard_links" >&5 25951 echo "${ECHO_T}$hard_links" >&6 25952 if test "$hard_links" = no; then 25953 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 25954 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 25955 need_locks=warn 25956 fi 25957 else 25958 need_locks=no 25959 fi 25960 25961 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 25962 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 25963 25964 runpath_var= 25965 allow_undefined_flag_GCJ= 25966 enable_shared_with_static_runtimes_GCJ=no 25967 archive_cmds_GCJ= 25968 archive_expsym_cmds_GCJ= 25969 old_archive_From_new_cmds_GCJ= 25970 old_archive_from_expsyms_cmds_GCJ= 25971 export_dynamic_flag_spec_GCJ= 25972 whole_archive_flag_spec_GCJ= 25973 thread_safe_flag_spec_GCJ= 25974 hardcode_libdir_flag_spec_GCJ= 25975 hardcode_libdir_flag_spec_ld_GCJ= 25976 hardcode_libdir_separator_GCJ= 25977 hardcode_direct_GCJ=no 25978 hardcode_minus_L_GCJ=no 25979 hardcode_shlibpath_var_GCJ=unsupported 25980 link_all_deplibs_GCJ=unknown 25981 hardcode_automatic_GCJ=no 25982 module_cmds_GCJ= 25983 module_expsym_cmds_GCJ= 25984 always_export_symbols_GCJ=no 25985 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 25986 # include_expsyms should be a list of space-separated symbols to be *always* 25987 # included in the symbol list 25988 include_expsyms_GCJ= 25989 # exclude_expsyms can be an extended regexp of symbols to exclude 25990 # it will be wrapped by ` (' and `)$', so one must not match beginning or 25991 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 25992 # as well as any symbol that contains `d'. 25993 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" 25994 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 25995 # platforms (ab)use it in PIC code, but their linkers get confused if 25996 # the symbol is explicitly referenced. Since portable code cannot 25997 # rely on this symbol name, it's probably fine to never include it in 25998 # preloaded symbol tables. 25999 extract_expsyms_cmds= 26000 # Just being paranoid about ensuring that cc_basename is set. 26001 for cc_temp in $compiler""; do 26002 case $cc_temp in 26003 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 26004 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 26005 \-*) ;; 26006 *) break;; 26007 esac 26008 done 26009 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 26010 26011 case $host_os in 26012 cygwin* | mingw* | pw32*) 26013 # FIXME: the MSVC++ port hasn't been tested in a loooong time 26014 # When not using gcc, we currently assume that we are using 26015 # Microsoft Visual C++. 26016 if test "$GCC" != yes; then 26017 with_gnu_ld=no 26018 fi 26019 ;; 26020 interix*) 26021 # we just hope/assume this is gcc and not c89 (= MSVC++) 26022 with_gnu_ld=yes 26023 ;; 26024 openbsd*) 26025 with_gnu_ld=no 26026 ;; 26027 esac 26028 26029 ld_shlibs_GCJ=yes 26030 if test "$with_gnu_ld" = yes; then 26031 # If archive_cmds runs LD, not CC, wlarc should be empty 26032 wlarc='${wl}' 26033 26034 # Set some defaults for GNU ld with shared library support. These 26035 # are reset later if shared libraries are not supported. Putting them 26036 # here allows them to be overridden if necessary. 26037 runpath_var=LD_RUN_PATH 26038 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' 26039 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' 26040 # ancient GNU ld didn't support --whole-archive et. al. 26041 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then 26042 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 26043 else 26044 whole_archive_flag_spec_GCJ= 26045 fi 26046 supports_anon_versioning=no 26047 case `$LD -v 2>/dev/null` in 26048 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 26049 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 26050 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 26051 *\ 2.11.*) ;; # other 2.11 versions 26052 *) supports_anon_versioning=yes ;; 26053 esac 26054 26055 # See if GNU ld supports shared libraries. 26056 case $host_os in 26057 aix3* | aix4* | aix5*) 26058 # On AIX/PPC, the GNU linker is very broken 26059 if test "$host_cpu" != ia64; then 26060 ld_shlibs_GCJ=no 26061 cat <<EOF 1>&2 26062 26063 *** Warning: the GNU linker, at least up to release 2.9.1, is reported 26064 *** to be unable to reliably create shared libraries on AIX. 26065 *** Therefore, libtool is disabling shared libraries support. If you 26066 *** really care for shared libraries, you may want to modify your PATH 26067 *** so that a non-GNU linker is found, and then restart. 26068 26069 EOF 26070 fi 26071 ;; 26072 26073 amigaos*) 26074 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 26075 hardcode_libdir_flag_spec_GCJ='-L$libdir' 26076 hardcode_minus_L_GCJ=yes 26077 26078 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports 26079 # that the semantics of dynamic libraries on AmigaOS, at least up 26080 # to version 4, is to share data among multiple programs linked 26081 # with the same dynamic library. Since this doesn't match the 26082 # behavior of shared libraries on other platforms, we can't use 26083 # them. 26084 ld_shlibs_GCJ=no 26085 ;; 26086 26087 beos*) 26088 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 26089 allow_undefined_flag_GCJ=unsupported 26090 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 26091 # support --undefined. This deserves some investigation. FIXME 26092 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 26093 else 26094 ld_shlibs_GCJ=no 26095 fi 26096 ;; 26097 26098 cygwin* | mingw* | pw32*) 26099 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, 26100 # as there is no search path for DLLs. 26101 hardcode_libdir_flag_spec_GCJ='-L$libdir' 26102 allow_undefined_flag_GCJ=unsupported 26103 always_export_symbols_GCJ=no 26104 enable_shared_with_static_runtimes_GCJ=yes 26105 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' 26106 26107 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 26108 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 26109 # If the export-symbols file already is a .def file (1st line 26110 # is EXPORTS), use it as is; otherwise, prepend... 26111 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 26112 cp $export_symbols $output_objdir/$soname.def; 26113 else 26114 echo EXPORTS > $output_objdir/$soname.def; 26115 cat $export_symbols >> $output_objdir/$soname.def; 26116 fi~ 26117 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 26118 else 26119 ld_shlibs_GCJ=no 26120 fi 26121 ;; 26122 26123 interix3*) 26124 hardcode_direct_GCJ=no 26125 hardcode_shlibpath_var_GCJ=no 26126 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' 26127 export_dynamic_flag_spec_GCJ='${wl}-E' 26128 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 26129 # Instead, shared libraries are loaded at an image base (0x10000000 by 26130 # default) and relocated if they conflict, which is a slow very memory 26131 # consuming and fragmenting process. To avoid this, we pick a random, 26132 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 26133 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 26134 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 26135 archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 26136 ;; 26137 26138 linux*) 26139 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 26140 tmp_addflag= 26141 case $cc_basename,$host_cpu in 26142 pgcc*) # Portland Group C compiler 26143 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 26144 tmp_addflag=' $pic_flag' 26145 ;; 26146 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 26147 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 26148 tmp_addflag=' $pic_flag -Mnomain' ;; 26149 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 26150 tmp_addflag=' -i_dynamic' ;; 26151 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 26152 tmp_addflag=' -i_dynamic -nofor_main' ;; 26153 ifc* | ifort*) # Intel Fortran compiler 26154 tmp_addflag=' -nofor_main' ;; 26155 esac 26156 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 26157 26158 if test $supports_anon_versioning = yes; then 26159 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ 26160 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 26161 $echo "local: *; };" >> $output_objdir/$libname.ver~ 26162 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 26163 fi 26164 else 26165 ld_shlibs_GCJ=no 26166 fi 26167 ;; 26168 26169 netbsd*) 26170 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 26171 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 26172 wlarc= 26173 else 26174 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 26175 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 26176 fi 26177 ;; 26178 26179 solaris*) 26180 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then 26181 ld_shlibs_GCJ=no 26182 cat <<EOF 1>&2 26183 26184 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 26185 *** create shared libraries on Solaris systems. Therefore, libtool 26186 *** is disabling shared libraries support. We urge you to upgrade GNU 26187 *** binutils to release 2.9.1 or newer. Another option is to modify 26188 *** your PATH or compiler configuration so that the native linker is 26189 *** used, and then restart. 26190 26191 EOF 26192 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 26193 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 26194 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 26195 else 26196 ld_shlibs_GCJ=no 26197 fi 26198 ;; 26199 26200 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 26201 case `$LD -v 2>&1` in 26202 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 26203 ld_shlibs_GCJ=no 26204 cat <<_LT_EOF 1>&2 26205 26206 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 26207 *** reliably create shared libraries on SCO systems. Therefore, libtool 26208 *** is disabling shared libraries support. We urge you to upgrade GNU 26209 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify 26210 *** your PATH or compiler configuration so that the native linker is 26211 *** used, and then restart. 26212 26213 _LT_EOF 26214 ;; 26215 *) 26216 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 26217 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' 26218 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' 26219 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' 26220 else 26221 ld_shlibs_GCJ=no 26222 fi 26223 ;; 26224 esac 26225 ;; 26226 26227 sunos4*) 26228 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 26229 wlarc= 26230 hardcode_direct_GCJ=yes 26231 hardcode_shlibpath_var_GCJ=no 26232 ;; 26233 26234 *) 26235 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 26236 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 26237 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 26238 else 26239 ld_shlibs_GCJ=no 26240 fi 26241 ;; 26242 esac 26243 26244 if test "$ld_shlibs_GCJ" = no; then 26245 runpath_var= 26246 hardcode_libdir_flag_spec_GCJ= 26247 export_dynamic_flag_spec_GCJ= 26248 whole_archive_flag_spec_GCJ= 26249 fi 26250 else 26251 # PORTME fill in a description of your system's linker (not GNU ld) 26252 case $host_os in 26253 aix3*) 26254 allow_undefined_flag_GCJ=unsupported 26255 always_export_symbols_GCJ=yes 26256 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 26257 # Note: this linker hardcodes the directories in LIBPATH if there 26258 # are no directories specified by -L. 26259 hardcode_minus_L_GCJ=yes 26260 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 26261 # Neither direct hardcoding nor static linking is supported with a 26262 # broken collect2. 26263 hardcode_direct_GCJ=unsupported 26264 fi 26265 ;; 26266 26267 aix4* | aix5*) 26268 if test "$host_cpu" = ia64; then 26269 # On IA64, the linker does run time linking by default, so we don't 26270 # have to do anything special. 26271 aix_use_runtimelinking=no 26272 exp_sym_flag='-Bexport' 26273 no_entry_flag="" 26274 else 26275 # If we're using GNU nm, then we don't want the "-C" option. 26276 # -C means demangle to AIX nm, but means don't demangle with GNU nm 26277 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 26278 export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 26279 else 26280 export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 26281 fi 26282 aix_use_runtimelinking=no 26283 26284 # Test if we are trying to use run time linking or normal 26285 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 26286 # need to do runtime linking. 26287 case $host_os in aix4.[23]|aix4.[23].*|aix5*) 26288 for ld_flag in $LDFLAGS; do 26289 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 26290 aix_use_runtimelinking=yes 26291 break 26292 fi 26293 done 26294 ;; 26295 esac 26296 26297 exp_sym_flag='-bexport' 26298 no_entry_flag='-bnoentry' 26299 fi 26300 26301 # When large executables or shared objects are built, AIX ld can 26302 # have problems creating the table of contents. If linking a library 26303 # or program results in "error TOC overflow" add -mminimal-toc to 26304 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 26305 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 26306 26307 archive_cmds_GCJ='' 26308 hardcode_direct_GCJ=yes 26309 hardcode_libdir_separator_GCJ=':' 26310 link_all_deplibs_GCJ=yes 26311 26312 if test "$GCC" = yes; then 26313 case $host_os in aix4.[012]|aix4.[012].*) 26314 # We only want to do this on AIX 4.2 and lower, the check 26315 # below for broken collect2 doesn't work under 4.3+ 26316 collect2name=`${CC} -print-prog-name=collect2` 26317 if test -f "$collect2name" && \ 26318 strings "$collect2name" | grep resolve_lib_name >/dev/null 26319 then 26320 # We have reworked collect2 26321 hardcode_direct_GCJ=yes 26322 else 26323 # We have old collect2 26324 hardcode_direct_GCJ=unsupported 26325 # It fails to find uninstalled libraries when the uninstalled 26326 # path is not listed in the libpath. Setting hardcode_minus_L 26327 # to unsupported forces relinking 26328 hardcode_minus_L_GCJ=yes 26329 hardcode_libdir_flag_spec_GCJ='-L$libdir' 26330 hardcode_libdir_separator_GCJ= 26331 fi 26332 ;; 26333 esac 26334 shared_flag='-shared' 26335 if test "$aix_use_runtimelinking" = yes; then 26336 shared_flag="$shared_flag "'${wl}-G' 26337 fi 26338 else 26339 # not using gcc 26340 if test "$host_cpu" = ia64; then 26341 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 26342 # chokes on -Wl,-G. The following line is correct: 26343 shared_flag='-G' 26344 else 26345 if test "$aix_use_runtimelinking" = yes; then 26346 shared_flag='${wl}-G' 26347 else 26348 shared_flag='${wl}-bM:SRE' 26349 fi 26350 fi 26351 fi 26352 26353 # It seems that -bexpall does not export symbols beginning with 26354 # underscore (_), so it is better to generate a list of symbols to export. 26355 always_export_symbols_GCJ=yes 26356 if test "$aix_use_runtimelinking" = yes; then 26357 # Warning - without using the other runtime loading flags (-brtl), 26358 # -berok will link without error, but may produce a broken library. 26359 allow_undefined_flag_GCJ='-berok' 26360 # Determine the default libpath from the value encoded in an empty executable. 26361 cat >conftest.$ac_ext <<_ACEOF 26362 /* confdefs.h. */ 26363 _ACEOF 26364 cat confdefs.h >>conftest.$ac_ext 26365 cat >>conftest.$ac_ext <<_ACEOF 26366 /* end confdefs.h. */ 26367 26368 int 26369 main () 26370 { 26371 26372 ; 26373 return 0; 26374 } 26375 _ACEOF 26376 rm -f conftest.$ac_objext conftest$ac_exeext 26377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 26378 (eval $ac_link) 2>conftest.er1 26379 ac_status=$? 26380 grep -v '^ *+' conftest.er1 >conftest.err 26381 rm -f conftest.er1 26382 cat conftest.err >&5 26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26384 (exit $ac_status); } && 26385 { ac_try='test -z "$ac_c_werror_flag" 26386 || test ! -s conftest.err' 26387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26388 (eval $ac_try) 2>&5 26389 ac_status=$? 26390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26391 (exit $ac_status); }; } && 26392 { ac_try='test -s conftest$ac_exeext' 26393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26394 (eval $ac_try) 2>&5 26395 ac_status=$? 26396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26397 (exit $ac_status); }; }; then 26398 26399 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 26400 }'` 26401 # Check for a 64-bit object if we didn't find anything. 26402 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 26403 }'`; fi 26404 else 26405 echo "$as_me: failed program was:" >&5 26406 sed 's/^/| /' conftest.$ac_ext >&5 26407 26408 fi 26409 rm -f conftest.err conftest.$ac_objext \ 26410 conftest$ac_exeext conftest.$ac_ext 26411 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 26412 26413 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" 26414 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 26415 else 26416 if test "$host_cpu" = ia64; then 26417 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' 26418 allow_undefined_flag_GCJ="-z nodefs" 26419 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 26420 else 26421 # Determine the default libpath from the value encoded in an empty executable. 26422 cat >conftest.$ac_ext <<_ACEOF 26423 /* confdefs.h. */ 26424 _ACEOF 26425 cat confdefs.h >>conftest.$ac_ext 26426 cat >>conftest.$ac_ext <<_ACEOF 26427 /* end confdefs.h. */ 26428 26429 int 26430 main () 26431 { 26432 26433 ; 26434 return 0; 26435 } 26436 _ACEOF 26437 rm -f conftest.$ac_objext conftest$ac_exeext 26438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 26439 (eval $ac_link) 2>conftest.er1 26440 ac_status=$? 26441 grep -v '^ *+' conftest.er1 >conftest.err 26442 rm -f conftest.er1 26443 cat conftest.err >&5 26444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26445 (exit $ac_status); } && 26446 { ac_try='test -z "$ac_c_werror_flag" 26447 || test ! -s conftest.err' 26448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26449 (eval $ac_try) 2>&5 26450 ac_status=$? 26451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26452 (exit $ac_status); }; } && 26453 { ac_try='test -s conftest$ac_exeext' 26454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26455 (eval $ac_try) 2>&5 26456 ac_status=$? 26457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26458 (exit $ac_status); }; }; then 26459 26460 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 26461 }'` 26462 # Check for a 64-bit object if we didn't find anything. 26463 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 26464 }'`; fi 26465 else 26466 echo "$as_me: failed program was:" >&5 26467 sed 's/^/| /' conftest.$ac_ext >&5 26468 26469 fi 26470 rm -f conftest.err conftest.$ac_objext \ 26471 conftest$ac_exeext conftest.$ac_ext 26472 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 26473 26474 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" 26475 # Warning - without using the other run time loading flags, 26476 # -berok will link without error, but may produce a broken library. 26477 no_undefined_flag_GCJ=' ${wl}-bernotok' 26478 allow_undefined_flag_GCJ=' ${wl}-berok' 26479 # Exported symbols can be pulled into shared objects from archives 26480 whole_archive_flag_spec_GCJ='$convenience' 26481 archive_cmds_need_lc_GCJ=yes 26482 # This is similar to how AIX traditionally builds its shared libraries. 26483 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 26484 fi 26485 fi 26486 ;; 26487 26488 amigaos*) 26489 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 26490 hardcode_libdir_flag_spec_GCJ='-L$libdir' 26491 hardcode_minus_L_GCJ=yes 26492 # see comment about different semantics on the GNU ld section 26493 ld_shlibs_GCJ=no 26494 ;; 26495 26496 bsdi[45]*) 26497 export_dynamic_flag_spec_GCJ=-rdynamic 26498 ;; 26499 26500 cygwin* | mingw* | pw32*) 26501 # When not using gcc, we currently assume that we are using 26502 # Microsoft Visual C++. 26503 # hardcode_libdir_flag_spec is actually meaningless, as there is 26504 # no search path for DLLs. 26505 hardcode_libdir_flag_spec_GCJ=' ' 26506 allow_undefined_flag_GCJ=unsupported 26507 # Tell ltmain to make .lib files, not .a files. 26508 libext=lib 26509 # Tell ltmain to make .dll files, not .so files. 26510 shrext_cmds=".dll" 26511 # FIXME: Setting linknames here is a bad hack. 26512 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 26513 # The linker will automatically build a .lib file if we build a DLL. 26514 old_archive_From_new_cmds_GCJ='true' 26515 # FIXME: Should let the user specify the lib program. 26516 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' 26517 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' 26518 enable_shared_with_static_runtimes_GCJ=yes 26519 ;; 26520 26521 darwin* | rhapsody*) 26522 case $host_os in 26523 rhapsody* | darwin1.[012]) 26524 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' 26525 ;; 26526 *) # Darwin 1.3 on 26527 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 26528 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 26529 else 26530 case ${MACOSX_DEPLOYMENT_TARGET} in 26531 10.[012]) 26532 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 26533 ;; 26534 10.*) 26535 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' 26536 ;; 26537 esac 26538 fi 26539 ;; 26540 esac 26541 archive_cmds_need_lc_GCJ=no 26542 hardcode_direct_GCJ=no 26543 hardcode_automatic_GCJ=yes 26544 hardcode_shlibpath_var_GCJ=unsupported 26545 whole_archive_flag_spec_GCJ='' 26546 link_all_deplibs_GCJ=yes 26547 if test "$GCC" = yes ; then 26548 output_verbose_link_cmd='echo' 26549 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 26550 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 26551 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 26552 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 26553 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 26554 else 26555 case $cc_basename in 26556 xlc*) 26557 output_verbose_link_cmd='echo' 26558 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 26559 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 26560 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 26561 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 26562 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 26563 ;; 26564 *) 26565 ld_shlibs_GCJ=no 26566 ;; 26567 esac 26568 fi 26569 ;; 26570 26571 dgux*) 26572 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 26573 hardcode_libdir_flag_spec_GCJ='-L$libdir' 26574 hardcode_shlibpath_var_GCJ=no 26575 ;; 26576 26577 freebsd1*) 26578 ld_shlibs_GCJ=no 26579 ;; 26580 26581 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 26582 # support. Future versions do this automatically, but an explicit c++rt0.o 26583 # does not break anything, and helps significantly (at the cost of a little 26584 # extra space). 26585 freebsd2.2*) 26586 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 26587 hardcode_libdir_flag_spec_GCJ='-R$libdir' 26588 hardcode_direct_GCJ=yes 26589 hardcode_shlibpath_var_GCJ=no 26590 ;; 26591 26592 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 26593 freebsd2*) 26594 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 26595 hardcode_direct_GCJ=yes 26596 hardcode_minus_L_GCJ=yes 26597 hardcode_shlibpath_var_GCJ=no 26598 ;; 26599 26600 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 26601 freebsd* | kfreebsd*-gnu | dragonfly*) 26602 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 26603 hardcode_libdir_flag_spec_GCJ='-R$libdir' 26604 hardcode_direct_GCJ=yes 26605 hardcode_shlibpath_var_GCJ=no 26606 ;; 26607 26608 hpux9*) 26609 if test "$GCC" = yes; then 26610 archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 26611 else 26612 archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 26613 fi 26614 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' 26615 hardcode_libdir_separator_GCJ=: 26616 hardcode_direct_GCJ=yes 26617 26618 # hardcode_minus_L: Not really in the search PATH, 26619 # but as the default location of the library. 26620 hardcode_minus_L_GCJ=yes 26621 export_dynamic_flag_spec_GCJ='${wl}-E' 26622 ;; 26623 26624 hpux10*) 26625 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 26626 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 26627 else 26628 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 26629 fi 26630 if test "$with_gnu_ld" = no; then 26631 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' 26632 hardcode_libdir_separator_GCJ=: 26633 26634 hardcode_direct_GCJ=yes 26635 export_dynamic_flag_spec_GCJ='${wl}-E' 26636 26637 # hardcode_minus_L: Not really in the search PATH, 26638 # but as the default location of the library. 26639 hardcode_minus_L_GCJ=yes 26640 fi 26641 ;; 26642 26643 hpux11*) 26644 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 26645 case $host_cpu in 26646 hppa*64*) 26647 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 26648 ;; 26649 ia64*) 26650 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 26651 ;; 26652 *) 26653 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 26654 ;; 26655 esac 26656 else 26657 case $host_cpu in 26658 hppa*64*) 26659 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 26660 ;; 26661 ia64*) 26662 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 26663 ;; 26664 *) 26665 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 26666 ;; 26667 esac 26668 fi 26669 if test "$with_gnu_ld" = no; then 26670 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' 26671 hardcode_libdir_separator_GCJ=: 26672 26673 case $host_cpu in 26674 hppa*64*|ia64*) 26675 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' 26676 hardcode_direct_GCJ=no 26677 hardcode_shlibpath_var_GCJ=no 26678 ;; 26679 *) 26680 hardcode_direct_GCJ=yes 26681 export_dynamic_flag_spec_GCJ='${wl}-E' 26682 26683 # hardcode_minus_L: Not really in the search PATH, 26684 # but as the default location of the library. 26685 hardcode_minus_L_GCJ=yes 26686 ;; 26687 esac 26688 fi 26689 ;; 26690 26691 irix5* | irix6* | nonstopux*) 26692 if test "$GCC" = yes; then 26693 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 26694 else 26695 archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 26696 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' 26697 fi 26698 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' 26699 hardcode_libdir_separator_GCJ=: 26700 link_all_deplibs_GCJ=yes 26701 ;; 26702 26703 netbsd*) 26704 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 26705 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 26706 else 26707 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 26708 fi 26709 hardcode_libdir_flag_spec_GCJ='-R$libdir' 26710 hardcode_direct_GCJ=yes 26711 hardcode_shlibpath_var_GCJ=no 26712 ;; 26713 26714 newsos6) 26715 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 26716 hardcode_direct_GCJ=yes 26717 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' 26718 hardcode_libdir_separator_GCJ=: 26719 hardcode_shlibpath_var_GCJ=no 26720 ;; 26721 26722 openbsd*) 26723 hardcode_direct_GCJ=yes 26724 hardcode_shlibpath_var_GCJ=no 26725 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 26726 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 26727 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 26728 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' 26729 export_dynamic_flag_spec_GCJ='${wl}-E' 26730 else 26731 case $host_os in 26732 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 26733 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 26734 hardcode_libdir_flag_spec_GCJ='-R$libdir' 26735 ;; 26736 *) 26737 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 26738 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' 26739 ;; 26740 esac 26741 fi 26742 ;; 26743 26744 os2*) 26745 hardcode_libdir_flag_spec_GCJ='-L$libdir' 26746 hardcode_minus_L_GCJ=yes 26747 allow_undefined_flag_GCJ=unsupported 26748 archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 26749 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 26750 ;; 26751 26752 osf3*) 26753 if test "$GCC" = yes; then 26754 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' 26755 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 26756 else 26757 allow_undefined_flag_GCJ=' -expect_unresolved \*' 26758 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 26759 fi 26760 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' 26761 hardcode_libdir_separator_GCJ=: 26762 ;; 26763 26764 osf4* | osf5*) # as osf3* with the addition of -msym flag 26765 if test "$GCC" = yes; then 26766 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' 26767 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 26768 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' 26769 else 26770 allow_undefined_flag_GCJ=' -expect_unresolved \*' 26771 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 26772 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ 26773 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' 26774 26775 # Both c and cxx compiler support -rpath directly 26776 hardcode_libdir_flag_spec_GCJ='-rpath $libdir' 26777 fi 26778 hardcode_libdir_separator_GCJ=: 26779 ;; 26780 26781 solaris*) 26782 no_undefined_flag_GCJ=' -z text' 26783 if test "$GCC" = yes; then 26784 wlarc='${wl}' 26785 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 26786 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 26787 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 26788 else 26789 wlarc='' 26790 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 26791 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 26792 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 26793 fi 26794 hardcode_libdir_flag_spec_GCJ='-R$libdir' 26795 hardcode_shlibpath_var_GCJ=no 26796 case $host_os in 26797 solaris2.[0-5] | solaris2.[0-5].*) ;; 26798 *) 26799 # The compiler driver will combine linker options so we 26800 # cannot just pass the convience library names through 26801 # without $wl, iff we do not link with $LD. 26802 # Luckily, gcc supports the same syntax we need for Sun Studio. 26803 # Supported since Solaris 2.6 (maybe 2.5.1?) 26804 case $wlarc in 26805 '') 26806 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; 26807 *) 26808 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; 26809 esac ;; 26810 esac 26811 link_all_deplibs_GCJ=yes 26812 ;; 26813 26814 sunos4*) 26815 if test "x$host_vendor" = xsequent; then 26816 # Use $CC to link under sequent, because it throws in some extra .o 26817 # files that make .init and .fini sections work. 26818 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 26819 else 26820 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 26821 fi 26822 hardcode_libdir_flag_spec_GCJ='-L$libdir' 26823 hardcode_direct_GCJ=yes 26824 hardcode_minus_L_GCJ=yes 26825 hardcode_shlibpath_var_GCJ=no 26826 ;; 26827 26828 sysv4) 26829 case $host_vendor in 26830 sni) 26831 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 26832 hardcode_direct_GCJ=yes # is this really true??? 26833 ;; 26834 siemens) 26835 ## LD is ld it makes a PLAMLIB 26836 ## CC just makes a GrossModule. 26837 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' 26838 reload_cmds_GCJ='$CC -r -o $output$reload_objs' 26839 hardcode_direct_GCJ=no 26840 ;; 26841 motorola) 26842 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 26843 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie 26844 ;; 26845 esac 26846 runpath_var='LD_RUN_PATH' 26847 hardcode_shlibpath_var_GCJ=no 26848 ;; 26849 26850 sysv4.3*) 26851 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 26852 hardcode_shlibpath_var_GCJ=no 26853 export_dynamic_flag_spec_GCJ='-Bexport' 26854 ;; 26855 26856 sysv4*MP*) 26857 if test -d /usr/nec; then 26858 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 26859 hardcode_shlibpath_var_GCJ=no 26860 runpath_var=LD_RUN_PATH 26861 hardcode_runpath_var=yes 26862 ld_shlibs_GCJ=yes 26863 fi 26864 ;; 26865 26866 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) 26867 no_undefined_flag_GCJ='${wl}-z,text' 26868 archive_cmds_need_lc_GCJ=no 26869 hardcode_shlibpath_var_GCJ=no 26870 runpath_var='LD_RUN_PATH' 26871 26872 if test "$GCC" = yes; then 26873 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 26874 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 26875 else 26876 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 26877 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 26878 fi 26879 ;; 26880 26881 sysv5* | sco3.2v5* | sco5v6*) 26882 # Note: We can NOT use -z defs as we might desire, because we do not 26883 # link with -lc, and that would cause any symbols used from libc to 26884 # always be unresolved, which means just about no library would 26885 # ever link correctly. If we're not using GNU ld we use -z text 26886 # though, which does catch some bad symbols but isn't as heavy-handed 26887 # as -z defs. 26888 no_undefined_flag_GCJ='${wl}-z,text' 26889 allow_undefined_flag_GCJ='${wl}-z,nodefs' 26890 archive_cmds_need_lc_GCJ=no 26891 hardcode_shlibpath_var_GCJ=no 26892 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 26893 hardcode_libdir_separator_GCJ=':' 26894 link_all_deplibs_GCJ=yes 26895 export_dynamic_flag_spec_GCJ='${wl}-Bexport' 26896 runpath_var='LD_RUN_PATH' 26897 26898 if test "$GCC" = yes; then 26899 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 26900 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 26901 else 26902 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 26903 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 26904 fi 26905 ;; 26906 26907 uts4*) 26908 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 26909 hardcode_libdir_flag_spec_GCJ='-L$libdir' 26910 hardcode_shlibpath_var_GCJ=no 26911 ;; 26912 26913 *) 26914 ld_shlibs_GCJ=no 26915 ;; 26916 esac 26917 fi 26918 26919 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 26920 echo "${ECHO_T}$ld_shlibs_GCJ" >&6 26921 test "$ld_shlibs_GCJ" = no && can_build_shared=no 26922 26923 # 26924 # Do we need to explicitly link libc? 26925 # 26926 case "x$archive_cmds_need_lc_GCJ" in 26927 x|xyes) 26928 # Assume -lc should be added 26929 archive_cmds_need_lc_GCJ=yes 26930 26931 if test "$enable_shared" = yes && test "$GCC" = yes; then 26932 case $archive_cmds_GCJ in 26933 *'~'*) 26934 # FIXME: we may have to deal with multi-command sequences. 26935 ;; 26936 '$CC '*) 26937 # Test whether the compiler implicitly links with -lc since on some 26938 # systems, -lgcc has to come before -lc. If gcc already passes -lc 26939 # to ld, don't add -lc before -lgcc. 26940 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 26941 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 26942 $rm conftest* 26943 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 26944 26945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 26946 (eval $ac_compile) 2>&5 26947 ac_status=$? 26948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26949 (exit $ac_status); } 2>conftest.err; then 26950 soname=conftest 26951 lib=conftest 26952 libobjs=conftest.$ac_objext 26953 deplibs= 26954 wl=$lt_prog_compiler_wl_GCJ 26955 pic_flag=$lt_prog_compiler_pic_GCJ 26956 compiler_flags=-v 26957 linker_flags=-v 26958 verstring= 26959 output_objdir=. 26960 libname=conftest 26961 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ 26962 allow_undefined_flag_GCJ= 26963 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 26964 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 26965 ac_status=$? 26966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26967 (exit $ac_status); } 26968 then 26969 archive_cmds_need_lc_GCJ=no 26970 else 26971 archive_cmds_need_lc_GCJ=yes 26972 fi 26973 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag 26974 else 26975 cat conftest.err 1>&5 26976 fi 26977 $rm conftest* 26978 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 26979 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 26980 ;; 26981 esac 26982 fi 26983 ;; 26984 esac 26985 26986 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 26987 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 26988 library_names_spec= 26989 libname_spec='lib$name' 26990 soname_spec= 26991 shrext_cmds=".so" 26992 postinstall_cmds= 26993 postuninstall_cmds= 26994 finish_cmds= 26995 finish_eval= 26996 shlibpath_var= 26997 shlibpath_overrides_runpath=unknown 26998 version_type=none 26999 dynamic_linker="$host_os ld.so" 27000 sys_lib_dlsearch_path_spec="/lib /usr/lib" 27001 if test "$GCC" = yes; then 27002 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 27003 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then 27004 # if the path contains ";" then we assume it to be the separator 27005 # otherwise default to the standard path separator (i.e. ":") - it is 27006 # assumed that no part of a normal pathname contains ";" but that should 27007 # okay in the real world where ";" in dirpaths is itself problematic. 27008 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 27009 else 27010 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 27011 fi 27012 else 27013 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 27014 fi 27015 need_lib_prefix=unknown 27016 hardcode_into_libs=no 27017 27018 # when you set need_version to no, make sure it does not cause -set_version 27019 # flags to be left without arguments 27020 need_version=unknown 27021 27022 case $host_os in 27023 aix3*) 27024 version_type=linux 27025 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 27026 shlibpath_var=LIBPATH 27027 27028 # AIX 3 has no versioning support, so we append a major version to the name. 27029 soname_spec='${libname}${release}${shared_ext}$major' 27030 ;; 27031 27032 aix4* | aix5*) 27033 version_type=linux 27034 need_lib_prefix=no 27035 need_version=no 27036 hardcode_into_libs=yes 27037 if test "$host_cpu" = ia64; then 27038 # AIX 5 supports IA64 27039 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 27040 shlibpath_var=LD_LIBRARY_PATH 27041 else 27042 # With GCC up to 2.95.x, collect2 would create an import file 27043 # for dependence libraries. The import file would start with 27044 # the line `#! .'. This would cause the generated library to 27045 # depend on `.', always an invalid library. This was fixed in 27046 # development snapshots of GCC prior to 3.0. 27047 case $host_os in 27048 aix4 | aix4.[01] | aix4.[01].*) 27049 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 27050 echo ' yes ' 27051 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then 27052 : 27053 else 27054 can_build_shared=no 27055 fi 27056 ;; 27057 esac 27058 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 27059 # soname into executable. Probably we can add versioning support to 27060 # collect2, so additional links can be useful in future. 27061 if test "$aix_use_runtimelinking" = yes; then 27062 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 27063 # instead of lib<name>.a to let people know that these are not 27064 # typical AIX shared libraries. 27065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 27066 else 27067 # We preserve .a as extension for shared libraries through AIX4.2 27068 # and later when we are not doing run time linking. 27069 library_names_spec='${libname}${release}.a $libname.a' 27070 soname_spec='${libname}${release}${shared_ext}$major' 27071 fi 27072 shlibpath_var=LIBPATH 27073 fi 27074 ;; 27075 27076 amigaos*) 27077 library_names_spec='$libname.ixlibrary $libname.a' 27078 # Create ${libname}_ixlibrary.a entries in /sys/libs. 27079 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 27080 ;; 27081 27082 beos*) 27083 library_names_spec='${libname}${shared_ext}' 27084 dynamic_linker="$host_os ld.so" 27085 shlibpath_var=LIBRARY_PATH 27086 ;; 27087 27088 bsdi[45]*) 27089 version_type=linux 27090 need_version=no 27091 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 27092 soname_spec='${libname}${release}${shared_ext}$major' 27093 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 27094 shlibpath_var=LD_LIBRARY_PATH 27095 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 27096 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 27097 # the default ld.so.conf also contains /usr/contrib/lib and 27098 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 27099 # libtool to hard-code these into programs 27100 ;; 27101 27102 cygwin* | mingw* | pw32*) 27103 version_type=windows 27104 shrext_cmds=".dll" 27105 need_version=no 27106 need_lib_prefix=no 27107 27108 case $GCC,$host_os in 27109 yes,cygwin* | yes,mingw* | yes,pw32*) 27110 library_names_spec='$libname.dll.a' 27111 # DLL is installed to $(libdir)/../bin by postinstall_cmds 27112 postinstall_cmds='base_file=`basename \${file}`~ 27113 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 27114 dldir=$destdir/`dirname \$dlpath`~ 27115 test -d \$dldir || mkdir -p \$dldir~ 27116 $install_prog $dir/$dlname \$dldir/$dlname~ 27117 chmod a+x \$dldir/$dlname' 27118 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 27119 dlpath=$dir/\$dldll~ 27120 $rm \$dlpath' 27121 shlibpath_overrides_runpath=yes 27122 27123 case $host_os in 27124 cygwin*) 27125 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 27126 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 27127 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 27128 ;; 27129 mingw*) 27130 # MinGW DLLs use traditional 'lib' prefix 27131 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 27132 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 27133 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then 27134 # It is most probably a Windows format PATH printed by 27135 # mingw gcc, but we are running on Cygwin. Gcc prints its search 27136 # path with ; separators, and with drive letters. We can handle the 27137 # drive letters (cygwin fileutils understands them), so leave them, 27138 # especially as we might pass files found there to a mingw objdump, 27139 # which wouldn't understand a cygwinified path. Ahh. 27140 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 27141 else 27142 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 27143 fi 27144 ;; 27145 pw32*) 27146 # pw32 DLLs use 'pw' prefix rather than 'lib' 27147 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 27148 ;; 27149 esac 27150 ;; 27151 27152 linux*) 27153 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then 27154 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 27155 supports_anon_versioning=no 27156 case `$LD -v 2>/dev/null` in 27157 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 27158 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 27159 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 27160 *\ 2.11.*) ;; # other 2.11 versions 27161 *) supports_anon_versioning=yes ;; 27162 esac 27163 if test $supports_anon_versioning = yes; then 27164 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ 27165 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 27166 $echo "local: *; };" >> $output_objdir/$libname.ver~ 27167 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 27168 else 27169 $archive_expsym_cmds="$archive_cmds" 27170 fi 27171 else 27172 ld_shlibs=no 27173 fi 27174 ;; 27175 27176 *) 27177 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 27178 ;; 27179 esac 27180 dynamic_linker='Win32 ld.exe' 27181 # FIXME: first we should search . and the directory the executable is in 27182 shlibpath_var=PATH 27183 ;; 27184 27185 darwin* | rhapsody*) 27186 dynamic_linker="$host_os dyld" 27187 version_type=darwin 27188 need_lib_prefix=no 27189 need_version=no 27190 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 27191 soname_spec='${libname}${release}${major}$shared_ext' 27192 shlibpath_overrides_runpath=yes 27193 shlibpath_var=DYLD_LIBRARY_PATH 27194 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 27195 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 27196 if test "$GCC" = yes; then 27197 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 27198 else 27199 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 27200 fi 27201 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 27202 ;; 27203 27204 dgux*) 27205 version_type=linux 27206 need_lib_prefix=no 27207 need_version=no 27208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 27209 soname_spec='${libname}${release}${shared_ext}$major' 27210 shlibpath_var=LD_LIBRARY_PATH 27211 ;; 27212 27213 freebsd1*) 27214 dynamic_linker=no 27215 ;; 27216 27217 kfreebsd*-gnu) 27218 version_type=linux 27219 need_lib_prefix=no 27220 need_version=no 27221 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 27222 soname_spec='${libname}${release}${shared_ext}$major' 27223 shlibpath_var=LD_LIBRARY_PATH 27224 shlibpath_overrides_runpath=no 27225 hardcode_into_libs=yes 27226 dynamic_linker='GNU ld.so' 27227 ;; 27228 27229 freebsd* | dragonfly*) 27230 # DragonFly does not have aout. When/if they implement a new 27231 # versioning mechanism, adjust this. 27232 if test -x /usr/bin/objformat; then 27233 objformat=`/usr/bin/objformat` 27234 else 27235 case $host_os in 27236 freebsd[123]*) objformat=aout ;; 27237 *) objformat=elf ;; 27238 esac 27239 fi 27240 # Handle Gentoo/FreeBSD as it was Linux 27241 case $host_vendor in 27242 gentoo) 27243 version_type=linux ;; 27244 *) 27245 version_type=freebsd-$objformat ;; 27246 esac 27247 27248 case $version_type in 27249 freebsd-elf*) 27250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 27251 need_version=no 27252 need_lib_prefix=no 27253 ;; 27254 freebsd-*) 27255 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 27256 need_version=yes 27257 ;; 27258 linux) 27259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 27260 soname_spec='${libname}${release}${shared_ext}$major' 27261 need_lib_prefix=no 27262 need_version=no 27263 ;; 27264 esac 27265 shlibpath_var=LD_LIBRARY_PATH 27266 case $host_os in 27267 freebsd2*) 27268 shlibpath_overrides_runpath=yes 27269 ;; 27270 freebsd3.[01]* | freebsdelf3.[01]*) 27271 shlibpath_overrides_runpath=yes 27272 hardcode_into_libs=yes 27273 ;; 27274 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 27275 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 27276 shlibpath_overrides_runpath=no 27277 hardcode_into_libs=yes 27278 ;; 27279 freebsd*) # from 4.6 on 27280 shlibpath_overrides_runpath=yes 27281 hardcode_into_libs=yes 27282 ;; 27283 esac 27284 ;; 27285 27286 gnu*) 27287 version_type=linux 27288 need_lib_prefix=no 27289 need_version=no 27290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 27291 soname_spec='${libname}${release}${shared_ext}$major' 27292 shlibpath_var=LD_LIBRARY_PATH 27293 hardcode_into_libs=yes 27294 ;; 27295 27296 hpux9* | hpux10* | hpux11*) 27297 # Give a soname corresponding to the major version so that dld.sl refuses to 27298 # link against other versions. 27299 version_type=sunos 27300 need_lib_prefix=no 27301 need_version=no 27302 case $host_cpu in 27303 ia64*) 27304 shrext_cmds='.so' 27305 hardcode_into_libs=yes 27306 dynamic_linker="$host_os dld.so" 27307 shlibpath_var=LD_LIBRARY_PATH 27308 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 27309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 27310 soname_spec='${libname}${release}${shared_ext}$major' 27311 if test "X$HPUX_IA64_MODE" = X32; then 27312 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 27313 else 27314 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 27315 fi 27316 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 27317 ;; 27318 hppa*64*) 27319 shrext_cmds='.sl' 27320 hardcode_into_libs=yes 27321 dynamic_linker="$host_os dld.sl" 27322 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 27323 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 27324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 27325 soname_spec='${libname}${release}${shared_ext}$major' 27326 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 27327 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 27328 ;; 27329 *) 27330 shrext_cmds='.sl' 27331 dynamic_linker="$host_os dld.sl" 27332 shlibpath_var=SHLIB_PATH 27333 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 27334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 27335 soname_spec='${libname}${release}${shared_ext}$major' 27336 ;; 27337 esac 27338 # HP-UX runs *really* slowly unless shared libraries are mode 555. 27339 postinstall_cmds='chmod 555 $lib' 27340 ;; 27341 27342 interix3*) 27343 version_type=linux 27344 need_lib_prefix=no 27345 need_version=no 27346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 27347 soname_spec='${libname}${release}${shared_ext}$major' 27348 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 27349 shlibpath_var=LD_LIBRARY_PATH 27350 shlibpath_overrides_runpath=no 27351 hardcode_into_libs=yes 27352 ;; 27353 27354 irix5* | irix6* | nonstopux*) 27355 case $host_os in 27356 nonstopux*) version_type=nonstopux ;; 27357 *) 27358 if test "$lt_cv_prog_gnu_ld" = yes; then 27359 version_type=linux 27360 else 27361 version_type=irix 27362 fi ;; 27363 esac 27364 need_lib_prefix=no 27365 need_version=no 27366 soname_spec='${libname}${release}${shared_ext}$major' 27367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 27368 case $host_os in 27369 irix5* | nonstopux*) 27370 libsuff= shlibsuff= 27371 ;; 27372 *) 27373 case $LD in # libtool.m4 will add one of these switches to LD 27374 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 27375 libsuff= shlibsuff= libmagic=32-bit;; 27376 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 27377 libsuff=32 shlibsuff=N32 libmagic=N32;; 27378 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 27379 libsuff=64 shlibsuff=64 libmagic=64-bit;; 27380 *) libsuff= shlibsuff= libmagic=never-match;; 27381 esac 27382 ;; 27383 esac 27384 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 27385 shlibpath_overrides_runpath=no 27386 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 27387 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 27388 hardcode_into_libs=yes 27389 ;; 27390 27391 # No shared lib support for Linux oldld, aout, or coff. 27392 linux*oldld* | linux*aout* | linux*coff*) 27393 dynamic_linker=no 27394 ;; 27395 27396 # This must be Linux ELF. 27397 linux*) 27398 version_type=linux 27399 need_lib_prefix=no 27400 need_version=no 27401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 27402 soname_spec='${libname}${release}${shared_ext}$major' 27403 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 27404 shlibpath_var=LD_LIBRARY_PATH 27405 shlibpath_overrides_runpath=no 27406 # This implies no fast_install, which is unacceptable. 27407 # Some rework will be needed to allow for fast_install 27408 # before this can be enabled. 27409 hardcode_into_libs=yes 27410 27411 # Append ld.so.conf contents to the search path 27412 if test -f /etc/ld.so.conf; then 27413 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 27414 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 27415 fi 27416 27417 # We used to test for /lib/ld.so.1 and disable shared libraries on 27418 # powerpc, because MkLinux only supported shared libraries with the 27419 # GNU dynamic linker. Since this was broken with cross compilers, 27420 # most powerpc-linux boxes support dynamic linking these days and 27421 # people can always --disable-shared, the test was removed, and we 27422 # assume the GNU/Linux dynamic linker is in use. 27423 dynamic_linker='GNU/Linux ld.so' 27424 ;; 27425 27426 knetbsd*-gnu) 27427 version_type=linux 27428 need_lib_prefix=no 27429 need_version=no 27430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 27431 soname_spec='${libname}${release}${shared_ext}$major' 27432 shlibpath_var=LD_LIBRARY_PATH 27433 shlibpath_overrides_runpath=no 27434 hardcode_into_libs=yes 27435 dynamic_linker='GNU ld.so' 27436 ;; 27437 27438 netbsd*) 27439 version_type=sunos 27440 need_lib_prefix=no 27441 need_version=no 27442 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 27443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 27444 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 27445 dynamic_linker='NetBSD (a.out) ld.so' 27446 else 27447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 27448 soname_spec='${libname}${release}${shared_ext}$major' 27449 dynamic_linker='NetBSD ld.elf_so' 27450 fi 27451 shlibpath_var=LD_LIBRARY_PATH 27452 shlibpath_overrides_runpath=yes 27453 hardcode_into_libs=yes 27454 ;; 27455 27456 newsos6) 27457 version_type=linux 27458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 27459 shlibpath_var=LD_LIBRARY_PATH 27460 shlibpath_overrides_runpath=yes 27461 ;; 27462 27463 nto-qnx*) 27464 version_type=linux 27465 need_lib_prefix=no 27466 need_version=no 27467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 27468 soname_spec='${libname}${release}${shared_ext}$major' 27469 shlibpath_var=LD_LIBRARY_PATH 27470 shlibpath_overrides_runpath=yes 27471 ;; 27472 27473 openbsd*) 27474 version_type=sunos 27475 sys_lib_dlsearch_path_spec="/usr/lib" 27476 need_lib_prefix=no 27477 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 27478 case $host_os in 27479 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 27480 *) need_version=no ;; 27481 esac 27482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 27483 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 27484 shlibpath_var=LD_LIBRARY_PATH 27485 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 27486 case $host_os in 27487 openbsd2.[89] | openbsd2.[89].*) 27488 shlibpath_overrides_runpath=no 27489 ;; 27490 *) 27491 shlibpath_overrides_runpath=yes 27492 ;; 27493 esac 27494 else 27495 shlibpath_overrides_runpath=yes 27496 fi 27497 ;; 27498 27499 os2*) 27500 libname_spec='$name' 27501 shrext_cmds=".dll" 27502 need_lib_prefix=no 27503 library_names_spec='$libname${shared_ext} $libname.a' 27504 dynamic_linker='OS/2 ld.exe' 27505 shlibpath_var=LIBPATH 27506 ;; 27507 27508 osf3* | osf4* | osf5*) 27509 version_type=osf 27510 need_lib_prefix=no 27511 need_version=no 27512 soname_spec='${libname}${release}${shared_ext}$major' 27513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 27514 shlibpath_var=LD_LIBRARY_PATH 27515 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 27516 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 27517 ;; 27518 27519 solaris*) 27520 version_type=linux 27521 need_lib_prefix=no 27522 need_version=no 27523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 27524 soname_spec='${libname}${release}${shared_ext}$major' 27525 shlibpath_var=LD_LIBRARY_PATH 27526 shlibpath_overrides_runpath=yes 27527 hardcode_into_libs=yes 27528 # ldd complains unless libraries are executable 27529 postinstall_cmds='chmod +x $lib' 27530 ;; 27531 27532 sunos4*) 27533 version_type=sunos 27534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 27535 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 27536 shlibpath_var=LD_LIBRARY_PATH 27537 shlibpath_overrides_runpath=yes 27538 if test "$with_gnu_ld" = yes; then 27539 need_lib_prefix=no 27540 fi 27541 need_version=yes 27542 ;; 27543 27544 sysv4 | sysv4.3*) 27545 version_type=linux 27546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 27547 soname_spec='${libname}${release}${shared_ext}$major' 27548 shlibpath_var=LD_LIBRARY_PATH 27549 case $host_vendor in 27550 sni) 27551 shlibpath_overrides_runpath=no 27552 need_lib_prefix=no 27553 export_dynamic_flag_spec='${wl}-Blargedynsym' 27554 runpath_var=LD_RUN_PATH 27555 ;; 27556 siemens) 27557 need_lib_prefix=no 27558 ;; 27559 motorola) 27560 need_lib_prefix=no 27561 need_version=no 27562 shlibpath_overrides_runpath=no 27563 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 27564 ;; 27565 esac 27566 ;; 27567 27568 sysv4*MP*) 27569 if test -d /usr/nec ;then 27570 version_type=linux 27571 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 27572 soname_spec='$libname${shared_ext}.$major' 27573 shlibpath_var=LD_LIBRARY_PATH 27574 fi 27575 ;; 27576 27577 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 27578 version_type=freebsd-elf 27579 need_lib_prefix=no 27580 need_version=no 27581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 27582 soname_spec='${libname}${release}${shared_ext}$major' 27583 shlibpath_var=LD_LIBRARY_PATH 27584 hardcode_into_libs=yes 27585 if test "$with_gnu_ld" = yes; then 27586 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 27587 shlibpath_overrides_runpath=no 27588 else 27589 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 27590 shlibpath_overrides_runpath=yes 27591 case $host_os in 27592 sco3.2v5*) 27593 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 27594 ;; 27595 esac 27596 fi 27597 sys_lib_dlsearch_path_spec='/usr/lib' 27598 ;; 27599 27600 uts4*) 27601 version_type=linux 27602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 27603 soname_spec='${libname}${release}${shared_ext}$major' 27604 shlibpath_var=LD_LIBRARY_PATH 27605 ;; 27606 27607 *) 27608 dynamic_linker=no 27609 ;; 27610 esac 27611 echo "$as_me:$LINENO: result: $dynamic_linker" >&5 27612 echo "${ECHO_T}$dynamic_linker" >&6 27613 test "$dynamic_linker" = no && can_build_shared=no 27614 27615 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 27616 if test "$GCC" = yes; then 27617 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 27618 fi 27619 27620 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 27621 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 27622 hardcode_action_GCJ= 27623 if test -n "$hardcode_libdir_flag_spec_GCJ" || \ 27624 test -n "$runpath_var_GCJ" || \ 27625 test "X$hardcode_automatic_GCJ" = "Xyes" ; then 27626 27627 # We can hardcode non-existant directories. 27628 if test "$hardcode_direct_GCJ" != no && 27629 # If the only mechanism to avoid hardcoding is shlibpath_var, we 27630 # have to relink, otherwise we might link with an installed library 27631 # when we should be linking with a yet-to-be-installed one 27632 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && 27633 test "$hardcode_minus_L_GCJ" != no; then 27634 # Linking always hardcodes the temporary library directory. 27635 hardcode_action_GCJ=relink 27636 else 27637 # We can link without hardcoding, and we can hardcode nonexisting dirs. 27638 hardcode_action_GCJ=immediate 27639 fi 27640 else 27641 # We cannot hardcode anything, or else we can only hardcode existing 27642 # directories. 27643 hardcode_action_GCJ=unsupported 27644 fi 27645 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 27646 echo "${ECHO_T}$hardcode_action_GCJ" >&6 27647 27648 if test "$hardcode_action_GCJ" = relink; then 27649 # Fast installation is not supported 27650 enable_fast_install=no 27651 elif test "$shlibpath_overrides_runpath" = yes || 27652 test "$enable_shared" = no; then 27653 # Fast installation is not necessary 27654 enable_fast_install=needless 27655 fi 27656 27657 27658 # The else clause should only fire when bootstrapping the 27659 # libtool distribution, otherwise you forgot to ship ltmain.sh 27660 # with your package, and you will get complaints that there are 27661 # no rules to generate ltmain.sh. 27662 if test -f "$ltmain"; then 27663 # See if we are running on zsh, and set the options which allow our commands through 27664 # without removal of \ escapes. 27665 if test -n "${ZSH_VERSION+set}" ; then 27666 setopt NO_GLOB_SUBST 27667 fi 27668 # Now quote all the things that may contain metacharacters while being 27669 # careful not to overquote the AC_SUBSTed values. We take copies of the 27670 # variables and quote the copies for generation of the libtool script. 27671 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ 27672 SED SHELL STRIP \ 27673 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 27674 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 27675 deplibs_check_method reload_flag reload_cmds need_locks \ 27676 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 27677 lt_cv_sys_global_symbol_to_c_name_address \ 27678 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 27679 old_postinstall_cmds old_postuninstall_cmds \ 27680 compiler_GCJ \ 27681 CC_GCJ \ 27682 LD_GCJ \ 27683 lt_prog_compiler_wl_GCJ \ 27684 lt_prog_compiler_pic_GCJ \ 27685 lt_prog_compiler_static_GCJ \ 27686 lt_prog_compiler_no_builtin_flag_GCJ \ 27687 export_dynamic_flag_spec_GCJ \ 27688 thread_safe_flag_spec_GCJ \ 27689 whole_archive_flag_spec_GCJ \ 27690 enable_shared_with_static_runtimes_GCJ \ 27691 old_archive_cmds_GCJ \ 27692 old_archive_from_new_cmds_GCJ \ 27693 predep_objects_GCJ \ 27694 postdep_objects_GCJ \ 27695 predeps_GCJ \ 27696 postdeps_GCJ \ 27697 compiler_lib_search_path_GCJ \ 27698 archive_cmds_GCJ \ 27699 archive_expsym_cmds_GCJ \ 27700 postinstall_cmds_GCJ \ 27701 postuninstall_cmds_GCJ \ 27702 old_archive_from_expsyms_cmds_GCJ \ 27703 allow_undefined_flag_GCJ \ 27704 no_undefined_flag_GCJ \ 27705 export_symbols_cmds_GCJ \ 27706 hardcode_libdir_flag_spec_GCJ \ 27707 hardcode_libdir_flag_spec_ld_GCJ \ 27708 hardcode_libdir_separator_GCJ \ 27709 hardcode_automatic_GCJ \ 27710 module_cmds_GCJ \ 27711 module_expsym_cmds_GCJ \ 27712 lt_cv_prog_compiler_c_o_GCJ \ 27713 exclude_expsyms_GCJ \ 27714 include_expsyms_GCJ; do 27715 27716 case $var in 27717 old_archive_cmds_GCJ | \ 27718 old_archive_from_new_cmds_GCJ | \ 27719 archive_cmds_GCJ | \ 27720 archive_expsym_cmds_GCJ | \ 27721 module_cmds_GCJ | \ 27722 module_expsym_cmds_GCJ | \ 27723 old_archive_from_expsyms_cmds_GCJ | \ 27724 export_symbols_cmds_GCJ | \ 27725 extract_expsyms_cmds | reload_cmds | finish_cmds | \ 27726 postinstall_cmds | postuninstall_cmds | \ 27727 old_postinstall_cmds | old_postuninstall_cmds | \ 27728 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 27729 # Double-quote double-evaled strings. 27730 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 27731 ;; 27732 *) 27733 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 27734 ;; 27735 esac 27736 done 27737 27738 case $lt_echo in 27739 *'\$0 --fallback-echo"') 27740 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` 27741 ;; 27742 esac 27743 27744 cfgfile="$ofile" 27745 27746 cat <<__EOF__ >> "$cfgfile" 27747 # ### BEGIN LIBTOOL TAG CONFIG: $tagname 27748 27749 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 27750 27751 # Shell to use when invoking shell scripts. 27752 SHELL=$lt_SHELL 27753 27754 # Whether or not to build shared libraries. 27755 build_libtool_libs=$enable_shared 27756 27757 # Whether or not to build static libraries. 27758 build_old_libs=$enable_static 27759 27760 # Whether or not to add -lc for building shared libraries. 27761 build_libtool_need_lc=$archive_cmds_need_lc_GCJ 27762 27763 # Whether or not to disallow shared libs when runtime libs are static 27764 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ 27765 27766 # Whether or not to optimize for fast installation. 27767 fast_install=$enable_fast_install 27768 27769 # The host system. 27770 host_alias=$host_alias 27771 host=$host 27772 host_os=$host_os 27773 27774 # The build system. 27775 build_alias=$build_alias 27776 build=$build 27777 build_os=$build_os 27778 27779 # An echo program that does not interpret backslashes. 27780 echo=$lt_echo 27781 27782 # The archiver. 27783 AR=$lt_AR 27784 AR_FLAGS=$lt_AR_FLAGS 27785 27786 # A C compiler. 27787 LTCC=$lt_LTCC 27788 27789 # LTCC compiler flags. 27790 LTCFLAGS=$lt_LTCFLAGS 27791 27792 # A language-specific compiler. 27793 CC=$lt_compiler_GCJ 27794 27795 # Is the compiler the GNU C compiler? 27796 with_gcc=$GCC_GCJ 27797 27798 # An ERE matcher. 27799 EGREP=$lt_EGREP 27800 27801 # The linker used to build libraries. 27802 LD=$lt_LD_GCJ 27803 27804 # Whether we need hard or soft links. 27805 LN_S=$lt_LN_S 27806 27807 # A BSD-compatible nm program. 27808 NM=$lt_NM 27809 27810 # A symbol stripping program 27811 STRIP=$lt_STRIP 27812 27813 # Used to examine libraries when file_magic_cmd begins "file" 27814 MAGIC_CMD=$MAGIC_CMD 27815 27816 # Used on cygwin: DLL creation program. 27817 DLLTOOL="$DLLTOOL" 27818 27819 # Used on cygwin: object dumper. 27820 OBJDUMP="$OBJDUMP" 27821 27822 # Used on cygwin: assembler. 27823 AS="$AS" 27824 27825 # The name of the directory that contains temporary libtool files. 27826 objdir=$objdir 27827 27828 # How to create reloadable object files. 27829 reload_flag=$lt_reload_flag 27830 reload_cmds=$lt_reload_cmds 27831 27832 # How to pass a linker flag through the compiler. 27833 wl=$lt_lt_prog_compiler_wl_GCJ 27834 27835 # Object file suffix (normally "o"). 27836 objext="$ac_objext" 27837 27838 # Old archive suffix (normally "a"). 27839 libext="$libext" 27840 27841 # Shared library suffix (normally ".so"). 27842 shrext_cmds='$shrext_cmds' 27843 27844 # Executable file suffix (normally ""). 27845 exeext="$exeext" 27846 27847 # Additional compiler flags for building library objects. 27848 pic_flag=$lt_lt_prog_compiler_pic_GCJ 27849 pic_mode=$pic_mode 27850 27851 # What is the maximum length of a command? 27852 max_cmd_len=$lt_cv_sys_max_cmd_len 27853 27854 # Does compiler simultaneously support -c and -o options? 27855 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ 27856 27857 # Must we lock files when doing compilation? 27858 need_locks=$lt_need_locks 27859 27860 # Do we need the lib prefix for modules? 27861 need_lib_prefix=$need_lib_prefix 27862 27863 # Do we need a version for libraries? 27864 need_version=$need_version 27865 27866 # Whether dlopen is supported. 27867 dlopen_support=$enable_dlopen 27868 27869 # Whether dlopen of programs is supported. 27870 dlopen_self=$enable_dlopen_self 27871 27872 # Whether dlopen of statically linked programs is supported. 27873 dlopen_self_static=$enable_dlopen_self_static 27874 27875 # Compiler flag to prevent dynamic linking. 27876 link_static_flag=$lt_lt_prog_compiler_static_GCJ 27877 27878 # Compiler flag to turn off builtin functions. 27879 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ 27880 27881 # Compiler flag to allow reflexive dlopens. 27882 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ 27883 27884 # Compiler flag to generate shared objects directly from archives. 27885 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ 27886 27887 # Compiler flag to generate thread-safe objects. 27888 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ 27889 27890 # Library versioning type. 27891 version_type=$version_type 27892 27893 # Format of library name prefix. 27894 libname_spec=$lt_libname_spec 27895 27896 # List of archive names. First name is the real one, the rest are links. 27897 # The last name is the one that the linker finds with -lNAME. 27898 library_names_spec=$lt_library_names_spec 27899 27900 # The coded name of the library, if different from the real name. 27901 soname_spec=$lt_soname_spec 27902 27903 # Commands used to build and install an old-style archive. 27904 RANLIB=$lt_RANLIB 27905 old_archive_cmds=$lt_old_archive_cmds_GCJ 27906 old_postinstall_cmds=$lt_old_postinstall_cmds 27907 old_postuninstall_cmds=$lt_old_postuninstall_cmds 27908 27909 # Create an old-style archive from a shared archive. 27910 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ 27911 27912 # Create a temporary old-style archive to link instead of a shared archive. 27913 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ 27914 27915 # Commands used to build and install a shared archive. 27916 archive_cmds=$lt_archive_cmds_GCJ 27917 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ 27918 postinstall_cmds=$lt_postinstall_cmds 27919 postuninstall_cmds=$lt_postuninstall_cmds 27920 27921 # Commands used to build a loadable module (assumed same as above if empty) 27922 module_cmds=$lt_module_cmds_GCJ 27923 module_expsym_cmds=$lt_module_expsym_cmds_GCJ 27924 27925 # Commands to strip libraries. 27926 old_striplib=$lt_old_striplib 27927 striplib=$lt_striplib 27928 27929 # Dependencies to place before the objects being linked to create a 27930 # shared library. 27931 predep_objects=$lt_predep_objects_GCJ 27932 27933 # Dependencies to place after the objects being linked to create a 27934 # shared library. 27935 postdep_objects=$lt_postdep_objects_GCJ 27936 27937 # Dependencies to place before the objects being linked to create a 27938 # shared library. 27939 predeps=$lt_predeps_GCJ 27940 27941 # Dependencies to place after the objects being linked to create a 27942 # shared library. 27943 postdeps=$lt_postdeps_GCJ 27944 27945 # The library search path used internally by the compiler when linking 27946 # a shared library. 27947 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ 27948 27949 # Method to check whether dependent libraries are shared objects. 27950 deplibs_check_method=$lt_deplibs_check_method 27951 27952 # Command to use when deplibs_check_method == file_magic. 27953 file_magic_cmd=$lt_file_magic_cmd 27954 27955 # Flag that allows shared libraries with undefined symbols to be built. 27956 allow_undefined_flag=$lt_allow_undefined_flag_GCJ 27957 27958 # Flag that forces no undefined symbols. 27959 no_undefined_flag=$lt_no_undefined_flag_GCJ 27960 27961 # Commands used to finish a libtool library installation in a directory. 27962 finish_cmds=$lt_finish_cmds 27963 27964 # Same as above, but a single script fragment to be evaled but not shown. 27965 finish_eval=$lt_finish_eval 27966 27967 # Take the output of nm and produce a listing of raw symbols and C names. 27968 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 27969 27970 # Transform the output of nm in a proper C declaration 27971 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 27972 27973 # Transform the output of nm in a C name address pair 27974 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 27975 27976 # This is the shared library runtime path variable. 27977 runpath_var=$runpath_var 27978 27979 # This is the shared library path variable. 27980 shlibpath_var=$shlibpath_var 27981 27982 # Is shlibpath searched before the hard-coded library search path? 27983 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 27984 27985 # How to hardcode a shared library path into an executable. 27986 hardcode_action=$hardcode_action_GCJ 27987 27988 # Whether we should hardcode library paths into libraries. 27989 hardcode_into_libs=$hardcode_into_libs 27990 27991 # Flag to hardcode \$libdir into a binary during linking. 27992 # This must work even if \$libdir does not exist. 27993 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ 27994 27995 # If ld is used when linking, flag to hardcode \$libdir into 27996 # a binary during linking. This must work even if \$libdir does 27997 # not exist. 27998 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ 27999 28000 # Whether we need a single -rpath flag with a separated argument. 28001 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ 28002 28003 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the 28004 # resulting binary. 28005 hardcode_direct=$hardcode_direct_GCJ 28006 28007 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the 28008 # resulting binary. 28009 hardcode_minus_L=$hardcode_minus_L_GCJ 28010 28011 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 28012 # the resulting binary. 28013 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ 28014 28015 # Set to yes if building a shared library automatically hardcodes DIR into the library 28016 # and all subsequent libraries and executables linked against it. 28017 hardcode_automatic=$hardcode_automatic_GCJ 28018 28019 # Variables whose values should be saved in libtool wrapper scripts and 28020 # restored at relink time. 28021 variables_saved_for_relink="$variables_saved_for_relink" 28022 28023 # Whether libtool must link a program against all its dependency libraries. 28024 link_all_deplibs=$link_all_deplibs_GCJ 28025 28026 # Compile-time system search path for libraries 28027 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 28028 28029 # Run-time system search path for libraries 28030 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 28031 28032 # Fix the shell variable \$srcfile for the compiler. 28033 fix_srcfile_path="$fix_srcfile_path_GCJ" 28034 28035 # Set to yes if exported symbols are required. 28036 always_export_symbols=$always_export_symbols_GCJ 28037 28038 # The commands to list exported symbols. 28039 export_symbols_cmds=$lt_export_symbols_cmds_GCJ 28040 28041 # The commands to extract the exported symbol list from a shared archive. 28042 extract_expsyms_cmds=$lt_extract_expsyms_cmds 28043 28044 # Symbols that should not be listed in the preloaded symbols. 28045 exclude_expsyms=$lt_exclude_expsyms_GCJ 28046 28047 # Symbols that must always be exported. 28048 include_expsyms=$lt_include_expsyms_GCJ 28049 28050 # ### END LIBTOOL TAG CONFIG: $tagname 28051 28052 __EOF__ 28053 28054 28055 else 28056 # If there is no Makefile yet, we rely on a make rule to execute 28057 # `config.status --recheck' to rerun these tests and create the 28058 # libtool script then. 28059 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 28060 if test -f "$ltmain_in"; then 28061 test -f Makefile && make "$ltmain" 28062 fi 28063 fi 28064 28065 28066 ac_ext=c 28067 ac_cpp='$CPP $CPPFLAGS' 28068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28070 ac_compiler_gnu=$ac_cv_c_compiler_gnu 28071 28072 CC="$lt_save_CC" 28073 28074 else 28075 tagname="" 28076 fi 28077 ;; 28078 28079 RC) 28080 28081 28082 28083 # Source file extension for RC test sources. 28084 ac_ext=rc 28085 28086 # Object file extension for compiled RC test sources. 28087 objext=o 28088 objext_RC=$objext 28089 28090 # Code to be used in simple compile tests 28091 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' 28092 28093 # Code to be used in simple link tests 28094 lt_simple_link_test_code="$lt_simple_compile_test_code" 28095 28096 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 28097 28098 # If no C compiler was specified, use CC. 28099 LTCC=${LTCC-"$CC"} 28100 28101 # If no C compiler flags were specified, use CFLAGS. 28102 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 28103 28104 # Allow CC to be a program name with arguments. 28105 compiler=$CC 28106 28107 28108 # save warnings/boilerplate of simple test code 28109 ac_outfile=conftest.$ac_objext 28110 printf "$lt_simple_compile_test_code" >conftest.$ac_ext 28111 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 28112 _lt_compiler_boilerplate=`cat conftest.err` 28113 $rm conftest* 28114 28115 ac_outfile=conftest.$ac_objext 28116 printf "$lt_simple_link_test_code" >conftest.$ac_ext 28117 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 28118 _lt_linker_boilerplate=`cat conftest.err` 28119 $rm conftest* 28120 28121 28122 # Allow CC to be a program name with arguments. 28123 lt_save_CC="$CC" 28124 CC=${RC-"windres"} 28125 compiler=$CC 28126 compiler_RC=$CC 28127 for cc_temp in $compiler""; do 28128 case $cc_temp in 28129 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 28130 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 28131 \-*) ;; 28132 *) break;; 28133 esac 28134 done 28135 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 28136 28137 lt_cv_prog_compiler_c_o_RC=yes 28138 28139 # The else clause should only fire when bootstrapping the 28140 # libtool distribution, otherwise you forgot to ship ltmain.sh 28141 # with your package, and you will get complaints that there are 28142 # no rules to generate ltmain.sh. 28143 if test -f "$ltmain"; then 28144 # See if we are running on zsh, and set the options which allow our commands through 28145 # without removal of \ escapes. 28146 if test -n "${ZSH_VERSION+set}" ; then 28147 setopt NO_GLOB_SUBST 28148 fi 28149 # Now quote all the things that may contain metacharacters while being 28150 # careful not to overquote the AC_SUBSTed values. We take copies of the 28151 # variables and quote the copies for generation of the libtool script. 28152 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ 28153 SED SHELL STRIP \ 28154 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 28155 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 28156 deplibs_check_method reload_flag reload_cmds need_locks \ 28157 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 28158 lt_cv_sys_global_symbol_to_c_name_address \ 28159 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 28160 old_postinstall_cmds old_postuninstall_cmds \ 28161 compiler_RC \ 28162 CC_RC \ 28163 LD_RC \ 28164 lt_prog_compiler_wl_RC \ 28165 lt_prog_compiler_pic_RC \ 28166 lt_prog_compiler_static_RC \ 28167 lt_prog_compiler_no_builtin_flag_RC \ 28168 export_dynamic_flag_spec_RC \ 28169 thread_safe_flag_spec_RC \ 28170 whole_archive_flag_spec_RC \ 28171 enable_shared_with_static_runtimes_RC \ 28172 old_archive_cmds_RC \ 28173 old_archive_from_new_cmds_RC \ 28174 predep_objects_RC \ 28175 postdep_objects_RC \ 28176 predeps_RC \ 28177 postdeps_RC \ 28178 compiler_lib_search_path_RC \ 28179 archive_cmds_RC \ 28180 archive_expsym_cmds_RC \ 28181 postinstall_cmds_RC \ 28182 postuninstall_cmds_RC \ 28183 old_archive_from_expsyms_cmds_RC \ 28184 allow_undefined_flag_RC \ 28185 no_undefined_flag_RC \ 28186 export_symbols_cmds_RC \ 28187 hardcode_libdir_flag_spec_RC \ 28188 hardcode_libdir_flag_spec_ld_RC \ 28189 hardcode_libdir_separator_RC \ 28190 hardcode_automatic_RC \ 28191 module_cmds_RC \ 28192 module_expsym_cmds_RC \ 28193 lt_cv_prog_compiler_c_o_RC \ 28194 exclude_expsyms_RC \ 28195 include_expsyms_RC; do 28196 28197 case $var in 28198 old_archive_cmds_RC | \ 28199 old_archive_from_new_cmds_RC | \ 28200 archive_cmds_RC | \ 28201 archive_expsym_cmds_RC | \ 28202 module_cmds_RC | \ 28203 module_expsym_cmds_RC | \ 28204 old_archive_from_expsyms_cmds_RC | \ 28205 export_symbols_cmds_RC | \ 28206 extract_expsyms_cmds | reload_cmds | finish_cmds | \ 28207 postinstall_cmds | postuninstall_cmds | \ 28208 old_postinstall_cmds | old_postuninstall_cmds | \ 28209 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 28210 # Double-quote double-evaled strings. 28211 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 28212 ;; 28213 *) 28214 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 28215 ;; 28216 esac 28217 done 28218 28219 case $lt_echo in 28220 *'\$0 --fallback-echo"') 28221 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` 28222 ;; 28223 esac 28224 28225 cfgfile="$ofile" 28226 28227 cat <<__EOF__ >> "$cfgfile" 28228 # ### BEGIN LIBTOOL TAG CONFIG: $tagname 28229 28230 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 28231 28232 # Shell to use when invoking shell scripts. 28233 SHELL=$lt_SHELL 28234 28235 # Whether or not to build shared libraries. 28236 build_libtool_libs=$enable_shared 28237 28238 # Whether or not to build static libraries. 28239 build_old_libs=$enable_static 28240 28241 # Whether or not to add -lc for building shared libraries. 28242 build_libtool_need_lc=$archive_cmds_need_lc_RC 28243 28244 # Whether or not to disallow shared libs when runtime libs are static 28245 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC 28246 28247 # Whether or not to optimize for fast installation. 28248 fast_install=$enable_fast_install 28249 28250 # The host system. 28251 host_alias=$host_alias 28252 host=$host 28253 host_os=$host_os 28254 28255 # The build system. 28256 build_alias=$build_alias 28257 build=$build 28258 build_os=$build_os 28259 28260 # An echo program that does not interpret backslashes. 28261 echo=$lt_echo 28262 28263 # The archiver. 28264 AR=$lt_AR 28265 AR_FLAGS=$lt_AR_FLAGS 28266 28267 # A C compiler. 28268 LTCC=$lt_LTCC 28269 28270 # LTCC compiler flags. 28271 LTCFLAGS=$lt_LTCFLAGS 28272 28273 # A language-specific compiler. 28274 CC=$lt_compiler_RC 28275 28276 # Is the compiler the GNU C compiler? 28277 with_gcc=$GCC_RC 28278 28279 # An ERE matcher. 28280 EGREP=$lt_EGREP 28281 28282 # The linker used to build libraries. 28283 LD=$lt_LD_RC 28284 28285 # Whether we need hard or soft links. 28286 LN_S=$lt_LN_S 28287 28288 # A BSD-compatible nm program. 28289 NM=$lt_NM 28290 28291 # A symbol stripping program 28292 STRIP=$lt_STRIP 28293 28294 # Used to examine libraries when file_magic_cmd begins "file" 28295 MAGIC_CMD=$MAGIC_CMD 28296 28297 # Used on cygwin: DLL creation program. 28298 DLLTOOL="$DLLTOOL" 28299 28300 # Used on cygwin: object dumper. 28301 OBJDUMP="$OBJDUMP" 28302 28303 # Used on cygwin: assembler. 28304 AS="$AS" 28305 28306 # The name of the directory that contains temporary libtool files. 28307 objdir=$objdir 28308 28309 # How to create reloadable object files. 28310 reload_flag=$lt_reload_flag 28311 reload_cmds=$lt_reload_cmds 28312 28313 # How to pass a linker flag through the compiler. 28314 wl=$lt_lt_prog_compiler_wl_RC 28315 28316 # Object file suffix (normally "o"). 28317 objext="$ac_objext" 28318 28319 # Old archive suffix (normally "a"). 28320 libext="$libext" 28321 28322 # Shared library suffix (normally ".so"). 28323 shrext_cmds='$shrext_cmds' 28324 28325 # Executable file suffix (normally ""). 28326 exeext="$exeext" 28327 28328 # Additional compiler flags for building library objects. 28329 pic_flag=$lt_lt_prog_compiler_pic_RC 28330 pic_mode=$pic_mode 28331 28332 # What is the maximum length of a command? 28333 max_cmd_len=$lt_cv_sys_max_cmd_len 28334 28335 # Does compiler simultaneously support -c and -o options? 28336 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC 28337 28338 # Must we lock files when doing compilation? 28339 need_locks=$lt_need_locks 28340 28341 # Do we need the lib prefix for modules? 28342 need_lib_prefix=$need_lib_prefix 28343 28344 # Do we need a version for libraries? 28345 need_version=$need_version 28346 28347 # Whether dlopen is supported. 28348 dlopen_support=$enable_dlopen 28349 28350 # Whether dlopen of programs is supported. 28351 dlopen_self=$enable_dlopen_self 28352 28353 # Whether dlopen of statically linked programs is supported. 28354 dlopen_self_static=$enable_dlopen_self_static 28355 28356 # Compiler flag to prevent dynamic linking. 28357 link_static_flag=$lt_lt_prog_compiler_static_RC 28358 28359 # Compiler flag to turn off builtin functions. 28360 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC 28361 28362 # Compiler flag to allow reflexive dlopens. 28363 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC 28364 28365 # Compiler flag to generate shared objects directly from archives. 28366 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC 28367 28368 # Compiler flag to generate thread-safe objects. 28369 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC 28370 28371 # Library versioning type. 28372 version_type=$version_type 28373 28374 # Format of library name prefix. 28375 libname_spec=$lt_libname_spec 28376 28377 # List of archive names. First name is the real one, the rest are links. 28378 # The last name is the one that the linker finds with -lNAME. 28379 library_names_spec=$lt_library_names_spec 28380 28381 # The coded name of the library, if different from the real name. 28382 soname_spec=$lt_soname_spec 28383 28384 # Commands used to build and install an old-style archive. 28385 RANLIB=$lt_RANLIB 28386 old_archive_cmds=$lt_old_archive_cmds_RC 28387 old_postinstall_cmds=$lt_old_postinstall_cmds 28388 old_postuninstall_cmds=$lt_old_postuninstall_cmds 28389 28390 # Create an old-style archive from a shared archive. 28391 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC 28392 28393 # Create a temporary old-style archive to link instead of a shared archive. 28394 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC 28395 28396 # Commands used to build and install a shared archive. 28397 archive_cmds=$lt_archive_cmds_RC 28398 archive_expsym_cmds=$lt_archive_expsym_cmds_RC 28399 postinstall_cmds=$lt_postinstall_cmds 28400 postuninstall_cmds=$lt_postuninstall_cmds 28401 28402 # Commands used to build a loadable module (assumed same as above if empty) 28403 module_cmds=$lt_module_cmds_RC 28404 module_expsym_cmds=$lt_module_expsym_cmds_RC 28405 28406 # Commands to strip libraries. 28407 old_striplib=$lt_old_striplib 28408 striplib=$lt_striplib 28409 28410 # Dependencies to place before the objects being linked to create a 28411 # shared library. 28412 predep_objects=$lt_predep_objects_RC 28413 28414 # Dependencies to place after the objects being linked to create a 28415 # shared library. 28416 postdep_objects=$lt_postdep_objects_RC 28417 28418 # Dependencies to place before the objects being linked to create a 28419 # shared library. 28420 predeps=$lt_predeps_RC 28421 28422 # Dependencies to place after the objects being linked to create a 28423 # shared library. 28424 postdeps=$lt_postdeps_RC 28425 28426 # The library search path used internally by the compiler when linking 28427 # a shared library. 28428 compiler_lib_search_path=$lt_compiler_lib_search_path_RC 28429 28430 # Method to check whether dependent libraries are shared objects. 28431 deplibs_check_method=$lt_deplibs_check_method 28432 28433 # Command to use when deplibs_check_method == file_magic. 28434 file_magic_cmd=$lt_file_magic_cmd 28435 28436 # Flag that allows shared libraries with undefined symbols to be built. 28437 allow_undefined_flag=$lt_allow_undefined_flag_RC 28438 28439 # Flag that forces no undefined symbols. 28440 no_undefined_flag=$lt_no_undefined_flag_RC 28441 28442 # Commands used to finish a libtool library installation in a directory. 28443 finish_cmds=$lt_finish_cmds 28444 28445 # Same as above, but a single script fragment to be evaled but not shown. 28446 finish_eval=$lt_finish_eval 28447 28448 # Take the output of nm and produce a listing of raw symbols and C names. 28449 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 28450 28451 # Transform the output of nm in a proper C declaration 28452 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 28453 28454 # Transform the output of nm in a C name address pair 28455 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 28456 28457 # This is the shared library runtime path variable. 28458 runpath_var=$runpath_var 28459 28460 # This is the shared library path variable. 28461 shlibpath_var=$shlibpath_var 28462 28463 # Is shlibpath searched before the hard-coded library search path? 28464 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 28465 28466 # How to hardcode a shared library path into an executable. 28467 hardcode_action=$hardcode_action_RC 28468 28469 # Whether we should hardcode library paths into libraries. 28470 hardcode_into_libs=$hardcode_into_libs 28471 28472 # Flag to hardcode \$libdir into a binary during linking. 28473 # This must work even if \$libdir does not exist. 28474 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC 28475 28476 # If ld is used when linking, flag to hardcode \$libdir into 28477 # a binary during linking. This must work even if \$libdir does 28478 # not exist. 28479 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC 28480 28481 # Whether we need a single -rpath flag with a separated argument. 28482 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC 28483 28484 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the 28485 # resulting binary. 28486 hardcode_direct=$hardcode_direct_RC 28487 28488 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the 28489 # resulting binary. 28490 hardcode_minus_L=$hardcode_minus_L_RC 28491 28492 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 28493 # the resulting binary. 28494 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC 28495 28496 # Set to yes if building a shared library automatically hardcodes DIR into the library 28497 # and all subsequent libraries and executables linked against it. 28498 hardcode_automatic=$hardcode_automatic_RC 28499 28500 # Variables whose values should be saved in libtool wrapper scripts and 28501 # restored at relink time. 28502 variables_saved_for_relink="$variables_saved_for_relink" 28503 28504 # Whether libtool must link a program against all its dependency libraries. 28505 link_all_deplibs=$link_all_deplibs_RC 28506 28507 # Compile-time system search path for libraries 28508 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 28509 28510 # Run-time system search path for libraries 28511 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 28512 28513 # Fix the shell variable \$srcfile for the compiler. 28514 fix_srcfile_path="$fix_srcfile_path_RC" 28515 28516 # Set to yes if exported symbols are required. 28517 always_export_symbols=$always_export_symbols_RC 28518 28519 # The commands to list exported symbols. 28520 export_symbols_cmds=$lt_export_symbols_cmds_RC 28521 28522 # The commands to extract the exported symbol list from a shared archive. 28523 extract_expsyms_cmds=$lt_extract_expsyms_cmds 28524 28525 # Symbols that should not be listed in the preloaded symbols. 28526 exclude_expsyms=$lt_exclude_expsyms_RC 28527 28528 # Symbols that must always be exported. 28529 include_expsyms=$lt_include_expsyms_RC 28530 28531 # ### END LIBTOOL TAG CONFIG: $tagname 28532 28533 __EOF__ 28534 28535 28536 else 28537 # If there is no Makefile yet, we rely on a make rule to execute 28538 # `config.status --recheck' to rerun these tests and create the 28539 # libtool script then. 28540 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 28541 if test -f "$ltmain_in"; then 28542 test -f Makefile && make "$ltmain" 28543 fi 28544 fi 28545 28546 28547 ac_ext=c 28548 ac_cpp='$CPP $CPPFLAGS' 28549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28551 ac_compiler_gnu=$ac_cv_c_compiler_gnu 28552 28553 CC="$lt_save_CC" 28554 28555 ;; 28556 28557 *) 28558 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 28559 echo "$as_me: error: Unsupported tag name: $tagname" >&2;} 28560 { (exit 1); exit 1; }; } 28561 ;; 28562 esac 28563 28564 # Append the new tag name to the list of available tags. 28565 if test -n "$tagname" ; then 28566 available_tags="$available_tags $tagname" 28567 fi 28568 fi 28569 done 28570 IFS="$lt_save_ifs" 28571 28572 # Now substitute the updated list of available tags. 28573 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then 28574 mv "${ofile}T" "$ofile" 28575 chmod +x "$ofile" 28576 else 28577 rm -f "${ofile}T" 28578 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 28579 echo "$as_me: error: unable to update list of available tagged configurations." >&2;} 28580 { (exit 1); exit 1; }; } 28581 fi 28582 fi 28583 28584 28585 28586 # This can be used to rebuild libtool when needed 28587 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" 28588 28589 # Always use our own libtool. 28590 LIBTOOL='$(SHELL) $(top_builddir)/libtool' 28591 28592 # Prevent multiple expansion 28593 28594 28595 28596 28597 28598 28599 28600 28601 28602 28603 28604 28605 28606 28607 28608 28609 28610 22476 22477 22478 22479 22480 22481 22482 22483 22484 22485 22486 22487 22488 ac_config_commands="$ac_config_commands libtool" 22489 22490 22491 22492 22493 # Only expand once: 28611 22494 28612 22495 … … 28634 22517 if test $HAVE_MPI == "yes" && 28635 22518 test $HAVE_MPIPP == "no"; then 28636 { { echo "$as_me:$LINENO: error: libmpi++ needed for mpi cca components" >&5 28637 echo "$as_me: error: libmpi++ needed for mpi cca components" >&2;} 28638 { (exit 1); exit 1; }; } 22519 as_fn_error $? "libmpi++ needed for mpi cca components" "$LINENO" 5 28639 22520 fi 28640 22521 28641 22522 if test -z $CCA_CHEM_CONFIG && ! test -x $CCA_CHEM_CONFIG; then 28642 { { echo "$as_me:$LINENO: error: cca-chem-config is required to build CCA component code" >&5 28643 echo "$as_me: error: cca-chem-config is required to build CCA component code" >&2;} 28644 { (exit 1); exit 1; }; } 22523 as_fn_error $? "cca-chem-config is required to build CCA component code" "$LINENO" 5 28645 22524 fi 28646 22525 … … 28659 22538 # ccaffeine gives us everything else 28660 22539 28661 # Check whether --with-ccafe-config or --without-ccafe-config was given. 28662 if test "${with_ccafe_config+set}" = set; then 28663 withval="$with_ccafe_config" 28664 CCAFE_CONFIG=$withval 22540 # Check whether --with-ccafe-config was given. 22541 if test "${with_ccafe_config+set}" = set; then : 22542 withval=$with_ccafe_config; CCAFE_CONFIG=$withval 28665 22543 else 28666 22544 if test -z $CCAFE_CONFIG || test ! -x $CCAFE_CONFIG; then 28667 22545 # Extract the first word of "ccafe-config", so it can be a program name with args. 28668 22546 set dummy ccafe-config; ac_word=$2 28669 echo "$as_me:$LINENO: checking for $ac_word" >&528670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 28671 if test "${ac_cv_path_CCAFE_CONFIG+set}" = set; then28672 echo $ECHO_N "(cached) $ECHO_C" >&622547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22548 $as_echo_n "checking for $ac_word... " >&6; } 22549 if ${ac_cv_path_CCAFE_CONFIG+:} false; then : 22550 $as_echo_n "(cached) " >&6 28673 22551 else 28674 22552 case $CCAFE_CONFIG in … … 28682 22560 IFS=$as_save_IFS 28683 22561 test -z "$as_dir" && as_dir=. 28684 for ac_exec_ext in '' $ac_executable_extensions; do28685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then22562 for ac_exec_ext in '' $ac_executable_extensions; do 22563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 28686 22564 ac_cv_path_CCAFE_CONFIG="$as_dir/$ac_word$ac_exec_ext" 28687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&522565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28688 22566 break 2 28689 22567 fi 28690 22568 done 28691 done 22569 done 22570 IFS=$as_save_IFS 28692 22571 28693 22572 test -z "$ac_cv_path_CCAFE_CONFIG" && ac_cv_path_CCAFE_CONFIG=""not-found"" … … 28696 22575 fi 28697 22576 CCAFE_CONFIG=$ac_cv_path_CCAFE_CONFIG 28698 28699 22577 if test -n "$CCAFE_CONFIG"; then 28700 echo "$as_me:$LINENO: result: $CCAFE_CONFIG" >&5 28701 echo "${ECHO_T}$CCAFE_CONFIG" >&6 28702 else 28703 echo "$as_me:$LINENO: result: no" >&5 28704 echo "${ECHO_T}no" >&6 28705 fi 22578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCAFE_CONFIG" >&5 22579 $as_echo "$CCAFE_CONFIG" >&6; } 22580 else 22581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22582 $as_echo "no" >&6; } 22583 fi 22584 28706 22585 28707 22586 fi 28708 22587 28709 22588 28710 fi; 22589 fi 22590 28711 22591 if ! test -x $CCAFE_CONFIG; then 28712 { { echo "$as_me:$LINENO: error: ccaffeine not found, use --with-ccafe-config" >&5 28713 echo "$as_me: error: ccaffeine not found, use --with-ccafe-config" >&2;} 28714 { (exit 1); exit 1; }; } 22592 as_fn_error $? "ccaffeine not found, use --with-ccafe-config" "$LINENO" 5 28715 22593 fi 28716 22594 CCAFE_INCLUDE=`$CCAFE_CONFIG --var CCAFE_pkgincludedir` … … 28727 22605 CCA_SPEC_BABEL_CONFIG=`$CCAFE_CONFIG --var CCAFE_CCA_SPEC_BABEL_CONFIG` 28728 22606 if test -z $CCA_SPEC_BABEL_CONFIG || ! test -x $CCA_SPEC_BABEL_CONFIG; then 28729 { { echo "$as_me:$LINENO: error: can't find cca-spec-babel-config" >&5 28730 echo "$as_me: error: can't find cca-spec-babel-config" >&2;} 28731 { (exit 1); exit 1; }; } 22607 as_fn_error $? "can't find cca-spec-babel-config" "$LINENO" 5 28732 22608 fi 28733 22609 CCA_SPEC_BABEL_INCLUDE=`$CCA_SPEC_BABEL_CONFIG --var CCASPEC_pkgincludedir` … … 28743 22619 CCA_SPEC_CLASSIC_CONFIG="$CCA_SPEC_CLASSIC_ROOT/bin/cca-spec-classic-config" 28744 22620 if test -z $CCA_SPEC_CLASSIC_CONFIG || test ! -e $CCA_SPEC_CLASSIC_CONFIG; then 28745 { { echo "$as_me:$LINENO: error: can't find cca-spec-classic-config" >&5 28746 echo "$as_me: error: can't find cca-spec-classic-config" >&2;} 28747 { (exit 1); exit 1; }; } 22621 as_fn_error $? "can't find cca-spec-classic-config" "$LINENO" 5 28748 22622 fi 28749 22623 CCA_SPEC_CLASSIC_INCLUDE=`$CCA_SPEC_CLASSIC_CONFIG --var CLASSIC_pkgincludedir` … … 28758 22632 BABEL_CONFIG=`$CCA_SPEC_BABEL_CONFIG --var CCASPEC_BABEL_BABEL_CONFIG` 28759 22633 if test ! -x $BABEL_CONFIG; then 28760 { { echo "$as_me:$LINENO: error: can't find babel-config" >&5 28761 echo "$as_me: error: can't find babel-config" >&2;} 28762 { (exit 1); exit 1; }; } 22634 as_fn_error $? "can't find babel-config" "$LINENO" 5 28763 22635 fi 28764 22636 BABEL_INCLUDE=`$BABEL_CONFIG --includedir` … … 28786 22658 BABEL_LIBTOOL=$BABEL_BIN/babel-libtool 28787 22659 if test -z $BABEL_LIBTOOL || ! test -x $BABEL_LIBTOOL; then 28788 { { echo "$as_me:$LINENO: error: can't find babel-libtool" >&5 28789 echo "$as_me: error: can't find babel-libtool" >&2;} 28790 { (exit 1); exit 1; }; } 22660 as_fn_error $? "can't find babel-libtool" "$LINENO" 5 28791 22661 fi 28792 22662 … … 28798 22668 if test -z "$CCAFE_MPI_INCLUDE"; then 28799 22669 CCAFE_MPI_ENABLE="no" 28800 { echo "$as_me:$LINENO: WARNING: Ccaffeine not configured for MPI" >&528801 echo "$as_me: WARNING: Ccaffeine not configured for MPI" >&2;}22670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ccaffeine not configured for MPI" >&5 22671 $as_echo "$as_me: WARNING: Ccaffeine not configured for MPI" >&2;} 28802 22672 else 28803 22673 CCAFE_MPI_ENABLE="yes" … … 28813 22683 BABEL_PYTHON_ENABLE=`$BABEL_CONFIG --query-var=SUPPORT_PYTHON` 28814 22684 if test $BABEL_PYTHON_ENABLE == "false"; then 28815 { { echo "$as_me:$LINENO: error: Babel not properly configured for python" >&5 28816 echo "$as_me: error: Babel not properly configured for python" >&2;} 28817 { (exit 1); exit 1; }; } 22685 as_fn_error $? "Babel not properly configured for python" "$LINENO" 5 28818 22686 fi 28819 22687 # check that ccafe is configured for python 28820 22688 if ! test -d $CCAFE_ROOT/lib/python$PYTHON_VERSION/site-packages/ccaffeine; then 28821 { { echo "$as_me:$LINENO: error: Ccaffeine not properly configured for Python" >&5 28822 echo "$as_me: error: Ccaffeine not properly configured for Python" >&2;} 28823 { (exit 1); exit 1; }; } 22689 as_fn_error $? "Ccaffeine not properly configured for Python" "$LINENO" 5 28824 22690 else 28825 22691 CCAFE_PYTHON_ENABLE="yes" … … 28881 22747 CPPFLAGS="$CPPFLAGS $BABEL_INCLUDE $CCA_SPEC_BABEL_INCLUDE $CCA_CHEM_INCLUDE $CCAFE_INCLUDE" 28882 22748 28883 if test "${ac_cv_header_sidl_h+set}" = set; then 28884 echo "$as_me:$LINENO: checking for sidl.h" >&5 28885 echo $ECHO_N "checking for sidl.h... $ECHO_C" >&6 28886 if test "${ac_cv_header_sidl_h+set}" = set; then 28887 echo $ECHO_N "(cached) $ECHO_C" >&6 28888 fi 28889 echo "$as_me:$LINENO: result: $ac_cv_header_sidl_h" >&5 28890 echo "${ECHO_T}$ac_cv_header_sidl_h" >&6 28891 else 28892 # Is the header compilable? 28893 echo "$as_me:$LINENO: checking sidl.h usability" >&5 28894 echo $ECHO_N "checking sidl.h usability... $ECHO_C" >&6 28895 cat >conftest.$ac_ext <<_ACEOF 28896 /* confdefs.h. */ 28897 _ACEOF 28898 cat confdefs.h >>conftest.$ac_ext 28899 cat >>conftest.$ac_ext <<_ACEOF 28900 /* end confdefs.h. */ 28901 $ac_includes_default 28902 #include <sidl.h> 28903 _ACEOF 28904 rm -f conftest.$ac_objext 28905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 28906 (eval $ac_compile) 2>conftest.er1 28907 ac_status=$? 28908 grep -v '^ *+' conftest.er1 >conftest.err 28909 rm -f conftest.er1 28910 cat conftest.err >&5 28911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28912 (exit $ac_status); } && 28913 { ac_try='test -z "$ac_c_werror_flag" 28914 || test ! -s conftest.err' 28915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 28916 (eval $ac_try) 2>&5 28917 ac_status=$? 28918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28919 (exit $ac_status); }; } && 28920 { ac_try='test -s conftest.$ac_objext' 28921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 28922 (eval $ac_try) 2>&5 28923 ac_status=$? 28924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28925 (exit $ac_status); }; }; then 28926 ac_header_compiler=yes 28927 else 28928 echo "$as_me: failed program was:" >&5 28929 sed 's/^/| /' conftest.$ac_ext >&5 28930 28931 ac_header_compiler=no 28932 fi 28933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 28934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 28935 echo "${ECHO_T}$ac_header_compiler" >&6 28936 28937 # Is the header present? 28938 echo "$as_me:$LINENO: checking sidl.h presence" >&5 28939 echo $ECHO_N "checking sidl.h presence... $ECHO_C" >&6 28940 cat >conftest.$ac_ext <<_ACEOF 28941 /* confdefs.h. */ 28942 _ACEOF 28943 cat confdefs.h >>conftest.$ac_ext 28944 cat >>conftest.$ac_ext <<_ACEOF 28945 /* end confdefs.h. */ 28946 #include <sidl.h> 28947 _ACEOF 28948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 28949 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 28950 ac_status=$? 28951 grep -v '^ *+' conftest.er1 >conftest.err 28952 rm -f conftest.er1 28953 cat conftest.err >&5 28954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28955 (exit $ac_status); } >/dev/null; then 28956 if test -s conftest.err; then 28957 ac_cpp_err=$ac_c_preproc_warn_flag 28958 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 28959 else 28960 ac_cpp_err= 28961 fi 28962 else 28963 ac_cpp_err=yes 28964 fi 28965 if test -z "$ac_cpp_err"; then 28966 ac_header_preproc=yes 28967 else 28968 echo "$as_me: failed program was:" >&5 28969 sed 's/^/| /' conftest.$ac_ext >&5 28970 28971 ac_header_preproc=no 28972 fi 28973 rm -f conftest.err conftest.$ac_ext 28974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 28975 echo "${ECHO_T}$ac_header_preproc" >&6 28976 28977 # So? What about this header? 28978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 28979 yes:no: ) 28980 { echo "$as_me:$LINENO: WARNING: sidl.h: accepted by the compiler, rejected by the preprocessor!" >&5 28981 echo "$as_me: WARNING: sidl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 28982 { echo "$as_me:$LINENO: WARNING: sidl.h: proceeding with the compiler's result" >&5 28983 echo "$as_me: WARNING: sidl.h: proceeding with the compiler's result" >&2;} 28984 ac_header_preproc=yes 28985 ;; 28986 no:yes:* ) 28987 { echo "$as_me:$LINENO: WARNING: sidl.h: present but cannot be compiled" >&5 28988 echo "$as_me: WARNING: sidl.h: present but cannot be compiled" >&2;} 28989 { echo "$as_me:$LINENO: WARNING: sidl.h: check for missing prerequisite headers?" >&5 28990 echo "$as_me: WARNING: sidl.h: check for missing prerequisite headers?" >&2;} 28991 { echo "$as_me:$LINENO: WARNING: sidl.h: see the Autoconf documentation" >&5 28992 echo "$as_me: WARNING: sidl.h: see the Autoconf documentation" >&2;} 28993 { echo "$as_me:$LINENO: WARNING: sidl.h: section \"Present But Cannot Be Compiled\"" >&5 28994 echo "$as_me: WARNING: sidl.h: section \"Present But Cannot Be Compiled\"" >&2;} 28995 { echo "$as_me:$LINENO: WARNING: sidl.h: proceeding with the preprocessor's result" >&5 28996 echo "$as_me: WARNING: sidl.h: proceeding with the preprocessor's result" >&2;} 28997 { echo "$as_me:$LINENO: WARNING: sidl.h: in the future, the compiler will take precedence" >&5 28998 echo "$as_me: WARNING: sidl.h: in the future, the compiler will take precedence" >&2;} 28999 ( 29000 cat <<\_ASBOX 29001 ## ------------------------------------------ ## 29002 ## Report this to the AC_PACKAGE_NAME lists. ## 29003 ## ------------------------------------------ ## 29004 _ASBOX 29005 ) | 29006 sed "s/^/$as_me: WARNING: /" >&2 29007 ;; 29008 esac 29009 echo "$as_me:$LINENO: checking for sidl.h" >&5 29010 echo $ECHO_N "checking for sidl.h... $ECHO_C" >&6 29011 if test "${ac_cv_header_sidl_h+set}" = set; then 29012 echo $ECHO_N "(cached) $ECHO_C" >&6 29013 else 29014 ac_cv_header_sidl_h=$ac_header_preproc 29015 fi 29016 echo "$as_me:$LINENO: result: $ac_cv_header_sidl_h" >&5 29017 echo "${ECHO_T}$ac_cv_header_sidl_h" >&6 29018 29019 fi 29020 if test $ac_cv_header_sidl_h = yes; then 29021 cat >>confdefs.h <<\_ACEOF 29022 #define HAVE_SIDL_HEADERS 1 29023 _ACEOF 29024 29025 else 29026 { { echo "$as_me:$LINENO: error: problem with babel headers" >&5 29027 echo "$as_me: error: problem with babel headers" >&2;} 29028 { (exit 1); exit 1; }; } 29029 fi 29030 29031 29032 if test "${ac_cv_header_gov_cca_IOR_h+set}" = set; then 29033 echo "$as_me:$LINENO: checking for gov_cca_IOR.h" >&5 29034 echo $ECHO_N "checking for gov_cca_IOR.h... $ECHO_C" >&6 29035 if test "${ac_cv_header_gov_cca_IOR_h+set}" = set; then 29036 echo $ECHO_N "(cached) $ECHO_C" >&6 29037 fi 29038 echo "$as_me:$LINENO: result: $ac_cv_header_gov_cca_IOR_h" >&5 29039 echo "${ECHO_T}$ac_cv_header_gov_cca_IOR_h" >&6 29040 else 29041 # Is the header compilable? 29042 echo "$as_me:$LINENO: checking gov_cca_IOR.h usability" >&5 29043 echo $ECHO_N "checking gov_cca_IOR.h usability... $ECHO_C" >&6 29044 cat >conftest.$ac_ext <<_ACEOF 29045 /* confdefs.h. */ 29046 _ACEOF 29047 cat confdefs.h >>conftest.$ac_ext 29048 cat >>conftest.$ac_ext <<_ACEOF 29049 /* end confdefs.h. */ 29050 $ac_includes_default 29051 #include <gov_cca_IOR.h> 29052 _ACEOF 29053 rm -f conftest.$ac_objext 29054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 29055 (eval $ac_compile) 2>conftest.er1 29056 ac_status=$? 29057 grep -v '^ *+' conftest.er1 >conftest.err 29058 rm -f conftest.er1 29059 cat conftest.err >&5 29060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29061 (exit $ac_status); } && 29062 { ac_try='test -z "$ac_c_werror_flag" 29063 || test ! -s conftest.err' 29064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 29065 (eval $ac_try) 2>&5 29066 ac_status=$? 29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29068 (exit $ac_status); }; } && 29069 { ac_try='test -s conftest.$ac_objext' 29070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 29071 (eval $ac_try) 2>&5 29072 ac_status=$? 29073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29074 (exit $ac_status); }; }; then 29075 ac_header_compiler=yes 29076 else 29077 echo "$as_me: failed program was:" >&5 29078 sed 's/^/| /' conftest.$ac_ext >&5 29079 29080 ac_header_compiler=no 29081 fi 29082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 29083 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 29084 echo "${ECHO_T}$ac_header_compiler" >&6 29085 29086 # Is the header present? 29087 echo "$as_me:$LINENO: checking gov_cca_IOR.h presence" >&5 29088 echo $ECHO_N "checking gov_cca_IOR.h presence... $ECHO_C" >&6 29089 cat >conftest.$ac_ext <<_ACEOF 29090 /* confdefs.h. */ 29091 _ACEOF 29092 cat confdefs.h >>conftest.$ac_ext 29093 cat >>conftest.$ac_ext <<_ACEOF 29094 /* end confdefs.h. */ 29095 #include <gov_cca_IOR.h> 29096 _ACEOF 29097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 29098 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 29099 ac_status=$? 29100 grep -v '^ *+' conftest.er1 >conftest.err 29101 rm -f conftest.er1 29102 cat conftest.err >&5 29103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29104 (exit $ac_status); } >/dev/null; then 29105 if test -s conftest.err; then 29106 ac_cpp_err=$ac_c_preproc_warn_flag 29107 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 29108 else 29109 ac_cpp_err= 29110 fi 29111 else 29112 ac_cpp_err=yes 29113 fi 29114 if test -z "$ac_cpp_err"; then 29115 ac_header_preproc=yes 29116 else 29117 echo "$as_me: failed program was:" >&5 29118 sed 's/^/| /' conftest.$ac_ext >&5 29119 29120 ac_header_preproc=no 29121 fi 29122 rm -f conftest.err conftest.$ac_ext 29123 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 29124 echo "${ECHO_T}$ac_header_preproc" >&6 29125 29126 # So? What about this header? 29127 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 29128 yes:no: ) 29129 { echo "$as_me:$LINENO: WARNING: gov_cca_IOR.h: accepted by the compiler, rejected by the preprocessor!" >&5 29130 echo "$as_me: WARNING: gov_cca_IOR.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 29131 { echo "$as_me:$LINENO: WARNING: gov_cca_IOR.h: proceeding with the compiler's result" >&5 29132 echo "$as_me: WARNING: gov_cca_IOR.h: proceeding with the compiler's result" >&2;} 29133 ac_header_preproc=yes 29134 ;; 29135 no:yes:* ) 29136 { echo "$as_me:$LINENO: WARNING: gov_cca_IOR.h: present but cannot be compiled" >&5 29137 echo "$as_me: WARNING: gov_cca_IOR.h: present but cannot be compiled" >&2;} 29138 { echo "$as_me:$LINENO: WARNING: gov_cca_IOR.h: check for missing prerequisite headers?" >&5 29139 echo "$as_me: WARNING: gov_cca_IOR.h: check for missing prerequisite headers?" >&2;} 29140 { echo "$as_me:$LINENO: WARNING: gov_cca_IOR.h: see the Autoconf documentation" >&5 29141 echo "$as_me: WARNING: gov_cca_IOR.h: see the Autoconf documentation" >&2;} 29142 { echo "$as_me:$LINENO: WARNING: gov_cca_IOR.h: section \"Present But Cannot Be Compiled\"" >&5 29143 echo "$as_me: WARNING: gov_cca_IOR.h: section \"Present But Cannot Be Compiled\"" >&2;} 29144 { echo "$as_me:$LINENO: WARNING: gov_cca_IOR.h: proceeding with the preprocessor's result" >&5 29145 echo "$as_me: WARNING: gov_cca_IOR.h: proceeding with the preprocessor's result" >&2;} 29146 { echo "$as_me:$LINENO: WARNING: gov_cca_IOR.h: in the future, the compiler will take precedence" >&5 29147 echo "$as_me: WARNING: gov_cca_IOR.h: in the future, the compiler will take precedence" >&2;} 29148 ( 29149 cat <<\_ASBOX 29150 ## ------------------------------------------ ## 29151 ## Report this to the AC_PACKAGE_NAME lists. ## 29152 ## ------------------------------------------ ## 29153 _ASBOX 29154 ) | 29155 sed "s/^/$as_me: WARNING: /" >&2 29156 ;; 29157 esac 29158 echo "$as_me:$LINENO: checking for gov_cca_IOR.h" >&5 29159 echo $ECHO_N "checking for gov_cca_IOR.h... $ECHO_C" >&6 29160 if test "${ac_cv_header_gov_cca_IOR_h+set}" = set; then 29161 echo $ECHO_N "(cached) $ECHO_C" >&6 29162 else 29163 ac_cv_header_gov_cca_IOR_h=$ac_header_preproc 29164 fi 29165 echo "$as_me:$LINENO: result: $ac_cv_header_gov_cca_IOR_h" >&5 29166 echo "${ECHO_T}$ac_cv_header_gov_cca_IOR_h" >&6 29167 29168 fi 29169 if test $ac_cv_header_gov_cca_IOR_h = yes; then 29170 cat >>confdefs.h <<\_ACEOF 29171 #define HAVE_CCA_SPEC_BABEL_HEADERS 1 29172 _ACEOF 29173 29174 else 29175 { { echo "$as_me:$LINENO: error: problem with cca-spec-babel headers" >&5 29176 echo "$as_me: error: problem with cca-spec-babel headers" >&2;} 29177 { (exit 1); exit 1; }; } 29178 fi 29179 29180 29181 if test "${ac_cv_header_Chemistry_QC_Model_IOR_h+set}" = set; then 29182 echo "$as_me:$LINENO: checking for Chemistry_QC_Model_IOR.h" >&5 29183 echo $ECHO_N "checking for Chemistry_QC_Model_IOR.h... $ECHO_C" >&6 29184 if test "${ac_cv_header_Chemistry_QC_Model_IOR_h+set}" = set; then 29185 echo $ECHO_N "(cached) $ECHO_C" >&6 29186 fi 29187 echo "$as_me:$LINENO: result: $ac_cv_header_Chemistry_QC_Model_IOR_h" >&5 29188 echo "${ECHO_T}$ac_cv_header_Chemistry_QC_Model_IOR_h" >&6 29189 else 29190 # Is the header compilable? 29191 echo "$as_me:$LINENO: checking Chemistry_QC_Model_IOR.h usability" >&5 29192 echo $ECHO_N "checking Chemistry_QC_Model_IOR.h usability... $ECHO_C" >&6 29193 cat >conftest.$ac_ext <<_ACEOF 29194 /* confdefs.h. */ 29195 _ACEOF 29196 cat confdefs.h >>conftest.$ac_ext 29197 cat >>conftest.$ac_ext <<_ACEOF 29198 /* end confdefs.h. */ 29199 $ac_includes_default 29200 #include <Chemistry_QC_Model_IOR.h> 29201 _ACEOF 29202 rm -f conftest.$ac_objext 29203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 29204 (eval $ac_compile) 2>conftest.er1 29205 ac_status=$? 29206 grep -v '^ *+' conftest.er1 >conftest.err 29207 rm -f conftest.er1 29208 cat conftest.err >&5 29209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29210 (exit $ac_status); } && 29211 { ac_try='test -z "$ac_c_werror_flag" 29212 || test ! -s conftest.err' 29213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 29214 (eval $ac_try) 2>&5 29215 ac_status=$? 29216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29217 (exit $ac_status); }; } && 29218 { ac_try='test -s conftest.$ac_objext' 29219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 29220 (eval $ac_try) 2>&5 29221 ac_status=$? 29222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29223 (exit $ac_status); }; }; then 29224 ac_header_compiler=yes 29225 else 29226 echo "$as_me: failed program was:" >&5 29227 sed 's/^/| /' conftest.$ac_ext >&5 29228 29229 ac_header_compiler=no 29230 fi 29231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 29232 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 29233 echo "${ECHO_T}$ac_header_compiler" >&6 29234 29235 # Is the header present? 29236 echo "$as_me:$LINENO: checking Chemistry_QC_Model_IOR.h presence" >&5 29237 echo $ECHO_N "checking Chemistry_QC_Model_IOR.h presence... $ECHO_C" >&6 29238 cat >conftest.$ac_ext <<_ACEOF 29239 /* confdefs.h. */ 29240 _ACEOF 29241 cat confdefs.h >>conftest.$ac_ext 29242 cat >>conftest.$ac_ext <<_ACEOF 29243 /* end confdefs.h. */ 29244 #include <Chemistry_QC_Model_IOR.h> 29245 _ACEOF 29246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 29247 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 29248 ac_status=$? 29249 grep -v '^ *+' conftest.er1 >conftest.err 29250 rm -f conftest.er1 29251 cat conftest.err >&5 29252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29253 (exit $ac_status); } >/dev/null; then 29254 if test -s conftest.err; then 29255 ac_cpp_err=$ac_c_preproc_warn_flag 29256 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 29257 else 29258 ac_cpp_err= 29259 fi 29260 else 29261 ac_cpp_err=yes 29262 fi 29263 if test -z "$ac_cpp_err"; then 29264 ac_header_preproc=yes 29265 else 29266 echo "$as_me: failed program was:" >&5 29267 sed 's/^/| /' conftest.$ac_ext >&5 29268 29269 ac_header_preproc=no 29270 fi 29271 rm -f conftest.err conftest.$ac_ext 29272 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 29273 echo "${ECHO_T}$ac_header_preproc" >&6 29274 29275 # So? What about this header? 29276 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 29277 yes:no: ) 29278 { echo "$as_me:$LINENO: WARNING: Chemistry_QC_Model_IOR.h: accepted by the compiler, rejected by the preprocessor!" >&5 29279 echo "$as_me: WARNING: Chemistry_QC_Model_IOR.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 29280 { echo "$as_me:$LINENO: WARNING: Chemistry_QC_Model_IOR.h: proceeding with the compiler's result" >&5 29281 echo "$as_me: WARNING: Chemistry_QC_Model_IOR.h: proceeding with the compiler's result" >&2;} 29282 ac_header_preproc=yes 29283 ;; 29284 no:yes:* ) 29285 { echo "$as_me:$LINENO: WARNING: Chemistry_QC_Model_IOR.h: present but cannot be compiled" >&5 29286 echo "$as_me: WARNING: Chemistry_QC_Model_IOR.h: present but cannot be compiled" >&2;} 29287 { echo "$as_me:$LINENO: WARNING: Chemistry_QC_Model_IOR.h: check for missing prerequisite headers?" >&5 29288 echo "$as_me: WARNING: Chemistry_QC_Model_IOR.h: check for missing prerequisite headers?" >&2;} 29289 { echo "$as_me:$LINENO: WARNING: Chemistry_QC_Model_IOR.h: see the Autoconf documentation" >&5 29290 echo "$as_me: WARNING: Chemistry_QC_Model_IOR.h: see the Autoconf documentation" >&2;} 29291 { echo "$as_me:$LINENO: WARNING: Chemistry_QC_Model_IOR.h: section \"Present But Cannot Be Compiled\"" >&5 29292 echo "$as_me: WARNING: Chemistry_QC_Model_IOR.h: section \"Present But Cannot Be Compiled\"" >&2;} 29293 { echo "$as_me:$LINENO: WARNING: Chemistry_QC_Model_IOR.h: proceeding with the preprocessor's result" >&5 29294 echo "$as_me: WARNING: Chemistry_QC_Model_IOR.h: proceeding with the preprocessor's result" >&2;} 29295 { echo "$as_me:$LINENO: WARNING: Chemistry_QC_Model_IOR.h: in the future, the compiler will take precedence" >&5 29296 echo "$as_me: WARNING: Chemistry_QC_Model_IOR.h: in the future, the compiler will take precedence" >&2;} 29297 ( 29298 cat <<\_ASBOX 29299 ## ------------------------------------------ ## 29300 ## Report this to the AC_PACKAGE_NAME lists. ## 29301 ## ------------------------------------------ ## 29302 _ASBOX 29303 ) | 29304 sed "s/^/$as_me: WARNING: /" >&2 29305 ;; 29306 esac 29307 echo "$as_me:$LINENO: checking for Chemistry_QC_Model_IOR.h" >&5 29308 echo $ECHO_N "checking for Chemistry_QC_Model_IOR.h... $ECHO_C" >&6 29309 if test "${ac_cv_header_Chemistry_QC_Model_IOR_h+set}" = set; then 29310 echo $ECHO_N "(cached) $ECHO_C" >&6 29311 else 29312 ac_cv_header_Chemistry_QC_Model_IOR_h=$ac_header_preproc 29313 fi 29314 echo "$as_me:$LINENO: result: $ac_cv_header_Chemistry_QC_Model_IOR_h" >&5 29315 echo "${ECHO_T}$ac_cv_header_Chemistry_QC_Model_IOR_h" >&6 29316 29317 fi 29318 if test $ac_cv_header_Chemistry_QC_Model_IOR_h = yes; then 29319 cat >>confdefs.h <<\_ACEOF 29320 #define HAVE_CCA_CHEM_HEADERS 1 29321 _ACEOF 29322 29323 else 29324 { { echo "$as_me:$LINENO: error: problem with cca-chem-generic headers" >&5 29325 echo "$as_me: error: problem with cca-chem-generic headers" >&2;} 29326 { (exit 1); exit 1; }; } 22749 ac_fn_c_check_header_mongrel "$LINENO" "sidl.h" "ac_cv_header_sidl_h" "$ac_includes_default" 22750 if test "x$ac_cv_header_sidl_h" = xyes; then : 22751 22752 $as_echo "#define HAVE_SIDL_HEADERS 1" >>confdefs.h 22753 22754 else 22755 as_fn_error $? "problem with babel headers" "$LINENO" 5 22756 fi 22757 22758 22759 ac_fn_c_check_header_mongrel "$LINENO" "gov_cca_IOR.h" "ac_cv_header_gov_cca_IOR_h" "$ac_includes_default" 22760 if test "x$ac_cv_header_gov_cca_IOR_h" = xyes; then : 22761 22762 $as_echo "#define HAVE_CCA_SPEC_BABEL_HEADERS 1" >>confdefs.h 22763 22764 else 22765 as_fn_error $? "problem with cca-spec-babel headers" "$LINENO" 5 22766 fi 22767 22768 22769 ac_fn_c_check_header_mongrel "$LINENO" "Chemistry_QC_Model_IOR.h" "ac_cv_header_Chemistry_QC_Model_IOR_h" "$ac_includes_default" 22770 if test "x$ac_cv_header_Chemistry_QC_Model_IOR_h" = xyes; then : 22771 22772 $as_echo "#define HAVE_CCA_CHEM_HEADERS 1" >>confdefs.h 22773 22774 else 22775 as_fn_error $? "problem with cca-chem-generic headers" "$LINENO" 5 29327 22776 fi 29328 22777 … … 29340 22789 if test "$enableproduction" = "no"; then 29341 22790 29342 test "x$prefix" = xNONE && prefix="$ac_default_prefix" 29343 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 29344 ac_define_dir=`eval echo $srcdir/lib` 29345 ac_define_dir=`eval echo $ac_define_dir` 29346 cat >>confdefs.h <<_ACEOF 22791 prefix_NONE= 22792 exec_prefix_NONE= 22793 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix 22794 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix 22795 eval ac_define_dir="\"$srcdir/lib\"" 22796 eval ac_define_dir="\"$ac_define_dir\"" 22797 SRC_SCLIBDIR="$ac_define_dir" 22798 22799 22800 cat >>confdefs.h <<_ACEOF 29347 22801 #define SRC_SCLIBDIR "$ac_define_dir" 29348 22802 _ACEOF 29349 22803 29350 29351 fi 29352 29353 test "x$prefix" = xNONE && prefix="$ac_default_prefix" 29354 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 29355 ac_define_dir=`eval echo $prefix/lib` 29356 ac_define_dir=`eval echo $ac_define_dir` 29357 cat >>confdefs.h <<_ACEOF 22804 test "$prefix_NONE" && prefix=NONE 22805 test "$exec_prefix_NONE" && exec_prefix=NONE 22806 22807 fi 22808 22809 prefix_NONE= 22810 exec_prefix_NONE= 22811 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix 22812 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix 22813 eval ac_define_dir="\"$prefix/lib\"" 22814 eval ac_define_dir="\"$ac_define_dir\"" 22815 INSTALLED_SCLIBDIR="$ac_define_dir" 22816 22817 22818 cat >>confdefs.h <<_ACEOF 29358 22819 #define INSTALLED_SCLIBDIR "$ac_define_dir" 29359 22820 _ACEOF 29360 22821 29361 29362 29363 test "x$prefix" = xNONE && prefix="$ac_default_prefix" 29364 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 29365 ac_define_dir=`eval echo $scdatadir` 29366 ac_define_dir=`eval echo $ac_define_dir` 29367 cat >>confdefs.h <<_ACEOF 22822 test "$prefix_NONE" && prefix=NONE 22823 test "$exec_prefix_NONE" && exec_prefix=NONE 22824 22825 22826 prefix_NONE= 22827 exec_prefix_NONE= 22828 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix 22829 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix 22830 eval ac_define_dir="\"$scdatadir\"" 22831 eval ac_define_dir="\"$ac_define_dir\"" 22832 SCDATADIR="$ac_define_dir" 22833 22834 22835 cat >>confdefs.h <<_ACEOF 29368 22836 #define SCDATADIR "$ac_define_dir" 29369 22837 _ACEOF 29370 22838 22839 test "$prefix_NONE" && prefix=NONE 22840 test "$exec_prefix_NONE" && exec_prefix=NONE 29371 22841 29372 22842 … … 29374 22844 $PERL $srcdir/bin/objectdir.pl $EXCLUDED_DIRS $srcdir 29375 22845 29376 ac_config_files="$ac_config_files lib/LocalMakefile lib/cca/components.cca bin/sc-config bin/mkf77sym.pl src/bin/mpqc/mpqcrun src/bin/mpqc/ccarun src/bin/mpqc/validate/makeccain.pl doc/doxygen.cfg doc/doxygen.man1.cfg doc/doxygen.man3.cfg" 22846 ac_config_files="$ac_config_files lib/LocalMakefile lib/cca/components.cca bin/sc-config bin/mkf77sym.pl src/bin/mpqc/mpqcrun src/bin/mpqc/ccarun src/bin/mpqc/validate/makeccain.pl doc/doxygen.cfg doc/doxygen.man1.cfg doc/doxygen.man3.cfg" 22847 29377 22848 29378 22849 … … 29381 22852 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 29382 22853 29383 # VPATH may cause trouble with some makes, so we remove $(srcdir),29384 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and29385 # trailing colons and then remove the whole line if VPATH becomes empty29386 # (actually we leave an empty line to preserve line numbers).29387 if test "x$srcdir" = x.; then29388 ac_vpsub='/^[ ]*VPATH[ ]*=/{29389 s/:*\$(srcdir):*/:/;29390 s/:*\${srcdir}:*/:/;29391 s/:*@srcdir@:*/:/;29392 s/^\([^=]*=[ ]*\):*/\1/;29393 s/:*$//;29394 s/^[^=]*=[ ]*$//;29395 }'29396 fi29397 29398 22854 DEFS=-DHAVE_CONFIG_H 29399 22855 29400 22856 ac_libobjs= 29401 22857 ac_ltlibobjs= 22858 U= 29402 22859 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 29403 22860 # 1. Remove the extension, and $U if already installed. 29404 ac_i=`echo "$ac_i" | 29405 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 29406 # 2. Add them. 29407 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 29408 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 22861 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 22862 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 22863 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 22864 # will be set to the directory where LIBOBJS objects are built. 22865 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 22866 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 29409 22867 done 29410 22868 LIBOBJS=$ac_libobjs … … 29414 22872 29415 22873 29416 : ${CONFIG_STATUS=./config.status} 22874 : "${CONFIG_STATUS=./config.status}" 22875 ac_write_fail=0 29417 22876 ac_clean_files_save=$ac_clean_files 29418 22877 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 29419 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 29420 echo "$as_me: creating $CONFIG_STATUS" >&6;} 29421 cat >$CONFIG_STATUS <<_ACEOF 22878 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 22879 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 22880 as_write_fail=0 22881 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 29422 22882 #! $SHELL 29423 22883 # Generated by $as_me. … … 29429 22889 ac_cs_recheck=false 29430 22890 ac_cs_silent=false 22891 29431 22892 SHELL=\${CONFIG_SHELL-$SHELL} 29432 _ACEOF 29433 29434 cat >>$CONFIG_STATUS <<\_ACEOF 29435 ## --------------------- ## 29436 ## M4sh Initialization. ## 29437 ## --------------------- ## 29438 29439 # Be Bourne compatible 29440 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 22893 export SHELL 22894 _ASEOF 22895 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 22896 ## -------------------- ## 22897 ## M4sh Initialization. ## 22898 ## -------------------- ## 22899 22900 # Be more Bourne compatible 22901 DUALCASE=1; export DUALCASE # for MKS sh 22902 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 29441 22903 emulate sh 29442 22904 NULLCMD=: 29443 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which22905 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 29444 22906 # is contrary to our usage. Disable this feature. 29445 22907 alias -g '${1+"$@"}'='"$@"' 29446 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 29447 set -o posix 29448 fi 29449 DUALCASE=1; export DUALCASE # for MKS sh 29450 29451 # Support unset when possible. 29452 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 29453 as_unset=unset 29454 else 29455 as_unset=false 29456 fi 29457 29458 29459 # Work around bugs in pre-3.0 UWIN ksh. 29460 $as_unset ENV MAIL MAILPATH 22908 setopt NO_GLOB_SUBST 22909 else 22910 case `(set -o) 2>/dev/null` in #( 22911 *posix*) : 22912 set -o posix ;; #( 22913 *) : 22914 ;; 22915 esac 22916 fi 22917 22918 22919 as_nl=' 22920 ' 22921 export as_nl 22922 # Printing a long string crashes Solaris 7 /usr/bin/printf. 22923 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 22924 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 22925 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 22926 # Prefer a ksh shell builtin over an external printf program on Solaris, 22927 # but without wasting forks for bash or zsh. 22928 if test -z "$BASH_VERSION$ZSH_VERSION" \ 22929 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 22930 as_echo='print -r --' 22931 as_echo_n='print -rn --' 22932 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 22933 as_echo='printf %s\n' 22934 as_echo_n='printf %s' 22935 else 22936 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 22937 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 22938 as_echo_n='/usr/ucb/echo -n' 22939 else 22940 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 22941 as_echo_n_body='eval 22942 arg=$1; 22943 case $arg in #( 22944 *"$as_nl"*) 22945 expr "X$arg" : "X\\(.*\\)$as_nl"; 22946 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 22947 esac; 22948 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 22949 ' 22950 export as_echo_n_body 22951 as_echo_n='sh -c $as_echo_n_body as_echo' 22952 fi 22953 export as_echo_body 22954 as_echo='sh -c $as_echo_body as_echo' 22955 fi 22956 22957 # The user is always right. 22958 if test "${PATH_SEPARATOR+set}" != set; then 22959 PATH_SEPARATOR=: 22960 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 22961 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 22962 PATH_SEPARATOR=';' 22963 } 22964 fi 22965 22966 22967 # IFS 22968 # We need space, tab and new line, in precisely that order. Quoting is 22969 # there to prevent editors from complaining about space-tab. 22970 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 22971 # splitting by setting IFS to empty value.) 22972 IFS=" "" $as_nl" 22973 22974 # Find who we are. Look in the path if we contain no directory separator. 22975 as_myself= 22976 case $0 in #(( 22977 *[\\/]* ) as_myself=$0 ;; 22978 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22979 for as_dir in $PATH 22980 do 22981 IFS=$as_save_IFS 22982 test -z "$as_dir" && as_dir=. 22983 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 22984 done 22985 IFS=$as_save_IFS 22986 22987 ;; 22988 esac 22989 # We did not find ourselves, most probably we were run as `sh COMMAND' 22990 # in which case we are not to be found in the path. 22991 if test "x$as_myself" = x; then 22992 as_myself=$0 22993 fi 22994 if test ! -f "$as_myself"; then 22995 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 22996 exit 1 22997 fi 22998 22999 # Unset variables that we do not need and which cause bugs (e.g. in 23000 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 23001 # suppresses any "Segmentation fault" message there. '((' could 23002 # trigger a bug in pdksh 5.2.14. 23003 for as_var in BASH_ENV ENV MAIL MAILPATH 23004 do eval test x\${$as_var+set} = xset \ 23005 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 23006 done 29461 23007 PS1='$ ' 29462 23008 PS2='> ' … … 29464 23010 29465 23011 # NLS nuisances. 29466 for as_var in \ 29467 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 29468 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 29469 LC_TELEPHONE LC_TIME 29470 do 29471 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 29472 eval $as_var=C; export $as_var 29473 else 29474 $as_unset $as_var 23012 LC_ALL=C 23013 export LC_ALL 23014 LANGUAGE=C 23015 export LANGUAGE 23016 23017 # CDPATH. 23018 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 23019 23020 23021 # as_fn_error STATUS ERROR [LINENO LOG_FD] 23022 # ---------------------------------------- 23023 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 23024 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 23025 # script with STATUS, using 1 if that was 0. 23026 as_fn_error () 23027 { 23028 as_status=$1; test $as_status -eq 0 && as_status=1 23029 if test "$4"; then 23030 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 23031 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 29475 23032 fi 29476 done 29477 29478 # Required to use basename. 29479 if expr a : '\(a\)' >/dev/null 2>&1; then 23033 $as_echo "$as_me: error: $2" >&2 23034 as_fn_exit $as_status 23035 } # as_fn_error 23036 23037 23038 # as_fn_set_status STATUS 23039 # ----------------------- 23040 # Set $? to STATUS, without forking. 23041 as_fn_set_status () 23042 { 23043 return $1 23044 } # as_fn_set_status 23045 23046 # as_fn_exit STATUS 23047 # ----------------- 23048 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 23049 as_fn_exit () 23050 { 23051 set +e 23052 as_fn_set_status $1 23053 exit $1 23054 } # as_fn_exit 23055 23056 # as_fn_unset VAR 23057 # --------------- 23058 # Portably unset VAR. 23059 as_fn_unset () 23060 { 23061 { eval $1=; unset $1;} 23062 } 23063 as_unset=as_fn_unset 23064 # as_fn_append VAR VALUE 23065 # ---------------------- 23066 # Append the text in VALUE to the end of the definition contained in VAR. Take 23067 # advantage of any shell optimizations that allow amortized linear growth over 23068 # repeated appends, instead of the typical quadratic growth present in naive 23069 # implementations. 23070 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 23071 eval 'as_fn_append () 23072 { 23073 eval $1+=\$2 23074 }' 23075 else 23076 as_fn_append () 23077 { 23078 eval $1=\$$1\$2 23079 } 23080 fi # as_fn_append 23081 23082 # as_fn_arith ARG... 23083 # ------------------ 23084 # Perform arithmetic evaluation on the ARGs, and store the result in the 23085 # global $as_val. Take advantage of shells that can avoid forks. The arguments 23086 # must be portable across $(()) and expr. 23087 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 23088 eval 'as_fn_arith () 23089 { 23090 as_val=$(( $* )) 23091 }' 23092 else 23093 as_fn_arith () 23094 { 23095 as_val=`expr "$@" || test $? -eq 1` 23096 } 23097 fi # as_fn_arith 23098 23099 23100 if expr a : '\(a\)' >/dev/null 2>&1 && 23101 test "X`expr 00001 : '.*\(...\)'`" = X001; then 29480 23102 as_expr=expr 29481 23103 else … … 29483 23105 fi 29484 23106 29485 if (basename /) >/dev/null 2>&1 && test "X`basename/ 2>&1`" = "X/"; then23107 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 29486 23108 as_basename=basename 29487 23109 else … … 29489 23111 fi 29490 23112 29491 29492 # Name of the executable. 29493 as_me=`$as_basename "$0" || 23113 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 23114 as_dirname=dirname 23115 else 23116 as_dirname=false 23117 fi 23118 23119 as_me=`$as_basename -- "$0" || 29494 23120 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 29495 23121 X"$0" : 'X\(//\)$' \| \ 29496 X"$0" : 'X\(/\)$' \| \ 29497 . : '\(.\)' 2>/dev/null || 29498 echo X/"$0" | 29499 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 29500 /^X\/\(\/\/\)$/{ s//\1/; q; } 29501 /^X\/\(\/\).*/{ s//\1/; q; } 29502 s/.*/./; q'` 29503 29504 29505 # PATH needs CR, and LINENO needs CR and PATH. 23122 X"$0" : 'X\(/\)' \| . 2>/dev/null || 23123 $as_echo X/"$0" | 23124 sed '/^.*\/\([^/][^/]*\)\/*$/{ 23125 s//\1/ 23126 q 23127 } 23128 /^X\/\(\/\/\)$/{ 23129 s//\1/ 23130 q 23131 } 23132 /^X\/\(\/\).*/{ 23133 s//\1/ 23134 q 23135 } 23136 s/.*/./; q'` 23137 29506 23138 # Avoid depending upon Character Ranges. 29507 23139 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 29511 23143 as_cr_alnum=$as_cr_Letters$as_cr_digits 29512 23144 29513 # The user is always right. 29514 if test "${PATH_SEPARATOR+set}" != set; then 29515 echo "#! /bin/sh" >conf$$.sh 29516 echo "exit 0" >>conf$$.sh 29517 chmod +x conf$$.sh 29518 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 29519 PATH_SEPARATOR=';' 23145 ECHO_C= ECHO_N= ECHO_T= 23146 case `echo -n x` in #((((( 23147 -n*) 23148 case `echo 'xy\c'` in 23149 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 23150 xy) ECHO_C='\c';; 23151 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 23152 ECHO_T=' ';; 23153 esac;; 23154 *) 23155 ECHO_N='-n';; 23156 esac 23157 23158 rm -f conf$$ conf$$.exe conf$$.file 23159 if test -d conf$$.dir; then 23160 rm -f conf$$.dir/conf$$.file 23161 else 23162 rm -f conf$$.dir 23163 mkdir conf$$.dir 2>/dev/null 23164 fi 23165 if (echo >conf$$.file) 2>/dev/null; then 23166 if ln -s conf$$.file conf$$ 2>/dev/null; then 23167 as_ln_s='ln -s' 23168 # ... but there are two gotchas: 23169 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 23170 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 23171 # In both cases, we have to default to `cp -pR'. 23172 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 23173 as_ln_s='cp -pR' 23174 elif ln conf$$.file conf$$ 2>/dev/null; then 23175 as_ln_s=ln 29520 23176 else 29521 PATH_SEPARATOR=:23177 as_ln_s='cp -pR' 29522 23178 fi 29523 rm -f conf$$.sh 29524 fi 29525 29526 29527 as_lineno_1=$LINENO 29528 as_lineno_2=$LINENO 29529 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 29530 test "x$as_lineno_1" != "x$as_lineno_2" && 29531 test "x$as_lineno_3" = "x$as_lineno_2" || { 29532 # Find who we are. Look in the path if we contain no path at all 29533 # relative or not. 29534 case $0 in 29535 *[\\/]* ) as_myself=$0 ;; 29536 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 29537 for as_dir in $PATH 29538 do 29539 IFS=$as_save_IFS 29540 test -z "$as_dir" && as_dir=. 29541 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 29542 done 29543 29544 ;; 23179 else 23180 as_ln_s='cp -pR' 23181 fi 23182 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 23183 rmdir conf$$.dir 2>/dev/null 23184 23185 23186 # as_fn_mkdir_p 23187 # ------------- 23188 # Create "$as_dir" as a directory, including parents if necessary. 23189 as_fn_mkdir_p () 23190 { 23191 23192 case $as_dir in #( 23193 -*) as_dir=./$as_dir;; 29545 23194 esac 29546 # We did not find ourselves, most probably we were run as `sh COMMAND' 29547 # in which case we are not to be found in the path. 29548 if test "x$as_myself" = x; then 29549 as_myself=$0 29550 fi 29551 if test ! -f "$as_myself"; then 29552 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 29553 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 29554 { (exit 1); exit 1; }; } 29555 fi 29556 case $CONFIG_SHELL in 29557 '') 29558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 29559 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 29560 do 29561 IFS=$as_save_IFS 29562 test -z "$as_dir" && as_dir=. 29563 for as_base in sh bash ksh sh5; do 29564 case $as_dir in 29565 /*) 29566 if ("$as_dir/$as_base" -c ' 29567 as_lineno_1=$LINENO 29568 as_lineno_2=$LINENO 29569 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 29570 test "x$as_lineno_1" != "x$as_lineno_2" && 29571 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 29572 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 29573 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 29574 CONFIG_SHELL=$as_dir/$as_base 29575 export CONFIG_SHELL 29576 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 29577 fi;; 29578 esac 29579 done 29580 done 29581 ;; 29582 esac 29583 29584 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 29585 # uniformly replaced by the line number. The first 'sed' inserts a 29586 # line-number line before each line; the second 'sed' does the real 29587 # work. The second script uses 'N' to pair each line-number line 29588 # with the numbered line, and appends trailing '-' during 29589 # substitution so that $LINENO is not a special case at line end. 29590 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 29591 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 29592 sed '=' <$as_myself | 29593 sed ' 29594 N 29595 s,$,-, 29596 : loop 29597 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 29598 t loop 29599 s,-$,, 29600 s,^['$as_cr_digits']*\n,, 29601 ' >$as_me.lineno && 29602 chmod +x $as_me.lineno || 29603 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 29604 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 29605 { (exit 1); exit 1; }; } 29606 29607 # Don't try to exec as it changes $[0], causing all sort of problems 29608 # (the dirname of $[0] is not the place where we might find the 29609 # original and so on. Autoconf is especially sensible to this). 29610 . ./$as_me.lineno 29611 # Exit status is that of the last command. 29612 exit 29613 } 29614 29615 29616 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 29617 *c*,-n*) ECHO_N= ECHO_C=' 29618 ' ECHO_T=' ' ;; 29619 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 29620 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 29621 esac 29622 29623 if expr a : '\(a\)' >/dev/null 2>&1; then 29624 as_expr=expr 29625 else 29626 as_expr=false 29627 fi 29628 29629 rm -f conf$$ conf$$.exe conf$$.file 29630 echo >conf$$.file 29631 if ln -s conf$$.file conf$$ 2>/dev/null; then 29632 # We could just check for DJGPP; but this test a) works b) is more generic 29633 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 29634 if test -f conf$$.exe; then 29635 # Don't use ln at all; we don't have any links 29636 as_ln_s='cp -p' 29637 else 29638 as_ln_s='ln -s' 29639 fi 29640 elif ln conf$$.file conf$$ 2>/dev/null; then 29641 as_ln_s=ln 29642 else 29643 as_ln_s='cp -p' 29644 fi 29645 rm -f conf$$ conf$$.exe conf$$.file 29646 23195 test -d "$as_dir" || eval $as_mkdir_p || { 23196 as_dirs= 23197 while :; do 23198 case $as_dir in #( 23199 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 23200 *) as_qdir=$as_dir;; 23201 esac 23202 as_dirs="'$as_qdir' $as_dirs" 23203 as_dir=`$as_dirname -- "$as_dir" || 23204 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 23205 X"$as_dir" : 'X\(//\)[^/]' \| \ 23206 X"$as_dir" : 'X\(//\)$' \| \ 23207 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 23208 $as_echo X"$as_dir" | 23209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 23210 s//\1/ 23211 q 23212 } 23213 /^X\(\/\/\)[^/].*/{ 23214 s//\1/ 23215 q 23216 } 23217 /^X\(\/\/\)$/{ 23218 s//\1/ 23219 q 23220 } 23221 /^X\(\/\).*/{ 23222 s//\1/ 23223 q 23224 } 23225 s/.*/./; q'` 23226 test -d "$as_dir" && break 23227 done 23228 test -z "$as_dirs" || eval "mkdir $as_dirs" 23229 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 23230 23231 23232 } # as_fn_mkdir_p 29647 23233 if mkdir -p . 2>/dev/null; then 29648 as_mkdir_p= :23234 as_mkdir_p='mkdir -p "$as_dir"' 29649 23235 else 29650 23236 test -d ./-p && rmdir ./-p … … 29652 23238 fi 29653 23239 29654 as_executable_p="test -f" 23240 23241 # as_fn_executable_p FILE 23242 # ----------------------- 23243 # Test if FILE is an executable regular file. 23244 as_fn_executable_p () 23245 { 23246 test -f "$1" && test -x "$1" 23247 } # as_fn_executable_p 23248 as_test_x='test -x' 23249 as_executable_p=as_fn_executable_p 29655 23250 29656 23251 # Sed expression to map a string onto a valid CPP name. … … 29661 23256 29662 23257 29663 # IFS29664 # We need space, tab and new line, in precisely that order.29665 as_nl='29666 '29667 IFS=" $as_nl"29668 29669 # CDPATH.29670 $as_unset CDPATH29671 29672 23258 exec 6>&1 29673 29674 # Open the log real soon, to keep \$[0] and so on meaningful, and to 23259 ## ----------------------------------- ## 23260 ## Main body of $CONFIG_STATUS script. ## 23261 ## ----------------------------------- ## 23262 _ASEOF 23263 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 23264 23265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 23266 # Save the log message, to keep $0 and so on meaningful, and to 29675 23267 # report actual input values of CONFIG_FILES etc. instead of their 29676 # values after options handling. Logging --version etc. is OK. 23268 # values after options handling. 23269 ac_log=" 23270 This file was extended by $as_me, which was 23271 generated by GNU Autoconf 2.69. Invocation command line was 23272 23273 CONFIG_FILES = $CONFIG_FILES 23274 CONFIG_HEADERS = $CONFIG_HEADERS 23275 CONFIG_LINKS = $CONFIG_LINKS 23276 CONFIG_COMMANDS = $CONFIG_COMMANDS 23277 $ $0 $@ 23278 23279 on `(hostname || uname -n) 2>/dev/null | sed 1q` 23280 " 23281 23282 _ACEOF 23283 23284 case $ac_config_files in *" 23285 "*) set x $ac_config_files; shift; ac_config_files=$*;; 23286 esac 23287 23288 case $ac_config_headers in *" 23289 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 23290 esac 23291 23292 23293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 23294 # Files that config.status was made for. 23295 config_files="$ac_config_files" 23296 config_headers="$ac_config_headers" 23297 config_commands="$ac_config_commands" 23298 23299 _ACEOF 23300 23301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 23302 ac_cs_usage="\ 23303 \`$as_me' instantiates files and other configuration actions 23304 from templates according to the current configuration. Unless the files 23305 and actions are specified as TAGs, all are instantiated by default. 23306 23307 Usage: $0 [OPTION]... [TAG]... 23308 23309 -h, --help print this help, then exit 23310 -V, --version print version number and configuration settings, then exit 23311 --config print configuration, then exit 23312 -q, --quiet, --silent 23313 do not print progress messages 23314 -d, --debug don't remove temporary files 23315 --recheck update $as_me by reconfiguring in the same conditions 23316 --file=FILE[:TEMPLATE] 23317 instantiate the configuration file FILE 23318 --header=FILE[:TEMPLATE] 23319 instantiate the configuration header FILE 23320 23321 Configuration files: 23322 $config_files 23323 23324 Configuration headers: 23325 $config_headers 23326 23327 Configuration commands: 23328 $config_commands 23329 23330 Report bugs to the package provider." 23331 23332 _ACEOF 23333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 23334 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 23335 ac_cs_version="\\ 23336 config.status 23337 configured by $0, generated by GNU Autoconf 2.69, 23338 with options \\"\$ac_cs_config\\" 23339 23340 Copyright (C) 2012 Free Software Foundation, Inc. 23341 This config.status script is free software; the Free Software Foundation 23342 gives unlimited permission to copy, distribute and modify it." 23343 23344 ac_pwd='$ac_pwd' 23345 srcdir='$srcdir' 23346 INSTALL='$INSTALL' 23347 AWK='$AWK' 23348 test -n "\$AWK" || AWK=awk 23349 _ACEOF 23350 23351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 23352 # The default lists apply if the user does not specify any file. 23353 ac_need_defaults=: 23354 while test $# != 0 23355 do 23356 case $1 in 23357 --*=?*) 23358 ac_option=`expr "X$1" : 'X\([^=]*\)='` 23359 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 23360 ac_shift=: 23361 ;; 23362 --*=) 23363 ac_option=`expr "X$1" : 'X\([^=]*\)='` 23364 ac_optarg= 23365 ac_shift=: 23366 ;; 23367 *) 23368 ac_option=$1 23369 ac_optarg=$2 23370 ac_shift=shift 23371 ;; 23372 esac 23373 23374 case $ac_option in 23375 # Handling of the options. 23376 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 23377 ac_cs_recheck=: ;; 23378 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 23379 $as_echo "$ac_cs_version"; exit ;; 23380 --config | --confi | --conf | --con | --co | --c ) 23381 $as_echo "$ac_cs_config"; exit ;; 23382 --debug | --debu | --deb | --de | --d | -d ) 23383 debug=: ;; 23384 --file | --fil | --fi | --f ) 23385 $ac_shift 23386 case $ac_optarg in 23387 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 23388 '') as_fn_error $? "missing file argument" ;; 23389 esac 23390 as_fn_append CONFIG_FILES " '$ac_optarg'" 23391 ac_need_defaults=false;; 23392 --header | --heade | --head | --hea ) 23393 $ac_shift 23394 case $ac_optarg in 23395 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 23396 esac 23397 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 23398 ac_need_defaults=false;; 23399 --he | --h) 23400 # Conflict between --help and --header 23401 as_fn_error $? "ambiguous option: \`$1' 23402 Try \`$0 --help' for more information.";; 23403 --help | --hel | -h ) 23404 $as_echo "$ac_cs_usage"; exit ;; 23405 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 23406 | -silent | --silent | --silen | --sile | --sil | --si | --s) 23407 ac_cs_silent=: ;; 23408 23409 # This is an error. 23410 -*) as_fn_error $? "unrecognized option: \`$1' 23411 Try \`$0 --help' for more information." ;; 23412 23413 *) as_fn_append ac_config_targets " $1" 23414 ac_need_defaults=false ;; 23415 23416 esac 23417 shift 23418 done 23419 23420 ac_configure_extra_args= 23421 23422 if $ac_cs_silent; then 23423 exec 6>/dev/null 23424 ac_configure_extra_args="$ac_configure_extra_args --silent" 23425 fi 23426 23427 _ACEOF 23428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 23429 if \$ac_cs_recheck; then 23430 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 23431 shift 23432 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 23433 CONFIG_SHELL='$SHELL' 23434 export CONFIG_SHELL 23435 exec "\$@" 23436 fi 23437 23438 _ACEOF 23439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 29677 23440 exec 5>>config.log 29678 23441 { … … 29681 23444 ## Running $as_me. ## 29682 23445 _ASBOX 23446 $as_echo "$ac_log" 29683 23447 } >&5 29684 cat >&5 <<_CSEOF 29685 29686 This file was extended by $as_me, which was 29687 generated by GNU Autoconf 2.59. Invocation command line was 29688 29689 CONFIG_FILES = $CONFIG_FILES 29690 CONFIG_HEADERS = $CONFIG_HEADERS 29691 CONFIG_LINKS = $CONFIG_LINKS 29692 CONFIG_COMMANDS = $CONFIG_COMMANDS 29693 $ $0 $@ 29694 29695 _CSEOF 29696 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 29697 echo >&5 23448 29698 23449 _ACEOF 29699 29700 # Files that config.status was made for. 29701 if test -n "$ac_config_files"; then 29702 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 29703 fi 29704 29705 if test -n "$ac_config_headers"; then 29706 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 29707 fi 29708 29709 if test -n "$ac_config_links"; then 29710 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 29711 fi 29712 29713 if test -n "$ac_config_commands"; then 29714 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 29715 fi 29716 29717 cat >>$CONFIG_STATUS <<\_ACEOF 29718 29719 ac_cs_usage="\ 29720 \`$as_me' instantiates files from templates according to the 29721 current configuration. 29722 29723 Usage: $0 [OPTIONS] [FILE]... 29724 29725 -h, --help print this help, then exit 29726 -V, --version print version number, then exit 29727 -q, --quiet do not print progress messages 29728 -d, --debug don't remove temporary files 29729 --recheck update $as_me by reconfiguring in the same conditions 29730 --file=FILE[:TEMPLATE] 29731 instantiate the configuration file FILE 29732 --header=FILE[:TEMPLATE] 29733 instantiate the configuration header FILE 29734 29735 Configuration files: 29736 $config_files 29737 29738 Configuration headers: 29739 $config_headers 29740 29741 Report bugs to <bug-autoconf@gnu.org>." 23450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 23451 # 23452 # INIT-COMMANDS 23453 # 23454 23455 23456 # The HP-UX ksh and POSIX shell print the target directory to stdout 23457 # if CDPATH is set. 23458 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 23459 23460 sed_quote_subst='$sed_quote_subst' 23461 double_quote_subst='$double_quote_subst' 23462 delay_variable_subst='$delay_variable_subst' 23463 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 23464 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 23465 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 23466 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 23467 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 23468 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 23469 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 23470 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 23471 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 23472 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 23473 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 23474 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 23475 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 23476 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 23477 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 23478 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 23479 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 23480 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 23481 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 23482 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 23483 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 23484 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 23485 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 23486 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 23487 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 23488 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 23489 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 23490 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 23491 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 23492 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 23493 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 23494 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 23495 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 23496 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 23497 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 23498 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 23499 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 23500 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 23501 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 23502 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 23503 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 23504 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 23505 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 23506 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 23507 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 23508 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 23509 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 23510 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 23511 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 23512 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 23513 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 23514 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 23515 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 23516 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 23517 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 23518 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 23519 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 23520 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 23521 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 23522 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 23523 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 23524 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 23525 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 23526 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 23527 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 23528 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 23529 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 23530 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 23531 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 23532 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 23533 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 23534 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 23535 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 23536 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 23537 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 23538 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 23539 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 23540 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 23541 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 23542 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 23543 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 23544 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 23545 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 23546 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 23547 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 23548 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 23549 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 23550 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 23551 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 23552 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 23553 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 23554 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 23555 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 23556 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 23557 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 23558 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 23559 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 23560 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 23561 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 23562 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 23563 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 23564 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 23565 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 23566 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 23567 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 23568 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 23569 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 23570 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 23571 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 23572 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 23573 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 23574 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 23575 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 23576 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 23577 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 23578 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 23579 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 23580 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 23581 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 23582 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 23583 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 23584 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 23585 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 23586 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 23587 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 23588 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 23589 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 23590 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 23591 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 23592 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 23593 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 23594 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 23595 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 23596 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 23597 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 23598 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 23599 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 23600 LD_F77='`$ECHO "$LD_F77" | $SED "$delay_single_quote_subst"`' 23601 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 23602 reload_flag_F77='`$ECHO "$reload_flag_F77" | $SED "$delay_single_quote_subst"`' 23603 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 23604 reload_cmds_F77='`$ECHO "$reload_cmds_F77" | $SED "$delay_single_quote_subst"`' 23605 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 23606 old_archive_cmds_F77='`$ECHO "$old_archive_cmds_F77" | $SED "$delay_single_quote_subst"`' 23607 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 23608 compiler_F77='`$ECHO "$compiler_F77" | $SED "$delay_single_quote_subst"`' 23609 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 23610 GCC_F77='`$ECHO "$GCC_F77" | $SED "$delay_single_quote_subst"`' 23611 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 23612 lt_prog_compiler_no_builtin_flag_F77='`$ECHO "$lt_prog_compiler_no_builtin_flag_F77" | $SED "$delay_single_quote_subst"`' 23613 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 23614 lt_prog_compiler_pic_F77='`$ECHO "$lt_prog_compiler_pic_F77" | $SED "$delay_single_quote_subst"`' 23615 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 23616 lt_prog_compiler_wl_F77='`$ECHO "$lt_prog_compiler_wl_F77" | $SED "$delay_single_quote_subst"`' 23617 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 23618 lt_prog_compiler_static_F77='`$ECHO "$lt_prog_compiler_static_F77" | $SED "$delay_single_quote_subst"`' 23619 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 23620 lt_cv_prog_compiler_c_o_F77='`$ECHO "$lt_cv_prog_compiler_c_o_F77" | $SED "$delay_single_quote_subst"`' 23621 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 23622 archive_cmds_need_lc_F77='`$ECHO "$archive_cmds_need_lc_F77" | $SED "$delay_single_quote_subst"`' 23623 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 23624 enable_shared_with_static_runtimes_F77='`$ECHO "$enable_shared_with_static_runtimes_F77" | $SED "$delay_single_quote_subst"`' 23625 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 23626 export_dynamic_flag_spec_F77='`$ECHO "$export_dynamic_flag_spec_F77" | $SED "$delay_single_quote_subst"`' 23627 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 23628 whole_archive_flag_spec_F77='`$ECHO "$whole_archive_flag_spec_F77" | $SED "$delay_single_quote_subst"`' 23629 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 23630 compiler_needs_object_F77='`$ECHO "$compiler_needs_object_F77" | $SED "$delay_single_quote_subst"`' 23631 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 23632 old_archive_from_new_cmds_F77='`$ECHO "$old_archive_from_new_cmds_F77" | $SED "$delay_single_quote_subst"`' 23633 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 23634 old_archive_from_expsyms_cmds_F77='`$ECHO "$old_archive_from_expsyms_cmds_F77" | $SED "$delay_single_quote_subst"`' 23635 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 23636 archive_cmds_F77='`$ECHO "$archive_cmds_F77" | $SED "$delay_single_quote_subst"`' 23637 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 23638 archive_expsym_cmds_F77='`$ECHO "$archive_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`' 23639 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 23640 module_cmds_F77='`$ECHO "$module_cmds_F77" | $SED "$delay_single_quote_subst"`' 23641 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 23642 module_expsym_cmds_F77='`$ECHO "$module_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`' 23643 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 23644 with_gnu_ld_F77='`$ECHO "$with_gnu_ld_F77" | $SED "$delay_single_quote_subst"`' 23645 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 23646 allow_undefined_flag_F77='`$ECHO "$allow_undefined_flag_F77" | $SED "$delay_single_quote_subst"`' 23647 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 23648 no_undefined_flag_F77='`$ECHO "$no_undefined_flag_F77" | $SED "$delay_single_quote_subst"`' 23649 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 23650 hardcode_libdir_flag_spec_F77='`$ECHO "$hardcode_libdir_flag_spec_F77" | $SED "$delay_single_quote_subst"`' 23651 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 23652 hardcode_libdir_separator_F77='`$ECHO "$hardcode_libdir_separator_F77" | $SED "$delay_single_quote_subst"`' 23653 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 23654 hardcode_direct_F77='`$ECHO "$hardcode_direct_F77" | $SED "$delay_single_quote_subst"`' 23655 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 23656 hardcode_direct_absolute_F77='`$ECHO "$hardcode_direct_absolute_F77" | $SED "$delay_single_quote_subst"`' 23657 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 23658 hardcode_minus_L_F77='`$ECHO "$hardcode_minus_L_F77" | $SED "$delay_single_quote_subst"`' 23659 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 23660 hardcode_shlibpath_var_F77='`$ECHO "$hardcode_shlibpath_var_F77" | $SED "$delay_single_quote_subst"`' 23661 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 23662 hardcode_automatic_F77='`$ECHO "$hardcode_automatic_F77" | $SED "$delay_single_quote_subst"`' 23663 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 23664 inherit_rpath_F77='`$ECHO "$inherit_rpath_F77" | $SED "$delay_single_quote_subst"`' 23665 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 23666 link_all_deplibs_F77='`$ECHO "$link_all_deplibs_F77" | $SED "$delay_single_quote_subst"`' 23667 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 23668 always_export_symbols_F77='`$ECHO "$always_export_symbols_F77" | $SED "$delay_single_quote_subst"`' 23669 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 23670 export_symbols_cmds_F77='`$ECHO "$export_symbols_cmds_F77" | $SED "$delay_single_quote_subst"`' 23671 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 23672 exclude_expsyms_F77='`$ECHO "$exclude_expsyms_F77" | $SED "$delay_single_quote_subst"`' 23673 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 23674 include_expsyms_F77='`$ECHO "$include_expsyms_F77" | $SED "$delay_single_quote_subst"`' 23675 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 23676 prelink_cmds_F77='`$ECHO "$prelink_cmds_F77" | $SED "$delay_single_quote_subst"`' 23677 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 23678 postlink_cmds_F77='`$ECHO "$postlink_cmds_F77" | $SED "$delay_single_quote_subst"`' 23679 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 23680 file_list_spec_F77='`$ECHO "$file_list_spec_F77" | $SED "$delay_single_quote_subst"`' 23681 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 23682 hardcode_action_F77='`$ECHO "$hardcode_action_F77" | $SED "$delay_single_quote_subst"`' 23683 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 23684 compiler_lib_search_dirs_F77='`$ECHO "$compiler_lib_search_dirs_F77" | $SED "$delay_single_quote_subst"`' 23685 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 23686 predep_objects_F77='`$ECHO "$predep_objects_F77" | $SED "$delay_single_quote_subst"`' 23687 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 23688 postdep_objects_F77='`$ECHO "$postdep_objects_F77" | $SED "$delay_single_quote_subst"`' 23689 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 23690 predeps_F77='`$ECHO "$predeps_F77" | $SED "$delay_single_quote_subst"`' 23691 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 23692 postdeps_F77='`$ECHO "$postdeps_F77" | $SED "$delay_single_quote_subst"`' 23693 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 23694 compiler_lib_search_path_F77='`$ECHO "$compiler_lib_search_path_F77" | $SED "$delay_single_quote_subst"`' 23695 23696 LTCC='$LTCC' 23697 LTCFLAGS='$LTCFLAGS' 23698 compiler='$compiler_DEFAULT' 23699 23700 # A function that is used when there is no print builtin or printf. 23701 func_fallback_echo () 23702 { 23703 eval 'cat <<_LTECHO_EOF 23704 \$1 23705 _LTECHO_EOF' 23706 } 23707 23708 # Quote evaled strings. 23709 for var in SHELL \ 23710 ECHO \ 23711 PATH_SEPARATOR \ 23712 SED \ 23713 GREP \ 23714 EGREP \ 23715 FGREP \ 23716 LD \ 23717 NM \ 23718 LN_S \ 23719 lt_SP2NL \ 23720 lt_NL2SP \ 23721 reload_flag \ 23722 OBJDUMP \ 23723 deplibs_check_method \ 23724 file_magic_cmd \ 23725 file_magic_glob \ 23726 want_nocaseglob \ 23727 DLLTOOL \ 23728 sharedlib_from_linklib_cmd \ 23729 AR \ 23730 AR_FLAGS \ 23731 archiver_list_spec \ 23732 STRIP \ 23733 RANLIB \ 23734 CC \ 23735 CFLAGS \ 23736 compiler \ 23737 lt_cv_sys_global_symbol_pipe \ 23738 lt_cv_sys_global_symbol_to_cdecl \ 23739 lt_cv_sys_global_symbol_to_c_name_address \ 23740 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 23741 nm_file_list_spec \ 23742 lt_prog_compiler_no_builtin_flag \ 23743 lt_prog_compiler_pic \ 23744 lt_prog_compiler_wl \ 23745 lt_prog_compiler_static \ 23746 lt_cv_prog_compiler_c_o \ 23747 need_locks \ 23748 MANIFEST_TOOL \ 23749 DSYMUTIL \ 23750 NMEDIT \ 23751 LIPO \ 23752 OTOOL \ 23753 OTOOL64 \ 23754 shrext_cmds \ 23755 export_dynamic_flag_spec \ 23756 whole_archive_flag_spec \ 23757 compiler_needs_object \ 23758 with_gnu_ld \ 23759 allow_undefined_flag \ 23760 no_undefined_flag \ 23761 hardcode_libdir_flag_spec \ 23762 hardcode_libdir_separator \ 23763 exclude_expsyms \ 23764 include_expsyms \ 23765 file_list_spec \ 23766 variables_saved_for_relink \ 23767 libname_spec \ 23768 library_names_spec \ 23769 soname_spec \ 23770 install_override_mode \ 23771 finish_eval \ 23772 old_striplib \ 23773 striplib \ 23774 compiler_lib_search_dirs \ 23775 predep_objects \ 23776 postdep_objects \ 23777 predeps \ 23778 postdeps \ 23779 compiler_lib_search_path \ 23780 LD_CXX \ 23781 LD_F77 \ 23782 reload_flag_CXX \ 23783 reload_flag_F77 \ 23784 compiler_CXX \ 23785 compiler_F77 \ 23786 lt_prog_compiler_no_builtin_flag_CXX \ 23787 lt_prog_compiler_no_builtin_flag_F77 \ 23788 lt_prog_compiler_pic_CXX \ 23789 lt_prog_compiler_pic_F77 \ 23790 lt_prog_compiler_wl_CXX \ 23791 lt_prog_compiler_wl_F77 \ 23792 lt_prog_compiler_static_CXX \ 23793 lt_prog_compiler_static_F77 \ 23794 lt_cv_prog_compiler_c_o_CXX \ 23795 lt_cv_prog_compiler_c_o_F77 \ 23796 export_dynamic_flag_spec_CXX \ 23797 export_dynamic_flag_spec_F77 \ 23798 whole_archive_flag_spec_CXX \ 23799 whole_archive_flag_spec_F77 \ 23800 compiler_needs_object_CXX \ 23801 compiler_needs_object_F77 \ 23802 with_gnu_ld_CXX \ 23803 with_gnu_ld_F77 \ 23804 allow_undefined_flag_CXX \ 23805 allow_undefined_flag_F77 \ 23806 no_undefined_flag_CXX \ 23807 no_undefined_flag_F77 \ 23808 hardcode_libdir_flag_spec_CXX \ 23809 hardcode_libdir_flag_spec_F77 \ 23810 hardcode_libdir_separator_CXX \ 23811 hardcode_libdir_separator_F77 \ 23812 exclude_expsyms_CXX \ 23813 exclude_expsyms_F77 \ 23814 include_expsyms_CXX \ 23815 include_expsyms_F77 \ 23816 file_list_spec_CXX \ 23817 file_list_spec_F77 \ 23818 compiler_lib_search_dirs_CXX \ 23819 compiler_lib_search_dirs_F77 \ 23820 predep_objects_CXX \ 23821 predep_objects_F77 \ 23822 postdep_objects_CXX \ 23823 postdep_objects_F77 \ 23824 predeps_CXX \ 23825 predeps_F77 \ 23826 postdeps_CXX \ 23827 postdeps_F77 \ 23828 compiler_lib_search_path_CXX \ 23829 compiler_lib_search_path_F77; do 23830 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 23831 *[\\\\\\\`\\"\\\$]*) 23832 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 23833 ;; 23834 *) 23835 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 23836 ;; 23837 esac 23838 done 23839 23840 # Double-quote double-evaled strings. 23841 for var in reload_cmds \ 23842 old_postinstall_cmds \ 23843 old_postuninstall_cmds \ 23844 old_archive_cmds \ 23845 extract_expsyms_cmds \ 23846 old_archive_from_new_cmds \ 23847 old_archive_from_expsyms_cmds \ 23848 archive_cmds \ 23849 archive_expsym_cmds \ 23850 module_cmds \ 23851 module_expsym_cmds \ 23852 export_symbols_cmds \ 23853 prelink_cmds \ 23854 postlink_cmds \ 23855 postinstall_cmds \ 23856 postuninstall_cmds \ 23857 finish_cmds \ 23858 sys_lib_search_path_spec \ 23859 sys_lib_dlsearch_path_spec \ 23860 reload_cmds_CXX \ 23861 reload_cmds_F77 \ 23862 old_archive_cmds_CXX \ 23863 old_archive_cmds_F77 \ 23864 old_archive_from_new_cmds_CXX \ 23865 old_archive_from_new_cmds_F77 \ 23866 old_archive_from_expsyms_cmds_CXX \ 23867 old_archive_from_expsyms_cmds_F77 \ 23868 archive_cmds_CXX \ 23869 archive_cmds_F77 \ 23870 archive_expsym_cmds_CXX \ 23871 archive_expsym_cmds_F77 \ 23872 module_cmds_CXX \ 23873 module_cmds_F77 \ 23874 module_expsym_cmds_CXX \ 23875 module_expsym_cmds_F77 \ 23876 export_symbols_cmds_CXX \ 23877 export_symbols_cmds_F77 \ 23878 prelink_cmds_CXX \ 23879 prelink_cmds_F77 \ 23880 postlink_cmds_CXX \ 23881 postlink_cmds_F77; do 23882 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 23883 *[\\\\\\\`\\"\\\$]*) 23884 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 23885 ;; 23886 *) 23887 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 23888 ;; 23889 esac 23890 done 23891 23892 ac_aux_dir='$ac_aux_dir' 23893 xsi_shell='$xsi_shell' 23894 lt_shell_append='$lt_shell_append' 23895 23896 # See if we are running on zsh, and set the options which allow our 23897 # commands through without removal of \ escapes INIT. 23898 if test -n "\${ZSH_VERSION+set}" ; then 23899 setopt NO_GLOB_SUBST 23900 fi 23901 23902 23903 PACKAGE='$PACKAGE' 23904 VERSION='$VERSION' 23905 TIMESTAMP='$TIMESTAMP' 23906 RM='$RM' 23907 ofile='$ofile' 23908 23909 23910 23911 23912 23913 23914 23915 29742 23916 _ACEOF 29743 23917 29744 cat >>$CONFIG_STATUS <<_ACEOF 29745 ac_cs_version="\\ 29746 config.status 29747 configured by $0, generated by GNU Autoconf 2.59, 29748 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 29749 29750 Copyright (C) 2003 Free Software Foundation, Inc. 29751 This config.status script is free software; the Free Software Foundation 29752 gives unlimited permission to copy, distribute and modify it." 29753 srcdir=$srcdir 29754 INSTALL="$INSTALL" 29755 _ACEOF 29756 29757 cat >>$CONFIG_STATUS <<\_ACEOF 29758 # If no file are specified by the user, then we need to provide default 29759 # value. By we need to know if files were specified by the user. 29760 ac_need_defaults=: 29761 while test $# != 0 29762 do 29763 case $1 in 29764 --*=*) 29765 ac_option=`expr "x$1" : 'x\([^=]*\)='` 29766 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 29767 ac_shift=: 29768 ;; 29769 -*) 29770 ac_option=$1 29771 ac_optarg=$2 29772 ac_shift=shift 29773 ;; 29774 *) # This is not an option, so the user has probably given explicit 29775 # arguments. 29776 ac_option=$1 29777 ac_need_defaults=false;; 29778 esac 29779 29780 case $ac_option in 29781 # Handling of the options. 29782 _ACEOF 29783 cat >>$CONFIG_STATUS <<\_ACEOF 29784 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 29785 ac_cs_recheck=: ;; 29786 --version | --vers* | -V ) 29787 echo "$ac_cs_version"; exit 0 ;; 29788 --he | --h) 29789 # Conflict between --help and --header 29790 { { echo "$as_me:$LINENO: error: ambiguous option: $1 29791 Try \`$0 --help' for more information." >&5 29792 echo "$as_me: error: ambiguous option: $1 29793 Try \`$0 --help' for more information." >&2;} 29794 { (exit 1); exit 1; }; };; 29795 --help | --hel | -h ) 29796 echo "$ac_cs_usage"; exit 0 ;; 29797 --debug | --d* | -d ) 29798 debug=: ;; 29799 --file | --fil | --fi | --f ) 29800 $ac_shift 29801 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 29802 ac_need_defaults=false;; 29803 --header | --heade | --head | --hea ) 29804 $ac_shift 29805 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 29806 ac_need_defaults=false;; 29807 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 29808 | -silent | --silent | --silen | --sile | --sil | --si | --s) 29809 ac_cs_silent=: ;; 29810 29811 # This is an error. 29812 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 29813 Try \`$0 --help' for more information." >&5 29814 echo "$as_me: error: unrecognized option: $1 29815 Try \`$0 --help' for more information." >&2;} 29816 { (exit 1); exit 1; }; } ;; 29817 29818 *) ac_config_targets="$ac_config_targets $1" ;; 29819 29820 esac 29821 shift 29822 done 29823 29824 ac_configure_extra_args= 29825 29826 if $ac_cs_silent; then 29827 exec 6>/dev/null 29828 ac_configure_extra_args="$ac_configure_extra_args --silent" 29829 fi 29830 29831 _ACEOF 29832 cat >>$CONFIG_STATUS <<_ACEOF 29833 if \$ac_cs_recheck; then 29834 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 29835 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 29836 fi 29837 29838 _ACEOF 29839 29840 29841 29842 29843 29844 cat >>$CONFIG_STATUS <<\_ACEOF 23918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 23919 23920 # Handling of arguments. 29845 23921 for ac_config_target in $ac_config_targets 29846 23922 do 29847 case "$ac_config_target" in 29848 # Handling of arguments. 29849 "lib/LocalMakefile" ) CONFIG_FILES="$CONFIG_FILES lib/LocalMakefile" ;; 29850 "lib/cca/components.cca" ) CONFIG_FILES="$CONFIG_FILES lib/cca/components.cca" ;; 29851 "bin/sc-config" ) CONFIG_FILES="$CONFIG_FILES bin/sc-config" ;; 29852 "bin/mkf77sym.pl" ) CONFIG_FILES="$CONFIG_FILES bin/mkf77sym.pl" ;; 29853 "src/bin/mpqc/mpqcrun" ) CONFIG_FILES="$CONFIG_FILES src/bin/mpqc/mpqcrun" ;; 29854 "src/bin/mpqc/ccarun" ) CONFIG_FILES="$CONFIG_FILES src/bin/mpqc/ccarun" ;; 29855 "src/bin/mpqc/validate/makeccain.pl" ) CONFIG_FILES="$CONFIG_FILES src/bin/mpqc/validate/makeccain.pl" ;; 29856 "doc/doxygen.cfg" ) CONFIG_FILES="$CONFIG_FILES doc/doxygen.cfg" ;; 29857 "doc/doxygen.man1.cfg" ) CONFIG_FILES="$CONFIG_FILES doc/doxygen.man1.cfg" ;; 29858 "doc/doxygen.man3.cfg" ) CONFIG_FILES="$CONFIG_FILES doc/doxygen.man3.cfg" ;; 29859 "src/lib/scconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/lib/scconfig.h" ;; 29860 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 29861 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 29862 { (exit 1); exit 1; }; };; 23923 case $ac_config_target in 23924 "src/lib/scconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS src/lib/scconfig.h" ;; 23925 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 23926 "lib/LocalMakefile") CONFIG_FILES="$CONFIG_FILES lib/LocalMakefile" ;; 23927 "lib/cca/components.cca") CONFIG_FILES="$CONFIG_FILES lib/cca/components.cca" ;; 23928 "bin/sc-config") CONFIG_FILES="$CONFIG_FILES bin/sc-config" ;; 23929 "bin/mkf77sym.pl") CONFIG_FILES="$CONFIG_FILES bin/mkf77sym.pl" ;; 23930 "src/bin/mpqc/mpqcrun") CONFIG_FILES="$CONFIG_FILES src/bin/mpqc/mpqcrun" ;; 23931 "src/bin/mpqc/ccarun") CONFIG_FILES="$CONFIG_FILES src/bin/mpqc/ccarun" ;; 23932 "src/bin/mpqc/validate/makeccain.pl") CONFIG_FILES="$CONFIG_FILES src/bin/mpqc/validate/makeccain.pl" ;; 23933 "doc/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES doc/doxygen.cfg" ;; 23934 "doc/doxygen.man1.cfg") CONFIG_FILES="$CONFIG_FILES doc/doxygen.man1.cfg" ;; 23935 "doc/doxygen.man3.cfg") CONFIG_FILES="$CONFIG_FILES doc/doxygen.man3.cfg" ;; 23936 23937 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 29863 23938 esac 29864 23939 done 23940 29865 23941 29866 23942 # If the user did not use the arguments to specify the items to instantiate, … … 29871 23947 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 29872 23948 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 23949 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 29873 23950 fi 29874 23951 29875 23952 # Have a temporary directory for convenience. Make it in the build tree 29876 # simply because there is no reason to putit here, and in addition,23953 # simply because there is no reason against having it here, and in addition, 29877 23954 # creating and moving files from /tmp can sometimes cause problems. 29878 # Create a temporary directory, and hook for its removal unless debugging. 23955 # Hook for its removal unless debugging. 23956 # Note that there is a small window in which the directory will not be cleaned: 23957 # after its creation but before its name has been assigned to `$tmp'. 29879 23958 $debug || 29880 23959 { 29881 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 29882 trap '{ (exit 1); exit 1; }' 1 2 13 15 23960 tmp= ac_tmp= 23961 trap 'exit_status=$? 23962 : "${ac_tmp:=$tmp}" 23963 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 23964 ' 0 23965 trap 'as_fn_exit 1' 1 2 13 15 29883 23966 } 29884 29885 23967 # Create a (secure) tmp directory for tmp files. 29886 23968 29887 23969 { 29888 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&29889 test - n "$tmp" && test -d "$tmp"23970 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 23971 test -d "$tmp" 29890 23972 } || 29891 23973 { 29892 tmp=./confstat$$-$RANDOM 29893 (umask 077 && mkdir $tmp) 29894 } || 23974 tmp=./conf$$-$RANDOM 23975 (umask 077 && mkdir "$tmp") 23976 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 23977 ac_tmp=$tmp 23978 23979 # Set up the scripts for CONFIG_FILES section. 23980 # No need to generate them if there are no CONFIG_FILES. 23981 # This happens for instance with `./config.status config.h'. 23982 if test -n "$CONFIG_FILES"; then 23983 23984 23985 ac_cr=`echo X | tr X '\015'` 23986 # On cygwin, bash can eat \r inside `` if the user requested igncr. 23987 # But we know of no other shell where ac_cr would be empty at this 23988 # point, so we can use a bashism as a fallback. 23989 if test "x$ac_cr" = x; then 23990 eval ac_cr=\$\'\\r\' 23991 fi 23992 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 23993 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 23994 ac_cs_awk_cr='\\r' 23995 else 23996 ac_cs_awk_cr=$ac_cr 23997 fi 23998 23999 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 24000 _ACEOF 24001 24002 29895 24003 { 29896 echo "$me: cannot create a temporary directory in ." >&2 29897 { (exit 1); exit 1; } 24004 echo "cat >conf$$subs.awk <<_ACEOF" && 24005 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 24006 echo "_ACEOF" 24007 } >conf$$subs.sh || 24008 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 24009 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 24010 ac_delim='%!_!# ' 24011 for ac_last_try in false false false false false :; do 24012 . ./conf$$subs.sh || 24013 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 24014 24015 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 24016 if test $ac_delim_n = $ac_delim_num; then 24017 break 24018 elif $ac_last_try; then 24019 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 24020 else 24021 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 24022 fi 24023 done 24024 rm -f conf$$subs.sh 24025 24026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 24027 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 24028 _ACEOF 24029 sed -n ' 24030 h 24031 s/^/S["/; s/!.*/"]=/ 24032 p 24033 g 24034 s/^[^!]*!// 24035 :repl 24036 t repl 24037 s/'"$ac_delim"'$// 24038 t delim 24039 :nl 24040 h 24041 s/\(.\{148\}\)..*/\1/ 24042 t more1 24043 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 24044 p 24045 n 24046 b repl 24047 :more1 24048 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 24049 p 24050 g 24051 s/.\{148\}// 24052 t nl 24053 :delim 24054 h 24055 s/\(.\{148\}\)..*/\1/ 24056 t more2 24057 s/["\\]/\\&/g; s/^/"/; s/$/"/ 24058 p 24059 b 24060 :more2 24061 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 24062 p 24063 g 24064 s/.\{148\}// 24065 t delim 24066 ' <conf$$subs.awk | sed ' 24067 /^[^""]/{ 24068 N 24069 s/\n// 29898 24070 } 29899 24071 ' >>$CONFIG_STATUS || ac_write_fail=1 24072 rm -f conf$$subs.awk 24073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 24074 _ACAWK 24075 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 24076 for (key in S) S_is_set[key] = 1 24077 FS = "" 24078 24079 } 24080 { 24081 line = $ 0 24082 nfields = split(line, field, "@") 24083 substed = 0 24084 len = length(field[1]) 24085 for (i = 2; i < nfields; i++) { 24086 key = field[i] 24087 keylen = length(key) 24088 if (S_is_set[key]) { 24089 value = S[key] 24090 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 24091 len += length(value) + length(field[++i]) 24092 substed = 1 24093 } else 24094 len += 1 + keylen 24095 } 24096 24097 print line 24098 } 24099 24100 _ACAWK 29900 24101 _ACEOF 29901 29902 cat >>$CONFIG_STATUS <<_ACEOF 29903 29904 # 29905 # CONFIG_FILES section. 29906 # 29907 29908 # No need to generate the scripts if there are no CONFIG_FILES. 29909 # This happens for instance when ./config.status config.h 29910 if test -n "\$CONFIG_FILES"; then 29911 # Protect against being on the right side of a sed subst in config.status. 29912 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 29913 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 29914 s,@SHELL@,$SHELL,;t t 29915 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 29916 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 29917 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 29918 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 29919 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 29920 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 29921 s,@exec_prefix@,$exec_prefix,;t t 29922 s,@prefix@,$prefix,;t t 29923 s,@program_transform_name@,$program_transform_name,;t t 29924 s,@bindir@,$bindir,;t t 29925 s,@sbindir@,$sbindir,;t t 29926 s,@libexecdir@,$libexecdir,;t t 29927 s,@datadir@,$datadir,;t t 29928 s,@sysconfdir@,$sysconfdir,;t t 29929 s,@sharedstatedir@,$sharedstatedir,;t t 29930 s,@localstatedir@,$localstatedir,;t t 29931 s,@libdir@,$libdir,;t t 29932 s,@includedir@,$includedir,;t t 29933 s,@oldincludedir@,$oldincludedir,;t t 29934 s,@infodir@,$infodir,;t t 29935 s,@mandir@,$mandir,;t t 29936 s,@build_alias@,$build_alias,;t t 29937 s,@host_alias@,$host_alias,;t t 29938 s,@target_alias@,$target_alias,;t t 29939 s,@DEFS@,$DEFS,;t t 29940 s,@ECHO_C@,$ECHO_C,;t t 29941 s,@ECHO_N@,$ECHO_N,;t t 29942 s,@ECHO_T@,$ECHO_T,;t t 29943 s,@LIBS@,$LIBS,;t t 29944 s,@build@,$build,;t t 29945 s,@build_cpu@,$build_cpu,;t t 29946 s,@build_vendor@,$build_vendor,;t t 29947 s,@build_os@,$build_os,;t t 29948 s,@host@,$host,;t t 29949 s,@host_cpu@,$host_cpu,;t t 29950 s,@host_vendor@,$host_vendor,;t t 29951 s,@host_os@,$host_os,;t t 29952 s,@target@,$target,;t t 29953 s,@target_cpu@,$target_cpu,;t t 29954 s,@target_vendor@,$target_vendor,;t t 29955 s,@target_os@,$target_os,;t t 29956 s,@SC_SO_VERSION@,$SC_SO_VERSION,;t t 29957 s,@DOXYGEN_MAN@,$DOXYGEN_MAN,;t t 29958 s,@FOOTER_HTML@,$FOOTER_HTML,;t t 29959 s,@ENABLECCA@,$ENABLECCA,;t t 29960 s,@BUILDID@,$BUILDID,;t t 29961 s,@SC_VERSION@,$SC_VERSION,;t t 29962 s,@ARFLAGS@,$ARFLAGS,;t t 29963 s,@LAUNCH@,$LAUNCH,;t t 29964 s,@CCALAUNCH@,$CCALAUNCH,;t t 29965 s,@scdatadir@,$scdatadir,;t t 29966 s,@scincludedir@,$scincludedir,;t t 29967 s,@CCA_CHEM_CONFIG@,$CCA_CHEM_CONFIG,;t t 29968 s,@compiledir@,$compiledir,;t t 29969 s,@scbindir@,$scbindir,;t t 29970 s,@sclibdir@,$sclibdir,;t t 29971 s,@LN_S@,$LN_S,;t t 29972 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 29973 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 29974 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 29975 s,@RANLIB@,$RANLIB,;t t 29976 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 29977 s,@CC@,$CC,;t t 29978 s,@CFLAGS@,$CFLAGS,;t t 29979 s,@LDFLAGS@,$LDFLAGS,;t t 29980 s,@CPPFLAGS@,$CPPFLAGS,;t t 29981 s,@ac_ct_CC@,$ac_ct_CC,;t t 29982 s,@EXEEXT@,$EXEEXT,;t t 29983 s,@OBJEXT@,$OBJEXT,;t t 29984 s,@CXX@,$CXX,;t t 29985 s,@CXXFLAGS@,$CXXFLAGS,;t t 29986 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 29987 s,@F77@,$F77,;t t 29988 s,@FFLAGS@,$FFLAGS,;t t 29989 s,@ac_ct_F77@,$ac_ct_F77,;t t 29990 s,@FLIBS@,$FLIBS,;t t 29991 s,@CPP@,$CPP,;t t 29992 s,@CXXCPP@,$CXXCPP,;t t 29993 s,@AR@,$AR,;t t 29994 s,@PERL@,$PERL,;t t 29995 s,@WISH@,$WISH,;t t 29996 s,@HAVE_DOT@,$HAVE_DOT,;t t 29997 s,@DOT_PATH@,$DOT_PATH,;t t 29998 s,@EGREP@,$EGREP,;t t 29999 s,@EXTRAINCLUDE@,$EXTRAINCLUDE,;t t 30000 s,@LIBDIRS@,$LIBDIRS,;t t 30001 s,@OBJSUF@,$OBJSUF,;t t 30002 s,@LIBSUF@,$LIBSUF,;t t 30003 s,@CCDEPENDSUF@,$CCDEPENDSUF,;t t 30004 s,@CXXDEPENDSUF@,$CXXDEPENDSUF,;t t 30005 s,@CCDEPENDFLAGS@,$CCDEPENDFLAGS,;t t 30006 s,@CXXDEPENDFLAGS@,$CXXDEPENDFLAGS,;t t 30007 s,@HAVE_PERF@,$HAVE_PERF,;t t 30008 s,@HAVE_MPI@,$HAVE_MPI,;t t 30009 s,@ALWAYS_USE_MPI@,$ALWAYS_USE_MPI,;t t 30010 s,@HAVE_ARMCI@,$HAVE_ARMCI,;t t 30011 s,@HAVE_MPIIO@,$HAVE_MPIIO,;t t 30012 s,@HAVE_PTHREAD@,$HAVE_PTHREAD,;t t 30013 s,@EXTRADEFINES@,$EXTRADEFINES,;t t 30014 s,@HAVE_FCHDIR@,$HAVE_FCHDIR,;t t 30015 s,@HAVE_IOS_FMTFLAGS@,$HAVE_IOS_FMTFLAGS,;t t 30016 s,@HAVE_SGETN@,$HAVE_SGETN,;t t 30017 s,@HAVE_PUBSEEKOFF@,$HAVE_PUBSEEKOFF,;t t 30018 s,@HAVE_SEEKOFF@,$HAVE_SEEKOFF,;t t 30019 s,@HAVE_SYSV_IPC@,$HAVE_SYSV_IPC,;t t 30020 s,@F77_SYMBOLS@,$F77_SYMBOLS,;t t 30021 s,@HAVE_BLAS@,$HAVE_BLAS,;t t 30022 s,@HAVE_LAPACK@,$HAVE_LAPACK,;t t 30023 s,@NIAMACFG@,$NIAMACFG,;t t 30024 s,@HAVE_LIBINT@,$HAVE_LIBINT,;t t 30025 s,@HAVE_LIBR12@,$HAVE_LIBR12,;t t 30026 s,@HAVE_LIBDERIV@,$HAVE_LIBDERIV,;t t 30027 s,@TMPLINST@,$TMPLINST,;t t 30028 s,@TMPLREPO@,$TMPLREPO,;t t 30029 s,@TMPLINLIB@,$TMPLINLIB,;t t 30030 s,@ECHO@,$ECHO,;t t 30031 s,@ac_ct_AR@,$ac_ct_AR,;t t 30032 s,@STRIP@,$STRIP,;t t 30033 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 30034 s,@LIBTOOL@,$LIBTOOL,;t t 30035 s,@ENABLESHARED@,$ENABLESHARED,;t t 30036 s,@CCA_CHEM_INCLUDE@,$CCA_CHEM_INCLUDE,;t t 30037 s,@CCA_CHEM_LIB@,$CCA_CHEM_LIB,;t t 30038 s,@CCA_CHEM_REPO@,$CCA_CHEM_REPO,;t t 30039 s,@CCAFE_CONFIG@,$CCAFE_CONFIG,;t t 30040 s,@CCAFE_INCLUDE@,$CCAFE_INCLUDE,;t t 30041 s,@CCAFE_LIB@,$CCAFE_LIB,;t t 30042 s,@CCAFE_SHARE@,$CCAFE_SHARE,;t t 30043 s,@CCAFE_BIN@,$CCAFE_BIN,;t t 30044 s,@CCA_SPEC_BABEL_CONFIG@,$CCA_SPEC_BABEL_CONFIG,;t t 30045 s,@CCA_SPEC_BABEL_INCLUDE@,$CCA_SPEC_BABEL_INCLUDE,;t t 30046 s,@CCA_SPEC_BABEL_LIB@,$CCA_SPEC_BABEL_LIB,;t t 30047 s,@CCA_SPEC_BABEL_SHARE@,$CCA_SPEC_BABEL_SHARE,;t t 30048 s,@CCA_SPEC_CLASSIC_CONFIG@,$CCA_SPEC_CLASSIC_CONFIG,;t t 30049 s,@CCA_SPEC_CLASSIC_INCLUDE@,$CCA_SPEC_CLASSIC_INCLUDE,;t t 30050 s,@CCA_SPEC_CLASSIC_LIB@,$CCA_SPEC_CLASSIC_LIB,;t t 30051 s,@CCA_SPEC_CLASSIC_SHARE@,$CCA_SPEC_CLASSIC_SHARE,;t t 30052 s,@BABEL_CONFIG@,$BABEL_CONFIG,;t t 30053 s,@BABEL_INCLUDE@,$BABEL_INCLUDE,;t t 30054 s,@BABEL_LIB@,$BABEL_LIB,;t t 30055 s,@BABEL_SHARE@,$BABEL_SHARE,;t t 30056 s,@BABEL_BIN@,$BABEL_BIN,;t t 30057 s,@BABEL_CC@,$BABEL_CC,;t t 30058 s,@BABEL_CFLAGS@,$BABEL_CFLAGS,;t t 30059 s,@BABEL_CXX@,$BABEL_CXX,;t t 30060 s,@BABEL_CXXFLAGS@,$BABEL_CXXFLAGS,;t t 30061 s,@BABEL_LIBTOOL@,$BABEL_LIBTOOL,;t t 30062 s,@CCAFE_MPI_ENABLE@,$CCAFE_MPI_ENABLE,;t t 30063 s,@CCAFE_MPI_INCLUDE@,$CCAFE_MPI_INCLUDE,;t t 30064 s,@CCAFE_MPI_LIB@,$CCAFE_MPI_LIB,;t t 30065 s,@CCAFE_MPI_BIN@,$CCAFE_MPI_BIN,;t t 30066 s,@BABEL_PYTHON@,$BABEL_PYTHON,;t t 30067 s,@BABEL_PYTHON_VERSION@,$BABEL_PYTHON_VERSION,;t t 30068 s,@BABEL_PYTHON_LIB@,$BABEL_PYTHON_LIB,;t t 30069 s,@BABEL_PYTHON_INCLUDE@,$BABEL_PYTHON_INCLUDE,;t t 30070 s,@SCLIBS@,$SCLIBS,;t t 30071 s,@LIBOBJS@,$LIBOBJS,;t t 30072 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 30073 CEOF 30074 24102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 24103 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 24104 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 24105 else 24106 cat 24107 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 24108 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 30075 24109 _ACEOF 30076 24110 30077 cat >>$CONFIG_STATUS <<\_ACEOF 30078 # Split the substitutions into bite-sized pieces for seds with 30079 # small command number limits, like on Digital OSF/1 and HP-UX. 30080 ac_max_sed_lines=48 30081 ac_sed_frag=1 # Number of current file. 30082 ac_beg=1 # First line for current file. 30083 ac_end=$ac_max_sed_lines # Line after last line for current file. 30084 ac_more_lines=: 30085 ac_sed_cmds= 30086 while $ac_more_lines; do 30087 if test $ac_beg -gt 1; then 30088 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 30089 else 30090 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 24111 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 24112 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 24113 # trailing colons and then remove the whole line if VPATH becomes empty 24114 # (actually we leave an empty line to preserve line numbers). 24115 if test "x$srcdir" = x.; then 24116 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 24117 h 24118 s/// 24119 s/^/:/ 24120 s/[ ]*$/:/ 24121 s/:\$(srcdir):/:/g 24122 s/:\${srcdir}:/:/g 24123 s/:@srcdir@:/:/g 24124 s/^:*// 24125 s/:*$// 24126 x 24127 s/\(=[ ]*\).*/\1/ 24128 G 24129 s/\n// 24130 s/^[^=]*=[ ]*$// 24131 }' 24132 fi 24133 24134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 24135 fi # test -n "$CONFIG_FILES" 24136 24137 # Set up the scripts for CONFIG_HEADERS section. 24138 # No need to generate them if there are no CONFIG_HEADERS. 24139 # This happens for instance with `./config.status Makefile'. 24140 if test -n "$CONFIG_HEADERS"; then 24141 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 24142 BEGIN { 24143 _ACEOF 24144 24145 # Transform confdefs.h into an awk script `defines.awk', embedded as 24146 # here-document in config.status, that substitutes the proper values into 24147 # config.h.in to produce config.h. 24148 24149 # Create a delimiter string that does not exist in confdefs.h, to ease 24150 # handling of long lines. 24151 ac_delim='%!_!# ' 24152 for ac_last_try in false false :; do 24153 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 24154 if test -z "$ac_tt"; then 24155 break 24156 elif $ac_last_try; then 24157 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 24158 else 24159 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 24160 fi 24161 done 24162 24163 # For the awk script, D is an array of macro values keyed by name, 24164 # likewise P contains macro parameters if any. Preserve backslash 24165 # newline sequences. 24166 24167 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 24168 sed -n ' 24169 s/.\{148\}/&'"$ac_delim"'/g 24170 t rset 24171 :rset 24172 s/^[ ]*#[ ]*define[ ][ ]*/ / 24173 t def 24174 d 24175 :def 24176 s/\\$// 24177 t bsnl 24178 s/["\\]/\\&/g 24179 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 24180 D["\1"]=" \3"/p 24181 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 24182 d 24183 :bsnl 24184 s/["\\]/\\&/g 24185 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 24186 D["\1"]=" \3\\\\\\n"\\/p 24187 t cont 24188 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 24189 t cont 24190 d 24191 :cont 24192 n 24193 s/.\{148\}/&'"$ac_delim"'/g 24194 t clear 24195 :clear 24196 s/\\$// 24197 t bsnlc 24198 s/["\\]/\\&/g; s/^/"/; s/$/"/p 24199 d 24200 :bsnlc 24201 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 24202 b cont 24203 ' <confdefs.h | sed ' 24204 s/'"$ac_delim"'/"\\\ 24205 "/g' >>$CONFIG_STATUS || ac_write_fail=1 24206 24207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 24208 for (key in D) D_is_set[key] = 1 24209 FS = "" 24210 } 24211 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 24212 line = \$ 0 24213 split(line, arg, " ") 24214 if (arg[1] == "#") { 24215 defundef = arg[2] 24216 mac1 = arg[3] 24217 } else { 24218 defundef = substr(arg[1], 2) 24219 mac1 = arg[2] 24220 } 24221 split(mac1, mac2, "(") #) 24222 macro = mac2[1] 24223 prefix = substr(line, 1, index(line, defundef) - 1) 24224 if (D_is_set[macro]) { 24225 # Preserve the white space surrounding the "#". 24226 print prefix "define", macro P[macro] D[macro] 24227 next 24228 } else { 24229 # Replace #undef with comments. This is necessary, for example, 24230 # in the case of _POSIX_SOURCE, which is predefined and required 24231 # on some systems where configure will not decide to define it. 24232 if (defundef == "undef") { 24233 print "/*", prefix defundef, macro, "*/" 24234 next 24235 } 24236 } 24237 } 24238 { print } 24239 _ACAWK 24240 _ACEOF 24241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 24242 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 24243 fi # test -n "$CONFIG_HEADERS" 24244 24245 24246 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 24247 shift 24248 for ac_tag 24249 do 24250 case $ac_tag in 24251 :[FHLC]) ac_mode=$ac_tag; continue;; 24252 esac 24253 case $ac_mode$ac_tag in 24254 :[FHL]*:*);; 24255 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 24256 :[FH]-) ac_tag=-:-;; 24257 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 24258 esac 24259 ac_save_IFS=$IFS 24260 IFS=: 24261 set x $ac_tag 24262 IFS=$ac_save_IFS 24263 shift 24264 ac_file=$1 24265 shift 24266 24267 case $ac_mode in 24268 :L) ac_source=$1;; 24269 :[FH]) 24270 ac_file_inputs= 24271 for ac_f 24272 do 24273 case $ac_f in 24274 -) ac_f="$ac_tmp/stdin";; 24275 *) # Look for the file first in the build tree, then in the source tree 24276 # (if the path is not absolute). The absolute path cannot be DOS-style, 24277 # because $ac_f cannot contain `:'. 24278 test -f "$ac_f" || 24279 case $ac_f in 24280 [\\/$]*) false;; 24281 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 24282 esac || 24283 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 24284 esac 24285 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 24286 as_fn_append ac_file_inputs " '$ac_f'" 24287 done 24288 24289 # Let's still pretend it is `configure' which instantiates (i.e., don't 24290 # use $as_me), people would be surprised to read: 24291 # /* config.h. Generated by config.status. */ 24292 configure_input='Generated from '` 24293 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 24294 `' by configure.' 24295 if test x"$ac_file" != x-; then 24296 configure_input="$ac_file. $configure_input" 24297 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 24298 $as_echo "$as_me: creating $ac_file" >&6;} 30091 24299 fi 30092 if test ! -s $tmp/subs.frag; then 30093 ac_more_lines=false 30094 else 30095 # The purpose of the label and of the branching condition is to 30096 # speed up the sed processing (if there are no `@' at all, there 30097 # is no need to browse any of the substitutions). 30098 # These are the two extra sed commands mentioned above. 30099 (echo ':t 30100 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 30101 if test -z "$ac_sed_cmds"; then 30102 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 30103 else 30104 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 30105 fi 30106 ac_sed_frag=`expr $ac_sed_frag + 1` 30107 ac_beg=$ac_end 30108 ac_end=`expr $ac_end + $ac_max_sed_lines` 30109 fi 30110 done 30111 if test -z "$ac_sed_cmds"; then 30112 ac_sed_cmds=cat 30113 fi 30114 fi # test -n "$CONFIG_FILES" 30115 30116 _ACEOF 30117 cat >>$CONFIG_STATUS <<\_ACEOF 30118 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 30119 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 30120 case $ac_file in 30121 - | *:- | *:-:* ) # input from stdin 30122 cat >$tmp/stdin 30123 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 30124 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 30125 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 30126 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 30127 * ) ac_file_in=$ac_file.in ;; 24300 # Neutralize special characters interpreted by sed in replacement strings. 24301 case $configure_input in #( 24302 *\&* | *\|* | *\\* ) 24303 ac_sed_conf_input=`$as_echo "$configure_input" | 24304 sed 's/[\\\\&|]/\\\\&/g'`;; #( 24305 *) ac_sed_conf_input=$configure_input;; 24306 esac 24307 24308 case $ac_tag in 24309 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 24310 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 24311 esac 24312 ;; 30128 24313 esac 30129 24314 30130 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 30131 ac_dir=`(dirname "$ac_file") 2>/dev/null || 24315 ac_dir=`$as_dirname -- "$ac_file" || 30132 24316 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 30133 24317 X"$ac_file" : 'X\(//\)[^/]' \| \ 30134 24318 X"$ac_file" : 'X\(//\)$' \| \ 30135 X"$ac_file" : 'X\(/\)' \| \ 30136 . : '\(.\)' 2>/dev/null || 30137 echo X"$ac_file" | 30138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 30139 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 30140 /^X\(\/\/\)$/{ s//\1/; q; } 30141 /^X\(\/\).*/{ s//\1/; q; } 30142 s/.*/./; q'` 30143 { if $as_mkdir_p; then 30144 mkdir -p "$ac_dir" 30145 else 30146 as_dir="$ac_dir" 30147 as_dirs= 30148 while test ! -d "$as_dir"; do 30149 as_dirs="$as_dir $as_dirs" 30150 as_dir=`(dirname "$as_dir") 2>/dev/null || 30151 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 30152 X"$as_dir" : 'X\(//\)[^/]' \| \ 30153 X"$as_dir" : 'X\(//\)$' \| \ 30154 X"$as_dir" : 'X\(/\)' \| \ 30155 . : '\(.\)' 2>/dev/null || 30156 echo X"$as_dir" | 30157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 30158 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 30159 /^X\(\/\/\)$/{ s//\1/; q; } 30160 /^X\(\/\).*/{ s//\1/; q; } 30161 s/.*/./; q'` 30162 done 30163 test ! -n "$as_dirs" || mkdir $as_dirs 30164 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 30165 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 30166 { (exit 1); exit 1; }; }; } 30167 24319 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 24320 $as_echo X"$ac_file" | 24321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 24322 s//\1/ 24323 q 24324 } 24325 /^X\(\/\/\)[^/].*/{ 24326 s//\1/ 24327 q 24328 } 24329 /^X\(\/\/\)$/{ 24330 s//\1/ 24331 q 24332 } 24333 /^X\(\/\).*/{ 24334 s//\1/ 24335 q 24336 } 24337 s/.*/./; q'` 24338 as_dir="$ac_dir"; as_fn_mkdir_p 30168 24339 ac_builddir=. 30169 24340 30170 if test "$ac_dir" != .; then 30171 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 30172 # A "../" for each directory in $ac_dir_suffix. 30173 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 30174 else 30175 ac_dir_suffix= ac_top_builddir= 30176 fi 24341 case "$ac_dir" in 24342 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 24343 *) 24344 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 24345 # A ".." for each directory in $ac_dir_suffix. 24346 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 24347 case $ac_top_builddir_sub in 24348 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 24349 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 24350 esac ;; 24351 esac 24352 ac_abs_top_builddir=$ac_pwd 24353 ac_abs_builddir=$ac_pwd$ac_dir_suffix 24354 # for backward compatibility: 24355 ac_top_builddir=$ac_top_build_prefix 30177 24356 30178 24357 case $srcdir in 30179 .) # No --srcdir option.We are building in place.24358 .) # We are building in place. 30180 24359 ac_srcdir=. 30181 if test -z "$ac_top_builddir"; then 30182 ac_top_srcdir=. 30183 else 30184 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 30185 fi ;; 30186 [\\/]* | ?:[\\/]* ) # Absolute path. 24360 ac_top_srcdir=$ac_top_builddir_sub 24361 ac_abs_top_srcdir=$ac_pwd ;; 24362 [\\/]* | ?:[\\/]* ) # Absolute name. 30187 24363 ac_srcdir=$srcdir$ac_dir_suffix; 30188 ac_top_srcdir=$srcdir ;; 30189 *) # Relative path. 30190 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 30191 ac_top_srcdir=$ac_top_builddir$srcdir ;; 24364 ac_top_srcdir=$srcdir 24365 ac_abs_top_srcdir=$srcdir ;; 24366 *) # Relative name. 24367 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 24368 ac_top_srcdir=$ac_top_build_prefix$srcdir 24369 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 30192 24370 esac 30193 30194 # Do not use `cd foo && pwd` to compute absolute paths, because 30195 # the directories may not exist. 30196 case `pwd` in 30197 .) ac_abs_builddir="$ac_dir";; 30198 *) 30199 case "$ac_dir" in 30200 .) ac_abs_builddir=`pwd`;; 30201 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 30202 *) ac_abs_builddir=`pwd`/"$ac_dir";; 30203 esac;; 30204 esac 30205 case $ac_abs_builddir in 30206 .) ac_abs_top_builddir=${ac_top_builddir}.;; 30207 *) 30208 case ${ac_top_builddir}. in 30209 .) ac_abs_top_builddir=$ac_abs_builddir;; 30210 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 30211 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 30212 esac;; 30213 esac 30214 case $ac_abs_builddir in 30215 .) ac_abs_srcdir=$ac_srcdir;; 30216 *) 30217 case $ac_srcdir in 30218 .) ac_abs_srcdir=$ac_abs_builddir;; 30219 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 30220 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 30221 esac;; 30222 esac 30223 case $ac_abs_builddir in 30224 .) ac_abs_top_srcdir=$ac_top_srcdir;; 30225 *) 30226 case $ac_top_srcdir in 30227 .) ac_abs_top_srcdir=$ac_abs_builddir;; 30228 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 30229 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 30230 esac;; 30231 esac 30232 24371 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 24372 24373 24374 case $ac_mode in 24375 :F) 24376 # 24377 # CONFIG_FILE 24378 # 30233 24379 30234 24380 case $INSTALL in 30235 24381 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 30236 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;24382 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 30237 24383 esac 30238 30239 if test x"$ac_file" != x-; then30240 { echo "$as_me:$LINENO: creating $ac_file" >&530241 echo "$as_me: creating $ac_file" >&6;}30242 rm -f "$ac_file"30243 fi30244 # Let's still pretend it is `configure' which instantiates (i.e., don't30245 # use $as_me), people would be surprised to read:30246 # /* config.h. Generated by config.status. */30247 if test x"$ac_file" = x-; then30248 configure_input=30249 else30250 configure_input="$ac_file. "30251 fi30252 configure_input=$configure_input"Generated from `echo $ac_file_in |30253 sed 's,.*/,,'` by configure."30254 30255 # First look for the input files in the build tree, otherwise in the30256 # src tree.30257 ac_file_inputs=`IFS=:30258 for f in $ac_file_in; do30259 case $f in30260 -) echo $tmp/stdin ;;30261 [\\/$]*)30262 # Absolute (can't be DOS-style, as IFS=:)30263 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&530264 echo "$as_me: error: cannot find input file: $f" >&2;}30265 { (exit 1); exit 1; }; }30266 echo "$f";;30267 *) # Relative30268 if test -f "$f"; then30269 # Build tree30270 echo "$f"30271 elif test -f "$srcdir/$f"; then30272 # Source tree30273 echo "$srcdir/$f"30274 else30275 # /dev/null tree30276 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&530277 echo "$as_me: error: cannot find input file: $f" >&2;}30278 { (exit 1); exit 1; }; }30279 fi;;30280 esac30281 done` || { (exit 1); exit 1; }30282 24384 _ACEOF 30283 cat >>$CONFIG_STATUS <<_ACEOF 30284 sed "$ac_vpsub 24385 24386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 24387 # If the template does not know about datarootdir, expand it. 24388 # FIXME: This hack should be removed a few years after 2.60. 24389 ac_datarootdir_hack=; ac_datarootdir_seen= 24390 ac_sed_dataroot=' 24391 /datarootdir/ { 24392 p 24393 q 24394 } 24395 /@datadir@/p 24396 /@docdir@/p 24397 /@infodir@/p 24398 /@localedir@/p 24399 /@mandir@/p' 24400 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 24401 *datarootdir*) ac_datarootdir_seen=yes;; 24402 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 24403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 24404 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 24405 _ACEOF 24406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 24407 ac_datarootdir_hack=' 24408 s&@datadir@&$datadir&g 24409 s&@docdir@&$docdir&g 24410 s&@infodir@&$infodir&g 24411 s&@localedir@&$localedir&g 24412 s&@mandir@&$mandir&g 24413 s&\\\${datarootdir}&$datarootdir&g' ;; 24414 esac 24415 _ACEOF 24416 24417 # Neutralize VPATH when `$srcdir' = `.'. 24418 # Shell code in configure.ac might set extrasub. 24419 # FIXME: do we really want to maintain this feature? 24420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 24421 ac_sed_extra="$ac_vpsub 30285 24422 $extrasub 30286 24423 _ACEOF 30287 cat >>$CONFIG_STATUS <<\_ACEOF 24424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30288 24425 :t 30289 24426 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 30290 s,@configure_input@,$configure_input,;t t 30291 s,@srcdir@,$ac_srcdir,;t t 30292 s,@abs_srcdir@,$ac_abs_srcdir,;t t 30293 s,@top_srcdir@,$ac_top_srcdir,;t t 30294 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 30295 s,@builddir@,$ac_builddir,;t t 30296 s,@abs_builddir@,$ac_abs_builddir,;t t 30297 s,@top_builddir@,$ac_top_builddir,;t t 30298 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 30299 s,@INSTALL@,$ac_INSTALL,;t t 30300 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 30301 rm -f $tmp/stdin 24427 s|@configure_input@|$ac_sed_conf_input|;t t 24428 s&@top_builddir@&$ac_top_builddir_sub&;t t 24429 s&@top_build_prefix@&$ac_top_build_prefix&;t t 24430 s&@srcdir@&$ac_srcdir&;t t 24431 s&@abs_srcdir@&$ac_abs_srcdir&;t t 24432 s&@top_srcdir@&$ac_top_srcdir&;t t 24433 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 24434 s&@builddir@&$ac_builddir&;t t 24435 s&@abs_builddir@&$ac_abs_builddir&;t t 24436 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 24437 s&@INSTALL@&$ac_INSTALL&;t t 24438 $ac_datarootdir_hack 24439 " 24440 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 24441 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 24442 24443 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 24444 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 24445 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 24446 "$ac_tmp/out"`; test -z "$ac_out"; } && 24447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 24448 which seems to be undefined. Please make sure it is defined" >&5 24449 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 24450 which seems to be undefined. Please make sure it is defined" >&2;} 24451 24452 rm -f "$ac_tmp/stdin" 24453 case $ac_file in 24454 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 24455 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 24456 esac \ 24457 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 24458 ;; 24459 :H) 24460 # 24461 # CONFIG_HEADER 24462 # 30302 24463 if test x"$ac_file" != x-; then 30303 mv $tmp/out $ac_file 30304 else 30305 cat $tmp/out 30306 rm -f $tmp/out 30307 fi 30308 30309 done 30310 _ACEOF 30311 cat >>$CONFIG_STATUS <<\_ACEOF 30312 30313 # 30314 # CONFIG_HEADER section. 30315 # 30316 30317 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 30318 # NAME is the cpp macro being defined and VALUE is the value it is being given. 30319 # 30320 # ac_d sets the value in "#define NAME VALUE" lines. 30321 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 30322 ac_dB='[ ].*$,\1#\2' 30323 ac_dC=' ' 30324 ac_dD=',;t' 30325 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 30326 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 30327 ac_uB='$,\1#\2define\3' 30328 ac_uC=' ' 30329 ac_uD=',;t' 30330 30331 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 30332 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 30333 case $ac_file in 30334 - | *:- | *:-:* ) # input from stdin 30335 cat >$tmp/stdin 30336 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 30337 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 30338 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 30339 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 30340 * ) ac_file_in=$ac_file.in ;; 30341 esac 30342 30343 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 30344 echo "$as_me: creating $ac_file" >&6;} 30345 30346 # First look for the input files in the build tree, otherwise in the 30347 # src tree. 30348 ac_file_inputs=`IFS=: 30349 for f in $ac_file_in; do 30350 case $f in 30351 -) echo $tmp/stdin ;; 30352 [\\/$]*) 30353 # Absolute (can't be DOS-style, as IFS=:) 30354 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 30355 echo "$as_me: error: cannot find input file: $f" >&2;} 30356 { (exit 1); exit 1; }; } 30357 # Do quote $f, to prevent DOS paths from being IFS'd. 30358 echo "$f";; 30359 *) # Relative 30360 if test -f "$f"; then 30361 # Build tree 30362 echo "$f" 30363 elif test -f "$srcdir/$f"; then 30364 # Source tree 30365 echo "$srcdir/$f" 30366 else 30367 # /dev/null tree 30368 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 30369 echo "$as_me: error: cannot find input file: $f" >&2;} 30370 { (exit 1); exit 1; }; } 30371 fi;; 30372 esac 30373 done` || { (exit 1); exit 1; } 30374 # Remove the trailing spaces. 30375 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 30376 30377 _ACEOF 30378 30379 # Transform confdefs.h into two sed scripts, `conftest.defines' and 30380 # `conftest.undefs', that substitutes the proper values into 30381 # config.h.in to produce config.h. The first handles `#define' 30382 # templates, and the second `#undef' templates. 30383 # And first: Protect against being on the right side of a sed subst in 30384 # config.status. Protect against being in an unquoted here document 30385 # in config.status. 30386 rm -f conftest.defines conftest.undefs 30387 # Using a here document instead of a string reduces the quoting nightmare. 30388 # Putting comments in sed scripts is not portable. 30389 # 30390 # `end' is used to avoid that the second main sed command (meant for 30391 # 0-ary CPP macros) applies to n-ary macro definitions. 30392 # See the Autoconf documentation for `clear'. 30393 cat >confdef2sed.sed <<\_ACEOF 30394 s/[\\&,]/\\&/g 30395 s,[\\$`],\\&,g 30396 t clear 30397 : clear 30398 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 30399 t end 30400 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 30401 : end 30402 _ACEOF 30403 # If some macros were called several times there might be several times 30404 # the same #defines, which is useless. Nevertheless, we may not want to 30405 # sort them, since we want the *last* AC-DEFINE to be honored. 30406 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 30407 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 30408 rm -f confdef2sed.sed 30409 30410 # This sed command replaces #undef with comments. This is necessary, for 30411 # example, in the case of _POSIX_SOURCE, which is predefined and required 30412 # on some systems where configure will not decide to define it. 30413 cat >>conftest.undefs <<\_ACEOF 30414 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 30415 _ACEOF 30416 30417 # Break up conftest.defines because some shells have a limit on the size 30418 # of here documents, and old seds have small limits too (100 cmds). 30419 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 30420 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 30421 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 30422 echo ' :' >>$CONFIG_STATUS 30423 rm -f conftest.tail 30424 while grep . conftest.defines >/dev/null 30425 do 30426 # Write a limited-size here document to $tmp/defines.sed. 30427 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 30428 # Speed up: don't consider the non `#define' lines. 30429 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 30430 # Work around the forget-to-reset-the-flag bug. 30431 echo 't clr' >>$CONFIG_STATUS 30432 echo ': clr' >>$CONFIG_STATUS 30433 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 30434 echo 'CEOF 30435 sed -f $tmp/defines.sed $tmp/in >$tmp/out 30436 rm -f $tmp/in 30437 mv $tmp/out $tmp/in 30438 ' >>$CONFIG_STATUS 30439 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 30440 rm -f conftest.defines 30441 mv conftest.tail conftest.defines 30442 done 30443 rm -f conftest.defines 30444 echo ' fi # grep' >>$CONFIG_STATUS 30445 echo >>$CONFIG_STATUS 30446 30447 # Break up conftest.undefs because some shells have a limit on the size 30448 # of here documents, and old seds have small limits too (100 cmds). 30449 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 30450 rm -f conftest.tail 30451 while grep . conftest.undefs >/dev/null 30452 do 30453 # Write a limited-size here document to $tmp/undefs.sed. 30454 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 30455 # Speed up: don't consider the non `#undef' 30456 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 30457 # Work around the forget-to-reset-the-flag bug. 30458 echo 't clr' >>$CONFIG_STATUS 30459 echo ': clr' >>$CONFIG_STATUS 30460 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 30461 echo 'CEOF 30462 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 30463 rm -f $tmp/in 30464 mv $tmp/out $tmp/in 30465 ' >>$CONFIG_STATUS 30466 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 30467 rm -f conftest.undefs 30468 mv conftest.tail conftest.undefs 30469 done 30470 rm -f conftest.undefs 30471 30472 cat >>$CONFIG_STATUS <<\_ACEOF 30473 # Let's still pretend it is `configure' which instantiates (i.e., don't 30474 # use $as_me), people would be surprised to read: 30475 # /* config.h. Generated by config.status. */ 30476 if test x"$ac_file" = x-; then 30477 echo "/* Generated by configure. */" >$tmp/config.h 30478 else 30479 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 30480 fi 30481 cat $tmp/in >>$tmp/config.h 30482 rm -f $tmp/in 30483 if test x"$ac_file" != x-; then 30484 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 30485 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 30486 echo "$as_me: $ac_file is unchanged" >&6;} 24464 { 24465 $as_echo "/* $configure_input */" \ 24466 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 24467 } >"$ac_tmp/config.h" \ 24468 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 24469 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 24470 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 24471 $as_echo "$as_me: $ac_file is unchanged" >&6;} 30487 24472 else 30488 ac_dir=`(dirname "$ac_file") 2>/dev/null || 30489 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 30490 X"$ac_file" : 'X\(//\)[^/]' \| \ 30491 X"$ac_file" : 'X\(//\)$' \| \ 30492 X"$ac_file" : 'X\(/\)' \| \ 30493 . : '\(.\)' 2>/dev/null || 30494 echo X"$ac_file" | 30495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 30496 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 30497 /^X\(\/\/\)$/{ s//\1/; q; } 30498 /^X\(\/\).*/{ s//\1/; q; } 30499 s/.*/./; q'` 30500 { if $as_mkdir_p; then 30501 mkdir -p "$ac_dir" 30502 else 30503 as_dir="$ac_dir" 30504 as_dirs= 30505 while test ! -d "$as_dir"; do 30506 as_dirs="$as_dir $as_dirs" 30507 as_dir=`(dirname "$as_dir") 2>/dev/null || 30508 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 30509 X"$as_dir" : 'X\(//\)[^/]' \| \ 30510 X"$as_dir" : 'X\(//\)$' \| \ 30511 X"$as_dir" : 'X\(/\)' \| \ 30512 . : '\(.\)' 2>/dev/null || 30513 echo X"$as_dir" | 30514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 30515 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 30516 /^X\(\/\/\)$/{ s//\1/; q; } 30517 /^X\(\/\).*/{ s//\1/; q; } 30518 s/.*/./; q'` 30519 done 30520 test ! -n "$as_dirs" || mkdir $as_dirs 30521 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 30522 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 30523 { (exit 1); exit 1; }; }; } 30524 30525 rm -f $ac_file 30526 mv $tmp/config.h $ac_file 24473 rm -f "$ac_file" 24474 mv "$ac_tmp/config.h" "$ac_file" \ 24475 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 30527 24476 fi 30528 24477 else 30529 cat $tmp/config.h 30530 rm -f $tmp/config.h 24478 $as_echo "/* $configure_input */" \ 24479 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 24480 || as_fn_error $? "could not create -" "$LINENO" 5 30531 24481 fi 30532 done 24482 ;; 24483 24484 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 24485 $as_echo "$as_me: executing $ac_file commands" >&6;} 24486 ;; 24487 esac 24488 24489 24490 case $ac_file$ac_mode in 24491 "libtool":C) 24492 24493 # See if we are running on zsh, and set the options which allow our 24494 # commands through without removal of \ escapes. 24495 if test -n "${ZSH_VERSION+set}" ; then 24496 setopt NO_GLOB_SUBST 24497 fi 24498 24499 cfgfile="${ofile}T" 24500 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 24501 $RM "$cfgfile" 24502 24503 cat <<_LT_EOF >> "$cfgfile" 24504 #! $SHELL 24505 24506 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 24507 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 24508 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 24509 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 24510 # 24511 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 24512 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software 24513 # Foundation, Inc. 24514 # Written by Gordon Matzigkeit, 1996 24515 # 24516 # This file is part of GNU Libtool. 24517 # 24518 # GNU Libtool is free software; you can redistribute it and/or 24519 # modify it under the terms of the GNU General Public License as 24520 # published by the Free Software Foundation; either version 2 of 24521 # the License, or (at your option) any later version. 24522 # 24523 # As a special exception to the GNU General Public License, 24524 # if you distribute this file as part of a program or library that 24525 # is built using GNU Libtool, you may include this file under the 24526 # same distribution terms that you use for the rest of that program. 24527 # 24528 # GNU Libtool is distributed in the hope that it will be useful, 24529 # but WITHOUT ANY WARRANTY; without even the implied warranty of 24530 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 24531 # GNU General Public License for more details. 24532 # 24533 # You should have received a copy of the GNU General Public License 24534 # along with GNU Libtool; see the file COPYING. If not, a copy 24535 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or 24536 # obtained by writing to the Free Software Foundation, Inc., 24537 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 24538 24539 24540 # The names of the tagged configurations supported by this script. 24541 available_tags="CXX F77 " 24542 24543 # ### BEGIN LIBTOOL CONFIG 24544 24545 # Whether or not to build shared libraries. 24546 build_libtool_libs=$enable_shared 24547 24548 # Which release of libtool.m4 was used? 24549 macro_version=$macro_version 24550 macro_revision=$macro_revision 24551 24552 # Whether or not to build static libraries. 24553 build_old_libs=$enable_static 24554 24555 # What type of objects to build. 24556 pic_mode=$pic_mode 24557 24558 # Whether or not to optimize for fast installation. 24559 fast_install=$enable_fast_install 24560 24561 # Shell to use when invoking shell scripts. 24562 SHELL=$lt_SHELL 24563 24564 # An echo program that protects backslashes. 24565 ECHO=$lt_ECHO 24566 24567 # The PATH separator for the build system. 24568 PATH_SEPARATOR=$lt_PATH_SEPARATOR 24569 24570 # The host system. 24571 host_alias=$host_alias 24572 host=$host 24573 host_os=$host_os 24574 24575 # The build system. 24576 build_alias=$build_alias 24577 build=$build 24578 build_os=$build_os 24579 24580 # A sed program that does not truncate output. 24581 SED=$lt_SED 24582 24583 # Sed that helps us avoid accidentally triggering echo(1) options like -n. 24584 Xsed="\$SED -e 1s/^X//" 24585 24586 # A grep program that handles long lines. 24587 GREP=$lt_GREP 24588 24589 # An ERE matcher. 24590 EGREP=$lt_EGREP 24591 24592 # A literal string matcher. 24593 FGREP=$lt_FGREP 24594 24595 # A BSD- or MS-compatible name lister. 24596 NM=$lt_NM 24597 24598 # Whether we need soft or hard links. 24599 LN_S=$lt_LN_S 24600 24601 # What is the maximum length of a command? 24602 max_cmd_len=$max_cmd_len 24603 24604 # Object file suffix (normally "o"). 24605 objext=$ac_objext 24606 24607 # Executable file suffix (normally ""). 24608 exeext=$exeext 24609 24610 # whether the shell understands "unset". 24611 lt_unset=$lt_unset 24612 24613 # turn spaces into newlines. 24614 SP2NL=$lt_lt_SP2NL 24615 24616 # turn newlines into spaces. 24617 NL2SP=$lt_lt_NL2SP 24618 24619 # convert \$build file names to \$host format. 24620 to_host_file_cmd=$lt_cv_to_host_file_cmd 24621 24622 # convert \$build files to toolchain format. 24623 to_tool_file_cmd=$lt_cv_to_tool_file_cmd 24624 24625 # An object symbol dumper. 24626 OBJDUMP=$lt_OBJDUMP 24627 24628 # Method to check whether dependent libraries are shared objects. 24629 deplibs_check_method=$lt_deplibs_check_method 24630 24631 # Command to use when deplibs_check_method = "file_magic". 24632 file_magic_cmd=$lt_file_magic_cmd 24633 24634 # How to find potential files when deplibs_check_method = "file_magic". 24635 file_magic_glob=$lt_file_magic_glob 24636 24637 # Find potential files using nocaseglob when deplibs_check_method = "file_magic". 24638 want_nocaseglob=$lt_want_nocaseglob 24639 24640 # DLL creation program. 24641 DLLTOOL=$lt_DLLTOOL 24642 24643 # Command to associate shared and link libraries. 24644 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 24645 24646 # The archiver. 24647 AR=$lt_AR 24648 24649 # Flags to create an archive. 24650 AR_FLAGS=$lt_AR_FLAGS 24651 24652 # How to feed a file listing to the archiver. 24653 archiver_list_spec=$lt_archiver_list_spec 24654 24655 # A symbol stripping program. 24656 STRIP=$lt_STRIP 24657 24658 # Commands used to install an old-style archive. 24659 RANLIB=$lt_RANLIB 24660 old_postinstall_cmds=$lt_old_postinstall_cmds 24661 old_postuninstall_cmds=$lt_old_postuninstall_cmds 24662 24663 # Whether to use a lock for old archive extraction. 24664 lock_old_archive_extraction=$lock_old_archive_extraction 24665 24666 # A C compiler. 24667 LTCC=$lt_CC 24668 24669 # LTCC compiler flags. 24670 LTCFLAGS=$lt_CFLAGS 24671 24672 # Take the output of nm and produce a listing of raw symbols and C names. 24673 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 24674 24675 # Transform the output of nm in a proper C declaration. 24676 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 24677 24678 # Transform the output of nm in a C name address pair. 24679 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 24680 24681 # Transform the output of nm in a C name address pair when lib prefix is needed. 24682 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 24683 24684 # Specify filename containing input files for \$NM. 24685 nm_file_list_spec=$lt_nm_file_list_spec 24686 24687 # The root where to search for dependent libraries,and in which our libraries should be installed. 24688 lt_sysroot=$lt_sysroot 24689 24690 # The name of the directory that contains temporary libtool files. 24691 objdir=$objdir 24692 24693 # Used to examine libraries when file_magic_cmd begins with "file". 24694 MAGIC_CMD=$MAGIC_CMD 24695 24696 # Must we lock files when doing compilation? 24697 need_locks=$lt_need_locks 24698 24699 # Manifest tool. 24700 MANIFEST_TOOL=$lt_MANIFEST_TOOL 24701 24702 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 24703 DSYMUTIL=$lt_DSYMUTIL 24704 24705 # Tool to change global to local symbols on Mac OS X. 24706 NMEDIT=$lt_NMEDIT 24707 24708 # Tool to manipulate fat objects and archives on Mac OS X. 24709 LIPO=$lt_LIPO 24710 24711 # ldd/readelf like tool for Mach-O binaries on Mac OS X. 24712 OTOOL=$lt_OTOOL 24713 24714 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 24715 OTOOL64=$lt_OTOOL64 24716 24717 # Old archive suffix (normally "a"). 24718 libext=$libext 24719 24720 # Shared library suffix (normally ".so"). 24721 shrext_cmds=$lt_shrext_cmds 24722 24723 # The commands to extract the exported symbol list from a shared archive. 24724 extract_expsyms_cmds=$lt_extract_expsyms_cmds 24725 24726 # Variables whose values should be saved in libtool wrapper scripts and 24727 # restored at link time. 24728 variables_saved_for_relink=$lt_variables_saved_for_relink 24729 24730 # Do we need the "lib" prefix for modules? 24731 need_lib_prefix=$need_lib_prefix 24732 24733 # Do we need a version for libraries? 24734 need_version=$need_version 24735 24736 # Library versioning type. 24737 version_type=$version_type 24738 24739 # Shared library runtime path variable. 24740 runpath_var=$runpath_var 24741 24742 # Shared library path variable. 24743 shlibpath_var=$shlibpath_var 24744 24745 # Is shlibpath searched before the hard-coded library search path? 24746 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 24747 24748 # Format of library name prefix. 24749 libname_spec=$lt_libname_spec 24750 24751 # List of archive names. First name is the real one, the rest are links. 24752 # The last name is the one that the linker finds with -lNAME 24753 library_names_spec=$lt_library_names_spec 24754 24755 # The coded name of the library, if different from the real name. 24756 soname_spec=$lt_soname_spec 24757 24758 # Permission mode override for installation of shared libraries. 24759 install_override_mode=$lt_install_override_mode 24760 24761 # Command to use after installation of a shared archive. 24762 postinstall_cmds=$lt_postinstall_cmds 24763 24764 # Command to use after uninstallation of a shared archive. 24765 postuninstall_cmds=$lt_postuninstall_cmds 24766 24767 # Commands used to finish a libtool library installation in a directory. 24768 finish_cmds=$lt_finish_cmds 24769 24770 # As "finish_cmds", except a single script fragment to be evaled but 24771 # not shown. 24772 finish_eval=$lt_finish_eval 24773 24774 # Whether we should hardcode library paths into libraries. 24775 hardcode_into_libs=$hardcode_into_libs 24776 24777 # Compile-time system search path for libraries. 24778 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 24779 24780 # Run-time system search path for libraries. 24781 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 24782 24783 # Whether dlopen is supported. 24784 dlopen_support=$enable_dlopen 24785 24786 # Whether dlopen of programs is supported. 24787 dlopen_self=$enable_dlopen_self 24788 24789 # Whether dlopen of statically linked programs is supported. 24790 dlopen_self_static=$enable_dlopen_self_static 24791 24792 # Commands to strip libraries. 24793 old_striplib=$lt_old_striplib 24794 striplib=$lt_striplib 24795 24796 24797 # The linker used to build libraries. 24798 LD=$lt_LD 24799 24800 # How to create reloadable object files. 24801 reload_flag=$lt_reload_flag 24802 reload_cmds=$lt_reload_cmds 24803 24804 # Commands used to build an old-style archive. 24805 old_archive_cmds=$lt_old_archive_cmds 24806 24807 # A language specific compiler. 24808 CC=$lt_compiler 24809 24810 # Is the compiler the GNU compiler? 24811 with_gcc=$GCC 24812 24813 # Compiler flag to turn off builtin functions. 24814 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 24815 24816 # Additional compiler flags for building library objects. 24817 pic_flag=$lt_lt_prog_compiler_pic 24818 24819 # How to pass a linker flag through the compiler. 24820 wl=$lt_lt_prog_compiler_wl 24821 24822 # Compiler flag to prevent dynamic linking. 24823 link_static_flag=$lt_lt_prog_compiler_static 24824 24825 # Does compiler simultaneously support -c and -o options? 24826 compiler_c_o=$lt_lt_cv_prog_compiler_c_o 24827 24828 # Whether or not to add -lc for building shared libraries. 24829 build_libtool_need_lc=$archive_cmds_need_lc 24830 24831 # Whether or not to disallow shared libs when runtime libs are static. 24832 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 24833 24834 # Compiler flag to allow reflexive dlopens. 24835 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 24836 24837 # Compiler flag to generate shared objects directly from archives. 24838 whole_archive_flag_spec=$lt_whole_archive_flag_spec 24839 24840 # Whether the compiler copes with passing no objects directly. 24841 compiler_needs_object=$lt_compiler_needs_object 24842 24843 # Create an old-style archive from a shared archive. 24844 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 24845 24846 # Create a temporary old-style archive to link instead of a shared archive. 24847 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 24848 24849 # Commands used to build a shared archive. 24850 archive_cmds=$lt_archive_cmds 24851 archive_expsym_cmds=$lt_archive_expsym_cmds 24852 24853 # Commands used to build a loadable module if different from building 24854 # a shared archive. 24855 module_cmds=$lt_module_cmds 24856 module_expsym_cmds=$lt_module_expsym_cmds 24857 24858 # Whether we are building with GNU ld or not. 24859 with_gnu_ld=$lt_with_gnu_ld 24860 24861 # Flag that allows shared libraries with undefined symbols to be built. 24862 allow_undefined_flag=$lt_allow_undefined_flag 24863 24864 # Flag that enforces no undefined symbols. 24865 no_undefined_flag=$lt_no_undefined_flag 24866 24867 # Flag to hardcode \$libdir into a binary during linking. 24868 # This must work even if \$libdir does not exist 24869 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 24870 24871 # Whether we need a single "-rpath" flag with a separated argument. 24872 hardcode_libdir_separator=$lt_hardcode_libdir_separator 24873 24874 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 24875 # DIR into the resulting binary. 24876 hardcode_direct=$hardcode_direct 24877 24878 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 24879 # DIR into the resulting binary and the resulting library dependency is 24880 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the 24881 # library is relocated. 24882 hardcode_direct_absolute=$hardcode_direct_absolute 24883 24884 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR 24885 # into the resulting binary. 24886 hardcode_minus_L=$hardcode_minus_L 24887 24888 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 24889 # into the resulting binary. 24890 hardcode_shlibpath_var=$hardcode_shlibpath_var 24891 24892 # Set to "yes" if building a shared library automatically hardcodes DIR 24893 # into the library and all subsequent libraries and executables linked 24894 # against it. 24895 hardcode_automatic=$hardcode_automatic 24896 24897 # Set to yes if linker adds runtime paths of dependent libraries 24898 # to runtime path list. 24899 inherit_rpath=$inherit_rpath 24900 24901 # Whether libtool must link a program against all its dependency libraries. 24902 link_all_deplibs=$link_all_deplibs 24903 24904 # Set to "yes" if exported symbols are required. 24905 always_export_symbols=$always_export_symbols 24906 24907 # The commands to list exported symbols. 24908 export_symbols_cmds=$lt_export_symbols_cmds 24909 24910 # Symbols that should not be listed in the preloaded symbols. 24911 exclude_expsyms=$lt_exclude_expsyms 24912 24913 # Symbols that must always be exported. 24914 include_expsyms=$lt_include_expsyms 24915 24916 # Commands necessary for linking programs (against libraries) with templates. 24917 prelink_cmds=$lt_prelink_cmds 24918 24919 # Commands necessary for finishing linking programs. 24920 postlink_cmds=$lt_postlink_cmds 24921 24922 # Specify filename containing input files. 24923 file_list_spec=$lt_file_list_spec 24924 24925 # How to hardcode a shared library path into an executable. 24926 hardcode_action=$hardcode_action 24927 24928 # The directories searched by this compiler when creating a shared library. 24929 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 24930 24931 # Dependencies to place before and after the objects being linked to 24932 # create a shared library. 24933 predep_objects=$lt_predep_objects 24934 postdep_objects=$lt_postdep_objects 24935 predeps=$lt_predeps 24936 postdeps=$lt_postdeps 24937 24938 # The library search path used internally by the compiler when linking 24939 # a shared library. 24940 compiler_lib_search_path=$lt_compiler_lib_search_path 24941 24942 # ### END LIBTOOL CONFIG 24943 24944 _LT_EOF 24945 24946 case $host_os in 24947 aix3*) 24948 cat <<\_LT_EOF >> "$cfgfile" 24949 # AIX sometimes has problems with the GCC collect2 program. For some 24950 # reason, if we set the COLLECT_NAMES environment variable, the problems 24951 # vanish in a puff of smoke. 24952 if test "X${COLLECT_NAMES+set}" != Xset; then 24953 COLLECT_NAMES= 24954 export COLLECT_NAMES 24955 fi 24956 _LT_EOF 24957 ;; 24958 esac 24959 24960 24961 ltmain="$ac_aux_dir/ltmain.sh" 24962 24963 24964 # We use sed instead of cat because bash on DJGPP gets confused if 24965 # if finds mixed CR/LF and LF-only lines. Since sed operates in 24966 # text mode, it properly converts lines to CR/LF. This bash problem 24967 # is reportedly fixed, but why not run on old versions too? 24968 sed '$q' "$ltmain" >> "$cfgfile" \ 24969 || (rm -f "$cfgfile"; exit 1) 24970 24971 if test x"$xsi_shell" = xyes; then 24972 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 24973 func_dirname ()\ 24974 {\ 24975 \ case ${1} in\ 24976 \ */*) func_dirname_result="${1%/*}${2}" ;;\ 24977 \ * ) func_dirname_result="${3}" ;;\ 24978 \ esac\ 24979 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 24980 && mv -f "$cfgfile.tmp" "$cfgfile" \ 24981 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 24982 test 0 -eq $? || _lt_function_replace_fail=: 24983 24984 24985 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 24986 func_basename ()\ 24987 {\ 24988 \ func_basename_result="${1##*/}"\ 24989 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 24990 && mv -f "$cfgfile.tmp" "$cfgfile" \ 24991 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 24992 test 0 -eq $? || _lt_function_replace_fail=: 24993 24994 24995 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 24996 func_dirname_and_basename ()\ 24997 {\ 24998 \ case ${1} in\ 24999 \ */*) func_dirname_result="${1%/*}${2}" ;;\ 25000 \ * ) func_dirname_result="${3}" ;;\ 25001 \ esac\ 25002 \ func_basename_result="${1##*/}"\ 25003 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 25004 && mv -f "$cfgfile.tmp" "$cfgfile" \ 25005 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 25006 test 0 -eq $? || _lt_function_replace_fail=: 25007 25008 25009 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 25010 func_stripname ()\ 25011 {\ 25012 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 25013 \ # positional parameters, so assign one to ordinary parameter first.\ 25014 \ func_stripname_result=${3}\ 25015 \ func_stripname_result=${func_stripname_result#"${1}"}\ 25016 \ func_stripname_result=${func_stripname_result%"${2}"}\ 25017 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 25018 && mv -f "$cfgfile.tmp" "$cfgfile" \ 25019 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 25020 test 0 -eq $? || _lt_function_replace_fail=: 25021 25022 25023 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 25024 func_split_long_opt ()\ 25025 {\ 25026 \ func_split_long_opt_name=${1%%=*}\ 25027 \ func_split_long_opt_arg=${1#*=}\ 25028 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 25029 && mv -f "$cfgfile.tmp" "$cfgfile" \ 25030 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 25031 test 0 -eq $? || _lt_function_replace_fail=: 25032 25033 25034 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 25035 func_split_short_opt ()\ 25036 {\ 25037 \ func_split_short_opt_arg=${1#??}\ 25038 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 25039 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 25040 && mv -f "$cfgfile.tmp" "$cfgfile" \ 25041 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 25042 test 0 -eq $? || _lt_function_replace_fail=: 25043 25044 25045 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 25046 func_lo2o ()\ 25047 {\ 25048 \ case ${1} in\ 25049 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 25050 \ *) func_lo2o_result=${1} ;;\ 25051 \ esac\ 25052 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 25053 && mv -f "$cfgfile.tmp" "$cfgfile" \ 25054 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 25055 test 0 -eq $? || _lt_function_replace_fail=: 25056 25057 25058 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 25059 func_xform ()\ 25060 {\ 25061 func_xform_result=${1%.*}.lo\ 25062 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 25063 && mv -f "$cfgfile.tmp" "$cfgfile" \ 25064 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 25065 test 0 -eq $? || _lt_function_replace_fail=: 25066 25067 25068 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 25069 func_arith ()\ 25070 {\ 25071 func_arith_result=$(( $* ))\ 25072 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 25073 && mv -f "$cfgfile.tmp" "$cfgfile" \ 25074 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 25075 test 0 -eq $? || _lt_function_replace_fail=: 25076 25077 25078 sed -e '/^func_len ()$/,/^} # func_len /c\ 25079 func_len ()\ 25080 {\ 25081 func_len_result=${#1}\ 25082 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 25083 && mv -f "$cfgfile.tmp" "$cfgfile" \ 25084 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 25085 test 0 -eq $? || _lt_function_replace_fail=: 25086 25087 fi 25088 25089 if test x"$lt_shell_append" = xyes; then 25090 sed -e '/^func_append ()$/,/^} # func_append /c\ 25091 func_append ()\ 25092 {\ 25093 eval "${1}+=\\${2}"\ 25094 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 25095 && mv -f "$cfgfile.tmp" "$cfgfile" \ 25096 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 25097 test 0 -eq $? || _lt_function_replace_fail=: 25098 25099 25100 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 25101 func_append_quoted ()\ 25102 {\ 25103 \ func_quote_for_eval "${2}"\ 25104 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 25105 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 25106 && mv -f "$cfgfile.tmp" "$cfgfile" \ 25107 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 25108 test 0 -eq $? || _lt_function_replace_fail=: 25109 25110 25111 # Save a `func_append' function call where possible by direct use of '+=' 25112 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 25113 && mv -f "$cfgfile.tmp" "$cfgfile" \ 25114 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 25115 test 0 -eq $? || _lt_function_replace_fail=: 25116 else 25117 # Save a `func_append' function call even when '+=' is not available 25118 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 25119 && mv -f "$cfgfile.tmp" "$cfgfile" \ 25120 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 25121 test 0 -eq $? || _lt_function_replace_fail=: 25122 fi 25123 25124 if test x"$_lt_function_replace_fail" = x":"; then 25125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 25126 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 25127 fi 25128 25129 25130 mv -f "$cfgfile" "$ofile" || 25131 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 25132 chmod +x "$ofile" 25133 25134 25135 cat <<_LT_EOF >> "$ofile" 25136 25137 # ### BEGIN LIBTOOL TAG CONFIG: CXX 25138 25139 # The linker used to build libraries. 25140 LD=$lt_LD_CXX 25141 25142 # How to create reloadable object files. 25143 reload_flag=$lt_reload_flag_CXX 25144 reload_cmds=$lt_reload_cmds_CXX 25145 25146 # Commands used to build an old-style archive. 25147 old_archive_cmds=$lt_old_archive_cmds_CXX 25148 25149 # A language specific compiler. 25150 CC=$lt_compiler_CXX 25151 25152 # Is the compiler the GNU compiler? 25153 with_gcc=$GCC_CXX 25154 25155 # Compiler flag to turn off builtin functions. 25156 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 25157 25158 # Additional compiler flags for building library objects. 25159 pic_flag=$lt_lt_prog_compiler_pic_CXX 25160 25161 # How to pass a linker flag through the compiler. 25162 wl=$lt_lt_prog_compiler_wl_CXX 25163 25164 # Compiler flag to prevent dynamic linking. 25165 link_static_flag=$lt_lt_prog_compiler_static_CXX 25166 25167 # Does compiler simultaneously support -c and -o options? 25168 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 25169 25170 # Whether or not to add -lc for building shared libraries. 25171 build_libtool_need_lc=$archive_cmds_need_lc_CXX 25172 25173 # Whether or not to disallow shared libs when runtime libs are static. 25174 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 25175 25176 # Compiler flag to allow reflexive dlopens. 25177 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 25178 25179 # Compiler flag to generate shared objects directly from archives. 25180 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 25181 25182 # Whether the compiler copes with passing no objects directly. 25183 compiler_needs_object=$lt_compiler_needs_object_CXX 25184 25185 # Create an old-style archive from a shared archive. 25186 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 25187 25188 # Create a temporary old-style archive to link instead of a shared archive. 25189 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 25190 25191 # Commands used to build a shared archive. 25192 archive_cmds=$lt_archive_cmds_CXX 25193 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 25194 25195 # Commands used to build a loadable module if different from building 25196 # a shared archive. 25197 module_cmds=$lt_module_cmds_CXX 25198 module_expsym_cmds=$lt_module_expsym_cmds_CXX 25199 25200 # Whether we are building with GNU ld or not. 25201 with_gnu_ld=$lt_with_gnu_ld_CXX 25202 25203 # Flag that allows shared libraries with undefined symbols to be built. 25204 allow_undefined_flag=$lt_allow_undefined_flag_CXX 25205 25206 # Flag that enforces no undefined symbols. 25207 no_undefined_flag=$lt_no_undefined_flag_CXX 25208 25209 # Flag to hardcode \$libdir into a binary during linking. 25210 # This must work even if \$libdir does not exist 25211 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 25212 25213 # Whether we need a single "-rpath" flag with a separated argument. 25214 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 25215 25216 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 25217 # DIR into the resulting binary. 25218 hardcode_direct=$hardcode_direct_CXX 25219 25220 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 25221 # DIR into the resulting binary and the resulting library dependency is 25222 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the 25223 # library is relocated. 25224 hardcode_direct_absolute=$hardcode_direct_absolute_CXX 25225 25226 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR 25227 # into the resulting binary. 25228 hardcode_minus_L=$hardcode_minus_L_CXX 25229 25230 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 25231 # into the resulting binary. 25232 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 25233 25234 # Set to "yes" if building a shared library automatically hardcodes DIR 25235 # into the library and all subsequent libraries and executables linked 25236 # against it. 25237 hardcode_automatic=$hardcode_automatic_CXX 25238 25239 # Set to yes if linker adds runtime paths of dependent libraries 25240 # to runtime path list. 25241 inherit_rpath=$inherit_rpath_CXX 25242 25243 # Whether libtool must link a program against all its dependency libraries. 25244 link_all_deplibs=$link_all_deplibs_CXX 25245 25246 # Set to "yes" if exported symbols are required. 25247 always_export_symbols=$always_export_symbols_CXX 25248 25249 # The commands to list exported symbols. 25250 export_symbols_cmds=$lt_export_symbols_cmds_CXX 25251 25252 # Symbols that should not be listed in the preloaded symbols. 25253 exclude_expsyms=$lt_exclude_expsyms_CXX 25254 25255 # Symbols that must always be exported. 25256 include_expsyms=$lt_include_expsyms_CXX 25257 25258 # Commands necessary for linking programs (against libraries) with templates. 25259 prelink_cmds=$lt_prelink_cmds_CXX 25260 25261 # Commands necessary for finishing linking programs. 25262 postlink_cmds=$lt_postlink_cmds_CXX 25263 25264 # Specify filename containing input files. 25265 file_list_spec=$lt_file_list_spec_CXX 25266 25267 # How to hardcode a shared library path into an executable. 25268 hardcode_action=$hardcode_action_CXX 25269 25270 # The directories searched by this compiler when creating a shared library. 25271 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 25272 25273 # Dependencies to place before and after the objects being linked to 25274 # create a shared library. 25275 predep_objects=$lt_predep_objects_CXX 25276 postdep_objects=$lt_postdep_objects_CXX 25277 predeps=$lt_predeps_CXX 25278 postdeps=$lt_postdeps_CXX 25279 25280 # The library search path used internally by the compiler when linking 25281 # a shared library. 25282 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 25283 25284 # ### END LIBTOOL TAG CONFIG: CXX 25285 _LT_EOF 25286 25287 25288 cat <<_LT_EOF >> "$ofile" 25289 25290 # ### BEGIN LIBTOOL TAG CONFIG: F77 25291 25292 # The linker used to build libraries. 25293 LD=$lt_LD_F77 25294 25295 # How to create reloadable object files. 25296 reload_flag=$lt_reload_flag_F77 25297 reload_cmds=$lt_reload_cmds_F77 25298 25299 # Commands used to build an old-style archive. 25300 old_archive_cmds=$lt_old_archive_cmds_F77 25301 25302 # A language specific compiler. 25303 CC=$lt_compiler_F77 25304 25305 # Is the compiler the GNU compiler? 25306 with_gcc=$GCC_F77 25307 25308 # Compiler flag to turn off builtin functions. 25309 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 25310 25311 # Additional compiler flags for building library objects. 25312 pic_flag=$lt_lt_prog_compiler_pic_F77 25313 25314 # How to pass a linker flag through the compiler. 25315 wl=$lt_lt_prog_compiler_wl_F77 25316 25317 # Compiler flag to prevent dynamic linking. 25318 link_static_flag=$lt_lt_prog_compiler_static_F77 25319 25320 # Does compiler simultaneously support -c and -o options? 25321 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 25322 25323 # Whether or not to add -lc for building shared libraries. 25324 build_libtool_need_lc=$archive_cmds_need_lc_F77 25325 25326 # Whether or not to disallow shared libs when runtime libs are static. 25327 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 25328 25329 # Compiler flag to allow reflexive dlopens. 25330 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 25331 25332 # Compiler flag to generate shared objects directly from archives. 25333 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 25334 25335 # Whether the compiler copes with passing no objects directly. 25336 compiler_needs_object=$lt_compiler_needs_object_F77 25337 25338 # Create an old-style archive from a shared archive. 25339 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 25340 25341 # Create a temporary old-style archive to link instead of a shared archive. 25342 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 25343 25344 # Commands used to build a shared archive. 25345 archive_cmds=$lt_archive_cmds_F77 25346 archive_expsym_cmds=$lt_archive_expsym_cmds_F77 25347 25348 # Commands used to build a loadable module if different from building 25349 # a shared archive. 25350 module_cmds=$lt_module_cmds_F77 25351 module_expsym_cmds=$lt_module_expsym_cmds_F77 25352 25353 # Whether we are building with GNU ld or not. 25354 with_gnu_ld=$lt_with_gnu_ld_F77 25355 25356 # Flag that allows shared libraries with undefined symbols to be built. 25357 allow_undefined_flag=$lt_allow_undefined_flag_F77 25358 25359 # Flag that enforces no undefined symbols. 25360 no_undefined_flag=$lt_no_undefined_flag_F77 25361 25362 # Flag to hardcode \$libdir into a binary during linking. 25363 # This must work even if \$libdir does not exist 25364 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 25365 25366 # Whether we need a single "-rpath" flag with a separated argument. 25367 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 25368 25369 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 25370 # DIR into the resulting binary. 25371 hardcode_direct=$hardcode_direct_F77 25372 25373 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 25374 # DIR into the resulting binary and the resulting library dependency is 25375 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the 25376 # library is relocated. 25377 hardcode_direct_absolute=$hardcode_direct_absolute_F77 25378 25379 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR 25380 # into the resulting binary. 25381 hardcode_minus_L=$hardcode_minus_L_F77 25382 25383 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 25384 # into the resulting binary. 25385 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 25386 25387 # Set to "yes" if building a shared library automatically hardcodes DIR 25388 # into the library and all subsequent libraries and executables linked 25389 # against it. 25390 hardcode_automatic=$hardcode_automatic_F77 25391 25392 # Set to yes if linker adds runtime paths of dependent libraries 25393 # to runtime path list. 25394 inherit_rpath=$inherit_rpath_F77 25395 25396 # Whether libtool must link a program against all its dependency libraries. 25397 link_all_deplibs=$link_all_deplibs_F77 25398 25399 # Set to "yes" if exported symbols are required. 25400 always_export_symbols=$always_export_symbols_F77 25401 25402 # The commands to list exported symbols. 25403 export_symbols_cmds=$lt_export_symbols_cmds_F77 25404 25405 # Symbols that should not be listed in the preloaded symbols. 25406 exclude_expsyms=$lt_exclude_expsyms_F77 25407 25408 # Symbols that must always be exported. 25409 include_expsyms=$lt_include_expsyms_F77 25410 25411 # Commands necessary for linking programs (against libraries) with templates. 25412 prelink_cmds=$lt_prelink_cmds_F77 25413 25414 # Commands necessary for finishing linking programs. 25415 postlink_cmds=$lt_postlink_cmds_F77 25416 25417 # Specify filename containing input files. 25418 file_list_spec=$lt_file_list_spec_F77 25419 25420 # How to hardcode a shared library path into an executable. 25421 hardcode_action=$hardcode_action_F77 25422 25423 # The directories searched by this compiler when creating a shared library. 25424 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77 25425 25426 # Dependencies to place before and after the objects being linked to 25427 # create a shared library. 25428 predep_objects=$lt_predep_objects_F77 25429 postdep_objects=$lt_postdep_objects_F77 25430 predeps=$lt_predeps_F77 25431 postdeps=$lt_postdeps_F77 25432 25433 # The library search path used internally by the compiler when linking 25434 # a shared library. 25435 compiler_lib_search_path=$lt_compiler_lib_search_path_F77 25436 25437 # ### END LIBTOOL TAG CONFIG: F77 25438 _LT_EOF 25439 25440 ;; 25441 25442 esac 25443 done # for ac_tag 25444 25445 25446 as_fn_exit 0 30533 25447 _ACEOF 30534 30535 cat >>$CONFIG_STATUS <<\_ACEOF30536 30537 { (exit 0); exit 0; }30538 _ACEOF30539 chmod +x $CONFIG_STATUS30540 25448 ac_clean_files=$ac_clean_files_save 25449 25450 test $ac_write_fail = 0 || 25451 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 30541 25452 30542 25453 … … 30559 25470 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 30560 25471 # would make configure fail if this is the last instruction. 30561 $ac_cs_success || { (exit 1); exit 1; } 25472 $ac_cs_success || as_fn_exit 1 25473 fi 25474 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 25475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 25476 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 30562 25477 fi 30563 25478
Note:
See TracChangeset
for help on using the changeset viewer.
