Changeset 2780
- Timestamp:
- Feb 5, 2012 8:44:38 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/app-fermi/R/fermi.R
r2709 r2780 1 1 # ---------------------------------------------------------------------- 2 # EXAMPLE: Fermi-Dirac function in Tcl.2 # EXAMPLE: Fermi-Dirac function in R. 3 3 # 4 4 # This simple example shows how to use Rappture within a simulator 5 # written in Tcl.5 # written in R. 6 6 # ====================================================================== 7 7 # AUTHOR: Derrick Kearney, Purdue University … … 30 30 driver <- rp_lib(args[7]) 31 31 32 rp_utils_progress(10,"reading inputs") 33 32 34 T <- rp_lib_get_string(driver,"input.number(temperature).current") 33 35 T <- rp_units_convert_double(T,"K") 34 36 Ef <- rp_lib_get_string(driver,"input.number(Ef).current") 35 37 Ef <- rp_units_convert_double(Ef,"eV") 38 39 rp_utils_progress(30,"performing calculations") 36 40 37 41 kT <- 8.61734e-5 * T … … 41 45 dE <- 0.005*(Emax-Emin) 42 46 47 rp_utils_progress(60,"performing calculations") 48 43 49 y <- seq(Emin,Emax,by=dE) 44 50 x <- sapply(y,function(E) 1.0/(1.0 + exp((E - Ef)/kT))) 51 52 rp_utils_progress(80,"storing results") 45 53 46 54 # Label output graph with title, x-axis label, … … 51 59 rp_lib_put_string(driver,"output.curve(f12).yaxis.units","eV",FALSE) 52 60 61 rp_utils_progress(90,"storing results") 62 53 63 # coerce our arrays into a string of the form: 54 64 # "x1 y1 \n x2 y2 \n x3 y3\n"... … … 58 68 59 69 70 rp_utils_progress(100,"preparing graphs") 71 60 72 # save the updated XML describing the run... 61 73 rp_lib_result(driver) -
trunk/examples/lang/R/functions_examples.R
r2710 r2780 55 55 is.character(result) 56 56 result 57 58 percent = as.integer(56) 59 result = rp_utils_progress(percent,"almost done...") 60 is.integer(result) 61 result 62 63 result = rp_utils_progress(76,"almost done...") 64 is.integer(result) 65 result 66 67 result = rp_utils_progress(36.546,"almost done...") 68 is.integer(result) 69 result -
trunk/lang/R/Rappture/NAMESPACE
r2709 r2780 12 12 rp_lib_result, 13 13 rp_units_convert_double, 14 rp_units_convert_string ) 14 rp_units_convert_string, 15 rp_utils_progress ) 15 16 -
trunk/lang/R/Rappture/R/Rappture.R
r2709 r2780 49 49 } 50 50 51 rp_utils_progress <- function(percent,message) { 52 .Call("RPRUtilsProgress",percent,message) 53 } 54 51 55 .onLoad <- function(lib,pkg) { 52 56 } -
trunk/lang/R/Rappture/configure
r2709 r2780 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 8for Rappture 1.0.3 # Generated by GNU Autoconf 2.61 for Rappture 1.0. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 #8 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10 # Foundation, Inc. 11 # 12 # 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 13 9 # This configure script is free software; the Free Software Foundation 14 10 # gives unlimited permission to copy, distribute and modify it. 15 ## -------------------- ##16 ## M4sh Initialization. ##17 ## -------------------- ##11 ## --------------------- ## 12 ## M4sh Initialization. ## 13 ## --------------------- ## 18 14 19 15 # Be more Bourne compatible 20 16 DUALCASE=1; export DUALCASE # for MKS sh 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 22 18 emulate sh 23 19 NULLCMD=: 24 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 25 21 # is contrary to our usage. Disable this feature. 26 22 alias -g '${1+"$@"}'='"$@"' 27 23 setopt NO_GLOB_SUBST 28 24 else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34 esac 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 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 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 75 41 76 42 # The user is always right. 77 43 if test "${PATH_SEPARATOR+set}" != set; then 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 } 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 83 60 fi 84 61 … … 89 66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 90 67 # splitting by setting IFS to empty value.) 68 as_nl=' 69 ' 91 70 IFS=" "" $as_nl" 92 71 93 72 # Find who we are. Look in the path if we contain no directory separator. 94 as_myself= 95 case $0 in #(( 73 case $0 in 96 74 *[\\/]* ) as_myself=$0 ;; 97 75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 100 78 IFS=$as_save_IFS 101 79 test -z "$as_dir" && as_dir=. 102 103 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 81 done 104 82 IFS=$as_save_IFS 105 83 … … 112 90 fi 113 91 if test ! -f "$as_myself"; then 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 || : 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 125 99 done 126 100 PS1='$ ' … … 129 103 130 104 # NLS nuisances. 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 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 189 109 do 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 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111 eval $as_var=C; export $as_var 112 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 114 fi 208 115 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." 240 else 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242 $0: rappture@nanohub.org about your system, including 243 $0: any error possibly output before this message. Then 244 $0: install a modern shell, or manually run the script 245 $0: under such a shell if you do have one." 246 fi 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 116 117 # Required to use basename. 386 118 if expr a : '\(a\)' >/dev/null 2>&1 && 387 119 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 397 129 fi 398 130 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 131 132 # Name of the executable. 405 133 as_me=`$as_basename -- "$0" || 406 134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 407 135 X"$0" : 'X\(//\)$' \| \ 408 136 X"$0" : 'X\(/\)' \| . 2>/dev/null || 409 $as_echo X/"$0" |137 echo X/"$0" | 410 138 sed '/^.*\/\([^/][^/]*\)\/*$/{ 411 139 s//\1/ … … 422 150 s/.*/./; q'` 423 151 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. :-) 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. :-) 437 440 sed -n ' 438 441 p … … 451 454 ' >$as_me.lineno && 452 455 chmod +x "$as_me.lineno" || 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457 { (exit 1); exit 1; }; } 454 458 455 459 # Don't try to exec as it changes $[0], causing all sort of problems … … 461 465 } 462 466 467 468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 469 as_dirname=dirname 470 else 471 as_dirname=false 472 fi 473 463 474 ECHO_C= ECHO_N= ECHO_T= 464 case `echo -n x` in #(((((475 case `echo -n x` in 465 476 -n*) 466 case `echo 'x y\c'` in477 case `echo 'x\c'` in 467 478 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 479 *) ECHO_C='\c';; 471 480 esac;; 472 481 *) … … 474 483 esac 475 484 485 if expr a : '\(a\)' >/dev/null 2>&1 && 486 test "X`expr 00001 : '.*\(...\)'`" = X001; then 487 as_expr=expr 488 else 489 as_expr=false 490 fi 491 476 492 rm -f conf$$ conf$$.exe conf$$.file 477 493 if test -d conf$$.dir; then … … 479 495 else 480 496 rm -f conf$$.dir 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 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 || 495 507 as_ln_s='cp -p' 496 fi 508 elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 497 510 else 498 511 as_ln_s='cp -p' … … 502 515 503 516 if mkdir -p . 2>/dev/null; then 504 as_mkdir_p= 'mkdir -p "$as_dir"'517 as_mkdir_p=: 505 518 else 506 519 test -d ./-p && rmdir ./-p … … 519 532 eval sh -c '\'' 520 533 if test -d "$1"; then 521 534 test -d "$1/."; 522 535 else 523 case $1 in #(524 536 case $1 in 537 -*)set "./$1";; 525 538 esac; 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 527 540 ???[sx]*):;;*)false;;esac;fi 528 541 '\'' sh … … 538 551 539 552 540 test -n "$DJDIR" || exec 7<&0 </dev/null 541 exec 6>&1553 554 exec 7<&0 </dev/null 6>&1 542 555 543 556 # Name of the host. 544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 545 558 # so uname gets run too. 546 559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 557 570 MFLAGS= 558 571 MAKEFLAGS= 572 SHELL=${CONFIG_SHELL-/bin/sh} 559 573 560 574 # Identity of this package. … … 564 578 PACKAGE_STRING='Rappture 1.0' 565 579 PACKAGE_BUGREPORT='rappture@nanohub.org' 566 PACKAGE_URL=''567 580 568 581 # Factoring default headers for most tests. … … 602 615 #endif" 603 616 604 ac_subst_vars='LTLIBOBJS 617 ac_subst_vars='SHELL 618 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 605 665 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 653 PATH_SEPARATOR 654 SHELL' 666 LTLIBOBJS' 655 667 ac_subst_files='' 656 ac_user_opts='657 enable_option_checking658 with_rappture_include659 with_rappture_lib660 '661 668 ac_precious_vars='build_alias 662 669 host_alias … … 673 680 ac_init_help= 674 681 ac_init_version=false 675 ac_unrecognized_opts=676 ac_unrecognized_sep=677 682 # The variables have the same names as the options, with 678 683 # dashes changed to underlines. … … 730 735 731 736 case $ac_option in 732 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 733 *=) ac_optarg= ;; 734 *) ac_optarg=yes ;; 737 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 738 *) ac_optarg=yes ;; 735 739 esac 736 740 … … 774 778 775 779 -disable-* | --disable-*) 776 ac_ useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`780 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 777 781 # Reject names that are not valid shell variable names. 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 ;; 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 ;; 790 787 791 788 -docdir | --docdir | --docdi | --doc | --do) … … 800 797 801 798 -enable-* | --enable-*) 802 ac_ useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`799 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 803 800 # Reject names that are not valid shell variable names. 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 ;; 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 ;; 816 806 817 807 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1004 994 1005 995 -with-* | --with-*) 1006 ac_ useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`996 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1007 997 # Reject names that are not valid shell variable names. 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 ;; 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 ;; 1020 1003 1021 1004 -without-* | --without-*) 1022 ac_ useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`1005 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1023 1006 # Reject names that are not valid shell variable names. 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 ;; 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 ;; 1036 1012 1037 1013 --x) … … 1053 1029 x_libraries=$ac_optarg ;; 1054 1030 1055 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1056 Try \`$0 --help' for more information" 1031 -*) { echo "$as_me: error: unrecognized option: $ac_option 1032 Try \`$0 --help' for more information." >&2 1033 { (exit 1); exit 1; }; } 1057 1034 ;; 1058 1035 … … 1060 1037 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1061 1038 # Reject names that are not valid shell variable names. 1062 case $ac_envvar in #( 1063 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1064 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1065 esac 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; }; } 1066 1042 eval $ac_envvar=\$ac_optarg 1067 1043 export $ac_envvar ;; … … 1069 1045 *) 1070 1046 # FIXME: should be removed in autoconf 3.0. 1071 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&21047 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1072 1048 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1073 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&21074 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"1049 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1050 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1075 1051 ;; 1076 1052 … … 1080 1056 if test -n "$ac_prev"; then 1081 1057 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 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. 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. 1094 1063 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1095 1064 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1098 1067 do 1099 1068 eval ac_val=\$$ac_var 1100 # Remove trailing slashes.1101 case $ac_val in1102 */ )1103 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`1104 eval $ac_var=\$ac_val;;1105 esac1106 # Be sure to have absolute directory names.1107 1069 case $ac_val in 1108 1070 [\\/$]* | ?:[\\/]* ) continue;; 1109 1071 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1110 1072 esac 1111 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1073 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1074 { (exit 1); exit 1; }; } 1112 1075 done 1113 1076 … … 1123 1086 if test "x$build_alias" = x; then 1124 1087 cross_compiling=maybe 1125 $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 " >&21088 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." >&2 1127 1090 elif test "x$build_alias" != "x$host_alias"; then 1128 1091 cross_compiling=yes … … 1139 1102 ac_ls_di=`ls -di .` && 1140 1103 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1141 as_fn_error $? "working directory cannot be determined" 1104 { echo "$as_me: error: Working directory cannot be determined" >&2 1105 { (exit 1); exit 1; }; } 1142 1106 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1143 as_fn_error $? "pwd does not report name of working directory" 1107 { echo "$as_me: error: pwd does not report name of working directory" >&2 1108 { (exit 1); exit 1; }; } 1144 1109 1145 1110 … … 1148 1113 ac_srcdir_defaulted=yes 1149 1114 # Try the directory containing this script, then the parent directory. 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" |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" | 1156 1121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1157 1122 s//\1/ … … 1180 1145 if test ! -r "$srcdir/$ac_unique_file"; then 1181 1146 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1182 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1147 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1148 { (exit 1); exit 1; }; } 1183 1149 fi 1184 1150 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1185 1151 ac_abs_confdir=`( 1186 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1152 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1153 { (exit 1); exit 1; }; } 1187 1154 pwd)` 1188 1155 # When building in place, set srcdir=. … … 1224 1191 --help=recursive display the short help of all the included packages 1225 1192 -V, --version display version information and exit 1226 -q, --quiet, --silent do not print \`checking 1193 -q, --quiet, --silent do not print \`checking...' messages 1227 1194 --cache-file=FILE cache test results in FILE [disabled] 1228 1195 -C, --config-cache alias for \`--cache-file=config.cache' … … 1232 1199 Installation directories: 1233 1200 --prefix=PREFIX install architecture-independent files in PREFIX 1234 1201 [$ac_default_prefix] 1235 1202 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1236 1203 [PREFIX] 1237 1204 1238 1205 By default, \`make install' will install all the files in … … 1244 1211 1245 1212 Fine tuning of the installation directories: 1246 --bindir=DIR 1247 --sbindir=DIR 1248 --libexecdir=DIR 1249 --sysconfdir=DIR 1250 --sharedstatedir=DIR 1251 --localstatedir=DIR 1252 --libdir=DIR 1253 --includedir=DIR 1254 --oldincludedir=DIR 1255 --datarootdir=DIR 1256 --datadir=DIR 1257 --infodir=DIR 1258 --localedir=DIR 1259 --mandir=DIR 1260 --docdir=DIR 1261 --htmldir=DIR 1262 --dvidir=DIR 1263 --pdfdir=DIR 1264 --psdir=DIR 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] 1265 1232 _ACEOF 1266 1233 … … 1289 1256 nonstandard directory <lib dir> 1290 1257 LIBS libraries to pass to the linker, e.g. -l<library> 1291 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1258 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1292 1259 you have headers in a nonstandard directory <include dir> 1293 1260 CPP C preprocessor … … 1304 1271 # If there are subdirs, report their specific --help. 1305 1272 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1306 test -d "$ac_dir" || 1307 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1308 continue 1273 test -d "$ac_dir" || continue 1309 1274 ac_builddir=. 1310 1275 … … 1312 1277 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1313 1278 *) 1314 ac_dir_suffix=/` $as_echo "$ac_dir" | sed 's|^\.[\\/]||'`1279 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1315 1280 # A ".." for each directory in $ac_dir_suffix. 1316 ac_top_builddir_sub=` $as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`1281 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1317 1282 case $ac_top_builddir_sub in 1318 1283 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1350 1315 $SHELL "$ac_srcdir/configure" --help=recursive 1351 1316 else 1352 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21317 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1353 1318 fi || ac_status=$? 1354 1319 cd "$ac_pwd" || { ac_status=$?; break; } … … 1360 1325 cat <<\_ACEOF 1361 1326 Rappture configure 1.0 1362 generated by GNU Autoconf 2.68 1363 1364 Copyright (C) 2010 Free Software Foundation, Inc. 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. 1365 1331 This configure script is free software; the Free Software Foundation 1366 1332 gives unlimited permission to copy, distribute and modify it. … … 1368 1334 exit 1369 1335 fi 1370 1371 ## ------------------------ ##1372 ## Autoconf initialization. ##1373 ## ------------------------ ##1374 1375 # ac_fn_c_try_compile LINENO1376 # --------------------------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_stack1381 rm -f conftest.$ac_objext1382 if { { ac_try="$ac_compile"1383 case "(($ac_try" in1384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1385 *) ac_try_echo=$ac_try;;1386 esac1387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1388 $as_echo "$ac_try_echo"; } >&51389 (eval "$ac_compile") 2>conftest.err1390 ac_status=$?1391 if test -s conftest.err; then1392 grep -v '^ *+' conftest.err >conftest.er11393 cat conftest.er1 >&51394 mv -f conftest.er1 conftest.err1395 fi1396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51397 test $ac_status = 0; } && {1398 test -z "$ac_c_werror_flag" ||1399 test ! -s conftest.err1400 } && test -s conftest.$ac_objext; then :1401 ac_retval=01402 else1403 $as_echo "$as_me: failed program was:" >&51404 sed 's/^/| /' conftest.$ac_ext >&51405 1406 ac_retval=11407 fi1408 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1409 as_fn_set_status $ac_retval1410 1411 } # ac_fn_c_try_compile1412 1413 # ac_fn_c_try_cpp LINENO1414 # ----------------------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_stack1419 if { { ac_try="$ac_cpp conftest.$ac_ext"1420 case "(($ac_try" in1421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1422 *) ac_try_echo=$ac_try;;1423 esac1424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1425 $as_echo "$ac_try_echo"; } >&51426 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1427 ac_status=$?1428 if test -s conftest.err; then1429 grep -v '^ *+' conftest.err >conftest.er11430 cat conftest.er1 >&51431 mv -f conftest.er1 conftest.err1432 fi1433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51434 test $ac_status = 0; } > conftest.i && {1435 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1436 test ! -s conftest.err1437 }; then :1438 ac_retval=01439 else1440 $as_echo "$as_me: failed program was:" >&51441 sed 's/^/| /' conftest.$ac_ext >&51442 1443 ac_retval=11444 fi1445 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1446 as_fn_set_status $ac_retval1447 1448 } # ac_fn_c_try_cpp1449 1450 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES1451 # -------------------------------------------------------1452 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1453 # the include files in INCLUDES and setting the cache variable VAR1454 # accordingly.1455 ac_fn_c_check_header_mongrel ()1456 {1457 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1458 if eval \${$3+:} false; then :1459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51460 $as_echo_n "checking for $2... " >&6; }1461 if eval \${$3+:} false; then :1462 $as_echo_n "(cached) " >&61463 fi1464 eval ac_res=\$$31465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51466 $as_echo "$ac_res" >&6; }1467 else1468 # Is the header compilable?1469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51470 $as_echo_n "checking $2 usability... " >&6; }1471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1472 /* end confdefs.h. */1473 $41474 #include <$2>1475 _ACEOF1476 if ac_fn_c_try_compile "$LINENO"; then :1477 ac_header_compiler=yes1478 else1479 ac_header_compiler=no1480 fi1481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51483 $as_echo "$ac_header_compiler" >&6; }1484 1485 # Is the header present?1486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51487 $as_echo_n "checking $2 presence... " >&6; }1488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1489 /* end confdefs.h. */1490 #include <$2>1491 _ACEOF1492 if ac_fn_c_try_cpp "$LINENO"; then :1493 ac_header_preproc=yes1494 else1495 ac_header_preproc=no1496 fi1497 rm -f conftest.err conftest.i conftest.$ac_ext1498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&51499 $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!" >&51505 $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" >&51507 $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" >&51511 $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?" >&51513 $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" >&51515 $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\"" >&51517 $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" >&51519 $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: /" >&21524 ;;1525 esac1526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51527 $as_echo_n "checking for $2... " >&6; }1528 if eval \${$3+:} false; then :1529 $as_echo_n "(cached) " >&61530 else1531 eval "$3=\$ac_header_compiler"1532 fi1533 eval ac_res=\$$31534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51535 $as_echo "$ac_res" >&6; }1536 fi1537 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1538 1539 } # ac_fn_c_check_header_mongrel1540 1541 # ac_fn_c_try_run LINENO1542 # ----------------------1543 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1544 # 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_stack1548 if { { ac_try="$ac_link"1549 case "(($ac_try" in1550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1551 *) ac_try_echo=$ac_try;;1552 esac1553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1554 $as_echo "$ac_try_echo"; } >&51555 (eval "$ac_link") 2>&51556 ac_status=$?1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51558 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1559 { { case "(($ac_try" in1560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1561 *) ac_try_echo=$ac_try;;1562 esac1563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1564 $as_echo "$ac_try_echo"; } >&51565 (eval "$ac_try") 2>&51566 ac_status=$?1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51568 test $ac_status = 0; }; }; then :1569 ac_retval=01570 else1571 $as_echo "$as_me: program exited with status $ac_status" >&51572 $as_echo "$as_me: failed program was:" >&51573 sed 's/^/| /' conftest.$ac_ext >&51574 1575 ac_retval=$ac_status1576 fi1577 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1578 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1579 as_fn_set_status $ac_retval1580 1581 } # ac_fn_c_try_run1582 1583 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1584 # -------------------------------------------------------1585 # Tests whether HEADER exists and can be compiled using the include files in1586 # 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_stack1590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51591 $as_echo_n "checking for $2... " >&6; }1592 if eval \${$3+:} false; then :1593 $as_echo_n "(cached) " >&61594 else1595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1596 /* end confdefs.h. */1597 $41598 #include <$2>1599 _ACEOF1600 if ac_fn_c_try_compile "$LINENO"; then :1601 eval "$3=yes"1602 else1603 eval "$3=no"1604 fi1605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1606 fi1607 eval ac_res=\$$31608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51609 $as_echo "$ac_res" >&6; }1610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1611 1612 } # ac_fn_c_check_header_compile1613 1614 # ac_fn_c_try_link LINENO1615 # -----------------------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_stack1620 rm -f conftest.$ac_objext conftest$ac_exeext1621 if { { ac_try="$ac_link"1622 case "(($ac_try" in1623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1624 *) ac_try_echo=$ac_try;;1625 esac1626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1627 $as_echo "$ac_try_echo"; } >&51628 (eval "$ac_link") 2>conftest.err1629 ac_status=$?1630 if test -s conftest.err; then1631 grep -v '^ *+' conftest.err >conftest.er11632 cat conftest.er1 >&51633 mv -f conftest.er1 conftest.err1634 fi1635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51636 test $ac_status = 0; } && {1637 test -z "$ac_c_werror_flag" ||1638 test ! -s conftest.err1639 } && test -s conftest$ac_exeext && {1640 test "$cross_compiling" = yes ||1641 $as_test_x conftest$ac_exeext1642 }; then :1643 ac_retval=01644 else1645 $as_echo "$as_me: failed program was:" >&51646 sed 's/^/| /' conftest.$ac_ext >&51647 1648 ac_retval=11649 fi1650 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1651 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1652 # interfere with the next link command; also delete a directory that is1653 # left behind by Apple's compiler. We do this before executing the actions.1654 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1656 as_fn_set_status $ac_retval1657 1658 } # ac_fn_c_try_link1659 1660 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES1661 # --------------------------------------------1662 # Tries to find the compile-time value of EXPR in a program that includes1663 # INCLUDES, setting VAR accordingly. Returns whether the value could be1664 # computed1665 ac_fn_c_compute_int ()1666 {1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1668 if test "$cross_compiling" = yes; then1669 # Depending upon the size, compute the lo and hi bounds.1670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1671 /* end confdefs.h. */1672 $41673 int1674 main ()1675 {1676 static int test_array [1 - 2 * !(($2) >= 0)];1677 test_array [0] = 01678 1679 ;1680 return 0;1681 }1682 _ACEOF1683 if ac_fn_c_try_compile "$LINENO"; then :1684 ac_lo=0 ac_mid=01685 while :; do1686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1687 /* end confdefs.h. */1688 $41689 int1690 main ()1691 {1692 static int test_array [1 - 2 * !(($2) <= $ac_mid)];1693 test_array [0] = 01694 1695 ;1696 return 0;1697 }1698 _ACEOF1699 if ac_fn_c_try_compile "$LINENO"; then :1700 ac_hi=$ac_mid; break1701 else1702 as_fn_arith $ac_mid + 1 && ac_lo=$as_val1703 if test $ac_lo -le $ac_mid; then1704 ac_lo= ac_hi=1705 break1706 fi1707 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val1708 fi1709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1710 done1711 else1712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1713 /* end confdefs.h. */1714 $41715 int1716 main ()1717 {1718 static int test_array [1 - 2 * !(($2) < 0)];1719 test_array [0] = 01720 1721 ;1722 return 0;1723 }1724 _ACEOF1725 if ac_fn_c_try_compile "$LINENO"; then :1726 ac_hi=-1 ac_mid=-11727 while :; do1728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1729 /* end confdefs.h. */1730 $41731 int1732 main ()1733 {1734 static int test_array [1 - 2 * !(($2) >= $ac_mid)];1735 test_array [0] = 01736 1737 ;1738 return 0;1739 }1740 _ACEOF1741 if ac_fn_c_try_compile "$LINENO"; then :1742 ac_lo=$ac_mid; break1743 else1744 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val1745 if test $ac_mid -le $ac_hi; then1746 ac_lo= ac_hi=1747 break1748 fi1749 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val1750 fi1751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1752 done1753 else1754 ac_lo= ac_hi=1755 fi1756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1757 fi1758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1759 # Binary search between lo and hi bounds.1760 while test "x$ac_lo" != "x$ac_hi"; do1761 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1763 /* end confdefs.h. */1764 $41765 int1766 main ()1767 {1768 static int test_array [1 - 2 * !(($2) <= $ac_mid)];1769 test_array [0] = 01770 1771 ;1772 return 0;1773 }1774 _ACEOF1775 if ac_fn_c_try_compile "$LINENO"; then :1776 ac_hi=$ac_mid1777 else1778 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val1779 fi1780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1781 done1782 case $ac_lo in #((1783 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;1784 '') ac_retval=1 ;;1785 esac1786 else1787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1788 /* end confdefs.h. */1789 $41790 static long int longval () { return $2; }1791 static unsigned long int ulongval () { return $2; }1792 #include <stdio.h>1793 #include <stdlib.h>1794 int1795 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 else1809 {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 confusion1816 on some platforms. */1817 return ferror (f) || fclose (f) != 0;1818 1819 ;1820 return 0;1821 }1822 _ACEOF1823 if ac_fn_c_try_run "$LINENO"; then :1824 echo >>conftest.val; read $3 <conftest.val; ac_retval=01825 else1826 ac_retval=11827 fi1828 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \1829 conftest.$ac_objext conftest.beam conftest.$ac_ext1830 rm -f conftest.val1831 1832 fi1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1834 as_fn_set_status $ac_retval1835 1836 } # ac_fn_c_compute_int1837 1336 cat >config.log <<_ACEOF 1838 1337 This file contains any messages produced by compilers while … … 1840 1339 1841 1340 It was created by Rappture $as_me 1.0, which was 1842 generated by GNU Autoconf 2.6 8. Invocation command line was1341 generated by GNU Autoconf 2.61. Invocation command line was 1843 1342 1844 1343 $ $0 $@ … … 1876 1375 IFS=$as_save_IFS 1877 1376 test -z "$as_dir" && as_dir=. 1878 $as_echo "PATH: $as_dir"1879 1377 echo "PATH: $as_dir" 1378 done 1880 1379 IFS=$as_save_IFS 1881 1380 … … 1911 1410 continue ;; 1912 1411 *\'*) 1913 ac_arg=` $as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1412 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1914 1413 esac 1915 1414 case $ac_pass in 1916 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1415 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1917 1416 2) 1918 a s_fn_append ac_configure_args1 "'$ac_arg'"1417 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1919 1418 if test $ac_must_keep_next = true; then 1920 1419 ac_must_keep_next=false # Got value, back to normal. … … 1932 1431 esac 1933 1432 fi 1934 a s_fn_append ac_configure_args "'$ac_arg'"1433 ac_configure_args="$ac_configure_args '$ac_arg'" 1935 1434 ;; 1936 1435 esac 1937 1436 done 1938 1437 done 1939 { ac_configure_args0=; unset ac_configure_args0;}1940 { ac_configure_args1=; unset ac_configure_args1;}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; } 1941 1440 1942 1441 # When interrupted or exit'd, cleanup temporary files, and complete … … 1950 1449 echo 1951 1450 1952 $as_echo "## ---------------- ## 1451 cat <<\_ASBOX 1452 ## ---------------- ## 1953 1453 ## Cache variables. ## 1954 ## ---------------- ##" 1454 ## ---------------- ## 1455 _ASBOX 1955 1456 echo 1956 1457 # The following way of writing the cache mishandles newlines in values, … … 1961 1462 *${as_nl}*) 1962 1463 case $ac_var in #( 1963 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&51964 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;1464 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1465 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1965 1466 esac 1966 1467 case $ac_var in #( 1967 1468 _ | IFS | as_nl) ;; #( 1968 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1969 *) { eval $ac_var=; unset $ac_var;} ;; 1469 *) $as_unset $ac_var ;; 1970 1470 esac ;; 1971 1471 esac … … 1986 1486 echo 1987 1487 1988 $as_echo "## ----------------- ## 1488 cat <<\_ASBOX 1489 ## ----------------- ## 1989 1490 ## Output variables. ## 1990 ## ----------------- ##" 1491 ## ----------------- ## 1492 _ASBOX 1991 1493 echo 1992 1494 for ac_var in $ac_subst_vars … … 1994 1496 eval ac_val=\$$ac_var 1995 1497 case $ac_val in 1996 *\'\''*) ac_val=` $as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1498 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1997 1499 esac 1998 $as_echo "$ac_var='\''$ac_val'\''"1500 echo "$ac_var='\''$ac_val'\''" 1999 1501 done | sort 2000 1502 echo 2001 1503 2002 1504 if test -n "$ac_subst_files"; then 2003 $as_echo "## ------------------- ## 1505 cat <<\_ASBOX 1506 ## ------------------- ## 2004 1507 ## File substitutions. ## 2005 ## ------------------- ##" 1508 ## ------------------- ## 1509 _ASBOX 2006 1510 echo 2007 1511 for ac_var in $ac_subst_files … … 2009 1513 eval ac_val=\$$ac_var 2010 1514 case $ac_val in 2011 *\'\''*) ac_val=` $as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1515 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2012 1516 esac 2013 $as_echo "$ac_var='\''$ac_val'\''"1517 echo "$ac_var='\''$ac_val'\''" 2014 1518 done | sort 2015 1519 echo … … 2017 1521 2018 1522 if test -s confdefs.h; then 2019 $as_echo "## ----------- ## 1523 cat <<\_ASBOX 1524 ## ----------- ## 2020 1525 ## confdefs.h. ## 2021 ## ----------- ##" 1526 ## ----------- ## 1527 _ASBOX 2022 1528 echo 2023 1529 cat confdefs.h … … 2025 1531 fi 2026 1532 test "$ac_signal" != 0 && 2027 $as_echo "$as_me: caught signal $ac_signal"2028 $as_echo "$as_me: exit $exit_status"1533 echo "$as_me: caught signal $ac_signal" 1534 echo "$as_me: exit $exit_status" 2029 1535 } >&5 2030 1536 rm -f core *.core core.conftest.* && … … 2033 1539 ' 0 2034 1540 for ac_signal in 1 2 13 15; do 2035 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1541 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2036 1542 done 2037 1543 ac_signal=0 … … 2040 1546 rm -f -r conftest* confdefs.h 2041 1547 2042 $as_echo "/* confdefs.h */" > confdefs.h2043 2044 1548 # Predefined preprocessor variables. 2045 1549 … … 2048 1552 _ACEOF 2049 1553 1554 2050 1555 cat >>confdefs.h <<_ACEOF 2051 1556 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2052 1557 _ACEOF 2053 1558 1559 2054 1560 cat >>confdefs.h <<_ACEOF 2055 1561 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2056 1562 _ACEOF 2057 1563 1564 2058 1565 cat >>confdefs.h <<_ACEOF 2059 1566 #define PACKAGE_STRING "$PACKAGE_STRING" 2060 1567 _ACEOF 2061 1568 1569 2062 1570 cat >>confdefs.h <<_ACEOF 2063 1571 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2064 1572 _ACEOF 2065 1573 2066 cat >>confdefs.h <<_ACEOF2067 #define PACKAGE_URL "$PACKAGE_URL"2068 _ACEOF2069 2070 1574 2071 1575 # Let the site file select an alternate cache file if it wants to. 2072 # Prefer an explicitly selected file to automatically selected ones. 2073 ac_site_file1=NONE 2074 ac_site_file2=NONE 1576 # Prefer explicitly selected file to automatically selected ones. 2075 1577 if test -n "$CONFIG_SITE"; then 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 1578 set x "$CONFIG_SITE" 2082 1579 elif test "x$prefix" != xNONE; then 2083 ac_site_file1=$prefix/share/config.site2084 ac_site_file2=$prefix/etc/config.site2085 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"1580 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1581 else 1582 set x "$ac_default_prefix/share/config.site" \ 1583 "$ac_default_prefix/etc/config.site" 1584 fi 1585 shift 1586 for ac_site_file 2090 1587 do 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;} 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;} 2095 1591 sed 's/^/| /' "$ac_site_file" >&5 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; } 1592 . "$ac_site_file" 2101 1593 fi 2102 1594 done 2103 1595 2104 1596 if test -r "$cache_file"; then 2105 # Some versions of bash will fail to source /dev/null (special files2106 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2107 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2108 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&52109 $as_echo "$as_me: loading cache $cache_file" >&6;}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"; then 1600 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1601 echo "$as_me: loading cache $cache_file" >&6;} 2110 1602 case $cache_file in 2111 1603 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 2114 1606 fi 2115 1607 else 2116 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&52117 $as_echo "$as_me: creating cache $cache_file" >&6;}1608 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1609 echo "$as_me: creating cache $cache_file" >&6;} 2118 1610 >$cache_file 2119 1611 fi … … 2129 1621 case $ac_old_set,$ac_new_set in 2130 1622 set,) 2131 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52132 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1623 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1624 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2133 1625 ac_cache_corrupted=: ;; 2134 1626 ,set) 2135 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&52136 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1627 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1628 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2137 1629 ac_cache_corrupted=: ;; 2138 1630 ,);; 2139 1631 *) 2140 1632 if test "x$ac_old_val" != "x$ac_new_val"; then 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;} 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=: 2157 1640 fi;; 2158 1641 esac … … 2160 1643 if test "$ac_new_set" = set; then 2161 1644 case $ac_new_val in 2162 *\'*) ac_arg=$ac_var=` $as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;1645 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2163 1646 *) ac_arg=$ac_var=$ac_new_val ;; 2164 1647 esac 2165 1648 case " $ac_configure_args " in 2166 1649 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2167 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1650 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2168 1651 esac 2169 1652 fi 2170 1653 done 2171 1654 if $ac_cache_corrupted; then 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 ## -------------------- ## 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 2181 1685 2182 1686 ac_ext=c … … 2190 1694 2191 1695 # Check whether --with-rappture-include was given. 2192 if test "${with_rappture_include+set}" = set; then :1696 if test "${with_rappture_include+set}" = set; then 2193 1697 withval=$with_rappture_include; rappture_include_path=$withval 2194 1698 fi … … 2205 1709 2206 1710 # Check whether --with-rappture-lib was given. 2207 if test "${with_rappture_lib+set}" = set; then :1711 if test "${with_rappture_lib+set}" = set; then 2208 1712 withval=$with_rappture_lib; rappture_lib_path=$withval 2209 1713 fi … … 2237 1741 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2238 1742 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52240 $as_echo_n "checking for $ac_word..." >&6; }2241 if ${ac_cv_prog_CC+:} false; then :2242 $as_echo_n "(cached)" >&61743 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1745 if test "${ac_cv_prog_CC+set}" = set; then 1746 echo $ECHO_N "(cached) $ECHO_C" >&6 2243 1747 else 2244 1748 if test -n "$CC"; then … … 2250 1754 IFS=$as_save_IFS 2251 1755 test -z "$as_dir" && as_dir=. 2252 1756 for ac_exec_ext in '' $ac_executable_extensions; do 2253 1757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2254 1758 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2256 1760 break 2 2257 1761 fi 2258 1762 done 2259 1763 done 2260 1764 IFS=$as_save_IFS 2261 1765 … … 2264 1768 CC=$ac_cv_prog_CC 2265 1769 if test -n "$CC"; then 2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52267 $as_echo "$CC" >&6; }2268 else 2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52270 $as_echo "no" >&6; }1770 { echo "$as_me:$LINENO: result: $CC" >&5 1771 echo "${ECHO_T}$CC" >&6; } 1772 else 1773 { echo "$as_me:$LINENO: result: no" >&5 1774 echo "${ECHO_T}no" >&6; } 2271 1775 fi 2272 1776 … … 2277 1781 # Extract the first word of "gcc", so it can be a program name with args. 2278 1782 set dummy gcc; ac_word=$2 2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52280 $as_echo_n "checking for $ac_word..." >&6; }2281 if ${ac_cv_prog_ac_ct_CC+:} false; then :2282 $as_echo_n "(cached)" >&61783 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1786 echo $ECHO_N "(cached) $ECHO_C" >&6 2283 1787 else 2284 1788 if test -n "$ac_ct_CC"; then … … 2290 1794 IFS=$as_save_IFS 2291 1795 test -z "$as_dir" && as_dir=. 2292 1796 for ac_exec_ext in '' $ac_executable_extensions; do 2293 1797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2294 1798 ac_cv_prog_ac_ct_CC="gcc" 2295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2296 1800 break 2 2297 1801 fi 2298 1802 done 2299 1803 done 2300 1804 IFS=$as_save_IFS 2301 1805 … … 2304 1808 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2305 1809 if test -n "$ac_ct_CC"; then 2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&52307 $as_echo "$ac_ct_CC" >&6; }2308 else 2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52310 $as_echo "no" >&6; }1810 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1811 echo "${ECHO_T}$ac_ct_CC" >&6; } 1812 else 1813 { echo "$as_me:$LINENO: result: no" >&5 1814 echo "${ECHO_T}no" >&6; } 2311 1815 fi 2312 1816 … … 2316 1820 case $cross_compiling:$ac_tool_warned in 2317 1821 yes:) 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;} 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;} 2320 1828 ac_tool_warned=yes ;; 2321 1829 esac … … 2330 1838 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2331 1839 set dummy ${ac_tool_prefix}cc; ac_word=$2 2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52333 $as_echo_n "checking for $ac_word..." >&6; }2334 if ${ac_cv_prog_CC+:} false; then :2335 $as_echo_n "(cached)" >&61840 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1842 if test "${ac_cv_prog_CC+set}" = set; then 1843 echo $ECHO_N "(cached) $ECHO_C" >&6 2336 1844 else 2337 1845 if test -n "$CC"; then … … 2343 1851 IFS=$as_save_IFS 2344 1852 test -z "$as_dir" && as_dir=. 2345 1853 for ac_exec_ext in '' $ac_executable_extensions; do 2346 1854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2347 1855 ac_cv_prog_CC="${ac_tool_prefix}cc" 2348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2349 1857 break 2 2350 1858 fi 2351 1859 done 2352 1860 done 2353 1861 IFS=$as_save_IFS 2354 1862 … … 2357 1865 CC=$ac_cv_prog_CC 2358 1866 if test -n "$CC"; then 2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52360 $as_echo "$CC" >&6; }2361 else 2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52363 $as_echo "no" >&6; }1867 { echo "$as_me:$LINENO: result: $CC" >&5 1868 echo "${ECHO_T}$CC" >&6; } 1869 else 1870 { echo "$as_me:$LINENO: result: no" >&5 1871 echo "${ECHO_T}no" >&6; } 2364 1872 fi 2365 1873 … … 2370 1878 # Extract the first word of "cc", so it can be a program name with args. 2371 1879 set dummy cc; ac_word=$2 2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52373 $as_echo_n "checking for $ac_word..." >&6; }2374 if ${ac_cv_prog_CC+:} false; then :2375 $as_echo_n "(cached)" >&61880 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1882 if test "${ac_cv_prog_CC+set}" = set; then 1883 echo $ECHO_N "(cached) $ECHO_C" >&6 2376 1884 else 2377 1885 if test -n "$CC"; then … … 2384 1892 IFS=$as_save_IFS 2385 1893 test -z "$as_dir" && as_dir=. 2386 1894 for ac_exec_ext in '' $ac_executable_extensions; do 2387 1895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2388 1896 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2391 1899 fi 2392 1900 ac_cv_prog_CC="cc" 2393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2394 1902 break 2 2395 1903 fi 2396 1904 done 2397 1905 done 2398 1906 IFS=$as_save_IFS 2399 1907 … … 2414 1922 CC=$ac_cv_prog_CC 2415 1923 if test -n "$CC"; then 2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52417 $as_echo "$CC" >&6; }2418 else 2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52420 $as_echo "no" >&6; }1924 { echo "$as_me:$LINENO: result: $CC" >&5 1925 echo "${ECHO_T}$CC" >&6; } 1926 else 1927 { echo "$as_me:$LINENO: result: no" >&5 1928 echo "${ECHO_T}no" >&6; } 2421 1929 fi 2422 1930 … … 2429 1937 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2430 1938 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52432 $as_echo_n "checking for $ac_word..." >&6; }2433 if ${ac_cv_prog_CC+:} false; then :2434 $as_echo_n "(cached)" >&61939 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1941 if test "${ac_cv_prog_CC+set}" = set; then 1942 echo $ECHO_N "(cached) $ECHO_C" >&6 2435 1943 else 2436 1944 if test -n "$CC"; then … … 2442 1950 IFS=$as_save_IFS 2443 1951 test -z "$as_dir" && as_dir=. 2444 1952 for ac_exec_ext in '' $ac_executable_extensions; do 2445 1953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2446 1954 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2448 1956 break 2 2449 1957 fi 2450 1958 done 2451 1959 done 2452 1960 IFS=$as_save_IFS 2453 1961 … … 2456 1964 CC=$ac_cv_prog_CC 2457 1965 if test -n "$CC"; then 2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52459 $as_echo "$CC" >&6; }2460 else 2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52462 $as_echo "no" >&6; }1966 { echo "$as_me:$LINENO: result: $CC" >&5 1967 echo "${ECHO_T}$CC" >&6; } 1968 else 1969 { echo "$as_me:$LINENO: result: no" >&5 1970 echo "${ECHO_T}no" >&6; } 2463 1971 fi 2464 1972 … … 2473 1981 # Extract the first word of "$ac_prog", so it can be a program name with args. 2474 1982 set dummy $ac_prog; ac_word=$2 2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52476 $as_echo_n "checking for $ac_word..." >&6; }2477 if ${ac_cv_prog_ac_ct_CC+:} false; then :2478 $as_echo_n "(cached)" >&61983 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1985 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1986 echo $ECHO_N "(cached) $ECHO_C" >&6 2479 1987 else 2480 1988 if test -n "$ac_ct_CC"; then … … 2486 1994 IFS=$as_save_IFS 2487 1995 test -z "$as_dir" && as_dir=. 2488 1996 for ac_exec_ext in '' $ac_executable_extensions; do 2489 1997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2490 1998 ac_cv_prog_ac_ct_CC="$ac_prog" 2491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2492 2000 break 2 2493 2001 fi 2494 2002 done 2495 2003 done 2496 2004 IFS=$as_save_IFS 2497 2005 … … 2500 2008 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2501 2009 if test -n "$ac_ct_CC"; then 2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&52503 $as_echo "$ac_ct_CC" >&6; }2504 else 2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52506 $as_echo "no" >&6; }2010 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2011 echo "${ECHO_T}$ac_ct_CC" >&6; } 2012 else 2013 { echo "$as_me:$LINENO: result: no" >&5 2014 echo "${ECHO_T}no" >&6; } 2507 2015 fi 2508 2016 … … 2516 2024 case $cross_compiling:$ac_tool_warned in 2517 2025 yes:) 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;} 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;} 2520 2032 ac_tool_warned=yes ;; 2521 2033 esac … … 2527 2039 2528 2040 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; } 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; }; } 2533 2046 2534 2047 # Provide some information about the compiler. 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" 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" 2540 2051 case "(($ac_try" in 2541 2052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2542 2053 *) ac_try_echo=$ac_try;; 2543 2054 esac 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 2055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2056 (eval "$ac_compiler --version >&5") 2>&5 2547 2057 ac_status=$? 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 2058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2059 (exit $ac_status); } 2060 { (ac_try="$ac_compiler -v >&5" 2061 case "(($ac_try" in 2062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2063 *) ac_try_echo=$ac_try;; 2064 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 2560 2086 /* end confdefs.h. */ 2561 2087 … … 2569 2095 _ACEOF 2570 2096 ac_clean_files_save=$ac_clean_files 2571 ac_clean_files="$ac_clean_files a.out a. out.dSYM a.exe b.out"2097 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2572 2098 # Try to create an executable without -o first, disregard a.out. 2573 2099 # It will help us diagnose broken compilers, and finding out an intuition 2574 2100 # 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 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. 2582 2113 ac_rmfiles= 2583 2114 for ac_file in $ac_files 2584 2115 do 2585 2116 case $ac_file in 2586 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj ) ;;2117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2587 2118 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2588 2119 esac … … 2590 2121 rm -f $ac_rmfiles 2591 2122 2592 if { {ac_try="$ac_link_default"2123 if { (ac_try="$ac_link_default" 2593 2124 case "(($ac_try" in 2594 2125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2595 2126 *) ac_try_echo=$ac_try;; 2596 2127 esac 2597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2598 $as_echo "$ac_try_echo"; } >&5 2128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2599 2129 (eval "$ac_link_default") 2>&5 2600 2130 ac_status=$? 2601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52602 test $ac_status = 0; }; then :2131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2132 (exit $ac_status); }; then 2603 2133 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2604 2134 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2610 2140 test -f "$ac_file" || continue 2611 2141 case $ac_file in 2612 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj )2142 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2613 2143 ;; 2614 2144 [ab].out ) … … 2617 2147 break;; 2618 2148 *.* ) 2619 2149 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2620 2150 then :; else 2621 2151 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2636 2166 ac_file='' 2637 2167 fi 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 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 2642 2173 sed 's/^/| /' conftest.$ac_ext >&5 2643 2174 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; } 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 2656 2182 ac_exeext=$ac_cv_exeext 2657 2183 2658 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 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 2659 2220 ac_clean_files=$ac_clean_files_save 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" 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" 2663 2231 case "(($ac_try" in 2664 2232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2665 2233 *) ac_try_echo=$ac_try;; 2666 2234 esac 2667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2668 $as_echo "$ac_try_echo"; } >&5 2235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2669 2236 (eval "$ac_link") 2>&5 2670 2237 ac_status=$? 2671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52672 test $ac_status = 0; }; then :2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2239 (exit $ac_status); }; then 2673 2240 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2674 2241 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2678 2245 test -f "$ac_file" || continue 2679 2246 case $ac_file in 2680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj ) ;;2247 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2681 2248 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2682 2249 break;; … … 2685 2252 done 2686 2253 else 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; } 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; } 2695 2264 2696 2265 rm -f conftest.$ac_ext 2697 2266 EXEEXT=$ac_cv_exeext 2698 2267 ac_exeext=$EXEEXT 2699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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 2700 2278 /* end confdefs.h. */ 2701 #include <stdio.h> 2279 2702 2280 int 2703 2281 main () 2704 2282 { 2705 FILE *f = fopen ("conftest.out", "w");2706 return ferror (f) || fclose (f) != 0;2707 2283 2708 2284 ; … … 2710 2286 } 2711 2287 _ACEOF 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" 2288 rm -f conftest.o conftest.obj 2289 if { (ac_try="$ac_compile" 2719 2290 case "(($ac_try" in 2720 2291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2721 2292 *) ac_try_echo=$ac_try;; 2722 2293 esac 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 2294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2782 2295 (eval "$ac_compile") 2>&5 2783 2296 ac_status=$? 2784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52785 test $ac_status = 0; }; then :2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2298 (exit $ac_status); }; then 2786 2299 for ac_file in conftest.o conftest.obj conftest.*; do 2787 2300 test -f "$ac_file" || continue; 2788 2301 case $ac_file in 2789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM) ;;2302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2790 2303 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2791 2304 break;; … … 2793 2306 done 2794 2307 else 2795 $as_echo "$as_me: failed program was:" >&52308 echo "$as_me: failed program was:" >&5 2796 2309 sed 's/^/| /' conftest.$ac_ext >&5 2797 2310 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 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 2803 2318 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2804 2319 fi 2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&52806 $as_echo "$ac_cv_objext" >&6; }2320 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2321 echo "${ECHO_T}$ac_cv_objext" >&6; } 2807 2322 OBJEXT=$ac_cv_objext 2808 2323 ac_objext=$OBJEXT 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 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 2815 2334 /* end confdefs.h. */ 2816 2335 … … 2826 2345 } 2827 2346 _ACEOF 2828 if ac_fn_c_try_compile "$LINENO"; then : 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 2829 2364 ac_compiler_gnu=yes 2830 2365 else 2831 ac_compiler_gnu=no 2832 fi 2366 echo "$as_me: failed program was:" >&5 2367 sed 's/^/| /' conftest.$ac_ext >&5 2368 2369 ac_compiler_gnu=no 2370 fi 2371 2833 2372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2834 2373 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2835 2374 2836 2375 fi 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 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` 2844 2379 ac_test_CFLAGS=${CFLAGS+set} 2845 2380 ac_save_CFLAGS=$CFLAGS 2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&52847 $as_echo_n "checking whether $CC accepts -g..." >&6; }2848 if ${ac_cv_prog_cc_g+:} false; then :2849 $as_echo_n "(cached)" >&62381 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2382 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2383 if test "${ac_cv_prog_cc_g+set}" = set; then 2384 echo $ECHO_N "(cached) $ECHO_C" >&6 2850 2385 else 2851 2386 ac_save_c_werror_flag=$ac_c_werror_flag … … 2853 2388 ac_cv_prog_cc_g=no 2854 2389 CFLAGS="-g" 2855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2390 cat >conftest.$ac_ext <<_ACEOF 2391 /* confdefs.h. */ 2392 _ACEOF 2393 cat confdefs.h >>conftest.$ac_ext 2394 cat >>conftest.$ac_ext <<_ACEOF 2856 2395 /* end confdefs.h. */ 2857 2396 … … 2864 2403 } 2865 2404 _ACEOF 2866 if ac_fn_c_try_compile "$LINENO"; then : 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 2867 2422 ac_cv_prog_cc_g=yes 2868 2423 else 2869 CFLAGS="" 2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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 2871 2433 /* end confdefs.h. */ 2872 2434 … … 2879 2441 } 2880 2442 _ACEOF 2881 if ac_fn_c_try_compile "$LINENO"; then : 2882 2883 else 2884 ac_c_werror_flag=$ac_save_c_werror_flag 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 2885 2466 CFLAGS="-g" 2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2467 cat >conftest.$ac_ext <<_ACEOF 2468 /* confdefs.h. */ 2469 _ACEOF 2470 cat confdefs.h >>conftest.$ac_ext 2471 cat >>conftest.$ac_ext <<_ACEOF 2887 2472 /* end confdefs.h. */ 2888 2473 … … 2895 2480 } 2896 2481 _ACEOF 2897 if ac_fn_c_try_compile "$LINENO"; then : 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 2898 2499 ac_cv_prog_cc_g=yes 2899 fi 2500 else 2501 echo "$as_me: failed program was:" >&5 2502 sed 's/^/| /' conftest.$ac_ext >&5 2503 2504 2505 fi 2506 2900 2507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2901 2508 fi 2509 2902 2510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2903 2511 fi 2512 2904 2513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2905 2514 ac_c_werror_flag=$ac_save_c_werror_flag 2906 2515 fi 2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&52908 $as_echo "$ac_cv_prog_cc_g" >&6; }2516 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2517 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2909 2518 if test "$ac_test_CFLAGS" = set; then 2910 2519 CFLAGS=$ac_save_CFLAGS … … 2922 2531 fi 2923 2532 fi 2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&52925 $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)" >&62533 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2534 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2535 if test "${ac_cv_prog_cc_c89+set}" = set; then 2536 echo $ECHO_N "(cached) $ECHO_C" >&6 2928 2537 else 2929 2538 ac_cv_prog_cc_c89=no 2930 2539 ac_save_CC=$CC 2931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2540 cat >conftest.$ac_ext <<_ACEOF 2541 /* confdefs.h. */ 2542 _ACEOF 2543 cat confdefs.h >>conftest.$ac_ext 2544 cat >>conftest.$ac_ext <<_ACEOF 2932 2545 /* end confdefs.h. */ 2933 2546 #include <stdarg.h> … … 2986 2599 do 2987 2600 CC="$ac_save_CC $ac_arg" 2988 if ac_fn_c_try_compile "$LINENO"; then : 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 2989 2618 ac_cv_prog_cc_c89=$ac_arg 2990 fi 2619 else 2620 echo "$as_me: failed program was:" >&5 2621 sed 's/^/| /' conftest.$ac_ext >&5 2622 2623 2624 fi 2625 2991 2626 rm -f core conftest.err conftest.$ac_objext 2992 2627 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2999 2634 case "x$ac_cv_prog_cc_c89" in 3000 2635 x) 3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&53002 $as_echo "none needed" >&6; } ;;2636 { echo "$as_me:$LINENO: result: none needed" >&5 2637 echo "${ECHO_T}none needed" >&6; } ;; 3003 2638 xno) 3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&53005 $as_echo "unsupported" >&6; } ;;2639 { echo "$as_me:$LINENO: result: unsupported" >&5 2640 echo "${ECHO_T}unsupported" >&6; } ;; 3006 2641 *) 3007 2642 CC="$CC $ac_cv_prog_cc_c89" 3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3009 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3010 esac 3011 if test "x$ac_cv_prog_cc_c89" != xno; then : 3012 3013 fi 2643 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2644 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2645 esac 2646 3014 2647 3015 2648 ac_ext=c … … 3025 2658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3026 2659 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&53028 $as_echo_n "checking how to run the C preprocessor..." >&6; }2660 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2661 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3029 2662 # On Suns, sometimes $CPP names a directory. 3030 2663 if test -n "$CPP" && test -d "$CPP"; then … … 3032 2665 fi 3033 2666 if test -z "$CPP"; then 3034 if ${ac_cv_prog_CPP+:} false; then :3035 $as_echo_n "(cached)" >&62667 if test "${ac_cv_prog_CPP+set}" = set; then 2668 echo $ECHO_N "(cached) $ECHO_C" >&6 3036 2669 else 3037 2670 # Double quotes because CPP needs to be expanded … … 3047 2680 # On the NeXT, cc -E runs the code through the compiler's parser, 3048 2681 # not just through cpp. "Syntax error" is here to catch this case. 3049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2682 cat >conftest.$ac_ext <<_ACEOF 2683 /* confdefs.h. */ 2684 _ACEOF 2685 cat confdefs.h >>conftest.$ac_ext 2686 cat >>conftest.$ac_ext <<_ACEOF 3050 2687 /* end confdefs.h. */ 3051 2688 #ifdef __STDC__ … … 3056 2693 Syntax error 3057 2694 _ACEOF 3058 if ac_fn_c_try_cpp "$LINENO"; then : 3059 3060 else 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 3061 2716 # Broken: fails on valid input. 3062 2717 continue 3063 2718 fi 3064 rm -f conftest.err conftest.i conftest.$ac_ext 2719 2720 rm -f conftest.err conftest.$ac_ext 3065 2721 3066 2722 # OK, works on sane cases. Now check whether nonexistent headers 3067 2723 # can be detected and how. 3068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2724 cat >conftest.$ac_ext <<_ACEOF 2725 /* confdefs.h. */ 2726 _ACEOF 2727 cat confdefs.h >>conftest.$ac_ext 2728 cat >>conftest.$ac_ext <<_ACEOF 3069 2729 /* end confdefs.h. */ 3070 2730 #include <ac_nonexistent.h> 3071 2731 _ACEOF 3072 if ac_fn_c_try_cpp "$LINENO"; then : 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 3073 2748 # Broken: success on invalid input. 3074 2749 continue 3075 2750 else 2751 echo "$as_me: failed program was:" >&5 2752 sed 's/^/| /' conftest.$ac_ext >&5 2753 3076 2754 # Passes both tests. 3077 2755 ac_preproc_ok=: 3078 2756 break 3079 2757 fi 3080 rm -f conftest.err conftest.i conftest.$ac_ext 2758 2759 rm -f conftest.err conftest.$ac_ext 3081 2760 3082 2761 done 3083 2762 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3084 rm -f conftest. i conftest.err conftest.$ac_ext3085 if $ac_preproc_ok; then :2763 rm -f conftest.err conftest.$ac_ext 2764 if $ac_preproc_ok; then 3086 2765 break 3087 2766 fi … … 3095 2774 ac_cv_prog_CPP=$CPP 3096 2775 fi 3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&53098 $as_echo "$CPP" >&6; }2776 { echo "$as_me:$LINENO: result: $CPP" >&5 2777 echo "${ECHO_T}$CPP" >&6; } 3099 2778 ac_preproc_ok=false 3100 2779 for ac_c_preproc_warn_flag in '' yes … … 3106 2785 # On the NeXT, cc -E runs the code through the compiler's parser, 3107 2786 # not just through cpp. "Syntax error" is here to catch this case. 3108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2787 cat >conftest.$ac_ext <<_ACEOF 2788 /* confdefs.h. */ 2789 _ACEOF 2790 cat confdefs.h >>conftest.$ac_ext 2791 cat >>conftest.$ac_ext <<_ACEOF 3109 2792 /* end confdefs.h. */ 3110 2793 #ifdef __STDC__ … … 3115 2798 Syntax error 3116 2799 _ACEOF 3117 if ac_fn_c_try_cpp "$LINENO"; then : 3118 3119 else 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 3120 2821 # Broken: fails on valid input. 3121 2822 continue 3122 2823 fi 3123 rm -f conftest.err conftest.i conftest.$ac_ext 2824 2825 rm -f conftest.err conftest.$ac_ext 3124 2826 3125 2827 # OK, works on sane cases. Now check whether nonexistent headers 3126 2828 # can be detected and how. 3127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2829 cat >conftest.$ac_ext <<_ACEOF 2830 /* confdefs.h. */ 2831 _ACEOF 2832 cat confdefs.h >>conftest.$ac_ext 2833 cat >>conftest.$ac_ext <<_ACEOF 3128 2834 /* end confdefs.h. */ 3129 2835 #include <ac_nonexistent.h> 3130 2836 _ACEOF 3131 if ac_fn_c_try_cpp "$LINENO"; then : 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 3132 2853 # Broken: success on invalid input. 3133 2854 continue 3134 2855 else 2856 echo "$as_me: failed program was:" >&5 2857 sed 's/^/| /' conftest.$ac_ext >&5 2858 3135 2859 # Passes both tests. 3136 2860 ac_preproc_ok=: 3137 2861 break 3138 2862 fi 3139 rm -f conftest.err conftest.i conftest.$ac_ext 2863 2864 rm -f conftest.err conftest.$ac_ext 3140 2865 3141 2866 done 3142 2867 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 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; } 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; }; } 3151 2877 fi 3152 2878 … … 3158 2884 3159 2885 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 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 3166 2897 ac_path_GREP_found=false 3167 3168 2898 # Loop through the user's path and test for each of PROGNAME-LIST 2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3169 2900 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3170 2901 do 3171 2902 IFS=$as_save_IFS 3172 2903 test -z "$as_dir" && as_dir=. 3173 3174 3175 3176 3177 # Check for GNU ac_path_GREP and select it if it is found.2904 for ac_prog in grep ggrep; do 2905 for ac_exec_ext in '' $ac_executable_extensions; do 2906 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 2907 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 2908 # Check for GNU ac_path_GREP and select it if it is found. 3178 2909 # Check for GNU $ac_path_GREP 3179 2910 case `"$ac_path_GREP" --version 2>&1` in … … 3182 2913 *) 3183 2914 ac_count=0 3184 $as_echo_n 0123456789>"conftest.in"2915 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3185 2916 while : 3186 2917 do … … 3188 2919 mv "conftest.tmp" "conftest.in" 3189 2920 cp "conftest.in" "conftest.nl" 3190 $as_echo 'GREP' >> "conftest.nl"2921 echo 'GREP' >> "conftest.nl" 3191 2922 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3192 2923 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3193 a s_fn_arith $ac_count + 1 && ac_count=$as_val2924 ac_count=`expr $ac_count + 1` 3194 2925 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3195 2926 # Best one so far, save it but keep looking for a better one … … 3203 2934 esac 3204 2935 3205 $ac_path_GREP_found && break 3 3206 done2936 2937 $ac_path_GREP_found && break 3 3207 2938 done 3208 done 2939 done 2940 2941 done 3209 2942 IFS=$as_save_IFS 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 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 3213 2954 else 3214 2955 ac_cv_path_GREP=$GREP 3215 2956 fi 3216 2957 3217 fi 3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3219 $as_echo "$ac_cv_path_GREP" >&6; } 2958 2959 fi 2960 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 2961 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3220 2962 GREP="$ac_cv_path_GREP" 3221 2963 3222 2964 3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&53224 $as_echo_n "checking for egrep..." >&6; }3225 if ${ac_cv_path_EGREP+:} false; then :3226 $as_echo_n "(cached)" >&62965 { echo "$as_me:$LINENO: checking for egrep" >&5 2966 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 2967 if test "${ac_cv_path_EGREP+set}" = set; then 2968 echo $ECHO_N "(cached) $ECHO_C" >&6 3227 2969 else 3228 2970 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3229 2971 then ac_cv_path_EGREP="$GREP -E" 3230 2972 else 3231 if test -z "$EGREP"; then 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 3232 2979 ac_path_EGREP_found=false 3233 3234 2980 # Loop through the user's path and test for each of PROGNAME-LIST 2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3235 2982 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3236 2983 do 3237 2984 IFS=$as_save_IFS 3238 2985 test -z "$as_dir" && as_dir=. 3239 3240 3241 3242 3243 # Check for GNU ac_path_EGREP and select it if it is found.2986 for ac_prog in egrep; do 2987 for ac_exec_ext in '' $ac_executable_extensions; do 2988 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 2989 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 2990 # Check for GNU ac_path_EGREP and select it if it is found. 3244 2991 # Check for GNU $ac_path_EGREP 3245 2992 case `"$ac_path_EGREP" --version 2>&1` in … … 3248 2995 *) 3249 2996 ac_count=0 3250 $as_echo_n 0123456789>"conftest.in"2997 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3251 2998 while : 3252 2999 do … … 3254 3001 mv "conftest.tmp" "conftest.in" 3255 3002 cp "conftest.in" "conftest.nl" 3256 $as_echo 'EGREP' >> "conftest.nl"3003 echo 'EGREP' >> "conftest.nl" 3257 3004 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3258 3005 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3259 a s_fn_arith $ac_count + 1 && ac_count=$as_val3006 ac_count=`expr $ac_count + 1` 3260 3007 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3261 3008 # Best one so far, save it but keep looking for a better one … … 3269 3016 esac 3270 3017 3271 $ac_path_EGREP_found && break 3 3272 done3018 3019 $ac_path_EGREP_found && break 3 3273 3020 done 3274 done 3021 done 3022 3023 done 3275 3024 IFS=$as_save_IFS 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 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 3279 3036 else 3280 3037 ac_cv_path_EGREP=$EGREP 3281 3038 fi 3282 3039 3040 3283 3041 fi 3284 3042 fi 3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&53286 $as_echo "$ac_cv_path_EGREP" >&6; }3043 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3044 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 3287 3045 EGREP="$ac_cv_path_EGREP" 3288 3046 3289 3047 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 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 3296 3058 /* end confdefs.h. */ 3297 3059 #include <stdlib.h> … … 3308 3070 } 3309 3071 _ACEOF 3310 if ac_fn_c_try_compile "$LINENO"; then : 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 3311 3089 ac_cv_header_stdc=yes 3312 3090 else 3313 ac_cv_header_stdc=no 3314 fi 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 3315 3097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3316 3098 3317 3099 if test $ac_cv_header_stdc = yes; then 3318 3100 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3101 cat >conftest.$ac_ext <<_ACEOF 3102 /* confdefs.h. */ 3103 _ACEOF 3104 cat confdefs.h >>conftest.$ac_ext 3105 cat >>conftest.$ac_ext <<_ACEOF 3320 3106 /* end confdefs.h. */ 3321 3107 #include <string.h> … … 3323 3109 _ACEOF 3324 3110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3325 $EGREP "memchr" >/dev/null 2>&1; then :3326 3111 $EGREP "memchr" >/dev/null 2>&1; then 3112 : 3327 3113 else 3328 3114 ac_cv_header_stdc=no … … 3334 3120 if test $ac_cv_header_stdc = yes; then 3335 3121 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3122 cat >conftest.$ac_ext <<_ACEOF 3123 /* confdefs.h. */ 3124 _ACEOF 3125 cat confdefs.h >>conftest.$ac_ext 3126 cat >>conftest.$ac_ext <<_ACEOF 3337 3127 /* end confdefs.h. */ 3338 3128 #include <stdlib.h> … … 3340 3130 _ACEOF 3341 3131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3342 $EGREP "free" >/dev/null 2>&1; then :3343 3132 $EGREP "free" >/dev/null 2>&1; then 3133 : 3344 3134 else 3345 3135 ac_cv_header_stdc=no … … 3351 3141 if test $ac_cv_header_stdc = yes; then 3352 3142 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3353 if test "$cross_compiling" = yes; then :3143 if test "$cross_compiling" = yes; then 3354 3144 : 3355 3145 else 3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3146 cat >conftest.$ac_ext <<_ACEOF 3147 /* confdefs.h. */ 3148 _ACEOF 3149 cat confdefs.h >>conftest.$ac_ext 3150 cat >>conftest.$ac_ext <<_ACEOF 3357 3151 /* end confdefs.h. */ 3358 3152 #include <ctype.h> … … 3381 3175 } 3382 3176 _ACEOF 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; } 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; } 3396 3214 if test $ac_cv_header_stdc = yes; then 3397 3215 3398 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3216 cat >>confdefs.h <<\_ACEOF 3217 #define STDC_HEADERS 1 3218 _ACEOF 3399 3219 3400 3220 fi 3401 3221 3402 3222 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3223 3224 3225 3226 3227 3228 3229 3230 3231 3403 3232 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3404 3233 inttypes.h stdint.h unistd.h 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 : 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 3410 3282 cat >>confdefs.h <<_ACEOF 3411 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 13283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3412 3284 _ACEOF 3413 3285 … … 3417 3289 3418 3290 3419 for ac_header in RpLibrary.h RpUnits.h 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 : 3291 3292 3293 3294 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 3424 3430 cat >>confdefs.h <<_ACEOF 3425 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 13431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3426 3432 _ACEOF 3427 3433 … … 3431 3437 3432 3438 if test "${ac_cv_header_RpLibrary_h}" = no || 3433 test "${ac_cv_header_RpUnits_h}" = no; then 3434 as_fn_error $? "\"Rappture headers RpLibrary.h and RpUnits.h not found\"" "$LINENO" 5 3435 fi 3436 3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing rpLibrary" >&5 3438 $as_echo_n "checking for library containing rpLibrary... " >&6; } 3439 if ${ac_cv_search_rpLibrary+:} false; then : 3440 $as_echo_n "(cached) " >&6 3439 test "${ac_cv_header_RpUnits_h}" = no || 3440 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 3441 3450 else 3442 3451 ac_func_search_save_LIBS=$LIBS 3443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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 3457 /* end confdefs.h. */ 3445 3458 … … 3466 3479 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3467 3480 fi 3468 if ac_fn_c_try_link "$LINENO"; then : 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 3499 ac_cv_search_rpLibrary=$ac_res 3470 fi 3471 rm -f core conftest.err conftest.$ac_objext \ 3472 conftest$ac_exeext 3473 if ${ac_cv_search_rpLibrary+:} false; then : 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 3474 3510 break 3475 3511 fi 3476 3512 done 3477 if ${ac_cv_search_rpLibrary+:} false; then :3478 3513 if test "${ac_cv_search_rpLibrary+set}" = set; then 3514 : 3479 3515 else 3480 3516 ac_cv_search_rpLibrary=no … … 3483 3519 LIBS=$ac_func_search_save_LIBS 3484 3520 fi 3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rpLibrary" >&53486 $as_echo "$ac_cv_search_rpLibrary" >&6; }3521 { echo "$as_me:$LINENO: result: $ac_cv_search_rpLibrary" >&5 3522 echo "${ECHO_T}$ac_cv_search_rpLibrary" >&6; } 3487 3523 ac_res=$ac_cv_search_rpLibrary 3488 if test "$ac_res" != no; then :3524 if test "$ac_res" != no; then 3489 3525 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 3490 3526 3491 3527 else 3492 as_fn_error $? "\"no librappture with RpLibrary found\"" "$LINENO" 5 3493 fi 3494 3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing rpConvert" >&5 3496 $as_echo_n "checking for library containing rpConvert... " >&6; } 3497 if ${ac_cv_search_rpConvert+:} false; then : 3498 $as_echo_n "(cached) " >&6 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 3499 3537 else 3500 3538 ac_func_search_save_LIBS=$LIBS 3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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 3544 /* end confdefs.h. */ 3503 3545 … … 3524 3566 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3525 3567 fi 3526 if ac_fn_c_try_link "$LINENO"; then : 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 3586 ac_cv_search_rpConvert=$ac_res 3528 fi 3529 rm -f core conftest.err conftest.$ac_objext \ 3530 conftest$ac_exeext 3531 if ${ac_cv_search_rpConvert+:} false; then : 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 3532 3597 break 3533 3598 fi 3534 3599 done 3535 if ${ac_cv_search_rpConvert+:} false; then :3536 3600 if test "${ac_cv_search_rpConvert+set}" = set; then 3601 : 3537 3602 else 3538 3603 ac_cv_search_rpConvert=no … … 3541 3606 LIBS=$ac_func_search_save_LIBS 3542 3607 fi 3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rpConvert" >&53544 $as_echo "$ac_cv_search_rpConvert" >&6; }3608 { echo "$as_me:$LINENO: result: $ac_cv_search_rpConvert" >&5 3609 echo "${ECHO_T}$ac_cv_search_rpConvert" >&6; } 3545 3610 ac_res=$ac_cv_search_rpConvert 3546 if test "$ac_res" != no; then :3611 if test "$ac_res" != no; then 3547 3612 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 3548 3613 3549 3614 else 3550 as_fn_error $? "\"no librappture with RpUnits found\"" "$LINENO" 5 3551 fi 3552 3553 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 3624 else 3625 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 3631 /* end confdefs.h. */ 3632 3633 /* Override any GCC internal prototype to avoid an error. 3634 Use char because int might match the return type of a GCC 3635 builtin and then its argument prototype would still apply. */ 3636 #ifdef __cplusplus 3637 extern "C" 3638 #endif 3639 char rpUtilsProgress (); 3640 int 3641 main () 3642 { 3643 return rpUtilsProgress (); 3644 ; 3645 return 0; 3646 } 3647 _ACEOF 3648 for ac_lib in '' rappture; do 3649 if test -z "$ac_lib"; then 3650 ac_res="none required" 3651 else 3652 ac_res=-l$ac_lib 3653 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3654 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 3673 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 3684 break 3685 fi 3686 done 3687 if test "${ac_cv_search_rpUtilsProgress+set}" = set; then 3688 : 3689 else 3690 ac_cv_search_rpUtilsProgress=no 3691 fi 3692 rm conftest.$ac_ext 3693 LIBS=$ac_func_search_save_LIBS 3694 fi 3695 { echo "$as_me:$LINENO: result: $ac_cv_search_rpUtilsProgress" >&5 3696 echo "${ECHO_T}$ac_cv_search_rpUtilsProgress" >&6; } 3697 ac_res=$ac_cv_search_rpUtilsProgress 3698 if test "$ac_res" != no; then 3699 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 3700 3701 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; } 3554 3762 3555 3763 # The cast to long int works around a bug in the HP C Compiler … … 3557 3765 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 3558 3766 # This bug is HP SR number 8606223364. 3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 3560 $as_echo_n "checking size of long... " >&6; } 3561 if ${ac_cv_sizeof_long+:} false; then : 3562 $as_echo_n "(cached) " >&6 3563 else 3564 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 3565 3566 else 3567 if test "$ac_cv_type_long" = yes; then 3568 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3570 as_fn_error 77 "cannot compute sizeof (long) 3571 See \`config.log' for more details" "$LINENO" 5; } 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; }; } 3572 4096 else 3573 4097 ac_cv_sizeof_long=0 3574 4098 fi 3575 4099 fi 3576 3577 fi 3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 3579 $as_echo "$ac_cv_sizeof_long" >&6; } 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; } 3580 4106 3581 4107 … … 3618 4144 *${as_nl}*) 3619 4145 case $ac_var in #( 3620 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&53621 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;4146 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 4147 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 3622 4148 esac 3623 4149 case $ac_var in #( 3624 4150 _ | IFS | as_nl) ;; #( 3625 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3626 *) { eval $ac_var=; unset $ac_var;} ;; 4151 *) $as_unset $ac_var ;; 3627 4152 esac ;; 3628 4153 esac … … 3632 4157 case $as_nl`(ac_space=' '; set) 2>&1` in #( 3633 4158 *${as_nl}ac_space=\ *) 3634 # `set' does not quote correctly, so add quotes :double-quote3635 # substitution turns \\\\ into \\, and sed turns \\ into \ .4159 # `set' does not quote correctly, so add quotes (double-quote 4160 # substitution turns \\\\ into \\, and sed turns \\ into \). 3636 4161 sed -n \ 3637 4162 "s/'/'\\\\''/g; … … 3655 4180 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3656 4181 if test -w "$cache_file"; then 3657 if test "x$cache_file" != "x/dev/null"; then 3658 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3659 $as_echo "$as_me: updating cache $cache_file" >&6;} 3660 if test ! -f "$cache_file" || test -h "$cache_file"; then 3661 cat confcache >"$cache_file" 3662 else 3663 case $cache_file in #( 3664 */* | ?:*) 3665 mv -f confcache "$cache_file"$$ && 3666 mv -f "$cache_file"$$ "$cache_file" ;; #( 3667 *) 3668 mv -f confcache "$cache_file" ;; 3669 esac 3670 fi 3671 fi 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 3672 4186 else 3673 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&53674 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}4187 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 4188 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3675 4189 fi 3676 4190 fi … … 3689 4203 # look for a macro that doesn't take arguments. 3690 4204 ac_script=' 3691 :mline3692 /\\$/{3693 N3694 s,\\\n,,3695 b mline3696 }3697 4205 t clear 3698 4206 :clear … … 3721 4229 ac_libobjs= 3722 4230 ac_ltlibobjs= 3723 U=3724 4231 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3725 4232 # 1. Remove the extension, and $U if already installed. 3726 4233 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3727 ac_i=` $as_echo "$ac_i" | sed "$ac_script"`4234 ac_i=`echo "$ac_i" | sed "$ac_script"` 3728 4235 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3729 4236 # will be set to the directory where LIBOBJS objects are built. 3730 a s_fn_append ac_libobjs "\${LIBOBJDIR}$ac_i\$U.$ac_objext"3731 a s_fn_append ac_ltlibobjs "\${LIBOBJDIR}$ac_i"'$U.lo'4237 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4238 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 3732 4239 done 3733 4240 LIBOBJS=$ac_libobjs … … 3737 4244 3738 4245 3739 : "${CONFIG_STATUS=./config.status}" 3740 ac_write_fail=0 4246 : ${CONFIG_STATUS=./config.status} 3741 4247 ac_clean_files_save=$ac_clean_files 3742 4248 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3743 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3744 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 3745 as_write_fail=0 3746 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4249 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 4250 echo "$as_me: creating $CONFIG_STATUS" >&6;} 4251 cat >$CONFIG_STATUS <<_ACEOF 3747 4252 #! $SHELL 3748 4253 # Generated by $as_me. … … 3754 4259 ac_cs_recheck=false 3755 4260 ac_cs_silent=false 3756 3757 4261 SHELL=\${CONFIG_SHELL-$SHELL} 3758 export SHELL 3759 _ASEOF 3760 cat >>$CONFIG_STATUS <<\_A SEOF || as_write_fail=13761 ## -------------------- ##3762 ## M4sh Initialization. ##3763 ## -------------------- ##4262 _ACEOF 4263 4264 cat >>$CONFIG_STATUS <<\_ACEOF 4265 ## --------------------- ## 4266 ## M4sh Initialization. ## 4267 ## --------------------- ## 3764 4268 3765 4269 # Be more Bourne compatible 3766 4270 DUALCASE=1; export DUALCASE # for MKS sh 3767 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :4271 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3768 4272 emulate sh 3769 4273 NULLCMD=: 3770 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which4274 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 3771 4275 # is contrary to our usage. Disable this feature. 3772 4276 alias -g '${1+"$@"}'='"$@"' 3773 4277 setopt NO_GLOB_SUBST 3774 4278 else 3775 case `(set -o) 2>/dev/null` in #( 3776 *posix*) : 3777 set -o posix ;; #( 3778 *) : 3779 ;; 3780 esac 3781 fi 3782 3783 3784 as_nl=' 3785 ' 3786 export as_nl 3787 # Printing a long string crashes Solaris 7 /usr/bin/printf. 3788 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3789 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 3790 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 3791 # Prefer a ksh shell builtin over an external printf program on Solaris, 3792 # but without wasting forks for bash or zsh. 3793 if test -z "$BASH_VERSION$ZSH_VERSION" \ 3794 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 3795 as_echo='print -r --' 3796 as_echo_n='print -rn --' 3797 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 3798 as_echo='printf %s\n' 3799 as_echo_n='printf %s' 3800 else 3801 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 3802 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 3803 as_echo_n='/usr/ucb/echo -n' 3804 else 3805 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 3806 as_echo_n_body='eval 3807 arg=$1; 3808 case $arg in #( 3809 *"$as_nl"*) 3810 expr "X$arg" : "X\\(.*\\)$as_nl"; 3811 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 3812 esac; 3813 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 3814 ' 3815 export as_echo_n_body 3816 as_echo_n='sh -c $as_echo_n_body as_echo' 3817 fi 3818 export as_echo_body 3819 as_echo='sh -c $as_echo_body as_echo' 3820 fi 4279 case `(set -o) 2>/dev/null` in 4280 *posix*) set -o posix ;; 4281 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 3821 4295 3822 4296 # The user is always right. 3823 4297 if test "${PATH_SEPARATOR+set}" != set; then 3824 PATH_SEPARATOR=: 3825 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 3826 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 3827 PATH_SEPARATOR=';' 3828 } 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 3829 4314 fi 3830 4315 … … 3835 4320 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 3836 4321 # splitting by setting IFS to empty value.) 4322 as_nl=' 4323 ' 3837 4324 IFS=" "" $as_nl" 3838 4325 3839 4326 # Find who we are. Look in the path if we contain no directory separator. 3840 as_myself= 3841 case $0 in #(( 4327 case $0 in 3842 4328 *[\\/]* ) as_myself=$0 ;; 3843 4329 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3846 4332 IFS=$as_save_IFS 3847 4333 test -z "$as_dir" && as_dir=. 3848 3849 4334 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4335 done 3850 4336 IFS=$as_save_IFS 3851 4337 … … 3858 4344 fi 3859 4345 if test ! -f "$as_myself"; then 3860 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3861 exit 1 3862 fi 3863 3864 # Unset variables that we do not need and which cause bugs (e.g. in 3865 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 3866 # suppresses any "Segmentation fault" message there. '((' could 3867 # trigger a bug in pdksh 5.2.14. 3868 for as_var in BASH_ENV ENV MAIL MAILPATH 3869 do eval test x\${$as_var+set} = xset \ 3870 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 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 3871 4353 done 3872 4354 PS1='$ ' … … 3875 4357 3876 4358 # NLS nuisances. 3877 LC_ALL=C 3878 export LC_ALL 3879 LANGUAGE=C 3880 export LANGUAGE 3881 3882 # CDPATH. 3883 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 3884 3885 3886 # as_fn_error STATUS ERROR [LINENO LOG_FD] 3887 # ---------------------------------------- 3888 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3889 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3890 # script with STATUS, using 1 if that was 0. 3891 as_fn_error () 3892 { 3893 as_status=$1; test $as_status -eq 0 && as_status=1 3894 if test "$4"; then 3895 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3896 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 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 3897 4368 fi 3898 $as_echo "$as_me: error: $2" >&2 3899 as_fn_exit $as_status 3900 } # as_fn_error 3901 3902 3903 # as_fn_set_status STATUS 3904 # ----------------------- 3905 # Set $? to STATUS, without forking. 3906 as_fn_set_status () 3907 { 3908 return $1 3909 } # as_fn_set_status 3910 3911 # as_fn_exit STATUS 3912 # ----------------- 3913 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3914 as_fn_exit () 3915 { 3916 set +e 3917 as_fn_set_status $1 3918 exit $1 3919 } # as_fn_exit 3920 3921 # as_fn_unset VAR 3922 # --------------- 3923 # Portably unset VAR. 3924 as_fn_unset () 3925 { 3926 { eval $1=; unset $1;} 3927 } 3928 as_unset=as_fn_unset 3929 # as_fn_append VAR VALUE 3930 # ---------------------- 3931 # Append the text in VALUE to the end of the definition contained in VAR. Take 3932 # advantage of any shell optimizations that allow amortized linear growth over 3933 # repeated appends, instead of the typical quadratic growth present in naive 3934 # implementations. 3935 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3936 eval 'as_fn_append () 3937 { 3938 eval $1+=\$2 3939 }' 3940 else 3941 as_fn_append () 3942 { 3943 eval $1=\$$1\$2 3944 } 3945 fi # as_fn_append 3946 3947 # as_fn_arith ARG... 3948 # ------------------ 3949 # Perform arithmetic evaluation on the ARGs, and store the result in the 3950 # global $as_val. Take advantage of shells that can avoid forks. The arguments 3951 # must be portable across $(()) and expr. 3952 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3953 eval 'as_fn_arith () 3954 { 3955 as_val=$(( $* )) 3956 }' 3957 else 3958 as_fn_arith () 3959 { 3960 as_val=`expr "$@" || test $? -eq 1` 3961 } 3962 fi # as_fn_arith 3963 3964 4369 done 4370 4371 # Required to use basename. 3965 4372 if expr a : '\(a\)' >/dev/null 2>&1 && 3966 4373 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 3976 4383 fi 3977 4384 3978 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3979 as_dirname=dirname 3980 else 3981 as_dirname=false 3982 fi 3983 4385 4386 # Name of the executable. 3984 4387 as_me=`$as_basename -- "$0" || 3985 4388 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3986 4389 X"$0" : 'X\(//\)$' \| \ 3987 4390 X"$0" : 'X\(/\)' \| . 2>/dev/null || 3988 $as_echo X/"$0" |4391 echo X/"$0" | 3989 4392 sed '/^.*\/\([^/][^/]*\)\/*$/{ 3990 4393 s//\1/ … … 4001 4404 s/.*/./; q'` 4002 4405 4003 # Avoid depending upon Character Ranges. 4004 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4005 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4006 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4007 as_cr_digits='0123456789' 4008 as_cr_alnum=$as_cr_Letters$as_cr_digits 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 4009 4459 4010 4460 ECHO_C= ECHO_N= ECHO_T= 4011 case `echo -n x` in #(((((4461 case `echo -n x` in 4012 4462 -n*) 4013 case `echo 'x y\c'` in4463 case `echo 'x\c'` in 4014 4464 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4015 xy) ECHO_C='\c';; 4016 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4017 ECHO_T=' ';; 4465 *) ECHO_C='\c';; 4018 4466 esac;; 4019 4467 *) … … 4021 4469 esac 4022 4470 4471 if expr a : '\(a\)' >/dev/null 2>&1 && 4472 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4473 as_expr=expr 4474 else 4475 as_expr=false 4476 fi 4477 4023 4478 rm -f conf$$ conf$$.exe conf$$.file 4024 4479 if test -d conf$$.dir; then … … 4026 4481 else 4027 4482 rm -f conf$$.dir 4028 mkdir conf$$.dir 2>/dev/null 4029 fi 4030 if (echo >conf$$.file) 2>/dev/null; then 4031 if ln -s conf$$.file conf$$ 2>/dev/null; then 4032 as_ln_s='ln -s' 4033 # ... but there are two gotchas: 4034 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4035 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4036 # In both cases, we have to default to `cp -p'. 4037 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4038 as_ln_s='cp -p' 4039 elif ln conf$$.file conf$$ 2>/dev/null; then 4040 as_ln_s=ln 4041 else 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 || 4042 4493 as_ln_s='cp -p' 4043 fi 4494 elif ln conf$$.file conf$$ 2>/dev/null; then 4495 as_ln_s=ln 4044 4496 else 4045 4497 as_ln_s='cp -p' … … 4048 4500 rmdir conf$$.dir 2>/dev/null 4049 4501 4050 4051 # as_fn_mkdir_p 4052 # ------------- 4053 # Create "$as_dir" as a directory, including parents if necessary. 4054 as_fn_mkdir_p () 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 4055 4668 { 4056 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" 4057 4941 case $as_dir in #( 4058 4942 -*) as_dir=./$as_dir;; 4059 4943 esac 4060 test -d "$as_dir" || eval $as_mkdir_p|| {4944 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 4061 4945 as_dirs= 4062 4946 while :; do 4063 4947 case $as_dir in #( 4064 *\'*) as_qdir=` $as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(4948 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 4065 4949 *) as_qdir=$as_dir;; 4066 4950 esac … … 4071 4955 X"$as_dir" : 'X\(//\)$' \| \ 4072 4956 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4073 $as_echo X"$as_dir" |4957 echo X"$as_dir" | 4074 4958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4075 4959 s//\1/ … … 4092 4976 done 4093 4977 test -z "$as_dirs" || eval "mkdir $as_dirs" 4094 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 4095 4096 4097 } # as_fn_mkdir_p 4098 if mkdir -p . 2>/dev/null; then 4099 as_mkdir_p='mkdir -p "$as_dir"' 4100 else 4101 test -d ./-p && rmdir ./-p 4102 as_mkdir_p=false 4103 fi 4104 4105 if test -x / >/dev/null 2>&1; then 4106 as_test_x='test -x' 4107 else 4108 if ls -dL / >/dev/null 2>&1; then 4109 as_ls_L_option=L 4110 else 4111 as_ls_L_option= 4112 fi 4113 as_test_x=' 4114 eval sh -c '\'' 4115 if test -d "$1"; then 4116 test -d "$1/."; 4117 else 4118 case $1 in #( 4119 -*)set "./$1";; 4120 esac; 4121 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 4122 ???[sx]*):;;*)false;;esac;fi 4123 '\'' sh 4124 ' 4125 fi 4126 as_executable_p=$as_test_x 4127 4128 # Sed expression to map a string onto a valid CPP name. 4129 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4130 4131 # Sed expression to map a string onto a valid variable name. 4132 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4133 4134 4135 exec 6>&1 4136 ## ----------------------------------- ## 4137 ## Main body of $CONFIG_STATUS script. ## 4138 ## ----------------------------------- ## 4139 _ASEOF 4140 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 4141 4142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4143 # Save the log message, to keep $0 and so on meaningful, and to 4144 # report actual input values of CONFIG_FILES etc. instead of their 4145 # values after options handling. 4146 ac_log=" 4147 This file was extended by Rappture $as_me 1.0, which was 4148 generated by GNU Autoconf 2.68. Invocation command line was 4149 4150 CONFIG_FILES = $CONFIG_FILES 4151 CONFIG_HEADERS = $CONFIG_HEADERS 4152 CONFIG_LINKS = $CONFIG_LINKS 4153 CONFIG_COMMANDS = $CONFIG_COMMANDS 4154 $ $0 $@ 4155 4156 on `(hostname || uname -n) 2>/dev/null | sed 1q` 4157 " 4158 4159 _ACEOF 4160 4161 case $ac_config_files in *" 4162 "*) set x $ac_config_files; shift; ac_config_files=$*;; 4163 esac 4164 4165 4166 4167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4168 # Files that config.status was made for. 4169 config_files="$ac_config_files" 4170 4171 _ACEOF 4172 4173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4174 ac_cs_usage="\ 4175 \`$as_me' instantiates files and other configuration actions 4176 from templates according to the current configuration. Unless the files 4177 and actions are specified as TAGs, all are instantiated by default. 4178 4179 Usage: $0 [OPTION]... [TAG]... 4180 4181 -h, --help print this help, then exit 4182 -V, --version print version number and configuration settings, then exit 4183 --config print configuration, then exit 4184 -q, --quiet, --silent 4185 do not print progress messages 4186 -d, --debug don't remove temporary files 4187 --recheck update $as_me by reconfiguring in the same conditions 4188 --file=FILE[:TEMPLATE] 4189 instantiate the configuration file FILE 4190 4191 Configuration files: 4192 $config_files 4193 4194 Report bugs to <rappture@nanohub.org>." 4195 4196 _ACEOF 4197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4198 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4199 ac_cs_version="\\ 4200 Rappture config.status 1.0 4201 configured by $0, generated by GNU Autoconf 2.68, 4202 with options \\"\$ac_cs_config\\" 4203 4204 Copyright (C) 2010 Free Software Foundation, Inc. 4205 This config.status script is free software; the Free Software Foundation 4206 gives unlimited permission to copy, distribute and modify it." 4207 4208 ac_pwd='$ac_pwd' 4209 srcdir='$srcdir' 4210 test -n "\$AWK" || AWK=awk 4211 _ACEOF 4212 4213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4214 # The default lists apply if the user does not specify any file. 4215 ac_need_defaults=: 4216 while test $# != 0 4217 do 4218 case $1 in 4219 --*=?*) 4220 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4221 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4222 ac_shift=: 4223 ;; 4224 --*=) 4225 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4226 ac_optarg= 4227 ac_shift=: 4228 ;; 4229 *) 4230 ac_option=$1 4231 ac_optarg=$2 4232 ac_shift=shift 4233 ;; 4234 esac 4235 4236 case $ac_option in 4237 # Handling of the options. 4238 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4239 ac_cs_recheck=: ;; 4240 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4241 $as_echo "$ac_cs_version"; exit ;; 4242 --config | --confi | --conf | --con | --co | --c ) 4243 $as_echo "$ac_cs_config"; exit ;; 4244 --debug | --debu | --deb | --de | --d | -d ) 4245 debug=: ;; 4246 --file | --fil | --fi | --f ) 4247 $ac_shift 4248 case $ac_optarg in 4249 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4250 '') as_fn_error $? "missing file argument" ;; 4251 esac 4252 as_fn_append CONFIG_FILES " '$ac_optarg'" 4253 ac_need_defaults=false;; 4254 --he | --h | --help | --hel | -h ) 4255 $as_echo "$ac_cs_usage"; exit ;; 4256 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4257 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4258 ac_cs_silent=: ;; 4259 4260 # This is an error. 4261 -*) as_fn_error $? "unrecognized option: \`$1' 4262 Try \`$0 --help' for more information." ;; 4263 4264 *) as_fn_append ac_config_targets " $1" 4265 ac_need_defaults=false ;; 4266 4267 esac 4268 shift 4269 done 4270 4271 ac_configure_extra_args= 4272 4273 if $ac_cs_silent; then 4274 exec 6>/dev/null 4275 ac_configure_extra_args="$ac_configure_extra_args --silent" 4276 fi 4277 4278 _ACEOF 4279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4280 if \$ac_cs_recheck; then 4281 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4282 shift 4283 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 4284 CONFIG_SHELL='$SHELL' 4285 export CONFIG_SHELL 4286 exec "\$@" 4287 fi 4288 4289 _ACEOF 4290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4291 exec 5>>config.log 4292 { 4293 echo 4294 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4295 ## Running $as_me. ## 4296 _ASBOX 4297 $as_echo "$ac_log" 4298 } >&5 4299 4300 _ACEOF 4301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4302 _ACEOF 4303 4304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4305 4306 # Handling of arguments. 4307 for ac_config_target in $ac_config_targets 4308 do 4309 case $ac_config_target in 4310 "src/Makevars") CONFIG_FILES="$CONFIG_FILES src/Makevars" ;; 4311 4312 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4313 esac 4314 done 4315 4316 4317 # If the user did not use the arguments to specify the items to instantiate, 4318 # then the envvar interface is used. Set only those that are not. 4319 # We use the long form for the default assignment because of an extremely 4320 # bizarre bug on SunOS 4.1.3. 4321 if $ac_need_defaults; then 4322 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4323 fi 4324 4325 # Have a temporary directory for convenience. Make it in the build tree 4326 # simply because there is no reason against having it here, and in addition, 4327 # creating and moving files from /tmp can sometimes cause problems. 4328 # Hook for its removal unless debugging. 4329 # Note that there is a small window in which the directory will not be cleaned: 4330 # after its creation but before its name has been assigned to `$tmp'. 4331 $debug || 4332 { 4333 tmp= ac_tmp= 4334 trap 'exit_status=$? 4335 : "${ac_tmp:=$tmp}" 4336 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 4337 ' 0 4338 trap 'as_fn_exit 1' 1 2 13 15 4339 } 4340 # Create a (secure) tmp directory for tmp files. 4341 4342 { 4343 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4344 test -d "$tmp" 4345 } || 4346 { 4347 tmp=./conf$$-$RANDOM 4348 (umask 077 && mkdir "$tmp") 4349 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 4350 ac_tmp=$tmp 4351 4352 # Set up the scripts for CONFIG_FILES section. 4353 # No need to generate them if there are no CONFIG_FILES. 4354 # This happens for instance with `./config.status config.h'. 4355 if test -n "$CONFIG_FILES"; then 4356 4357 4358 ac_cr=`echo X | tr X '\015'` 4359 # On cygwin, bash can eat \r inside `` if the user requested igncr. 4360 # But we know of no other shell where ac_cr would be empty at this 4361 # point, so we can use a bashism as a fallback. 4362 if test "x$ac_cr" = x; then 4363 eval ac_cr=\$\'\\r\' 4364 fi 4365 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 4366 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 4367 ac_cs_awk_cr='\\r' 4368 else 4369 ac_cs_awk_cr=$ac_cr 4370 fi 4371 4372 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 4373 _ACEOF 4374 4375 4376 { 4377 echo "cat >conf$$subs.awk <<_ACEOF" && 4378 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4379 echo "_ACEOF" 4380 } >conf$$subs.sh || 4381 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4382 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 4383 ac_delim='%!_!# ' 4384 for ac_last_try in false false false false false :; do 4385 . ./conf$$subs.sh || 4386 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4387 4388 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 4389 if test $ac_delim_n = $ac_delim_num; then 4390 break 4391 elif $ac_last_try; then 4392 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4393 else 4394 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4395 fi 4396 done 4397 rm -f conf$$subs.sh 4398 4399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4400 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 4401 _ACEOF 4402 sed -n ' 4403 h 4404 s/^/S["/; s/!.*/"]=/ 4405 p 4406 g 4407 s/^[^!]*!// 4408 :repl 4409 t repl 4410 s/'"$ac_delim"'$// 4411 t delim 4412 :nl 4413 h 4414 s/\(.\{148\}\)..*/\1/ 4415 t more1 4416 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4417 p 4418 n 4419 b repl 4420 :more1 4421 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4422 p 4423 g 4424 s/.\{148\}// 4425 t nl 4426 :delim 4427 h 4428 s/\(.\{148\}\)..*/\1/ 4429 t more2 4430 s/["\\]/\\&/g; s/^/"/; s/$/"/ 4431 p 4432 b 4433 :more2 4434 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4435 p 4436 g 4437 s/.\{148\}// 4438 t delim 4439 ' <conf$$subs.awk | sed ' 4440 /^[^""]/{ 4441 N 4442 s/\n// 4443 } 4444 ' >>$CONFIG_STATUS || ac_write_fail=1 4445 rm -f conf$$subs.awk 4446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4447 _ACAWK 4448 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 4449 for (key in S) S_is_set[key] = 1 4450 FS = "" 4451 4452 } 4453 { 4454 line = $ 0 4455 nfields = split(line, field, "@") 4456 substed = 0 4457 len = length(field[1]) 4458 for (i = 2; i < nfields; i++) { 4459 key = field[i] 4460 keylen = length(key) 4461 if (S_is_set[key]) { 4462 value = S[key] 4463 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4464 len += length(value) + length(field[++i]) 4465 substed = 1 4466 } else 4467 len += 1 + keylen 4468 } 4469 4470 print line 4471 } 4472 4473 _ACAWK 4474 _ACEOF 4475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4476 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4477 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4478 else 4479 cat 4480 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 4481 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 4482 _ACEOF 4483 4484 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 4485 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 4486 # trailing colons and then remove the whole line if VPATH becomes empty 4487 # (actually we leave an empty line to preserve line numbers). 4488 if test "x$srcdir" = x.; then 4489 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 4490 h 4491 s/// 4492 s/^/:/ 4493 s/[ ]*$/:/ 4494 s/:\$(srcdir):/:/g 4495 s/:\${srcdir}:/:/g 4496 s/:@srcdir@:/:/g 4497 s/^:*// 4498 s/:*$// 4499 x 4500 s/\(=[ ]*\).*/\1/ 4501 G 4502 s/\n// 4503 s/^[^=]*=[ ]*$// 4504 }' 4505 fi 4506 4507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4508 fi # test -n "$CONFIG_FILES" 4509 4510 4511 eval set X " :F $CONFIG_FILES " 4512 shift 4513 for ac_tag 4514 do 4515 case $ac_tag in 4516 :[FHLC]) ac_mode=$ac_tag; continue;; 4517 esac 4518 case $ac_mode$ac_tag in 4519 :[FHL]*:*);; 4520 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 4521 :[FH]-) ac_tag=-:-;; 4522 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4523 esac 4524 ac_save_IFS=$IFS 4525 IFS=: 4526 set x $ac_tag 4527 IFS=$ac_save_IFS 4528 shift 4529 ac_file=$1 4530 shift 4531 4532 case $ac_mode in 4533 :L) ac_source=$1;; 4534 :[FH]) 4535 ac_file_inputs= 4536 for ac_f 4537 do 4538 case $ac_f in 4539 -) ac_f="$ac_tmp/stdin";; 4540 *) # Look for the file first in the build tree, then in the source tree 4541 # (if the path is not absolute). The absolute path cannot be DOS-style, 4542 # because $ac_f cannot contain `:'. 4543 test -f "$ac_f" || 4544 case $ac_f in 4545 [\\/$]*) false;; 4546 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4547 esac || 4548 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4549 esac 4550 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4551 as_fn_append ac_file_inputs " '$ac_f'" 4552 done 4553 4554 # Let's still pretend it is `configure' which instantiates (i.e., don't 4555 # use $as_me), people would be surprised to read: 4556 # /* config.h. Generated by config.status. */ 4557 configure_input='Generated from '` 4558 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4559 `' by configure.' 4560 if test x"$ac_file" != x-; then 4561 configure_input="$ac_file. $configure_input" 4562 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4563 $as_echo "$as_me: creating $ac_file" >&6;} 4564 fi 4565 # Neutralize special characters interpreted by sed in replacement strings. 4566 case $configure_input in #( 4567 *\&* | *\|* | *\\* ) 4568 ac_sed_conf_input=`$as_echo "$configure_input" | 4569 sed 's/[\\\\&|]/\\\\&/g'`;; #( 4570 *) ac_sed_conf_input=$configure_input;; 4571 esac 4572 4573 case $ac_tag in 4574 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 4575 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4576 esac 4577 ;; 4578 esac 4579 4580 ac_dir=`$as_dirname -- "$ac_file" || 4581 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4582 X"$ac_file" : 'X\(//\)[^/]' \| \ 4583 X"$ac_file" : 'X\(//\)$' \| \ 4584 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4585 $as_echo X"$ac_file" | 4586 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4587 s//\1/ 4588 q 4589 } 4590 /^X\(\/\/\)[^/].*/{ 4591 s//\1/ 4592 q 4593 } 4594 /^X\(\/\/\)$/{ 4595 s//\1/ 4596 q 4597 } 4598 /^X\(\/\).*/{ 4599 s//\1/ 4600 q 4601 } 4602 s/.*/./; q'` 4603 as_dir="$ac_dir"; as_fn_mkdir_p 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; }; }; } 4604 4981 ac_builddir=. 4605 4982 … … 4607 4984 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4608 4985 *) 4609 ac_dir_suffix=/` $as_echo "$ac_dir" | sed 's|^\.[\\/]||'`4986 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4610 4987 # A ".." for each directory in $ac_dir_suffix. 4611 ac_top_builddir_sub=` $as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`4988 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 4612 4989 case $ac_top_builddir_sub in 4613 4990 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 4645 5022