Changeset 2977
- Timestamp:
- Apr 25, 2012, 11:31:03 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/balloon.tcl
r2943 r2977 322 322 323 323 set bg $itk_option(-background) 324 set light [Rappture::color::brightness $bg 0.4] 325 set dark [Rappture::color::brightness $bg -0.4] 324 326 set rgb [winfo rgb . $bg] 325 327 set flatbg [format "#%04x%04x%04x" [lindex $rgb 0] [lindex $rgb 1] [lindex $rgb 2]] -
trunk/gui/scripts/controlOwner.tcl
r2941 r2977 269 269 270 270 set type [[tool] xml element -as type $path] 271 #puts stderr type=$type272 271 if {[info exists _type2curpath($type)]} { 273 272 set currentpath $path.$_type2curpath($type) -
trunk/gui/scripts/field2dresult.tcl
r2758 r2977 57 57 array set flags $args 58 58 set servers "" 59 puts stderr modeflags=$flags(-mode)60 59 switch -- $flags(-mode) { 61 60 "auto" - "heightmap" - "flowvis" { -
trunk/gui/scripts/field3dresult.tcl
r2890 r2977 55 55 } 56 56 array set flags $args 57 set servers ""58 57 switch -- $flags(-mode) { 59 58 "auto" - "nanovis" - "flowvis" { … … 65 64 "vtk" { 66 65 # Old vtk contour widget 67 } 66 set servers "" 67 } 68 68 default { 69 69 puts stderr "unknown render mode \"$flags(-mode)\"" -
trunk/gui/scripts/main.tcl
r2744 r2977 290 290 # Finalize the arrangement 291 291 # ---------------------------------------------------------------------- 292 if {[llength [$win.pager page]] == 2} { 292 if {[llength [$win.pager page]] > 2} { 293 # We have phases, so we shouldn't allow the "Simulate" button. 294 # If it pops up, there are two ways to push simulate and duplicate 295 # links for "About" and "Questions?". 296 $f.analyze configure -simcontrol off 297 } elseif {[llength [$win.pager page]] == 2} { 293 298 set style [$xmlobj get tool.layout] 294 299 set screenw [winfo screenwidth .] … … 317 322 } 318 323 if { $arrangement != "side-by-side" && 319 ($type == "manual" || $type == "auto" || $style == "wizard") } { 324 ($type == "manual" || $type == "manual-resim" || 325 $type == "auto" || $style == "wizard") } { 320 326 # in "auto" mode, we don't need a simulate button 321 327 $f.analyze configure -simcontrol off … … 324 330 $f.analyze configure -simcontrol on 325 331 } 326 } elseif {[llength [$win.pager page]] > 2} {327 # We have phases, so we shouldn't allow the "Simulate" button.328 # If it pops up, there are two ways to push simulate and duplicate329 # links for "About" and "Questions?".330 $f.analyze configure -simcontrol off331 332 } 332 333 -
trunk/gui/scripts/periodictable.tcl
r2753 r2977 561 561 # ---------------------------------------------------------------------- 562 562 itcl::body Rappture::PeriodicTable::Redraw {} { 563 set sqwidth 24 564 set sqheight 24 563 set sqwidth [winfo pixels . 0.22i] 564 set sqheight [winfo pixels . 0.22i] 565 565 set xoffset 4 566 566 set yoffset 4 … … 624 624 } 625 625 } 626 parray info627 626 return "" 628 627 } -
trunk/gui/scripts/resultset.tcl
r2943 r2977 78 78 private variable _counter 0 ;# counter for unique control names 79 79 private variable _settings 0 ;# non-zero => _fixSettings in progress 80 private variable _explore 0 ;# non-zero => explore all parameters81 80 82 81 private common _cntlInfo ;# maps column name => control info -
trunk/gui/scripts/resultviewer.tcl
r2943 r2977 572 572 # ---------------------------------------------------------------------- 573 573 itcl::body Rappture::ResultViewer::_cleanIndex {index} { 574 set index [lindex $index 0] 574 575 if {[regexp {^#([0-9]+)} $index match num]} { 575 576 return [expr {$num-1}] ;# start from 0 instead of 1 -
trunk/gui/scripts/tool.tcl
r2753 r2977 215 215 set code [lindex $::Rappture::Tool::job(control) 0] 216 216 set mesg [lindex $::Rappture::Tool::job(control) 2] 217 if { $code != "EXITED" } { 217 if { $code == "EXITED" } { 218 set result "Program returned exit code $status:\n\n" 219 append result $::Rappture::Tool::job(error) 220 } else { 218 221 set result \ 219 222 "Abnormal program termination \"$code\": $mesg" -
trunk/gui/scripts/visviewer.tcl
r2744 r2977 40 40 #private variable _idleTimeout 5000; # 5 seconds 41 41 #private variable _idleTimeout 0; # No timeout 42 private variable _logging 0 42 43 43 44 protected variable _dispatcher ""; # dispatcher for !events … … 163 164 pack $itk_component(plotarea) -fill both -expand yes 164 165 set _image(plot) [image create photo] 166 167 global env 168 if { [info exists env(VISRECORDER)] } { 169 set _logging 1 170 } 165 171 eval itk_initialize $args 166 172 } … … 421 427 422 428 # 423 # ReceiveBytes--429 # StartWaiting -- 424 430 # 425 431 # Read some number of bytes from the visualization server. … … 544 550 # 545 551 itcl::body Rappture::VisViewer::SendEcho {channel {data ""}} { 552 if { $_logging } { 553 set f [open "/tmp/recording.log" "a"] 554 puts $f $data 555 close $f 556 } 546 557 #puts stderr ">>($data)" 547 558 if {[string length $itk_option(-sendcommand)] > 0} { -
trunk/gui/scripts/xylegend.tcl
r2943 r2977 135 135 -boxcolor grey50 -checkcolor black -activebackground grey90 136 136 $itk_component(legend) column configure "treeView" -justify left \ 137 -weight 1.0 -text "" -pad 0 -borderwidth 0 137 -weight 1.0 -text "" -pad 0 -borderwidth 0 -edit no 138 138 $itk_component(legend) column configure "show" -style "check" -pad {0 0} \ 139 139 -edit yes -
trunk/lang/R/Rappture/configure
r2780 r2977 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 1for Rappture 1.0.3 # Generated by GNU Autoconf 2.68 for Rappture 1.0. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 # 7 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10 # Foundation, Inc. 11 # 12 # 9 13 # This configure script is free software; the Free Software Foundation 10 14 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- -##12 ## M4sh Initialization. 13 ## -------------------- -##15 ## -------------------- ## 16 ## M4sh Initialization. ## 17 ## -------------------- ## 14 18 15 19 # Be more Bourne compatible 16 20 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 22 emulate sh 19 23 NULLCMD=: 20 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 25 # is contrary to our usage. Disable this feature. 22 26 alias -g '${1+"$@"}'='"$@"' 23 27 setopt NO_GLOB_SUBST 24 28 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 27 34 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 35 fi 36 37 38 as_nl=' 39 ' 40 export as_nl 41 # Printing a long string crashes Solaris 7 /usr/bin/printf. 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54 else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74 fi 41 75 42 76 # The user is always right. 43 77 if test "${PATH_SEPARATOR+set}" != set; then 44 echo "#! /bin/sh" >conf$$.sh 45 echo "exit 0" >>conf$$.sh 46 chmod +x conf$$.sh 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 48 PATH_SEPARATOR=';' 49 else 50 PATH_SEPARATOR=: 51 fi 52 rm -f conf$$.sh 53 fi 54 55 # Support unset when possible. 56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 57 as_unset=unset 58 else 59 as_unset=false 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 60 83 fi 61 84 … … 66 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 67 90 # splitting by setting IFS to empty value.) 68 as_nl='69 '70 91 IFS=" "" $as_nl" 71 92 72 93 # Find who we are. Look in the path if we contain no directory separator. 73 case $0 in 94 as_myself= 95 case $0 in #(( 74 96 *[\\/]* ) as_myself=$0 ;; 75 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 78 100 IFS=$as_save_IFS 79 101 test -z "$as_dir" && as_dir=. 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break81 done102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 82 104 IFS=$as_save_IFS 83 105 … … 90 112 fi 91 113 if test ! -f "$as_myself"; then 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 93 { (exit 1); exit 1; } 94 fi 95 96 # Work around bugs in pre-3.0 UWIN ksh. 97 for as_var in ENV MAIL MAILPATH 98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116 fi 117 118 # Unset variables that we do not need and which cause bugs (e.g. in 119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120 # suppresses any "Segmentation fault" message there. '((' could 121 # trigger a bug in pdksh 5.2.14. 122 for as_var in BASH_ENV ENV MAIL MAILPATH 123 do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 99 125 done 100 126 PS1='$ ' … … 103 129 104 130 # NLS nuisances. 105 for as_var in \ 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 108 LC_TELEPHONE LC_TIME 131 LC_ALL=C 132 export LC_ALL 133 LANGUAGE=C 134 export LANGUAGE 135 136 # CDPATH. 137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139 if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147 else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153 esac 154 fi 155 " 156 as_required="as_fn_return () { (exit \$1); } 157 as_fn_success () { as_fn_return 0; } 158 as_fn_failure () { as_fn_return 1; } 159 as_fn_ret_success () { return 0; } 160 as_fn_ret_failure () { return 1; } 161 162 exitcode=0 163 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169 else 170 exitcode=1; echo positional parameters were not saved. 171 fi 172 test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177 test \$(( 1 + 1 )) = 2 || exit 1" 178 if (eval "$as_required") 2>/dev/null; then : 179 as_have_required=yes 180 else 181 as_have_required=no 182 fi 183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184 185 else 186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187 as_found=false 188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 109 189 do 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111 eval $as_var=C; export $as_var 190 IFS=$as_save_IFS 191 test -z "$as_dir" && as_dir=. 192 as_found=: 193 case $as_dir in #( 194 /*) 195 for as_base in sh bash ksh sh5; do 196 # Try only shells that exist, to save several forks. 197 as_shell=$as_dir/$as_base 198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 CONFIG_SHELL=$as_shell as_have_required=yes 201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202 break 2 203 fi 204 fi 205 done;; 206 esac 207 as_found=false 208 done 209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211 CONFIG_SHELL=$SHELL as_have_required=yes 212 fi; } 213 IFS=$as_save_IFS 214 215 216 if test "x$CONFIG_SHELL" != x; then : 217 # We cannot yet assume a decent shell, so we have to provide a 218 # neutralization value for shells without unset; and this also 219 # works around shells that cannot unset nonexistent variables. 220 # Preserve -v and -x to the replacement shell. 221 BASH_ENV=/dev/null 222 ENV=/dev/null 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224 export CONFIG_SHELL 225 case $- in # (((( 226 *v*x* | *x*v* ) as_opts=-vx ;; 227 *v* ) as_opts=-v ;; 228 *x* ) as_opts=-x ;; 229 * ) as_opts= ;; 230 esac 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232 fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 112 240 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242 $0: rappture@nanohub.org about your system, including any 243 $0: error possibly output before this message. Then install 244 $0: a modern shell, or manually run the script under such a 245 $0: shell if you do have one." 114 246 fi 115 done 116 117 # Required to use basename. 247 exit 1 248 fi 249 fi 250 fi 251 SHELL=${CONFIG_SHELL-/bin/sh} 252 export SHELL 253 # Unset more variables known to interfere with behavior of common tools. 254 CLICOLOR_FORCE= GREP_OPTIONS= 255 unset CLICOLOR_FORCE GREP_OPTIONS 256 257 ## --------------------- ## 258 ## M4sh Shell Functions. ## 259 ## --------------------- ## 260 # as_fn_unset VAR 261 # --------------- 262 # Portably unset VAR. 263 as_fn_unset () 264 { 265 { eval $1=; unset $1;} 266 } 267 as_unset=as_fn_unset 268 269 # as_fn_set_status STATUS 270 # ----------------------- 271 # Set $? to STATUS, without forking. 272 as_fn_set_status () 273 { 274 return $1 275 } # as_fn_set_status 276 277 # as_fn_exit STATUS 278 # ----------------- 279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 280 as_fn_exit () 281 { 282 set +e 283 as_fn_set_status $1 284 exit $1 285 } # as_fn_exit 286 287 # as_fn_mkdir_p 288 # ------------- 289 # Create "$as_dir" as a directory, including parents if necessary. 290 as_fn_mkdir_p () 291 { 292 293 case $as_dir in #( 294 -*) as_dir=./$as_dir;; 295 esac 296 test -d "$as_dir" || eval $as_mkdir_p || { 297 as_dirs= 298 while :; do 299 case $as_dir in #( 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 301 *) as_qdir=$as_dir;; 302 esac 303 as_dirs="'$as_qdir' $as_dirs" 304 as_dir=`$as_dirname -- "$as_dir" || 305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 306 X"$as_dir" : 'X\(//\)[^/]' \| \ 307 X"$as_dir" : 'X\(//\)$' \| \ 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 309 $as_echo X"$as_dir" | 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)[^/].*/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\/\)$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\).*/{ 323 s//\1/ 324 q 325 } 326 s/.*/./; q'` 327 test -d "$as_dir" && break 328 done 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 331 332 333 } # as_fn_mkdir_p 334 # as_fn_append VAR VALUE 335 # ---------------------- 336 # Append the text in VALUE to the end of the definition contained in VAR. Take 337 # advantage of any shell optimizations that allow amortized linear growth over 338 # repeated appends, instead of the typical quadratic growth present in naive 339 # implementations. 340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 341 eval 'as_fn_append () 342 { 343 eval $1+=\$2 344 }' 345 else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350 fi # as_fn_append 351 352 # as_fn_arith ARG... 353 # ------------------ 354 # Perform arithmetic evaluation on the ARGs, and store the result in the 355 # global $as_val. Take advantage of shells that can avoid forks. The arguments 356 # must be portable across $(()) and expr. 357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362 else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367 fi # as_fn_arith 368 369 370 # as_fn_error STATUS ERROR [LINENO LOG_FD] 371 # ---------------------------------------- 372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 374 # script with STATUS, using 1 if that was 0. 375 as_fn_error () 376 { 377 as_status=$1; test $as_status -eq 0 && as_status=1 378 if test "$4"; then 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 381 fi 382 $as_echo "$as_me: error: $2" >&2 383 as_fn_exit $as_status 384 } # as_fn_error 385 118 386 if expr a : '\(a\)' >/dev/null 2>&1 && 119 387 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 129 397 fi 130 398 131 132 # Name of the executable. 399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401 else 402 as_dirname=false 403 fi 404 133 405 as_me=`$as_basename -- "$0" || 134 406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 135 407 X"$0" : 'X\(//\)$' \| \ 136 408 X"$0" : 'X\(/\)' \| . 2>/dev/null || 137 echo X/"$0" |409 $as_echo X/"$0" | 138 410 sed '/^.*\/\([^/][^/]*\)\/*$/{ 139 411 s//\1/ … … 150 422 s/.*/./; q'` 151 423 152 # CDPATH. 153 $as_unset CDPATH 154 155 156 if test "x$CONFIG_SHELL" = x; then 157 if (eval ":") 2>/dev/null; then 158 as_have_required=yes 159 else 160 as_have_required=no 161 fi 162 163 if test $as_have_required = yes && (eval ": 164 (as_func_return () { 165 (exit \$1) 166 } 167 as_func_success () { 168 as_func_return 0 169 } 170 as_func_failure () { 171 as_func_return 1 172 } 173 as_func_ret_success () { 174 return 0 175 } 176 as_func_ret_failure () { 177 return 1 178 } 179 180 exitcode=0 181 if as_func_success; then 182 : 183 else 184 exitcode=1 185 echo as_func_success failed. 186 fi 187 188 if as_func_failure; then 189 exitcode=1 190 echo as_func_failure succeeded. 191 fi 192 193 if as_func_ret_success; then 194 : 195 else 196 exitcode=1 197 echo as_func_ret_success failed. 198 fi 199 200 if as_func_ret_failure; then 201 exitcode=1 202 echo as_func_ret_failure succeeded. 203 fi 204 205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 206 : 207 else 208 exitcode=1 209 echo positional parameters were not saved. 210 fi 211 212 test \$exitcode = 0) || { (exit 1); exit 1; } 213 214 ( 215 as_lineno_1=\$LINENO 216 as_lineno_2=\$LINENO 217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 219 ") 2> /dev/null; then 220 : 221 else 222 as_candidate_shells= 223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 225 do 226 IFS=$as_save_IFS 227 test -z "$as_dir" && as_dir=. 228 case $as_dir in 229 /*) 230 for as_base in sh bash ksh sh5; do 231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 232 done;; 233 esac 234 done 235 IFS=$as_save_IFS 236 237 238 for as_shell in $as_candidate_shells $SHELL; do 239 # Try only shells that exist, to save several forks. 240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 241 { ("$as_shell") 2> /dev/null <<\_ASEOF 242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 243 emulate sh 244 NULLCMD=: 245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 246 # is contrary to our usage. Disable this feature. 247 alias -g '${1+"$@"}'='"$@"' 248 setopt NO_GLOB_SUBST 249 else 250 case `(set -o) 2>/dev/null` in 251 *posix*) set -o posix ;; 252 esac 253 254 fi 255 256 257 : 258 _ASEOF 259 }; then 260 CONFIG_SHELL=$as_shell 261 as_have_required=yes 262 if { "$as_shell" 2> /dev/null <<\_ASEOF 263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 264 emulate sh 265 NULLCMD=: 266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 267 # is contrary to our usage. Disable this feature. 268 alias -g '${1+"$@"}'='"$@"' 269 setopt NO_GLOB_SUBST 270 else 271 case `(set -o) 2>/dev/null` in 272 *posix*) set -o posix ;; 273 esac 274 275 fi 276 277 278 : 279 (as_func_return () { 280 (exit $1) 281 } 282 as_func_success () { 283 as_func_return 0 284 } 285 as_func_failure () { 286 as_func_return 1 287 } 288 as_func_ret_success () { 289 return 0 290 } 291 as_func_ret_failure () { 292 return 1 293 } 294 295 exitcode=0 296 if as_func_success; then 297 : 298 else 299 exitcode=1 300 echo as_func_success failed. 301 fi 302 303 if as_func_failure; then 304 exitcode=1 305 echo as_func_failure succeeded. 306 fi 307 308 if as_func_ret_success; then 309 : 310 else 311 exitcode=1 312 echo as_func_ret_success failed. 313 fi 314 315 if as_func_ret_failure; then 316 exitcode=1 317 echo as_func_ret_failure succeeded. 318 fi 319 320 if ( set x; as_func_ret_success y && test x = "$1" ); then 321 : 322 else 323 exitcode=1 324 echo positional parameters were not saved. 325 fi 326 327 test $exitcode = 0) || { (exit 1); exit 1; } 328 329 ( 330 as_lineno_1=$LINENO 331 as_lineno_2=$LINENO 332 test "x$as_lineno_1" != "x$as_lineno_2" && 333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 334 335 _ASEOF 336 }; then 337 break 338 fi 339 340 fi 341 342 done 343 344 if test "x$CONFIG_SHELL" != x; then 345 for as_var in BASH_ENV ENV 346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 347 done 348 export CONFIG_SHELL 349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 350 fi 351 352 353 if test $as_have_required = no; then 354 echo This script requires a shell more modern than all the 355 echo shells that I found on your system. Please install a 356 echo modern shell, or manually run the script under such a 357 echo shell if you do have one. 358 { (exit 1); exit 1; } 359 fi 360 361 362 fi 363 364 fi 365 366 367 368 (eval "as_func_return () { 369 (exit \$1) 370 } 371 as_func_success () { 372 as_func_return 0 373 } 374 as_func_failure () { 375 as_func_return 1 376 } 377 as_func_ret_success () { 378 return 0 379 } 380 as_func_ret_failure () { 381 return 1 382 } 383 384 exitcode=0 385 if as_func_success; then 386 : 387 else 388 exitcode=1 389 echo as_func_success failed. 390 fi 391 392 if as_func_failure; then 393 exitcode=1 394 echo as_func_failure succeeded. 395 fi 396 397 if as_func_ret_success; then 398 : 399 else 400 exitcode=1 401 echo as_func_ret_success failed. 402 fi 403 404 if as_func_ret_failure; then 405 exitcode=1 406 echo as_func_ret_failure succeeded. 407 fi 408 409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 410 : 411 else 412 exitcode=1 413 echo positional parameters were not saved. 414 fi 415 416 test \$exitcode = 0") || { 417 echo No shell found that supports shell functions. 418 echo Please tell autoconf@gnu.org about your system, 419 echo including any error possibly output before this 420 echo message 421 } 422 423 424 425 as_lineno_1=$LINENO 426 as_lineno_2=$LINENO 427 test "x$as_lineno_1" != "x$as_lineno_2" && 428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 429 430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 431 # uniformly replaced by the line number. The first 'sed' inserts a 432 # line-number line after each line using $LINENO; the second 'sed' 433 # does the real work. The second script uses 'N' to pair each 434 # line-number line with the line containing $LINENO, and appends 435 # trailing '-' during substitution so that $LINENO is not a special 436 # case at line end. 437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 438 # scripts with optimization help from Paolo Bonzini. Blame Lee 439 # E. McMahon (1931-1989) for sed's syntax. :-) 424 # Avoid depending upon Character Ranges. 425 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 428 as_cr_digits='0123456789' 429 as_cr_alnum=$as_cr_Letters$as_cr_digits 430 431 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 440 437 sed -n ' 441 438 p … … 454 451 ' >$as_me.lineno && 455 452 chmod +x "$as_me.lineno" || 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457 { (exit 1); exit 1; }; } 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 458 454 459 455 # Don't try to exec as it changes $[0], causing all sort of problems … … 465 461 } 466 462 467 468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then469 as_dirname=dirname470 else471 as_dirname=false472 fi473 474 463 ECHO_C= ECHO_N= ECHO_T= 475 case `echo -n x` in 464 case `echo -n x` in #((((( 476 465 -n*) 477 case `echo 'x \c'` in466 case `echo 'xy\c'` in 478 467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 480 471 esac;; 481 472 *) … … 483 474 esac 484 475 485 if expr a : '\(a\)' >/dev/null 2>&1 &&486 test "X`expr 00001 : '.*\(...\)'`" = X001; then487 as_expr=expr488 else489 as_expr=false490 fi491 492 476 rm -f conf$$ conf$$.exe conf$$.file 493 477 if test -d conf$$.dir; then … … 495 479 else 496 480 rm -f conf$$.dir 497 mkdir conf$$.dir 498 fi 499 echo >conf$$.file 500 if ln -s conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s='ln -s' 502 # ... but there are two gotchas: 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 505 # In both cases, we have to default to `cp -p'. 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 481 mkdir conf$$.dir 2>/dev/null 482 fi 483 if (echo >conf$$.file) 2>/dev/null; then 484 if ln -s conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s='ln -s' 486 # ... but there are two gotchas: 487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 489 # In both cases, we have to default to `cp -p'. 490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 491 as_ln_s='cp -p' 492 elif ln conf$$.file conf$$ 2>/dev/null; then 493 as_ln_s=ln 494 else 507 495 as_ln_s='cp -p' 508 elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 496 fi 510 497 else 511 498 as_ln_s='cp -p' … … 515 502 516 503 if mkdir -p . 2>/dev/null; then 517 as_mkdir_p= :504 as_mkdir_p='mkdir -p "$as_dir"' 518 505 else 519 506 test -d ./-p && rmdir ./-p … … 532 519 eval sh -c '\'' 533 520 if test -d "$1"; then 534 521 test -d "$1/."; 535 522 else 536 case $1 in 537 523 case $1 in #( 524 -*)set "./$1";; 538 525 esac; 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 540 527 ???[sx]*):;;*)false;;esac;fi 541 528 '\'' sh … … 551 538 552 539 553 554 exec 7<&0 </dev/null6>&1540 test -n "$DJDIR" || exec 7<&0 </dev/null 541 exec 6>&1 555 542 556 543 # Name of the host. 557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 558 545 # so uname gets run too. 559 546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 570 557 MFLAGS= 571 558 MAKEFLAGS= 572 SHELL=${CONFIG_SHELL-/bin/sh}573 559 574 560 # Identity of this package. … … 578 564 PACKAGE_STRING='Rappture 1.0' 579 565 PACKAGE_BUGREPORT='rappture@nanohub.org' 566 PACKAGE_URL='' 580 567 581 568 # Factoring default headers for most tests. … … 615 602 #endif" 616 603 617 ac_subst_vars='SHELL 604 ac_subst_vars='LTLIBOBJS 605 LIBOBJS 606 RAPPTURE_CPPFLAGS 607 EGREP 608 GREP 609 CPP 610 OBJEXT 611 EXEEXT 612 ac_ct_CC 613 CPPFLAGS 614 LDFLAGS 615 CFLAGS 616 CC 617 target_alias 618 host_alias 619 build_alias 620 LIBS 621 ECHO_T 622 ECHO_N 623 ECHO_C 624 DEFS 625 mandir 626 localedir 627 libdir 628 psdir 629 pdfdir 630 dvidir 631 htmldir 632 infodir 633 docdir 634 oldincludedir 635 includedir 636 localstatedir 637 sharedstatedir 638 sysconfdir 639 datadir 640 datarootdir 641 libexecdir 642 sbindir 643 bindir 644 program_transform_name 645 prefix 646 exec_prefix 647 PACKAGE_URL 648 PACKAGE_BUGREPORT 649 PACKAGE_STRING 650 PACKAGE_VERSION 651 PACKAGE_TARNAME 652 PACKAGE_NAME 618 653 PATH_SEPARATOR 619 PACKAGE_NAME 620 PACKAGE_TARNAME 621 PACKAGE_VERSION 622 PACKAGE_STRING 623 PACKAGE_BUGREPORT 624 exec_prefix 625 prefix 626 program_transform_name 627 bindir 628 sbindir 629 libexecdir 630 datarootdir 631 datadir 632 sysconfdir 633 sharedstatedir 634 localstatedir 635 includedir 636 oldincludedir 637 docdir 638 infodir 639 htmldir 640 dvidir 641 pdfdir 642 psdir 643 libdir 644 localedir 645 mandir 646 DEFS 647 ECHO_C 648 ECHO_N 649 ECHO_T 650 LIBS 651 build_alias 652 host_alias 653 target_alias 654 CC 655 CFLAGS 656 LDFLAGS 657 CPPFLAGS 658 ac_ct_CC 659 EXEEXT 660 OBJEXT 661 CPP 662 GREP 663 EGREP 664 RAPPTURE_CPPFLAGS 665 LIBOBJS 666 LTLIBOBJS' 654 SHELL' 667 655 ac_subst_files='' 656 ac_user_opts=' 657 enable_option_checking 658 with_rappture_include 659 with_rappture_lib 660 ' 668 661 ac_precious_vars='build_alias 669 662 host_alias … … 680 673 ac_init_help= 681 674 ac_init_version=false 675 ac_unrecognized_opts= 676 ac_unrecognized_sep= 682 677 # The variables have the same names as the options, with 683 678 # dashes changed to underlines. … … 735 730 736 731 case $ac_option in 737 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 738 *) ac_optarg=yes ;; 732 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 733 *=) ac_optarg= ;; 734 *) ac_optarg=yes ;; 739 735 esac 740 736 … … 778 774 779 775 -disable-* | --disable-*) 780 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`776 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 781 777 # Reject names that are not valid shell variable names. 782 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 783 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 784 { (exit 1); exit 1; }; } 785 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 786 eval enable_$ac_feature=no ;; 778 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 779 as_fn_error $? "invalid feature name: $ac_useropt" 780 ac_useropt_orig=$ac_useropt 781 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 782 case $ac_user_opts in 783 *" 784 "enable_$ac_useropt" 785 "*) ;; 786 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 787 ac_unrecognized_sep=', ';; 788 esac 789 eval enable_$ac_useropt=no ;; 787 790 788 791 -docdir | --docdir | --docdi | --doc | --do) … … 797 800 798 801 -enable-* | --enable-*) 799 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`802 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 800 803 # Reject names that are not valid shell variable names. 801 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 802 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 803 { (exit 1); exit 1; }; } 804 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 805 eval enable_$ac_feature=\$ac_optarg ;; 804 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 805 as_fn_error $? "invalid feature name: $ac_useropt" 806 ac_useropt_orig=$ac_useropt 807 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 808 case $ac_user_opts in 809 *" 810 "enable_$ac_useropt" 811 "*) ;; 812 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 813 ac_unrecognized_sep=', ';; 814 esac 815 eval enable_$ac_useropt=\$ac_optarg ;; 806 816 807 817 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 994 1004 995 1005 -with-* | --with-*) 996 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1006 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 997 1007 # Reject names that are not valid shell variable names. 998 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 999 { echo "$as_me: error: invalid package name: $ac_package" >&2 1000 { (exit 1); exit 1; }; } 1001 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1002 eval with_$ac_package=\$ac_optarg ;; 1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1009 as_fn_error $? "invalid package name: $ac_useropt" 1010 ac_useropt_orig=$ac_useropt 1011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1012 case $ac_user_opts in 1013 *" 1014 "with_$ac_useropt" 1015 "*) ;; 1016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1017 ac_unrecognized_sep=', ';; 1018 esac 1019 eval with_$ac_useropt=\$ac_optarg ;; 1003 1020 1004 1021 -without-* | --without-*) 1005 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1022 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1006 1023 # Reject names that are not valid shell variable names. 1007 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1008 { echo "$as_me: error: invalid package name: $ac_package" >&2 1009 { (exit 1); exit 1; }; } 1010 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1011 eval with_$ac_package=no ;; 1024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1025 as_fn_error $? "invalid package name: $ac_useropt" 1026 ac_useropt_orig=$ac_useropt 1027 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1028 case $ac_user_opts in 1029 *" 1030 "with_$ac_useropt" 1031 "*) ;; 1032 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1033 ac_unrecognized_sep=', ';; 1034 esac 1035 eval with_$ac_useropt=no ;; 1012 1036 1013 1037 --x) … … 1029 1053 x_libraries=$ac_optarg ;; 1030 1054 1031 -*) { echo "$as_me: error: unrecognized option: $ac_option 1032 Try \`$0 --help' for more information." >&2 1033 { (exit 1); exit 1; }; } 1055 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1056 Try \`$0 --help' for more information" 1034 1057 ;; 1035 1058 … … 1037 1060 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1038 1061 # Reject names that are not valid shell variable names. 1039 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1040 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1041 { (exit 1); exit 1; }; } 1062 case $ac_envvar in #( 1063 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1064 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1065 esac 1042 1066 eval $ac_envvar=\$ac_optarg 1043 1067 export $ac_envvar ;; … … 1045 1069 *) 1046 1070 # FIXME: should be removed in autoconf 3.0. 1047 echo "$as_me: WARNING: you should use --build, --host, --target" >&21071 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1048 1072 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1049 echo "$as_me: WARNING: invalid host type: $ac_option" >&21050 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1073 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1074 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1051 1075 ;; 1052 1076 … … 1056 1080 if test -n "$ac_prev"; then 1057 1081 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1058 { echo "$as_me: error: missing argument to $ac_option" >&2 1059 { (exit 1); exit 1; }; } 1060 fi 1061 1062 # Be sure to have absolute directory names. 1082 as_fn_error $? "missing argument to $ac_option" 1083 fi 1084 1085 if test -n "$ac_unrecognized_opts"; then 1086 case $enable_option_checking in 1087 no) ;; 1088 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1089 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1090 esac 1091 fi 1092 1093 # Check all directory arguments for consistency. 1063 1094 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1064 1095 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1067 1098 do 1068 1099 eval ac_val=\$$ac_var 1100 # Remove trailing slashes. 1101 case $ac_val in 1102 */ ) 1103 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1104 eval $ac_var=\$ac_val;; 1105 esac 1106 # Be sure to have absolute directory names. 1069 1107 case $ac_val in 1070 1108 [\\/$]* | ?:[\\/]* ) continue;; 1071 1109 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1072 1110 esac 1073 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1074 { (exit 1); exit 1; }; } 1111 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1075 1112 done 1076 1113 … … 1086 1123 if test "x$build_alias" = x; then 1087 1124 cross_compiling=maybe 1088 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1089 If a cross compiler is detected then cross compile mode will be used ." >&21125 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1126 If a cross compiler is detected then cross compile mode will be used" >&2 1090 1127 elif test "x$build_alias" != "x$host_alias"; then 1091 1128 cross_compiling=yes … … 1102 1139 ac_ls_di=`ls -di .` && 1103 1140 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1104 { echo "$as_me: error: Working directory cannot be determined" >&2 1105 { (exit 1); exit 1; }; } 1141 as_fn_error $? "working directory cannot be determined" 1106 1142 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1107 { echo "$as_me: error: pwd does not report name of working directory" >&2 1108 { (exit 1); exit 1; }; } 1143 as_fn_error $? "pwd does not report name of working directory" 1109 1144 1110 1145 … … 1113 1148 ac_srcdir_defaulted=yes 1114 1149 # Try the directory containing this script, then the parent directory. 1115 ac_confdir=`$as_dirname -- "$ 0" ||1116 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1117 X"$ 0" : 'X\(//\)[^/]' \| \1118 X"$ 0" : 'X\(//\)$' \| \1119 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1120 echo X"$0" |1150 ac_confdir=`$as_dirname -- "$as_myself" || 1151 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1152 X"$as_myself" : 'X\(//\)[^/]' \| \ 1153 X"$as_myself" : 'X\(//\)$' \| \ 1154 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1155 $as_echo X"$as_myself" | 1121 1156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1122 1157 s//\1/ … … 1145 1180 if test ! -r "$srcdir/$ac_unique_file"; then 1146 1181 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1147 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1148 { (exit 1); exit 1; }; } 1182 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1149 1183 fi 1150 1184 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1151 1185 ac_abs_confdir=`( 1152 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1153 { (exit 1); exit 1; }; } 1186 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1154 1187 pwd)` 1155 1188 # When building in place, set srcdir=. … … 1191 1224 --help=recursive display the short help of all the included packages 1192 1225 -V, --version display version information and exit 1193 -q, --quiet, --silent do not print \`checking ...' messages1226 -q, --quiet, --silent do not print \`checking ...' messages 1194 1227 --cache-file=FILE cache test results in FILE [disabled] 1195 1228 -C, --config-cache alias for \`--cache-file=config.cache' … … 1199 1232 Installation directories: 1200 1233 --prefix=PREFIX install architecture-independent files in PREFIX 1201 1234 [$ac_default_prefix] 1202 1235 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1203 1236 [PREFIX] 1204 1237 1205 1238 By default, \`make install' will install all the files in … … 1211 1244 1212 1245 Fine tuning of the installation directories: 1213 --bindir=DIR user executables [EPREFIX/bin]1214 --sbindir=DIR system admin executables [EPREFIX/sbin]1215 --libexecdir=DIR program executables [EPREFIX/libexec]1216 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1217 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1218 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1219 --libdir=DIR object code libraries [EPREFIX/lib]1220 --includedir=DIR C header files [PREFIX/include]1221 --oldincludedir=DIR C header files for non-gcc [/usr/include]1222 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1223 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1224 --infodir=DIR info documentation [DATAROOTDIR/info]1225 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1226 --mandir=DIR man documentation [DATAROOTDIR/man]1227 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture]1228 --htmldir=DIR html documentation [DOCDIR]1229 --dvidir=DIR dvi documentation [DOCDIR]1230 --pdfdir=DIR pdf documentation [DOCDIR]1231 --psdir=DIR ps documentation [DOCDIR]1246 --bindir=DIR user executables [EPREFIX/bin] 1247 --sbindir=DIR system admin executables [EPREFIX/sbin] 1248 --libexecdir=DIR program executables [EPREFIX/libexec] 1249 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1250 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1251 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1252 --libdir=DIR object code libraries [EPREFIX/lib] 1253 --includedir=DIR C header files [PREFIX/include] 1254 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1255 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1256 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1257 --infodir=DIR info documentation [DATAROOTDIR/info] 1258 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1259 --mandir=DIR man documentation [DATAROOTDIR/man] 1260 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture] 1261 --htmldir=DIR html documentation [DOCDIR] 1262 --dvidir=DIR dvi documentation [DOCDIR] 1263 --pdfdir=DIR pdf documentation [DOCDIR] 1264 --psdir=DIR ps documentation [DOCDIR] 1232 1265 _ACEOF 1233 1266 … … 1256 1289 nonstandard directory <lib dir> 1257 1290 LIBS libraries to pass to the linker, e.g. -l<library> 1258 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1291 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1259 1292 you have headers in a nonstandard directory <include dir> 1260 1293 CPP C preprocessor … … 1271 1304 # If there are subdirs, report their specific --help. 1272 1305 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1273 test -d "$ac_dir" || continue 1306 test -d "$ac_dir" || 1307 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1308 continue 1274 1309 ac_builddir=. 1275 1310 … … 1277 1312 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1278 1313 *) 1279 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1314 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1280 1315 # A ".." for each directory in $ac_dir_suffix. 1281 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1316 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1282 1317 case $ac_top_builddir_sub in 1283 1318 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1315 1350 $SHELL "$ac_srcdir/configure" --help=recursive 1316 1351 else 1317 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21352 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1318 1353 fi || ac_status=$? 1319 1354 cd "$ac_pwd" || { ac_status=$?; break; } … … 1325 1360 cat <<\_ACEOF 1326 1361 Rappture configure 1.0 1327 generated by GNU Autoconf 2.61 1328 1329 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1330 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1362 generated by GNU Autoconf 2.68 1363 1364 Copyright (C) 2010 Free Software Foundation, Inc. 1331 1365 This configure script is free software; the Free Software Foundation 1332 1366 gives unlimited permission to copy, distribute and modify it. … … 1334 1368 exit 1335 1369 fi 1370 1371 ## ------------------------ ## 1372 ## Autoconf initialization. ## 1373 ## ------------------------ ## 1374 1375 # ac_fn_c_try_compile LINENO 1376 # -------------------------- 1377 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1378 ac_fn_c_try_compile () 1379 { 1380 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1381 rm -f conftest.$ac_objext 1382 if { { ac_try="$ac_compile" 1383 case "(($ac_try" in 1384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1385 *) ac_try_echo=$ac_try;; 1386 esac 1387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1388 $as_echo "$ac_try_echo"; } >&5 1389 (eval "$ac_compile") 2>conftest.err 1390 ac_status=$? 1391 if test -s conftest.err; then 1392 grep -v '^ *+' conftest.err >conftest.er1 1393 cat conftest.er1 >&5 1394 mv -f conftest.er1 conftest.err 1395 fi 1396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1397 test $ac_status = 0; } && { 1398 test -z "$ac_c_werror_flag" || 1399 test ! -s conftest.err 1400 } && test -s conftest.$ac_objext; then : 1401 ac_retval=0 1402 else 1403 $as_echo "$as_me: failed program was:" >&5 1404 sed 's/^/| /' conftest.$ac_ext >&5 1405 1406 ac_retval=1 1407 fi 1408 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1409 as_fn_set_status $ac_retval 1410 1411 } # ac_fn_c_try_compile 1412 1413 # ac_fn_c_try_cpp LINENO 1414 # ---------------------- 1415 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1416 ac_fn_c_try_cpp () 1417 { 1418 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1419 if { { ac_try="$ac_cpp conftest.$ac_ext" 1420 case "(($ac_try" in 1421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1422 *) ac_try_echo=$ac_try;; 1423 esac 1424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1425 $as_echo "$ac_try_echo"; } >&5 1426 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1427 ac_status=$? 1428 if test -s conftest.err; then 1429 grep -v '^ *+' conftest.err >conftest.er1 1430 cat conftest.er1 >&5 1431 mv -f conftest.er1 conftest.err 1432 fi 1433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1434 test $ac_status = 0; } > conftest.i && { 1435 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1436 test ! -s conftest.err 1437 }; then : 1438 ac_retval=0 1439 else 1440 $as_echo "$as_me: failed program was:" >&5 1441 sed 's/^/| /' conftest.$ac_ext >&5 1442 1443 ac_retval=1 1444 fi 1445 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1446 as_fn_set_status $ac_retval 1447 1448 } # ac_fn_c_try_cpp 1449 1450 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1451 # ------------------------------------------------------- 1452 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1453 # the include files in INCLUDES and setting the cache variable VAR 1454 # accordingly. 1455 ac_fn_c_check_header_mongrel () 1456 { 1457 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1458 if eval \${$3+:} false; then : 1459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1460 $as_echo_n "checking for $2... " >&6; } 1461 if eval \${$3+:} false; then : 1462 $as_echo_n "(cached) " >&6 1463 fi 1464 eval ac_res=\$$3 1465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1466 $as_echo "$ac_res" >&6; } 1467 else 1468 # Is the header compilable? 1469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1470 $as_echo_n "checking $2 usability... " >&6; } 1471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1472 /* end confdefs.h. */ 1473 $4 1474 #include <$2> 1475 _ACEOF 1476 if ac_fn_c_try_compile "$LINENO"; then : 1477 ac_header_compiler=yes 1478 else 1479 ac_header_compiler=no 1480 fi 1481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1483 $as_echo "$ac_header_compiler" >&6; } 1484 1485 # Is the header present? 1486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1487 $as_echo_n "checking $2 presence... " >&6; } 1488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1489 /* end confdefs.h. */ 1490 #include <$2> 1491 _ACEOF 1492 if ac_fn_c_try_cpp "$LINENO"; then : 1493 ac_header_preproc=yes 1494 else 1495 ac_header_preproc=no 1496 fi 1497 rm -f conftest.err conftest.i conftest.$ac_ext 1498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1499 $as_echo "$ac_header_preproc" >&6; } 1500 1501 # So? What about this header? 1502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1503 yes:no: ) 1504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1505 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1507 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1508 ;; 1509 no:yes:* ) 1510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1511 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1513 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1515 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1517 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1519 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1520 ( $as_echo "## ----------------------------------- ## 1521 ## Report this to rappture@nanohub.org ## 1522 ## ----------------------------------- ##" 1523 ) | sed "s/^/$as_me: WARNING: /" >&2 1524 ;; 1525 esac 1526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1527 $as_echo_n "checking for $2... " >&6; } 1528 if eval \${$3+:} false; then : 1529 $as_echo_n "(cached) " >&6 1530 else 1531 eval "$3=\$ac_header_compiler" 1532 fi 1533 eval ac_res=\$$3 1534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1535 $as_echo "$ac_res" >&6; } 1536 fi 1537 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1538 1539 } # ac_fn_c_check_header_mongrel 1540 1541 # ac_fn_c_try_run LINENO 1542 # ---------------------- 1543 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1544 # that executables *can* be run. 1545 ac_fn_c_try_run () 1546 { 1547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1548 if { { ac_try="$ac_link" 1549 case "(($ac_try" in 1550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1551 *) ac_try_echo=$ac_try;; 1552 esac 1553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1554 $as_echo "$ac_try_echo"; } >&5 1555 (eval "$ac_link") 2>&5 1556 ac_status=$? 1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1558 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1559 { { case "(($ac_try" in 1560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1561 *) ac_try_echo=$ac_try;; 1562 esac 1563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1564 $as_echo "$ac_try_echo"; } >&5 1565 (eval "$ac_try") 2>&5 1566 ac_status=$? 1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1568 test $ac_status = 0; }; }; then : 1569 ac_retval=0 1570 else 1571 $as_echo "$as_me: program exited with status $ac_status" >&5 1572 $as_echo "$as_me: failed program was:" >&5 1573 sed 's/^/| /' conftest.$ac_ext >&5 1574 1575 ac_retval=$ac_status 1576 fi 1577 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1578 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1579 as_fn_set_status $ac_retval 1580 1581 } # ac_fn_c_try_run 1582 1583 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1584 # ------------------------------------------------------- 1585 # Tests whether HEADER exists and can be compiled using the include files in 1586 # INCLUDES, setting the cache variable VAR accordingly. 1587 ac_fn_c_check_header_compile () 1588 { 1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1591 $as_echo_n "checking for $2... " >&6; } 1592 if eval \${$3+:} false; then : 1593 $as_echo_n "(cached) " >&6 1594 else 1595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1596 /* end confdefs.h. */ 1597 $4 1598 #include <$2> 1599 _ACEOF 1600 if ac_fn_c_try_compile "$LINENO"; then : 1601 eval "$3=yes" 1602 else 1603 eval "$3=no" 1604 fi 1605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1606 fi 1607 eval ac_res=\$$3 1608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1609 $as_echo "$ac_res" >&6; } 1610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1611 1612 } # ac_fn_c_check_header_compile 1613 1614 # ac_fn_c_try_link LINENO 1615 # ----------------------- 1616 # Try to link conftest.$ac_ext, and return whether this succeeded. 1617 ac_fn_c_try_link () 1618 { 1619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1620 rm -f conftest.$ac_objext conftest$ac_exeext 1621 if { { ac_try="$ac_link" 1622 case "(($ac_try" in 1623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1624 *) ac_try_echo=$ac_try;; 1625 esac 1626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1627 $as_echo "$ac_try_echo"; } >&5 1628 (eval "$ac_link") 2>conftest.err 1629 ac_status=$? 1630 if test -s conftest.err; then 1631 grep -v '^ *+' conftest.err >conftest.er1 1632 cat conftest.er1 >&5 1633 mv -f conftest.er1 conftest.err 1634 fi 1635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1636 test $ac_status = 0; } && { 1637 test -z "$ac_c_werror_flag" || 1638 test ! -s conftest.err 1639 } && test -s conftest$ac_exeext && { 1640 test "$cross_compiling" = yes || 1641 $as_test_x conftest$ac_exeext 1642 }; then : 1643 ac_retval=0 1644 else 1645 $as_echo "$as_me: failed program was:" >&5 1646 sed 's/^/| /' conftest.$ac_ext >&5 1647 1648 ac_retval=1 1649 fi 1650 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1651 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1652 # interfere with the next link command; also delete a directory that is 1653 # left behind by Apple's compiler. We do this before executing the actions. 1654 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1656 as_fn_set_status $ac_retval 1657 1658 } # ac_fn_c_try_link 1659 1660 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1661 # -------------------------------------------- 1662 # Tries to find the compile-time value of EXPR in a program that includes 1663 # INCLUDES, setting VAR accordingly. Returns whether the value could be 1664 # computed 1665 ac_fn_c_compute_int () 1666 { 1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1668 if test "$cross_compiling" = yes; then 1669 # Depending upon the size, compute the lo and hi bounds. 1670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1671 /* end confdefs.h. */ 1672 $4 1673 int 1674 main () 1675 { 1676 static int test_array [1 - 2 * !(($2) >= 0)]; 1677 test_array [0] = 0 1678 1679 ; 1680 return 0; 1681 } 1682 _ACEOF 1683 if ac_fn_c_try_compile "$LINENO"; then : 1684 ac_lo=0 ac_mid=0 1685 while :; do 1686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1687 /* end confdefs.h. */ 1688 $4 1689 int 1690 main () 1691 { 1692 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1693 test_array [0] = 0 1694 1695 ; 1696 return 0; 1697 } 1698 _ACEOF 1699 if ac_fn_c_try_compile "$LINENO"; then : 1700 ac_hi=$ac_mid; break 1701 else 1702 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1703 if test $ac_lo -le $ac_mid; then 1704 ac_lo= ac_hi= 1705 break 1706 fi 1707 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1708 fi 1709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1710 done 1711 else 1712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1713 /* end confdefs.h. */ 1714 $4 1715 int 1716 main () 1717 { 1718 static int test_array [1 - 2 * !(($2) < 0)]; 1719 test_array [0] = 0 1720 1721 ; 1722 return 0; 1723 } 1724 _ACEOF 1725 if ac_fn_c_try_compile "$LINENO"; then : 1726 ac_hi=-1 ac_mid=-1 1727 while :; do 1728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1729 /* end confdefs.h. */ 1730 $4 1731 int 1732 main () 1733 { 1734 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1735 test_array [0] = 0 1736 1737 ; 1738 return 0; 1739 } 1740 _ACEOF 1741 if ac_fn_c_try_compile "$LINENO"; then : 1742 ac_lo=$ac_mid; break 1743 else 1744 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1745 if test $ac_mid -le $ac_hi; then 1746 ac_lo= ac_hi= 1747 break 1748 fi 1749 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1750 fi 1751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1752 done 1753 else 1754 ac_lo= ac_hi= 1755 fi 1756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1757 fi 1758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1759 # Binary search between lo and hi bounds. 1760 while test "x$ac_lo" != "x$ac_hi"; do 1761 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1763 /* end confdefs.h. */ 1764 $4 1765 int 1766 main () 1767 { 1768 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1769 test_array [0] = 0 1770 1771 ; 1772 return 0; 1773 } 1774 _ACEOF 1775 if ac_fn_c_try_compile "$LINENO"; then : 1776 ac_hi=$ac_mid 1777 else 1778 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1779 fi 1780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1781 done 1782 case $ac_lo in #(( 1783 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 1784 '') ac_retval=1 ;; 1785 esac 1786 else 1787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1788 /* end confdefs.h. */ 1789 $4 1790 static long int longval () { return $2; } 1791 static unsigned long int ulongval () { return $2; } 1792 #include <stdio.h> 1793 #include <stdlib.h> 1794 int 1795 main () 1796 { 1797 1798 FILE *f = fopen ("conftest.val", "w"); 1799 if (! f) 1800 return 1; 1801 if (($2) < 0) 1802 { 1803 long int i = longval (); 1804 if (i != ($2)) 1805 return 1; 1806 fprintf (f, "%ld", i); 1807 } 1808 else 1809 { 1810 unsigned long int i = ulongval (); 1811 if (i != ($2)) 1812 return 1; 1813 fprintf (f, "%lu", i); 1814 } 1815 /* Do not output a trailing newline, as this causes \r\n confusion 1816 on some platforms. */ 1817 return ferror (f) || fclose (f) != 0; 1818 1819 ; 1820 return 0; 1821 } 1822 _ACEOF 1823 if ac_fn_c_try_run "$LINENO"; then : 1824 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 1825 else 1826 ac_retval=1 1827 fi 1828 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 1829 conftest.$ac_objext conftest.beam conftest.$ac_ext 1830 rm -f conftest.val 1831 1832 fi 1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1834 as_fn_set_status $ac_retval 1835 1836 } # ac_fn_c_compute_int 1336 1837 cat >config.log <<_ACEOF 1337 1838 This file contains any messages produced by compilers while … … 1339 1840 1340 1841 It was created by Rappture $as_me 1.0, which was 1341 generated by GNU Autoconf 2.6 1. Invocation command line was1842 generated by GNU Autoconf 2.68. Invocation command line was 1342 1843 1343 1844 $ $0 $@ … … 1375 1876 IFS=$as_save_IFS 1376 1877 test -z "$as_dir" && as_dir=. 1377 echo "PATH: $as_dir"1378 done1878 $as_echo "PATH: $as_dir" 1879 done 1379 1880 IFS=$as_save_IFS 1380 1881 … … 1410 1911 continue ;; 1411 1912 *\'*) 1412 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1913 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1413 1914 esac 1414 1915 case $ac_pass in 1415 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1916 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1416 1917 2) 1417 a c_configure_args1="$ac_configure_args1'$ac_arg'"1918 as_fn_append ac_configure_args1 " '$ac_arg'" 1418 1919 if test $ac_must_keep_next = true; then 1419 1920 ac_must_keep_next=false # Got value, back to normal. … … 1431 1932 esac 1432 1933 fi 1433 a c_configure_args="$ac_configure_args'$ac_arg'"1934 as_fn_append ac_configure_args " '$ac_arg'" 1434 1935 ;; 1435 1936 esac 1436 1937 done 1437 1938 done 1438 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1439 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}1939 { ac_configure_args0=; unset ac_configure_args0;} 1940 { ac_configure_args1=; unset ac_configure_args1;} 1440 1941 1441 1942 # When interrupted or exit'd, cleanup temporary files, and complete … … 1449 1950 echo 1450 1951 1451 cat <<\_ASBOX 1452 ## ---------------- ## 1952 $as_echo "## ---------------- ## 1453 1953 ## Cache variables. ## 1454 ## ---------------- ## 1455 _ASBOX 1954 ## ---------------- ##" 1456 1955 echo 1457 1956 # The following way of writing the cache mishandles newlines in values, … … 1462 1961 *${as_nl}*) 1463 1962 case $ac_var in #( 1464 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51465 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;1963 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1964 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1466 1965 esac 1467 1966 case $ac_var in #( 1468 1967 _ | IFS | as_nl) ;; #( 1469 *) $as_unset $ac_var ;; 1968 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1969 *) { eval $ac_var=; unset $ac_var;} ;; 1470 1970 esac ;; 1471 1971 esac … … 1486 1986 echo 1487 1987 1488 cat <<\_ASBOX 1489 ## ----------------- ## 1988 $as_echo "## ----------------- ## 1490 1989 ## Output variables. ## 1491 ## ----------------- ## 1492 _ASBOX 1990 ## ----------------- ##" 1493 1991 echo 1494 1992 for ac_var in $ac_subst_vars … … 1496 1994 eval ac_val=\$$ac_var 1497 1995 case $ac_val in 1498 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1996 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1499 1997 esac 1500 echo "$ac_var='\''$ac_val'\''"1998 $as_echo "$ac_var='\''$ac_val'\''" 1501 1999 done | sort 1502 2000 echo 1503 2001 1504 2002 if test -n "$ac_subst_files"; then 1505 cat <<\_ASBOX 1506 ## ------------------- ## 2003 $as_echo "## ------------------- ## 1507 2004 ## File substitutions. ## 1508 ## ------------------- ## 1509 _ASBOX 2005 ## ------------------- ##" 1510 2006 echo 1511 2007 for ac_var in $ac_subst_files … … 1513 2009 eval ac_val=\$$ac_var 1514 2010 case $ac_val in 1515 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2011 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1516 2012 esac 1517 echo "$ac_var='\''$ac_val'\''"2013 $as_echo "$ac_var='\''$ac_val'\''" 1518 2014 done | sort 1519 2015 echo … … 1521 2017 1522 2018 if test -s confdefs.h; then 1523 cat <<\_ASBOX 1524 ## ----------- ## 2019 $as_echo "## ----------- ## 1525 2020 ## confdefs.h. ## 1526 ## ----------- ## 1527 _ASBOX 2021 ## ----------- ##" 1528 2022 echo 1529 2023 cat confdefs.h … … 1531 2025 fi 1532 2026 test "$ac_signal" != 0 && 1533 echo "$as_me: caught signal $ac_signal"1534 echo "$as_me: exit $exit_status"2027 $as_echo "$as_me: caught signal $ac_signal" 2028 $as_echo "$as_me: exit $exit_status" 1535 2029 } >&5 1536 2030 rm -f core *.core core.conftest.* && … … 1539 2033 ' 0 1540 2034 for ac_signal in 1 2 13 15; do 1541 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2035 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1542 2036 done 1543 2037 ac_signal=0 … … 1546 2040 rm -f -r conftest* confdefs.h 1547 2041 2042 $as_echo "/* confdefs.h */" > confdefs.h 2043 1548 2044 # Predefined preprocessor variables. 1549 2045 … … 1552 2048 _ACEOF 1553 2049 1554 1555 2050 cat >>confdefs.h <<_ACEOF 1556 2051 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1557 2052 _ACEOF 1558 2053 1559 1560 2054 cat >>confdefs.h <<_ACEOF 1561 2055 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1562 2056 _ACEOF 1563 2057 1564 1565 2058 cat >>confdefs.h <<_ACEOF 1566 2059 #define PACKAGE_STRING "$PACKAGE_STRING" 1567 2060 _ACEOF 1568 2061 1569 1570 2062 cat >>confdefs.h <<_ACEOF 1571 2063 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1572 2064 _ACEOF 1573 2065 2066 cat >>confdefs.h <<_ACEOF 2067 #define PACKAGE_URL "$PACKAGE_URL" 2068 _ACEOF 2069 1574 2070 1575 2071 # Let the site file select an alternate cache file if it wants to. 1576 # Prefer explicitly selected file to automatically selected ones. 2072 # Prefer an explicitly selected file to automatically selected ones. 2073 ac_site_file1=NONE 2074 ac_site_file2=NONE 1577 2075 if test -n "$CONFIG_SITE"; then 1578 set x "$CONFIG_SITE" 2076 # We do not want a PATH search for config.site. 2077 case $CONFIG_SITE in #(( 2078 -*) ac_site_file1=./$CONFIG_SITE;; 2079 */*) ac_site_file1=$CONFIG_SITE;; 2080 *) ac_site_file1=./$CONFIG_SITE;; 2081 esac 1579 2082 elif test "x$prefix" != xNONE; then 1580 set x "$prefix/share/config.site" "$prefix/etc/config.site"1581 else1582 set x "$ac_default_prefix/share/config.site" \ 1583 "$ac_default_prefix/etc/config.site" 1584 fi 1585 shift 1586 for ac_site_file 2083 ac_site_file1=$prefix/share/config.site 2084 ac_site_file2=$prefix/etc/config.site 2085 else 2086 ac_site_file1=$ac_default_prefix/share/config.site 2087 ac_site_file2=$ac_default_prefix/etc/config.site 2088 fi 2089 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1587 2090 do 1588 if test -r "$ac_site_file"; then 1589 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1590 echo "$as_me: loading site script $ac_site_file" >&6;} 2091 test "x$ac_site_file" = xNONE && continue 2092 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2093 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2094 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1591 2095 sed 's/^/| /' "$ac_site_file" >&5 1592 . "$ac_site_file" 2096 . "$ac_site_file" \ 2097 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2099 as_fn_error $? "failed to load site script $ac_site_file 2100 See \`config.log' for more details" "$LINENO" 5; } 1593 2101 fi 1594 2102 done 1595 2103 1596 2104 if test -r "$cache_file"; then 1597 # Some versions of bash will fail to source /dev/null (special 1598 # files actually), so we avoid doing that.1599 if test -f "$cache_file"; then1600 { echo "$as_me:$LINENO: loading cache $cache_file" >&51601 echo "$as_me: loading cache $cache_file" >&6;}2105 # Some versions of bash will fail to source /dev/null (special files 2106 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2107 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2108 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2109 $as_echo "$as_me: loading cache $cache_file" >&6;} 1602 2110 case $cache_file in 1603 2111 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1606 2114 fi 1607 2115 else 1608 { echo "$as_me:$LINENO: creating cache $cache_file" >&51609 echo "$as_me: creating cache $cache_file" >&6;}2116 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2117 $as_echo "$as_me: creating cache $cache_file" >&6;} 1610 2118 >$cache_file 1611 2119 fi … … 1621 2129 case $ac_old_set,$ac_new_set in 1622 2130 set,) 1623 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51624 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2131 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2132 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1625 2133 ac_cache_corrupted=: ;; 1626 2134 ,set) 1627 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51628 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2135 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2136 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1629 2137 ac_cache_corrupted=: ;; 1630 2138 ,);; 1631 2139 *) 1632 2140 if test "x$ac_old_val" != "x$ac_new_val"; then 1633 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1634 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1635 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1636 echo "$as_me: former value: $ac_old_val" >&2;} 1637 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1638 echo "$as_me: current value: $ac_new_val" >&2;} 1639 ac_cache_corrupted=: 2141 # differences in whitespace do not lead to failure. 2142 ac_old_val_w=`echo x $ac_old_val` 2143 ac_new_val_w=`echo x $ac_new_val` 2144 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2145 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2146 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2147 ac_cache_corrupted=: 2148 else 2149 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2150 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2151 eval $ac_var=\$ac_old_val 2152 fi 2153 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2154 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2155 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2156 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1640 2157 fi;; 1641 2158 esac … … 1643 2160 if test "$ac_new_set" = set; then 1644 2161 case $ac_new_val in 1645 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2162 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1646 2163 *) ac_arg=$ac_var=$ac_new_val ;; 1647 2164 esac 1648 2165 case " $ac_configure_args " in 1649 2166 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1650 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2167 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1651 2168 esac 1652 2169 fi 1653 2170 done 1654 2171 if $ac_cache_corrupted; then 1655 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1656 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1657 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1658 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1659 { (exit 1); exit 1; }; } 1660 fi 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 2172 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2175 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2176 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2177 fi 2178 ## -------------------- ## 2179 ## Main body of script. ## 2180 ## -------------------- ## 1685 2181 1686 2182 ac_ext=c … … 1694 2190 1695 2191 # Check whether --with-rappture-include was given. 1696 if test "${with_rappture_include+set}" = set; then 2192 if test "${with_rappture_include+set}" = set; then : 1697 2193 withval=$with_rappture_include; rappture_include_path=$withval 1698 2194 fi … … 1709 2205 1710 2206 # Check whether --with-rappture-lib was given. 1711 if test "${with_rappture_lib+set}" = set; then 2207 if test "${with_rappture_lib+set}" = set; then : 1712 2208 withval=$with_rappture_lib; rappture_lib_path=$withval 1713 2209 fi … … 1741 2237 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1742 2238 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1743 { echo "$as_me:$LINENO: checking for $ac_word" >&51744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1745 if test "${ac_cv_prog_CC+set}" = set; then1746 echo $ECHO_N "(cached) $ECHO_C" >&62239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2240 $as_echo_n "checking for $ac_word... " >&6; } 2241 if ${ac_cv_prog_CC+:} false; then : 2242 $as_echo_n "(cached) " >&6 1747 2243 else 1748 2244 if test -n "$CC"; then … … 1754 2250 IFS=$as_save_IFS 1755 2251 test -z "$as_dir" && as_dir=. 1756 for ac_exec_ext in '' $ac_executable_extensions; do2252 for ac_exec_ext in '' $ac_executable_extensions; do 1757 2253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1758 2254 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1760 2256 break 2 1761 2257 fi 1762 2258 done 1763 done2259 done 1764 2260 IFS=$as_save_IFS 1765 2261 … … 1768 2264 CC=$ac_cv_prog_CC 1769 2265 if test -n "$CC"; then 1770 { echo "$as_me:$LINENO: result: $CC" >&51771 echo "${ECHO_T}$CC" >&6; }1772 else 1773 { echo "$as_me:$LINENO: result: no" >&51774 echo "${ECHO_T}no" >&6; }2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2267 $as_echo "$CC" >&6; } 2268 else 2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2270 $as_echo "no" >&6; } 1775 2271 fi 1776 2272 … … 1781 2277 # Extract the first word of "gcc", so it can be a program name with args. 1782 2278 set dummy gcc; ac_word=$2 1783 { echo "$as_me:$LINENO: checking for $ac_word" >&51784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then1786 echo $ECHO_N "(cached) $ECHO_C" >&62279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2280 $as_echo_n "checking for $ac_word... " >&6; } 2281 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2282 $as_echo_n "(cached) " >&6 1787 2283 else 1788 2284 if test -n "$ac_ct_CC"; then … … 1794 2290 IFS=$as_save_IFS 1795 2291 test -z "$as_dir" && as_dir=. 1796 for ac_exec_ext in '' $ac_executable_extensions; do2292 for ac_exec_ext in '' $ac_executable_extensions; do 1797 2293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1798 2294 ac_cv_prog_ac_ct_CC="gcc" 1799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1800 2296 break 2 1801 2297 fi 1802 2298 done 1803 done2299 done 1804 2300 IFS=$as_save_IFS 1805 2301 … … 1808 2304 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1809 2305 if test -n "$ac_ct_CC"; then 1810 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&51811 echo "${ECHO_T}$ac_ct_CC" >&6; }1812 else 1813 { echo "$as_me:$LINENO: result: no" >&51814 echo "${ECHO_T}no" >&6; }2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2307 $as_echo "$ac_ct_CC" >&6; } 2308 else 2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2310 $as_echo "no" >&6; } 1815 2311 fi 1816 2312 … … 1820 2316 case $cross_compiling:$ac_tool_warned in 1821 2317 yes:) 1822 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1823 whose name does not start with the host triplet. If you think this 1824 configuration is useful to you, please write to autoconf@gnu.org." >&5 1825 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1826 whose name does not start with the host triplet. If you think this 1827 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1828 2320 ac_tool_warned=yes ;; 1829 2321 esac … … 1838 2330 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1839 2331 set dummy ${ac_tool_prefix}cc; ac_word=$2 1840 { echo "$as_me:$LINENO: checking for $ac_word" >&51841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1842 if test "${ac_cv_prog_CC+set}" = set; then1843 echo $ECHO_N "(cached) $ECHO_C" >&62332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2333 $as_echo_n "checking for $ac_word... " >&6; } 2334 if ${ac_cv_prog_CC+:} false; then : 2335 $as_echo_n "(cached) " >&6 1844 2336 else 1845 2337 if test -n "$CC"; then … … 1851 2343 IFS=$as_save_IFS 1852 2344 test -z "$as_dir" && as_dir=. 1853 for ac_exec_ext in '' $ac_executable_extensions; do2345 for ac_exec_ext in '' $ac_executable_extensions; do 1854 2346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1855 2347 ac_cv_prog_CC="${ac_tool_prefix}cc" 1856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1857 2349 break 2 1858 2350 fi 1859 2351 done 1860 done2352 done 1861 2353 IFS=$as_save_IFS 1862 2354 … … 1865 2357 CC=$ac_cv_prog_CC 1866 2358 if test -n "$CC"; then 1867 { echo "$as_me:$LINENO: result: $CC" >&51868 echo "${ECHO_T}$CC" >&6; }1869 else 1870 { echo "$as_me:$LINENO: result: no" >&51871 echo "${ECHO_T}no" >&6; }2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2360 $as_echo "$CC" >&6; } 2361 else 2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2363 $as_echo "no" >&6; } 1872 2364 fi 1873 2365 … … 1878 2370 # Extract the first word of "cc", so it can be a program name with args. 1879 2371 set dummy cc; ac_word=$2 1880 { echo "$as_me:$LINENO: checking for $ac_word" >&51881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1882 if test "${ac_cv_prog_CC+set}" = set; then1883 echo $ECHO_N "(cached) $ECHO_C" >&62372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2373 $as_echo_n "checking for $ac_word... " >&6; } 2374 if ${ac_cv_prog_CC+:} false; then : 2375 $as_echo_n "(cached) " >&6 1884 2376 else 1885 2377 if test -n "$CC"; then … … 1892 2384 IFS=$as_save_IFS 1893 2385 test -z "$as_dir" && as_dir=. 1894 for ac_exec_ext in '' $ac_executable_extensions; do2386 for ac_exec_ext in '' $ac_executable_extensions; do 1895 2387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1896 2388 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 1899 2391 fi 1900 2392 ac_cv_prog_CC="cc" 1901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1902 2394 break 2 1903 2395 fi 1904 2396 done 1905 done2397 done 1906 2398 IFS=$as_save_IFS 1907 2399 … … 1922 2414 CC=$ac_cv_prog_CC 1923 2415 if test -n "$CC"; then 1924 { echo "$as_me:$LINENO: result: $CC" >&51925 echo "${ECHO_T}$CC" >&6; }1926 else 1927 { echo "$as_me:$LINENO: result: no" >&51928 echo "${ECHO_T}no" >&6; }2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2417 $as_echo "$CC" >&6; } 2418 else 2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2420 $as_echo "no" >&6; } 1929 2421 fi 1930 2422 … … 1937 2429 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1938 2430 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1939 { echo "$as_me:$LINENO: checking for $ac_word" >&51940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1941 if test "${ac_cv_prog_CC+set}" = set; then1942 echo $ECHO_N "(cached) $ECHO_C" >&62431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2432 $as_echo_n "checking for $ac_word... " >&6; } 2433 if ${ac_cv_prog_CC+:} false; then : 2434 $as_echo_n "(cached) " >&6 1943 2435 else 1944 2436 if test -n "$CC"; then … … 1950 2442 IFS=$as_save_IFS 1951 2443 test -z "$as_dir" && as_dir=. 1952 for ac_exec_ext in '' $ac_executable_extensions; do2444 for ac_exec_ext in '' $ac_executable_extensions; do 1953 2445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1954 2446 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1956 2448 break 2 1957 2449 fi 1958 2450 done 1959 done2451 done 1960 2452 IFS=$as_save_IFS 1961 2453 … … 1964 2456 CC=$ac_cv_prog_CC 1965 2457 if test -n "$CC"; then 1966 { echo "$as_me:$LINENO: result: $CC" >&51967 echo "${ECHO_T}$CC" >&6; }1968 else 1969 { echo "$as_me:$LINENO: result: no" >&51970 echo "${ECHO_T}no" >&6; }2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2459 $as_echo "$CC" >&6; } 2460 else 2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2462 $as_echo "no" >&6; } 1971 2463 fi 1972 2464 … … 1981 2473 # Extract the first word of "$ac_prog", so it can be a program name with args. 1982 2474 set dummy $ac_prog; ac_word=$2 1983 { echo "$as_me:$LINENO: checking for $ac_word" >&51984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1985 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then1986 echo $ECHO_N "(cached) $ECHO_C" >&62475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2476 $as_echo_n "checking for $ac_word... " >&6; } 2477 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2478 $as_echo_n "(cached) " >&6 1987 2479 else 1988 2480 if test -n "$ac_ct_CC"; then … … 1994 2486 IFS=$as_save_IFS 1995 2487 test -z "$as_dir" && as_dir=. 1996 for ac_exec_ext in '' $ac_executable_extensions; do2488 for ac_exec_ext in '' $ac_executable_extensions; do 1997 2489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1998 2490 ac_cv_prog_ac_ct_CC="$ac_prog" 1999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2000 2492 break 2 2001 2493 fi 2002 2494 done 2003 done2495 done 2004 2496 IFS=$as_save_IFS 2005 2497 … … 2008 2500 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2009 2501 if test -n "$ac_ct_CC"; then 2010 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52011 echo "${ECHO_T}$ac_ct_CC" >&6; }2012 else 2013 { echo "$as_me:$LINENO: result: no" >&52014 echo "${ECHO_T}no" >&6; }2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2503 $as_echo "$ac_ct_CC" >&6; } 2504 else 2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2506 $as_echo "no" >&6; } 2015 2507 fi 2016 2508 … … 2024 2516 case $cross_compiling:$ac_tool_warned in 2025 2517 yes:) 2026 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2027 whose name does not start with the host triplet. If you think this 2028 configuration is useful to you, please write to autoconf@gnu.org." >&5 2029 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2030 whose name does not start with the host triplet. If you think this 2031 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2032 2520 ac_tool_warned=yes ;; 2033 2521 esac … … 2039 2527 2040 2528 2041 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2042 See \`config.log' for more details." >&5 2043 echo "$as_me: error: no acceptable C compiler found in \$PATH 2044 See \`config.log' for more details." >&2;} 2045 { (exit 1); exit 1; }; } 2529 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2531 as_fn_error $? "no acceptable C compiler found in \$PATH 2532 See \`config.log' for more details" "$LINENO" 5; } 2046 2533 2047 2534 # Provide some information about the compiler. 2048 echo "$as_me:$LINENO: checking for C compiler version" >&5 2049 ac_compiler=`set X $ac_compile; echo $2` 2050 { (ac_try="$ac_compiler --version >&5" 2535 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2536 set X $ac_compile 2537 ac_compiler=$2 2538 for ac_option in --version -v -V -qversion; do 2539 { { ac_try="$ac_compiler $ac_option >&5" 2051 2540 case "(($ac_try" in 2052 2541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2053 2542 *) ac_try_echo=$ac_try;; 2054 2543 esac 2055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2056 (eval "$ac_compiler --version >&5") 2>&5 2544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2545 $as_echo "$ac_try_echo"; } >&5 2546 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2057 2547 ac_status=$? 2058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2059 (exit $ac_status); } 2060 { (ac_try="$ac_compiler -v >&5" 2548 if test -s conftest.err; then 2549 sed '10a\ 2550 ... rest of stderr output deleted ... 2551 10q' conftest.err >conftest.er1 2552 cat conftest.er1 >&5 2553 fi 2554 rm -f conftest.er1 conftest.err 2555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2556 test $ac_status = 0; } 2557 done 2558 2559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2560 /* end confdefs.h. */ 2561 2562 int 2563 main () 2564 { 2565 2566 ; 2567 return 0; 2568 } 2569 _ACEOF 2570 ac_clean_files_save=$ac_clean_files 2571 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2572 # Try to create an executable without -o first, disregard a.out. 2573 # It will help us diagnose broken compilers, and finding out an intuition 2574 # of exeext. 2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2576 $as_echo_n "checking whether the C compiler works... " >&6; } 2577 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2578 2579 # The possible output files: 2580 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2581 2582 ac_rmfiles= 2583 for ac_file in $ac_files 2584 do 2585 case $ac_file in 2586 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2587 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2588 esac 2589 done 2590 rm -f $ac_rmfiles 2591 2592 if { { ac_try="$ac_link_default" 2061 2593 case "(($ac_try" in 2062 2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2063 2595 *) ac_try_echo=$ac_try;; 2064 2596 esac 2065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2066 (eval "$ac_compiler -v >&5") 2>&5 2067 ac_status=$? 2068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2069 (exit $ac_status); } 2070 { (ac_try="$ac_compiler -V >&5" 2071 case "(($ac_try" in 2072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2073 *) ac_try_echo=$ac_try;; 2074 esac 2075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2076 (eval "$ac_compiler -V >&5") 2>&5 2077 ac_status=$? 2078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2079 (exit $ac_status); } 2080 2081 cat >conftest.$ac_ext <<_ACEOF 2082 /* confdefs.h. */ 2083 _ACEOF 2084 cat confdefs.h >>conftest.$ac_ext 2085 cat >>conftest.$ac_ext <<_ACEOF 2086 /* end confdefs.h. */ 2087 2088 int 2089 main () 2090 { 2091 2092 ; 2093 return 0; 2094 } 2095 _ACEOF 2096 ac_clean_files_save=$ac_clean_files 2097 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2098 # Try to create an executable without -o first, disregard a.out. 2099 # It will help us diagnose broken compilers, and finding out an intuition 2100 # of exeext. 2101 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2102 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2103 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2104 # 2105 # List of possible output files, starting from the most likely. 2106 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2107 # only as a last resort. b.out is created by i960 compilers. 2108 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2109 # 2110 # The IRIX 6 linker writes into existing files which may not be 2111 # executable, retaining their permissions. Remove them first so a 2112 # subsequent execution test works. 2113 ac_rmfiles= 2114 for ac_file in $ac_files 2115 do 2116 case $ac_file in 2117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2118 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2119 esac 2120 done 2121 rm -f $ac_rmfiles 2122 2123 if { (ac_try="$ac_link_default" 2124 case "(($ac_try" in 2125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2126 *) ac_try_echo=$ac_try;; 2127 esac 2128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2598 $as_echo "$ac_try_echo"; } >&5 2129 2599 (eval "$ac_link_default") 2>&5 2130 2600 ac_status=$? 2131 echo "$as_me:$LINENO: \$? = $ac_status" >&52132 (exit $ac_status); }; then2601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2602 test $ac_status = 0; }; then : 2133 2603 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2134 2604 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2140 2610 test -f "$ac_file" || continue 2141 2611 case $ac_file in 2142 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )2612 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2143 2613 ;; 2144 2614 [ab].out ) … … 2147 2617 break;; 2148 2618 *.* ) 2149 2619 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2150 2620 then :; else 2151 2621 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2166 2636 ac_file='' 2167 2637 fi 2168 2169 { echo "$as_me:$LINENO: result: $ac_file" >&5 2170 echo "${ECHO_T}$ac_file" >&6; } 2171 if test -z "$ac_file"; then 2172 echo "$as_me: failed program was:" >&5 2638 if test -z "$ac_file"; then : 2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2640 $as_echo "no" >&6; } 2641 $as_echo "$as_me: failed program was:" >&5 2173 2642 sed 's/^/| /' conftest.$ac_ext >&5 2174 2643 2175 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2176 See \`config.log' for more details." >&5 2177 echo "$as_me: error: C compiler cannot create executables 2178 See \`config.log' for more details." >&2;} 2179 { (exit 77); exit 77; }; } 2180 fi 2181 2644 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2645 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2646 as_fn_error 77 "C compiler cannot create executables 2647 See \`config.log' for more details" "$LINENO" 5; } 2648 else 2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2650 $as_echo "yes" >&6; } 2651 fi 2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2653 $as_echo_n "checking for C compiler default output file name... " >&6; } 2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2655 $as_echo "$ac_file" >&6; } 2182 2656 ac_exeext=$ac_cv_exeext 2183 2657 2184 # Check that the compiler produces executables we can run. If not, either 2185 # the compiler is broken, or we cross compile. 2186 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2187 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2188 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2189 # If not cross compiling, check that we can run a simple program. 2190 if test "$cross_compiling" != yes; then 2191 if { ac_try='./$ac_file' 2192 { (case "(($ac_try" in 2193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2194 *) ac_try_echo=$ac_try;; 2195 esac 2196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2197 (eval "$ac_try") 2>&5 2198 ac_status=$? 2199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2200 (exit $ac_status); }; }; then 2201 cross_compiling=no 2202 else 2203 if test "$cross_compiling" = maybe; then 2204 cross_compiling=yes 2205 else 2206 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2207 If you meant to cross compile, use \`--host'. 2208 See \`config.log' for more details." >&5 2209 echo "$as_me: error: cannot run C compiled programs. 2210 If you meant to cross compile, use \`--host'. 2211 See \`config.log' for more details." >&2;} 2212 { (exit 1); exit 1; }; } 2213 fi 2214 fi 2215 fi 2216 { echo "$as_me:$LINENO: result: yes" >&5 2217 echo "${ECHO_T}yes" >&6; } 2218 2219 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2658 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2220 2659 ac_clean_files=$ac_clean_files_save 2221 # Check that the compiler produces executables we can run. If not, either 2222 # the compiler is broken, or we cross compile. 2223 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2224 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2225 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2226 echo "${ECHO_T}$cross_compiling" >&6; } 2227 2228 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2229 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2230 if { (ac_try="$ac_link" 2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2661 $as_echo_n "checking for suffix of executables... " >&6; } 2662 if { { ac_try="$ac_link" 2231 2663 case "(($ac_try" in 2232 2664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2233 2665 *) ac_try_echo=$ac_try;; 2234 2666 esac 2235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2668 $as_echo "$ac_try_echo"; } >&5 2236 2669 (eval "$ac_link") 2>&5 2237 2670 ac_status=$? 2238 echo "$as_me:$LINENO: \$? = $ac_status" >&52239 (exit $ac_status); }; then2671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2672 test $ac_status = 0; }; then : 2240 2673 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2241 2674 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2245 2678 test -f "$ac_file" || continue 2246 2679 case $ac_file in 2247 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;2680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2248 2681 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2249 2682 break;; … … 2252 2685 done 2253 2686 else 2254 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2255 See \`config.log' for more details." >&5 2256 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2257 See \`config.log' for more details." >&2;} 2258 { (exit 1); exit 1; }; } 2259 fi 2260 2261 rm -f conftest$ac_cv_exeext 2262 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2263 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2689 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2690 See \`config.log' for more details" "$LINENO" 5; } 2691 fi 2692 rm -f conftest conftest$ac_cv_exeext 2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2694 $as_echo "$ac_cv_exeext" >&6; } 2264 2695 2265 2696 rm -f conftest.$ac_ext 2266 2697 EXEEXT=$ac_cv_exeext 2267 2698 ac_exeext=$EXEEXT 2268 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2269 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2270 if test "${ac_cv_objext+set}" = set; then 2271 echo $ECHO_N "(cached) $ECHO_C" >&6 2272 else 2273 cat >conftest.$ac_ext <<_ACEOF 2274 /* confdefs.h. */ 2275 _ACEOF 2276 cat confdefs.h >>conftest.$ac_ext 2277 cat >>conftest.$ac_ext <<_ACEOF 2699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2278 2700 /* end confdefs.h. */ 2279 2701 #include <stdio.h> 2280 2702 int 2281 2703 main () 2282 2704 { 2705 FILE *f = fopen ("conftest.out", "w"); 2706 return ferror (f) || fclose (f) != 0; 2283 2707 2284 2708 ; … … 2286 2710 } 2287 2711 _ACEOF 2288 rm -f conftest.o conftest.obj 2289 if { (ac_try="$ac_compile" 2712 ac_clean_files="$ac_clean_files conftest.out" 2713 # Check that the compiler produces executables we can run. If not, either 2714 # the compiler is broken, or we cross compile. 2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2716 $as_echo_n "checking whether we are cross compiling... " >&6; } 2717 if test "$cross_compiling" != yes; then 2718 { { ac_try="$ac_link" 2290 2719 case "(($ac_try" in 2291 2720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2292 2721 *) ac_try_echo=$ac_try;; 2293 2722 esac 2294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2724 $as_echo "$ac_try_echo"; } >&5 2725 (eval "$ac_link") 2>&5 2726 ac_status=$? 2727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2728 test $ac_status = 0; } 2729 if { ac_try='./conftest$ac_cv_exeext' 2730 { { case "(($ac_try" in 2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2732 *) ac_try_echo=$ac_try;; 2733 esac 2734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2735 $as_echo "$ac_try_echo"; } >&5 2736 (eval "$ac_try") 2>&5 2737 ac_status=$? 2738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2739 test $ac_status = 0; }; }; then 2740 cross_compiling=no 2741 else 2742 if test "$cross_compiling" = maybe; then 2743 cross_compiling=yes 2744 else 2745 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2747 as_fn_error $? "cannot run C compiled programs. 2748 If you meant to cross compile, use \`--host'. 2749 See \`config.log' for more details" "$LINENO" 5; } 2750 fi 2751 fi 2752 fi 2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2754 $as_echo "$cross_compiling" >&6; } 2755 2756 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2757 ac_clean_files=$ac_clean_files_save 2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2759 $as_echo_n "checking for suffix of object files... " >&6; } 2760 if ${ac_cv_objext+:} false; then : 2761 $as_echo_n "(cached) " >&6 2762 else 2763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2764 /* end confdefs.h. */ 2765 2766 int 2767 main () 2768 { 2769 2770 ; 2771 return 0; 2772 } 2773 _ACEOF 2774 rm -f conftest.o conftest.obj 2775 if { { ac_try="$ac_compile" 2776 case "(($ac_try" in 2777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2778 *) ac_try_echo=$ac_try;; 2779 esac 2780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2781 $as_echo "$ac_try_echo"; } >&5 2295 2782 (eval "$ac_compile") 2>&5 2296 2783 ac_status=$? 2297 echo "$as_me:$LINENO: \$? = $ac_status" >&52298 (exit $ac_status); }; then2784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2785 test $ac_status = 0; }; then : 2299 2786 for ac_file in conftest.o conftest.obj conftest.*; do 2300 2787 test -f "$ac_file" || continue; 2301 2788 case $ac_file in 2302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;2789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2303 2790 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2304 2791 break;; … … 2306 2793 done 2307 2794 else 2308 echo "$as_me: failed program was:" >&52795 $as_echo "$as_me: failed program was:" >&5 2309 2796 sed 's/^/| /' conftest.$ac_ext >&5 2310 2797 2311 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2312 See \`config.log' for more details." >&5 2313 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2314 See \`config.log' for more details." >&2;} 2315 { (exit 1); exit 1; }; } 2316 fi 2317 2798 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2800 as_fn_error $? "cannot compute suffix of object files: cannot compile 2801 See \`config.log' for more details" "$LINENO" 5; } 2802 fi 2318 2803 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2319 2804 fi 2320 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52321 echo "${ECHO_T}$ac_cv_objext" >&6; }2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2806 $as_echo "$ac_cv_objext" >&6; } 2322 2807 OBJEXT=$ac_cv_objext 2323 2808 ac_objext=$OBJEXT 2324 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2325 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2326 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2327 echo $ECHO_N "(cached) $ECHO_C" >&6 2328 else 2329 cat >conftest.$ac_ext <<_ACEOF 2330 /* confdefs.h. */ 2331 _ACEOF 2332 cat confdefs.h >>conftest.$ac_ext 2333 cat >>conftest.$ac_ext <<_ACEOF 2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2810 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2811 if ${ac_cv_c_compiler_gnu+:} false; then : 2812 $as_echo_n "(cached) " >&6 2813 else 2814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2334 2815 /* end confdefs.h. */ 2335 2816 … … 2345 2826 } 2346 2827 _ACEOF 2347 rm -f conftest.$ac_objext 2348 if { (ac_try="$ac_compile" 2349 case "(($ac_try" in 2350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2351 *) ac_try_echo=$ac_try;; 2352 esac 2353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2354 (eval "$ac_compile") 2>conftest.er1 2355 ac_status=$? 2356 grep -v '^ *+' conftest.er1 >conftest.err 2357 rm -f conftest.er1 2358 cat conftest.err >&5 2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2360 (exit $ac_status); } && { 2361 test -z "$ac_c_werror_flag" || 2362 test ! -s conftest.err 2363 } && test -s conftest.$ac_objext; then 2828 if ac_fn_c_try_compile "$LINENO"; then : 2364 2829 ac_compiler_gnu=yes 2365 2830 else 2366 echo "$as_me: failed program was:" >&5 2367 sed 's/^/| /' conftest.$ac_ext >&5 2368 2369 ac_compiler_gnu=no 2370 fi 2371 2831 ac_compiler_gnu=no 2832 fi 2372 2833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2373 2834 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2374 2835 2375 2836 fi 2376 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2377 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2378 GCC=`test $ac_compiler_gnu = yes && echo yes` 2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2838 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2839 if test $ac_compiler_gnu = yes; then 2840 GCC=yes 2841 else 2842 GCC= 2843 fi 2379 2844 ac_test_CFLAGS=${CFLAGS+set} 2380 2845 ac_save_CFLAGS=$CFLAGS 2381 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52382 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2383 if test "${ac_cv_prog_cc_g+set}" = set; then2384 echo $ECHO_N "(cached) $ECHO_C" >&62846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2847 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2848 if ${ac_cv_prog_cc_g+:} false; then : 2849 $as_echo_n "(cached) " >&6 2385 2850 else 2386 2851 ac_save_c_werror_flag=$ac_c_werror_flag … … 2388 2853 ac_cv_prog_cc_g=no 2389 2854 CFLAGS="-g" 2390 cat >conftest.$ac_ext <<_ACEOF 2391 /* confdefs.h. */ 2392 _ACEOF 2393 cat confdefs.h >>conftest.$ac_ext 2394 cat >>conftest.$ac_ext <<_ACEOF 2855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2395 2856 /* end confdefs.h. */ 2396 2857 … … 2403 2864 } 2404 2865 _ACEOF 2405 rm -f conftest.$ac_objext 2406 if { (ac_try="$ac_compile" 2407 case "(($ac_try" in 2408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2409 *) ac_try_echo=$ac_try;; 2410 esac 2411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2412 (eval "$ac_compile") 2>conftest.er1 2413 ac_status=$? 2414 grep -v '^ *+' conftest.er1 >conftest.err 2415 rm -f conftest.er1 2416 cat conftest.err >&5 2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2418 (exit $ac_status); } && { 2419 test -z "$ac_c_werror_flag" || 2420 test ! -s conftest.err 2421 } && test -s conftest.$ac_objext; then 2866 if ac_fn_c_try_compile "$LINENO"; then : 2422 2867 ac_cv_prog_cc_g=yes 2423 2868 else 2424 echo "$as_me: failed program was:" >&5 2425 sed 's/^/| /' conftest.$ac_ext >&5 2426 2427 CFLAGS="" 2428 cat >conftest.$ac_ext <<_ACEOF 2429 /* confdefs.h. */ 2430 _ACEOF 2431 cat confdefs.h >>conftest.$ac_ext 2432 cat >>conftest.$ac_ext <<_ACEOF 2869 CFLAGS="" 2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2433 2871 /* end confdefs.h. */ 2434 2872 … … 2441 2879 } 2442 2880 _ACEOF 2443 rm -f conftest.$ac_objext 2444 if { (ac_try="$ac_compile" 2445 case "(($ac_try" in 2446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2447 *) ac_try_echo=$ac_try;; 2448 esac 2449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2450 (eval "$ac_compile") 2>conftest.er1 2451 ac_status=$? 2452 grep -v '^ *+' conftest.er1 >conftest.err 2453 rm -f conftest.er1 2454 cat conftest.err >&5 2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2456 (exit $ac_status); } && { 2457 test -z "$ac_c_werror_flag" || 2458 test ! -s conftest.err 2459 } && test -s conftest.$ac_objext; then 2460 : 2461 else 2462 echo "$as_me: failed program was:" >&5 2463 sed 's/^/| /' conftest.$ac_ext >&5 2464 2465 ac_c_werror_flag=$ac_save_c_werror_flag 2881 if ac_fn_c_try_compile "$LINENO"; then : 2882 2883 else 2884 ac_c_werror_flag=$ac_save_c_werror_flag 2466 2885 CFLAGS="-g" 2467 cat >conftest.$ac_ext <<_ACEOF 2468 /* confdefs.h. */ 2469 _ACEOF 2470 cat confdefs.h >>conftest.$ac_ext 2471 cat >>conftest.$ac_ext <<_ACEOF 2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2472 2887 /* end confdefs.h. */ 2473 2888 … … 2480 2895 } 2481 2896 _ACEOF 2482 rm -f conftest.$ac_objext 2483 if { (ac_try="$ac_compile" 2484 case "(($ac_try" in 2485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2486 *) ac_try_echo=$ac_try;; 2487 esac 2488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2489 (eval "$ac_compile") 2>conftest.er1 2490 ac_status=$? 2491 grep -v '^ *+' conftest.er1 >conftest.err 2492 rm -f conftest.er1 2493 cat conftest.err >&5 2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2495 (exit $ac_status); } && { 2496 test -z "$ac_c_werror_flag" || 2497 test ! -s conftest.err 2498 } && test -s conftest.$ac_objext; then 2897 if ac_fn_c_try_compile "$LINENO"; then : 2499 2898 ac_cv_prog_cc_g=yes 2500 else 2501 echo "$as_me: failed program was:" >&5 2502 sed 's/^/| /' conftest.$ac_ext >&5 2503 2504 2505 fi 2506 2899 fi 2507 2900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2508 2901 fi 2509 2510 2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2511 2903 fi 2512 2513 2904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2514 2905 ac_c_werror_flag=$ac_save_c_werror_flag 2515 2906 fi 2516 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52517 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2908 $as_echo "$ac_cv_prog_cc_g" >&6; } 2518 2909 if test "$ac_test_CFLAGS" = set; then 2519 2910 CFLAGS=$ac_save_CFLAGS … … 2531 2922 fi 2532 2923 fi 2533 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52534 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2535 if test "${ac_cv_prog_cc_c89+set}" = set; then2536 echo $ECHO_N "(cached) $ECHO_C" >&62924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2925 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2926 if ${ac_cv_prog_cc_c89+:} false; then : 2927 $as_echo_n "(cached) " >&6 2537 2928 else 2538 2929 ac_cv_prog_cc_c89=no 2539 2930 ac_save_CC=$CC 2540 cat >conftest.$ac_ext <<_ACEOF 2541 /* confdefs.h. */ 2542 _ACEOF 2543 cat confdefs.h >>conftest.$ac_ext 2544 cat >>conftest.$ac_ext <<_ACEOF 2931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2545 2932 /* end confdefs.h. */ 2546 2933 #include <stdarg.h> … … 2599 2986 do 2600 2987 CC="$ac_save_CC $ac_arg" 2601 rm -f conftest.$ac_objext 2602 if { (ac_try="$ac_compile" 2603 case "(($ac_try" in 2604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2605 *) ac_try_echo=$ac_try;; 2606 esac 2607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2608 (eval "$ac_compile") 2>conftest.er1 2609 ac_status=$? 2610 grep -v '^ *+' conftest.er1 >conftest.err 2611 rm -f conftest.er1 2612 cat conftest.err >&5 2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2614 (exit $ac_status); } && { 2615 test -z "$ac_c_werror_flag" || 2616 test ! -s conftest.err 2617 } && test -s conftest.$ac_objext; then 2988 if ac_fn_c_try_compile "$LINENO"; then : 2618 2989 ac_cv_prog_cc_c89=$ac_arg 2619 else 2620 echo "$as_me: failed program was:" >&5 2621 sed 's/^/| /' conftest.$ac_ext >&5 2622 2623 2624 fi 2625 2990 fi 2626 2991 rm -f core conftest.err conftest.$ac_objext 2627 2992 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2634 2999 case "x$ac_cv_prog_cc_c89" in 2635 3000 x) 2636 { echo "$as_me:$LINENO: result: none needed" >&52637 echo "${ECHO_T}none needed" >&6; } ;;3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3002 $as_echo "none needed" >&6; } ;; 2638 3003 xno) 2639 { echo "$as_me:$LINENO: result: unsupported" >&52640 echo "${ECHO_T}unsupported" >&6; } ;;3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3005 $as_echo "unsupported" >&6; } ;; 2641 3006 *) 2642 3007 CC="$CC $ac_cv_prog_cc_c89" 2643 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52644 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3009 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2645 3010 esac 2646 3011 if test "x$ac_cv_prog_cc_c89" != xno; then : 3012 3013 fi 2647 3014 2648 3015 ac_ext=c … … 2658 3025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2659 3026 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2660 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&52661 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3028 $as_echo_n "checking how to run the C preprocessor... " >&6; } 2662 3029 # On Suns, sometimes $CPP names a directory. 2663 3030 if test -n "$CPP" && test -d "$CPP"; then … … 2665 3032 fi 2666 3033 if test -z "$CPP"; then 2667 if test "${ac_cv_prog_CPP+set}" = set; then2668 echo $ECHO_N "(cached) $ECHO_C" >&63034 if ${ac_cv_prog_CPP+:} false; then : 3035 $as_echo_n "(cached) " >&6 2669 3036 else 2670 3037 # Double quotes because CPP needs to be expanded … … 2680 3047 # On the NeXT, cc -E runs the code through the compiler's parser, 2681 3048 # not just through cpp. "Syntax error" is here to catch this case. 2682 cat >conftest.$ac_ext <<_ACEOF 2683 /* confdefs.h. */ 2684 _ACEOF 2685 cat confdefs.h >>conftest.$ac_ext 2686 cat >>conftest.$ac_ext <<_ACEOF 3049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2687 3050 /* end confdefs.h. */ 2688 3051 #ifdef __STDC__ … … 2693 3056 Syntax error 2694 3057 _ACEOF 2695 if { (ac_try="$ac_cpp conftest.$ac_ext" 2696 case "(($ac_try" in 2697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2698 *) ac_try_echo=$ac_try;; 2699 esac 2700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2702 ac_status=$? 2703 grep -v '^ *+' conftest.er1 >conftest.err 2704 rm -f conftest.er1 2705 cat conftest.err >&5 2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2707 (exit $ac_status); } >/dev/null && { 2708 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2709 test ! -s conftest.err 2710 }; then 2711 : 2712 else 2713 echo "$as_me: failed program was:" >&5 2714 sed 's/^/| /' conftest.$ac_ext >&5 2715 3058 if ac_fn_c_try_cpp "$LINENO"; then : 3059 3060 else 2716 3061 # Broken: fails on valid input. 2717 3062 continue 2718 3063 fi 2719 2720 rm -f conftest.err conftest.$ac_ext 3064 rm -f conftest.err conftest.i conftest.$ac_ext 2721 3065 2722 3066 # OK, works on sane cases. Now check whether nonexistent headers 2723 3067 # can be detected and how. 2724 cat >conftest.$ac_ext <<_ACEOF 2725 /* confdefs.h. */ 2726 _ACEOF 2727 cat confdefs.h >>conftest.$ac_ext 2728 cat >>conftest.$ac_ext <<_ACEOF 3068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2729 3069 /* end confdefs.h. */ 2730 3070 #include <ac_nonexistent.h> 2731 3071 _ACEOF 2732 if { (ac_try="$ac_cpp conftest.$ac_ext" 2733 case "(($ac_try" in 2734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2735 *) ac_try_echo=$ac_try;; 2736 esac 2737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2739 ac_status=$? 2740 grep -v '^ *+' conftest.er1 >conftest.err 2741 rm -f conftest.er1 2742 cat conftest.err >&5 2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2744 (exit $ac_status); } >/dev/null && { 2745 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2746 test ! -s conftest.err 2747 }; then 3072 if ac_fn_c_try_cpp "$LINENO"; then : 2748 3073 # Broken: success on invalid input. 2749 3074 continue 2750 3075 else 2751 echo "$as_me: failed program was:" >&52752 sed 's/^/| /' conftest.$ac_ext >&52753 2754 3076 # Passes both tests. 2755 3077 ac_preproc_ok=: 2756 3078 break 2757 3079 fi 2758 2759 rm -f conftest.err conftest.$ac_ext 3080 rm -f conftest.err conftest.i conftest.$ac_ext 2760 3081 2761 3082 done 2762 3083 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2763 rm -f conftest. err conftest.$ac_ext2764 if $ac_preproc_ok; then 3084 rm -f conftest.i conftest.err conftest.$ac_ext 3085 if $ac_preproc_ok; then : 2765 3086 break 2766 3087 fi … … 2774 3095 ac_cv_prog_CPP=$CPP 2775 3096 fi 2776 { echo "$as_me:$LINENO: result: $CPP" >&52777 echo "${ECHO_T}$CPP" >&6; }3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3098 $as_echo "$CPP" >&6; } 2778 3099 ac_preproc_ok=false 2779 3100 for ac_c_preproc_warn_flag in '' yes … … 2785 3106 # On the NeXT, cc -E runs the code through the compiler's parser, 2786 3107 # not just through cpp. "Syntax error" is here to catch this case. 2787 cat >conftest.$ac_ext <<_ACEOF 2788 /* confdefs.h. */ 2789 _ACEOF 2790 cat confdefs.h >>conftest.$ac_ext 2791 cat >>conftest.$ac_ext <<_ACEOF 3108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2792 3109 /* end confdefs.h. */ 2793 3110 #ifdef __STDC__ … … 2798 3115 Syntax error 2799 3116 _ACEOF 2800 if { (ac_try="$ac_cpp conftest.$ac_ext" 2801 case "(($ac_try" in 2802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2803 *) ac_try_echo=$ac_try;; 2804 esac 2805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2806 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2807 ac_status=$? 2808 grep -v '^ *+' conftest.er1 >conftest.err 2809 rm -f conftest.er1 2810 cat conftest.err >&5 2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2812 (exit $ac_status); } >/dev/null && { 2813 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2814 test ! -s conftest.err 2815 }; then 2816 : 2817 else 2818 echo "$as_me: failed program was:" >&5 2819 sed 's/^/| /' conftest.$ac_ext >&5 2820 3117 if ac_fn_c_try_cpp "$LINENO"; then : 3118 3119 else 2821 3120 # Broken: fails on valid input. 2822 3121 continue 2823 3122 fi 2824 2825 rm -f conftest.err conftest.$ac_ext 3123 rm -f conftest.err conftest.i conftest.$ac_ext 2826 3124 2827 3125 # OK, works on sane cases. Now check whether nonexistent headers 2828 3126 # can be detected and how. 2829 cat >conftest.$ac_ext <<_ACEOF 2830 /* confdefs.h. */ 2831 _ACEOF 2832 cat confdefs.h >>conftest.$ac_ext 2833 cat >>conftest.$ac_ext <<_ACEOF 3127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2834 3128 /* end confdefs.h. */ 2835 3129 #include <ac_nonexistent.h> 2836 3130 _ACEOF 2837 if { (ac_try="$ac_cpp conftest.$ac_ext" 2838 case "(($ac_try" in 2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2840 *) ac_try_echo=$ac_try;; 2841 esac 2842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2843 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2844 ac_status=$? 2845 grep -v '^ *+' conftest.er1 >conftest.err 2846 rm -f conftest.er1 2847 cat conftest.err >&5 2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2849 (exit $ac_status); } >/dev/null && { 2850 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2851 test ! -s conftest.err 2852 }; then 3131 if ac_fn_c_try_cpp "$LINENO"; then : 2853 3132 # Broken: success on invalid input. 2854 3133 continue 2855 3134 else 2856 echo "$as_me: failed program was:" >&52857 sed 's/^/| /' conftest.$ac_ext >&52858 2859 3135 # Passes both tests. 2860 3136 ac_preproc_ok=: 2861 3137 break 2862 3138 fi 2863 2864 rm -f conftest.err conftest.$ac_ext 3139 rm -f conftest.err conftest.i conftest.$ac_ext 2865 3140 2866 3141 done 2867 3142 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2868 rm -f conftest.err conftest.$ac_ext 2869 if $ac_preproc_ok; then 2870 : 2871 else 2872 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2873 See \`config.log' for more details." >&5 2874 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2875 See \`config.log' for more details." >&2;} 2876 { (exit 1); exit 1; }; } 3143 rm -f conftest.i conftest.err conftest.$ac_ext 3144 if $ac_preproc_ok; then : 3145 3146 else 3147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3149 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3150 See \`config.log' for more details" "$LINENO" 5; } 2877 3151 fi 2878 3152 … … 2884 3158 2885 3159 2886 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 2887 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 2888 if test "${ac_cv_path_GREP+set}" = set; then 2889 echo $ECHO_N "(cached) $ECHO_C" >&6 2890 else 2891 # Extract the first word of "grep ggrep" to use in msg output 2892 if test -z "$GREP"; then 2893 set dummy grep ggrep; ac_prog_name=$2 2894 if test "${ac_cv_path_GREP+set}" = set; then 2895 echo $ECHO_N "(cached) $ECHO_C" >&6 2896 else 3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3161 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3162 if ${ac_cv_path_GREP+:} false; then : 3163 $as_echo_n "(cached) " >&6 3164 else 3165 if test -z "$GREP"; then 2897 3166 ac_path_GREP_found=false 2898 # Loop through the user's path and test for each of PROGNAME-LIST2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3167 # Loop through the user's path and test for each of PROGNAME-LIST 3168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2900 3169 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 2901 3170 do 2902 3171 IFS=$as_save_IFS 2903 3172 test -z "$as_dir" && as_dir=. 2904 for ac_prog in grep ggrep; do2905 for ac_exec_ext in '' $ac_executable_extensions; do2906 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"2907 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue2908 3173 for ac_prog in grep ggrep; do 3174 for ac_exec_ext in '' $ac_executable_extensions; do 3175 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3176 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3177 # Check for GNU ac_path_GREP and select it if it is found. 2909 3178 # Check for GNU $ac_path_GREP 2910 3179 case `"$ac_path_GREP" --version 2>&1` in … … 2913 3182 *) 2914 3183 ac_count=0 2915 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"3184 $as_echo_n 0123456789 >"conftest.in" 2916 3185 while : 2917 3186 do … … 2919 3188 mv "conftest.tmp" "conftest.in" 2920 3189 cp "conftest.in" "conftest.nl" 2921 echo 'GREP' >> "conftest.nl"3190 $as_echo 'GREP' >> "conftest.nl" 2922 3191 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 2923 3192 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 2924 a c_count=`expr $ac_count + 1`3193 as_fn_arith $ac_count + 1 && ac_count=$as_val 2925 3194 if test $ac_count -gt ${ac_path_GREP_max-0}; then 2926 3195 # Best one so far, save it but keep looking for a better one … … 2934 3203 esac 2935 3204 2936 2937 $ac_path_GREP_found && break 33205 $ac_path_GREP_found && break 3 3206 done 2938 3207 done 2939 done 2940 2941 done 3208 done 2942 3209 IFS=$as_save_IFS 2943 2944 2945 fi 2946 2947 GREP="$ac_cv_path_GREP" 2948 if test -z "$GREP"; then 2949 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 2950 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 2951 { (exit 1); exit 1; }; } 2952 fi 2953 3210 if test -z "$ac_cv_path_GREP"; then 3211 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3212 fi 2954 3213 else 2955 3214 ac_cv_path_GREP=$GREP 2956 3215 fi 2957 3216 2958 2959 fi 2960 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 2961 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3217 fi 3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3219 $as_echo "$ac_cv_path_GREP" >&6; } 2962 3220 GREP="$ac_cv_path_GREP" 2963 3221 2964 3222 2965 { echo "$as_me:$LINENO: checking for egrep" >&52966 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }2967 if test "${ac_cv_path_EGREP+set}" = set; then2968 echo $ECHO_N "(cached) $ECHO_C" >&63223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3224 $as_echo_n "checking for egrep... " >&6; } 3225 if ${ac_cv_path_EGREP+:} false; then : 3226 $as_echo_n "(cached) " >&6 2969 3227 else 2970 3228 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 2971 3229 then ac_cv_path_EGREP="$GREP -E" 2972 3230 else 2973 # Extract the first word of "egrep" to use in msg output 2974 if test -z "$EGREP"; then 2975 set dummy egrep; ac_prog_name=$2 2976 if test "${ac_cv_path_EGREP+set}" = set; then 2977 echo $ECHO_N "(cached) $ECHO_C" >&6 2978 else 3231 if test -z "$EGREP"; then 2979 3232 ac_path_EGREP_found=false 2980 # Loop through the user's path and test for each of PROGNAME-LIST2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3233 # Loop through the user's path and test for each of PROGNAME-LIST 3234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2982 3235 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 2983 3236 do 2984 3237 IFS=$as_save_IFS 2985 3238 test -z "$as_dir" && as_dir=. 2986 for ac_prog in egrep; do2987 for ac_exec_ext in '' $ac_executable_extensions; do2988 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"2989 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue2990 3239 for ac_prog in egrep; do 3240 for ac_exec_ext in '' $ac_executable_extensions; do 3241 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3242 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3243 # Check for GNU ac_path_EGREP and select it if it is found. 2991 3244 # Check for GNU $ac_path_EGREP 2992 3245 case `"$ac_path_EGREP" --version 2>&1` in … … 2995 3248 *) 2996 3249 ac_count=0 2997 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"3250 $as_echo_n 0123456789 >"conftest.in" 2998 3251 while : 2999 3252 do … … 3001 3254 mv "conftest.tmp" "conftest.in" 3002 3255 cp "conftest.in" "conftest.nl" 3003 echo 'EGREP' >> "conftest.nl"3256 $as_echo 'EGREP' >> "conftest.nl" 3004 3257 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3005 3258 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3006 a c_count=`expr $ac_count + 1`3259 as_fn_arith $ac_count + 1 && ac_count=$as_val 3007 3260 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3008 3261 # Best one so far, save it but keep looking for a better one … … 3016 3269 esac 3017 3270 3018 3019 $ac_path_EGREP_found && break 33271 $ac_path_EGREP_found && break 3 3272 done 3020 3273 done 3021 done 3022 3023 done 3274 done 3024 3275 IFS=$as_save_IFS 3025 3026 3027 fi 3028 3029 EGREP="$ac_cv_path_EGREP" 3030 if test -z "$EGREP"; then 3031 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3032 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3033 { (exit 1); exit 1; }; } 3034 fi 3035 3276 if test -z "$ac_cv_path_EGREP"; then 3277 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3278 fi 3036 3279 else 3037 3280 ac_cv_path_EGREP=$EGREP 3038 3281 fi 3039 3282 3040 3041 3283 fi 3042 3284 fi 3043 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&53044 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3286 $as_echo "$ac_cv_path_EGREP" >&6; } 3045 3287 EGREP="$ac_cv_path_EGREP" 3046 3288 3047 3289 3048 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3049 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3050 if test "${ac_cv_header_stdc+set}" = set; then 3051 echo $ECHO_N "(cached) $ECHO_C" >&6 3052 else 3053 cat >conftest.$ac_ext <<_ACEOF 3054 /* confdefs.h. */ 3055 _ACEOF 3056 cat confdefs.h >>conftest.$ac_ext 3057 cat >>conftest.$ac_ext <<_ACEOF 3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3291 $as_echo_n "checking for ANSI C header files... " >&6; } 3292 if ${ac_cv_header_stdc+:} false; then : 3293 $as_echo_n "(cached) " >&6 3294 else 3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3058 3296 /* end confdefs.h. */ 3059 3297 #include <stdlib.h> … … 3070 3308 } 3071 3309 _ACEOF 3072 rm -f conftest.$ac_objext 3073 if { (ac_try="$ac_compile" 3074 case "(($ac_try" in 3075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3076 *) ac_try_echo=$ac_try;; 3077 esac 3078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3079 (eval "$ac_compile") 2>conftest.er1 3080 ac_status=$? 3081 grep -v '^ *+' conftest.er1 >conftest.err 3082 rm -f conftest.er1 3083 cat conftest.err >&5 3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3085 (exit $ac_status); } && { 3086 test -z "$ac_c_werror_flag" || 3087 test ! -s conftest.err 3088 } && test -s conftest.$ac_objext; then 3310 if ac_fn_c_try_compile "$LINENO"; then : 3089 3311 ac_cv_header_stdc=yes 3090 3312 else 3091 echo "$as_me: failed program was:" >&5 3092 sed 's/^/| /' conftest.$ac_ext >&5 3093 3094 ac_cv_header_stdc=no 3095 fi 3096 3313 ac_cv_header_stdc=no 3314 fi 3097 3315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3098 3316 3099 3317 if test $ac_cv_header_stdc = yes; then 3100 3318 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3101 cat >conftest.$ac_ext <<_ACEOF 3102 /* confdefs.h. */ 3103 _ACEOF 3104 cat confdefs.h >>conftest.$ac_ext 3105 cat >>conftest.$ac_ext <<_ACEOF 3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3106 3320 /* end confdefs.h. */ 3107 3321 #include <string.h> … … 3109 3323 _ACEOF 3110 3324 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3111 $EGREP "memchr" >/dev/null 2>&1; then 3112 : 3325 $EGREP "memchr" >/dev/null 2>&1; then : 3326 3113 3327 else 3114 3328 ac_cv_header_stdc=no … … 3120 3334 if test $ac_cv_header_stdc = yes; then 3121 3335 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3122 cat >conftest.$ac_ext <<_ACEOF 3123 /* confdefs.h. */ 3124 _ACEOF 3125 cat confdefs.h >>conftest.$ac_ext 3126 cat >>conftest.$ac_ext <<_ACEOF 3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3127 3337 /* end confdefs.h. */ 3128 3338 #include <stdlib.h> … … 3130 3340 _ACEOF 3131 3341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3132 $EGREP "free" >/dev/null 2>&1; then 3133 : 3342 $EGREP "free" >/dev/null 2>&1; then : 3343 3134 3344 else 3135 3345 ac_cv_header_stdc=no … … 3141 3351 if test $ac_cv_header_stdc = yes; then 3142 3352 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3143 if test "$cross_compiling" = yes; then 3353 if test "$cross_compiling" = yes; then : 3144 3354 : 3145 3355 else 3146 cat >conftest.$ac_ext <<_ACEOF 3147 /* confdefs.h. */ 3148 _ACEOF 3149 cat confdefs.h >>conftest.$ac_ext 3150 cat >>conftest.$ac_ext <<_ACEOF 3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3151 3357 /* end confdefs.h. */ 3152 3358 #include <ctype.h> … … 3175 3381 } 3176 3382 _ACEOF 3177 rm -f conftest$ac_exeext 3178 if { (ac_try="$ac_link" 3179 case "(($ac_try" in 3180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3181 *) ac_try_echo=$ac_try;; 3182 esac 3183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3184 (eval "$ac_link") 2>&5 3185 ac_status=$? 3186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3187 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3188 { (case "(($ac_try" in 3189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3190 *) ac_try_echo=$ac_try;; 3191 esac 3192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3193 (eval "$ac_try") 2>&5 3194 ac_status=$? 3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3196 (exit $ac_status); }; }; then 3197 : 3198 else 3199 echo "$as_me: program exited with status $ac_status" >&5 3200 echo "$as_me: failed program was:" >&5 3201 sed 's/^/| /' conftest.$ac_ext >&5 3202 3203 ( exit $ac_status ) 3204 ac_cv_header_stdc=no 3205 fi 3206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3207 fi 3208 3209 3210 fi 3211 fi 3212 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3213 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 3383 if ac_fn_c_try_run "$LINENO"; then : 3384 3385 else 3386 ac_cv_header_stdc=no 3387 fi 3388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3389 conftest.$ac_objext conftest.beam conftest.$ac_ext 3390 fi 3391 3392 fi 3393 fi 3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3395 $as_echo "$ac_cv_header_stdc" >&6; } 3214 3396 if test $ac_cv_header_stdc = yes; then 3215 3397 3216 cat >>confdefs.h <<\_ACEOF 3217 #define STDC_HEADERS 1 3218 _ACEOF 3398 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3219 3399 3220 3400 fi 3221 3401 3222 3402 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3403 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3233 3404 inttypes.h stdint.h unistd.h 3234 do 3235 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3236 { echo "$as_me:$LINENO: checking for $ac_header" >&5 3237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 3238 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3239 echo $ECHO_N "(cached) $ECHO_C" >&6 3240 else 3241 cat >conftest.$ac_ext <<_ACEOF 3242 /* confdefs.h. */ 3243 _ACEOF 3244 cat confdefs.h >>conftest.$ac_ext 3245 cat >>conftest.$ac_ext <<_ACEOF 3246 /* end confdefs.h. */ 3247 $ac_includes_default 3248 3249 #include <$ac_header> 3250 _ACEOF 3251 rm -f conftest.$ac_objext 3252 if { (ac_try="$ac_compile" 3253 case "(($ac_try" in 3254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3255 *) ac_try_echo=$ac_try;; 3256 esac 3257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3258 (eval "$ac_compile") 2>conftest.er1 3259 ac_status=$? 3260 grep -v '^ *+' conftest.er1 >conftest.err 3261 rm -f conftest.er1 3262 cat conftest.err >&5 3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3264 (exit $ac_status); } && { 3265 test -z "$ac_c_werror_flag" || 3266 test ! -s conftest.err 3267 } && test -s conftest.$ac_objext; then 3268 eval "$as_ac_Header=yes" 3269 else 3270 echo "$as_me: failed program was:" >&5 3271 sed 's/^/| /' conftest.$ac_ext >&5 3272 3273 eval "$as_ac_Header=no" 3274 fi 3275 3276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3277 fi 3278 ac_res=`eval echo '${'$as_ac_Header'}'` 3279 { echo "$as_me:$LINENO: result: $ac_res" >&5 3280 echo "${ECHO_T}$ac_res" >&6; } 3281 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3405 do : 3406 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3407 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3408 " 3409 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3282 3410 cat >>confdefs.h <<_ACEOF 3283 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 13411 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3284 3412 _ACEOF 3285 3413 … … 3289 3417 3290 3418 3291 3292 3293 3294 3419 for ac_header in RpLibrary.h RpUnits.h RpUtils.h 3295 do 3296 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3297 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3298 { echo "$as_me:$LINENO: checking for $ac_header" >&5 3299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 3300 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3301 echo $ECHO_N "(cached) $ECHO_C" >&6 3302 fi 3303 ac_res=`eval echo '${'$as_ac_Header'}'` 3304 { echo "$as_me:$LINENO: result: $ac_res" >&5 3305 echo "${ECHO_T}$ac_res" >&6; } 3306 else 3307 # Is the header compilable? 3308 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 3309 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 3310 cat >conftest.$ac_ext <<_ACEOF 3311 /* confdefs.h. */ 3312 _ACEOF 3313 cat confdefs.h >>conftest.$ac_ext 3314 cat >>conftest.$ac_ext <<_ACEOF 3315 /* end confdefs.h. */ 3316 $ac_includes_default 3317 #include <$ac_header> 3318 _ACEOF 3319 rm -f conftest.$ac_objext 3320 if { (ac_try="$ac_compile" 3321 case "(($ac_try" in 3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3323 *) ac_try_echo=$ac_try;; 3324 esac 3325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3326 (eval "$ac_compile") 2>conftest.er1 3327 ac_status=$? 3328 grep -v '^ *+' conftest.er1 >conftest.err 3329 rm -f conftest.er1 3330 cat conftest.err >&5 3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3332 (exit $ac_status); } && { 3333 test -z "$ac_c_werror_flag" || 3334 test ! -s conftest.err 3335 } && test -s conftest.$ac_objext; then 3336 ac_header_compiler=yes 3337 else 3338 echo "$as_me: failed program was:" >&5 3339 sed 's/^/| /' conftest.$ac_ext >&5 3340 3341 ac_header_compiler=no 3342 fi 3343 3344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3345 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3346 echo "${ECHO_T}$ac_header_compiler" >&6; } 3347 3348 # Is the header present? 3349 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 3350 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 3351 cat >conftest.$ac_ext <<_ACEOF 3352 /* confdefs.h. */ 3353 _ACEOF 3354 cat confdefs.h >>conftest.$ac_ext 3355 cat >>conftest.$ac_ext <<_ACEOF 3356 /* end confdefs.h. */ 3357 #include <$ac_header> 3358 _ACEOF 3359 if { (ac_try="$ac_cpp conftest.$ac_ext" 3360 case "(($ac_try" in 3361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3362 *) ac_try_echo=$ac_try;; 3363 esac 3364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3365 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3366 ac_status=$? 3367 grep -v '^ *+' conftest.er1 >conftest.err 3368 rm -f conftest.er1 3369 cat conftest.err >&5 3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3371 (exit $ac_status); } >/dev/null && { 3372 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3373 test ! -s conftest.err 3374 }; then 3375 ac_header_preproc=yes 3376 else 3377 echo "$as_me: failed program was:" >&5 3378 sed 's/^/| /' conftest.$ac_ext >&5 3379 3380 ac_header_preproc=no 3381 fi 3382 3383 rm -f conftest.err conftest.$ac_ext 3384 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3385 echo "${ECHO_T}$ac_header_preproc" >&6; } 3386 3387 # So? What about this header? 3388 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3389 yes:no: ) 3390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3393 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3394 ac_header_preproc=yes 3395 ;; 3396 no:yes:* ) 3397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3401 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3402 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3403 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3404 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3407 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3408 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3409 ( cat <<\_ASBOX 3410 ## ----------------------------------- ## 3411 ## Report this to rappture@nanohub.org ## 3412 ## ----------------------------------- ## 3413 _ASBOX 3414 ) | sed "s/^/$as_me: WARNING: /" >&2 3415 ;; 3416 esac 3417 { echo "$as_me:$LINENO: checking for $ac_header" >&5 3418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 3419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3420 echo $ECHO_N "(cached) $ECHO_C" >&6 3421 else 3422 eval "$as_ac_Header=\$ac_header_preproc" 3423 fi 3424 ac_res=`eval echo '${'$as_ac_Header'}'` 3425 { echo "$as_me:$LINENO: result: $ac_res" >&5 3426 echo "${ECHO_T}$ac_res" >&6; } 3427 3428 fi 3429 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3420 do : 3421 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3422 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 3423 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3430 3424 cat >>confdefs.h <<_ACEOF 3431 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 13425 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3432 3426 _ACEOF 3433 3427 … … 3439 3433 test "${ac_cv_header_RpUnits_h}" = no || 3440 3434 test "${ac_cv_header_RpUtils_h}" = no; then 3441 { { echo "$as_me:$LINENO: error: \"Rappture headers RpLibrary.h" >&5 3442 echo "$as_me: error: \"Rappture headers RpLibrary.h" >&2;} 3443 { (exit RpUnits.h); exit RpUnits.h; }; } 3444 fi 3445 3446 { echo "$as_me:$LINENO: checking for library containing rpLibrary" >&5 3447 echo $ECHO_N "checking for library containing rpLibrary... $ECHO_C" >&6; } 3448 if test "${ac_cv_search_rpLibrary+set}" = set; then 3449 echo $ECHO_N "(cached) $ECHO_C" >&6 3435 as_fn_error RpUnits.h "\"Rappture headers RpLibrary.h" "$LINENO" 5 3436 fi 3437 3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing rpLibrary" >&5 3439 $as_echo_n "checking for library containing rpLibrary... " >&6; } 3440 if ${ac_cv_search_rpLibrary+:} false; then : 3441 $as_echo_n "(cached) " >&6 3450 3442 else 3451 3443 ac_func_search_save_LIBS=$LIBS 3452 cat >conftest.$ac_ext <<_ACEOF 3453 /* confdefs.h. */ 3454 _ACEOF 3455 cat confdefs.h >>conftest.$ac_ext 3456 cat >>conftest.$ac_ext <<_ACEOF 3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3457 3445 /* end confdefs.h. */ 3458 3446 … … 3479 3467 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3480 3468 fi 3481 rm -f conftest.$ac_objext conftest$ac_exeext 3482 if { (ac_try="$ac_link" 3483 case "(($ac_try" in 3484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3485 *) ac_try_echo=$ac_try;; 3486 esac 3487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3488 (eval "$ac_link") 2>conftest.er1 3489 ac_status=$? 3490 grep -v '^ *+' conftest.er1 >conftest.err 3491 rm -f conftest.er1 3492 cat conftest.err >&5 3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3494 (exit $ac_status); } && { 3495 test -z "$ac_c_werror_flag" || 3496 test ! -s conftest.err 3497 } && test -s conftest$ac_exeext && 3498 $as_test_x conftest$ac_exeext; then 3469 if ac_fn_c_try_link "$LINENO"; then : 3499 3470 ac_cv_search_rpLibrary=$ac_res 3500 else 3501 echo "$as_me: failed program was:" >&5 3502 sed 's/^/| /' conftest.$ac_ext >&5 3503 3504 3505 fi 3506 3507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3508 conftest$ac_exeext 3509 if test "${ac_cv_search_rpLibrary+set}" = set; then 3471 fi 3472 rm -f core conftest.err conftest.$ac_objext \ 3473 conftest$ac_exeext 3474 if ${ac_cv_search_rpLibrary+:} false; then : 3510 3475 break 3511 3476 fi 3512 3477 done 3513 if test "${ac_cv_search_rpLibrary+set}" = set; then3514 : 3478 if ${ac_cv_search_rpLibrary+:} false; then : 3479 3515 3480 else 3516 3481 ac_cv_search_rpLibrary=no … … 3519 3484 LIBS=$ac_func_search_save_LIBS 3520 3485 fi 3521 { echo "$as_me:$LINENO: result: $ac_cv_search_rpLibrary" >&53522 echo "${ECHO_T}$ac_cv_search_rpLibrary" >&6; }3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rpLibrary" >&5 3487 $as_echo "$ac_cv_search_rpLibrary" >&6; } 3523 3488 ac_res=$ac_cv_search_rpLibrary 3524 if test "$ac_res" != no; then 3489 if test "$ac_res" != no; then : 3525 3490 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 3526 3491 3527 3492 else 3528 { { echo "$as_me:$LINENO: error: \"no librappture with RpLibrary found\"" >&5 3529 echo "$as_me: error: \"no librappture with RpLibrary found\"" >&2;} 3530 { (exit 1); exit 1; }; } 3531 fi 3532 3533 { echo "$as_me:$LINENO: checking for library containing rpConvert" >&5 3534 echo $ECHO_N "checking for library containing rpConvert... $ECHO_C" >&6; } 3535 if test "${ac_cv_search_rpConvert+set}" = set; then 3536 echo $ECHO_N "(cached) $ECHO_C" >&6 3493 as_fn_error $? "\"no librappture with RpLibrary found\"" "$LINENO" 5 3494 fi 3495 3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing rpConvert" >&5 3497 $as_echo_n "checking for library containing rpConvert... " >&6; } 3498 if ${ac_cv_search_rpConvert+:} false; then : 3499 $as_echo_n "(cached) " >&6 3537 3500 else 3538 3501 ac_func_search_save_LIBS=$LIBS 3539 cat >conftest.$ac_ext <<_ACEOF 3540 /* confdefs.h. */ 3541 _ACEOF 3542 cat confdefs.h >>conftest.$ac_ext 3543 cat >>conftest.$ac_ext <<_ACEOF 3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3544 3503 /* end confdefs.h. */ 3545 3504 … … 3566 3525 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3567 3526 fi 3568 rm -f conftest.$ac_objext conftest$ac_exeext 3569 if { (ac_try="$ac_link" 3570 case "(($ac_try" in 3571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3572 *) ac_try_echo=$ac_try;; 3573 esac 3574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3575 (eval "$ac_link") 2>conftest.er1 3576 ac_status=$? 3577 grep -v '^ *+' conftest.er1 >conftest.err 3578 rm -f conftest.er1 3579 cat conftest.err >&5 3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3581 (exit $ac_status); } && { 3582 test -z "$ac_c_werror_flag" || 3583 test ! -s conftest.err 3584 } && test -s conftest$ac_exeext && 3585 $as_test_x conftest$ac_exeext; then 3527 if ac_fn_c_try_link "$LINENO"; then : 3586 3528 ac_cv_search_rpConvert=$ac_res 3587 else 3588 echo "$as_me: failed program was:" >&5 3589 sed 's/^/| /' conftest.$ac_ext >&5 3590 3591 3592 fi 3593 3594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3595 conftest$ac_exeext 3596 if test "${ac_cv_search_rpConvert+set}" = set; then 3529 fi 3530 rm -f core conftest.err conftest.$ac_objext \ 3531 conftest$ac_exeext 3532 if ${ac_cv_search_rpConvert+:} false; then : 3597 3533 break 3598 3534 fi 3599 3535 done 3600 if test "${ac_cv_search_rpConvert+set}" = set; then3601 : 3536 if ${ac_cv_search_rpConvert+:} false; then : 3537 3602 3538 else 3603 3539 ac_cv_search_rpConvert=no … … 3606 3542 LIBS=$ac_func_search_save_LIBS 3607 3543 fi 3608 { echo "$as_me:$LINENO: result: $ac_cv_search_rpConvert" >&53609 echo "${ECHO_T}$ac_cv_search_rpConvert" >&6; }3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rpConvert" >&5 3545 $as_echo "$ac_cv_search_rpConvert" >&6; } 3610 3546 ac_res=$ac_cv_search_rpConvert 3611 if test "$ac_res" != no; then 3547 if test "$ac_res" != no; then : 3612 3548 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 3613 3549 3614 3550 else 3615 { { echo "$as_me:$LINENO: error: \"no librappture with RpUnits found\"" >&5 3616 echo "$as_me: error: \"no librappture with RpUnits found\"" >&2;} 3617 { (exit 1); exit 1; }; } 3618 fi 3619 3620 { echo "$as_me:$LINENO: checking for library containing rpUtilsProgress" >&5 3621 echo $ECHO_N "checking for library containing rpUtilsProgress... $ECHO_C" >&6; } 3622 if test "${ac_cv_search_rpUtilsProgress+set}" = set; then 3623 echo $ECHO_N "(cached) $ECHO_C" >&6 3551 as_fn_error $? "\"no librappture with RpUnits found\"" "$LINENO" 5 3552 fi 3553 3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing rpUtilsProgress" >&5 3555 $as_echo_n "checking for library containing rpUtilsProgress... " >&6; } 3556 if ${ac_cv_search_rpUtilsProgress+:} false; then : 3557 $as_echo_n "(cached) " >&6 3624 3558 else 3625 3559 ac_func_search_save_LIBS=$LIBS 3626 cat >conftest.$ac_ext <<_ACEOF 3627 /* confdefs.h. */ 3628 _ACEOF 3629 cat confdefs.h >>conftest.$ac_ext 3630 cat >>conftest.$ac_ext <<_ACEOF 3560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3631 3561 /* end confdefs.h. */ 3632 3562 … … 3653 3583 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3654 3584 fi 3655 rm -f conftest.$ac_objext conftest$ac_exeext 3656 if { (ac_try="$ac_link" 3657 case "(($ac_try" in 3658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3659 *) ac_try_echo=$ac_try;; 3660 esac 3661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3662 (eval "$ac_link") 2>conftest.er1 3663 ac_status=$? 3664 grep -v '^ *+' conftest.er1 >conftest.err 3665 rm -f conftest.er1 3666 cat conftest.err >&5 3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3668 (exit $ac_status); } && { 3669 test -z "$ac_c_werror_flag" || 3670 test ! -s conftest.err 3671 } && test -s conftest$ac_exeext && 3672 $as_test_x conftest$ac_exeext; then 3585 if ac_fn_c_try_link "$LINENO"; then : 3673 3586 ac_cv_search_rpUtilsProgress=$ac_res 3674 else 3675 echo "$as_me: failed program was:" >&5 3676 sed 's/^/| /' conftest.$ac_ext >&5 3677 3678 3679 fi 3680 3681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3682 conftest$ac_exeext 3683 if test "${ac_cv_search_rpUtilsProgress+set}" = set; then 3587 fi 3588 rm -f core conftest.err conftest.$ac_objext \ 3589 conftest$ac_exeext 3590 if ${ac_cv_search_rpUtilsProgress+:} false; then : 3684 3591 break 3685 3592 fi 3686 3593 done 3687 if test "${ac_cv_search_rpUtilsProgress+set}" = set; then3688 : 3594 if ${ac_cv_search_rpUtilsProgress+:} false; then : 3595 3689 3596 else 3690 3597 ac_cv_search_rpUtilsProgress=no … … 3693 3600 LIBS=$ac_func_search_save_LIBS 3694 3601 fi 3695 { echo "$as_me:$LINENO: result: $ac_cv_search_rpUtilsProgress" >&53696 echo "${ECHO_T}$ac_cv_search_rpUtilsProgress" >&6; }3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rpUtilsProgress" >&5 3603 $as_echo "$ac_cv_search_rpUtilsProgress" >&6; } 3697 3604 ac_res=$ac_cv_search_rpUtilsProgress 3698 if test "$ac_res" != no; then 3605 if test "$ac_res" != no; then : 3699 3606 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 3700 3607 3701 3608 else 3702 { { echo "$as_me:$LINENO: error: \"no librappture with RpUtils found\"" >&5 3703 echo "$as_me: error: \"no librappture with RpUtils found\"" >&2;} 3704 { (exit 1); exit 1; }; } 3705 fi 3706 3707 3708 3709 { echo "$as_me:$LINENO: checking for long" >&5 3710 echo $ECHO_N "checking for long... $ECHO_C" >&6; } 3711 if test "${ac_cv_type_long+set}" = set; then 3712 echo $ECHO_N "(cached) $ECHO_C" >&6 3713 else 3714 cat >conftest.$ac_ext <<_ACEOF 3715 /* confdefs.h. */ 3716 _ACEOF 3717 cat confdefs.h >>conftest.$ac_ext 3718 cat >>conftest.$ac_ext <<_ACEOF 3719 /* end confdefs.h. */ 3720 $ac_includes_default 3721 typedef long ac__type_new_; 3722 int 3723 main () 3724 { 3725 if ((ac__type_new_ *) 0) 3726 return 0; 3727 if (sizeof (ac__type_new_)) 3728 return 0; 3729 ; 3730 return 0; 3731 } 3732 _ACEOF 3733 rm -f conftest.$ac_objext 3734 if { (ac_try="$ac_compile" 3735 case "(($ac_try" in 3736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3737 *) ac_try_echo=$ac_try;; 3738 esac 3739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3740 (eval "$ac_compile") 2>conftest.er1 3741 ac_status=$? 3742 grep -v '^ *+' conftest.er1 >conftest.err 3743 rm -f conftest.er1 3744 cat conftest.err >&5 3745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3746 (exit $ac_status); } && { 3747 test -z "$ac_c_werror_flag" || 3748 test ! -s conftest.err 3749 } && test -s conftest.$ac_objext; then 3750 ac_cv_type_long=yes 3751 else 3752 echo "$as_me: failed program was:" >&5 3753 sed 's/^/| /' conftest.$ac_ext >&5 3754 3755 ac_cv_type_long=no 3756 fi 3757 3758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3759 fi 3760 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 3761 echo "${ECHO_T}$ac_cv_type_long" >&6; } 3609 as_fn_error $? "\"no librappture with RpUtils found\"" "$LINENO" 5 3610 fi 3611 3612 3762 3613 3763 3614 # The cast to long int works around a bug in the HP C Compiler … … 3765 3616 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 3766 3617 # This bug is HP SR number 8606223364. 3767 { echo "$as_me:$LINENO: checking size of long" >&5 3768 echo $ECHO_N "checking size of long... $ECHO_C" >&6; } 3769 if test "${ac_cv_sizeof_long+set}" = set; then 3770 echo $ECHO_N "(cached) $ECHO_C" >&6 3771 else 3772 if test "$cross_compiling" = yes; then 3773 # Depending upon the size, compute the lo and hi bounds. 3774 cat >conftest.$ac_ext <<_ACEOF 3775 /* confdefs.h. */ 3776 _ACEOF 3777 cat confdefs.h >>conftest.$ac_ext 3778 cat >>conftest.$ac_ext <<_ACEOF 3779 /* end confdefs.h. */ 3780 $ac_includes_default 3781 typedef long ac__type_sizeof_; 3782 int 3783 main () 3784 { 3785 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 3786 test_array [0] = 0 3787 3788 ; 3789 return 0; 3790 } 3791 _ACEOF 3792 rm -f conftest.$ac_objext 3793 if { (ac_try="$ac_compile" 3794 case "(($ac_try" in 3795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3796 *) ac_try_echo=$ac_try;; 3797 esac 3798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3799 (eval "$ac_compile") 2>conftest.er1 3800 ac_status=$? 3801 grep -v '^ *+' conftest.er1 >conftest.err 3802 rm -f conftest.er1 3803 cat conftest.err >&5 3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3805 (exit $ac_status); } && { 3806 test -z "$ac_c_werror_flag" || 3807 test ! -s conftest.err 3808 } && test -s conftest.$ac_objext; then 3809 ac_lo=0 ac_mid=0 3810 while :; do 3811 cat >conftest.$ac_ext <<_ACEOF 3812 /* confdefs.h. */ 3813 _ACEOF 3814 cat confdefs.h >>conftest.$ac_ext 3815 cat >>conftest.$ac_ext <<_ACEOF 3816 /* end confdefs.h. */ 3817 $ac_includes_default 3818 typedef long ac__type_sizeof_; 3819 int 3820 main () 3821 { 3822 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 3823 test_array [0] = 0 3824 3825 ; 3826 return 0; 3827 } 3828 _ACEOF 3829 rm -f conftest.$ac_objext 3830 if { (ac_try="$ac_compile" 3831 case "(($ac_try" in 3832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3833 *) ac_try_echo=$ac_try;; 3834 esac 3835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3836 (eval "$ac_compile") 2>conftest.er1 3837 ac_status=$? 3838 grep -v '^ *+' conftest.er1 >conftest.err 3839 rm -f conftest.er1 3840 cat conftest.err >&5 3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3842 (exit $ac_status); } && { 3843 test -z "$ac_c_werror_flag" || 3844 test ! -s conftest.err 3845 } && test -s conftest.$ac_objext; then 3846 ac_hi=$ac_mid; break 3847 else 3848 echo "$as_me: failed program was:" >&5 3849 sed 's/^/| /' conftest.$ac_ext >&5 3850 3851 ac_lo=`expr $ac_mid + 1` 3852 if test $ac_lo -le $ac_mid; then 3853 ac_lo= ac_hi= 3854 break 3855 fi 3856 ac_mid=`expr 2 '*' $ac_mid + 1` 3857 fi 3858 3859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3860 done 3861 else 3862 echo "$as_me: failed program was:" >&5 3863 sed 's/^/| /' conftest.$ac_ext >&5 3864 3865 cat >conftest.$ac_ext <<_ACEOF 3866 /* confdefs.h. */ 3867 _ACEOF 3868 cat confdefs.h >>conftest.$ac_ext 3869 cat >>conftest.$ac_ext <<_ACEOF 3870 /* end confdefs.h. */ 3871 $ac_includes_default 3872 typedef long ac__type_sizeof_; 3873 int 3874 main () 3875 { 3876 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 3877 test_array [0] = 0 3878 3879 ; 3880 return 0; 3881 } 3882 _ACEOF 3883 rm -f conftest.$ac_objext 3884 if { (ac_try="$ac_compile" 3885 case "(($ac_try" in 3886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3887 *) ac_try_echo=$ac_try;; 3888 esac 3889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3890 (eval "$ac_compile") 2>conftest.er1 3891 ac_status=$? 3892 grep -v '^ *+' conftest.er1 >conftest.err 3893 rm -f conftest.er1 3894 cat conftest.err >&5 3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3896 (exit $ac_status); } && { 3897 test -z "$ac_c_werror_flag" || 3898 test ! -s conftest.err 3899 } && test -s conftest.$ac_objext; then 3900 ac_hi=-1 ac_mid=-1 3901 while :; do 3902 cat >conftest.$ac_ext <<_ACEOF 3903 /* confdefs.h. */ 3904 _ACEOF 3905 cat confdefs.h >>conftest.$ac_ext 3906 cat >>conftest.$ac_ext <<_ACEOF 3907 /* end confdefs.h. */ 3908 $ac_includes_default 3909 typedef long ac__type_sizeof_; 3910 int 3911 main () 3912 { 3913 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 3914 test_array [0] = 0 3915 3916 ; 3917 return 0; 3918 } 3919 _ACEOF 3920 rm -f conftest.$ac_objext 3921 if { (ac_try="$ac_compile" 3922 case "(($ac_try" in 3923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3924 *) ac_try_echo=$ac_try;; 3925 esac 3926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3927 (eval "$ac_compile") 2>conftest.er1 3928 ac_status=$? 3929 grep -v '^ *+' conftest.er1 >conftest.err 3930 rm -f conftest.er1 3931 cat conftest.err >&5 3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3933 (exit $ac_status); } && { 3934 test -z "$ac_c_werror_flag" || 3935 test ! -s conftest.err 3936 } && test -s conftest.$ac_objext; then 3937 ac_lo=$ac_mid; break 3938 else 3939 echo "$as_me: failed program was:" >&5 3940 sed 's/^/| /' conftest.$ac_ext >&5 3941 3942 ac_hi=`expr '(' $ac_mid ')' - 1` 3943 if test $ac_mid -le $ac_hi; then 3944 ac_lo= ac_hi= 3945 break 3946 fi 3947 ac_mid=`expr 2 '*' $ac_mid` 3948 fi 3949 3950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3951 done 3952 else 3953 echo "$as_me: failed program was:" >&5 3954 sed 's/^/| /' conftest.$ac_ext >&5 3955 3956 ac_lo= ac_hi= 3957 fi 3958 3959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3960 fi 3961 3962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3963 # Binary search between lo and hi bounds. 3964 while test "x$ac_lo" != "x$ac_hi"; do 3965 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 3966 cat >conftest.$ac_ext <<_ACEOF 3967 /* confdefs.h. */ 3968 _ACEOF 3969 cat confdefs.h >>conftest.$ac_ext 3970 cat >>conftest.$ac_ext <<_ACEOF 3971 /* end confdefs.h. */ 3972 $ac_includes_default 3973 typedef long ac__type_sizeof_; 3974 int 3975 main () 3976 { 3977 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 3978 test_array [0] = 0 3979 3980 ; 3981 return 0; 3982 } 3983 _ACEOF 3984 rm -f conftest.$ac_objext 3985 if { (ac_try="$ac_compile" 3986 case "(($ac_try" in 3987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3988 *) ac_try_echo=$ac_try;; 3989 esac 3990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3991 (eval "$ac_compile") 2>conftest.er1 3992 ac_status=$? 3993 grep -v '^ *+' conftest.er1 >conftest.err 3994 rm -f conftest.er1 3995 cat conftest.err >&5 3996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3997 (exit $ac_status); } && { 3998 test -z "$ac_c_werror_flag" || 3999 test ! -s conftest.err 4000 } && test -s conftest.$ac_objext; then 4001 ac_hi=$ac_mid 4002 else 4003 echo "$as_me: failed program was:" >&5 4004 sed 's/^/| /' conftest.$ac_ext >&5 4005 4006 ac_lo=`expr '(' $ac_mid ')' + 1` 4007 fi 4008 4009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4010 done 4011 case $ac_lo in 4012 ?*) ac_cv_sizeof_long=$ac_lo;; 4013 '') if test "$ac_cv_type_long" = yes; then 4014 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 4015 See \`config.log' for more details." >&5 4016 echo "$as_me: error: cannot compute sizeof (long) 4017 See \`config.log' for more details." >&2;} 4018 { (exit 77); exit 77; }; } 4019 else 4020 ac_cv_sizeof_long=0 4021 fi ;; 4022 esac 4023 else 4024 cat >conftest.$ac_ext <<_ACEOF 4025 /* confdefs.h. */ 4026 _ACEOF 4027 cat confdefs.h >>conftest.$ac_ext 4028 cat >>conftest.$ac_ext <<_ACEOF 4029 /* end confdefs.h. */ 4030 $ac_includes_default 4031 typedef long ac__type_sizeof_; 4032 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 4033 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 4034 #include <stdio.h> 4035 #include <stdlib.h> 4036 int 4037 main () 4038 { 4039 4040 FILE *f = fopen ("conftest.val", "w"); 4041 if (! f) 4042 return 1; 4043 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 4044 { 4045 long int i = longval (); 4046 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 4047 return 1; 4048 fprintf (f, "%ld\n", i); 4049 } 4050 else 4051 { 4052 unsigned long int i = ulongval (); 4053 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 4054 return 1; 4055 fprintf (f, "%lu\n", i); 4056 } 4057 return ferror (f) || fclose (f) != 0; 4058 4059 ; 4060 return 0; 4061 } 4062 _ACEOF 4063 rm -f conftest$ac_exeext 4064 if { (ac_try="$ac_link" 4065 case "(($ac_try" in 4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4067 *) ac_try_echo=$ac_try;; 4068 esac 4069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4070 (eval "$ac_link") 2>&5 4071 ac_status=$? 4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4073 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4074 { (case "(($ac_try" in 4075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4076 *) ac_try_echo=$ac_try;; 4077 esac 4078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4079 (eval "$ac_try") 2>&5 4080 ac_status=$? 4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4082 (exit $ac_status); }; }; then 4083 ac_cv_sizeof_long=`cat conftest.val` 4084 else 4085 echo "$as_me: program exited with status $ac_status" >&5 4086 echo "$as_me: failed program was:" >&5 4087 sed 's/^/| /' conftest.$ac_ext >&5 4088 4089 ( exit $ac_status ) 4090 if test "$ac_cv_type_long" = yes; then 4091 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 4092 See \`config.log' for more details." >&5 4093 echo "$as_me: error: cannot compute sizeof (long) 4094 See \`config.log' for more details." >&2;} 4095 { (exit 77); exit 77; }; } 3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 3619 $as_echo_n "checking size of long... " >&6; } 3620 if ${ac_cv_sizeof_long+:} false; then : 3621 $as_echo_n "(cached) " >&6 3622 else 3623 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 3624 3625 else 3626 if test "$ac_cv_type_long" = yes; then 3627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3629 as_fn_error 77 "cannot compute sizeof (long) 3630 See \`config.log' for more details" "$LINENO" 5; } 4096 3631 else 4097 3632 ac_cv_sizeof_long=0 4098 3633 fi 4099 3634 fi 4100 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4101 fi 4102 rm -f conftest.val 4103 fi 4104 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 4105 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } 3635 3636 fi 3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 3638 $as_echo "$ac_cv_sizeof_long" >&6; } 4106 3639 4107 3640 … … 4144 3677 *${as_nl}*) 4145 3678 case $ac_var in #( 4146 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&54147 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;3679 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3680 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4148 3681 esac 4149 3682 case $ac_var in #( 4150 3683 _ | IFS | as_nl) ;; #( 4151 *) $as_unset $ac_var ;; 3684 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3685 *) { eval $ac_var=; unset $ac_var;} ;; 4152 3686 esac ;; 4153 3687 esac … … 4157 3691 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4158 3692 *${as_nl}ac_space=\ *) 4159 # `set' does not quote correctly, so add quotes (double-quote4160 # substitution turns \\\\ into \\, and sed turns \\ into \ ).3693 # `set' does not quote correctly, so add quotes: double-quote 3694 # substitution turns \\\\ into \\, and sed turns \\ into \. 4161 3695 sed -n \ 4162 3696 "s/'/'\\\\''/g; … … 4180 3714 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4181 3715 if test -w "$cache_file"; then 4182 test "x$cache_file" != "x/dev/null" && 4183 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 4184 echo "$as_me: updating cache $cache_file" >&6;} 4185 cat confcache >$cache_file 3716 if test "x$cache_file" != "x/dev/null"; then 3717 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3718 $as_echo "$as_me: updating cache $cache_file" >&6;} 3719 if test ! -f "$cache_file" || test -h "$cache_file"; then 3720 cat confcache >"$cache_file" 3721 else 3722 case $cache_file in #( 3723 */* | ?:*) 3724 mv -f confcache "$cache_file"$$ && 3725 mv -f "$cache_file"$$ "$cache_file" ;; #( 3726 *) 3727 mv -f confcache "$cache_file" ;; 3728 esac 3729 fi 3730 fi 4186 3731 else 4187 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&54188 echo "$as_me: not updating unwritable cache $cache_file" >&6;}3732 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 3733 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4189 3734 fi 4190 3735 fi … … 4203 3748 # look for a macro that doesn't take arguments. 4204 3749 ac_script=' 3750 :mline 3751 /\\$/{ 3752 N 3753 s,\\\n,, 3754 b mline 3755 } 4205 3756 t clear 4206 3757 :clear … … 4229 3780 ac_libobjs= 4230 3781 ac_ltlibobjs= 3782 U= 4231 3783 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4232 3784 # 1. Remove the extension, and $U if already installed. 4233 3785 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4234 ac_i=` echo "$ac_i" | sed "$ac_script"`3786 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4235 3787 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4236 3788 # will be set to the directory where LIBOBJS objects are built. 4237 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"4238 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'3789 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3790 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4239 3791 done 4240 3792 LIBOBJS=$ac_libobjs … … 4244 3796 4245 3797 4246 : ${CONFIG_STATUS=./config.status} 3798 : "${CONFIG_STATUS=./config.status}" 3799 ac_write_fail=0 4247 3800 ac_clean_files_save=$ac_clean_files 4248 3801 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4249 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 4250 echo "$as_me: creating $CONFIG_STATUS" >&6;} 4251 cat >$CONFIG_STATUS <<_ACEOF 3802 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3803 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 3804 as_write_fail=0 3805 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4252 3806 #! $SHELL 4253 3807 # Generated by $as_me. … … 4259 3813 ac_cs_recheck=false 4260 3814 ac_cs_silent=false 3815 4261 3816 SHELL=\${CONFIG_SHELL-$SHELL} 4262 _ACEOF 4263 4264 cat >>$CONFIG_STATUS <<\_A CEOF4265 ## -------------------- -##4266 ## M4sh Initialization. 4267 ## -------------------- -##3817 export SHELL 3818 _ASEOF 3819 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 3820 ## -------------------- ## 3821 ## M4sh Initialization. ## 3822 ## -------------------- ## 4268 3823 4269 3824 # Be more Bourne compatible 4270 3825 DUALCASE=1; export DUALCASE # for MKS sh 4271 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3826 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4272 3827 emulate sh 4273 3828 NULLCMD=: 4274 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which3829 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4275 3830 # is contrary to our usage. Disable this feature. 4276 3831 alias -g '${1+"$@"}'='"$@"' 4277 3832 setopt NO_GLOB_SUBST 4278 3833 else 4279 case `(set -o) 2>/dev/null` in 4280 *posix*) set -o posix ;; 3834 case `(set -o) 2>/dev/null` in #( 3835 *posix*) : 3836 set -o posix ;; #( 3837 *) : 3838 ;; 4281 3839 esac 4282 4283 fi 4284 4285 4286 4287 4288 # PATH needs CR 4289 # Avoid depending upon Character Ranges. 4290 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4291 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4292 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4293 as_cr_digits='0123456789' 4294 as_cr_alnum=$as_cr_Letters$as_cr_digits 3840 fi 3841 3842 3843 as_nl=' 3844 ' 3845 export as_nl 3846 # Printing a long string crashes Solaris 7 /usr/bin/printf. 3847 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3848 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 3849 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 3850 # Prefer a ksh shell builtin over an external printf program on Solaris, 3851 # but without wasting forks for bash or zsh. 3852 if test -z "$BASH_VERSION$ZSH_VERSION" \ 3853 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 3854 as_echo='print -r --' 3855 as_echo_n='print -rn --' 3856 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 3857 as_echo='printf %s\n' 3858 as_echo_n='printf %s' 3859 else 3860 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 3861 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 3862 as_echo_n='/usr/ucb/echo -n' 3863 else 3864 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 3865 as_echo_n_body='eval 3866 arg=$1; 3867 case $arg in #( 3868 *"$as_nl"*) 3869 expr "X$arg" : "X\\(.*\\)$as_nl"; 3870 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 3871 esac; 3872 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 3873 ' 3874 export as_echo_n_body 3875 as_echo_n='sh -c $as_echo_n_body as_echo' 3876 fi 3877 export as_echo_body 3878 as_echo='sh -c $as_echo_body as_echo' 3879 fi 4295 3880 4296 3881 # The user is always right. 4297 3882 if test "${PATH_SEPARATOR+set}" != set; then 4298 echo "#! /bin/sh" >conf$$.sh 4299 echo "exit 0" >>conf$$.sh 4300 chmod +x conf$$.sh 4301 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4302 PATH_SEPARATOR=';' 4303 else 4304 PATH_SEPARATOR=: 4305 fi 4306 rm -f conf$$.sh 4307 fi 4308 4309 # Support unset when possible. 4310 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4311 as_unset=unset 4312 else 4313 as_unset=false 3883 PATH_SEPARATOR=: 3884 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 3885 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 3886 PATH_SEPARATOR=';' 3887 } 4314 3888 fi 4315 3889 … … 4320 3894 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 4321 3895 # splitting by setting IFS to empty value.) 4322 as_nl='4323 '4324 3896 IFS=" "" $as_nl" 4325 3897 4326 3898 # Find who we are. Look in the path if we contain no directory separator. 4327 case $0 in 3899 as_myself= 3900 case $0 in #(( 4328 3901 *[\\/]* ) as_myself=$0 ;; 4329 3902 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 4332 3905 IFS=$as_save_IFS 4333 3906 test -z "$as_dir" && as_dir=. 4334 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break4335 done3907 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3908 done 4336 3909 IFS=$as_save_IFS 4337 3910 … … 4344 3917 fi 4345 3918 if test ! -f "$as_myself"; then 4346 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4347 { (exit 1); exit 1; } 4348 fi 4349 4350 # Work around bugs in pre-3.0 UWIN ksh. 4351 for as_var in ENV MAIL MAILPATH 4352 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3919 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3920 exit 1 3921 fi 3922 3923 # Unset variables that we do not need and which cause bugs (e.g. in 3924 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 3925 # suppresses any "Segmentation fault" message there. '((' could 3926 # trigger a bug in pdksh 5.2.14. 3927 for as_var in BASH_ENV ENV MAIL MAILPATH 3928 do eval test x\${$as_var+set} = xset \ 3929 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4353 3930 done 4354 3931 PS1='$ ' … … 4357 3934 4358 3935 # NLS nuisances. 4359 for as_var in \ 4360 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 4361 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 4362 LC_TELEPHONE LC_TIME 4363 do 4364 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 4365 eval $as_var=C; export $as_var 4366 else 4367 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3936 LC_ALL=C 3937 export LC_ALL 3938 LANGUAGE=C 3939 export LANGUAGE 3940 3941 # CDPATH. 3942 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 3943 3944 3945 # as_fn_error STATUS ERROR [LINENO LOG_FD] 3946 # ---------------------------------------- 3947 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3948 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3949 # script with STATUS, using 1 if that was 0. 3950 as_fn_error () 3951 { 3952 as_status=$1; test $as_status -eq 0 && as_status=1 3953 if test "$4"; then 3954 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3955 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4368 3956 fi 4369 done 4370 4371 # Required to use basename. 3957 $as_echo "$as_me: error: $2" >&2 3958 as_fn_exit $as_status 3959 } # as_fn_error 3960 3961 3962 # as_fn_set_status STATUS 3963 # ----------------------- 3964 # Set $? to STATUS, without forking. 3965 as_fn_set_status () 3966 { 3967 return $1 3968 } # as_fn_set_status 3969 3970 # as_fn_exit STATUS 3971 # ----------------- 3972 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3973 as_fn_exit () 3974 { 3975 set +e 3976 as_fn_set_status $1 3977 exit $1 3978 } # as_fn_exit 3979 3980 # as_fn_unset VAR 3981 # --------------- 3982 # Portably unset VAR. 3983 as_fn_unset () 3984 { 3985 { eval $1=; unset $1;} 3986 } 3987 as_unset=as_fn_unset 3988 # as_fn_append VAR VALUE 3989 # ---------------------- 3990 # Append the text in VALUE to the end of the definition contained in VAR. Take 3991 # advantage of any shell optimizations that allow amortized linear growth over 3992 # repeated appends, instead of the typical quadratic growth present in naive 3993 # implementations. 3994 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3995 eval 'as_fn_append () 3996 { 3997 eval $1+=\$2 3998 }' 3999 else 4000 as_fn_append () 4001 { 4002 eval $1=\$$1\$2 4003 } 4004 fi # as_fn_append 4005 4006 # as_fn_arith ARG... 4007 # ------------------ 4008 # Perform arithmetic evaluation on the ARGs, and store the result in the 4009 # global $as_val. Take advantage of shells that can avoid forks. The arguments 4010 # must be portable across $(()) and expr. 4011 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4012 eval 'as_fn_arith () 4013 { 4014 as_val=$(( $* )) 4015 }' 4016 else 4017 as_fn_arith () 4018 { 4019 as_val=`expr "$@" || test $? -eq 1` 4020 } 4021 fi # as_fn_arith 4022 4023 4372 4024 if expr a : '\(a\)' >/dev/null 2>&1 && 4373 4025 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 4383 4035 fi 4384 4036 4385 4386 # Name of the executable. 4037 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4038 as_dirname=dirname 4039 else 4040 as_dirname=false 4041 fi 4042 4387 4043 as_me=`$as_basename -- "$0" || 4388 4044 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4389 4045 X"$0" : 'X\(//\)$' \| \ 4390 4046 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4391 echo X/"$0" |4047 $as_echo X/"$0" | 4392 4048 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4393 4049 s//\1/ … … 4404 4060 s/.*/./; q'` 4405 4061 4406 # CDPATH. 4407 $as_unset CDPATH 4408 4409 4410 4411 as_lineno_1=$LINENO 4412 as_lineno_2=$LINENO 4413 test "x$as_lineno_1" != "x$as_lineno_2" && 4414 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 4415 4416 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4417 # uniformly replaced by the line number. The first 'sed' inserts a 4418 # line-number line after each line using $LINENO; the second 'sed' 4419 # does the real work. The second script uses 'N' to pair each 4420 # line-number line with the line containing $LINENO, and appends 4421 # trailing '-' during substitution so that $LINENO is not a special 4422 # case at line end. 4423 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 4424 # scripts with optimization help from Paolo Bonzini. Blame Lee 4425 # E. McMahon (1931-1989) for sed's syntax. :-) 4426 sed -n ' 4427 p 4428 /[$]LINENO/= 4429 ' <$as_myself | 4430 sed ' 4431 s/[$]LINENO.*/&-/ 4432 t lineno 4433 b 4434 :lineno 4435 N 4436 :loop 4437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4438 t loop 4439 s/-\n.*// 4440 ' >$as_me.lineno && 4441 chmod +x "$as_me.lineno" || 4442 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 4443 { (exit 1); exit 1; }; } 4444 4445 # Don't try to exec as it changes $[0], causing all sort of problems 4446 # (the dirname of $[0] is not the place where we might find the 4447 # original and so on. Autoconf is especially sensitive to this). 4448 . "./$as_me.lineno" 4449 # Exit status is that of the last command. 4450 exit 4451 } 4452 4453 4454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4455 as_dirname=dirname 4456 else 4457 as_dirname=false 4458 fi 4062 # Avoid depending upon Character Ranges. 4063 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4064 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4065 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4066 as_cr_digits='0123456789' 4067 as_cr_alnum=$as_cr_Letters$as_cr_digits 4459 4068 4460 4069 ECHO_C= ECHO_N= ECHO_T= 4461 case `echo -n x` in 4070 case `echo -n x` in #((((( 4462 4071 -n*) 4463 case `echo 'x \c'` in4072 case `echo 'xy\c'` in 4464 4073 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4465 *) ECHO_C='\c';; 4074 xy) ECHO_C='\c';; 4075 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4076 ECHO_T=' ';; 4466 4077 esac;; 4467 4078 *) … … 4469 4080 esac 4470 4081 4471 if expr a : '\(a\)' >/dev/null 2>&1 &&4472 test "X`expr 00001 : '.*\(...\)'`" = X001; then4473 as_expr=expr4474 else4475 as_expr=false4476 fi4477 4478 4082 rm -f conf$$ conf$$.exe conf$$.file 4479 4083 if test -d conf$$.dir; then … … 4481 4085 else 4482 4086 rm -f conf$$.dir 4483 mkdir conf$$.dir 4484 fi 4485 echo >conf$$.file 4486 if ln -s conf$$.file conf$$ 2>/dev/null; then 4487 as_ln_s='ln -s' 4488 # ... but there are two gotchas: 4489 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4490 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4491 # In both cases, we have to default to `cp -p'. 4492 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4087 mkdir conf$$.dir 2>/dev/null 4088 fi 4089 if (echo >conf$$.file) 2>/dev/null; then 4090 if ln -s conf$$.file conf$$ 2>/dev/null; then 4091 as_ln_s='ln -s' 4092 # ... but there are two gotchas: 4093 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4094 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4095 # In both cases, we have to default to `cp -p'. 4096 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4097 as_ln_s='cp -p' 4098 elif ln conf$$.file conf$$ 2>/dev/null; then 4099 as_ln_s=ln 4100 else 4493 4101 as_ln_s='cp -p' 4494 elif ln conf$$.file conf$$ 2>/dev/null; then 4495 as_ln_s=ln 4102 fi 4496 4103 else 4497 4104 as_ln_s='cp -p' … … 4500 4107 rmdir conf$$.dir 2>/dev/null 4501 4108 4502 if mkdir -p . 2>/dev/null; then 4503 as_mkdir_p=: 4504 else 4505 test -d ./-p && rmdir ./-p 4506 as_mkdir_p=false 4507 fi 4508 4509 if test -x / >/dev/null 2>&1; then 4510 as_test_x='test -x' 4511 else 4512 if ls -dL / >/dev/null 2>&1; then 4513 as_ls_L_option=L 4514 else 4515 as_ls_L_option= 4516 fi 4517 as_test_x=' 4518 eval sh -c '\'' 4519 if test -d "$1"; then 4520 test -d "$1/."; 4521 else 4522 case $1 in 4523 -*)set "./$1";; 4524 esac; 4525 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 4526 ???[sx]*):;;*)false;;esac;fi 4527 '\'' sh 4528 ' 4529 fi 4530 as_executable_p=$as_test_x 4531 4532 # Sed expression to map a string onto a valid CPP name. 4533 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4534 4535 # Sed expression to map a string onto a valid variable name. 4536 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4537 4538 4539 exec 6>&1 4540 4541 # Save the log message, to keep $[0] and so on meaningful, and to 4542 # report actual input values of CONFIG_FILES etc. instead of their 4543 # values after options handling. 4544 ac_log=" 4545 This file was extended by Rappture $as_me 1.0, which was 4546 generated by GNU Autoconf 2.61. Invocation command line was 4547 4548 CONFIG_FILES = $CONFIG_FILES 4549 CONFIG_HEADERS = $CONFIG_HEADERS 4550 CONFIG_LINKS = $CONFIG_LINKS 4551 CONFIG_COMMANDS = $CONFIG_COMMANDS 4552 $ $0 $@ 4553 4554 on `(hostname || uname -n) 2>/dev/null | sed 1q` 4555 " 4556 4557 _ACEOF 4558 4559 cat >>$CONFIG_STATUS <<_ACEOF 4560 # Files that config.status was made for. 4561 config_files="$ac_config_files" 4562 4563 _ACEOF 4564 4565 cat >>$CONFIG_STATUS <<\_ACEOF 4566 ac_cs_usage="\ 4567 \`$as_me' instantiates files from templates according to the 4568 current configuration. 4569 4570 Usage: $0 [OPTIONS] [FILE]... 4571 4572 -h, --help print this help, then exit 4573 -V, --version print version number and configuration settings, then exit 4574 -q, --quiet do not print progress messages 4575 -d, --debug don't remove temporary files 4576 --recheck update $as_me by reconfiguring in the same conditions 4577 --file=FILE[:TEMPLATE] 4578 instantiate the configuration file FILE 4579 4580 Configuration files: 4581 $config_files 4582 4583 Report bugs to <bug-autoconf@gnu.org>." 4584 4585 _ACEOF 4586 cat >>$CONFIG_STATUS <<_ACEOF 4587 ac_cs_version="\\ 4588 Rappture config.status 1.0 4589 configured by $0, generated by GNU Autoconf 2.61, 4590 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 4591 4592 Copyright (C) 2006 Free Software Foundation, Inc. 4593 This config.status script is free software; the Free Software Foundation 4594 gives unlimited permission to copy, distribute and modify it." 4595 4596 ac_pwd='$ac_pwd' 4597 srcdir='$srcdir' 4598 _ACEOF 4599 4600 cat >>$CONFIG_STATUS <<\_ACEOF 4601 # If no file are specified by the user, then we need to provide default 4602 # value. By we need to know if files were specified by the user. 4603 ac_need_defaults=: 4604 while test $# != 0 4605 do 4606 case $1 in 4607 --*=*) 4608 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4609 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4610 ac_shift=: 4611 ;; 4612 *) 4613 ac_option=$1 4614 ac_optarg=$2 4615 ac_shift=shift 4616 ;; 4617 esac 4618 4619 case $ac_option in 4620 # Handling of the options. 4621 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4622 ac_cs_recheck=: ;; 4623 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4624 echo "$ac_cs_version"; exit ;; 4625 --debug | --debu | --deb | --de | --d | -d ) 4626 debug=: ;; 4627 --file | --fil | --fi | --f ) 4628 $ac_shift 4629 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4630 ac_need_defaults=false;; 4631 --he | --h | --help | --hel | -h ) 4632 echo "$ac_cs_usage"; exit ;; 4633 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4634 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4635 ac_cs_silent=: ;; 4636 4637 # This is an error. 4638 -*) { echo "$as_me: error: unrecognized option: $1 4639 Try \`$0 --help' for more information." >&2 4640 { (exit 1); exit 1; }; } ;; 4641 4642 *) ac_config_targets="$ac_config_targets $1" 4643 ac_need_defaults=false ;; 4644 4645 esac 4646 shift 4647 done 4648 4649 ac_configure_extra_args= 4650 4651 if $ac_cs_silent; then 4652 exec 6>/dev/null 4653 ac_configure_extra_args="$ac_configure_extra_args --silent" 4654 fi 4655 4656 _ACEOF 4657 cat >>$CONFIG_STATUS <<_ACEOF 4658 if \$ac_cs_recheck; then 4659 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 4660 CONFIG_SHELL=$SHELL 4661 export CONFIG_SHELL 4662 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4663 fi 4664 4665 _ACEOF 4666 cat >>$CONFIG_STATUS <<\_ACEOF 4667 exec 5>>config.log 4109 4110 # as_fn_mkdir_p 4111 # ------------- 4112 # Create "$as_dir" as a directory, including parents if necessary. 4113 as_fn_mkdir_p () 4668 4114 { 4669 echo 4670 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4671 ## Running $as_me. ## 4672 _ASBOX 4673 echo "$ac_log" 4674 } >&5 4675 4676 _ACEOF 4677 cat >>$CONFIG_STATUS <<_ACEOF 4678 _ACEOF 4679 4680 cat >>$CONFIG_STATUS <<\_ACEOF 4681 4682 # Handling of arguments. 4683 for ac_config_target in $ac_config_targets 4684 do 4685 case $ac_config_target in 4686 "src/Makevars") CONFIG_FILES="$CONFIG_FILES src/Makevars" ;; 4687 4688 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4689 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 4690 { (exit 1); exit 1; }; };; 4691 esac 4692 done 4693 4694 4695 # If the user did not use the arguments to specify the items to instantiate, 4696 # then the envvar interface is used. Set only those that are not. 4697 # We use the long form for the default assignment because of an extremely 4698 # bizarre bug on SunOS 4.1.3. 4699 if $ac_need_defaults; then 4700 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4701 fi 4702 4703 # Have a temporary directory for convenience. Make it in the build tree 4704 # simply because there is no reason against having it here, and in addition, 4705 # creating and moving files from /tmp can sometimes cause problems. 4706 # Hook for its removal unless debugging. 4707 # Note that there is a small window in which the directory will not be cleaned: 4708 # after its creation but before its name has been assigned to `$tmp'. 4709 $debug || 4710 { 4711 tmp= 4712 trap 'exit_status=$? 4713 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 4714 ' 0 4715 trap '{ (exit 1); exit 1; }' 1 2 13 15 4716 } 4717 # Create a (secure) tmp directory for tmp files. 4718 4719 { 4720 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4721 test -n "$tmp" && test -d "$tmp" 4722 } || 4723 { 4724 tmp=./conf$$-$RANDOM 4725 (umask 077 && mkdir "$tmp") 4726 } || 4727 { 4728 echo "$me: cannot create a temporary directory in ." >&2 4729 { (exit 1); exit 1; } 4730 } 4731 4732 # 4733 # Set up the sed scripts for CONFIG_FILES section. 4734 # 4735 4736 # No need to generate the scripts if there are no CONFIG_FILES. 4737 # This happens for instance when ./config.status config.h 4738 if test -n "$CONFIG_FILES"; then 4739 4740 _ACEOF 4741 4742 4743 4744 ac_delim='%!_!# ' 4745 for ac_last_try in false false false false false :; do 4746 cat >conf$$subs.sed <<_ACEOF 4747 SHELL!$SHELL$ac_delim 4748 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 4749 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 4750 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 4751 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 4752 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 4753 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 4754 exec_prefix!$exec_prefix$ac_delim 4755 prefix!$prefix$ac_delim 4756 program_transform_name!$program_transform_name$ac_delim 4757 bindir!$bindir$ac_delim 4758 sbindir!$sbindir$ac_delim 4759 libexecdir!$libexecdir$ac_delim 4760 datarootdir!$datarootdir$ac_delim 4761 datadir!$datadir$ac_delim 4762 sysconfdir!$sysconfdir$ac_delim 4763 sharedstatedir!$sharedstatedir$ac_delim 4764 localstatedir!$localstatedir$ac_delim 4765 includedir!$includedir$ac_delim 4766 oldincludedir!$oldincludedir$ac_delim 4767 docdir!$docdir$ac_delim 4768 infodir!$infodir$ac_delim 4769 htmldir!$htmldir$ac_delim 4770 dvidir!$dvidir$ac_delim 4771 pdfdir!$pdfdir$ac_delim 4772 psdir!$psdir$ac_delim 4773 libdir!$libdir$ac_delim 4774 localedir!$localedir$ac_delim 4775 mandir!$mandir$ac_delim 4776 DEFS!$DEFS$ac_delim 4777 ECHO_C!$ECHO_C$ac_delim 4778 ECHO_N!$ECHO_N$ac_delim 4779 ECHO_T!$ECHO_T$ac_delim 4780 LIBS!$LIBS$ac_delim 4781 build_alias!$build_alias$ac_delim 4782 host_alias!$host_alias$ac_delim 4783 target_alias!$target_alias$ac_delim 4784 CC!$CC$ac_delim 4785 CFLAGS!$CFLAGS$ac_delim 4786 LDFLAGS!$LDFLAGS$ac_delim 4787 CPPFLAGS!$CPPFLAGS$ac_delim 4788 ac_ct_CC!$ac_ct_CC$ac_delim 4789 EXEEXT!$EXEEXT$ac_delim 4790 OBJEXT!$OBJEXT$ac_delim 4791 CPP!$CPP$ac_delim 4792 GREP!$GREP$ac_delim 4793 EGREP!$EGREP$ac_delim 4794 RAPPTURE_CPPFLAGS!$RAPPTURE_CPPFLAGS$ac_delim 4795 LIBOBJS!$LIBOBJS$ac_delim 4796 LTLIBOBJS!$LTLIBOBJS$ac_delim 4797 _ACEOF 4798 4799 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 50; then 4800 break 4801 elif $ac_last_try; then 4802 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 4803 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 4804 { (exit 1); exit 1; }; } 4805 else 4806 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4807 fi 4808 done 4809 4810 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 4811 if test -n "$ac_eof"; then 4812 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 4813 ac_eof=`expr $ac_eof + 1` 4814 fi 4815 4816 cat >>$CONFIG_STATUS <<_ACEOF 4817 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 4818 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 4819 _ACEOF 4820 sed ' 4821 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 4822 s/^/s,@/; s/!/@,|#_!!_#|/ 4823 :n 4824 t n 4825 s/'"$ac_delim"'$/,g/; t 4826 s/$/\\/; p 4827 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 4828 ' >>$CONFIG_STATUS <conf$$subs.sed 4829 rm -f conf$$subs.sed 4830 cat >>$CONFIG_STATUS <<_ACEOF 4831 :end 4832 s/|#_!!_#|//g 4833 CEOF$ac_eof 4834 _ACEOF 4835 4836 4837 # VPATH may cause trouble with some makes, so we remove $(srcdir), 4838 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 4839 # trailing colons and then remove the whole line if VPATH becomes empty 4840 # (actually we leave an empty line to preserve line numbers). 4841 if test "x$srcdir" = x.; then 4842 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4843 s/:*\$(srcdir):*/:/ 4844 s/:*\${srcdir}:*/:/ 4845 s/:*@srcdir@:*/:/ 4846 s/^\([^=]*=[ ]*\):*/\1/ 4847 s/:*$// 4848 s/^[^=]*=[ ]*$// 4849 }' 4850 fi 4851 4852 cat >>$CONFIG_STATUS <<\_ACEOF 4853 fi # test -n "$CONFIG_FILES" 4854 4855 4856 for ac_tag in :F $CONFIG_FILES 4857 do 4858 case $ac_tag in 4859 :[FHLC]) ac_mode=$ac_tag; continue;; 4860 esac 4861 case $ac_mode$ac_tag in 4862 :[FHL]*:*);; 4863 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 4864 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 4865 { (exit 1); exit 1; }; };; 4866 :[FH]-) ac_tag=-:-;; 4867 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4868 esac 4869 ac_save_IFS=$IFS 4870 IFS=: 4871 set x $ac_tag 4872 IFS=$ac_save_IFS 4873 shift 4874 ac_file=$1 4875 shift 4876 4877 case $ac_mode in 4878 :L) ac_source=$1;; 4879 :[FH]) 4880 ac_file_inputs= 4881 for ac_f 4882 do 4883 case $ac_f in 4884 -) ac_f="$tmp/stdin";; 4885 *) # Look for the file first in the build tree, then in the source tree 4886 # (if the path is not absolute). The absolute path cannot be DOS-style, 4887 # because $ac_f cannot contain `:'. 4888 test -f "$ac_f" || 4889 case $ac_f in 4890 [\\/$]*) false;; 4891 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4892 esac || 4893 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 4894 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 4895 { (exit 1); exit 1; }; };; 4896 esac 4897 ac_file_inputs="$ac_file_inputs $ac_f" 4898 done 4899 4900 # Let's still pretend it is `configure' which instantiates (i.e., don't 4901 # use $as_me), people would be surprised to read: 4902 # /* config.h. Generated by config.status. */ 4903 configure_input="Generated from "`IFS=: 4904 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 4905 if test x"$ac_file" != x-; then 4906 configure_input="$ac_file. $configure_input" 4907 { echo "$as_me:$LINENO: creating $ac_file" >&5 4908 echo "$as_me: creating $ac_file" >&6;} 4909 fi 4910 4911 case $ac_tag in 4912 *:-:* | *:-) cat >"$tmp/stdin";; 4913 esac 4914 ;; 4915 esac 4916 4917 ac_dir=`$as_dirname -- "$ac_file" || 4918 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4919 X"$ac_file" : 'X\(//\)[^/]' \| \ 4920 X"$ac_file" : 'X\(//\)$' \| \ 4921 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4922 echo X"$ac_file" | 4923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4924 s//\1/ 4925 q 4926 } 4927 /^X\(\/\/\)[^/].*/{ 4928 s//\1/ 4929 q 4930 } 4931 /^X\(\/\/\)$/{ 4932 s//\1/ 4933 q 4934 } 4935 /^X\(\/\).*/{ 4936 s//\1/ 4937 q 4938 } 4939 s/.*/./; q'` 4940 { as_dir="$ac_dir" 4115 4941 4116 case $as_dir in #( 4942 4117 -*) as_dir=./$as_dir;; 4943 4118 esac 4944 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; }|| {4119 test -d "$as_dir" || eval $as_mkdir_p || { 4945 4120 as_dirs= 4946 4121 while :; do 4947 4122 case $as_dir in #( 4948 *\'*) as_qdir=` echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(4123 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 4949 4124 *) as_qdir=$as_dir;; 4950 4125 esac … … 4955 4130 X"$as_dir" : 'X\(//\)$' \| \ 4956 4131 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4957 echo X"$as_dir" |4132 $as_echo X"$as_dir" | 4958 4133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4959 4134 s//\1/ … … 4976 4151 done 4977 4152 test -z "$as_dirs" || eval "mkdir $as_dirs" 4978 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 4979 echo "$as_me: error: cannot create directory $as_dir" >&2;} 4980 { (exit 1); exit 1; }; }; } 4153 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 4154 4155 4156 } # as_fn_mkdir_p 4157 if mkdir -p . 2>/dev/null; then 4158 as_mkdir_p='mkdir -p "$as_dir"' 4159 else 4160 test -d ./-p && rmdir ./-p 4161 as_mkdir_p=false 4162 fi 4163 4164 if test -x / >/dev/null 2>&1; then 4165 as_test_x='test -x' 4166 else 4167 if ls -dL / >/dev/null 2>&1; then 4168 as_ls_L_option=L 4169 else 4170 as_ls_L_option= 4171 fi 4172 as_test_x=' 4173 eval sh -c '\'' 4174 if test -d "$1"; then 4175 test -d "$1/."; 4176 else 4177 case $1 in #( 4178 -*)set "./$1";; 4179 esac; 4180 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 4181 ???[sx]*):;;*)false;;esac;fi 4182 '\'' sh 4183 ' 4184 fi 4185 as_executable_p=$as_test_x 4186 4187 # Sed expression to map a string onto a valid CPP name. 4188 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4189 4190 # Sed expression to map a string onto a valid variable name. 4191 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4192 4193 4194 exec 6>&1 4195 ## ----------------------------------- ## 4196 ## Main body of $CONFIG_STATUS script. ## 4197 ## ----------------------------------- ## 4198 _ASEOF 4199 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 4200 4201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4202 # Save the log message, to keep $0 and so on meaningful, and to 4203 # report actual input values of CONFIG_FILES etc. instead of their 4204 # values after options handling. 4205 ac_log=" 4206 This file was extended by Rappture $as_me 1.0, which was 4207 generated by GNU Autoconf 2.68. Invocation command line was 4208 4209 CONFIG_FILES = $CONFIG_FILES 4210 CONFIG_HEADERS = $CONFIG_HEADERS 4211 CONFIG_LINKS = $CONFIG_LINKS 4212 CONFIG_COMMANDS = $CONFIG_COMMANDS 4213 $ $0 $@ 4214 4215 on `(hostname || uname -n) 2>/dev/null | sed 1q` 4216 " 4217 4218 _ACEOF 4219 4220 case $ac_config_files in *" 4221 "*) set x $ac_config_files; shift; ac_config_files=$*;; 4222 esac 4223 4224 4225 4226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4227 # Files that config.status was made for. 4228 config_files="$ac_config_files" 4229 4230 _ACEOF 4231 4232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4233 ac_cs_usage="\ 4234 \`$as_me' instantiates files and other configuration actions 4235 from templates according to the current configuration. Unless the files 4236 and actions are specified as TAGs, all are instantiated by default. 4237 4238 Usage: $0 [OPTION]... [TAG]... 4239 4240 -h, --help print this help, then exit 4241 -V, --version print version number and configuration settings, then exit 4242 --config print configuration, then exit 4243 -q, --quiet, --silent 4244 do not print progress messages 4245 -d, --debug don't remove temporary files 4246 --recheck update $as_me by reconfiguring in the same conditions 4247 --file=FILE[:TEMPLATE] 4248 instantiate the configuration file FILE 4249 4250 Configuration files: 4251 $config_files 4252 4253 Report bugs to <rappture@nanohub.org>." 4254 4255 _ACEOF 4256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4257 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4258 ac_cs_version="\\ 4259 Rappture config.status 1.0 4260 configured by $0, generated by GNU Autoconf 2.68, 4261 with options \\"\$ac_cs_config\\" 4262 4263 Copyright (C) 2010 Free Software Foundation, Inc. 4264 This config.status script is free software; the Free Software Foundation 4265 gives unlimited permission to copy, distribute and modify it." 4266 4267 ac_pwd='$ac_pwd' 4268 srcdir='$srcdir' 4269 test -n "\$AWK" || AWK=awk 4270 _ACEOF 4271 4272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4273 # The default lists apply if the user does not specify any file. 4274 ac_need_defaults=: 4275 while test $# != 0 4276 do 4277 case $1 in 4278 --*=?*) 4279 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4280 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4281 ac_shift=: 4282 ;; 4283 --*=) 4284 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4285 ac_optarg= 4286 ac_shift=: 4287 ;; 4288 *) 4289 ac_option=$1 4290 ac_optarg=$2 4291 ac_shift=shift 4292 ;; 4293 esac 4294 4295 case $ac_option in 4296 # Handling of the options. 4297 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4298 ac_cs_recheck=: ;; 4299 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4300 $as_echo "$ac_cs_version"; exit ;; 4301 --config | --confi | --conf | --con | --co | --c ) 4302 $as_echo "$ac_cs_config"; exit ;; 4303 --debug | --debu | --deb | --de | --d | -d ) 4304 debug=: ;; 4305 --file | --fil | --fi | --f ) 4306 $ac_shift 4307 case $ac_optarg in 4308 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4309 '') as_fn_error $? "missing file argument" ;; 4310 esac 4311 as_fn_append CONFIG_FILES " '$ac_optarg'" 4312 ac_need_defaults=false;; 4313 --he | --h | --help | --hel | -h ) 4314 $as_echo "$ac_cs_usage"; exit ;; 4315 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4316 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4317 ac_cs_silent=: ;; 4318 4319 # This is an error. 4320 -*) as_fn_error $? "unrecognized option: \`$1' 4321 Try \`$0 --help' for more information." ;; 4322 4323 *) as_fn_append ac_config_targets " $1" 4324 ac_need_defaults=false ;; 4325 4326 esac 4327 shift 4328 done 4329 4330 ac_configure_extra_args= 4331 4332 if $ac_cs_silent; then 4333 exec 6>/dev/null 4334 ac_configure_extra_args="$ac_configure_extra_args --silent" 4335 fi 4336 4337 _ACEOF 4338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4339 if \$ac_cs_recheck; then 4340 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4341 shift 4342 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 4343 CONFIG_SHELL='$SHELL' 4344 export CONFIG_SHELL 4345 exec "\$@" 4346 fi 4347 4348 _ACEOF 4349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4350 exec 5>>config.log 4351 { 4352 echo 4353 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4354 ## Running $as_me. ## 4355 _ASBOX 4356 $as_echo "$ac_log" 4357 } >&5 4358 4359 _ACEOF 4360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4361 _ACEOF 4362 4363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4364 4365 # Handling of arguments. 4366 for ac_config_target in $ac_config_targets 4367 do 4368 case $ac_config_target in 4369 "src/Makevars") CONFIG_FILES="$CONFIG_FILES src/Makevars" ;; 4370 4371 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4372 esac 4373 done 4374 4375 4376 # If the user did not use the arguments to specify the items to instantiate, 4377 # then the envvar interface is used. Set only those that are not. 4378 # We use the long form for the default assignment because of an extremely 4379 # bizarre bug on SunOS 4.1.3. 4380 if $ac_need_defaults; then 4381 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4382 fi 4383 4384 # Have a temporary directory for convenience. Make it in the build tree 4385 # simply because there is no reason against having it here, and in addition, 4386 # creating and moving files from /tmp can sometimes cause problems. 4387 # Hook for its removal unless debugging. 4388 # Note that there is a small window in which the directory will not be cleaned: 4389 # after its creation but before its name has been assigned to `$tmp'. 4390 $debug || 4391 { 4392 tmp= ac_tmp= 4393 trap 'exit_status=$? 4394 : "${ac_tmp:=$tmp}" 4395 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 4396 ' 0 4397 trap 'as_fn_exit 1' 1 2 13 15 4398 } 4399 # Create a (secure) tmp directory for tmp files. 4400 4401 { 4402 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4403 test -d "$tmp" 4404 } || 4405 { 4406 tmp=./conf$$-$RANDOM 4407 (umask 077 && mkdir "$tmp") 4408 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 4409 ac_tmp=$tmp 4410 4411 # Set up the scripts for CONFIG_FILES section. 4412 # No need to generate them if there are no CONFIG_FILES. 4413 # This happens for instance with `./config.status config.h'. 4414 if test -n "$CONFIG_FILES"; then 4415 4416 4417 ac_cr=`echo X | tr X '\015'` 4418 # On cygwin, bash can eat \r inside `` if the user requested igncr. 4419 # But we know of no other shell where ac_cr would be empty at this 4420 # point, so we can use a bashism as a fallback. 4421 if test "x$ac_cr" = x; then 4422 eval ac_cr=\$\'\\r\' 4423 fi 4424 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 4425 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 4426 ac_cs_awk_cr='\\r' 4427 else 4428 ac_cs_awk_cr=$ac_cr 4429 fi 4430 4431 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 4432 _ACEOF 4433 4434 4435 { 4436 echo "cat >conf$$subs.awk <<_ACEOF" && 4437 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4438 echo "_ACEOF" 4439 } >conf$$subs.sh || 4440 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4441 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 4442 ac_delim='%!_!# ' 4443 for ac_last_try in false false false false false :; do 4444 . ./conf$$subs.sh || 4445 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4446 4447 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 4448 if test $ac_delim_n = $ac_delim_num; then 4449 break 4450 elif $ac_last_try; then 4451 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4452 else 4453 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4454 fi 4455 done 4456 rm -f conf$$subs.sh 4457 4458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4459 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 4460 _ACEOF 4461 sed -n ' 4462 h 4463 s/^/S["/; s/!.*/"]=/ 4464 p 4465 g 4466 s/^[^!]*!// 4467 :repl 4468 t repl 4469 s/'"$ac_delim"'$// 4470 t delim 4471 :nl 4472 h 4473 s/\(.\{148\}\)..*/\1/ 4474 t more1 4475 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4476 p 4477 n 4478 b repl 4479 :more1 4480 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4481 p 4482 g 4483 s/.\{148\}// 4484 t nl 4485 :delim 4486 h 4487 s/\(.\{148\}\)..*/\1/ 4488 t more2 4489 s/["\\]/\\&/g; s/^/"/; s/$/"/ 4490 p 4491 b 4492 :more2 4493 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4494 p 4495 g 4496 s/.\{148\}// 4497 t delim 4498 ' <conf$$subs.awk | sed ' 4499 /^[^""]/{ 4500 N 4501 s/\n// 4502 } 4503 ' >>$CONFIG_STATUS || ac_write_fail=1 4504 rm -f conf$$subs.awk 4505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4506 _ACAWK 4507 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 4508 for (key in S) S_is_set[key] = 1 4509 FS = "" 4510 4511 } 4512 { 4513 line = $ 0 4514 nfields = split(line, field, "@") 4515 substed = 0 4516 len = length(field[1]) 4517 for (i = 2; i < nfields; i++) { 4518 key = field[i] 4519 keylen = length(key) 4520 if (S_is_set[key]) { 4521 value = S[key] 4522 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4523 len += length(value) + length(field[++i]) 4524 substed = 1 4525 } else 4526 len += 1 + keylen 4527 } 4528 4529 print line 4530 } 4531 4532 _ACAWK 4533 _ACEOF 4534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4535 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4536 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4537 else 4538 cat 4539 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 4540 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 4541 _ACEOF 4542 4543 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 4544 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 4545 # trailing colons and then remove the whole line if VPATH becomes empty 4546 # (actually we leave an empty line to preserve line numbers). 4547 if test "x$srcdir" = x.; then 4548 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 4549 h 4550 s/// 4551 s/^/:/ 4552 s/[ ]*$/:/ 4553 s/:\$(srcdir):/:/g 4554 s/:\${srcdir}:/:/g 4555 s/:@srcdir@:/:/g 4556 s/^:*// 4557 s/:*$// 4558 x 4559 s/\(=[ ]*\).*/\1/ 4560 G 4561 s/\n// 4562 s/^[^=]*=[ ]*$// 4563 }' 4564 fi 4565 4566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4567 fi # test -n "$CONFIG_FILES" 4568 4569 4570 eval set X " :F $CONFIG_FILES " 4571 shift 4572 for ac_tag 4573 do 4574 case $ac_tag in 4575 :[FHLC]) ac_mode=$ac_tag; continue;; 4576 esac 4577 case $ac_mode$ac_tag in 4578 :[FHL]*:*);; 4579 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 4580 :[FH]-) ac_tag=-:-;; 4581 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4582 esac 4583 ac_save_IFS=$IFS 4584 IFS=: 4585 set x $ac_tag 4586 IFS=$ac_save_IFS 4587 shift 4588 ac_file=$1 4589 shift 4590 4591 case $ac_mode in 4592 :L) ac_source=$1;; 4593 :[FH]) 4594 ac_file_inputs= 4595 for ac_f 4596 do 4597 case $ac_f in 4598 -) ac_f="$ac_tmp/stdin";; 4599 *) # Look for the file first in the build tree, then in the source tree 4600 # (if the path is not absolute). The absolute path cannot be DOS-style, 4601 # because $ac_f cannot contain `:'. 4602 test -f "$ac_f" || 4603 case $ac_f in 4604 [\\/$]*) false;; 4605 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4606 esac || 4607 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4608 esac 4609 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4610 as_fn_append ac_file_inputs " '$ac_f'" 4611 done 4612 4613 # Let's still pretend it is `configure' which instantiates (i.e., don't 4614 # use $as_me), people would be surprised to read: 4615 # /* config.h. Generated by config.status. */ 4616 configure_input='Generated from '` 4617 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4618 `' by configure.' 4619 if test x"$ac_file" != x-; then 4620 configure_input="$ac_file. $configure_input" 4621 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4622 $as_echo "$as_me: creating $ac_file" >&6;} 4623 fi 4624 # Neutralize special characters interpreted by sed in replacement strings. 4625 case $configure_input in #( 4626 *\&* | *\|* | *\\* ) 4627 ac_sed_conf_input=`$as_echo "$configure_input" | 4628 sed 's/[\\\\&|]/\\\\&/g'`;; #( 4629 *) ac_sed_conf_input=$configure_input;; 4630 esac 4631 4632 case $ac_tag in 4633 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 4634 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4635 esac 4636 ;; 4637 esac 4638 4639 ac_dir=`$as_dirname -- "$ac_file" || 4640 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4641 X"$ac_file" : 'X\(//\)[^/]' \| \ 4642 X"$ac_file" : 'X\(//\)$' \| \ 4643 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4644 $as_echo X"$ac_file" | 4645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4646 s//\1/ 4647 q 4648 } 4649 /^X\(\/\/\)[^/].*/{ 4650 s//\1/ 4651 q 4652 } 4653 /^X\(\/\/\)$/{ 4654 s//\1/ 4655 q 4656 } 4657 /^X\(\/\).*/{ 4658 s//\1/ 4659 q 4660 } 4661 s/.*/./; q'` 4662 as_dir="$ac_dir"; as_fn_mkdir_p 4981 4663 ac_builddir=. 4982 4664 … … 4984 4666 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4985 4667 *) 4986 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`4668 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 4987 4669 # A ".." for each directory in $ac_dir_suffix. 4988 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`4670 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4989 4671 case $ac_top_builddir_sub in 4990 4672 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 5022 4704 _ACEOF 5023 4705 5024 cat >>$CONFIG_STATUS <<\_ACEOF 4706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5025 4707 # If the template does not know about datarootdir, expand it. 5026 4708 # FIXME: This hack should be removed a few years after 2.60. 5027 4709 ac_datarootdir_hack=; ac_datarootdir_seen= 5028 5029 case `sed -n '/datarootdir/ {4710 ac_sed_dataroot=' 4711 /datarootdir/ { 5030 4712 p 5031 4713 q … … 5035 4717 /@infodir@/p 5036 4718 /@localedir@/p 5037 /@mandir@/p 5038 ' $ac_file_inputs` in4719 /@mandir@/p' 4720 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5039 4721 *datarootdir*) ac_datarootdir_seen=yes;; 5040 4722 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5041 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&55042 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}5043 _ACEOF 5044 cat >>$CONFIG_STATUS <<_ACEOF 4723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4724 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4725 _ACEOF 4726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5045 4727 ac_datarootdir_hack=' 5046 4728 s&@datadir@&$datadir&g … … 5049 4731 s&@localedir@&$localedir&g 5050 4732 s&@mandir@&$mandir&g 5051 4733 s&\\\${datarootdir}&$datarootdir&g' ;; 5052 4734 esac 5053 4735 _ACEOF … … 5056 4738 # Shell code in configure.ac might set extrasub. 5057 4739 # FIXME: do we really want to maintain this feature? 5058 cat >>$CONFIG_STATUS <<_ACEOF 5059 sed"$ac_vpsub4740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4741 ac_sed_extra="$ac_vpsub 5060 4742 $extrasub 5061 4743 _ACEOF 5062 cat >>$CONFIG_STATUS <<\_ACEOF 4744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5063 4745 :t 5064 4746 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5065 s &@configure_input@&$configure_input&;t t4747 s|@configure_input@|$ac_sed_conf_input|;t t 5066 4748 s&@top_builddir@&$ac_top_builddir_sub&;t t 4749 s&@top_build_prefix@&$ac_top_build_prefix&;t t 5067 4750 s&@srcdir@&$ac_srcdir&;t t 5068 4751 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 5073 4756 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5074 4757 $ac_datarootdir_hack 5075 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 4758 " 4759 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 4760 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5076 4761 5077 4762 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5078 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 5079 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 5080 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5081 which seems to be undefined. Please make sure it is defined." >&5 5082 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5083 which seems to be undefined. Please make sure it is defined." >&2;} 5084 5085 rm -f "$tmp/stdin" 4763 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 4764 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 4765 "$ac_tmp/out"`; test -z "$ac_out"; } && 4766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4767 which seems to be undefined. Please make sure it is defined" >&5 4768 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4769 which seems to be undefined. Please make sure it is defined" >&2;} 4770 4771 rm -f "$ac_tmp/stdin" 5086 4772 case $ac_file in 5087 -) cat "$tmp/out"; rm -f "$tmp/out";; 5088 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 4773 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 4774 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 4775 esac \ 4776 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4777 ;; 4778 4779 4780 5089 4781 esac 5090 ;;5091 5092 5093 5094 esac5095 4782 5096 4783 done # for ac_tag 5097 4784 5098 4785 5099 { (exit 0); exit 0; } 5100 _ACEOF 5101 chmod +x $CONFIG_STATUS 4786 as_fn_exit 0 4787 _ACEOF 5102 4788 ac_clean_files=$ac_clean_files_save 4789 4790 test $ac_write_fail = 0 || 4791 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 5103 4792 5104 4793 … … 5121 4810 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5122 4811 # would make configure fail if this is the last instruction. 5123 $ac_cs_success || { (exit 1); exit 1; } 5124 fi 5125 4812 $ac_cs_success || as_fn_exit 1 4813 fi 4814 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4816 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4817 fi 4818
Note: See TracChangeset
for help on using the changeset viewer.