Changeset 1733
- Timestamp:
- May 24, 2010 3:48:01 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.in
r1228 r1733 35 35 36 36 ifneq ($(ENABLE_GUI),) 37 TARGETS += gui lang lib examples37 TARGETS += gui lang lib instant examples 38 38 endif 39 39 … … 43 43 44 44 all: $(TARGETS) 45 46 src: 47 $(MAKE) -C src all 48 gui: 49 $(MAKE) -C gui all 50 lang: 51 $(MAKE) -C lang all 52 examples: 53 $(MAKE) -C examples all 54 lib: 55 $(MAKE) -C lib all 45 for i in $(TARGETS) ; do \ 46 $(MAKE) -C $$i all || exit 1 ;\ 47 done 56 48 test: 57 49 #$(MAKE) -C test all … … 62 54 done 63 55 64 clean: 65 $(MAKE) -C examples clean 66 $(MAKE) -C gui clean 67 $(MAKE) -C lang clean 68 $(MAKE) -C lib clean 69 $(MAKE) -C src clean 70 $(MAKE) -C test clean 56 clean: 57 $(RM) Makefile config.status config.log *~ 58 for i in $(TARGETS) ; do \ 59 $(MAKE) -C $$i clean || exit 1 ;\ 60 done 71 61 72 distclean: 73 $(MAKE) -C examples distclean 74 $(MAKE) -C gui distclean 75 $(MAKE) -C lang distclean 76 $(MAKE) -C lib distclean 77 $(MAKE) -C src distclean 78 $(MAKE) -C test distclean 62 distclean: clean 79 63 $(RM) Makefile config.status config.log *~ 64 for i in $(TARGETS) ; do \ 65 $(MAKE) -C $$i distclean || exit 1 ;\ 66 done 80 67 81 68 package: -
trunk/configure
r1723 r1733 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 1for Rappture 1.1.3 # Generated by GNU Autoconf 2.65 for Rappture 1.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 # 7 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 10 # Inc. 11 # 12 # 9 13 # This configure script is free software; the Free Software Foundation 10 14 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- -##12 ## M4sh Initialization. 13 ## -------------------- -##15 ## -------------------- ## 16 ## M4sh Initialization. ## 17 ## -------------------- ## 14 18 15 19 # Be more Bourne compatible 16 20 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 22 emulate sh 19 23 NULLCMD=: 20 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 25 # is contrary to our usage. Disable this feature. 22 26 alias -g '${1+"$@"}'='"$@"' 23 27 setopt NO_GLOB_SUBST 24 28 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 27 34 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 35 fi 36 37 38 as_nl=' 39 ' 40 export as_nl 41 # Printing a long string crashes Solaris 7 /usr/bin/printf. 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54 else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74 fi 41 75 42 76 # The user is always right. 43 77 if test "${PATH_SEPARATOR+set}" != set; then 44 echo "#! /bin/sh" >conf$$.sh 45 echo "exit 0" >>conf$$.sh 46 chmod +x conf$$.sh 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 48 PATH_SEPARATOR=';' 49 else 50 PATH_SEPARATOR=: 51 fi 52 rm -f conf$$.sh 53 fi 54 55 # Support unset when possible. 56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 57 as_unset=unset 58 else 59 as_unset=false 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 60 83 fi 61 84 … … 66 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 67 90 # splitting by setting IFS to empty value.) 68 as_nl='69 '70 91 IFS=" "" $as_nl" 71 92 72 93 # Find who we are. Look in the path if we contain no directory separator. 73 case $0 in 94 case $0 in #(( 74 95 *[\\/]* ) as_myself=$0 ;; 75 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 78 99 IFS=$as_save_IFS 79 100 test -z "$as_dir" && as_dir=. 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break81 done101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 82 103 IFS=$as_save_IFS 83 104 … … 90 111 fi 91 112 if test ! -f "$as_myself"; then 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 93 { (exit 1); exit 1; } 94 fi 95 96 # Work around bugs in pre-3.0 UWIN ksh. 97 for as_var in ENV MAIL MAILPATH 98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115 fi 116 117 # Unset variables that we do not need and which cause bugs (e.g. in 118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119 # suppresses any "Segmentation fault" message there. '((' could 120 # trigger a bug in pdksh 5.2.14. 121 for as_var in BASH_ENV ENV MAIL MAILPATH 122 do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 99 124 done 100 125 PS1='$ ' … … 103 128 104 129 # NLS nuisances. 105 for as_var in \ 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 108 LC_TELEPHONE LC_TIME 130 LC_ALL=C 131 export LC_ALL 132 LANGUAGE=C 133 export LANGUAGE 134 135 # CDPATH. 136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138 if test "x$CONFIG_SHELL" = x; then 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 140 emulate sh 141 NULLCMD=: 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 143 # is contrary to our usage. Disable this feature. 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' 145 setopt NO_GLOB_SUBST 146 else 147 case \`(set -o) 2>/dev/null\` in #( 148 *posix*) : 149 set -o posix ;; #( 150 *) : 151 ;; 152 esac 153 fi 154 " 155 as_required="as_fn_return () { (exit \$1); } 156 as_fn_success () { as_fn_return 0; } 157 as_fn_failure () { as_fn_return 1; } 158 as_fn_ret_success () { return 0; } 159 as_fn_ret_failure () { return 1; } 160 161 exitcode=0 162 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167 168 else 169 exitcode=1; echo positional parameters were not saved. 170 fi 171 test x\$exitcode = x0 || exit 1" 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176 test \$(( 1 + 1 )) = 2 || exit 1" 177 if (eval "$as_required") 2>/dev/null; then : 178 as_have_required=yes 179 else 180 as_have_required=no 181 fi 182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 183 184 else 185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 186 as_found=false 187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 109 188 do 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111 eval $as_var=C; export $as_var 189 IFS=$as_save_IFS 190 test -z "$as_dir" && as_dir=. 191 as_found=: 192 case $as_dir in #( 193 /*) 194 for as_base in sh bash ksh sh5; do 195 # Try only shells that exist, to save several forks. 196 as_shell=$as_dir/$as_base 197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 CONFIG_SHELL=$as_shell as_have_required=yes 200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 201 break 2 202 fi 203 fi 204 done;; 205 esac 206 as_found=false 207 done 208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 210 CONFIG_SHELL=$SHELL as_have_required=yes 211 fi; } 212 IFS=$as_save_IFS 213 214 215 if test "x$CONFIG_SHELL" != x; then : 216 # We cannot yet assume a decent shell, so we have to provide a 217 # neutralization value for shells without unset; and this also 218 # works around shells that cannot unset nonexistent variables. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 224 fi 225 226 if test x$as_have_required = xno; then : 227 $as_echo "$0: This script requires a shell more modern than all" 228 $as_echo "$0: the shells that I found on your system." 229 if test x${ZSH_VERSION+set} = xset ; then 230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 231 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 112 232 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 233 $as_echo "$0: Please tell bug-autoconf@gnu.org and 234 $0: rappture@nanohub.org about your system, including any 235 $0: error possibly output before this message. Then install 236 $0: a modern shell, or manually run the script under such a 237 $0: shell if you do have one." 114 238 fi 115 done 116 117 # Required to use basename. 239 exit 1 240 fi 241 fi 242 fi 243 SHELL=${CONFIG_SHELL-/bin/sh} 244 export SHELL 245 # Unset more variables known to interfere with behavior of common tools. 246 CLICOLOR_FORCE= GREP_OPTIONS= 247 unset CLICOLOR_FORCE GREP_OPTIONS 248 249 ## --------------------- ## 250 ## M4sh Shell Functions. ## 251 ## --------------------- ## 252 # as_fn_unset VAR 253 # --------------- 254 # Portably unset VAR. 255 as_fn_unset () 256 { 257 { eval $1=; unset $1;} 258 } 259 as_unset=as_fn_unset 260 261 # as_fn_set_status STATUS 262 # ----------------------- 263 # Set $? to STATUS, without forking. 264 as_fn_set_status () 265 { 266 return $1 267 } # as_fn_set_status 268 269 # as_fn_exit STATUS 270 # ----------------- 271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 272 as_fn_exit () 273 { 274 set +e 275 as_fn_set_status $1 276 exit $1 277 } # as_fn_exit 278 279 # as_fn_mkdir_p 280 # ------------- 281 # Create "$as_dir" as a directory, including parents if necessary. 282 as_fn_mkdir_p () 283 { 284 285 case $as_dir in #( 286 -*) as_dir=./$as_dir;; 287 esac 288 test -d "$as_dir" || eval $as_mkdir_p || { 289 as_dirs= 290 while :; do 291 case $as_dir in #( 292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 293 *) as_qdir=$as_dir;; 294 esac 295 as_dirs="'$as_qdir' $as_dirs" 296 as_dir=`$as_dirname -- "$as_dir" || 297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 298 X"$as_dir" : 'X\(//\)[^/]' \| \ 299 X"$as_dir" : 'X\(//\)$' \| \ 300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 301 $as_echo X"$as_dir" | 302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 303 s//\1/ 304 q 305 } 306 /^X\(\/\/\)[^/].*/{ 307 s//\1/ 308 q 309 } 310 /^X\(\/\/\)$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\).*/{ 315 s//\1/ 316 q 317 } 318 s/.*/./; q'` 319 test -d "$as_dir" && break 320 done 321 test -z "$as_dirs" || eval "mkdir $as_dirs" 322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 323 324 325 } # as_fn_mkdir_p 326 # as_fn_append VAR VALUE 327 # ---------------------- 328 # Append the text in VALUE to the end of the definition contained in VAR. Take 329 # advantage of any shell optimizations that allow amortized linear growth over 330 # repeated appends, instead of the typical quadratic growth present in naive 331 # implementations. 332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 333 eval 'as_fn_append () 334 { 335 eval $1+=\$2 336 }' 337 else 338 as_fn_append () 339 { 340 eval $1=\$$1\$2 341 } 342 fi # as_fn_append 343 344 # as_fn_arith ARG... 345 # ------------------ 346 # Perform arithmetic evaluation on the ARGs, and store the result in the 347 # global $as_val. Take advantage of shells that can avoid forks. The arguments 348 # must be portable across $(()) and expr. 349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 350 eval 'as_fn_arith () 351 { 352 as_val=$(( $* )) 353 }' 354 else 355 as_fn_arith () 356 { 357 as_val=`expr "$@" || test $? -eq 1` 358 } 359 fi # as_fn_arith 360 361 362 # as_fn_error ERROR [LINENO LOG_FD] 363 # --------------------------------- 364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 366 # script with status $?, using 1 if that was 0. 367 as_fn_error () 368 { 369 as_status=$?; test $as_status -eq 0 && as_status=1 370 if test "$3"; then 371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 373 fi 374 $as_echo "$as_me: error: $1" >&2 375 as_fn_exit $as_status 376 } # as_fn_error 377 118 378 if expr a : '\(a\)' >/dev/null 2>&1 && 119 379 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 129 389 fi 130 390 131 132 # Name of the executable. 391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 392 as_dirname=dirname 393 else 394 as_dirname=false 395 fi 396 133 397 as_me=`$as_basename -- "$0" || 134 398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 135 399 X"$0" : 'X\(//\)$' \| \ 136 400 X"$0" : 'X\(/\)' \| . 2>/dev/null || 137 echo X/"$0" |401 $as_echo X/"$0" | 138 402 sed '/^.*\/\([^/][^/]*\)\/*$/{ 139 403 s//\1/ … … 150 414 s/.*/./; q'` 151 415 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. :-) 416 # Avoid depending upon Character Ranges. 417 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 420 as_cr_digits='0123456789' 421 as_cr_alnum=$as_cr_Letters$as_cr_digits 422 423 424 as_lineno_1=$LINENO as_lineno_1a=$LINENO 425 as_lineno_2=$LINENO as_lineno_2a=$LINENO 426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 440 429 sed -n ' 441 430 p … … 454 443 ' >$as_me.lineno && 455 444 chmod +x "$as_me.lineno" || 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457 { (exit 1); exit 1; }; } 445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 458 446 459 447 # Don't try to exec as it changes $[0], causing all sort of problems … … 465 453 } 466 454 467 468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then469 as_dirname=dirname470 else471 as_dirname=false472 fi473 474 455 ECHO_C= ECHO_N= ECHO_T= 475 case `echo -n x` in 456 case `echo -n x` in #((((( 476 457 -n*) 477 case `echo 'x \c'` in458 case `echo 'xy\c'` in 478 459 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 460 xy) ECHO_C='\c';; 461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 462 ECHO_T=' ';; 480 463 esac;; 481 464 *) … … 483 466 esac 484 467 485 if expr a : '\(a\)' >/dev/null 2>&1 &&486 test "X`expr 00001 : '.*\(...\)'`" = X001; then487 as_expr=expr488 else489 as_expr=false490 fi491 492 468 rm -f conf$$ conf$$.exe conf$$.file 493 469 if test -d conf$$.dir; then … … 495 471 else 496 472 rm -f conf$$.dir 497 mkdir conf$$.dir 498 fi 499 echo >conf$$.file 500 if ln -s conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s='ln -s' 502 # ... but there are two gotchas: 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 505 # In both cases, we have to default to `cp -p'. 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 473 mkdir conf$$.dir 2>/dev/null 474 fi 475 if (echo >conf$$.file) 2>/dev/null; then 476 if ln -s conf$$.file conf$$ 2>/dev/null; then 477 as_ln_s='ln -s' 478 # ... but there are two gotchas: 479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 481 # In both cases, we have to default to `cp -p'. 482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 483 as_ln_s='cp -p' 484 elif ln conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s=ln 486 else 507 487 as_ln_s='cp -p' 508 elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 488 fi 510 489 else 511 490 as_ln_s='cp -p' … … 515 494 516 495 if mkdir -p . 2>/dev/null; then 517 as_mkdir_p= :496 as_mkdir_p='mkdir -p "$as_dir"' 518 497 else 519 498 test -d ./-p && rmdir ./-p … … 532 511 eval sh -c '\'' 533 512 if test -d "$1"; then 534 513 test -d "$1/."; 535 514 else 536 case $1 in 537 515 case $1 in #( 516 -*)set "./$1";; 538 517 esac; 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 540 519 ???[sx]*):;;*)false;;esac;fi 541 520 '\'' sh … … 551 530 552 531 553 554 exec 7<&0 </dev/null6>&1532 test -n "$DJDIR" || exec 7<&0 </dev/null 533 exec 6>&1 555 534 556 535 # Name of the host. … … 570 549 MFLAGS= 571 550 MAKEFLAGS= 572 SHELL=${CONFIG_SHELL-/bin/sh}573 551 574 552 # Identity of this package. … … 578 556 PACKAGE_STRING='Rappture 1.1' 579 557 PACKAGE_BUGREPORT='rappture@nanohub.org' 558 PACKAGE_URL='' 580 559 581 560 # Factoring default headers for most tests. … … 615 594 #endif" 616 595 617 ac_subst_vars='SHELL 596 enable_option_checking=no 597 ac_subst_vars='LTLIBOBJS 598 LIBOBJS 599 subdirs 600 LDFLAGS_DEFAULT 601 CFLAGS_DEFAULT 602 SIZEOF_VOID_P 603 SIZEOF_LONG_LONG 604 SIZEOF_LONG 605 SIZEOF_INT 606 TK_VERSION 607 TCL_VERSION 608 SHLIB_LDFLAGS 609 RP_BASE 610 JAVA_INC_SPEC 611 JAVA_INC_DIR 612 JAVA_HOME 613 JAVAH 614 JAVAC 615 JAVA 616 RUBY_PLATFORM 617 RUBY_VERSION_RV 618 HAVE_RUBY_DEVEL 619 RUBY_EXTRA_LIBS 620 RUBY_SITE_PKG 621 RUBY_LDFLAGS 622 RUBY_CPPFLAGS 623 AWK 624 RUBY_VERSION 625 SED 626 RUBY 627 HAVE_PYTHON_DISTUTILS 628 PYTHON_SITE_PACKAGES 629 PYTHON_INCLUDES 630 PYTHON_VERSION 631 pythondir 632 PYTHON_CPPFLAGS 633 PYTHON 634 PERL_LIBSPEC 635 PERL_VERSION_RV 636 PERL_INSTALLARCHLIB 637 PERL_PRIVLIB 638 PERL_VENDORLIB 639 PERL_CPPFLAGS 640 PERL_CCFLAGS 641 PERL_VERSION 642 PERL_ARCHLIBEXP 643 PERL_ARCHLIB 644 PERL_INCLUDES 645 PERL 646 OCTAVE_VERSION_MAJOR 647 OCTAVE_VERSION 648 MKOCTFILE 649 OCTAVE 650 MEX_ARCH 651 MCC 652 MEXEXT 653 MEX 654 MATLAB 655 VTKDIR 656 TCLSH 657 ENABLE_GUI 658 MAKE 659 INSTALL_STUB_LIB 660 INSTALL_LIB 661 MAKE_STUB_LIB 662 MAKE_LIB 663 SHLIB_SUFFIX 664 SHLIB_CFLAGS 665 SHLIB_LD_LIBS 666 TK_SHLIB_LD_EXTRAS 667 TCL_SHLIB_LD_EXTRAS 668 SHLIB_LD 669 STLIB_LD 670 LD_SEARCH_FLAGS 671 CC_SEARCH_FLAGS 672 LDFLAGS_OPTIMIZE 673 LDFLAGS_DEBUG 674 CFLAGS_WARNING 675 CFLAGS_OPTIMIZE 676 CFLAGS_DEBUG 677 PLAT_SRCS 678 PLAT_OBJS 679 DL_OBJS 680 DL_LIBS 681 AR 682 HAVE_INTTYPES_H 683 CXXCPP 684 EGREP 685 GREP 686 CPP 687 ac_ct_F77 688 FFLAGS 689 F77 690 MKDIR_P 691 LN_S 692 RANLIB 693 ac_ct_CXX 694 CXXFLAGS 695 CXX 696 OBJEXT 697 EXEEXT 698 ac_ct_CC 699 CPPFLAGS 700 LDFLAGS 701 CFLAGS 702 CC 703 SET_MAKE 704 INSTALL_DATA 705 INSTALL_SCRIPT 706 INSTALL_PROGRAM 707 LIB_SEARCH_DIRS 708 target_alias 709 host_alias 710 build_alias 711 LIBS 712 ECHO_T 713 ECHO_N 714 ECHO_C 715 DEFS 716 mandir 717 localedir 718 libdir 719 psdir 720 pdfdir 721 dvidir 722 htmldir 723 infodir 724 docdir 725 oldincludedir 726 includedir 727 localstatedir 728 sharedstatedir 729 sysconfdir 730 datadir 731 datarootdir 732 libexecdir 733 sbindir 734 bindir 735 program_transform_name 736 prefix 737 exec_prefix 738 PACKAGE_URL 739 PACKAGE_BUGREPORT 740 PACKAGE_STRING 741 PACKAGE_VERSION 742 PACKAGE_TARNAME 743 PACKAGE_NAME 618 744 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 LIB_SEARCH_DIRS 655 INSTALL_PROGRAM 656 INSTALL_SCRIPT 657 INSTALL_DATA 658 SET_MAKE 659 CC 660 CFLAGS 661 LDFLAGS 662 CPPFLAGS 663 ac_ct_CC 664 EXEEXT 665 OBJEXT 666 CXX 667 CXXFLAGS 668 ac_ct_CXX 669 RANLIB 670 LN_S 671 F77 672 FFLAGS 673 ac_ct_F77 674 CPP 675 GREP 676 EGREP 677 CXXCPP 678 HAVE_INTTYPES_H 679 AR 680 DL_LIBS 681 DL_OBJS 682 PLAT_OBJS 683 PLAT_SRCS 684 CFLAGS_DEBUG 685 CFLAGS_OPTIMIZE 686 CFLAGS_WARNING 687 LDFLAGS_DEBUG 688 LDFLAGS_OPTIMIZE 689 CC_SEARCH_FLAGS 690 LD_SEARCH_FLAGS 691 STLIB_LD 692 SHLIB_LD 693 TCL_SHLIB_LD_EXTRAS 694 TK_SHLIB_LD_EXTRAS 695 SHLIB_LD_LIBS 696 SHLIB_CFLAGS 697 SHLIB_SUFFIX 698 MAKE_LIB 699 MAKE_STUB_LIB 700 INSTALL_LIB 701 INSTALL_STUB_LIB 702 MAKE 703 ENABLE_GUI 704 TCLSH 705 VTKDIR 706 MATLAB 707 MEX 708 MEXEXT 709 MCC 710 MEX_ARCH 711 OCTAVE 712 MKOCTFILE 713 OCTAVE_VERSION 714 OCTAVE_VERSION_MAJOR 715 PERL 716 PERL_INCLUDES 717 PERL_ARCHLIB 718 PERL_ARCHLIBEXP 719 PERL_VERSION 720 PERL_CCFLAGS 721 PERL_CPPFLAGS 722 PERL_VENDORLIB 723 PERL_PRIVLIB 724 PERL_INSTALLARCHLIB 725 PERL_VERSION_RV 726 PERL_LIBSPEC 727 PYTHON 728 PYTHON_CPPFLAGS 729 pythondir 730 PYTHON_VERSION 731 PYTHON_INCLUDES 732 PYTHON_SITE_PACKAGES 733 HAVE_PYTHON_DISTUTILS 734 RUBY 735 SED 736 RUBY_VERSION 737 AWK 738 RUBY_CPPFLAGS 739 RUBY_LDFLAGS 740 RUBY_SITE_PKG 741 RUBY_EXTRA_LIBS 742 HAVE_RUBY_DEVEL 743 RUBY_VERSION_RV 744 RUBY_PLATFORM 745 JAVA 746 JAVAC 747 JAVAH 748 JAVA_HOME 749 JAVA_INCLUDES 750 RP_BASE 751 SHLIB_LDFLAGS 752 TCL_VERSION 753 TK_VERSION 754 SIZEOF_INT 755 SIZEOF_LONG 756 SIZEOF_LONG_LONG 757 SIZEOF_VOID_P 758 CFLAGS_DEFAULT 759 LDFLAGS_DEFAULT 760 subdirs 761 LIBOBJS 762 LTLIBOBJS' 745 SHELL' 763 746 ac_subst_files='' 747 ac_user_opts=' 748 enable_option_checking 749 enable_64bit 750 enable_64bit_vis 751 enable_corefoundation 752 enable_load 753 enable_gui 754 with_tclsh 755 with_vtk 756 with_matlab 757 with_octave 758 with_perl 759 with_python 760 with_ruby 761 with_java 762 enable_shared 763 enable_symbols 764 ' 764 765 ac_precious_vars='build_alias 765 766 host_alias … … 782 783 ac_init_help= 783 784 ac_init_version=false 785 ac_unrecognized_opts= 786 ac_unrecognized_sep= 784 787 # The variables have the same names as the options, with 785 788 # dashes changed to underlines. … … 880 883 881 884 -disable-* | --disable-*) 882 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`885 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 883 886 # Reject names that are not valid shell variable names. 884 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 885 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 886 { (exit 1); exit 1; }; } 887 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 888 eval enable_$ac_feature=no ;; 887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 888 as_fn_error "invalid feature name: $ac_useropt" 889 ac_useropt_orig=$ac_useropt 890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 891 case $ac_user_opts in 892 *" 893 "enable_$ac_useropt" 894 "*) ;; 895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 896 ac_unrecognized_sep=', ';; 897 esac 898 eval enable_$ac_useropt=no ;; 889 899 890 900 -docdir | --docdir | --docdi | --doc | --do) … … 899 909 900 910 -enable-* | --enable-*) 901 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`911 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 902 912 # Reject names that are not valid shell variable names. 903 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 904 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 905 { (exit 1); exit 1; }; } 906 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 907 eval enable_$ac_feature=\$ac_optarg ;; 913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 914 as_fn_error "invalid feature name: $ac_useropt" 915 ac_useropt_orig=$ac_useropt 916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 917 case $ac_user_opts in 918 *" 919 "enable_$ac_useropt" 920 "*) ;; 921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 922 ac_unrecognized_sep=', ';; 923 esac 924 eval enable_$ac_useropt=\$ac_optarg ;; 908 925 909 926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1096 1113 1097 1114 -with-* | --with-*) 1098 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1115 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1099 1116 # Reject names that are not valid shell variable names. 1100 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1101 { echo "$as_me: error: invalid package name: $ac_package" >&2 1102 { (exit 1); exit 1; }; } 1103 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1104 eval with_$ac_package=\$ac_optarg ;; 1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1118 as_fn_error "invalid package name: $ac_useropt" 1119 ac_useropt_orig=$ac_useropt 1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1121 case $ac_user_opts in 1122 *" 1123 "with_$ac_useropt" 1124 "*) ;; 1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1126 ac_unrecognized_sep=', ';; 1127 esac 1128 eval with_$ac_useropt=\$ac_optarg ;; 1105 1129 1106 1130 -without-* | --without-*) 1107 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1131 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1108 1132 # Reject names that are not valid shell variable names. 1109 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1110 { echo "$as_me: error: invalid package name: $ac_package" >&2 1111 { (exit 1); exit 1; }; } 1112 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1113 eval with_$ac_package=no ;; 1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1134 as_fn_error "invalid package name: $ac_useropt" 1135 ac_useropt_orig=$ac_useropt 1136 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1137 case $ac_user_opts in 1138 *" 1139 "with_$ac_useropt" 1140 "*) ;; 1141 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1142 ac_unrecognized_sep=', ';; 1143 esac 1144 eval with_$ac_useropt=no ;; 1114 1145 1115 1146 --x) … … 1131 1162 x_libraries=$ac_optarg ;; 1132 1163 1133 -*) { echo "$as_me: error: unrecognized option: $ac_option 1134 Try \`$0 --help' for more information." >&2 1135 { (exit 1); exit 1; }; } 1164 -*) as_fn_error "unrecognized option: \`$ac_option' 1165 Try \`$0 --help' for more information." 1136 1166 ;; 1137 1167 … … 1139 1169 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1140 1170 # Reject names that are not valid shell variable names. 1141 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1142 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1143 { (exit 1); exit 1; }; } 1171 case $ac_envvar in #( 1172 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1173 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1174 esac 1144 1175 eval $ac_envvar=\$ac_optarg 1145 1176 export $ac_envvar ;; … … 1147 1178 *) 1148 1179 # FIXME: should be removed in autoconf 3.0. 1149 echo "$as_me: WARNING: you should use --build, --host, --target" >&21180 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1150 1181 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1151 echo "$as_me: WARNING: invalid host type: $ac_option" >&21182 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1152 1183 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1153 1184 ;; … … 1158 1189 if test -n "$ac_prev"; then 1159 1190 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1160 { echo "$as_me: error: missing argument to $ac_option" >&2 1161 { (exit 1); exit 1; }; } 1162 fi 1163 1164 # Be sure to have absolute directory names. 1191 as_fn_error "missing argument to $ac_option" 1192 fi 1193 1194 if test -n "$ac_unrecognized_opts"; then 1195 case $enable_option_checking in 1196 no) ;; 1197 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1199 esac 1200 fi 1201 1202 # Check all directory arguments for consistency. 1165 1203 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1166 1204 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1169 1207 do 1170 1208 eval ac_val=\$$ac_var 1209 # Remove trailing slashes. 1210 case $ac_val in 1211 */ ) 1212 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1213 eval $ac_var=\$ac_val;; 1214 esac 1215 # Be sure to have absolute directory names. 1171 1216 case $ac_val in 1172 1217 [\\/$]* | ?:[\\/]* ) continue;; 1173 1218 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1174 1219 esac 1175 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1176 { (exit 1); exit 1; }; } 1220 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1177 1221 done 1178 1222 … … 1188 1232 if test "x$build_alias" = x; then 1189 1233 cross_compiling=maybe 1190 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1234 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1191 1235 If a cross compiler is detected then cross compile mode will be used." >&2 1192 1236 elif test "x$build_alias" != "x$host_alias"; then … … 1204 1248 ac_ls_di=`ls -di .` && 1205 1249 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1206 { echo "$as_me: error: Working directory cannot be determined" >&2 1207 { (exit 1); exit 1; }; } 1250 as_fn_error "working directory cannot be determined" 1208 1251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1209 { echo "$as_me: error: pwd does not report name of working directory" >&2 1210 { (exit 1); exit 1; }; } 1252 as_fn_error "pwd does not report name of working directory" 1211 1253 1212 1254 … … 1215 1257 ac_srcdir_defaulted=yes 1216 1258 # Try the directory containing this script, then the parent directory. 1217 ac_confdir=`$as_dirname -- "$ 0" ||1218 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1219 X"$ 0" : 'X\(//\)[^/]' \| \1220 X"$ 0" : 'X\(//\)$' \| \1221 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1222 echo X"$0" |1259 ac_confdir=`$as_dirname -- "$as_myself" || 1260 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1261 X"$as_myself" : 'X\(//\)[^/]' \| \ 1262 X"$as_myself" : 'X\(//\)$' \| \ 1263 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1264 $as_echo X"$as_myself" | 1223 1265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1224 1266 s//\1/ … … 1247 1289 if test ! -r "$srcdir/$ac_unique_file"; then 1248 1290 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1249 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1250 { (exit 1); exit 1; }; } 1291 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1251 1292 fi 1252 1293 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1253 1294 ac_abs_confdir=`( 1254 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1255 { (exit 1); exit 1; }; } 1295 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1256 1296 pwd)` 1257 1297 # When building in place, set srcdir=. … … 1301 1341 Installation directories: 1302 1342 --prefix=PREFIX install architecture-independent files in PREFIX 1303 1343 [$ac_default_prefix] 1304 1344 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1305 1345 [PREFIX] 1306 1346 1307 1347 By default, \`make install' will install all the files in … … 1313 1353 1314 1354 Fine tuning of the installation directories: 1315 --bindir=DIR user executables [EPREFIX/bin]1316 --sbindir=DIR system admin executables [EPREFIX/sbin]1317 --libexecdir=DIR program executables [EPREFIX/libexec]1318 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1319 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1320 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1321 --libdir=DIR object code libraries [EPREFIX/lib]1322 --includedir=DIR C header files [PREFIX/include]1323 --oldincludedir=DIR C header files for non-gcc [/usr/include]1324 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1325 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1326 --infodir=DIR info documentation [DATAROOTDIR/info]1327 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1328 --mandir=DIR man documentation [DATAROOTDIR/man]1329 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture]1330 --htmldir=DIR html documentation [DOCDIR]1331 --dvidir=DIR dvi documentation [DOCDIR]1332 --pdfdir=DIR pdf documentation [DOCDIR]1333 --psdir=DIR ps documentation [DOCDIR]1355 --bindir=DIR user executables [EPREFIX/bin] 1356 --sbindir=DIR system admin executables [EPREFIX/sbin] 1357 --libexecdir=DIR program executables [EPREFIX/libexec] 1358 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1359 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1360 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1361 --libdir=DIR object code libraries [EPREFIX/lib] 1362 --includedir=DIR C header files [PREFIX/include] 1363 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1364 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1365 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1366 --infodir=DIR info documentation [DATAROOTDIR/info] 1367 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1368 --mandir=DIR man documentation [DATAROOTDIR/man] 1369 --docdir=DIR documentation root [DATAROOTDIR/doc/rappture] 1370 --htmldir=DIR html documentation [DOCDIR] 1371 --dvidir=DIR dvi documentation [DOCDIR] 1372 --pdfdir=DIR pdf documentation [DOCDIR] 1373 --psdir=DIR ps documentation [DOCDIR] 1334 1374 _ACEOF 1335 1375 … … 1345 1385 1346 1386 Optional Features: 1387 --disable-option-checking ignore unrecognized --enable/--with options 1347 1388 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1348 1389 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1366 1407 --with-python=DIR location of python [default=yes] 1367 1408 --with-ruby=PATH absolute path to ruby executable 1409 --with-java=PATH absolute path to java executable 1368 1410 1369 1411 Some influential environment variables: … … 1373 1415 nonstandard directory <lib dir> 1374 1416 LIBS libraries to pass to the linker, e.g. -l<library> 1375 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1417 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1376 1418 you have headers in a nonstandard directory <include dir> 1377 1419 CXX C++ compiler command … … 1393 1435 # If there are subdirs, report their specific --help. 1394 1436 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1395 test -d "$ac_dir" || continue 1437 test -d "$ac_dir" || 1438 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1439 continue 1396 1440 ac_builddir=. 1397 1441 … … 1399 1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1400 1444 *) 1401 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1445 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1402 1446 # A ".." for each directory in $ac_dir_suffix. 1403 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1447 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1404 1448 case $ac_top_builddir_sub in 1405 1449 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1437 1481 $SHELL "$ac_srcdir/configure" --help=recursive 1438 1482 else 1439 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21483 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1440 1484 fi || ac_status=$? 1441 1485 cd "$ac_pwd" || { ac_status=$?; break; } … … 1447 1491 cat <<\_ACEOF 1448 1492 Rappture configure 1.1 1449 generated by GNU Autoconf 2.61 1450 1451 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1452 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1493 generated by GNU Autoconf 2.65 1494 1495 Copyright (C) 2009 Free Software Foundation, Inc. 1453 1496 This configure script is free software; the Free Software Foundation 1454 1497 gives unlimited permission to copy, distribute and modify it. … … 1456 1499 exit 1457 1500 fi 1501 1502 ## ------------------------ ## 1503 ## Autoconf initialization. ## 1504 ## ------------------------ ## 1505 1506 # ac_fn_c_try_compile LINENO 1507 # -------------------------- 1508 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1509 ac_fn_c_try_compile () 1510 { 1511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1512 rm -f conftest.$ac_objext 1513 if { { ac_try="$ac_compile" 1514 case "(($ac_try" in 1515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1516 *) ac_try_echo=$ac_try;; 1517 esac 1518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1519 $as_echo "$ac_try_echo"; } >&5 1520 (eval "$ac_compile") 2>conftest.err 1521 ac_status=$? 1522 if test -s conftest.err; then 1523 grep -v '^ *+' conftest.err >conftest.er1 1524 cat conftest.er1 >&5 1525 mv -f conftest.er1 conftest.err 1526 fi 1527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1528 test $ac_status = 0; } && { 1529 test -z "$ac_c_werror_flag" || 1530 test ! -s conftest.err 1531 } && test -s conftest.$ac_objext; then : 1532 ac_retval=0 1533 else 1534 $as_echo "$as_me: failed program was:" >&5 1535 sed 's/^/| /' conftest.$ac_ext >&5 1536 1537 ac_retval=1 1538 fi 1539 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1540 as_fn_set_status $ac_retval 1541 1542 } # ac_fn_c_try_compile 1543 1544 # ac_fn_cxx_try_compile LINENO 1545 # ---------------------------- 1546 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1547 ac_fn_cxx_try_compile () 1548 { 1549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1550 rm -f conftest.$ac_objext 1551 if { { ac_try="$ac_compile" 1552 case "(($ac_try" in 1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1554 *) ac_try_echo=$ac_try;; 1555 esac 1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1557 $as_echo "$ac_try_echo"; } >&5 1558 (eval "$ac_compile") 2>conftest.err 1559 ac_status=$? 1560 if test -s conftest.err; then 1561 grep -v '^ *+' conftest.err >conftest.er1 1562 cat conftest.er1 >&5 1563 mv -f conftest.er1 conftest.err 1564 fi 1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1566 test $ac_status = 0; } && { 1567 test -z "$ac_cxx_werror_flag" || 1568 test ! -s conftest.err 1569 } && test -s conftest.$ac_objext; then : 1570 ac_retval=0 1571 else 1572 $as_echo "$as_me: failed program was:" >&5 1573 sed 's/^/| /' conftest.$ac_ext >&5 1574 1575 ac_retval=1 1576 fi 1577 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1578 as_fn_set_status $ac_retval 1579 1580 } # ac_fn_cxx_try_compile 1581 1582 # ac_fn_f77_try_compile LINENO 1583 # ---------------------------- 1584 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1585 ac_fn_f77_try_compile () 1586 { 1587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1588 rm -f conftest.$ac_objext 1589 if { { ac_try="$ac_compile" 1590 case "(($ac_try" in 1591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1592 *) ac_try_echo=$ac_try;; 1593 esac 1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1595 $as_echo "$ac_try_echo"; } >&5 1596 (eval "$ac_compile") 2>conftest.err 1597 ac_status=$? 1598 if test -s conftest.err; then 1599 grep -v '^ *+' conftest.err >conftest.er1 1600 cat conftest.er1 >&5 1601 mv -f conftest.er1 conftest.err 1602 fi 1603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1604 test $ac_status = 0; } && { 1605 test -z "$ac_f77_werror_flag" || 1606 test ! -s conftest.err 1607 } && test -s conftest.$ac_objext; then : 1608 ac_retval=0 1609 else 1610 $as_echo "$as_me: failed program was:" >&5 1611 sed 's/^/| /' conftest.$ac_ext >&5 1612 1613 ac_retval=1 1614 fi 1615 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1616 as_fn_set_status $ac_retval 1617 1618 } # ac_fn_f77_try_compile 1619 1620 # ac_fn_c_try_cpp LINENO 1621 # ---------------------- 1622 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1623 ac_fn_c_try_cpp () 1624 { 1625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1626 if { { ac_try="$ac_cpp conftest.$ac_ext" 1627 case "(($ac_try" in 1628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1629 *) ac_try_echo=$ac_try;; 1630 esac 1631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1632 $as_echo "$ac_try_echo"; } >&5 1633 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1634 ac_status=$? 1635 if test -s conftest.err; then 1636 grep -v '^ *+' conftest.err >conftest.er1 1637 cat conftest.er1 >&5 1638 mv -f conftest.er1 conftest.err 1639 fi 1640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1641 test $ac_status = 0; } >/dev/null && { 1642 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1643 test ! -s conftest.err 1644 }; then : 1645 ac_retval=0 1646 else 1647 $as_echo "$as_me: failed program was:" >&5 1648 sed 's/^/| /' conftest.$ac_ext >&5 1649 1650 ac_retval=1 1651 fi 1652 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1653 as_fn_set_status $ac_retval 1654 1655 } # ac_fn_c_try_cpp 1656 1657 # ac_fn_c_try_run LINENO 1658 # ---------------------- 1659 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1660 # that executables *can* be run. 1661 ac_fn_c_try_run () 1662 { 1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1664 if { { ac_try="$ac_link" 1665 case "(($ac_try" in 1666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1667 *) ac_try_echo=$ac_try;; 1668 esac 1669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1670 $as_echo "$ac_try_echo"; } >&5 1671 (eval "$ac_link") 2>&5 1672 ac_status=$? 1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1674 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1675 { { case "(($ac_try" in 1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1677 *) ac_try_echo=$ac_try;; 1678 esac 1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1680 $as_echo "$ac_try_echo"; } >&5 1681 (eval "$ac_try") 2>&5 1682 ac_status=$? 1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1684 test $ac_status = 0; }; }; then : 1685 ac_retval=0 1686 else 1687 $as_echo "$as_me: program exited with status $ac_status" >&5 1688 $as_echo "$as_me: failed program was:" >&5 1689 sed 's/^/| /' conftest.$ac_ext >&5 1690 1691 ac_retval=$ac_status 1692 fi 1693 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1694 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1695 as_fn_set_status $ac_retval 1696 1697 } # ac_fn_c_try_run 1698 1699 # ac_fn_c_try_link LINENO 1700 # ----------------------- 1701 # Try to link conftest.$ac_ext, and return whether this succeeded. 1702 ac_fn_c_try_link () 1703 { 1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1705 rm -f conftest.$ac_objext conftest$ac_exeext 1706 if { { ac_try="$ac_link" 1707 case "(($ac_try" in 1708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1709 *) ac_try_echo=$ac_try;; 1710 esac 1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1712 $as_echo "$ac_try_echo"; } >&5 1713 (eval "$ac_link") 2>conftest.err 1714 ac_status=$? 1715 if test -s conftest.err; then 1716 grep -v '^ *+' conftest.err >conftest.er1 1717 cat conftest.er1 >&5 1718 mv -f conftest.er1 conftest.err 1719 fi 1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1721 test $ac_status = 0; } && { 1722 test -z "$ac_c_werror_flag" || 1723 test ! -s conftest.err 1724 } && test -s conftest$ac_exeext && { 1725 test "$cross_compiling" = yes || 1726 $as_test_x conftest$ac_exeext 1727 }; then : 1728 ac_retval=0 1729 else 1730 $as_echo "$as_me: failed program was:" >&5 1731 sed 's/^/| /' conftest.$ac_ext >&5 1732 1733 ac_retval=1 1734 fi 1735 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1736 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1737 # interfere with the next link command; also delete a directory that is 1738 # left behind by Apple's compiler. We do this before executing the actions. 1739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1741 as_fn_set_status $ac_retval 1742 1743 } # ac_fn_c_try_link 1744 1745 # ac_fn_c_check_func LINENO FUNC VAR 1746 # ---------------------------------- 1747 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1748 ac_fn_c_check_func () 1749 { 1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1752 $as_echo_n "checking for $2... " >&6; } 1753 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1754 $as_echo_n "(cached) " >&6 1755 else 1756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1757 /* end confdefs.h. */ 1758 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1759 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1760 #define $2 innocuous_$2 1761 1762 /* System header to define __stub macros and hopefully few prototypes, 1763 which can conflict with char $2 (); below. 1764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1765 <limits.h> exists even on freestanding compilers. */ 1766 1767 #ifdef __STDC__ 1768 # include <limits.h> 1769 #else 1770 # include <assert.h> 1771 #endif 1772 1773 #undef $2 1774 1775 /* Override any GCC internal prototype to avoid an error. 1776 Use char because int might match the return type of a GCC 1777 builtin and then its argument prototype would still apply. */ 1778 #ifdef __cplusplus 1779 extern "C" 1780 #endif 1781 char $2 (); 1782 /* The GNU C library defines this for functions which it implements 1783 to always fail with ENOSYS. Some functions are actually named 1784 something starting with __ and the normal name is an alias. */ 1785 #if defined __stub_$2 || defined __stub___$2 1786 choke me 1787 #endif 1788 1789 int 1790 main () 1791 { 1792 return $2 (); 1793 ; 1794 return 0; 1795 } 1796 _ACEOF 1797 if ac_fn_c_try_link "$LINENO"; then : 1798 eval "$3=yes" 1799 else 1800 eval "$3=no" 1801 fi 1802 rm -f core conftest.err conftest.$ac_objext \ 1803 conftest$ac_exeext conftest.$ac_ext 1804 fi 1805 eval ac_res=\$$3 1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1807 $as_echo "$ac_res" >&6; } 1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1809 1810 } # ac_fn_c_check_func 1811 1812 # ac_fn_cxx_try_link LINENO 1813 # ------------------------- 1814 # Try to link conftest.$ac_ext, and return whether this succeeded. 1815 ac_fn_cxx_try_link () 1816 { 1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1818 rm -f conftest.$ac_objext conftest$ac_exeext 1819 if { { ac_try="$ac_link" 1820 case "(($ac_try" in 1821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1822 *) ac_try_echo=$ac_try;; 1823 esac 1824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1825 $as_echo "$ac_try_echo"; } >&5 1826 (eval "$ac_link") 2>conftest.err 1827 ac_status=$? 1828 if test -s conftest.err; then 1829 grep -v '^ *+' conftest.err >conftest.er1 1830 cat conftest.er1 >&5 1831 mv -f conftest.er1 conftest.err 1832 fi 1833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1834 test $ac_status = 0; } && { 1835 test -z "$ac_cxx_werror_flag" || 1836 test ! -s conftest.err 1837 } && test -s conftest$ac_exeext && { 1838 test "$cross_compiling" = yes || 1839 $as_test_x conftest$ac_exeext 1840 }; then : 1841 ac_retval=0 1842 else 1843 $as_echo "$as_me: failed program was:" >&5 1844 sed 's/^/| /' conftest.$ac_ext >&5 1845 1846 ac_retval=1 1847 fi 1848 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1849 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1850 # interfere with the next link command; also delete a directory that is 1851 # left behind by Apple's compiler. We do this before executing the actions. 1852 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1853 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1854 as_fn_set_status $ac_retval 1855 1856 } # ac_fn_cxx_try_link 1857 1858 # ac_fn_cxx_check_func LINENO FUNC VAR 1859 # ------------------------------------ 1860 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1861 ac_fn_cxx_check_func () 1862 { 1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1865 $as_echo_n "checking for $2... " >&6; } 1866 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1867 $as_echo_n "(cached) " >&6 1868 else 1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1870 /* end confdefs.h. */ 1871 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1872 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1873 #define $2 innocuous_$2 1874 1875 /* System header to define __stub macros and hopefully few prototypes, 1876 which can conflict with char $2 (); below. 1877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1878 <limits.h> exists even on freestanding compilers. */ 1879 1880 #ifdef __STDC__ 1881 # include <limits.h> 1882 #else 1883 # include <assert.h> 1884 #endif 1885 1886 #undef $2 1887 1888 /* Override any GCC internal prototype to avoid an error. 1889 Use char because int might match the return type of a GCC 1890 builtin and then its argument prototype would still apply. */ 1891 #ifdef __cplusplus 1892 extern "C" 1893 #endif 1894 char $2 (); 1895 /* The GNU C library defines this for functions which it implements 1896 to always fail with ENOSYS. Some functions are actually named 1897 something starting with __ and the normal name is an alias. */ 1898 #if defined __stub_$2 || defined __stub___$2 1899 choke me 1900 #endif 1901 1902 int 1903 main () 1904 { 1905 return $2 (); 1906 ; 1907 return 0; 1908 } 1909 _ACEOF 1910 if ac_fn_cxx_try_link "$LINENO"; then : 1911 eval "$3=yes" 1912 else 1913 eval "$3=no" 1914 fi 1915 rm -f core conftest.err conftest.$ac_objext \ 1916 conftest$ac_exeext conftest.$ac_ext 1917 fi 1918 eval ac_res=\$$3 1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1920 $as_echo "$ac_res" >&6; } 1921 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1922 1923 } # ac_fn_cxx_check_func 1924 1925 # ac_fn_cxx_try_cpp LINENO 1926 # ------------------------ 1927 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1928 ac_fn_cxx_try_cpp () 1929 { 1930 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1931 if { { ac_try="$ac_cpp conftest.$ac_ext" 1932 case "(($ac_try" in 1933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1934 *) ac_try_echo=$ac_try;; 1935 esac 1936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1937 $as_echo "$ac_try_echo"; } >&5 1938 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1939 ac_status=$? 1940 if test -s conftest.err; then 1941 grep -v '^ *+' conftest.err >conftest.er1 1942 cat conftest.er1 >&5 1943 mv -f conftest.er1 conftest.err 1944 fi 1945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1946 test $ac_status = 0; } >/dev/null && { 1947 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1948 test ! -s conftest.err 1949 }; then : 1950 ac_retval=0 1951 else 1952 $as_echo "$as_me: failed program was:" >&5 1953 sed 's/^/| /' conftest.$ac_ext >&5 1954 1955 ac_retval=1 1956 fi 1957 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1958 as_fn_set_status $ac_retval 1959 1960 } # ac_fn_cxx_try_cpp 1961 1962 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1963 # --------------------------------------------------------- 1964 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1965 # the include files in INCLUDES and setting the cache variable VAR 1966 # accordingly. 1967 ac_fn_cxx_check_header_mongrel () 1968 { 1969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1970 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1972 $as_echo_n "checking for $2... " >&6; } 1973 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1974 $as_echo_n "(cached) " >&6 1975 fi 1976 eval ac_res=\$$3 1977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1978 $as_echo "$ac_res" >&6; } 1979 else 1980 # Is the header compilable? 1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1982 $as_echo_n "checking $2 usability... " >&6; } 1983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1984 /* end confdefs.h. */ 1985 $4 1986 #include <$2> 1987 _ACEOF 1988 if ac_fn_cxx_try_compile "$LINENO"; then : 1989 ac_header_compiler=yes 1990 else 1991 ac_header_compiler=no 1992 fi 1993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1995 $as_echo "$ac_header_compiler" >&6; } 1996 1997 # Is the header present? 1998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1999 $as_echo_n "checking $2 presence... " >&6; } 2000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2001 /* end confdefs.h. */ 2002 #include <$2> 2003 _ACEOF 2004 if ac_fn_cxx_try_cpp "$LINENO"; then : 2005 ac_header_preproc=yes 2006 else 2007 ac_header_preproc=no 2008 fi 2009 rm -f conftest.err conftest.$ac_ext 2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2011 $as_echo "$ac_header_preproc" >&6; } 2012 2013 # So? What about this header? 2014 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2015 yes:no: ) 2016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2017 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2019 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2020 ;; 2021 no:yes:* ) 2022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2023 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2025 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2027 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2029 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2031 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2032 ( cat <<\_ASBOX 2033 ## ----------------------------------- ## 2034 ## Report this to rappture@nanohub.org ## 2035 ## ----------------------------------- ## 2036 _ASBOX 2037 ) | sed "s/^/$as_me: WARNING: /" >&2 2038 ;; 2039 esac 2040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2041 $as_echo_n "checking for $2... " >&6; } 2042 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2043 $as_echo_n "(cached) " >&6 2044 else 2045 eval "$3=\$ac_header_compiler" 2046 fi 2047 eval ac_res=\$$3 2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2049 $as_echo "$ac_res" >&6; } 2050 fi 2051 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2052 2053 } # ac_fn_cxx_check_header_mongrel 2054 2055 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 2056 # --------------------------------------------------------- 2057 # Tests whether HEADER exists and can be compiled using the include files in 2058 # INCLUDES, setting the cache variable VAR accordingly. 2059 ac_fn_cxx_check_header_compile () 2060 { 2061 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2063 $as_echo_n "checking for $2... " >&6; } 2064 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2065 $as_echo_n "(cached) " >&6 2066 else 2067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2068 /* end confdefs.h. */ 2069 $4 2070 #include <$2> 2071 _ACEOF 2072 if ac_fn_cxx_try_compile "$LINENO"; then : 2073 eval "$3=yes" 2074 else 2075 eval "$3=no" 2076 fi 2077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2078 fi 2079 eval ac_res=\$$3 2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2081 $as_echo "$ac_res" >&6; } 2082 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2083 2084 } # ac_fn_cxx_check_header_compile 2085 2086 # ac_fn_cxx_try_run LINENO 2087 # ------------------------ 2088 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2089 # that executables *can* be run. 2090 ac_fn_cxx_try_run () 2091 { 2092 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2093 if { { ac_try="$ac_link" 2094 case "(($ac_try" in 2095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2096 *) ac_try_echo=$ac_try;; 2097 esac 2098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2099 $as_echo "$ac_try_echo"; } >&5 2100 (eval "$ac_link") 2>&5 2101 ac_status=$? 2102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2103 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2104 { { case "(($ac_try" in 2105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2106 *) ac_try_echo=$ac_try;; 2107 esac 2108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2109 $as_echo "$ac_try_echo"; } >&5 2110 (eval "$ac_try") 2>&5 2111 ac_status=$? 2112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2113 test $ac_status = 0; }; }; then : 2114 ac_retval=0 2115 else 2116 $as_echo "$as_me: program exited with status $ac_status" >&5 2117 $as_echo "$as_me: failed program was:" >&5 2118 sed 's/^/| /' conftest.$ac_ext >&5 2119 2120 ac_retval=$ac_status 2121 fi 2122 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2123 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2124 as_fn_set_status $ac_retval 2125 2126 } # ac_fn_cxx_try_run 2127 2128 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 2129 # ---------------------------------------------- 2130 # Tries to find the compile-time value of EXPR in a program that includes 2131 # INCLUDES, setting VAR accordingly. Returns whether the value could be 2132 # computed 2133 ac_fn_cxx_compute_int () 2134 { 2135 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2136 if test "$cross_compiling" = yes; then 2137 # Depending upon the size, compute the lo and hi bounds. 2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2139 /* end confdefs.h. */ 2140 $4 2141 int 2142 main () 2143 { 2144 static int test_array [1 - 2 * !(($2) >= 0)]; 2145 test_array [0] = 0 2146 2147 ; 2148 return 0; 2149 } 2150 _ACEOF 2151 if ac_fn_cxx_try_compile "$LINENO"; then : 2152 ac_lo=0 ac_mid=0 2153 while :; do 2154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2155 /* end confdefs.h. */ 2156 $4 2157 int 2158 main () 2159 { 2160 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2161 test_array [0] = 0 2162 2163 ; 2164 return 0; 2165 } 2166 _ACEOF 2167 if ac_fn_cxx_try_compile "$LINENO"; then : 2168 ac_hi=$ac_mid; break 2169 else 2170 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2171 if test $ac_lo -le $ac_mid; then 2172 ac_lo= ac_hi= 2173 break 2174 fi 2175 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2176 fi 2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2178 done 2179 else 2180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2181 /* end confdefs.h. */ 2182 $4 2183 int 2184 main () 2185 { 2186 static int test_array [1 - 2 * !(($2) < 0)]; 2187 test_array [0] = 0 2188 2189 ; 2190 return 0; 2191 } 2192 _ACEOF 2193 if ac_fn_cxx_try_compile "$LINENO"; then : 2194 ac_hi=-1 ac_mid=-1 2195 while :; do 2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2197 /* end confdefs.h. */ 2198 $4 2199 int 2200 main () 2201 { 2202 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2203 test_array [0] = 0 2204 2205 ; 2206 return 0; 2207 } 2208 _ACEOF 2209 if ac_fn_cxx_try_compile "$LINENO"; then : 2210 ac_lo=$ac_mid; break 2211 else 2212 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2213 if test $ac_mid -le $ac_hi; then 2214 ac_lo= ac_hi= 2215 break 2216 fi 2217 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2218 fi 2219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2220 done 2221 else 2222 ac_lo= ac_hi= 2223 fi 2224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2225 fi 2226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2227 # Binary search between lo and hi bounds. 2228 while test "x$ac_lo" != "x$ac_hi"; do 2229 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2231 /* end confdefs.h. */ 2232 $4 2233 int 2234 main () 2235 { 2236 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2237 test_array [0] = 0 2238 2239 ; 2240 return 0; 2241 } 2242 _ACEOF 2243 if ac_fn_cxx_try_compile "$LINENO"; then : 2244 ac_hi=$ac_mid 2245 else 2246 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2247 fi 2248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2249 done 2250 case $ac_lo in #(( 2251 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2252 '') ac_retval=1 ;; 2253 esac 2254 else 2255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2256 /* end confdefs.h. */ 2257 $4 2258 static long int longval () { return $2; } 2259 static unsigned long int ulongval () { return $2; } 2260 #include <stdio.h> 2261 #include <stdlib.h> 2262 int 2263 main () 2264 { 2265 2266 FILE *f = fopen ("conftest.val", "w"); 2267 if (! f) 2268 return 1; 2269 if (($2) < 0) 2270 { 2271 long int i = longval (); 2272 if (i != ($2)) 2273 return 1; 2274 fprintf (f, "%ld", i); 2275 } 2276 else 2277 { 2278 unsigned long int i = ulongval (); 2279 if (i != ($2)) 2280 return 1; 2281 fprintf (f, "%lu", i); 2282 } 2283 /* Do not output a trailing newline, as this causes \r\n confusion 2284 on some platforms. */ 2285 return ferror (f) || fclose (f) != 0; 2286 2287 ; 2288 return 0; 2289 } 2290 _ACEOF 2291 if ac_fn_cxx_try_run "$LINENO"; then : 2292 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2293 else 2294 ac_retval=1 2295 fi 2296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2297 conftest.$ac_objext conftest.beam conftest.$ac_ext 2298 rm -f conftest.val 2299 2300 fi 2301 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2302 as_fn_set_status $ac_retval 2303 2304 } # ac_fn_cxx_compute_int 1458 2305 cat >config.log <<_ACEOF 1459 2306 This file contains any messages produced by compilers while … … 1461 2308 1462 2309 It was created by Rappture $as_me 1.1, which was 1463 generated by GNU Autoconf 2.6 1. Invocation command line was2310 generated by GNU Autoconf 2.65. Invocation command line was 1464 2311 1465 2312 $ $0 $@ … … 1497 2344 IFS=$as_save_IFS 1498 2345 test -z "$as_dir" && as_dir=. 1499 echo "PATH: $as_dir"1500 done2346 $as_echo "PATH: $as_dir" 2347 done 1501 2348 IFS=$as_save_IFS 1502 2349 … … 1532 2379 continue ;; 1533 2380 *\'*) 1534 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2381 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1535 2382 esac 1536 2383 case $ac_pass in 1537 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2384 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1538 2385 2) 1539 a c_configure_args1="$ac_configure_args1'$ac_arg'"2386 as_fn_append ac_configure_args1 " '$ac_arg'" 1540 2387 if test $ac_must_keep_next = true; then 1541 2388 ac_must_keep_next=false # Got value, back to normal. … … 1553 2400 esac 1554 2401 fi 1555 a c_configure_args="$ac_configure_args'$ac_arg'"2402 as_fn_append ac_configure_args " '$ac_arg'" 1556 2403 ;; 1557 2404 esac 1558 2405 done 1559 2406 done 1560 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1561 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2407 { ac_configure_args0=; unset ac_configure_args0;} 2408 { ac_configure_args1=; unset ac_configure_args1;} 1562 2409 1563 2410 # When interrupted or exit'd, cleanup temporary files, and complete … … 1584 2431 *${as_nl}*) 1585 2432 case $ac_var in #( 1586 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51587 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2433 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2434 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1588 2435 esac 1589 2436 case $ac_var in #( 1590 2437 _ | IFS | as_nl) ;; #( 1591 *) $as_unset $ac_var ;; 2438 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2439 *) { eval $ac_var=; unset $ac_var;} ;; 1592 2440 esac ;; 1593 2441 esac … … 1618 2466 eval ac_val=\$$ac_var 1619 2467 case $ac_val in 1620 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2468 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1621 2469 esac 1622 echo "$ac_var='\''$ac_val'\''"2470 $as_echo "$ac_var='\''$ac_val'\''" 1623 2471 done | sort 1624 2472 echo … … 1635 2483 eval ac_val=\$$ac_var 1636 2484 case $ac_val in 1637 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2485 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1638 2486 esac 1639 echo "$ac_var='\''$ac_val'\''"2487 $as_echo "$ac_var='\''$ac_val'\''" 1640 2488 done | sort 1641 2489 echo … … 1653 2501 fi 1654 2502 test "$ac_signal" != 0 && 1655 echo "$as_me: caught signal $ac_signal"1656 echo "$as_me: exit $exit_status"2503 $as_echo "$as_me: caught signal $ac_signal" 2504 $as_echo "$as_me: exit $exit_status" 1657 2505 } >&5 1658 2506 rm -f core *.core core.conftest.* && … … 1661 2509 ' 0 1662 2510 for ac_signal in 1 2 13 15; do 1663 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2511 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1664 2512 done 1665 2513 ac_signal=0 … … 1668 2516 rm -f -r conftest* confdefs.h 1669 2517 2518 $as_echo "/* confdefs.h */" > confdefs.h 2519 1670 2520 # Predefined preprocessor variables. 1671 2521 … … 1674 2524 _ACEOF 1675 2525 1676 1677 2526 cat >>confdefs.h <<_ACEOF 1678 2527 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1679 2528 _ACEOF 1680 2529 1681 1682 2530 cat >>confdefs.h <<_ACEOF 1683 2531 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1684 2532 _ACEOF 1685 2533 1686 1687 2534 cat >>confdefs.h <<_ACEOF 1688 2535 #define PACKAGE_STRING "$PACKAGE_STRING" 1689 2536 _ACEOF 1690 2537 1691 1692 2538 cat >>confdefs.h <<_ACEOF 1693 2539 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1694 2540 _ACEOF 1695 2541 2542 cat >>confdefs.h <<_ACEOF 2543 #define PACKAGE_URL "$PACKAGE_URL" 2544 _ACEOF 2545 1696 2546 1697 2547 # Let the site file select an alternate cache file if it wants to. 1698 # Prefer explicitly selected file to automatically selected ones. 2548 # Prefer an explicitly selected file to automatically selected ones. 2549 ac_site_file1=NONE 2550 ac_site_file2=NONE 1699 2551 if test -n "$CONFIG_SITE"; then 1700 set x "$CONFIG_SITE"2552 ac_site_file1=$CONFIG_SITE 1701 2553 elif test "x$prefix" != xNONE; then 1702 set x "$prefix/share/config.site" "$prefix/etc/config.site"1703 else1704 set x "$ac_default_prefix/share/config.site" \ 1705 "$ac_default_prefix/etc/config.site" 1706 fi 1707 shift 1708 for ac_site_file 2554 ac_site_file1=$prefix/share/config.site 2555 ac_site_file2=$prefix/etc/config.site 2556 else 2557 ac_site_file1=$ac_default_prefix/share/config.site 2558 ac_site_file2=$ac_default_prefix/etc/config.site 2559 fi 2560 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1709 2561 do 1710 if test -r "$ac_site_file"; then 1711 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1712 echo "$as_me: loading site script $ac_site_file" >&6;} 2562 test "x$ac_site_file" = xNONE && continue 2563 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2564 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2565 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1713 2566 sed 's/^/| /' "$ac_site_file" >&5 1714 2567 . "$ac_site_file" … … 1717 2570 1718 2571 if test -r "$cache_file"; then 1719 # Some versions of bash will fail to source /dev/null (special 1720 # files actually), so we avoid doing that.1721 if test -f "$cache_file"; then1722 { echo "$as_me:$LINENO: loading cache $cache_file" >&51723 echo "$as_me: loading cache $cache_file" >&6;}2572 # Some versions of bash will fail to source /dev/null (special files 2573 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2574 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2575 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2576 $as_echo "$as_me: loading cache $cache_file" >&6;} 1724 2577 case $cache_file in 1725 2578 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1728 2581 fi 1729 2582 else 1730 { echo "$as_me:$LINENO: creating cache $cache_file" >&51731 echo "$as_me: creating cache $cache_file" >&6;}2583 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2584 $as_echo "$as_me: creating cache $cache_file" >&6;} 1732 2585 >$cache_file 1733 2586 fi … … 1743 2596 case $ac_old_set,$ac_new_set in 1744 2597 set,) 1745 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51746 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2598 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2599 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1747 2600 ac_cache_corrupted=: ;; 1748 2601 ,set) 1749 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51750 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2602 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2603 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1751 2604 ac_cache_corrupted=: ;; 1752 2605 ,);; 1753 2606 *) 1754 2607 if test "x$ac_old_val" != "x$ac_new_val"; then 1755 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1756 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1757 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1758 echo "$as_me: former value: $ac_old_val" >&2;} 1759 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1760 echo "$as_me: current value: $ac_new_val" >&2;} 1761 ac_cache_corrupted=: 2608 # differences in whitespace do not lead to failure. 2609 ac_old_val_w=`echo x $ac_old_val` 2610 ac_new_val_w=`echo x $ac_new_val` 2611 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2613 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2614 ac_cache_corrupted=: 2615 else 2616 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2617 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2618 eval $ac_var=\$ac_old_val 2619 fi 2620 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2621 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2622 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2623 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1762 2624 fi;; 1763 2625 esac … … 1765 2627 if test "$ac_new_set" = set; then 1766 2628 case $ac_new_val in 1767 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2629 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1768 2630 *) ac_arg=$ac_var=$ac_new_val ;; 1769 2631 esac 1770 2632 case " $ac_configure_args " in 1771 2633 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1772 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2634 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1773 2635 esac 1774 2636 fi 1775 2637 done 1776 2638 if $ac_cache_corrupted; then 1777 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1778 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1779 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1780 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1781 { (exit 1); exit 1; }; } 1782 fi 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 2639 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2641 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2642 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2643 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2644 fi 2645 ## -------------------- ## 2646 ## Main body of script. ## 2647 ## -------------------- ## 1807 2648 1808 2649 ac_ext=c … … 1815 2656 ac_aux_dir= 1816 2657 for ac_dir in cf "$srcdir"/cf; do 1817 if test -f "$ac_dir/install-sh"; then 1818 ac_aux_dir=$ac_dir 1819 ac_install_sh="$ac_aux_dir/install-sh -c" 1820 break 1821 elif test -f "$ac_dir/install.sh"; then 1822 ac_aux_dir=$ac_dir 1823 ac_install_sh="$ac_aux_dir/install.sh -c" 1824 break 1825 elif test -f "$ac_dir/shtool"; then 1826 ac_aux_dir=$ac_dir 1827 ac_install_sh="$ac_aux_dir/shtool install -c" 1828 break 1829 fi 2658 for ac_t in install-sh install.sh shtool; do 2659 if test -f "$ac_dir/$ac_t"; then 2660 ac_aux_dir=$ac_dir 2661 ac_install_sh="$ac_aux_dir/$ac_t -c" 2662 break 2 2663 fi 2664 done 1830 2665 done 1831 2666 if test -z "$ac_aux_dir"; then 1832 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1833 echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1834 { (exit 1); exit 1; }; } 2667 as_fn_error "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1835 2668 fi 1836 2669 … … 1879 2712 # OS/2's system install, which has a completely different semantic 1880 2713 # ./install, which can be erroneously created by make from ./install.sh. 1881 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1882 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2714 # Reject install programs that cannot install multiple files. 2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2716 $as_echo_n "checking for a BSD-compatible install... " >&6; } 1883 2717 if test -z "$INSTALL"; then 1884 if test "${ac_cv_path_install+set}" = set; then 1885 echo $ECHO_N "(cached) $ECHO_C" >&62718 if test "${ac_cv_path_install+set}" = set; then : 2719 $as_echo_n "(cached) " >&6 1886 2720 else 1887 2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 1890 2724 IFS=$as_save_IFS 1891 2725 test -z "$as_dir" && as_dir=. 1892 # Account for people who put trailing slashes in PATH elements.1893 case $as_dir/ in 1894 ./ | .// | / cC/* | \2726 # Account for people who put trailing slashes in PATH elements. 2727 case $as_dir/ in #(( 2728 ./ | .// | /[cC]/* | \ 1895 2729 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1896 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2730 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1897 2731 /usr/ucb/* ) ;; 1898 2732 *) … … 1912 2746 : 1913 2747 else 1914 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1915 break 3 2748 rm -rf conftest.one conftest.two conftest.dir 2749 echo one > conftest.one 2750 echo two > conftest.two 2751 mkdir conftest.dir 2752 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2753 test -s conftest.one && test -s conftest.two && 2754 test -s conftest.dir/conftest.one && 2755 test -s conftest.dir/conftest.two 2756 then 2757 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2758 break 3 2759 fi 1916 2760 fi 1917 2761 fi … … 1920 2764 ;; 1921 2765 esac 1922 done 2766 2767 done 1923 2768 IFS=$as_save_IFS 1924 2769 2770 rm -rf conftest.one conftest.two conftest.dir 1925 2771 1926 2772 fi … … 1935 2781 fi 1936 2782 fi 1937 { echo "$as_me:$LINENO: result: $INSTALL" >&51938 echo "${ECHO_T}$INSTALL" >&6; }2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2784 $as_echo "$INSTALL" >&6; } 1939 2785 1940 2786 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1946 2792 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1947 2793 1948 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1949 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1950 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1951 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1952 echo $ECHO_N "(cached) $ECHO_C" >&6 2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2795 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2796 set x ${MAKE-make} 2797 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2798 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2799 $as_echo_n "(cached) " >&6 1953 2800 else 1954 2801 cat >conftest.make <<\_ACEOF … … 1967 2814 fi 1968 2815 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 1969 { echo "$as_me:$LINENO: result: yes" >&51970 echo "${ECHO_T}yes" >&6; }2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2817 $as_echo "yes" >&6; } 1971 2818 SET_MAKE= 1972 2819 else 1973 { echo "$as_me:$LINENO: result: no" >&51974 echo "${ECHO_T}no" >&6; }2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2821 $as_echo "no" >&6; } 1975 2822 SET_MAKE="MAKE=${MAKE-make}" 1976 2823 fi … … 1986 2833 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1987 2834 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1988 { echo "$as_me:$LINENO: checking for $ac_word" >&51989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1990 if test "${ac_cv_prog_CC+set}" = set; then 1991 echo $ECHO_N "(cached) $ECHO_C" >&62835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2836 $as_echo_n "checking for $ac_word... " >&6; } 2837 if test "${ac_cv_prog_CC+set}" = set; then : 2838 $as_echo_n "(cached) " >&6 1992 2839 else 1993 2840 if test -n "$CC"; then … … 1999 2846 IFS=$as_save_IFS 2000 2847 test -z "$as_dir" && as_dir=. 2001 for ac_exec_ext in '' $ac_executable_extensions; do2848 for ac_exec_ext in '' $ac_executable_extensions; do 2002 2849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2003 2850 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2005 2852 break 2 2006 2853 fi 2007 2854 done 2008 done2855 done 2009 2856 IFS=$as_save_IFS 2010 2857 … … 2013 2860 CC=$ac_cv_prog_CC 2014 2861 if test -n "$CC"; then 2015 { echo "$as_me:$LINENO: result: $CC" >&52016 echo "${ECHO_T}$CC" >&6; }2017 else 2018 { echo "$as_me:$LINENO: result: no" >&52019 echo "${ECHO_T}no" >&6; }2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2863 $as_echo "$CC" >&6; } 2864 else 2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2866 $as_echo "no" >&6; } 2020 2867 fi 2021 2868 … … 2026 2873 # Extract the first word of "gcc", so it can be a program name with args. 2027 2874 set dummy gcc; ac_word=$2 2028 { echo "$as_me:$LINENO: checking for $ac_word" >&52029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2030 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2031 echo $ECHO_N "(cached) $ECHO_C" >&62875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2876 $as_echo_n "checking for $ac_word... " >&6; } 2877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2878 $as_echo_n "(cached) " >&6 2032 2879 else 2033 2880 if test -n "$ac_ct_CC"; then … … 2039 2886 IFS=$as_save_IFS 2040 2887 test -z "$as_dir" && as_dir=. 2041 for ac_exec_ext in '' $ac_executable_extensions; do2888 for ac_exec_ext in '' $ac_executable_extensions; do 2042 2889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2043 2890 ac_cv_prog_ac_ct_CC="gcc" 2044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2045 2892 break 2 2046 2893 fi 2047 2894 done 2048 done2895 done 2049 2896 IFS=$as_save_IFS 2050 2897 … … 2053 2900 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2054 2901 if test -n "$ac_ct_CC"; then 2055 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52056 echo "${ECHO_T}$ac_ct_CC" >&6; }2057 else 2058 { echo "$as_me:$LINENO: result: no" >&52059 echo "${ECHO_T}no" >&6; }2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2903 $as_echo "$ac_ct_CC" >&6; } 2904 else 2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2906 $as_echo "no" >&6; } 2060 2907 fi 2061 2908 … … 2065 2912 case $cross_compiling:$ac_tool_warned in 2066 2913 yes:) 2067 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2068 whose name does not start with the host triplet. If you think this 2069 configuration is useful to you, please write to autoconf@gnu.org." >&5 2070 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2071 whose name does not start with the host triplet. If you think this 2072 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2073 2916 ac_tool_warned=yes ;; 2074 2917 esac … … 2083 2926 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2084 2927 set dummy ${ac_tool_prefix}cc; ac_word=$2 2085 { echo "$as_me:$LINENO: checking for $ac_word" >&52086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2087 if test "${ac_cv_prog_CC+set}" = set; then 2088 echo $ECHO_N "(cached) $ECHO_C" >&62928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2929 $as_echo_n "checking for $ac_word... " >&6; } 2930 if test "${ac_cv_prog_CC+set}" = set; then : 2931 $as_echo_n "(cached) " >&6 2089 2932 else 2090 2933 if test -n "$CC"; then … … 2096 2939 IFS=$as_save_IFS 2097 2940 test -z "$as_dir" && as_dir=. 2098 for ac_exec_ext in '' $ac_executable_extensions; do2941 for ac_exec_ext in '' $ac_executable_extensions; do 2099 2942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2100 2943 ac_cv_prog_CC="${ac_tool_prefix}cc" 2101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2102 2945 break 2 2103 2946 fi 2104 2947 done 2105 done2948 done 2106 2949 IFS=$as_save_IFS 2107 2950 … … 2110 2953 CC=$ac_cv_prog_CC 2111 2954 if test -n "$CC"; then 2112 { echo "$as_me:$LINENO: result: $CC" >&52113 echo "${ECHO_T}$CC" >&6; }2114 else 2115 { echo "$as_me:$LINENO: result: no" >&52116 echo "${ECHO_T}no" >&6; }2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2956 $as_echo "$CC" >&6; } 2957 else 2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2959 $as_echo "no" >&6; } 2117 2960 fi 2118 2961 … … 2123 2966 # Extract the first word of "cc", so it can be a program name with args. 2124 2967 set dummy cc; ac_word=$2 2125 { echo "$as_me:$LINENO: checking for $ac_word" >&52126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2127 if test "${ac_cv_prog_CC+set}" = set; then 2128 echo $ECHO_N "(cached) $ECHO_C" >&62968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2969 $as_echo_n "checking for $ac_word... " >&6; } 2970 if test "${ac_cv_prog_CC+set}" = set; then : 2971 $as_echo_n "(cached) " >&6 2129 2972 else 2130 2973 if test -n "$CC"; then … … 2137 2980 IFS=$as_save_IFS 2138 2981 test -z "$as_dir" && as_dir=. 2139 for ac_exec_ext in '' $ac_executable_extensions; do2982 for ac_exec_ext in '' $ac_executable_extensions; do 2140 2983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2141 2984 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2144 2987 fi 2145 2988 ac_cv_prog_CC="cc" 2146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2147 2990 break 2 2148 2991 fi 2149 2992 done 2150 done2993 done 2151 2994 IFS=$as_save_IFS 2152 2995 … … 2167 3010 CC=$ac_cv_prog_CC 2168 3011 if test -n "$CC"; then 2169 { echo "$as_me:$LINENO: result: $CC" >&52170 echo "${ECHO_T}$CC" >&6; }2171 else 2172 { echo "$as_me:$LINENO: result: no" >&52173 echo "${ECHO_T}no" >&6; }3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3013 $as_echo "$CC" >&6; } 3014 else 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3016 $as_echo "no" >&6; } 2174 3017 fi 2175 3018 … … 2182 3025 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2183 3026 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2184 { echo "$as_me:$LINENO: checking for $ac_word" >&52185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2186 if test "${ac_cv_prog_CC+set}" = set; then 2187 echo $ECHO_N "(cached) $ECHO_C" >&63027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3028 $as_echo_n "checking for $ac_word... " >&6; } 3029 if test "${ac_cv_prog_CC+set}" = set; then : 3030 $as_echo_n "(cached) " >&6 2188 3031 else 2189 3032 if test -n "$CC"; then … … 2195 3038 IFS=$as_save_IFS 2196 3039 test -z "$as_dir" && as_dir=. 2197 for ac_exec_ext in '' $ac_executable_extensions; do3040 for ac_exec_ext in '' $ac_executable_extensions; do 2198 3041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2199 3042 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2201 3044 break 2 2202 3045 fi 2203 3046 done 2204 done3047 done 2205 3048 IFS=$as_save_IFS 2206 3049 … … 2209 3052 CC=$ac_cv_prog_CC 2210 3053 if test -n "$CC"; then 2211 { echo "$as_me:$LINENO: result: $CC" >&52212 echo "${ECHO_T}$CC" >&6; }2213 else 2214 { echo "$as_me:$LINENO: result: no" >&52215 echo "${ECHO_T}no" >&6; }3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3055 $as_echo "$CC" >&6; } 3056 else 3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3058 $as_echo "no" >&6; } 2216 3059 fi 2217 3060 … … 2226 3069 # Extract the first word of "$ac_prog", so it can be a program name with args. 2227 3070 set dummy $ac_prog; ac_word=$2 2228 { echo "$as_me:$LINENO: checking for $ac_word" >&52229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2230 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2231 echo $ECHO_N "(cached) $ECHO_C" >&63071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3072 $as_echo_n "checking for $ac_word... " >&6; } 3073 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3074 $as_echo_n "(cached) " >&6 2232 3075 else 2233 3076 if test -n "$ac_ct_CC"; then … … 2239 3082 IFS=$as_save_IFS 2240 3083 test -z "$as_dir" && as_dir=. 2241 for ac_exec_ext in '' $ac_executable_extensions; do3084 for ac_exec_ext in '' $ac_executable_extensions; do 2242 3085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2243 3086 ac_cv_prog_ac_ct_CC="$ac_prog" 2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2245 3088 break 2 2246 3089 fi 2247 3090 done 2248 done3091 done 2249 3092 IFS=$as_save_IFS 2250 3093 … … 2253 3096 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2254 3097 if test -n "$ac_ct_CC"; then 2255 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52256 echo "${ECHO_T}$ac_ct_CC" >&6; }2257 else 2258 { echo "$as_me:$LINENO: result: no" >&52259 echo "${ECHO_T}no" >&6; }3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3099 $as_echo "$ac_ct_CC" >&6; } 3100 else 3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3102 $as_echo "no" >&6; } 2260 3103 fi 2261 3104 … … 2269 3112 case $cross_compiling:$ac_tool_warned in 2270 3113 yes:) 2271 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2272 whose name does not start with the host triplet. If you think this 2273 configuration is useful to you, please write to autoconf@gnu.org." >&5 2274 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2275 whose name does not start with the host triplet. If you think this 2276 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2277 3116 ac_tool_warned=yes ;; 2278 3117 esac … … 2284 3123 2285 3124 2286 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2287 See \`config.log' for more details." >&5 2288 echo "$as_me: error: no acceptable C compiler found in \$PATH 2289 See \`config.log' for more details." >&2;} 2290 { (exit 1); exit 1; }; } 3125 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3127 as_fn_error "no acceptable C compiler found in \$PATH 3128 See \`config.log' for more details." "$LINENO" 5; } 2291 3129 2292 3130 # Provide some information about the compiler. 2293 echo "$as_me:$LINENO: checking for C compiler version" >&5 2294 ac_compiler=`set X $ac_compile; echo $2` 2295 { (ac_try="$ac_compiler --version >&5" 3131 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3132 set X $ac_compile 3133 ac_compiler=$2 3134 for ac_option in --version -v -V -qversion; do 3135 { { ac_try="$ac_compiler $ac_option >&5" 2296 3136 case "(($ac_try" in 2297 3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2298 3138 *) ac_try_echo=$ac_try;; 2299 3139 esac 2300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2301 (eval "$ac_compiler --version >&5") 2>&5 3140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3141 $as_echo "$ac_try_echo"; } >&5 3142 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2302 3143 ac_status=$? 2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2304 (exit $ac_status); } 2305 { (ac_try="$ac_compiler -v >&5" 3144 if test -s conftest.err; then 3145 sed '10a\ 3146 ... rest of stderr output deleted ... 3147 10q' conftest.err >conftest.er1 3148 cat conftest.er1 >&5 3149 fi 3150 rm -f conftest.er1 conftest.err 3151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3152 test $ac_status = 0; } 3153 done 3154 3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3156 /* end confdefs.h. */ 3157 3158 int 3159 main () 3160 { 3161 3162 ; 3163 return 0; 3164 } 3165 _ACEOF 3166 ac_clean_files_save=$ac_clean_files 3167 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3168 # Try to create an executable without -o first, disregard a.out. 3169 # It will help us diagnose broken compilers, and finding out an intuition 3170 # of exeext. 3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3172 $as_echo_n "checking whether the C compiler works... " >&6; } 3173 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3174 3175 # The possible output files: 3176 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3177 3178 ac_rmfiles= 3179 for ac_file in $ac_files 3180 do 3181 case $ac_file in 3182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3183 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3184 esac 3185 done 3186 rm -f $ac_rmfiles 3187 3188 if { { ac_try="$ac_link_default" 2306 3189 case "(($ac_try" in 2307 3190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2308 3191 *) ac_try_echo=$ac_try;; 2309 3192 esac 2310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2311 (eval "$ac_compiler -v >&5") 2>&5 2312 ac_status=$? 2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2314 (exit $ac_status); } 2315 { (ac_try="$ac_compiler -V >&5" 2316 case "(($ac_try" in 2317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2318 *) ac_try_echo=$ac_try;; 2319 esac 2320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2321 (eval "$ac_compiler -V >&5") 2>&5 2322 ac_status=$? 2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2324 (exit $ac_status); } 2325 2326 cat >conftest.$ac_ext <<_ACEOF 2327 /* confdefs.h. */ 2328 _ACEOF 2329 cat confdefs.h >>conftest.$ac_ext 2330 cat >>conftest.$ac_ext <<_ACEOF 2331 /* end confdefs.h. */ 2332 2333 int 2334 main () 2335 { 2336 2337 ; 2338 return 0; 2339 } 2340 _ACEOF 2341 ac_clean_files_save=$ac_clean_files 2342 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2343 # Try to create an executable without -o first, disregard a.out. 2344 # It will help us diagnose broken compilers, and finding out an intuition 2345 # of exeext. 2346 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2347 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2348 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2349 # 2350 # List of possible output files, starting from the most likely. 2351 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2352 # only as a last resort. b.out is created by i960 compilers. 2353 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2354 # 2355 # The IRIX 6 linker writes into existing files which may not be 2356 # executable, retaining their permissions. Remove them first so a 2357 # subsequent execution test works. 2358 ac_rmfiles= 2359 for ac_file in $ac_files 2360 do 2361 case $ac_file in 2362 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2363 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2364 esac 2365 done 2366 rm -f $ac_rmfiles 2367 2368 if { (ac_try="$ac_link_default" 2369 case "(($ac_try" in 2370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2371 *) ac_try_echo=$ac_try;; 2372 esac 2373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3193 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3194 $as_echo "$ac_try_echo"; } >&5 2374 3195 (eval "$ac_link_default") 2>&5 2375 3196 ac_status=$? 2376 echo "$as_me:$LINENO: \$? = $ac_status" >&52377 (exit $ac_status); }; then3197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3198 test $ac_status = 0; }; then : 2378 3199 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2379 3200 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2385 3206 test -f "$ac_file" || continue 2386 3207 case $ac_file in 2387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )3208 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2388 3209 ;; 2389 3210 [ab].out ) … … 2392 3213 break;; 2393 3214 *.* ) 2394 3215 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2395 3216 then :; else 2396 3217 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2411 3232 ac_file='' 2412 3233 fi 2413 2414 { echo "$as_me:$LINENO: result: $ac_file" >&5 2415 echo "${ECHO_T}$ac_file" >&6; } 2416 if test -z "$ac_file"; then 2417 echo "$as_me: failed program was:" >&5 3234 if test -z "$ac_file"; then : 3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3236 $as_echo "no" >&6; } 3237 $as_echo "$as_me: failed program was:" >&5 2418 3238 sed 's/^/| /' conftest.$ac_ext >&5 2419 3239 2420 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2421 See \`config.log' for more details." >&5 2422 echo "$as_me: error: C compiler cannot create executables 2423 See \`config.log' for more details." >&2;} 2424 { (exit 77); exit 77; }; } 2425 fi 2426 3240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3242 { as_fn_set_status 77 3243 as_fn_error "C compiler cannot create executables 3244 See \`config.log' for more details." "$LINENO" 5; }; } 3245 else 3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3247 $as_echo "yes" >&6; } 3248 fi 3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3250 $as_echo_n "checking for C compiler default output file name... " >&6; } 3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3252 $as_echo "$ac_file" >&6; } 2427 3253 ac_exeext=$ac_cv_exeext 2428 3254 2429 # Check that the compiler produces executables we can run. If not, either 2430 # the compiler is broken, or we cross compile. 2431 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2432 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2433 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2434 # If not cross compiling, check that we can run a simple program. 2435 if test "$cross_compiling" != yes; then 2436 if { ac_try='./$ac_file' 2437 { (case "(($ac_try" in 2438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2439 *) ac_try_echo=$ac_try;; 2440 esac 2441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2442 (eval "$ac_try") 2>&5 2443 ac_status=$? 2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2445 (exit $ac_status); }; }; then 2446 cross_compiling=no 2447 else 2448 if test "$cross_compiling" = maybe; then 2449 cross_compiling=yes 2450 else 2451 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2452 If you meant to cross compile, use \`--host'. 2453 See \`config.log' for more details." >&5 2454 echo "$as_me: error: cannot run C compiled programs. 2455 If you meant to cross compile, use \`--host'. 2456 See \`config.log' for more details." >&2;} 2457 { (exit 1); exit 1; }; } 2458 fi 2459 fi 2460 fi 2461 { echo "$as_me:$LINENO: result: yes" >&5 2462 echo "${ECHO_T}yes" >&6; } 2463 2464 rm -f a.out a.exe conftest$ac_cv_exeext b.out 3255 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2465 3256 ac_clean_files=$ac_clean_files_save 2466 # Check that the compiler produces executables we can run. If not, either 2467 # the compiler is broken, or we cross compile. 2468 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2469 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2470 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2471 echo "${ECHO_T}$cross_compiling" >&6; } 2472 2473 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2474 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2475 if { (ac_try="$ac_link" 3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3258 $as_echo_n "checking for suffix of executables... " >&6; } 3259 if { { ac_try="$ac_link" 2476 3260 case "(($ac_try" in 2477 3261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2478 3262 *) ac_try_echo=$ac_try;; 2479 3263 esac 2480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3265 $as_echo "$ac_try_echo"; } >&5 2481 3266 (eval "$ac_link") 2>&5 2482 3267 ac_status=$? 2483 echo "$as_me:$LINENO: \$? = $ac_status" >&52484 (exit $ac_status); }; then3268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3269 test $ac_status = 0; }; then : 2485 3270 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2486 3271 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2490 3275 test -f "$ac_file" || continue 2491 3276 case $ac_file in 2492 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;3277 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2493 3278 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2494 3279 break;; … … 2497 3282 done 2498 3283 else 2499 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2500 See \`config.log' for more details." >&5 2501 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2502 See \`config.log' for more details." >&2;} 2503 { (exit 1); exit 1; }; } 2504 fi 2505 2506 rm -f conftest$ac_cv_exeext 2507 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2508 echo "${ECHO_T}$ac_cv_exeext" >&6; } 3284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3286 as_fn_error "cannot compute suffix of executables: cannot compile and link 3287 See \`config.log' for more details." "$LINENO" 5; } 3288 fi 3289 rm -f conftest conftest$ac_cv_exeext 3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3291 $as_echo "$ac_cv_exeext" >&6; } 2509 3292 2510 3293 rm -f conftest.$ac_ext 2511 3294 EXEEXT=$ac_cv_exeext 2512 3295 ac_exeext=$EXEEXT 2513 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2514 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2515 if test "${ac_cv_objext+set}" = set; then 2516 echo $ECHO_N "(cached) $ECHO_C" >&6 2517 else 2518 cat >conftest.$ac_ext <<_ACEOF 2519 /* confdefs.h. */ 2520 _ACEOF 2521 cat confdefs.h >>conftest.$ac_ext 2522 cat >>conftest.$ac_ext <<_ACEOF 3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2523 3297 /* end confdefs.h. */ 2524 3298 #include <stdio.h> 2525 3299 int 2526 3300 main () 2527 3301 { 3302 FILE *f = fopen ("conftest.out", "w"); 3303 return ferror (f) || fclose (f) != 0; 2528 3304 2529 3305 ; … … 2531 3307 } 2532 3308 _ACEOF 2533 rm -f conftest.o conftest.obj 2534 if { (ac_try="$ac_compile" 3309 ac_clean_files="$ac_clean_files conftest.out" 3310 # Check that the compiler produces executables we can run. If not, either 3311 # the compiler is broken, or we cross compile. 3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3313 $as_echo_n "checking whether we are cross compiling... " >&6; } 3314 if test "$cross_compiling" != yes; then 3315 { { ac_try="$ac_link" 2535 3316 case "(($ac_try" in 2536 3317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2537 3318 *) ac_try_echo=$ac_try;; 2538 3319 esac 2539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3321 $as_echo "$ac_try_echo"; } >&5 3322 (eval "$ac_link") 2>&5 3323 ac_status=$? 3324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3325 test $ac_status = 0; } 3326 if { ac_try='./conftest$ac_cv_exeext' 3327 { { case "(($ac_try" in 3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3329 *) ac_try_echo=$ac_try;; 3330 esac 3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3332 $as_echo "$ac_try_echo"; } >&5 3333 (eval "$ac_try") 2>&5 3334 ac_status=$? 3335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3336 test $ac_status = 0; }; }; then 3337 cross_compiling=no 3338 else 3339 if test "$cross_compiling" = maybe; then 3340 cross_compiling=yes 3341 else 3342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3344 as_fn_error "cannot run C compiled programs. 3345 If you meant to cross compile, use \`--host'. 3346 See \`config.log' for more details." "$LINENO" 5; } 3347 fi 3348 fi 3349 fi 3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3351 $as_echo "$cross_compiling" >&6; } 3352 3353 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3354 ac_clean_files=$ac_clean_files_save 3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3356 $as_echo_n "checking for suffix of object files... " >&6; } 3357 if test "${ac_cv_objext+set}" = set; then : 3358 $as_echo_n "(cached) " >&6 3359 else 3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3361 /* end confdefs.h. */ 3362 3363 int 3364 main () 3365 { 3366 3367 ; 3368 return 0; 3369 } 3370 _ACEOF 3371 rm -f conftest.o conftest.obj 3372 if { { ac_try="$ac_compile" 3373 case "(($ac_try" in 3374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3375 *) ac_try_echo=$ac_try;; 3376 esac 3377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3378 $as_echo "$ac_try_echo"; } >&5 2540 3379 (eval "$ac_compile") 2>&5 2541 3380 ac_status=$? 2542 echo "$as_me:$LINENO: \$? = $ac_status" >&52543 (exit $ac_status); }; then3381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3382 test $ac_status = 0; }; then : 2544 3383 for ac_file in conftest.o conftest.obj conftest.*; do 2545 3384 test -f "$ac_file" || continue; 2546 3385 case $ac_file in 2547 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;3386 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2548 3387 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2549 3388 break;; … … 2551 3390 done 2552 3391 else 2553 echo "$as_me: failed program was:" >&53392 $as_echo "$as_me: failed program was:" >&5 2554 3393 sed 's/^/| /' conftest.$ac_ext >&5 2555 3394 2556 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2557 See \`config.log' for more details." >&5 2558 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2559 See \`config.log' for more details." >&2;} 2560 { (exit 1); exit 1; }; } 2561 fi 2562 3395 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3397 as_fn_error "cannot compute suffix of object files: cannot compile 3398 See \`config.log' for more details." "$LINENO" 5; } 3399 fi 2563 3400 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2564 3401 fi 2565 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52566 echo "${ECHO_T}$ac_cv_objext" >&6; }3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3403 $as_echo "$ac_cv_objext" >&6; } 2567 3404 OBJEXT=$ac_cv_objext 2568 3405 ac_objext=$OBJEXT 2569 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2570 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2571 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2572 echo $ECHO_N "(cached) $ECHO_C" >&6 2573 else 2574 cat >conftest.$ac_ext <<_ACEOF 2575 /* confdefs.h. */ 2576 _ACEOF 2577 cat confdefs.h >>conftest.$ac_ext 2578 cat >>conftest.$ac_ext <<_ACEOF 3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3407 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3408 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3409 $as_echo_n "(cached) " >&6 3410 else 3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2579 3412 /* end confdefs.h. */ 2580 3413 … … 2590 3423 } 2591 3424 _ACEOF 2592 rm -f conftest.$ac_objext 2593 if { (ac_try="$ac_compile" 2594 case "(($ac_try" in 2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2596 *) ac_try_echo=$ac_try;; 2597 esac 2598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2599 (eval "$ac_compile") 2>conftest.er1 2600 ac_status=$? 2601 grep -v '^ *+' conftest.er1 >conftest.err 2602 rm -f conftest.er1 2603 cat conftest.err >&5 2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2605 (exit $ac_status); } && { 2606 test -z "$ac_c_werror_flag" || 2607 test ! -s conftest.err 2608 } && test -s conftest.$ac_objext; then 3425 if ac_fn_c_try_compile "$LINENO"; then : 2609 3426 ac_compiler_gnu=yes 2610 3427 else 2611 echo "$as_me: failed program was:" >&5 2612 sed 's/^/| /' conftest.$ac_ext >&5 2613 2614 ac_compiler_gnu=no 2615 fi 2616 3428 ac_compiler_gnu=no 3429 fi 2617 3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2618 3431 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2619 3432 2620 3433 fi 2621 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2622 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2623 GCC=`test $ac_compiler_gnu = yes && echo yes` 3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3435 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3436 if test $ac_compiler_gnu = yes; then 3437 GCC=yes 3438 else 3439 GCC= 3440 fi 2624 3441 ac_test_CFLAGS=${CFLAGS+set} 2625 3442 ac_save_CFLAGS=$CFLAGS 2626 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52627 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2628 if test "${ac_cv_prog_cc_g+set}" = set; then 2629 echo $ECHO_N "(cached) $ECHO_C" >&63443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3444 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3445 if test "${ac_cv_prog_cc_g+set}" = set; then : 3446 $as_echo_n "(cached) " >&6 2630 3447 else 2631 3448 ac_save_c_werror_flag=$ac_c_werror_flag … … 2633 3450 ac_cv_prog_cc_g=no 2634 3451 CFLAGS="-g" 2635 cat >conftest.$ac_ext <<_ACEOF 2636 /* confdefs.h. */ 2637 _ACEOF 2638 cat confdefs.h >>conftest.$ac_ext 2639 cat >>conftest.$ac_ext <<_ACEOF 3452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2640 3453 /* end confdefs.h. */ 2641 3454 … … 2648 3461 } 2649 3462 _ACEOF 2650 rm -f conftest.$ac_objext 2651 if { (ac_try="$ac_compile" 2652 case "(($ac_try" in 2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2654 *) ac_try_echo=$ac_try;; 2655 esac 2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2657 (eval "$ac_compile") 2>conftest.er1 2658 ac_status=$? 2659 grep -v '^ *+' conftest.er1 >conftest.err 2660 rm -f conftest.er1 2661 cat conftest.err >&5 2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2663 (exit $ac_status); } && { 2664 test -z "$ac_c_werror_flag" || 2665 test ! -s conftest.err 2666 } && test -s conftest.$ac_objext; then 3463 if ac_fn_c_try_compile "$LINENO"; then : 2667 3464 ac_cv_prog_cc_g=yes 2668 3465 else 2669 echo "$as_me: failed program was:" >&5 2670 sed 's/^/| /' conftest.$ac_ext >&5 2671 2672 CFLAGS="" 2673 cat >conftest.$ac_ext <<_ACEOF 2674 /* confdefs.h. */ 2675 _ACEOF 2676 cat confdefs.h >>conftest.$ac_ext 2677 cat >>conftest.$ac_ext <<_ACEOF 3466 CFLAGS="" 3467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2678 3468 /* end confdefs.h. */ 2679 3469 … … 2686 3476 } 2687 3477 _ACEOF 2688 rm -f conftest.$ac_objext 2689 if { (ac_try="$ac_compile" 2690 case "(($ac_try" in 2691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2692 *) ac_try_echo=$ac_try;; 2693 esac 2694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2695 (eval "$ac_compile") 2>conftest.er1 2696 ac_status=$? 2697 grep -v '^ *+' conftest.er1 >conftest.err 2698 rm -f conftest.er1 2699 cat conftest.err >&5 2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2701 (exit $ac_status); } && { 2702 test -z "$ac_c_werror_flag" || 2703 test ! -s conftest.err 2704 } && test -s conftest.$ac_objext; then 2705 : 2706 else 2707 echo "$as_me: failed program was:" >&5 2708 sed 's/^/| /' conftest.$ac_ext >&5 2709 2710 ac_c_werror_flag=$ac_save_c_werror_flag 3478 if ac_fn_c_try_compile "$LINENO"; then : 3479 3480 else 3481 ac_c_werror_flag=$ac_save_c_werror_flag 2711 3482 CFLAGS="-g" 2712 cat >conftest.$ac_ext <<_ACEOF 2713 /* confdefs.h. */ 2714 _ACEOF 2715 cat confdefs.h >>conftest.$ac_ext 2716 cat >>conftest.$ac_ext <<_ACEOF 3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2717 3484 /* end confdefs.h. */ 2718 3485 … … 2725 3492 } 2726 3493 _ACEOF 2727 rm -f conftest.$ac_objext 2728 if { (ac_try="$ac_compile" 2729 case "(($ac_try" in 2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2731 *) ac_try_echo=$ac_try;; 2732 esac 2733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2734 (eval "$ac_compile") 2>conftest.er1 2735 ac_status=$? 2736 grep -v '^ *+' conftest.er1 >conftest.err 2737 rm -f conftest.er1 2738 cat conftest.err >&5 2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2740 (exit $ac_status); } && { 2741 test -z "$ac_c_werror_flag" || 2742 test ! -s conftest.err 2743 } && test -s conftest.$ac_objext; then 3494 if ac_fn_c_try_compile "$LINENO"; then : 2744 3495 ac_cv_prog_cc_g=yes 2745 else 2746 echo "$as_me: failed program was:" >&5 2747 sed 's/^/| /' conftest.$ac_ext >&5 2748 2749 2750 fi 2751 3496 fi 2752 3497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2753 3498 fi 2754 2755 3499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2756 3500 fi 2757 2758 3501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2759 3502 ac_c_werror_flag=$ac_save_c_werror_flag 2760 3503 fi 2761 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52762 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3505 $as_echo "$ac_cv_prog_cc_g" >&6; } 2763 3506 if test "$ac_test_CFLAGS" = set; then 2764 3507 CFLAGS=$ac_save_CFLAGS … … 2776 3519 fi 2777 3520 fi 2778 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52779 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2780 if test "${ac_cv_prog_cc_c89+set}" = set; then 2781 echo $ECHO_N "(cached) $ECHO_C" >&63521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3522 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3523 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3524 $as_echo_n "(cached) " >&6 2782 3525 else 2783 3526 ac_cv_prog_cc_c89=no 2784 3527 ac_save_CC=$CC 2785 cat >conftest.$ac_ext <<_ACEOF 2786 /* confdefs.h. */ 2787 _ACEOF 2788 cat confdefs.h >>conftest.$ac_ext 2789 cat >>conftest.$ac_ext <<_ACEOF 3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2790 3529 /* end confdefs.h. */ 2791 3530 #include <stdarg.h> … … 2844 3583 do 2845 3584 CC="$ac_save_CC $ac_arg" 2846 rm -f conftest.$ac_objext 2847 if { (ac_try="$ac_compile" 2848 case "(($ac_try" in 2849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2850 *) ac_try_echo=$ac_try;; 2851 esac 2852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2853 (eval "$ac_compile") 2>conftest.er1 2854 ac_status=$? 2855 grep -v '^ *+' conftest.er1 >conftest.err 2856 rm -f conftest.er1 2857 cat conftest.err >&5 2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2859 (exit $ac_status); } && { 2860 test -z "$ac_c_werror_flag" || 2861 test ! -s conftest.err 2862 } && test -s conftest.$ac_objext; then 3585 if ac_fn_c_try_compile "$LINENO"; then : 2863 3586 ac_cv_prog_cc_c89=$ac_arg 2864 else 2865 echo "$as_me: failed program was:" >&5 2866 sed 's/^/| /' conftest.$ac_ext >&5 2867 2868 2869 fi 2870 3587 fi 2871 3588 rm -f core conftest.err conftest.$ac_objext 2872 3589 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2879 3596 case "x$ac_cv_prog_cc_c89" in 2880 3597 x) 2881 { echo "$as_me:$LINENO: result: none needed" >&52882 echo "${ECHO_T}none needed" >&6; } ;;3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3599 $as_echo "none needed" >&6; } ;; 2883 3600 xno) 2884 { echo "$as_me:$LINENO: result: unsupported" >&52885 echo "${ECHO_T}unsupported" >&6; } ;;3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3602 $as_echo "unsupported" >&6; } ;; 2886 3603 *) 2887 3604 CC="$CC $ac_cv_prog_cc_c89" 2888 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52889 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3606 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2890 3607 esac 2891 3608 if test "x$ac_cv_prog_cc_c89" != xno; then : 3609 3610 fi 2892 3611 2893 3612 ac_ext=c … … 2911 3630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2912 3631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2913 { echo "$as_me:$LINENO: checking for $ac_word" >&52914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2915 if test "${ac_cv_prog_CXX+set}" = set; then 2916 echo $ECHO_N "(cached) $ECHO_C" >&63632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3633 $as_echo_n "checking for $ac_word... " >&6; } 3634 if test "${ac_cv_prog_CXX+set}" = set; then : 3635 $as_echo_n "(cached) " >&6 2917 3636 else 2918 3637 if test -n "$CXX"; then … … 2924 3643 IFS=$as_save_IFS 2925 3644 test -z "$as_dir" && as_dir=. 2926 for ac_exec_ext in '' $ac_executable_extensions; do3645 for ac_exec_ext in '' $ac_executable_extensions; do 2927 3646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2928 3647 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2930 3649 break 2 2931 3650 fi 2932 3651 done 2933 done3652 done 2934 3653 IFS=$as_save_IFS 2935 3654 … … 2938 3657 CXX=$ac_cv_prog_CXX 2939 3658 if test -n "$CXX"; then 2940 { echo "$as_me:$LINENO: result: $CXX" >&52941 echo "${ECHO_T}$CXX" >&6; }2942 else 2943 { echo "$as_me:$LINENO: result: no" >&52944 echo "${ECHO_T}no" >&6; }3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3660 $as_echo "$CXX" >&6; } 3661 else 3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3663 $as_echo "no" >&6; } 2945 3664 fi 2946 3665 … … 2955 3674 # Extract the first word of "$ac_prog", so it can be a program name with args. 2956 3675 set dummy $ac_prog; ac_word=$2 2957 { echo "$as_me:$LINENO: checking for $ac_word" >&52958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2959 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2960 echo $ECHO_N "(cached) $ECHO_C" >&63676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3677 $as_echo_n "checking for $ac_word... " >&6; } 3678 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3679 $as_echo_n "(cached) " >&6 2961 3680 else 2962 3681 if test -n "$ac_ct_CXX"; then … … 2968 3687 IFS=$as_save_IFS 2969 3688 test -z "$as_dir" && as_dir=. 2970 for ac_exec_ext in '' $ac_executable_extensions; do3689 for ac_exec_ext in '' $ac_executable_extensions; do 2971 3690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2972 3691 ac_cv_prog_ac_ct_CXX="$ac_prog" 2973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2974 3693 break 2 2975 3694 fi 2976 3695 done 2977 done3696 done 2978 3697 IFS=$as_save_IFS 2979 3698 … … 2982 3701 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2983 3702 if test -n "$ac_ct_CXX"; then 2984 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&52985 echo "${ECHO_T}$ac_ct_CXX" >&6; }2986 else 2987 { echo "$as_me:$LINENO: result: no" >&52988 echo "${ECHO_T}no" >&6; }3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3704 $as_echo "$ac_ct_CXX" >&6; } 3705 else 3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3707 $as_echo "no" >&6; } 2989 3708 fi 2990 3709 … … 2998 3717 case $cross_compiling:$ac_tool_warned in 2999 3718 yes:) 3000 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3001 whose name does not start with the host triplet. If you think this 3002 configuration is useful to you, please write to autoconf@gnu.org." >&5 3003 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3004 whose name does not start with the host triplet. If you think this 3005 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3006 3721 ac_tool_warned=yes ;; 3007 3722 esac … … 3013 3728 fi 3014 3729 # Provide some information about the compiler. 3015 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3016 ac_compiler=`set X $ac_compile; echo $2` 3017 { (ac_try="$ac_compiler --version >&5" 3730 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3731 set X $ac_compile 3732 ac_compiler=$2 3733 for ac_option in --version -v -V -qversion; do 3734 { { ac_try="$ac_compiler $ac_option >&5" 3018 3735 case "(($ac_try" in 3019 3736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3020 3737 *) ac_try_echo=$ac_try;; 3021 3738 esac 3022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3023 (eval "$ac_compiler --version >&5") 2>&5 3739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3740 $as_echo "$ac_try_echo"; } >&5 3741 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3024 3742 ac_status=$? 3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3026 (exit $ac_status); } 3027 { (ac_try="$ac_compiler -v >&5" 3028 case "(($ac_try" in 3029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3030 *) ac_try_echo=$ac_try;; 3031 esac 3032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3033 (eval "$ac_compiler -v >&5") 2>&5 3034 ac_status=$? 3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3036 (exit $ac_status); } 3037 { (ac_try="$ac_compiler -V >&5" 3038 case "(($ac_try" in 3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3040 *) ac_try_echo=$ac_try;; 3041 esac 3042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3043 (eval "$ac_compiler -V >&5") 2>&5 3044 ac_status=$? 3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3046 (exit $ac_status); } 3047 3048 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3049 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3050 if test "${ac_cv_cxx_compiler_gnu+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 3743 if test -s conftest.err; then 3744 sed '10a\ 3745 ... rest of stderr output deleted ... 3746 10q' conftest.err >conftest.er1 3747 cat conftest.er1 >&5 3748 fi 3749 rm -f conftest.er1 conftest.err 3750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3751 test $ac_status = 0; } 3752 done 3753 3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3755 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3756 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3757 $as_echo_n "(cached) " >&6 3758 else 3759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3058 3760 /* end confdefs.h. */ 3059 3761 … … 3069 3771 } 3070 3772 _ACEOF 3071 rm -f conftest.$ac_objext 3072 if { (ac_try="$ac_compile" 3073 case "(($ac_try" in 3074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3075 *) ac_try_echo=$ac_try;; 3076 esac 3077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3078 (eval "$ac_compile") 2>conftest.er1 3079 ac_status=$? 3080 grep -v '^ *+' conftest.er1 >conftest.err 3081 rm -f conftest.er1 3082 cat conftest.err >&5 3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3084 (exit $ac_status); } && { 3085 test -z "$ac_cxx_werror_flag" || 3086 test ! -s conftest.err 3087 } && test -s conftest.$ac_objext; then 3773 if ac_fn_cxx_try_compile "$LINENO"; then : 3088 3774 ac_compiler_gnu=yes 3089 3775 else 3090 echo "$as_me: failed program was:" >&5 3091 sed 's/^/| /' conftest.$ac_ext >&5 3092 3093 ac_compiler_gnu=no 3094 fi 3095 3776 ac_compiler_gnu=no 3777 fi 3096 3778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3097 3779 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3098 3780 3099 3781 fi 3100 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3101 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3102 GXX=`test $ac_compiler_gnu = yes && echo yes` 3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3783 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3784 if test $ac_compiler_gnu = yes; then 3785 GXX=yes 3786 else 3787 GXX= 3788 fi 3103 3789 ac_test_CXXFLAGS=${CXXFLAGS+set} 3104 3790 ac_save_CXXFLAGS=$CXXFLAGS 3105 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53106 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3107 if test "${ac_cv_prog_cxx_g+set}" = set; then 3108 echo $ECHO_N "(cached) $ECHO_C" >&63791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3792 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3793 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3794 $as_echo_n "(cached) " >&6 3109 3795 else 3110 3796 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3112 3798 ac_cv_prog_cxx_g=no 3113 3799 CXXFLAGS="-g" 3114 cat >conftest.$ac_ext <<_ACEOF 3115 /* confdefs.h. */ 3116 _ACEOF 3117 cat confdefs.h >>conftest.$ac_ext 3118 cat >>conftest.$ac_ext <<_ACEOF 3800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3119 3801 /* end confdefs.h. */ 3120 3802 … … 3127 3809 } 3128 3810 _ACEOF 3129 rm -f conftest.$ac_objext 3130 if { (ac_try="$ac_compile" 3131 case "(($ac_try" in 3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3133 *) ac_try_echo=$ac_try;; 3134 esac 3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3136 (eval "$ac_compile") 2>conftest.er1 3137 ac_status=$? 3138 grep -v '^ *+' conftest.er1 >conftest.err 3139 rm -f conftest.er1 3140 cat conftest.err >&5 3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3142 (exit $ac_status); } && { 3143 test -z "$ac_cxx_werror_flag" || 3144 test ! -s conftest.err 3145 } && test -s conftest.$ac_objext; then 3811 if ac_fn_cxx_try_compile "$LINENO"; then : 3146 3812 ac_cv_prog_cxx_g=yes 3147 3813 else 3148 echo "$as_me: failed program was:" >&5 3149 sed 's/^/| /' conftest.$ac_ext >&5 3150 3151 CXXFLAGS="" 3152 cat >conftest.$ac_ext <<_ACEOF 3153 /* confdefs.h. */ 3154 _ACEOF 3155 cat confdefs.h >>conftest.$ac_ext 3156 cat >>conftest.$ac_ext <<_ACEOF 3814 CXXFLAGS="" 3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3157 3816 /* end confdefs.h. */ 3158 3817 … … 3165 3824 } 3166 3825 _ACEOF 3167 rm -f conftest.$ac_objext 3168 if { (ac_try="$ac_compile" 3169 case "(($ac_try" in 3170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3171 *) ac_try_echo=$ac_try;; 3172 esac 3173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3174 (eval "$ac_compile") 2>conftest.er1 3175 ac_status=$? 3176 grep -v '^ *+' conftest.er1 >conftest.err 3177 rm -f conftest.er1 3178 cat conftest.err >&5 3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3180 (exit $ac_status); } && { 3181 test -z "$ac_cxx_werror_flag" || 3182 test ! -s conftest.err 3183 } && test -s conftest.$ac_objext; then 3184 : 3185 else 3186 echo "$as_me: failed program was:" >&5 3187 sed 's/^/| /' conftest.$ac_ext >&5 3188 3189 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3826 if ac_fn_cxx_try_compile "$LINENO"; then : 3827 3828 else 3829 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3190 3830 CXXFLAGS="-g" 3191 cat >conftest.$ac_ext <<_ACEOF 3192 /* confdefs.h. */ 3193 _ACEOF 3194 cat confdefs.h >>conftest.$ac_ext 3195 cat >>conftest.$ac_ext <<_ACEOF 3831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3196 3832 /* end confdefs.h. */ 3197 3833 … … 3204 3840 } 3205 3841 _ACEOF 3206 rm -f conftest.$ac_objext 3207 if { (ac_try="$ac_compile" 3208 case "(($ac_try" in 3209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3210 *) ac_try_echo=$ac_try;; 3211 esac 3212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3213 (eval "$ac_compile") 2>conftest.er1 3214 ac_status=$? 3215 grep -v '^ *+' conftest.er1 >conftest.err 3216 rm -f conftest.er1 3217 cat conftest.err >&5 3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3219 (exit $ac_status); } && { 3220 test -z "$ac_cxx_werror_flag" || 3221 test ! -s conftest.err 3222 } && test -s conftest.$ac_objext; then 3842 if ac_fn_cxx_try_compile "$LINENO"; then : 3223 3843 ac_cv_prog_cxx_g=yes 3224 else 3225 echo "$as_me: failed program was:" >&5 3226 sed 's/^/| /' conftest.$ac_ext >&5 3227 3228 3229 fi 3230 3844 fi 3231 3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3232 3846 fi 3233 3234 3847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3235 3848 fi 3236 3237 3849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3238 3850 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3239 3851 fi 3240 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53241 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3853 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3242 3854 if test "$ac_test_CXXFLAGS" = set; then 3243 3855 CXXFLAGS=$ac_save_CXXFLAGS … … 3262 3874 3263 3875 # Avoid g95 3264 # Find a good install program. We prefer a C program (faster),3265 # so one script is as good as another. But avoid the broken or3266 # incompatible versions:3267 # SysV /etc/install, /usr/sbin/install3268 # SunOS /usr/etc/install3269 # IRIX /sbin/install3270 # AIX /bin/install3271 # AmigaOS /C/install, which installs bootblocks on floppy discs3272 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag3273 # AFS /usr/afsws/bin/install, which mishandles nonexistent args3274 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"3275 # OS/2's system install, which has a completely different semantic3276 # ./install, which can be erroneously created by make from ./install.sh.3277 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&53278 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }3279 if test -z "$INSTALL"; then3280 if test "${ac_cv_path_install+set}" = set; then3281 echo $ECHO_N "(cached) $ECHO_C" >&63282 else3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3284 for as_dir in $PATH3285 do3286 IFS=$as_save_IFS3287 test -z "$as_dir" && as_dir=.3288 # Account for people who put trailing slashes in PATH elements.3289 case $as_dir/ in3290 ./ | .// | /cC/* | \3291 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \3292 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \3293 /usr/ucb/* ) ;;3294 *)3295 # OSF1 and SCO ODT 3.0 have their own names for install.3296 # Don't use installbsd from OSF since it installs stuff as root3297 # by default.3298 for ac_prog in ginstall scoinst install; do3299 for ac_exec_ext in '' $ac_executable_extensions; do3300 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then3301 if test $ac_prog = install &&3302 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then3303 # AIX install. It has an incompatible calling convention.3304 :3305 elif test $ac_prog = install &&3306 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then3307 # program-specific install script used by HP pwplus--don't use.3308 :3309 else3310 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"3311 break 33312 fi3313 fi3314 done3315 done3316 ;;3317 esac3318 done3319 IFS=$as_save_IFS3320 3321 3322 fi3323 if test "${ac_cv_path_install+set}" = set; then3324 INSTALL=$ac_cv_path_install3325 else3326 # As a last resort, use the slow shell script. Don't cache a3327 # value for INSTALL within a source directory, because that will3328 # break other packages using the cache if that directory is3329 # removed, or if the value is a relative name.3330 INSTALL=$ac_install_sh3331 fi3332 fi3333 { echo "$as_me:$LINENO: result: $INSTALL" >&53334 echo "${ECHO_T}$INSTALL" >&6; }3335 3336 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.3337 # It thinks the first close brace ends the variable substitution.3338 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'3339 3340 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'3341 3342 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'3343 3876 3344 3877 if test -n "$ac_tool_prefix"; then 3345 3878 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3346 3879 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3347 { echo "$as_me:$LINENO: checking for $ac_word" >&53348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3349 if test "${ac_cv_prog_RANLIB+set}" = set; then 3350 echo $ECHO_N "(cached) $ECHO_C" >&63880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3881 $as_echo_n "checking for $ac_word... " >&6; } 3882 if test "${ac_cv_prog_RANLIB+set}" = set; then : 3883 $as_echo_n "(cached) " >&6 3351 3884 else 3352 3885 if test -n "$RANLIB"; then … … 3358 3891 IFS=$as_save_IFS 3359 3892 test -z "$as_dir" && as_dir=. 3360 for ac_exec_ext in '' $ac_executable_extensions; do3893 for ac_exec_ext in '' $ac_executable_extensions; do 3361 3894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3362 3895 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3364 3897 break 2 3365 3898 fi 3366 3899 done 3367 done3900 done 3368 3901 IFS=$as_save_IFS 3369 3902 … … 3372 3905 RANLIB=$ac_cv_prog_RANLIB 3373 3906 if test -n "$RANLIB"; then 3374 { echo "$as_me:$LINENO: result: $RANLIB" >&53375 echo "${ECHO_T}$RANLIB" >&6; }3376 else 3377 { echo "$as_me:$LINENO: result: no" >&53378 echo "${ECHO_T}no" >&6; }3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3908 $as_echo "$RANLIB" >&6; } 3909 else 3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3911 $as_echo "no" >&6; } 3379 3912 fi 3380 3913 … … 3385 3918 # Extract the first word of "ranlib", so it can be a program name with args. 3386 3919 set dummy ranlib; ac_word=$2 3387 { echo "$as_me:$LINENO: checking for $ac_word" >&53388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3389 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3390 echo $ECHO_N "(cached) $ECHO_C" >&63920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3921 $as_echo_n "checking for $ac_word... " >&6; } 3922 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 3923 $as_echo_n "(cached) " >&6 3391 3924 else 3392 3925 if test -n "$ac_ct_RANLIB"; then … … 3398 3931 IFS=$as_save_IFS 3399 3932 test -z "$as_dir" && as_dir=. 3400 for ac_exec_ext in '' $ac_executable_extensions; do3933 for ac_exec_ext in '' $ac_executable_extensions; do 3401 3934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3402 3935 ac_cv_prog_ac_ct_RANLIB="ranlib" 3403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3404 3937 break 2 3405 3938 fi 3406 3939 done 3407 done3940 done 3408 3941 IFS=$as_save_IFS 3409 3942 … … 3412 3945 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3413 3946 if test -n "$ac_ct_RANLIB"; then 3414 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&53415 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }3416 else 3417 { echo "$as_me:$LINENO: result: no" >&53418 echo "${ECHO_T}no" >&6; }3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 3948 $as_echo "$ac_ct_RANLIB" >&6; } 3949 else 3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3951 $as_echo "no" >&6; } 3419 3952 fi 3420 3953 … … 3424 3957 case $cross_compiling:$ac_tool_warned in 3425 3958 yes:) 3426 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3427 whose name does not start with the host triplet. If you think this 3428 configuration is useful to you, please write to autoconf@gnu.org." >&5 3429 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3430 whose name does not start with the host triplet. If you think this 3431 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3432 3961 ac_tool_warned=yes ;; 3433 3962 esac … … 3438 3967 fi 3439 3968 3440 { echo "$as_me:$LINENO: checking whether ln -s works" >&53441 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3970 $as_echo_n "checking whether ln -s works... " >&6; } 3442 3971 LN_S=$as_ln_s 3443 3972 if test "$LN_S" = "ln -s"; then 3444 { echo "$as_me:$LINENO: result: yes" >&53445 echo "${ECHO_T}yes" >&6; }3446 else 3447 { echo "$as_me:$LINENO: result: no, using $LN_S" >&53448 echo "${ECHO_T}no, using $LN_S" >&6; }3449 fi 3450 3451 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&53452 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3974 $as_echo "yes" >&6; } 3975 else 3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3977 $as_echo "no, using $LN_S" >&6; } 3978 fi 3979 3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3981 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3453 3982 if test -z "$MKDIR_P"; then 3454 if test "${ac_cv_path_mkdir+set}" = set; then 3455 echo $ECHO_N "(cached) $ECHO_C" >&63983 if test "${ac_cv_path_mkdir+set}" = set; then : 3984 $as_echo_n "(cached) " >&6 3456 3985 else 3457 3986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3460 3989 IFS=$as_save_IFS 3461 3990 test -z "$as_dir" && as_dir=. 3462 for ac_prog in mkdir gmkdir; do3991 for ac_prog in mkdir gmkdir; do 3463 3992 for ac_exec_ext in '' $ac_executable_extensions; do 3464 3993 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue … … 3472 4001 done 3473 4002 done 3474 done4003 done 3475 4004 IFS=$as_save_IFS 3476 4005 3477 4006 fi 3478 4007 4008 test -d ./--version && rmdir ./--version 3479 4009 if test "${ac_cv_path_mkdir+set}" = set; then 3480 4010 MKDIR_P="$ac_cv_path_mkdir -p" … … 3484 4014 # break other packages using the cache if that directory is 3485 4015 # removed, or if the value is a relative name. 3486 test -d ./--version && rmdir ./--version3487 4016 MKDIR_P="$ac_install_sh -d" 3488 4017 fi 3489 4018 fi 3490 { echo "$as_me:$LINENO: result: $MKDIR_P" >&53491 echo "${ECHO_T}$MKDIR_P" >&6; }4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 4020 $as_echo "$MKDIR_P" >&6; } 3492 4021 3493 4022 … … 3501 4030 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3502 4031 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3503 { echo "$as_me:$LINENO: checking for $ac_word" >&53504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3505 if test "${ac_cv_prog_F77+set}" = set; then 3506 echo $ECHO_N "(cached) $ECHO_C" >&64032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4033 $as_echo_n "checking for $ac_word... " >&6; } 4034 if test "${ac_cv_prog_F77+set}" = set; then : 4035 $as_echo_n "(cached) " >&6 3507 4036 else 3508 4037 if test -n "$F77"; then … … 3514 4043 IFS=$as_save_IFS 3515 4044 test -z "$as_dir" && as_dir=. 3516 for ac_exec_ext in '' $ac_executable_extensions; do4045 for ac_exec_ext in '' $ac_executable_extensions; do 3517 4046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3518 4047 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 3519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3520 4049 break 2 3521 4050 fi 3522 4051 done 3523 done4052 done 3524 4053 IFS=$as_save_IFS 3525 4054 … … 3528 4057 F77=$ac_cv_prog_F77 3529 4058 if test -n "$F77"; then 3530 { echo "$as_me:$LINENO: result: $F77" >&53531 echo "${ECHO_T}$F77" >&6; }3532 else 3533 { echo "$as_me:$LINENO: result: no" >&53534 echo "${ECHO_T}no" >&6; }4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 4060 $as_echo "$F77" >&6; } 4061 else 4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4063 $as_echo "no" >&6; } 3535 4064 fi 3536 4065 … … 3545 4074 # Extract the first word of "$ac_prog", so it can be a program name with args. 3546 4075 set dummy $ac_prog; ac_word=$2 3547 { echo "$as_me:$LINENO: checking for $ac_word" >&53548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3549 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then 3550 echo $ECHO_N "(cached) $ECHO_C" >&64076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4077 $as_echo_n "checking for $ac_word... " >&6; } 4078 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then : 4079 $as_echo_n "(cached) " >&6 3551 4080 else 3552 4081 if test -n "$ac_ct_F77"; then … … 3558 4087 IFS=$as_save_IFS 3559 4088 test -z "$as_dir" && as_dir=. 3560 for ac_exec_ext in '' $ac_executable_extensions; do4089 for ac_exec_ext in '' $ac_executable_extensions; do 3561 4090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3562 4091 ac_cv_prog_ac_ct_F77="$ac_prog" 3563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3564 4093 break 2 3565 4094 fi 3566 4095 done 3567 done4096 done 3568 4097 IFS=$as_save_IFS 3569 4098 … … 3572 4101 ac_ct_F77=$ac_cv_prog_ac_ct_F77 3573 4102 if test -n "$ac_ct_F77"; then 3574 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&53575 echo "${ECHO_T}$ac_ct_F77" >&6; }3576 else 3577 { echo "$as_me:$LINENO: result: no" >&53578 echo "${ECHO_T}no" >&6; }4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 4104 $as_echo "$ac_ct_F77" >&6; } 4105 else 4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4107 $as_echo "no" >&6; } 3579 4108 fi 3580 4109 … … 3588 4117 case $cross_compiling:$ac_tool_warned in 3589 4118 yes:) 3590 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3591 whose name does not start with the host triplet. If you think this 3592 configuration is useful to you, please write to autoconf@gnu.org." >&5 3593 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3594 whose name does not start with the host triplet. If you think this 3595 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3596 4121 ac_tool_warned=yes ;; 3597 4122 esac … … 3602 4127 3603 4128 # Provide some information about the compiler. 3604 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 3605 ac_compiler=`set X $ac_compile; echo $2` 3606 { (ac_try="$ac_compiler --version >&5" 4129 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 4130 set X $ac_compile 4131 ac_compiler=$2 4132 for ac_option in --version -v -V -qversion; do 4133 { { ac_try="$ac_compiler $ac_option >&5" 3607 4134 case "(($ac_try" in 3608 4135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3609 4136 *) ac_try_echo=$ac_try;; 3610 4137 esac 3611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3612 (eval "$ac_compiler --version >&5") 2>&5 4138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4139 $as_echo "$ac_try_echo"; } >&5 4140 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3613 4141 ac_status=$? 3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3615 (exit $ac_status); } 3616 { (ac_try="$ac_compiler -v >&5" 3617 case "(($ac_try" in 3618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3619 *) ac_try_echo=$ac_try;; 3620 esac 3621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3622 (eval "$ac_compiler -v >&5") 2>&5 3623 ac_status=$? 3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3625 (exit $ac_status); } 3626 { (ac_try="$ac_compiler -V >&5" 3627 case "(($ac_try" in 3628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3629 *) ac_try_echo=$ac_try;; 3630 esac 3631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3632 (eval "$ac_compiler -V >&5") 2>&5 3633 ac_status=$? 3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3635 (exit $ac_status); } 4142 if test -s conftest.err; then 4143 sed '10a\ 4144 ... rest of stderr output deleted ... 4145 10q' conftest.err >conftest.er1 4146 cat conftest.er1 >&5 4147 fi 4148 rm -f conftest.er1 conftest.err 4149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4150 test $ac_status = 0; } 4151 done 3636 4152 rm -f a.out 3637 4153 … … 3640 4156 ac_save_ext=$ac_ext 3641 4157 ac_ext=F 3642 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&53643 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }3644 if test "${ac_cv_f77_compiler_gnu+set}" = set; then 3645 echo $ECHO_N "(cached) $ECHO_C" >&63646 else 3647 cat > conftest.$ac_ext <<_ACEOF4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 4159 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 4160 if test "${ac_cv_f77_compiler_gnu+set}" = set; then : 4161 $as_echo_n "(cached) " >&6 4162 else 4163 cat > conftest.$ac_ext <<_ACEOF 3648 4164 program main 3649 4165 #ifndef __GNUC__ … … 3653 4169 end 3654 4170 _ACEOF 3655 rm -f conftest.$ac_objext 3656 if { (ac_try="$ac_compile" 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_compile") 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_f77_werror_flag" || 3670 test ! -s conftest.err 3671 } && test -s conftest.$ac_objext; then 4171 if ac_fn_f77_try_compile "$LINENO"; then : 3672 4172 ac_compiler_gnu=yes 3673 4173 else 3674 echo "$as_me: failed program was:" >&5 3675 sed 's/^/| /' conftest.$ac_ext >&5 3676 3677 ac_compiler_gnu=no 3678 fi 3679 4174 ac_compiler_gnu=no 4175 fi 3680 4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3681 4177 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 3682 4178 3683 4179 fi 3684 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&53685 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 4181 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 3686 4182 ac_ext=$ac_save_ext 3687 4183 ac_test_FFLAGS=${FFLAGS+set} 3688 4184 ac_save_FFLAGS=$FFLAGS 3689 4185 FFLAGS= 3690 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&53691 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }3692 if test "${ac_cv_prog_f77_g+set}" = set; then 3693 echo $ECHO_N "(cached) $ECHO_C" >&64186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 4187 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 4188 if test "${ac_cv_prog_f77_g+set}" = set; then : 4189 $as_echo_n "(cached) " >&6 3694 4190 else 3695 4191 FFLAGS=-g 3696 cat > conftest.$ac_ext <<_ACEOF4192 cat > conftest.$ac_ext <<_ACEOF 3697 4193 program main 3698 4194 3699 4195 end 3700 4196 _ACEOF 3701 rm -f conftest.$ac_objext 3702 if { (ac_try="$ac_compile" 3703 case "(($ac_try" in 3704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3705 *) ac_try_echo=$ac_try;; 3706 esac 3707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3708 (eval "$ac_compile") 2>conftest.er1 3709 ac_status=$? 3710 grep -v '^ *+' conftest.er1 >conftest.err 3711 rm -f conftest.er1 3712 cat conftest.err >&5 3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3714 (exit $ac_status); } && { 3715 test -z "$ac_f77_werror_flag" || 3716 test ! -s conftest.err 3717 } && test -s conftest.$ac_objext; then 4197 if ac_fn_f77_try_compile "$LINENO"; then : 3718 4198 ac_cv_prog_f77_g=yes 3719 4199 else 3720 echo "$as_me: failed program was:" >&5 3721 sed 's/^/| /' conftest.$ac_ext >&5 3722 3723 ac_cv_prog_f77_g=no 3724 fi 3725 4200 ac_cv_prog_f77_g=no 4201 fi 3726 4202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3727 4203 3728 4204 fi 3729 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&53730 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 4206 $as_echo "$ac_cv_prog_f77_g" >&6; } 3731 4207 if test "$ac_test_FFLAGS" = set; then 3732 4208 FFLAGS=$ac_save_FFLAGS … … 3745 4221 fi 3746 4222 3747 G77=`test $ac_compiler_gnu = yes && echo yes` 4223 if test $ac_compiler_gnu = yes; then 4224 G77=yes 4225 else 4226 G77= 4227 fi 3748 4228 ac_ext=c 3749 4229 ac_cpp='$CPP $CPPFLAGS' … … 3766 4246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3767 4247 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3768 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53769 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4249 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3770 4250 # On Suns, sometimes $CPP names a directory. 3771 4251 if test -n "$CPP" && test -d "$CPP"; then … … 3773 4253 fi 3774 4254 if test -z "$CPP"; then 3775 if test "${ac_cv_prog_CPP+set}" = set; then 3776 echo $ECHO_N "(cached) $ECHO_C" >&64255 if test "${ac_cv_prog_CPP+set}" = set; then : 4256 $as_echo_n "(cached) " >&6 3777 4257 else 3778 4258 # Double quotes because CPP needs to be expanded … … 3788 4268 # On the NeXT, cc -E runs the code through the compiler's parser, 3789 4269 # not just through cpp. "Syntax error" is here to catch this case. 3790 cat >conftest.$ac_ext <<_ACEOF 3791 /* confdefs.h. */ 3792 _ACEOF 3793 cat confdefs.h >>conftest.$ac_ext 3794 cat >>conftest.$ac_ext <<_ACEOF 4270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3795 4271 /* end confdefs.h. */ 3796 4272 #ifdef __STDC__ … … 3801 4277 Syntax error 3802 4278 _ACEOF 3803 if { (ac_try="$ac_cpp conftest.$ac_ext" 3804 case "(($ac_try" in 3805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3806 *) ac_try_echo=$ac_try;; 3807 esac 3808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3810 ac_status=$? 3811 grep -v '^ *+' conftest.er1 >conftest.err 3812 rm -f conftest.er1 3813 cat conftest.err >&5 3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3815 (exit $ac_status); } >/dev/null && { 3816 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3817 test ! -s conftest.err 3818 }; then 3819 : 3820 else 3821 echo "$as_me: failed program was:" >&5 3822 sed 's/^/| /' conftest.$ac_ext >&5 3823 4279 if ac_fn_c_try_cpp "$LINENO"; then : 4280 4281 else 3824 4282 # Broken: fails on valid input. 3825 4283 continue 3826 4284 fi 3827 3828 4285 rm -f conftest.err conftest.$ac_ext 3829 4286 3830 4287 # OK, works on sane cases. Now check whether nonexistent headers 3831 4288 # can be detected and how. 3832 cat >conftest.$ac_ext <<_ACEOF 3833 /* confdefs.h. */ 3834 _ACEOF 3835 cat confdefs.h >>conftest.$ac_ext 3836 cat >>conftest.$ac_ext <<_ACEOF 4289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3837 4290 /* end confdefs.h. */ 3838 4291 #include <ac_nonexistent.h> 3839 4292 _ACEOF 3840 if { (ac_try="$ac_cpp conftest.$ac_ext" 3841 case "(($ac_try" in 3842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3843 *) ac_try_echo=$ac_try;; 3844 esac 3845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3846 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3847 ac_status=$? 3848 grep -v '^ *+' conftest.er1 >conftest.err 3849 rm -f conftest.er1 3850 cat conftest.err >&5 3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3852 (exit $ac_status); } >/dev/null && { 3853 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3854 test ! -s conftest.err 3855 }; then 4293 if ac_fn_c_try_cpp "$LINENO"; then : 3856 4294 # Broken: success on invalid input. 3857 4295 continue 3858 4296 else 3859 echo "$as_me: failed program was:" >&53860 sed 's/^/| /' conftest.$ac_ext >&53861 3862 4297 # Passes both tests. 3863 4298 ac_preproc_ok=: 3864 4299 break 3865 4300 fi 3866 3867 4301 rm -f conftest.err conftest.$ac_ext 3868 4302 … … 3870 4304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3871 4305 rm -f conftest.err conftest.$ac_ext 3872 if $ac_preproc_ok; then 4306 if $ac_preproc_ok; then : 3873 4307 break 3874 4308 fi … … 3882 4316 ac_cv_prog_CPP=$CPP 3883 4317 fi 3884 { echo "$as_me:$LINENO: result: $CPP" >&53885 echo "${ECHO_T}$CPP" >&6; }4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4319 $as_echo "$CPP" >&6; } 3886 4320 ac_preproc_ok=false 3887 4321 for ac_c_preproc_warn_flag in '' yes … … 3893 4327 # On the NeXT, cc -E runs the code through the compiler's parser, 3894 4328 # not just through cpp. "Syntax error" is here to catch this case. 3895 cat >conftest.$ac_ext <<_ACEOF 3896 /* confdefs.h. */ 3897 _ACEOF 3898 cat confdefs.h >>conftest.$ac_ext 3899 cat >>conftest.$ac_ext <<_ACEOF 4329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3900 4330 /* end confdefs.h. */ 3901 4331 #ifdef __STDC__ … … 3906 4336 Syntax error 3907 4337 _ACEOF 3908 if { (ac_try="$ac_cpp conftest.$ac_ext" 3909 case "(($ac_try" in 3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3911 *) ac_try_echo=$ac_try;; 3912 esac 3913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3915 ac_status=$? 3916 grep -v '^ *+' conftest.er1 >conftest.err 3917 rm -f conftest.er1 3918 cat conftest.err >&5 3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3920 (exit $ac_status); } >/dev/null && { 3921 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3922 test ! -s conftest.err 3923 }; then 3924 : 3925 else 3926 echo "$as_me: failed program was:" >&5 3927 sed 's/^/| /' conftest.$ac_ext >&5 3928 4338 if ac_fn_c_try_cpp "$LINENO"; then : 4339 4340 else 3929 4341 # Broken: fails on valid input. 3930 4342 continue 3931 4343 fi 3932 3933 4344 rm -f conftest.err conftest.$ac_ext 3934 4345 3935 4346 # OK, works on sane cases. Now check whether nonexistent headers 3936 4347 # can be detected and how. 3937 cat >conftest.$ac_ext <<_ACEOF 3938 /* confdefs.h. */ 3939 _ACEOF 3940 cat confdefs.h >>conftest.$ac_ext 3941 cat >>conftest.$ac_ext <<_ACEOF 4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3942 4349 /* end confdefs.h. */ 3943 4350 #include <ac_nonexistent.h> 3944 4351 _ACEOF 3945 if { (ac_try="$ac_cpp conftest.$ac_ext" 3946 case "(($ac_try" in 3947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3948 *) ac_try_echo=$ac_try;; 3949 esac 3950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3951 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3952 ac_status=$? 3953 grep -v '^ *+' conftest.er1 >conftest.err 3954 rm -f conftest.er1 3955 cat conftest.err >&5 3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3957 (exit $ac_status); } >/dev/null && { 3958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3959 test ! -s conftest.err 3960 }; then 4352 if ac_fn_c_try_cpp "$LINENO"; then : 3961 4353 # Broken: success on invalid input. 3962 4354 continue 3963 4355 else 3964 echo "$as_me: failed program was:" >&53965 sed 's/^/| /' conftest.$ac_ext >&53966 3967 4356 # Passes both tests. 3968 4357 ac_preproc_ok=: 3969 4358 break 3970 4359 fi 3971 3972 4360 rm -f conftest.err conftest.$ac_ext 3973 4361 … … 3975 4363 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3976 4364 rm -f conftest.err conftest.$ac_ext 3977 if $ac_preproc_ok; then 3978 : 3979 else 3980 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3981 See \`config.log' for more details." >&5 3982 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3983 See \`config.log' for more details." >&2;} 3984 { (exit 1); exit 1; }; } 4365 if $ac_preproc_ok; then : 4366 4367 else 4368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4370 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4371 See \`config.log' for more details." "$LINENO" 5; } 3985 4372 fi 3986 4373 … … 3992 4379 3993 4380 3994 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3995 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3996 if test "${ac_cv_path_GREP+set}" = set; then 3997 echo $ECHO_N "(cached) $ECHO_C" >&6 3998 else 3999 # Extract the first word of "grep ggrep" to use in msg output 4000 if test -z "$GREP"; then 4001 set dummy grep ggrep; ac_prog_name=$2 4002 if test "${ac_cv_path_GREP+set}" = set; then 4003 echo $ECHO_N "(cached) $ECHO_C" >&6 4004 else 4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4382 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4383 if test "${ac_cv_path_GREP+set}" = set; then : 4384 $as_echo_n "(cached) " >&6 4385 else 4386 if test -z "$GREP"; then 4005 4387 ac_path_GREP_found=false 4006 # Loop through the user's path and test for each of PROGNAME-LIST4007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4388 # Loop through the user's path and test for each of PROGNAME-LIST 4389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4008 4390 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4009 4391 do 4010 4392 IFS=$as_save_IFS 4011 4393 test -z "$as_dir" && as_dir=. 4012 for ac_prog in grep ggrep; do4013 for ac_exec_ext in '' $ac_executable_extensions; do4014 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4015 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4016 4394 for ac_prog in grep ggrep; do 4395 for ac_exec_ext in '' $ac_executable_extensions; do 4396 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4397 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4398 # Check for GNU ac_path_GREP and select it if it is found. 4017 4399 # Check for GNU $ac_path_GREP 4018 4400 case `"$ac_path_GREP" --version 2>&1` in … … 4021 4403 *) 4022 4404 ac_count=0 4023 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4405 $as_echo_n 0123456789 >"conftest.in" 4024 4406 while : 4025 4407 do … … 4027 4409 mv "conftest.tmp" "conftest.in" 4028 4410 cp "conftest.in" "conftest.nl" 4029 echo 'GREP' >> "conftest.nl"4411 $as_echo 'GREP' >> "conftest.nl" 4030 4412 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4031 4413 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4032 a c_count=`expr $ac_count + 1`4414 as_fn_arith $ac_count + 1 && ac_count=$as_val 4033 4415 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4034 4416 # Best one so far, save it but keep looking for a better one … … 4042 4424 esac 4043 4425 4044 4045 $ac_path_GREP_found && break 34426 $ac_path_GREP_found && break 3 4427 done 4046 4428 done 4047 done 4048 4049 done 4429 done 4050 4430 IFS=$as_save_IFS 4051 4052 4053 fi 4054 4055 GREP="$ac_cv_path_GREP" 4056 if test -z "$GREP"; then 4057 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4058 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4059 { (exit 1); exit 1; }; } 4060 fi 4061 4431 if test -z "$ac_cv_path_GREP"; then 4432 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4433 fi 4062 4434 else 4063 4435 ac_cv_path_GREP=$GREP 4064 4436 fi 4065 4437 4066 4067 fi 4068 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4069 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4438 fi 4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4440 $as_echo "$ac_cv_path_GREP" >&6; } 4070 4441 GREP="$ac_cv_path_GREP" 4071 4442 4072 4443 4073 { echo "$as_me:$LINENO: checking for egrep" >&54074 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4075 if test "${ac_cv_path_EGREP+set}" = set; then 4076 echo $ECHO_N "(cached) $ECHO_C" >&64444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4445 $as_echo_n "checking for egrep... " >&6; } 4446 if test "${ac_cv_path_EGREP+set}" = set; then : 4447 $as_echo_n "(cached) " >&6 4077 4448 else 4078 4449 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4079 4450 then ac_cv_path_EGREP="$GREP -E" 4080 4451 else 4081 # Extract the first word of "egrep" to use in msg output 4082 if test -z "$EGREP"; then 4083 set dummy egrep; ac_prog_name=$2 4084 if test "${ac_cv_path_EGREP+set}" = set; then 4085 echo $ECHO_N "(cached) $ECHO_C" >&6 4086 else 4452 if test -z "$EGREP"; then 4087 4453 ac_path_EGREP_found=false 4088 # Loop through the user's path and test for each of PROGNAME-LIST4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4454 # Loop through the user's path and test for each of PROGNAME-LIST 4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4090 4456 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4091 4457 do 4092 4458 IFS=$as_save_IFS 4093 4459 test -z "$as_dir" && as_dir=. 4094 for ac_prog in egrep; do4095 for ac_exec_ext in '' $ac_executable_extensions; do4096 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4097 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4098 4460 for ac_prog in egrep; do 4461 for ac_exec_ext in '' $ac_executable_extensions; do 4462 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4463 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4464 # Check for GNU ac_path_EGREP and select it if it is found. 4099 4465 # Check for GNU $ac_path_EGREP 4100 4466 case `"$ac_path_EGREP" --version 2>&1` in … … 4103 4469 *) 4104 4470 ac_count=0 4105 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4471 $as_echo_n 0123456789 >"conftest.in" 4106 4472 while : 4107 4473 do … … 4109 4475 mv "conftest.tmp" "conftest.in" 4110 4476 cp "conftest.in" "conftest.nl" 4111 echo 'EGREP' >> "conftest.nl"4477 $as_echo 'EGREP' >> "conftest.nl" 4112 4478 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4113 4479 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4114 a c_count=`expr $ac_count + 1`4480 as_fn_arith $ac_count + 1 && ac_count=$as_val 4115 4481 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4116 4482 # Best one so far, save it but keep looking for a better one … … 4124 4490 esac 4125 4491 4126 4127 $ac_path_EGREP_found && break 34492 $ac_path_EGREP_found && break 3 4493 done 4128 4494 done 4129 done 4130 4131 done 4495 done 4132 4496 IFS=$as_save_IFS 4133 4134 4135 fi 4136 4137 EGREP="$ac_cv_path_EGREP" 4138 if test -z "$EGREP"; then 4139 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4140 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4141 { (exit 1); exit 1; }; } 4142 fi 4143 4497 if test -z "$ac_cv_path_EGREP"; then 4498 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4499 fi 4144 4500 else 4145 4501 ac_cv_path_EGREP=$EGREP 4146 4502 fi 4147 4503 4148 4149 4504 fi 4150 4505 fi 4151 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54152 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4507 $as_echo "$ac_cv_path_EGREP" >&6; } 4153 4508 EGREP="$ac_cv_path_EGREP" 4154 4509 4155 4510 4156 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4157 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4158 if test "${ac_cv_header_stdc+set}" = set; then 4159 echo $ECHO_N "(cached) $ECHO_C" >&6 4160 else 4161 cat >conftest.$ac_ext <<_ACEOF 4162 /* confdefs.h. */ 4163 _ACEOF 4164 cat confdefs.h >>conftest.$ac_ext 4165 cat >>conftest.$ac_ext <<_ACEOF 4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4512 $as_echo_n "checking for ANSI C header files... " >&6; } 4513 if test "${ac_cv_header_stdc+set}" = set; then : 4514 $as_echo_n "(cached) " >&6 4515 else 4516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4166 4517 /* end confdefs.h. */ 4167 4518 #include <stdlib.h> … … 4178 4529 } 4179 4530 _ACEOF 4180 rm -f conftest.$ac_objext 4181 if { (ac_try="$ac_compile" 4182 case "(($ac_try" in 4183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4184 *) ac_try_echo=$ac_try;; 4185 esac 4186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4187 (eval "$ac_compile") 2>conftest.er1 4188 ac_status=$? 4189 grep -v '^ *+' conftest.er1 >conftest.err 4190 rm -f conftest.er1 4191 cat conftest.err >&5 4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4193 (exit $ac_status); } && { 4194 test -z "$ac_c_werror_flag" || 4195 test ! -s conftest.err 4196 } && test -s conftest.$ac_objext; then 4531 if ac_fn_c_try_compile "$LINENO"; then : 4197 4532 ac_cv_header_stdc=yes 4198 4533 else 4199 echo "$as_me: failed program was:" >&5 4200 sed 's/^/| /' conftest.$ac_ext >&5 4201 4202 ac_cv_header_stdc=no 4203 fi 4204 4534 ac_cv_header_stdc=no 4535 fi 4205 4536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4206 4537 4207 4538 if test $ac_cv_header_stdc = yes; then 4208 4539 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4209 cat >conftest.$ac_ext <<_ACEOF 4210 /* confdefs.h. */ 4211 _ACEOF 4212 cat confdefs.h >>conftest.$ac_ext 4213 cat >>conftest.$ac_ext <<_ACEOF 4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4214 4541 /* end confdefs.h. */ 4215 4542 #include <string.h> … … 4217 4544 _ACEOF 4218 4545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4219 $EGREP "memchr" >/dev/null 2>&1; then 4220 : 4546 $EGREP "memchr" >/dev/null 2>&1; then : 4547 4221 4548 else 4222 4549 ac_cv_header_stdc=no … … 4228 4555 if test $ac_cv_header_stdc = yes; then 4229 4556 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4230 cat >conftest.$ac_ext <<_ACEOF 4231 /* confdefs.h. */ 4232 _ACEOF 4233 cat confdefs.h >>conftest.$ac_ext 4234 cat >>conftest.$ac_ext <<_ACEOF 4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4235 4558 /* end confdefs.h. */ 4236 4559 #include <stdlib.h> … … 4238 4561 _ACEOF 4239 4562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4240 $EGREP "free" >/dev/null 2>&1; then 4241 : 4563 $EGREP "free" >/dev/null 2>&1; then : 4564 4242 4565 else 4243 4566 ac_cv_header_stdc=no … … 4249 4572 if test $ac_cv_header_stdc = yes; then 4250 4573 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4251 if test "$cross_compiling" = yes; then 4574 if test "$cross_compiling" = yes; then : 4252 4575 : 4253 4576 else 4254 cat >conftest.$ac_ext <<_ACEOF 4255 /* confdefs.h. */ 4256 _ACEOF 4257 cat confdefs.h >>conftest.$ac_ext 4258 cat >>conftest.$ac_ext <<_ACEOF 4577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4259 4578 /* end confdefs.h. */ 4260 4579 #include <ctype.h> … … 4283 4602 } 4284 4603 _ACEOF 4285 rm -f conftest$ac_exeext 4286 if { (ac_try="$ac_link" 4287 case "(($ac_try" in 4288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4289 *) ac_try_echo=$ac_try;; 4290 esac 4291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4292 (eval "$ac_link") 2>&5 4293 ac_status=$? 4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4296 { (case "(($ac_try" in 4297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4298 *) ac_try_echo=$ac_try;; 4299 esac 4300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4301 (eval "$ac_try") 2>&5 4302 ac_status=$? 4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4304 (exit $ac_status); }; }; then 4305 : 4306 else 4307 echo "$as_me: program exited with status $ac_status" >&5 4308 echo "$as_me: failed program was:" >&5 4309 sed 's/^/| /' conftest.$ac_ext >&5 4310 4311 ( exit $ac_status ) 4312 ac_cv_header_stdc=no 4313 fi 4314 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4315 fi 4316 4317 4318 fi 4319 fi 4320 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4321 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4604 if ac_fn_c_try_run "$LINENO"; then : 4605 4606 else 4607 ac_cv_header_stdc=no 4608 fi 4609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4610 conftest.$ac_objext conftest.beam conftest.$ac_ext 4611 fi 4612 4613 fi 4614 fi 4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4616 $as_echo "$ac_cv_header_stdc" >&6; } 4322 4617 if test $ac_cv_header_stdc = yes; then 4323 4618 4324 cat >>confdefs.h <<\_ACEOF 4325 #define STDC_HEADERS 1 4326 _ACEOF 4327 4328 fi 4329 4330 { echo "$as_me:$LINENO: checking for atol" >&5 4331 echo $ECHO_N "checking for atol... $ECHO_C" >&6; } 4332 if test "${ac_cv_func_atol+set}" = set; then 4333 echo $ECHO_N "(cached) $ECHO_C" >&6 4334 else 4335 cat >conftest.$ac_ext <<_ACEOF 4336 /* confdefs.h. */ 4337 _ACEOF 4338 cat confdefs.h >>conftest.$ac_ext 4339 cat >>conftest.$ac_ext <<_ACEOF 4340 /* end confdefs.h. */ 4341 /* Define atol to an innocuous variant, in case <limits.h> declares atol. 4342 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4343 #define atol innocuous_atol 4344 4345 /* System header to define __stub macros and hopefully few prototypes, 4346 which can conflict with char atol (); below. 4347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4348 <limits.h> exists even on freestanding compilers. */ 4349 4350 #ifdef __STDC__ 4351 # include <limits.h> 4352 #else 4353 # include <assert.h> 4354 #endif 4355 4356 #undef atol 4357 4358 /* Override any GCC internal prototype to avoid an error. 4359 Use char because int might match the return type of a GCC 4360 builtin and then its argument prototype would still apply. */ 4361 #ifdef __cplusplus 4362 extern "C" 4363 #endif 4364 char atol (); 4365 /* The GNU C library defines this for functions which it implements 4366 to always fail with ENOSYS. Some functions are actually named 4367 something starting with __ and the normal name is an alias. */ 4368 #if defined __stub_atol || defined __stub___atol 4369 choke me 4370 #endif 4371 4372 int 4373 main () 4374 { 4375 return atol (); 4376 ; 4377 return 0; 4378 } 4379 _ACEOF 4380 rm -f conftest.$ac_objext conftest$ac_exeext 4381 if { (ac_try="$ac_link" 4382 case "(($ac_try" in 4383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4384 *) ac_try_echo=$ac_try;; 4385 esac 4386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4387 (eval "$ac_link") 2>conftest.er1 4388 ac_status=$? 4389 grep -v '^ *+' conftest.er1 >conftest.err 4390 rm -f conftest.er1 4391 cat conftest.err >&5 4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4393 (exit $ac_status); } && { 4394 test -z "$ac_c_werror_flag" || 4395 test ! -s conftest.err 4396 } && test -s conftest$ac_exeext && 4397 $as_test_x conftest$ac_exeext; then 4398 ac_cv_func_atol=yes 4399 else 4400 echo "$as_me: failed program was:" >&5 4401 sed 's/^/| /' conftest.$ac_ext >&5 4402 4403 ac_cv_func_atol=no 4404 fi 4405 4406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4407 conftest$ac_exeext conftest.$ac_ext 4408 fi 4409 { echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5 4410 echo "${ECHO_T}$ac_cv_func_atol" >&6; } 4411 if test $ac_cv_func_atol = yes; then 4412 : 4413 else 4414 { { echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5 4415 echo "$as_me: error: oops! no atol ?!?" >&2;} 4416 { (exit 1); exit 1; }; } 4619 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4620 4621 fi 4622 4623 ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol" 4624 if test "x$ac_cv_func_atol" = x""yes; then : 4625 4626 else 4627 as_fn_error "oops! no atol ?!?" "$LINENO" 5 4417 4628 fi 4418 4629 … … 4426 4637 4427 4638 4428 4429 4639 for ac_func in sysinfo 4430 do 4431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4432 { echo "$as_me:$LINENO: checking for $ac_func" >&5 4433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4434 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4435 echo $ECHO_N "(cached) $ECHO_C" >&6 4436 else 4437 cat >conftest.$ac_ext <<_ACEOF 4438 /* confdefs.h. */ 4439 _ACEOF 4440 cat confdefs.h >>conftest.$ac_ext 4441 cat >>conftest.$ac_ext <<_ACEOF 4442 /* end confdefs.h. */ 4443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4444 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4445 #define $ac_func innocuous_$ac_func 4446 4447 /* System header to define __stub macros and hopefully few prototypes, 4448 which can conflict with char $ac_func (); below. 4449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4450 <limits.h> exists even on freestanding compilers. */ 4451 4452 #ifdef __STDC__ 4453 # include <limits.h> 4454 #else 4455 # include <assert.h> 4456 #endif 4457 4458 #undef $ac_func 4459 4460 /* Override any GCC internal prototype to avoid an error. 4461 Use char because int might match the return type of a GCC 4462 builtin and then its argument prototype would still apply. */ 4463 #ifdef __cplusplus 4464 extern "C" 4465 #endif 4466 char $ac_func (); 4467 /* The GNU C library defines this for functions which it implements 4468 to always fail with ENOSYS. Some functions are actually named 4469 something starting with __ and the normal name is an alias. */ 4470 #if defined __stub_$ac_func || defined __stub___$ac_func 4471 choke me 4472 #endif 4473 4474 int 4475 main () 4476 { 4477 return $ac_func (); 4478 ; 4479 return 0; 4480 } 4481 _ACEOF 4482 rm -f conftest.$ac_objext conftest$ac_exeext 4483 if { (ac_try="$ac_link" 4484 case "(($ac_try" in 4485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4486 *) ac_try_echo=$ac_try;; 4487 esac 4488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4489 (eval "$ac_link") 2>conftest.er1 4490 ac_status=$? 4491 grep -v '^ *+' conftest.er1 >conftest.err 4492 rm -f conftest.er1 4493 cat conftest.err >&5 4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4495 (exit $ac_status); } && { 4496 test -z "$ac_cxx_werror_flag" || 4497 test ! -s conftest.err 4498 } && test -s conftest$ac_exeext && 4499 $as_test_x conftest$ac_exeext; then 4500 eval "$as_ac_var=yes" 4501 else 4502 echo "$as_me: failed program was:" >&5 4503 sed 's/^/| /' conftest.$ac_ext >&5 4504 4505 eval "$as_ac_var=no" 4506 fi 4507 4508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4509 conftest$ac_exeext conftest.$ac_ext 4510 fi 4511 ac_res=`eval echo '${'$as_ac_var'}'` 4512 { echo "$as_me:$LINENO: result: $ac_res" >&5 4513 echo "${ECHO_T}$ac_res" >&6; } 4514 if test `eval echo '${'$as_ac_var'}'` = yes; then 4640 do : 4641 ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" 4642 if test "x$ac_cv_func_sysinfo" = x""yes; then : 4515 4643 cat >>confdefs.h <<_ACEOF 4516 #define `echo "HAVE_$ac_func" | $as_tr_cpp`14644 #define HAVE_SYSINFO 1 4517 4645 _ACEOF 4518 4646 4519 4647 fi 4520 4648 done 4521 4522 # On IRIX 5.3, sys/types and inttypes.h are conflicting.4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \4533 inttypes.h stdint.h unistd.h4534 do4535 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`4536 { echo "$as_me:$LINENO: checking for $ac_header" >&54537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }4538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then4539 echo $ECHO_N "(cached) $ECHO_C" >&64540 else4541 cat >conftest.$ac_ext <<_ACEOF4542 /* confdefs.h. */4543 _ACEOF4544 cat confdefs.h >>conftest.$ac_ext4545 cat >>conftest.$ac_ext <<_ACEOF4546 /* end confdefs.h. */4547 $ac_includes_default4548 4549 #include <$ac_header>4550 _ACEOF4551 rm -f conftest.$ac_objext4552 if { (ac_try="$ac_compile"4553 case "(($ac_try" in4554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4555 *) ac_try_echo=$ac_try;;4556 esac4557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54558 (eval "$ac_compile") 2>conftest.er14559 ac_status=$?4560 grep -v '^ *+' conftest.er1 >conftest.err4561 rm -f conftest.er14562 cat conftest.err >&54563 echo "$as_me:$LINENO: \$? = $ac_status" >&54564 (exit $ac_status); } && {4565 test -z "$ac_cxx_werror_flag" ||4566 test ! -s conftest.err4567 } && test -s conftest.$ac_objext; then4568 eval "$as_ac_Header=yes"4569 else4570 echo "$as_me: failed program was:" >&54571 sed 's/^/| /' conftest.$ac_ext >&54572 4573 eval "$as_ac_Header=no"4574 fi4575 4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4577 fi4578 ac_res=`eval echo '${'$as_ac_Header'}'`4579 { echo "$as_me:$LINENO: result: $ac_res" >&54580 echo "${ECHO_T}$ac_res" >&6; }4581 if test `eval echo '${'$as_ac_Header'}'` = yes; then4582 cat >>confdefs.h <<_ACEOF4583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 14584 _ACEOF4585 4586 fi4587 4588 done4589 4590 4649 4591 4650 ac_ext=cpp … … 4594 4653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4595 4654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4596 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&54597 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 4656 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 4598 4657 if test -z "$CXXCPP"; then 4599 if test "${ac_cv_prog_CXXCPP+set}" = set; then 4600 echo $ECHO_N "(cached) $ECHO_C" >&64658 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 4659 $as_echo_n "(cached) " >&6 4601 4660 else 4602 4661 # Double quotes because CXXCPP needs to be expanded … … 4612 4671 # On the NeXT, cc -E runs the code through the compiler's parser, 4613 4672 # not just through cpp. "Syntax error" is here to catch this case. 4614 cat >conftest.$ac_ext <<_ACEOF 4615 /* confdefs.h. */ 4616 _ACEOF 4617 cat confdefs.h >>conftest.$ac_ext 4618 cat >>conftest.$ac_ext <<_ACEOF 4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4619 4674 /* end confdefs.h. */ 4620 4675 #ifdef __STDC__ … … 4625 4680 Syntax error 4626 4681 _ACEOF 4627 if { (ac_try="$ac_cpp conftest.$ac_ext" 4628 case "(($ac_try" in 4629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4630 *) ac_try_echo=$ac_try;; 4631 esac 4632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4633 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4634 ac_status=$? 4635 grep -v '^ *+' conftest.er1 >conftest.err 4636 rm -f conftest.er1 4637 cat conftest.err >&5 4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4639 (exit $ac_status); } >/dev/null && { 4640 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4641 test ! -s conftest.err 4642 }; then 4643 : 4644 else 4645 echo "$as_me: failed program was:" >&5 4646 sed 's/^/| /' conftest.$ac_ext >&5 4647 4682 if ac_fn_cxx_try_cpp "$LINENO"; then : 4683 4684 else 4648 4685 # Broken: fails on valid input. 4649 4686 continue 4650 4687 fi 4651 4652 4688 rm -f conftest.err conftest.$ac_ext 4653 4689 4654 4690 # OK, works on sane cases. Now check whether nonexistent headers 4655 4691 # can be detected and how. 4656 cat >conftest.$ac_ext <<_ACEOF 4657 /* confdefs.h. */ 4658 _ACEOF 4659 cat confdefs.h >>conftest.$ac_ext 4660 cat >>conftest.$ac_ext <<_ACEOF 4692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4661 4693 /* end confdefs.h. */ 4662 4694 #include <ac_nonexistent.h> 4663 4695 _ACEOF 4664 if { (ac_try="$ac_cpp conftest.$ac_ext" 4665 case "(($ac_try" in 4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4667 *) ac_try_echo=$ac_try;; 4668 esac 4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4670 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4671 ac_status=$? 4672 grep -v '^ *+' conftest.er1 >conftest.err 4673 rm -f conftest.er1 4674 cat conftest.err >&5 4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4676 (exit $ac_status); } >/dev/null && { 4677 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4678 test ! -s conftest.err 4679 }; then 4696 if ac_fn_cxx_try_cpp "$LINENO"; then : 4680 4697 # Broken: success on invalid input. 4681 4698 continue 4682 4699 else 4683 echo "$as_me: failed program was:" >&54684 sed 's/^/| /' conftest.$ac_ext >&54685 4686 4700 # Passes both tests. 4687 4701 ac_preproc_ok=: 4688 4702 break 4689 4703 fi 4690 4691 4704 rm -f conftest.err conftest.$ac_ext 4692 4705 … … 4694 4707 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4695 4708 rm -f conftest.err conftest.$ac_ext 4696 if $ac_preproc_ok; then 4709 if $ac_preproc_ok; then : 4697 4710 break 4698 4711 fi … … 4706 4719 ac_cv_prog_CXXCPP=$CXXCPP 4707 4720 fi 4708 { echo "$as_me:$LINENO: result: $CXXCPP" >&54709 echo "${ECHO_T}$CXXCPP" >&6; }4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 4722 $as_echo "$CXXCPP" >&6; } 4710 4723 ac_preproc_ok=false 4711 4724 for ac_cxx_preproc_warn_flag in '' yes … … 4717 4730 # On the NeXT, cc -E runs the code through the compiler's parser, 4718 4731 # not just through cpp. "Syntax error" is here to catch this case. 4719 cat >conftest.$ac_ext <<_ACEOF 4720 /* confdefs.h. */ 4721 _ACEOF 4722 cat confdefs.h >>conftest.$ac_ext 4723 cat >>conftest.$ac_ext <<_ACEOF 4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4724 4733 /* end confdefs.h. */ 4725 4734 #ifdef __STDC__ … … 4730 4739 Syntax error 4731 4740 _ACEOF 4732 if { (ac_try="$ac_cpp conftest.$ac_ext" 4733 case "(($ac_try" in 4734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4735 *) ac_try_echo=$ac_try;; 4736 esac 4737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4739 ac_status=$? 4740 grep -v '^ *+' conftest.er1 >conftest.err 4741 rm -f conftest.er1 4742 cat conftest.err >&5 4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4744 (exit $ac_status); } >/dev/null && { 4745 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4746 test ! -s conftest.err 4747 }; then 4748 : 4749 else 4750 echo "$as_me: failed program was:" >&5 4751 sed 's/^/| /' conftest.$ac_ext >&5 4752 4741 if ac_fn_cxx_try_cpp "$LINENO"; then : 4742 4743 else 4753 4744 # Broken: fails on valid input. 4754 4745 continue 4755 4746 fi 4756 4757 4747 rm -f conftest.err conftest.$ac_ext 4758 4748 4759 4749 # OK, works on sane cases. Now check whether nonexistent headers 4760 4750 # can be detected and how. 4761 cat >conftest.$ac_ext <<_ACEOF 4762 /* confdefs.h. */ 4763 _ACEOF 4764 cat confdefs.h >>conftest.$ac_ext 4765 cat >>conftest.$ac_ext <<_ACEOF 4751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4766 4752 /* end confdefs.h. */ 4767 4753 #include <ac_nonexistent.h> 4768 4754 _ACEOF 4769 if { (ac_try="$ac_cpp conftest.$ac_ext" 4770 case "(($ac_try" in 4771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4772 *) ac_try_echo=$ac_try;; 4773 esac 4774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4776 ac_status=$? 4777 grep -v '^ *+' conftest.er1 >conftest.err 4778 rm -f conftest.er1 4779 cat conftest.err >&5 4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4781 (exit $ac_status); } >/dev/null && { 4782 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4783 test ! -s conftest.err 4784 }; then 4755 if ac_fn_cxx_try_cpp "$LINENO"; then : 4785 4756 # Broken: success on invalid input. 4786 4757 continue 4787 4758 else 4788 echo "$as_me: failed program was:" >&54789 sed 's/^/| /' conftest.$ac_ext >&54790 4791 4759 # Passes both tests. 4792 4760 ac_preproc_ok=: 4793 4761 break 4794 4762 fi 4795 4796 4763 rm -f conftest.err conftest.$ac_ext 4797 4764 … … 4799 4766 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4800 4767 rm -f conftest.err conftest.$ac_ext 4801 if $ac_preproc_ok; then 4802 : 4803 else 4804 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4805 See \`config.log' for more details." >&5 4806 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 4807 See \`config.log' for more details." >&2;} 4808 { (exit 1); exit 1; }; } 4768 if $ac_preproc_ok; then : 4769 4770 else 4771 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4773 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check 4774 See \`config.log' for more details." "$LINENO" 5; } 4809 4775 fi 4810 4776 … … 4816 4782 4817 4783 4784 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4785 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4786 inttypes.h stdint.h unistd.h 4787 do : 4788 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4789 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4790 " 4791 eval as_val=\$$as_ac_Header 4792 if test "x$as_val" = x""yes; then : 4793 cat >>confdefs.h <<_ACEOF 4794 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4795 _ACEOF 4796 4797 fi 4798 4799 done 4800 4818 4801 4819 4802 for ac_header in sys/sysinfo.h 4820 do 4821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4822 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4823 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4825 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4826 echo $ECHO_N "(cached) $ECHO_C" >&6 4827 fi 4828 ac_res=`eval echo '${'$as_ac_Header'}'` 4829 { echo "$as_me:$LINENO: result: $ac_res" >&5 4830 echo "${ECHO_T}$ac_res" >&6; } 4831 else 4832 # Is the header compilable? 4833 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 4834 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4835 cat >conftest.$ac_ext <<_ACEOF 4836 /* confdefs.h. */ 4837 _ACEOF 4838 cat confdefs.h >>conftest.$ac_ext 4839 cat >>conftest.$ac_ext <<_ACEOF 4840 /* end confdefs.h. */ 4841 $ac_includes_default 4842 #include <$ac_header> 4843 _ACEOF 4844 rm -f conftest.$ac_objext 4845 if { (ac_try="$ac_compile" 4846 case "(($ac_try" in 4847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4848 *) ac_try_echo=$ac_try;; 4849 esac 4850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4851 (eval "$ac_compile") 2>conftest.er1 4852 ac_status=$? 4853 grep -v '^ *+' conftest.er1 >conftest.err 4854 rm -f conftest.er1 4855 cat conftest.err >&5 4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4857 (exit $ac_status); } && { 4858 test -z "$ac_cxx_werror_flag" || 4859 test ! -s conftest.err 4860 } && test -s conftest.$ac_objext; then 4861 ac_header_compiler=yes 4862 else 4863 echo "$as_me: failed program was:" >&5 4864 sed 's/^/| /' conftest.$ac_ext >&5 4865 4866 ac_header_compiler=no 4867 fi 4868 4869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4870 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4871 echo "${ECHO_T}$ac_header_compiler" >&6; } 4872 4873 # Is the header present? 4874 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 4875 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4876 cat >conftest.$ac_ext <<_ACEOF 4877 /* confdefs.h. */ 4878 _ACEOF 4879 cat confdefs.h >>conftest.$ac_ext 4880 cat >>conftest.$ac_ext <<_ACEOF 4881 /* end confdefs.h. */ 4882 #include <$ac_header> 4883 _ACEOF 4884 if { (ac_try="$ac_cpp conftest.$ac_ext" 4885 case "(($ac_try" in 4886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4887 *) ac_try_echo=$ac_try;; 4888 esac 4889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4890 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4891 ac_status=$? 4892 grep -v '^ *+' conftest.er1 >conftest.err 4893 rm -f conftest.er1 4894 cat conftest.err >&5 4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4896 (exit $ac_status); } >/dev/null && { 4897 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 4898 test ! -s conftest.err 4899 }; then 4900 ac_header_preproc=yes 4901 else 4902 echo "$as_me: failed program was:" >&5 4903 sed 's/^/| /' conftest.$ac_ext >&5 4904 4905 ac_header_preproc=no 4906 fi 4907 4908 rm -f conftest.err conftest.$ac_ext 4909 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4910 echo "${ECHO_T}$ac_header_preproc" >&6; } 4911 4912 # So? What about this header? 4913 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4914 yes:no: ) 4915 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4916 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4918 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4919 ac_header_preproc=yes 4920 ;; 4921 no:yes:* ) 4922 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4923 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4924 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4925 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4926 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4927 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4928 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4929 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4930 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4931 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4932 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4933 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4934 ( cat <<\_ASBOX 4935 ## ----------------------------------- ## 4936 ## Report this to rappture@nanohub.org ## 4937 ## ----------------------------------- ## 4938 _ASBOX 4939 ) | sed "s/^/$as_me: WARNING: /" >&2 4940 ;; 4941 esac 4942 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4944 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4945 echo $ECHO_N "(cached) $ECHO_C" >&6 4946 else 4947 eval "$as_ac_Header=\$ac_header_preproc" 4948 fi 4949 ac_res=`eval echo '${'$as_ac_Header'}'` 4950 { echo "$as_me:$LINENO: result: $ac_res" >&5 4951 echo "${ECHO_T}$ac_res" >&6; } 4952 4953 fi 4954 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4803 do : 4804 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" 4805 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then : 4955 4806 cat >>confdefs.h <<_ACEOF 4956 #define `echo "HAVE_$ac_header" | $as_tr_cpp`14807 #define HAVE_SYS_SYSINFO_H 1 4957 4808 _ACEOF 4958 4809 … … 4962 4813 4963 4814 4964 4965 { echo "$as_me:$LINENO: checking for main in -lm" >&5 4966 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 4967 if test "${ac_cv_lib_m_main+set}" = set; then 4968 echo $ECHO_N "(cached) $ECHO_C" >&6 4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 4816 $as_echo_n "checking for main in -lm... " >&6; } 4817 if test "${ac_cv_lib_m_main+set}" = set; then : 4818 $as_echo_n "(cached) " >&6 4969 4819 else 4970 4820 ac_check_lib_save_LIBS=$LIBS 4971 4821 LIBS="-lm $LIBS" 4972 cat >conftest.$ac_ext <<_ACEOF 4973 /* confdefs.h. */ 4974 _ACEOF 4975 cat confdefs.h >>conftest.$ac_ext 4976 cat >>conftest.$ac_ext <<_ACEOF 4822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4977 4823 /* end confdefs.h. */ 4978 4824 … … 4986 4832 } 4987 4833 _ACEOF 4988 rm -f conftest.$ac_objext conftest$ac_exeext 4989 if { (ac_try="$ac_link" 4990 case "(($ac_try" in 4991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4992 *) ac_try_echo=$ac_try;; 4993 esac 4994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4995 (eval "$ac_link") 2>conftest.er1 4996 ac_status=$? 4997 grep -v '^ *+' conftest.er1 >conftest.err 4998 rm -f conftest.er1 4999 cat conftest.err >&5 5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5001 (exit $ac_status); } && { 5002 test -z "$ac_cxx_werror_flag" || 5003 test ! -s conftest.err 5004 } && test -s conftest$ac_exeext && 5005 $as_test_x conftest$ac_exeext; then 4834 if ac_fn_cxx_try_link "$LINENO"; then : 5006 4835 ac_cv_lib_m_main=yes 5007 4836 else 5008 echo "$as_me: failed program was:" >&5 5009 sed 's/^/| /' conftest.$ac_ext >&5 5010 5011 ac_cv_lib_m_main=no 5012 fi 5013 5014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5015 conftest$ac_exeext conftest.$ac_ext 4837 ac_cv_lib_m_main=no 4838 fi 4839 rm -f core conftest.err conftest.$ac_objext \ 4840 conftest$ac_exeext conftest.$ac_ext 5016 4841 LIBS=$ac_check_lib_save_LIBS 5017 4842 fi 5018 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55019 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }5020 if test $ac_cv_lib_m_main = yes; then4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 4844 $as_echo "$ac_cv_lib_m_main" >&6; } 4845 if test "x$ac_cv_lib_m_main" = x""yes; then : 5021 4846 cat >>confdefs.h <<_ACEOF 5022 4847 #define HAVE_LIBM 1 … … 5026 4851 5027 4852 else 5028 { { echo "$as_me:$LINENO: error: librappture requires libm" >&5 5029 echo "$as_me: error: librappture requires libm" >&2;} 5030 { (exit 1); exit 1; }; } 5031 fi 5032 5033 5034 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 5035 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; } 5036 if test "${ac_cv_lib_stdcpp_main+set}" = set; then 5037 echo $ECHO_N "(cached) $ECHO_C" >&6 4853 as_fn_error "librappture requires libm" "$LINENO" 5 4854 fi 4855 4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 4857 $as_echo_n "checking for main in -lstdc++... " >&6; } 4858 if test "${ac_cv_lib_stdcpp_main+set}" = set; then : 4859 $as_echo_n "(cached) " >&6 5038 4860 else 5039 4861 ac_check_lib_save_LIBS=$LIBS 5040 4862 LIBS="-lstdc++ $LIBS" 5041 cat >conftest.$ac_ext <<_ACEOF 5042 /* confdefs.h. */ 5043 _ACEOF 5044 cat confdefs.h >>conftest.$ac_ext 5045 cat >>conftest.$ac_ext <<_ACEOF 4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5046 4864 /* end confdefs.h. */ 5047 4865 … … 5055 4873 } 5056 4874 _ACEOF 5057 rm -f conftest.$ac_objext conftest$ac_exeext 5058 if { (ac_try="$ac_link" 5059 case "(($ac_try" in 5060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5061 *) ac_try_echo=$ac_try;; 5062 esac 5063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5064 (eval "$ac_link") 2>conftest.er1 5065 ac_status=$? 5066 grep -v '^ *+' conftest.er1 >conftest.err 5067 rm -f conftest.er1 5068 cat conftest.err >&5 5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5070 (exit $ac_status); } && { 5071 test -z "$ac_cxx_werror_flag" || 5072 test ! -s conftest.err 5073 } && test -s conftest$ac_exeext && 5074 $as_test_x conftest$ac_exeext; then 4875 if ac_fn_cxx_try_link "$LINENO"; then : 5075 4876 ac_cv_lib_stdcpp_main=yes 5076 4877 else 5077 echo "$as_me: failed program was:" >&5 5078 sed 's/^/| /' conftest.$ac_ext >&5 5079 5080 ac_cv_lib_stdcpp_main=no 5081 fi 5082 5083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5084 conftest$ac_exeext conftest.$ac_ext 4878 ac_cv_lib_stdcpp_main=no 4879 fi 4880 rm -f core conftest.err conftest.$ac_objext \ 4881 conftest$ac_exeext conftest.$ac_ext 5085 4882 LIBS=$ac_check_lib_save_LIBS 5086 4883 fi 5087 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&55088 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }5089 if test $ac_cv_lib_stdcpp_main = yes; then4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5 4885 $as_echo "$ac_cv_lib_stdcpp_main" >&6; } 4886 if test "x$ac_cv_lib_stdcpp_main" = x""yes; then : 5090 4887 cat >>confdefs.h <<_ACEOF 5091 4888 #define HAVE_LIBSTDC__ 1 … … 5095 4892 5096 4893 else 5097 { { echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5 5098 echo "$as_me: error: librappture requires libstdc++" >&2;} 5099 { (exit 1); exit 1; }; } 5100 fi 5101 4894 as_fn_error "librappture requires libstdc++" "$LINENO" 5 4895 fi 5102 4896 5103 4897 for ac_header in algorithm 5104 do 5105 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5107 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5110 echo $ECHO_N "(cached) $ECHO_C" >&6 5111 fi 5112 ac_res=`eval echo '${'$as_ac_Header'}'` 5113 { echo "$as_me:$LINENO: result: $ac_res" >&5 5114 echo "${ECHO_T}$ac_res" >&6; } 5115 else 5116 # Is the header compilable? 5117 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5119 cat >conftest.$ac_ext <<_ACEOF 5120 /* confdefs.h. */ 5121 _ACEOF 5122 cat confdefs.h >>conftest.$ac_ext 5123 cat >>conftest.$ac_ext <<_ACEOF 5124 /* end confdefs.h. */ 5125 $ac_includes_default 5126 #include <$ac_header> 5127 _ACEOF 5128 rm -f conftest.$ac_objext 5129 if { (ac_try="$ac_compile" 5130 case "(($ac_try" in 5131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5132 *) ac_try_echo=$ac_try;; 5133 esac 5134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5135 (eval "$ac_compile") 2>conftest.er1 5136 ac_status=$? 5137 grep -v '^ *+' conftest.er1 >conftest.err 5138 rm -f conftest.er1 5139 cat conftest.err >&5 5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5141 (exit $ac_status); } && { 5142 test -z "$ac_cxx_werror_flag" || 5143 test ! -s conftest.err 5144 } && test -s conftest.$ac_objext; then 5145 ac_header_compiler=yes 5146 else 5147 echo "$as_me: failed program was:" >&5 5148 sed 's/^/| /' conftest.$ac_ext >&5 5149 5150 ac_header_compiler=no 5151 fi 5152 5153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5154 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5155 echo "${ECHO_T}$ac_header_compiler" >&6; } 5156 5157 # Is the header present? 5158 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5159 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5160 cat >conftest.$ac_ext <<_ACEOF 5161 /* confdefs.h. */ 5162 _ACEOF 5163 cat confdefs.h >>conftest.$ac_ext 5164 cat >>conftest.$ac_ext <<_ACEOF 5165 /* end confdefs.h. */ 5166 #include <$ac_header> 5167 _ACEOF 5168 if { (ac_try="$ac_cpp conftest.$ac_ext" 5169 case "(($ac_try" in 5170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5171 *) ac_try_echo=$ac_try;; 5172 esac 5173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5175 ac_status=$? 5176 grep -v '^ *+' conftest.er1 >conftest.err 5177 rm -f conftest.er1 5178 cat conftest.err >&5 5179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5180 (exit $ac_status); } >/dev/null && { 5181 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5182 test ! -s conftest.err 5183 }; then 5184 ac_header_preproc=yes 5185 else 5186 echo "$as_me: failed program was:" >&5 5187 sed 's/^/| /' conftest.$ac_ext >&5 5188