Changeset b6f4bd2 in git
- Timestamp:
- May 17, 2010, 7:57:36 PM (14 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- bbf7a8c39f00750cdcc6e5f9eaacd0307ae30e09
- Parents:
- 7f39d663016ddc197b9c3d146753b3cd49732bb0
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2010-05-17 19:57:36+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:52:57+01:00
- Location:
- output
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
output/config.h.in
r7f39d6 rb6f4bd2 9 9 /* Define if you have vprintf */ 10 10 #undef HAVE_VPRINTF 11 /* Define if you have vsnprintf */ 12 #undef HAVE_VSNPRINTF 11 13 12 14 #endif -
output/configure
r7f39d6 rb6f4bd2 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 1for FULL-PACKAGE-NAME VERSION.3 # Generated by GNU Autoconf 2.65 for FULL-PACKAGE-NAME VERSION. 4 4 # 5 5 # Report bugs to <BUG-REPORT-ADDRESS>. 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 BUG-REPORT-ADDRESS 234 $0: about your system, including any error possibly output 235 $0: before this message. Then install a modern shell, or 236 $0: manually run the script under such a shell if you do 237 $0: 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='FULL-PACKAGE-NAME VERSION' 579 557 PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS' 558 PACKAGE_URL='' 580 559 581 560 ac_unique_file="output.h" … … 616 595 #endif" 617 596 618 ac_subst_vars='SHELL 597 ac_subst_vars='LTLIBOBJS 598 LIBOBJS 599 EGREP 600 GREP 601 CPP 602 INSTALL_DATA 603 INSTALL_SCRIPT 604 INSTALL_PROGRAM 605 LN_S 606 ac_ct_CC 607 CFLAGS 608 CC 609 OBJEXT 610 EXEEXT 611 ac_ct_CXX 612 CPPFLAGS 613 LDFLAGS 614 CXXFLAGS 615 CXX 616 target_alias 617 host_alias 618 build_alias 619 LIBS 620 ECHO_T 621 ECHO_N 622 ECHO_C 623 DEFS 624 mandir 625 localedir 626 libdir 627 psdir 628 pdfdir 629 dvidir 630 htmldir 631 infodir 632 docdir 633 oldincludedir 634 includedir 635 localstatedir 636 sharedstatedir 637 sysconfdir 638 datadir 639 datarootdir 640 libexecdir 641 sbindir 642 bindir 643 program_transform_name 644 prefix 645 exec_prefix 646 PACKAGE_URL 647 PACKAGE_BUGREPORT 648 PACKAGE_STRING 649 PACKAGE_VERSION 650 PACKAGE_TARNAME 651 PACKAGE_NAME 619 652 PATH_SEPARATOR 620 PACKAGE_NAME 621 PACKAGE_TARNAME 622 PACKAGE_VERSION 623 PACKAGE_STRING 624 PACKAGE_BUGREPORT 625 exec_prefix 626 prefix 627 program_transform_name 628 bindir 629 sbindir 630 libexecdir 631 datarootdir 632 datadir 633 sysconfdir 634 sharedstatedir 635 localstatedir 636 includedir 637 oldincludedir 638 docdir 639 infodir 640 htmldir 641 dvidir 642 pdfdir 643 psdir 644 libdir 645 localedir 646 mandir 647 DEFS 648 ECHO_C 649 ECHO_N 650 ECHO_T 651 LIBS 652 build_alias 653 host_alias 654 target_alias 655 CXX 656 CXXFLAGS 657 LDFLAGS 658 CPPFLAGS 659 ac_ct_CXX 660 EXEEXT 661 OBJEXT 662 CC 663 CFLAGS 664 ac_ct_CC 665 LN_S 666 INSTALL_PROGRAM 667 INSTALL_SCRIPT 668 INSTALL_DATA 669 CPP 670 GREP 671 EGREP 672 LIBOBJS 673 LTLIBOBJS' 653 SHELL' 674 654 ac_subst_files='' 655 ac_user_opts=' 656 enable_option_checking 657 ' 675 658 ac_precious_vars='build_alias 676 659 host_alias … … 690 673 ac_init_help= 691 674 ac_init_version=false 675 ac_unrecognized_opts= 676 ac_unrecognized_sep= 692 677 # The variables have the same names as the options, with 693 678 # dashes changed to underlines. … … 788 773 789 774 -disable-* | --disable-*) 790 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`775 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 791 776 # Reject names that are not valid shell variable names. 792 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 793 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 794 { (exit 1); exit 1; }; } 795 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 796 eval enable_$ac_feature=no ;; 777 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 778 as_fn_error "invalid feature name: $ac_useropt" 779 ac_useropt_orig=$ac_useropt 780 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 781 case $ac_user_opts in 782 *" 783 "enable_$ac_useropt" 784 "*) ;; 785 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 786 ac_unrecognized_sep=', ';; 787 esac 788 eval enable_$ac_useropt=no ;; 797 789 798 790 -docdir | --docdir | --docdi | --doc | --do) … … 807 799 808 800 -enable-* | --enable-*) 809 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`801 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 810 802 # Reject names that are not valid shell variable names. 811 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 812 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 813 { (exit 1); exit 1; }; } 814 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 815 eval enable_$ac_feature=\$ac_optarg ;; 803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 804 as_fn_error "invalid feature name: $ac_useropt" 805 ac_useropt_orig=$ac_useropt 806 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 807 case $ac_user_opts in 808 *" 809 "enable_$ac_useropt" 810 "*) ;; 811 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 812 ac_unrecognized_sep=', ';; 813 esac 814 eval enable_$ac_useropt=\$ac_optarg ;; 816 815 817 816 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1004 1003 1005 1004 -with-* | --with-*) 1006 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1005 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1007 1006 # Reject names that are not valid shell variable names. 1008 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1009 { echo "$as_me: error: invalid package name: $ac_package" >&2 1010 { (exit 1); exit 1; }; } 1011 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1012 eval with_$ac_package=\$ac_optarg ;; 1007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1008 as_fn_error "invalid package name: $ac_useropt" 1009 ac_useropt_orig=$ac_useropt 1010 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1011 case $ac_user_opts in 1012 *" 1013 "with_$ac_useropt" 1014 "*) ;; 1015 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1016 ac_unrecognized_sep=', ';; 1017 esac 1018 eval with_$ac_useropt=\$ac_optarg ;; 1013 1019 1014 1020 -without-* | --without-*) 1015 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1021 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1016 1022 # Reject names that are not valid shell variable names. 1017 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1018 { echo "$as_me: error: invalid package name: $ac_package" >&2 1019 { (exit 1); exit 1; }; } 1020 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1021 eval with_$ac_package=no ;; 1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1024 as_fn_error "invalid package name: $ac_useropt" 1025 ac_useropt_orig=$ac_useropt 1026 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1027 case $ac_user_opts in 1028 *" 1029 "with_$ac_useropt" 1030 "*) ;; 1031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1032 ac_unrecognized_sep=', ';; 1033 esac 1034 eval with_$ac_useropt=no ;; 1022 1035 1023 1036 --x) … … 1039 1052 x_libraries=$ac_optarg ;; 1040 1053 1041 -*) { echo "$as_me: error: unrecognized option: $ac_option 1042 Try \`$0 --help' for more information." >&2 1043 { (exit 1); exit 1; }; } 1054 -*) as_fn_error "unrecognized option: \`$ac_option' 1055 Try \`$0 --help' for more information." 1044 1056 ;; 1045 1057 … … 1047 1059 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1048 1060 # Reject names that are not valid shell variable names. 1049 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1050 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1051 { (exit 1); exit 1; }; } 1061 case $ac_envvar in #( 1062 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1063 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1064 esac 1052 1065 eval $ac_envvar=\$ac_optarg 1053 1066 export $ac_envvar ;; … … 1055 1068 *) 1056 1069 # FIXME: should be removed in autoconf 3.0. 1057 echo "$as_me: WARNING: you should use --build, --host, --target" >&21070 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1058 1071 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1059 echo "$as_me: WARNING: invalid host type: $ac_option" >&21072 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1060 1073 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1061 1074 ;; … … 1066 1079 if test -n "$ac_prev"; then 1067 1080 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1068 { echo "$as_me: error: missing argument to $ac_option" >&2 1069 { (exit 1); exit 1; }; } 1070 fi 1071 1072 # Be sure to have absolute directory names. 1081 as_fn_error "missing argument to $ac_option" 1082 fi 1083 1084 if test -n "$ac_unrecognized_opts"; then 1085 case $enable_option_checking in 1086 no) ;; 1087 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1088 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1089 esac 1090 fi 1091 1092 # Check all directory arguments for consistency. 1073 1093 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1074 1094 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1077 1097 do 1078 1098 eval ac_val=\$$ac_var 1099 # Remove trailing slashes. 1100 case $ac_val in 1101 */ ) 1102 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1103 eval $ac_var=\$ac_val;; 1104 esac 1105 # Be sure to have absolute directory names. 1079 1106 case $ac_val in 1080 1107 [\\/$]* | ?:[\\/]* ) continue;; 1081 1108 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1082 1109 esac 1083 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1084 { (exit 1); exit 1; }; } 1110 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1085 1111 done 1086 1112 … … 1096 1122 if test "x$build_alias" = x; then 1097 1123 cross_compiling=maybe 1098 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1124 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1099 1125 If a cross compiler is detected then cross compile mode will be used." >&2 1100 1126 elif test "x$build_alias" != "x$host_alias"; then … … 1112 1138 ac_ls_di=`ls -di .` && 1113 1139 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1114 { echo "$as_me: error: Working directory cannot be determined" >&2 1115 { (exit 1); exit 1; }; } 1140 as_fn_error "working directory cannot be determined" 1116 1141 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1117 { echo "$as_me: error: pwd does not report name of working directory" >&2 1118 { (exit 1); exit 1; }; } 1142 as_fn_error "pwd does not report name of working directory" 1119 1143 1120 1144 … … 1123 1147 ac_srcdir_defaulted=yes 1124 1148 # Try the directory containing this script, then the parent directory. 1125 ac_confdir=`$as_dirname -- "$ 0" ||1126 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1127 X"$ 0" : 'X\(//\)[^/]' \| \1128 X"$ 0" : 'X\(//\)$' \| \1129 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1130 echo X"$0" |1149 ac_confdir=`$as_dirname -- "$as_myself" || 1150 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1151 X"$as_myself" : 'X\(//\)[^/]' \| \ 1152 X"$as_myself" : 'X\(//\)$' \| \ 1153 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1154 $as_echo X"$as_myself" | 1131 1155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1132 1156 s//\1/ … … 1155 1179 if test ! -r "$srcdir/$ac_unique_file"; then 1156 1180 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1157 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1158 { (exit 1); exit 1; }; } 1181 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1159 1182 fi 1160 1183 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1161 1184 ac_abs_confdir=`( 1162 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1163 { (exit 1); exit 1; }; } 1185 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1164 1186 pwd)` 1165 1187 # When building in place, set srcdir=. … … 1209 1231 Installation directories: 1210 1232 --prefix=PREFIX install architecture-independent files in PREFIX 1211 1233 [$ac_default_prefix] 1212 1234 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1213 1235 [PREFIX] 1214 1236 1215 1237 By default, \`make install' will install all the files in … … 1221 1243 1222 1244 Fine tuning of the installation directories: 1223 --bindir=DIR user executables [EPREFIX/bin] 1224 --sbindir=DIR system admin executables [EPREFIX/sbin] 1225 --libexecdir=DIR program executables [EPREFIX/libexec] 1226 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1227 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1228 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1229 --libdir=DIR object code libraries [EPREFIX/lib] 1230 --includedir=DIR C header files [PREFIX/include] 1231 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1232 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1233 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1234 --infodir=DIR info documentation [DATAROOTDIR/info] 1235 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1236 --mandir=DIR man documentation [DATAROOTDIR/man] 1237 --docdir=DIR documentation root [DATAROOTDIR/doc/full-package-name] 1238 --htmldir=DIR html documentation [DOCDIR] 1239 --dvidir=DIR dvi documentation [DOCDIR] 1240 --pdfdir=DIR pdf documentation [DOCDIR] 1241 --psdir=DIR ps documentation [DOCDIR] 1245 --bindir=DIR user executables [EPREFIX/bin] 1246 --sbindir=DIR system admin executables [EPREFIX/sbin] 1247 --libexecdir=DIR program executables [EPREFIX/libexec] 1248 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1249 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1250 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1251 --libdir=DIR object code libraries [EPREFIX/lib] 1252 --includedir=DIR C header files [PREFIX/include] 1253 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1254 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1255 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1256 --infodir=DIR info documentation [DATAROOTDIR/info] 1257 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1258 --mandir=DIR man documentation [DATAROOTDIR/man] 1259 --docdir=DIR documentation root 1260 [DATAROOTDIR/doc/full-package-name] 1261 --htmldir=DIR html documentation [DOCDIR] 1262 --dvidir=DIR dvi documentation [DOCDIR] 1263 --pdfdir=DIR pdf documentation [DOCDIR] 1264 --psdir=DIR ps documentation [DOCDIR] 1242 1265 _ACEOF 1243 1266 … … 1258 1281 nonstandard directory <lib dir> 1259 1282 LIBS libraries to pass to the linker, e.g. -l<library> 1260 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1283 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1261 1284 you have headers in a nonstandard directory <include dir> 1262 1285 CC C compiler command … … 1275 1298 # If there are subdirs, report their specific --help. 1276 1299 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1277 test -d "$ac_dir" || continue 1300 test -d "$ac_dir" || 1301 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1302 continue 1278 1303 ac_builddir=. 1279 1304 … … 1281 1306 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1282 1307 *) 1283 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1308 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1284 1309 # A ".." for each directory in $ac_dir_suffix. 1285 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1310 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1286 1311 case $ac_top_builddir_sub in 1287 1312 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1319 1344 $SHELL "$ac_srcdir/configure" --help=recursive 1320 1345 else 1321 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21346 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1322 1347 fi || ac_status=$? 1323 1348 cd "$ac_pwd" || { ac_status=$?; break; } … … 1329 1354 cat <<\_ACEOF 1330 1355 FULL-PACKAGE-NAME configure VERSION 1331 generated by GNU Autoconf 2.61 1332 1333 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1334 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1356 generated by GNU Autoconf 2.65 1357 1358 Copyright (C) 2009 Free Software Foundation, Inc. 1335 1359 This configure script is free software; the Free Software Foundation 1336 1360 gives unlimited permission to copy, distribute and modify it. … … 1338 1362 exit 1339 1363 fi 1364 1365 ## ------------------------ ## 1366 ## Autoconf initialization. ## 1367 ## ------------------------ ## 1368 1369 # ac_fn_cxx_try_compile LINENO 1370 # ---------------------------- 1371 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1372 ac_fn_cxx_try_compile () 1373 { 1374 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1375 rm -f conftest.$ac_objext 1376 if { { ac_try="$ac_compile" 1377 case "(($ac_try" in 1378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1379 *) ac_try_echo=$ac_try;; 1380 esac 1381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1382 $as_echo "$ac_try_echo"; } >&5 1383 (eval "$ac_compile") 2>conftest.err 1384 ac_status=$? 1385 if test -s conftest.err; then 1386 grep -v '^ *+' conftest.err >conftest.er1 1387 cat conftest.er1 >&5 1388 mv -f conftest.er1 conftest.err 1389 fi 1390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1391 test $ac_status = 0; } && { 1392 test -z "$ac_cxx_werror_flag" || 1393 test ! -s conftest.err 1394 } && test -s conftest.$ac_objext; then : 1395 ac_retval=0 1396 else 1397 $as_echo "$as_me: failed program was:" >&5 1398 sed 's/^/| /' conftest.$ac_ext >&5 1399 1400 ac_retval=1 1401 fi 1402 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1403 as_fn_set_status $ac_retval 1404 1405 } # ac_fn_cxx_try_compile 1406 1407 # ac_fn_c_try_compile LINENO 1408 # -------------------------- 1409 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1410 ac_fn_c_try_compile () 1411 { 1412 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1413 rm -f conftest.$ac_objext 1414 if { { ac_try="$ac_compile" 1415 case "(($ac_try" in 1416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1417 *) ac_try_echo=$ac_try;; 1418 esac 1419 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1420 $as_echo "$ac_try_echo"; } >&5 1421 (eval "$ac_compile") 2>conftest.err 1422 ac_status=$? 1423 if test -s conftest.err; then 1424 grep -v '^ *+' conftest.err >conftest.er1 1425 cat conftest.er1 >&5 1426 mv -f conftest.er1 conftest.err 1427 fi 1428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1429 test $ac_status = 0; } && { 1430 test -z "$ac_c_werror_flag" || 1431 test ! -s conftest.err 1432 } && test -s conftest.$ac_objext; then : 1433 ac_retval=0 1434 else 1435 $as_echo "$as_me: failed program was:" >&5 1436 sed 's/^/| /' conftest.$ac_ext >&5 1437 1438 ac_retval=1 1439 fi 1440 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1441 as_fn_set_status $ac_retval 1442 1443 } # ac_fn_c_try_compile 1444 1445 # ac_fn_c_try_cpp LINENO 1446 # ---------------------- 1447 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1448 ac_fn_c_try_cpp () 1449 { 1450 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1451 if { { ac_try="$ac_cpp conftest.$ac_ext" 1452 case "(($ac_try" in 1453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1454 *) ac_try_echo=$ac_try;; 1455 esac 1456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1457 $as_echo "$ac_try_echo"; } >&5 1458 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1459 ac_status=$? 1460 if test -s conftest.err; then 1461 grep -v '^ *+' conftest.err >conftest.er1 1462 cat conftest.er1 >&5 1463 mv -f conftest.er1 conftest.err 1464 fi 1465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1466 test $ac_status = 0; } >/dev/null && { 1467 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1468 test ! -s conftest.err 1469 }; then : 1470 ac_retval=0 1471 else 1472 $as_echo "$as_me: failed program was:" >&5 1473 sed 's/^/| /' conftest.$ac_ext >&5 1474 1475 ac_retval=1 1476 fi 1477 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1478 as_fn_set_status $ac_retval 1479 1480 } # ac_fn_c_try_cpp 1481 1482 # ac_fn_c_try_run LINENO 1483 # ---------------------- 1484 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1485 # that executables *can* be run. 1486 ac_fn_c_try_run () 1487 { 1488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1489 if { { ac_try="$ac_link" 1490 case "(($ac_try" in 1491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1492 *) ac_try_echo=$ac_try;; 1493 esac 1494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1495 $as_echo "$ac_try_echo"; } >&5 1496 (eval "$ac_link") 2>&5 1497 ac_status=$? 1498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1499 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1500 { { case "(($ac_try" in 1501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1502 *) ac_try_echo=$ac_try;; 1503 esac 1504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1505 $as_echo "$ac_try_echo"; } >&5 1506 (eval "$ac_try") 2>&5 1507 ac_status=$? 1508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1509 test $ac_status = 0; }; }; then : 1510 ac_retval=0 1511 else 1512 $as_echo "$as_me: program exited with status $ac_status" >&5 1513 $as_echo "$as_me: failed program was:" >&5 1514 sed 's/^/| /' conftest.$ac_ext >&5 1515 1516 ac_retval=$ac_status 1517 fi 1518 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1519 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1520 as_fn_set_status $ac_retval 1521 1522 } # ac_fn_c_try_run 1523 1524 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1525 # ------------------------------------------------------- 1526 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1527 # the include files in INCLUDES and setting the cache variable VAR 1528 # accordingly. 1529 ac_fn_c_check_header_mongrel () 1530 { 1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1532 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1534 $as_echo_n "checking for $2... " >&6; } 1535 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1536 $as_echo_n "(cached) " >&6 1537 fi 1538 eval ac_res=\$$3 1539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1540 $as_echo "$ac_res" >&6; } 1541 else 1542 # Is the header compilable? 1543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1544 $as_echo_n "checking $2 usability... " >&6; } 1545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1546 /* end confdefs.h. */ 1547 $4 1548 #include <$2> 1549 _ACEOF 1550 if ac_fn_c_try_compile "$LINENO"; then : 1551 ac_header_compiler=yes 1552 else 1553 ac_header_compiler=no 1554 fi 1555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1557 $as_echo "$ac_header_compiler" >&6; } 1558 1559 # Is the header present? 1560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1561 $as_echo_n "checking $2 presence... " >&6; } 1562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1563 /* end confdefs.h. */ 1564 #include <$2> 1565 _ACEOF 1566 if ac_fn_c_try_cpp "$LINENO"; then : 1567 ac_header_preproc=yes 1568 else 1569 ac_header_preproc=no 1570 fi 1571 rm -f conftest.err conftest.$ac_ext 1572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1573 $as_echo "$ac_header_preproc" >&6; } 1574 1575 # So? What about this header? 1576 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1577 yes:no: ) 1578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1579 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1581 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1582 ;; 1583 no:yes:* ) 1584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1585 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1587 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1589 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1591 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1593 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1594 ( cat <<\_ASBOX 1595 ## --------------------------------- ## 1596 ## Report this to BUG-REPORT-ADDRESS ## 1597 ## --------------------------------- ## 1598 _ASBOX 1599 ) | sed "s/^/$as_me: WARNING: /" >&2 1600 ;; 1601 esac 1602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1603 $as_echo_n "checking for $2... " >&6; } 1604 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1605 $as_echo_n "(cached) " >&6 1606 else 1607 eval "$3=\$ac_header_compiler" 1608 fi 1609 eval ac_res=\$$3 1610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1611 $as_echo "$ac_res" >&6; } 1612 fi 1613 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1614 1615 } # ac_fn_c_check_header_mongrel 1616 1617 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1618 # ------------------------------------------------------- 1619 # Tests whether HEADER exists and can be compiled using the include files in 1620 # INCLUDES, setting the cache variable VAR accordingly. 1621 ac_fn_c_check_header_compile () 1622 { 1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1625 $as_echo_n "checking for $2... " >&6; } 1626 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1627 $as_echo_n "(cached) " >&6 1628 else 1629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1630 /* end confdefs.h. */ 1631 $4 1632 #include <$2> 1633 _ACEOF 1634 if ac_fn_c_try_compile "$LINENO"; then : 1635 eval "$3=yes" 1636 else 1637 eval "$3=no" 1638 fi 1639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1640 fi 1641 eval ac_res=\$$3 1642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1643 $as_echo "$ac_res" >&6; } 1644 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1645 1646 } # ac_fn_c_check_header_compile 1647 1648 # ac_fn_c_try_link LINENO 1649 # ----------------------- 1650 # Try to link conftest.$ac_ext, and return whether this succeeded. 1651 ac_fn_c_try_link () 1652 { 1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1654 rm -f conftest.$ac_objext conftest$ac_exeext 1655 if { { ac_try="$ac_link" 1656 case "(($ac_try" in 1657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1658 *) ac_try_echo=$ac_try;; 1659 esac 1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1661 $as_echo "$ac_try_echo"; } >&5 1662 (eval "$ac_link") 2>conftest.err 1663 ac_status=$? 1664 if test -s conftest.err; then 1665 grep -v '^ *+' conftest.err >conftest.er1 1666 cat conftest.er1 >&5 1667 mv -f conftest.er1 conftest.err 1668 fi 1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1670 test $ac_status = 0; } && { 1671 test -z "$ac_c_werror_flag" || 1672 test ! -s conftest.err 1673 } && test -s conftest$ac_exeext && { 1674 test "$cross_compiling" = yes || 1675 $as_test_x conftest$ac_exeext 1676 }; then : 1677 ac_retval=0 1678 else 1679 $as_echo "$as_me: failed program was:" >&5 1680 sed 's/^/| /' conftest.$ac_ext >&5 1681 1682 ac_retval=1 1683 fi 1684 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1685 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1686 # interfere with the next link command; also delete a directory that is 1687 # left behind by Apple's compiler. We do this before executing the actions. 1688 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1689 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1690 as_fn_set_status $ac_retval 1691 1692 } # ac_fn_c_try_link 1693 1694 # ac_fn_c_check_func LINENO FUNC VAR 1695 # ---------------------------------- 1696 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1697 ac_fn_c_check_func () 1698 { 1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1701 $as_echo_n "checking for $2... " >&6; } 1702 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1703 $as_echo_n "(cached) " >&6 1704 else 1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1706 /* end confdefs.h. */ 1707 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1708 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1709 #define $2 innocuous_$2 1710 1711 /* System header to define __stub macros and hopefully few prototypes, 1712 which can conflict with char $2 (); below. 1713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1714 <limits.h> exists even on freestanding compilers. */ 1715 1716 #ifdef __STDC__ 1717 # include <limits.h> 1718 #else 1719 # include <assert.h> 1720 #endif 1721 1722 #undef $2 1723 1724 /* Override any GCC internal prototype to avoid an error. 1725 Use char because int might match the return type of a GCC 1726 builtin and then its argument prototype would still apply. */ 1727 #ifdef __cplusplus 1728 extern "C" 1729 #endif 1730 char $2 (); 1731 /* The GNU C library defines this for functions which it implements 1732 to always fail with ENOSYS. Some functions are actually named 1733 something starting with __ and the normal name is an alias. */ 1734 #if defined __stub_$2 || defined __stub___$2 1735 choke me 1736 #endif 1737 1738 int 1739 main () 1740 { 1741 return $2 (); 1742 ; 1743 return 0; 1744 } 1745 _ACEOF 1746 if ac_fn_c_try_link "$LINENO"; then : 1747 eval "$3=yes" 1748 else 1749 eval "$3=no" 1750 fi 1751 rm -f core conftest.err conftest.$ac_objext \ 1752 conftest$ac_exeext conftest.$ac_ext 1753 fi 1754 eval ac_res=\$$3 1755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1756 $as_echo "$ac_res" >&6; } 1757 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1758 1759 } # ac_fn_c_check_func 1340 1760 cat >config.log <<_ACEOF 1341 1761 This file contains any messages produced by compilers while … … 1343 1763 1344 1764 It was created by FULL-PACKAGE-NAME $as_me VERSION, which was 1345 generated by GNU Autoconf 2.6 1. Invocation command line was1765 generated by GNU Autoconf 2.65. Invocation command line was 1346 1766 1347 1767 $ $0 $@ … … 1379 1799 IFS=$as_save_IFS 1380 1800 test -z "$as_dir" && as_dir=. 1381 echo "PATH: $as_dir"1382 done1801 $as_echo "PATH: $as_dir" 1802 done 1383 1803 IFS=$as_save_IFS 1384 1804 … … 1414 1834 continue ;; 1415 1835 *\'*) 1416 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1836 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1417 1837 esac 1418 1838 case $ac_pass in 1419 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1839 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1420 1840 2) 1421 a c_configure_args1="$ac_configure_args1'$ac_arg'"1841 as_fn_append ac_configure_args1 " '$ac_arg'" 1422 1842 if test $ac_must_keep_next = true; then 1423 1843 ac_must_keep_next=false # Got value, back to normal. … … 1435 1855 esac 1436 1856 fi 1437 a c_configure_args="$ac_configure_args'$ac_arg'"1857 as_fn_append ac_configure_args " '$ac_arg'" 1438 1858 ;; 1439 1859 esac 1440 1860 done 1441 1861 done 1442 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1443 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}1862 { ac_configure_args0=; unset ac_configure_args0;} 1863 { ac_configure_args1=; unset ac_configure_args1;} 1444 1864 1445 1865 # When interrupted or exit'd, cleanup temporary files, and complete … … 1466 1886 *${as_nl}*) 1467 1887 case $ac_var in #( 1468 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51469 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;1888 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1889 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1470 1890 esac 1471 1891 case $ac_var in #( 1472 1892 _ | IFS | as_nl) ;; #( 1473 *) $as_unset $ac_var ;; 1893 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1894 *) { eval $ac_var=; unset $ac_var;} ;; 1474 1895 esac ;; 1475 1896 esac … … 1500 1921 eval ac_val=\$$ac_var 1501 1922 case $ac_val in 1502 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1923 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1503 1924 esac 1504 echo "$ac_var='\''$ac_val'\''"1925 $as_echo "$ac_var='\''$ac_val'\''" 1505 1926 done | sort 1506 1927 echo … … 1517 1938 eval ac_val=\$$ac_var 1518 1939 case $ac_val in 1519 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1940 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1520 1941 esac 1521 echo "$ac_var='\''$ac_val'\''"1942 $as_echo "$ac_var='\''$ac_val'\''" 1522 1943 done | sort 1523 1944 echo … … 1535 1956 fi 1536 1957 test "$ac_signal" != 0 && 1537 echo "$as_me: caught signal $ac_signal"1538 echo "$as_me: exit $exit_status"1958 $as_echo "$as_me: caught signal $ac_signal" 1959 $as_echo "$as_me: exit $exit_status" 1539 1960 } >&5 1540 1961 rm -f core *.core core.conftest.* && … … 1543 1964 ' 0 1544 1965 for ac_signal in 1 2 13 15; do 1545 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal1966 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1546 1967 done 1547 1968 ac_signal=0 … … 1550 1971 rm -f -r conftest* confdefs.h 1551 1972 1973 $as_echo "/* confdefs.h */" > confdefs.h 1974 1552 1975 # Predefined preprocessor variables. 1553 1976 … … 1556 1979 _ACEOF 1557 1980 1558 1559 1981 cat >>confdefs.h <<_ACEOF 1560 1982 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1561 1983 _ACEOF 1562 1984 1563 1564 1985 cat >>confdefs.h <<_ACEOF 1565 1986 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1566 1987 _ACEOF 1567 1988 1568 1569 1989 cat >>confdefs.h <<_ACEOF 1570 1990 #define PACKAGE_STRING "$PACKAGE_STRING" 1571 1991 _ACEOF 1572 1992 1573 1574 1993 cat >>confdefs.h <<_ACEOF 1575 1994 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1576 1995 _ACEOF 1577 1996 1997 cat >>confdefs.h <<_ACEOF 1998 #define PACKAGE_URL "$PACKAGE_URL" 1999 _ACEOF 2000 1578 2001 1579 2002 # Let the site file select an alternate cache file if it wants to. 1580 # Prefer explicitly selected file to automatically selected ones. 2003 # Prefer an explicitly selected file to automatically selected ones. 2004 ac_site_file1=NONE 2005 ac_site_file2=NONE 1581 2006 if test -n "$CONFIG_SITE"; then 1582 set x "$CONFIG_SITE"2007 ac_site_file1=$CONFIG_SITE 1583 2008 elif test "x$prefix" != xNONE; then 1584 set x "$prefix/share/config.site" "$prefix/etc/config.site"1585 else1586 set x "$ac_default_prefix/share/config.site" \ 1587 "$ac_default_prefix/etc/config.site" 1588 fi 1589 shift 1590 for ac_site_file 2009 ac_site_file1=$prefix/share/config.site 2010 ac_site_file2=$prefix/etc/config.site 2011 else 2012 ac_site_file1=$ac_default_prefix/share/config.site 2013 ac_site_file2=$ac_default_prefix/etc/config.site 2014 fi 2015 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1591 2016 do 1592 if test -r "$ac_site_file"; then 1593 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1594 echo "$as_me: loading site script $ac_site_file" >&6;} 2017 test "x$ac_site_file" = xNONE && continue 2018 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2019 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2020 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1595 2021 sed 's/^/| /' "$ac_site_file" >&5 1596 2022 . "$ac_site_file" … … 1599 2025 1600 2026 if test -r "$cache_file"; then 1601 # Some versions of bash will fail to source /dev/null (special 1602 # files actually), so we avoid doing that.1603 if test -f "$cache_file"; then1604 { echo "$as_me:$LINENO: loading cache $cache_file" >&51605 echo "$as_me: loading cache $cache_file" >&6;}2027 # Some versions of bash will fail to source /dev/null (special files 2028 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2029 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2030 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2031 $as_echo "$as_me: loading cache $cache_file" >&6;} 1606 2032 case $cache_file in 1607 2033 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1610 2036 fi 1611 2037 else 1612 { echo "$as_me:$LINENO: creating cache $cache_file" >&51613 echo "$as_me: creating cache $cache_file" >&6;}2038 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2039 $as_echo "$as_me: creating cache $cache_file" >&6;} 1614 2040 >$cache_file 1615 2041 fi … … 1625 2051 case $ac_old_set,$ac_new_set in 1626 2052 set,) 1627 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51628 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2053 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2054 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1629 2055 ac_cache_corrupted=: ;; 1630 2056 ,set) 1631 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51632 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2057 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2058 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1633 2059 ac_cache_corrupted=: ;; 1634 2060 ,);; 1635 2061 *) 1636 2062 if test "x$ac_old_val" != "x$ac_new_val"; then 1637 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1638 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1639 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1640 echo "$as_me: former value: $ac_old_val" >&2;} 1641 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1642 echo "$as_me: current value: $ac_new_val" >&2;} 1643 ac_cache_corrupted=: 2063 # differences in whitespace do not lead to failure. 2064 ac_old_val_w=`echo x $ac_old_val` 2065 ac_new_val_w=`echo x $ac_new_val` 2066 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2067 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2068 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2069 ac_cache_corrupted=: 2070 else 2071 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2072 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2073 eval $ac_var=\$ac_old_val 2074 fi 2075 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2076 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2077 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2078 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1644 2079 fi;; 1645 2080 esac … … 1647 2082 if test "$ac_new_set" = set; then 1648 2083 case $ac_new_val in 1649 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2084 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1650 2085 *) ac_arg=$ac_var=$ac_new_val ;; 1651 2086 esac 1652 2087 case " $ac_configure_args " in 1653 2088 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1654 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2089 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1655 2090 esac 1656 2091 fi 1657 2092 done 1658 2093 if $ac_cache_corrupted; then 1659 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1660 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1661 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1662 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1663 { (exit 1); exit 1; }; } 1664 fi 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 2094 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2096 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2097 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2098 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2099 fi 2100 ## -------------------- ## 2101 ## Main body of script. ## 2102 ## -------------------- ## 1689 2103 1690 2104 ac_ext=c … … 1714 2128 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1715 2129 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1716 { echo "$as_me:$LINENO: checking for $ac_word" >&51717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1718 if test "${ac_cv_prog_CXX+set}" = set; then 1719 echo $ECHO_N "(cached) $ECHO_C" >&62130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2131 $as_echo_n "checking for $ac_word... " >&6; } 2132 if test "${ac_cv_prog_CXX+set}" = set; then : 2133 $as_echo_n "(cached) " >&6 1720 2134 else 1721 2135 if test -n "$CXX"; then … … 1727 2141 IFS=$as_save_IFS 1728 2142 test -z "$as_dir" && as_dir=. 1729 for ac_exec_ext in '' $ac_executable_extensions; do2143 for ac_exec_ext in '' $ac_executable_extensions; do 1730 2144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1731 2145 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1733 2147 break 2 1734 2148 fi 1735 2149 done 1736 done2150 done 1737 2151 IFS=$as_save_IFS 1738 2152 … … 1741 2155 CXX=$ac_cv_prog_CXX 1742 2156 if test -n "$CXX"; then 1743 { echo "$as_me:$LINENO: result: $CXX" >&51744 echo "${ECHO_T}$CXX" >&6; }1745 else 1746 { echo "$as_me:$LINENO: result: no" >&51747 echo "${ECHO_T}no" >&6; }2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 2158 $as_echo "$CXX" >&6; } 2159 else 2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2161 $as_echo "no" >&6; } 1748 2162 fi 1749 2163 … … 1758 2172 # Extract the first word of "$ac_prog", so it can be a program name with args. 1759 2173 set dummy $ac_prog; ac_word=$2 1760 { echo "$as_me:$LINENO: checking for $ac_word" >&51761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1762 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 1763 echo $ECHO_N "(cached) $ECHO_C" >&62174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2175 $as_echo_n "checking for $ac_word... " >&6; } 2176 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 2177 $as_echo_n "(cached) " >&6 1764 2178 else 1765 2179 if test -n "$ac_ct_CXX"; then … … 1771 2185 IFS=$as_save_IFS 1772 2186 test -z "$as_dir" && as_dir=. 1773 for ac_exec_ext in '' $ac_executable_extensions; do2187 for ac_exec_ext in '' $ac_executable_extensions; do 1774 2188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1775 2189 ac_cv_prog_ac_ct_CXX="$ac_prog" 1776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1777 2191 break 2 1778 2192 fi 1779 2193 done 1780 done2194 done 1781 2195 IFS=$as_save_IFS 1782 2196 … … 1785 2199 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1786 2200 if test -n "$ac_ct_CXX"; then 1787 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&51788 echo "${ECHO_T}$ac_ct_CXX" >&6; }1789 else 1790 { echo "$as_me:$LINENO: result: no" >&51791 echo "${ECHO_T}no" >&6; }2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 2202 $as_echo "$ac_ct_CXX" >&6; } 2203 else 2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2205 $as_echo "no" >&6; } 1792 2206 fi 1793 2207 … … 1801 2215 case $cross_compiling:$ac_tool_warned in 1802 2216 yes:) 1803 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1804 whose name does not start with the host triplet. If you think this 1805 configuration is useful to you, please write to autoconf@gnu.org." >&5 1806 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1807 whose name does not start with the host triplet. If you think this 1808 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1809 2219 ac_tool_warned=yes ;; 1810 2220 esac … … 1816 2226 fi 1817 2227 # Provide some information about the compiler. 1818 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 1819 ac_compiler=`set X $ac_compile; echo $2` 1820 { (ac_try="$ac_compiler --version >&5" 2228 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 2229 set X $ac_compile 2230 ac_compiler=$2 2231 for ac_option in --version -v -V -qversion; do 2232 { { ac_try="$ac_compiler $ac_option >&5" 1821 2233 case "(($ac_try" in 1822 2234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1823 2235 *) ac_try_echo=$ac_try;; 1824 2236 esac 1825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 1826 (eval "$ac_compiler --version >&5") 2>&5 2237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2238 $as_echo "$ac_try_echo"; } >&5 2239 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 1827 2240 ac_status=$? 1828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1829 (exit $ac_status); } 1830 { (ac_try="$ac_compiler -v >&5" 2241 if test -s conftest.err; then 2242 sed '10a\ 2243 ... rest of stderr output deleted ... 2244 10q' conftest.err >conftest.er1 2245 cat conftest.er1 >&5 2246 fi 2247 rm -f conftest.er1 conftest.err 2248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2249 test $ac_status = 0; } 2250 done 2251 2252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2253 /* end confdefs.h. */ 2254 2255 int 2256 main () 2257 { 2258 2259 ; 2260 return 0; 2261 } 2262 _ACEOF 2263 ac_clean_files_save=$ac_clean_files 2264 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2265 # Try to create an executable without -o first, disregard a.out. 2266 # It will help us diagnose broken compilers, and finding out an intuition 2267 # of exeext. 2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 2269 $as_echo_n "checking whether the C++ compiler works... " >&6; } 2270 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2271 2272 # The possible output files: 2273 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2274 2275 ac_rmfiles= 2276 for ac_file in $ac_files 2277 do 2278 case $ac_file in 2279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2280 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2281 esac 2282 done 2283 rm -f $ac_rmfiles 2284 2285 if { { ac_try="$ac_link_default" 1831 2286 case "(($ac_try" in 1832 2287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1833 2288 *) ac_try_echo=$ac_try;; 1834 2289 esac 1835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 1836 (eval "$ac_compiler -v >&5") 2>&5 1837 ac_status=$? 1838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1839 (exit $ac_status); } 1840 { (ac_try="$ac_compiler -V >&5" 1841 case "(($ac_try" in 1842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1843 *) ac_try_echo=$ac_try;; 1844 esac 1845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 1846 (eval "$ac_compiler -V >&5") 2>&5 1847 ac_status=$? 1848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1849 (exit $ac_status); } 1850 1851 cat >conftest.$ac_ext <<_ACEOF 1852 /* confdefs.h. */ 1853 _ACEOF 1854 cat confdefs.h >>conftest.$ac_ext 1855 cat >>conftest.$ac_ext <<_ACEOF 1856 /* end confdefs.h. */ 1857 1858 int 1859 main () 1860 { 1861 1862 ; 1863 return 0; 1864 } 1865 _ACEOF 1866 ac_clean_files_save=$ac_clean_files 1867 ac_clean_files="$ac_clean_files a.out a.exe b.out" 1868 # Try to create an executable without -o first, disregard a.out. 1869 # It will help us diagnose broken compilers, and finding out an intuition 1870 # of exeext. 1871 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 1872 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; } 1873 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1874 # 1875 # List of possible output files, starting from the most likely. 1876 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 1877 # only as a last resort. b.out is created by i960 compilers. 1878 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 1879 # 1880 # The IRIX 6 linker writes into existing files which may not be 1881 # executable, retaining their permissions. Remove them first so a 1882 # subsequent execution test works. 1883 ac_rmfiles= 1884 for ac_file in $ac_files 1885 do 1886 case $ac_file in 1887 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 1888 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 1889 esac 1890 done 1891 rm -f $ac_rmfiles 1892 1893 if { (ac_try="$ac_link_default" 1894 case "(($ac_try" in 1895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1896 *) ac_try_echo=$ac_try;; 1897 esac 1898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2291 $as_echo "$ac_try_echo"; } >&5 1899 2292 (eval "$ac_link_default") 2>&5 1900 2293 ac_status=$? 1901 echo "$as_me:$LINENO: \$? = $ac_status" >&51902 (exit $ac_status); }; then2294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2295 test $ac_status = 0; }; then : 1903 2296 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 1904 2297 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 1910 2303 test -f "$ac_file" || continue 1911 2304 case $ac_file in 1912 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )2305 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1913 2306 ;; 1914 2307 [ab].out ) … … 1917 2310 break;; 1918 2311 *.* ) 1919 2312 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 1920 2313 then :; else 1921 2314 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 1936 2329 ac_file='' 1937 2330 fi 1938 1939 { echo "$as_me:$LINENO: result: $ac_file" >&5 1940 echo "${ECHO_T}$ac_file" >&6; } 1941 if test -z "$ac_file"; then 1942 echo "$as_me: failed program was:" >&5 2331 if test -z "$ac_file"; then : 2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2333 $as_echo "no" >&6; } 2334 $as_echo "$as_me: failed program was:" >&5 1943 2335 sed 's/^/| /' conftest.$ac_ext >&5 1944 2336 1945 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables 1946 See \`config.log' for more details." >&5 1947 echo "$as_me: error: C++ compiler cannot create executables 1948 See \`config.log' for more details." >&2;} 1949 { (exit 77); exit 77; }; } 1950 fi 1951 2337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2339 { as_fn_set_status 77 2340 as_fn_error "C++ compiler cannot create executables 2341 See \`config.log' for more details." "$LINENO" 5; }; } 2342 else 2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2344 $as_echo "yes" >&6; } 2345 fi 2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 2347 $as_echo_n "checking for C++ compiler default output file name... " >&6; } 2348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2349 $as_echo "$ac_file" >&6; } 1952 2350 ac_exeext=$ac_cv_exeext 1953 2351 1954 # Check that the compiler produces executables we can run. If not, either 1955 # the compiler is broken, or we cross compile. 1956 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 1957 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; } 1958 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1959 # If not cross compiling, check that we can run a simple program. 1960 if test "$cross_compiling" != yes; then 1961 if { ac_try='./$ac_file' 1962 { (case "(($ac_try" in 1963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1964 *) ac_try_echo=$ac_try;; 1965 esac 1966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 1967 (eval "$ac_try") 2>&5 1968 ac_status=$? 1969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1970 (exit $ac_status); }; }; then 1971 cross_compiling=no 1972 else 1973 if test "$cross_compiling" = maybe; then 1974 cross_compiling=yes 1975 else 1976 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. 1977 If you meant to cross compile, use \`--host'. 1978 See \`config.log' for more details." >&5 1979 echo "$as_me: error: cannot run C++ compiled programs. 1980 If you meant to cross compile, use \`--host'. 1981 See \`config.log' for more details." >&2;} 1982 { (exit 1); exit 1; }; } 1983 fi 1984 fi 1985 fi 1986 { echo "$as_me:$LINENO: result: yes" >&5 1987 echo "${ECHO_T}yes" >&6; } 1988 1989 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2352 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 1990 2353 ac_clean_files=$ac_clean_files_save 1991 # Check that the compiler produces executables we can run. If not, either 1992 # the compiler is broken, or we cross compile. 1993 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1994 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 1995 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 1996 echo "${ECHO_T}$cross_compiling" >&6; } 1997 1998 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 1999 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2000 if { (ac_try="$ac_link" 2354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2355 $as_echo_n "checking for suffix of executables... " >&6; } 2356 if { { ac_try="$ac_link" 2001 2357 case "(($ac_try" in 2002 2358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2003 2359 *) ac_try_echo=$ac_try;; 2004 2360 esac 2005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2362 $as_echo "$ac_try_echo"; } >&5 2006 2363 (eval "$ac_link") 2>&5 2007 2364 ac_status=$? 2008 echo "$as_me:$LINENO: \$? = $ac_status" >&52009 (exit $ac_status); }; then2365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2366 test $ac_status = 0; }; then : 2010 2367 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2011 2368 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2015 2372 test -f "$ac_file" || continue 2016 2373 case $ac_file in 2017 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;2374 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2018 2375 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2019 2376 break;; … … 2022 2379 done 2023 2380 else 2024 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2025 See \`config.log' for more details." >&5 2026 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2027 See \`config.log' for more details." >&2;} 2028 { (exit 1); exit 1; }; } 2029 fi 2030 2031 rm -f conftest$ac_cv_exeext 2032 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2033 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2381 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2383 as_fn_error "cannot compute suffix of executables: cannot compile and link 2384 See \`config.log' for more details." "$LINENO" 5; } 2385 fi 2386 rm -f conftest conftest$ac_cv_exeext 2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2388 $as_echo "$ac_cv_exeext" >&6; } 2034 2389 2035 2390 rm -f conftest.$ac_ext 2036 2391 EXEEXT=$ac_cv_exeext 2037 2392 ac_exeext=$EXEEXT 2038 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2039 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2040 if test "${ac_cv_objext+set}" = set; then 2041 echo $ECHO_N "(cached) $ECHO_C" >&6 2042 else 2043 cat >conftest.$ac_ext <<_ACEOF 2044 /* confdefs.h. */ 2045 _ACEOF 2046 cat confdefs.h >>conftest.$ac_ext 2047 cat >>conftest.$ac_ext <<_ACEOF 2393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2048 2394 /* end confdefs.h. */ 2049 2395 #include <stdio.h> 2050 2396 int 2051 2397 main () 2052 2398 { 2399 FILE *f = fopen ("conftest.out", "w"); 2400 return ferror (f) || fclose (f) != 0; 2053 2401 2054 2402 ; … … 2056 2404 } 2057 2405 _ACEOF 2058 rm -f conftest.o conftest.obj 2059 if { (ac_try="$ac_compile" 2406 ac_clean_files="$ac_clean_files conftest.out" 2407 # Check that the compiler produces executables we can run. If not, either 2408 # the compiler is broken, or we cross compile. 2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2410 $as_echo_n "checking whether we are cross compiling... " >&6; } 2411 if test "$cross_compiling" != yes; then 2412 { { ac_try="$ac_link" 2060 2413 case "(($ac_try" in 2061 2414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2062 2415 *) ac_try_echo=$ac_try;; 2063 2416 esac 2064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2418 $as_echo "$ac_try_echo"; } >&5 2419 (eval "$ac_link") 2>&5 2420 ac_status=$? 2421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2422 test $ac_status = 0; } 2423 if { ac_try='./conftest$ac_cv_exeext' 2424 { { case "(($ac_try" in 2425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2426 *) ac_try_echo=$ac_try;; 2427 esac 2428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2429 $as_echo "$ac_try_echo"; } >&5 2430 (eval "$ac_try") 2>&5 2431 ac_status=$? 2432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2433 test $ac_status = 0; }; }; then 2434 cross_compiling=no 2435 else 2436 if test "$cross_compiling" = maybe; then 2437 cross_compiling=yes 2438 else 2439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2441 as_fn_error "cannot run C++ compiled programs. 2442 If you meant to cross compile, use \`--host'. 2443 See \`config.log' for more details." "$LINENO" 5; } 2444 fi 2445 fi 2446 fi 2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2448 $as_echo "$cross_compiling" >&6; } 2449 2450 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2451 ac_clean_files=$ac_clean_files_save 2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2453 $as_echo_n "checking for suffix of object files... " >&6; } 2454 if test "${ac_cv_objext+set}" = set; then : 2455 $as_echo_n "(cached) " >&6 2456 else 2457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2458 /* end confdefs.h. */ 2459 2460 int 2461 main () 2462 { 2463 2464 ; 2465 return 0; 2466 } 2467 _ACEOF 2468 rm -f conftest.o conftest.obj 2469 if { { ac_try="$ac_compile" 2470 case "(($ac_try" in 2471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2472 *) ac_try_echo=$ac_try;; 2473 esac 2474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2475 $as_echo "$ac_try_echo"; } >&5 2065 2476 (eval "$ac_compile") 2>&5 2066 2477 ac_status=$? 2067 echo "$as_me:$LINENO: \$? = $ac_status" >&52068 (exit $ac_status); }; then2478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2479 test $ac_status = 0; }; then : 2069 2480 for ac_file in conftest.o conftest.obj conftest.*; do 2070 2481 test -f "$ac_file" || continue; 2071 2482 case $ac_file in 2072 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;2483 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2073 2484 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2074 2485 break;; … … 2076 2487 done 2077 2488 else 2078 echo "$as_me: failed program was:" >&52489 $as_echo "$as_me: failed program was:" >&5 2079 2490 sed 's/^/| /' conftest.$ac_ext >&5 2080 2491 2081 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2082 See \`config.log' for more details." >&5 2083 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2084 See \`config.log' for more details." >&2;} 2085 { (exit 1); exit 1; }; } 2086 fi 2087 2492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2494 as_fn_error "cannot compute suffix of object files: cannot compile 2495 See \`config.log' for more details." "$LINENO" 5; } 2496 fi 2088 2497 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2089 2498 fi 2090 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52091 echo "${ECHO_T}$ac_cv_objext" >&6; }2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2500 $as_echo "$ac_cv_objext" >&6; } 2092 2501 OBJEXT=$ac_cv_objext 2093 2502 ac_objext=$OBJEXT 2094 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2095 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 2096 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2097 echo $ECHO_N "(cached) $ECHO_C" >&6 2098 else 2099 cat >conftest.$ac_ext <<_ACEOF 2100 /* confdefs.h. */ 2101 _ACEOF 2102 cat confdefs.h >>conftest.$ac_ext 2103 cat >>conftest.$ac_ext <<_ACEOF 2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 2504 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2505 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 2506 $as_echo_n "(cached) " >&6 2507 else 2508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2104 2509 /* end confdefs.h. */ 2105 2510 … … 2115 2520 } 2116 2521 _ACEOF 2117 rm -f conftest.$ac_objext 2118 if { (ac_try="$ac_compile" 2119 case "(($ac_try" in 2120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2121 *) ac_try_echo=$ac_try;; 2122 esac 2123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2124 (eval "$ac_compile") 2>conftest.er1 2125 ac_status=$? 2126 grep -v '^ *+' conftest.er1 >conftest.err 2127 rm -f conftest.er1 2128 cat conftest.err >&5 2129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2130 (exit $ac_status); } && { 2131 test -z "$ac_cxx_werror_flag" || 2132 test ! -s conftest.err 2133 } && test -s conftest.$ac_objext; then 2522 if ac_fn_cxx_try_compile "$LINENO"; then : 2134 2523 ac_compiler_gnu=yes 2135 2524 else 2136 echo "$as_me: failed program was:" >&5 2137 sed 's/^/| /' conftest.$ac_ext >&5 2138 2139 ac_compiler_gnu=no 2140 fi 2141 2525 ac_compiler_gnu=no 2526 fi 2142 2527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2143 2528 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2144 2529 2145 2530 fi 2146 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2147 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 2148 GXX=`test $ac_compiler_gnu = yes && echo yes` 2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 2532 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 2533 if test $ac_compiler_gnu = yes; then 2534 GXX=yes 2535 else 2536 GXX= 2537 fi 2149 2538 ac_test_CXXFLAGS=${CXXFLAGS+set} 2150 2539 ac_save_CXXFLAGS=$CXXFLAGS 2151 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&52152 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }2153 if test "${ac_cv_prog_cxx_g+set}" = set; then 2154 echo $ECHO_N "(cached) $ECHO_C" >&62540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 2541 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 2542 if test "${ac_cv_prog_cxx_g+set}" = set; then : 2543 $as_echo_n "(cached) " >&6 2155 2544 else 2156 2545 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 2158 2547 ac_cv_prog_cxx_g=no 2159 2548 CXXFLAGS="-g" 2160 cat >conftest.$ac_ext <<_ACEOF 2161 /* confdefs.h. */ 2162 _ACEOF 2163 cat confdefs.h >>conftest.$ac_ext 2164 cat >>conftest.$ac_ext <<_ACEOF 2549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2165 2550 /* end confdefs.h. */ 2166 2551 … … 2173 2558 } 2174 2559 _ACEOF 2175 rm -f conftest.$ac_objext 2176 if { (ac_try="$ac_compile" 2177 case "(($ac_try" in 2178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2179 *) ac_try_echo=$ac_try;; 2180 esac 2181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2182 (eval "$ac_compile") 2>conftest.er1 2183 ac_status=$? 2184 grep -v '^ *+' conftest.er1 >conftest.err 2185 rm -f conftest.er1 2186 cat conftest.err >&5 2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2188 (exit $ac_status); } && { 2189 test -z "$ac_cxx_werror_flag" || 2190 test ! -s conftest.err 2191 } && test -s conftest.$ac_objext; then 2560 if ac_fn_cxx_try_compile "$LINENO"; then : 2192 2561 ac_cv_prog_cxx_g=yes 2193 2562 else 2194 echo "$as_me: failed program was:" >&5 2195 sed 's/^/| /' conftest.$ac_ext >&5 2196 2197 CXXFLAGS="" 2198 cat >conftest.$ac_ext <<_ACEOF 2199 /* confdefs.h. */ 2200 _ACEOF 2201 cat confdefs.h >>conftest.$ac_ext 2202 cat >>conftest.$ac_ext <<_ACEOF 2563 CXXFLAGS="" 2564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2203 2565 /* end confdefs.h. */ 2204 2566 … … 2211 2573 } 2212 2574 _ACEOF 2213 rm -f conftest.$ac_objext 2214 if { (ac_try="$ac_compile" 2215 case "(($ac_try" in 2216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2217 *) ac_try_echo=$ac_try;; 2218 esac 2219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2220 (eval "$ac_compile") 2>conftest.er1 2221 ac_status=$? 2222 grep -v '^ *+' conftest.er1 >conftest.err 2223 rm -f conftest.er1 2224 cat conftest.err >&5 2225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2226 (exit $ac_status); } && { 2227 test -z "$ac_cxx_werror_flag" || 2228 test ! -s conftest.err 2229 } && test -s conftest.$ac_objext; then 2230 : 2231 else 2232 echo "$as_me: failed program was:" >&5 2233 sed 's/^/| /' conftest.$ac_ext >&5 2234 2235 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2575 if ac_fn_cxx_try_compile "$LINENO"; then : 2576 2577 else 2578 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2236 2579 CXXFLAGS="-g" 2237 cat >conftest.$ac_ext <<_ACEOF 2238 /* confdefs.h. */ 2239 _ACEOF 2240 cat confdefs.h >>conftest.$ac_ext 2241 cat >>conftest.$ac_ext <<_ACEOF 2580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2242 2581 /* end confdefs.h. */ 2243 2582 … … 2250 2589 } 2251 2590 _ACEOF 2252 rm -f conftest.$ac_objext 2253 if { (ac_try="$ac_compile" 2254 case "(($ac_try" in 2255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2256 *) ac_try_echo=$ac_try;; 2257 esac 2258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2259 (eval "$ac_compile") 2>conftest.er1 2260 ac_status=$? 2261 grep -v '^ *+' conftest.er1 >conftest.err 2262 rm -f conftest.er1 2263 cat conftest.err >&5 2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2265 (exit $ac_status); } && { 2266 test -z "$ac_cxx_werror_flag" || 2267 test ! -s conftest.err 2268 } && test -s conftest.$ac_objext; then 2591 if ac_fn_cxx_try_compile "$LINENO"; then : 2269 2592 ac_cv_prog_cxx_g=yes 2270 else 2271 echo "$as_me: failed program was:" >&5 2272 sed 's/^/| /' conftest.$ac_ext >&5 2273 2274 2275 fi 2276 2593 fi 2277 2594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2278 2595 fi 2279 2280 2596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2281 2597 fi 2282 2283 2598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2284 2599 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2285 2600 fi 2286 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&52287 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 2602 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2288 2603 if test "$ac_test_CXXFLAGS" = set; then 2289 2604 CXXFLAGS=$ac_save_CXXFLAGS … … 2315 2630 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2316 2631 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2317 { echo "$as_me:$LINENO: checking for $ac_word" >&52318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2319 if test "${ac_cv_prog_CC+set}" = set; then 2320 echo $ECHO_N "(cached) $ECHO_C" >&62632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2633 $as_echo_n "checking for $ac_word... " >&6; } 2634 if test "${ac_cv_prog_CC+set}" = set; then : 2635 $as_echo_n "(cached) " >&6 2321 2636 else 2322 2637 if test -n "$CC"; then … … 2328 2643 IFS=$as_save_IFS 2329 2644 test -z "$as_dir" && as_dir=. 2330 for ac_exec_ext in '' $ac_executable_extensions; do2645 for ac_exec_ext in '' $ac_executable_extensions; do 2331 2646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2332 2647 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2334 2649 break 2 2335 2650 fi 2336 2651 done 2337 done2652 done 2338 2653 IFS=$as_save_IFS 2339 2654 … … 2342 2657 CC=$ac_cv_prog_CC 2343 2658 if test -n "$CC"; then 2344 { echo "$as_me:$LINENO: result: $CC" >&52345 echo "${ECHO_T}$CC" >&6; }2346 else 2347 { echo "$as_me:$LINENO: result: no" >&52348 echo "${ECHO_T}no" >&6; }2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2660 $as_echo "$CC" >&6; } 2661 else 2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2663 $as_echo "no" >&6; } 2349 2664 fi 2350 2665 … … 2355 2670 # Extract the first word of "gcc", so it can be a program name with args. 2356 2671 set dummy gcc; ac_word=$2 2357 { echo "$as_me:$LINENO: checking for $ac_word" >&52358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2359 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2360 echo $ECHO_N "(cached) $ECHO_C" >&62672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2673 $as_echo_n "checking for $ac_word... " >&6; } 2674 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2675 $as_echo_n "(cached) " >&6 2361 2676 else 2362 2677 if test -n "$ac_ct_CC"; then … … 2368 2683 IFS=$as_save_IFS 2369 2684 test -z "$as_dir" && as_dir=. 2370 for ac_exec_ext in '' $ac_executable_extensions; do2685 for ac_exec_ext in '' $ac_executable_extensions; do 2371 2686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2372 2687 ac_cv_prog_ac_ct_CC="gcc" 2373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2374 2689 break 2 2375 2690 fi 2376 2691 done 2377 done2692 done 2378 2693 IFS=$as_save_IFS 2379 2694 … … 2382 2697 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2383 2698 if test -n "$ac_ct_CC"; then 2384 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52385 echo "${ECHO_T}$ac_ct_CC" >&6; }2386 else 2387 { echo "$as_me:$LINENO: result: no" >&52388 echo "${ECHO_T}no" >&6; }2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2700 $as_echo "$ac_ct_CC" >&6; } 2701 else 2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2703 $as_echo "no" >&6; } 2389 2704 fi 2390 2705 … … 2394 2709 case $cross_compiling:$ac_tool_warned in 2395 2710 yes:) 2396 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2397 whose name does not start with the host triplet. If you think this 2398 configuration is useful to you, please write to autoconf@gnu.org." >&5 2399 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2400 whose name does not start with the host triplet. If you think this 2401 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2402 2713 ac_tool_warned=yes ;; 2403 2714 esac … … 2412 2723 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2413 2724 set dummy ${ac_tool_prefix}cc; ac_word=$2 2414 { echo "$as_me:$LINENO: checking for $ac_word" >&52415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2416 if test "${ac_cv_prog_CC+set}" = set; then 2417 echo $ECHO_N "(cached) $ECHO_C" >&62725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2726 $as_echo_n "checking for $ac_word... " >&6; } 2727 if test "${ac_cv_prog_CC+set}" = set; then : 2728 $as_echo_n "(cached) " >&6 2418 2729 else 2419 2730 if test -n "$CC"; then … … 2425 2736 IFS=$as_save_IFS 2426 2737 test -z "$as_dir" && as_dir=. 2427 for ac_exec_ext in '' $ac_executable_extensions; do2738 for ac_exec_ext in '' $ac_executable_extensions; do 2428 2739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2429 2740 ac_cv_prog_CC="${ac_tool_prefix}cc" 2430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2431 2742 break 2 2432 2743 fi 2433 2744 done 2434 done2745 done 2435 2746 IFS=$as_save_IFS 2436 2747 … … 2439 2750 CC=$ac_cv_prog_CC 2440 2751 if test -n "$CC"; then 2441 { echo "$as_me:$LINENO: result: $CC" >&52442 echo "${ECHO_T}$CC" >&6; }2443 else 2444 { echo "$as_me:$LINENO: result: no" >&52445 echo "${ECHO_T}no" >&6; }2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2753 $as_echo "$CC" >&6; } 2754 else 2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2756 $as_echo "no" >&6; } 2446 2757 fi 2447 2758 … … 2452 2763 # Extract the first word of "cc", so it can be a program name with args. 2453 2764 set dummy cc; ac_word=$2 2454 { echo "$as_me:$LINENO: checking for $ac_word" >&52455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2456 if test "${ac_cv_prog_CC+set}" = set; then 2457 echo $ECHO_N "(cached) $ECHO_C" >&62765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2766 $as_echo_n "checking for $ac_word... " >&6; } 2767 if test "${ac_cv_prog_CC+set}" = set; then : 2768 $as_echo_n "(cached) " >&6 2458 2769 else 2459 2770 if test -n "$CC"; then … … 2466 2777 IFS=$as_save_IFS 2467 2778 test -z "$as_dir" && as_dir=. 2468 for ac_exec_ext in '' $ac_executable_extensions; do2779 for ac_exec_ext in '' $ac_executable_extensions; do 2469 2780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2470 2781 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2473 2784 fi 2474 2785 ac_cv_prog_CC="cc" 2475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2476 2787 break 2 2477 2788 fi 2478 2789 done 2479 done2790 done 2480 2791 IFS=$as_save_IFS 2481 2792 … … 2496 2807 CC=$ac_cv_prog_CC 2497 2808 if test -n "$CC"; then 2498 { echo "$as_me:$LINENO: result: $CC" >&52499 echo "${ECHO_T}$CC" >&6; }2500 else 2501 { echo "$as_me:$LINENO: result: no" >&52502 echo "${ECHO_T}no" >&6; }2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2810 $as_echo "$CC" >&6; } 2811 else 2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2813 $as_echo "no" >&6; } 2503 2814 fi 2504 2815 … … 2511 2822 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2512 2823 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2513 { echo "$as_me:$LINENO: checking for $ac_word" >&52514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2515 if test "${ac_cv_prog_CC+set}" = set; then 2516 echo $ECHO_N "(cached) $ECHO_C" >&62824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2825 $as_echo_n "checking for $ac_word... " >&6; } 2826 if test "${ac_cv_prog_CC+set}" = set; then : 2827 $as_echo_n "(cached) " >&6 2517 2828 else 2518 2829 if test -n "$CC"; then … … 2524 2835 IFS=$as_save_IFS 2525 2836 test -z "$as_dir" && as_dir=. 2526 for ac_exec_ext in '' $ac_executable_extensions; do2837 for ac_exec_ext in '' $ac_executable_extensions; do 2527 2838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2528 2839 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2530 2841 break 2 2531 2842 fi 2532 2843 done 2533 done2844 done 2534 2845 IFS=$as_save_IFS 2535 2846 … … 2538 2849 CC=$ac_cv_prog_CC 2539 2850 if test -n "$CC"; then 2540 { echo "$as_me:$LINENO: result: $CC" >&52541 echo "${ECHO_T}$CC" >&6; }2542 else 2543 { echo "$as_me:$LINENO: result: no" >&52544 echo "${ECHO_T}no" >&6; }2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2852 $as_echo "$CC" >&6; } 2853 else 2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2855 $as_echo "no" >&6; } 2545 2856 fi 2546 2857 … … 2555 2866 # Extract the first word of "$ac_prog", so it can be a program name with args. 2556 2867 set dummy $ac_prog; ac_word=$2 2557 { echo "$as_me:$LINENO: checking for $ac_word" >&52558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2559 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2560 echo $ECHO_N "(cached) $ECHO_C" >&62868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2869 $as_echo_n "checking for $ac_word... " >&6; } 2870 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2871 $as_echo_n "(cached) " >&6 2561 2872 else 2562 2873 if test -n "$ac_ct_CC"; then … … 2568 2879 IFS=$as_save_IFS 2569 2880 test -z "$as_dir" && as_dir=. 2570 for ac_exec_ext in '' $ac_executable_extensions; do2881 for ac_exec_ext in '' $ac_executable_extensions; do 2571 2882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2572 2883 ac_cv_prog_ac_ct_CC="$ac_prog" 2573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2574 2885 break 2 2575 2886 fi 2576 2887 done 2577 done2888 done 2578 2889 IFS=$as_save_IFS 2579 2890 … … 2582 2893 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2583 2894 if test -n "$ac_ct_CC"; then 2584 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52585 echo "${ECHO_T}$ac_ct_CC" >&6; }2586 else 2587 { echo "$as_me:$LINENO: result: no" >&52588 echo "${ECHO_T}no" >&6; }2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2896 $as_echo "$ac_ct_CC" >&6; } 2897 else 2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2899 $as_echo "no" >&6; } 2589 2900 fi 2590 2901 … … 2598 2909 case $cross_compiling:$ac_tool_warned in 2599 2910 yes:) 2600 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2601 whose name does not start with the host triplet. If you think this 2602 configuration is useful to you, please write to autoconf@gnu.org." >&5 2603 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2604 whose name does not start with the host triplet. If you think this 2605 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2606 2913 ac_tool_warned=yes ;; 2607 2914 esac … … 2613 2920 2614 2921 2615 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2616 See \`config.log' for more details." >&5 2617 echo "$as_me: error: no acceptable C compiler found in \$PATH 2618 See \`config.log' for more details." >&2;} 2619 { (exit 1); exit 1; }; } 2922 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2924 as_fn_error "no acceptable C compiler found in \$PATH 2925 See \`config.log' for more details." "$LINENO" 5; } 2620 2926 2621 2927 # Provide some information about the compiler. 2622 echo "$as_me:$LINENO: checking for C compiler version" >&5 2623 ac_compiler=`set X $ac_compile; echo $2` 2624 { (ac_try="$ac_compiler --version >&5" 2928 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2929 set X $ac_compile 2930 ac_compiler=$2 2931 for ac_option in --version -v -V -qversion; do 2932 { { ac_try="$ac_compiler $ac_option >&5" 2625 2933 case "(($ac_try" in 2626 2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2627 2935 *) ac_try_echo=$ac_try;; 2628 2936 esac 2629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2630 (eval "$ac_compiler --version >&5") 2>&5 2937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2938 $as_echo "$ac_try_echo"; } >&5 2939 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2631 2940 ac_status=$? 2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2633 (exit $ac_status); } 2634 { (ac_try="$ac_compiler -v >&5" 2635 case "(($ac_try" in 2636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2637 *) ac_try_echo=$ac_try;; 2638 esac 2639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2640 (eval "$ac_compiler -v >&5") 2>&5 2641 ac_status=$? 2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2643 (exit $ac_status); } 2644 { (ac_try="$ac_compiler -V >&5" 2645 case "(($ac_try" in 2646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2647 *) ac_try_echo=$ac_try;; 2648 esac 2649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2650 (eval "$ac_compiler -V >&5") 2>&5 2651 ac_status=$? 2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2653 (exit $ac_status); } 2654 2655 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2656 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2657 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2658 echo $ECHO_N "(cached) $ECHO_C" >&6 2659 else 2660 cat >conftest.$ac_ext <<_ACEOF 2661 /* confdefs.h. */ 2662 _ACEOF 2663 cat confdefs.h >>conftest.$ac_ext 2664 cat >>conftest.$ac_ext <<_ACEOF 2941 if test -s conftest.err; then 2942 sed '10a\ 2943 ... rest of stderr output deleted ... 2944 10q' conftest.err >conftest.er1 2945 cat conftest.er1 >&5 2946 fi 2947 rm -f conftest.er1 conftest.err 2948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2949 test $ac_status = 0; } 2950 done 2951 2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2953 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2954 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2955 $as_echo_n "(cached) " >&6 2956 else 2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2665 2958 /* end confdefs.h. */ 2666 2959 … … 2676 2969 } 2677 2970 _ACEOF 2678 rm -f conftest.$ac_objext 2679 if { (ac_try="$ac_compile" 2680 case "(($ac_try" in 2681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2682 *) ac_try_echo=$ac_try;; 2683 esac 2684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2685 (eval "$ac_compile") 2>conftest.er1 2686 ac_status=$? 2687 grep -v '^ *+' conftest.er1 >conftest.err 2688 rm -f conftest.er1 2689 cat conftest.err >&5 2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2691 (exit $ac_status); } && { 2692 test -z "$ac_c_werror_flag" || 2693 test ! -s conftest.err 2694 } && test -s conftest.$ac_objext; then 2971 if ac_fn_c_try_compile "$LINENO"; then : 2695 2972 ac_compiler_gnu=yes 2696 2973 else 2697 echo "$as_me: failed program was:" >&5 2698 sed 's/^/| /' conftest.$ac_ext >&5 2699 2700 ac_compiler_gnu=no 2701 fi 2702 2974 ac_compiler_gnu=no 2975 fi 2703 2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2704 2977 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2705 2978 2706 2979 fi 2707 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2708 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2709 GCC=`test $ac_compiler_gnu = yes && echo yes` 2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2981 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2982 if test $ac_compiler_gnu = yes; then 2983 GCC=yes 2984 else 2985 GCC= 2986 fi 2710 2987 ac_test_CFLAGS=${CFLAGS+set} 2711 2988 ac_save_CFLAGS=$CFLAGS 2712 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52713 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2714 if test "${ac_cv_prog_cc_g+set}" = set; then 2715 echo $ECHO_N "(cached) $ECHO_C" >&62989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2990 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2991 if test "${ac_cv_prog_cc_g+set}" = set; then : 2992 $as_echo_n "(cached) " >&6 2716 2993 else 2717 2994 ac_save_c_werror_flag=$ac_c_werror_flag … … 2719 2996 ac_cv_prog_cc_g=no 2720 2997 CFLAGS="-g" 2721 cat >conftest.$ac_ext <<_ACEOF 2722 /* confdefs.h. */ 2723 _ACEOF 2724 cat confdefs.h >>conftest.$ac_ext 2725 cat >>conftest.$ac_ext <<_ACEOF 2998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2726 2999 /* end confdefs.h. */ 2727 3000 … … 2734 3007 } 2735 3008 _ACEOF 2736 rm -f conftest.$ac_objext 2737 if { (ac_try="$ac_compile" 2738 case "(($ac_try" in 2739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2740 *) ac_try_echo=$ac_try;; 2741 esac 2742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2743 (eval "$ac_compile") 2>conftest.er1 2744 ac_status=$? 2745 grep -v '^ *+' conftest.er1 >conftest.err 2746 rm -f conftest.er1 2747 cat conftest.err >&5 2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2749 (exit $ac_status); } && { 2750 test -z "$ac_c_werror_flag" || 2751 test ! -s conftest.err 2752 } && test -s conftest.$ac_objext; then 3009 if ac_fn_c_try_compile "$LINENO"; then : 2753 3010 ac_cv_prog_cc_g=yes 2754 3011 else 2755 echo "$as_me: failed program was:" >&5 2756 sed 's/^/| /' conftest.$ac_ext >&5 2757 2758 CFLAGS="" 2759 cat >conftest.$ac_ext <<_ACEOF 2760 /* confdefs.h. */ 2761 _ACEOF 2762 cat confdefs.h >>conftest.$ac_ext 2763 cat >>conftest.$ac_ext <<_ACEOF 3012 CFLAGS="" 3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2764 3014 /* end confdefs.h. */ 2765 3015 … … 2772 3022 } 2773 3023 _ACEOF 2774 rm -f conftest.$ac_objext 2775 if { (ac_try="$ac_compile" 2776 case "(($ac_try" in 2777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2778 *) ac_try_echo=$ac_try;; 2779 esac 2780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2781 (eval "$ac_compile") 2>conftest.er1 2782 ac_status=$? 2783 grep -v '^ *+' conftest.er1 >conftest.err 2784 rm -f conftest.er1 2785 cat conftest.err >&5 2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2787 (exit $ac_status); } && { 2788 test -z "$ac_c_werror_flag" || 2789 test ! -s conftest.err 2790 } && test -s conftest.$ac_objext; then 2791 : 2792 else 2793 echo "$as_me: failed program was:" >&5 2794 sed 's/^/| /' conftest.$ac_ext >&5 2795 2796 ac_c_werror_flag=$ac_save_c_werror_flag 3024 if ac_fn_c_try_compile "$LINENO"; then : 3025 3026 else 3027 ac_c_werror_flag=$ac_save_c_werror_flag 2797 3028 CFLAGS="-g" 2798 cat >conftest.$ac_ext <<_ACEOF 2799 /* confdefs.h. */ 2800 _ACEOF 2801 cat confdefs.h >>conftest.$ac_ext 2802 cat >>conftest.$ac_ext <<_ACEOF 3029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2803 3030 /* end confdefs.h. */ 2804 3031 … … 2811 3038 } 2812 3039 _ACEOF 2813 rm -f conftest.$ac_objext 2814 if { (ac_try="$ac_compile" 2815 case "(($ac_try" in 2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2817 *) ac_try_echo=$ac_try;; 2818 esac 2819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2820 (eval "$ac_compile") 2>conftest.er1 2821 ac_status=$? 2822 grep -v '^ *+' conftest.er1 >conftest.err 2823 rm -f conftest.er1 2824 cat conftest.err >&5 2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2826 (exit $ac_status); } && { 2827 test -z "$ac_c_werror_flag" || 2828 test ! -s conftest.err 2829 } && test -s conftest.$ac_objext; then 3040 if ac_fn_c_try_compile "$LINENO"; then : 2830 3041 ac_cv_prog_cc_g=yes 2831 else 2832 echo "$as_me: failed program was:" >&5 2833 sed 's/^/| /' conftest.$ac_ext >&5 2834 2835 2836 fi 2837 3042 fi 2838 3043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2839 3044 fi 2840 2841 3045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2842 3046 fi 2843 2844 3047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2845 3048 ac_c_werror_flag=$ac_save_c_werror_flag 2846 3049 fi 2847 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52848 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3051 $as_echo "$ac_cv_prog_cc_g" >&6; } 2849 3052 if test "$ac_test_CFLAGS" = set; then 2850 3053 CFLAGS=$ac_save_CFLAGS … … 2862 3065 fi 2863 3066 fi 2864 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52865 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2866 if test "${ac_cv_prog_cc_c89+set}" = set; then 2867 echo $ECHO_N "(cached) $ECHO_C" >&63067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3068 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3069 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3070 $as_echo_n "(cached) " >&6 2868 3071 else 2869 3072 ac_cv_prog_cc_c89=no 2870 3073 ac_save_CC=$CC 2871 cat >conftest.$ac_ext <<_ACEOF 2872 /* confdefs.h. */ 2873 _ACEOF 2874 cat confdefs.h >>conftest.$ac_ext 2875 cat >>conftest.$ac_ext <<_ACEOF 3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2876 3075 /* end confdefs.h. */ 2877 3076 #include <stdarg.h> … … 2930 3129 do 2931 3130 CC="$ac_save_CC $ac_arg" 2932 rm -f conftest.$ac_objext 2933 if { (ac_try="$ac_compile" 2934 case "(($ac_try" in 2935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2936 *) ac_try_echo=$ac_try;; 2937 esac 2938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2939 (eval "$ac_compile") 2>conftest.er1 2940 ac_status=$? 2941 grep -v '^ *+' conftest.er1 >conftest.err 2942 rm -f conftest.er1 2943 cat conftest.err >&5 2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2945 (exit $ac_status); } && { 2946 test -z "$ac_c_werror_flag" || 2947 test ! -s conftest.err 2948 } && test -s conftest.$ac_objext; then 3131 if ac_fn_c_try_compile "$LINENO"; then : 2949 3132 ac_cv_prog_cc_c89=$ac_arg 2950 else 2951 echo "$as_me: failed program was:" >&5 2952 sed 's/^/| /' conftest.$ac_ext >&5 2953 2954 2955 fi 2956 3133 fi 2957 3134 rm -f core conftest.err conftest.$ac_objext 2958 3135 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2965 3142 case "x$ac_cv_prog_cc_c89" in 2966 3143 x) 2967 { echo "$as_me:$LINENO: result: none needed" >&52968 echo "${ECHO_T}none needed" >&6; } ;;3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3145 $as_echo "none needed" >&6; } ;; 2969 3146 xno) 2970 { echo "$as_me:$LINENO: result: unsupported" >&52971 echo "${ECHO_T}unsupported" >&6; } ;;3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3148 $as_echo "unsupported" >&6; } ;; 2972 3149 *) 2973 3150 CC="$CC $ac_cv_prog_cc_c89" 2974 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52975 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3152 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2976 3153 esac 2977 3154 if test "x$ac_cv_prog_cc_c89" != xno; then : 3155 3156 fi 2978 3157 2979 3158 ac_ext=c … … 2983 3162 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2984 3163 2985 { echo "$as_me:$LINENO: checking whether ln -s works" >&52986 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3165 $as_echo_n "checking whether ln -s works... " >&6; } 2987 3166 LN_S=$as_ln_s 2988 3167 if test "$LN_S" = "ln -s"; then 2989 { echo "$as_me:$LINENO: result: yes" >&52990 echo "${ECHO_T}yes" >&6; }2991 else 2992 { echo "$as_me:$LINENO: result: no, using $LN_S" >&52993 echo "${ECHO_T}no, using $LN_S" >&6; }3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3169 $as_echo "yes" >&6; } 3170 else 3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3172 $as_echo "no, using $LN_S" >&6; } 2994 3173 fi 2995 3174 2996 3175 ac_aux_dir= 2997 3176 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2998 if test -f "$ac_dir/install-sh"; then 2999 ac_aux_dir=$ac_dir 3000 ac_install_sh="$ac_aux_dir/install-sh -c" 3001 break 3002 elif test -f "$ac_dir/install.sh"; then 3003 ac_aux_dir=$ac_dir 3004 ac_install_sh="$ac_aux_dir/install.sh -c" 3005 break 3006 elif test -f "$ac_dir/shtool"; then 3007 ac_aux_dir=$ac_dir 3008 ac_install_sh="$ac_aux_dir/shtool install -c" 3009 break 3010 fi 3177 for ac_t in install-sh install.sh shtool; do 3178 if test -f "$ac_dir/$ac_t"; then 3179 ac_aux_dir=$ac_dir 3180 ac_install_sh="$ac_aux_dir/$ac_t -c" 3181 break 2 3182 fi 3183 done 3011 3184 done 3012 3185 if test -z "$ac_aux_dir"; then 3013 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 3014 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 3015 { (exit 1); exit 1; }; } 3186 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3016 3187 fi 3017 3188 … … 3038 3209 # OS/2's system install, which has a completely different semantic 3039 3210 # ./install, which can be erroneously created by make from ./install.sh. 3040 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3041 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 3211 # Reject install programs that cannot install multiple files. 3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3213 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3042 3214 if test -z "$INSTALL"; then 3043 if test "${ac_cv_path_install+set}" = set; then 3044 echo $ECHO_N "(cached) $ECHO_C" >&63215 if test "${ac_cv_path_install+set}" = set; then : 3216 $as_echo_n "(cached) " >&6 3045 3217 else 3046 3218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3049 3221 IFS=$as_save_IFS 3050 3222 test -z "$as_dir" && as_dir=. 3051 # Account for people who put trailing slashes in PATH elements.3052 case $as_dir/ in 3053 ./ | .// | / cC/* | \3223 # Account for people who put trailing slashes in PATH elements. 3224 case $as_dir/ in #(( 3225 ./ | .// | /[cC]/* | \ 3054 3226 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3055 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \3227 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3056 3228 /usr/ucb/* ) ;; 3057 3229 *) … … 3071 3243 : 3072 3244 else 3073 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3074 break 3 3245 rm -rf conftest.one conftest.two conftest.dir 3246 echo one > conftest.one 3247 echo two > conftest.two 3248 mkdir conftest.dir 3249 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3250 test -s conftest.one && test -s conftest.two && 3251 test -s conftest.dir/conftest.one && 3252 test -s conftest.dir/conftest.two 3253 then 3254 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3255 break 3 3256 fi 3075 3257 fi 3076 3258 fi … … 3079 3261 ;; 3080 3262 esac 3081 done 3263 3264 done 3082 3265 IFS=$as_save_IFS 3083 3266 3267 rm -rf conftest.one conftest.two conftest.dir 3084 3268 3085 3269 fi … … 3094 3278 fi 3095 3279 fi 3096 { echo "$as_me:$LINENO: result: $INSTALL" >&53097 echo "${ECHO_T}$INSTALL" >&6; }3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3281 $as_echo "$INSTALL" >&6; } 3098 3282 3099 3283 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3115 3299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3116 3300 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3117 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53118 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3302 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3119 3303 # On Suns, sometimes $CPP names a directory. 3120 3304 if test -n "$CPP" && test -d "$CPP"; then … … 3122 3306 fi 3123 3307 if test -z "$CPP"; then 3124 if test "${ac_cv_prog_CPP+set}" = set; then 3125 echo $ECHO_N "(cached) $ECHO_C" >&63308 if test "${ac_cv_prog_CPP+set}" = set; then : 3309 $as_echo_n "(cached) " >&6 3126 3310 else 3127 3311 # Double quotes because CPP needs to be expanded … … 3137 3321 # On the NeXT, cc -E runs the code through the compiler's parser, 3138 3322 # not just through cpp. "Syntax error" is here to catch this case. 3139 cat >conftest.$ac_ext <<_ACEOF 3140 /* confdefs.h. */ 3141 _ACEOF 3142 cat confdefs.h >>conftest.$ac_ext 3143 cat >>conftest.$ac_ext <<_ACEOF 3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3144 3324 /* end confdefs.h. */ 3145 3325 #ifdef __STDC__ … … 3150 3330 Syntax error 3151 3331 _ACEOF 3152 if { (ac_try="$ac_cpp conftest.$ac_ext" 3153 case "(($ac_try" in 3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3155 *) ac_try_echo=$ac_try;; 3156 esac 3157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3158 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3159 ac_status=$? 3160 grep -v '^ *+' conftest.er1 >conftest.err 3161 rm -f conftest.er1 3162 cat conftest.err >&5 3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3164 (exit $ac_status); } >/dev/null && { 3165 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3166 test ! -s conftest.err 3167 }; then 3168 : 3169 else 3170 echo "$as_me: failed program was:" >&5 3171 sed 's/^/| /' conftest.$ac_ext >&5 3172 3332 if ac_fn_c_try_cpp "$LINENO"; then : 3333 3334 else 3173 3335 # Broken: fails on valid input. 3174 3336 continue 3175 3337 fi 3176 3177 3338 rm -f conftest.err conftest.$ac_ext 3178 3339 3179 3340 # OK, works on sane cases. Now check whether nonexistent headers 3180 3341 # can be detected and how. 3181 cat >conftest.$ac_ext <<_ACEOF 3182 /* confdefs.h. */ 3183 _ACEOF 3184 cat confdefs.h >>conftest.$ac_ext 3185 cat >>conftest.$ac_ext <<_ACEOF 3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3186 3343 /* end confdefs.h. */ 3187 3344 #include <ac_nonexistent.h> 3188 3345 _ACEOF 3189 if { (ac_try="$ac_cpp conftest.$ac_ext" 3190 case "(($ac_try" in 3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3192 *) ac_try_echo=$ac_try;; 3193 esac 3194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3195 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3196 ac_status=$? 3197 grep -v '^ *+' conftest.er1 >conftest.err 3198 rm -f conftest.er1 3199 cat conftest.err >&5 3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3201 (exit $ac_status); } >/dev/null && { 3202 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3203 test ! -s conftest.err 3204 }; then 3346 if ac_fn_c_try_cpp "$LINENO"; then : 3205 3347 # Broken: success on invalid input. 3206 3348 continue 3207 3349 else 3208 echo "$as_me: failed program was:" >&53209 sed 's/^/| /' conftest.$ac_ext >&53210 3211 3350 # Passes both tests. 3212 3351 ac_preproc_ok=: 3213 3352 break 3214 3353 fi 3215 3216 3354 rm -f conftest.err conftest.$ac_ext 3217 3355 … … 3219 3357 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3220 3358 rm -f conftest.err conftest.$ac_ext 3221 if $ac_preproc_ok; then 3359 if $ac_preproc_ok; then : 3222 3360 break 3223 3361 fi … … 3231 3369 ac_cv_prog_CPP=$CPP 3232 3370 fi 3233 { echo "$as_me:$LINENO: result: $CPP" >&53234 echo "${ECHO_T}$CPP" >&6; }3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3372 $as_echo "$CPP" >&6; } 3235 3373 ac_preproc_ok=false 3236 3374 for ac_c_preproc_warn_flag in '' yes … … 3242 3380 # On the NeXT, cc -E runs the code through the compiler's parser, 3243 3381 # not just through cpp. "Syntax error" is here to catch this case. 3244 cat >conftest.$ac_ext <<_ACEOF 3245 /* confdefs.h. */ 3246 _ACEOF 3247 cat confdefs.h >>conftest.$ac_ext 3248 cat >>conftest.$ac_ext <<_ACEOF 3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3249 3383 /* end confdefs.h. */ 3250 3384 #ifdef __STDC__ … … 3255 3389 Syntax error 3256 3390 _ACEOF 3257 if { (ac_try="$ac_cpp conftest.$ac_ext" 3258 case "(($ac_try" in 3259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3260 *) ac_try_echo=$ac_try;; 3261 esac 3262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3263 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3264 ac_status=$? 3265 grep -v '^ *+' conftest.er1 >conftest.err 3266 rm -f conftest.er1 3267 cat conftest.err >&5 3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3269 (exit $ac_status); } >/dev/null && { 3270 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3271 test ! -s conftest.err 3272 }; then 3273 : 3274 else 3275 echo "$as_me: failed program was:" >&5 3276 sed 's/^/| /' conftest.$ac_ext >&5 3277 3391 if ac_fn_c_try_cpp "$LINENO"; then : 3392 3393 else 3278 3394 # Broken: fails on valid input. 3279 3395 continue 3280 3396 fi 3281 3282 3397 rm -f conftest.err conftest.$ac_ext 3283 3398 3284 3399 # OK, works on sane cases. Now check whether nonexistent headers 3285 3400 # can be detected and how. 3286 cat >conftest.$ac_ext <<_ACEOF 3287 /* confdefs.h. */ 3288 _ACEOF 3289 cat confdefs.h >>conftest.$ac_ext 3290 cat >>conftest.$ac_ext <<_ACEOF 3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3291 3402 /* end confdefs.h. */ 3292 3403 #include <ac_nonexistent.h> 3293 3404 _ACEOF 3294 if { (ac_try="$ac_cpp conftest.$ac_ext" 3295 case "(($ac_try" in 3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3297 *) ac_try_echo=$ac_try;; 3298 esac 3299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3300 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3301 ac_status=$? 3302 grep -v '^ *+' conftest.er1 >conftest.err 3303 rm -f conftest.er1 3304 cat conftest.err >&5 3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3306 (exit $ac_status); } >/dev/null && { 3307 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3308 test ! -s conftest.err 3309 }; then 3405 if ac_fn_c_try_cpp "$LINENO"; then : 3310 3406 # Broken: success on invalid input. 3311 3407 continue 3312 3408 else 3313 echo "$as_me: failed program was:" >&53314 sed 's/^/| /' conftest.$ac_ext >&53315 3316 3409 # Passes both tests. 3317 3410 ac_preproc_ok=: 3318 3411 break 3319 3412 fi 3320 3321 3413 rm -f conftest.err conftest.$ac_ext 3322 3414 … … 3324 3416 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3325 3417 rm -f conftest.err conftest.$ac_ext 3326 if $ac_preproc_ok; then 3327 : 3328 else 3329 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3330 See \`config.log' for more details." >&5 3331 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3332 See \`config.log' for more details." >&2;} 3333 { (exit 1); exit 1; }; } 3418 if $ac_preproc_ok; then : 3419 3420 else 3421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3423 as_fn_error "C preprocessor \"$CPP\" fails sanity check 3424 See \`config.log' for more details." "$LINENO" 5; } 3334 3425 fi 3335 3426 … … 3341 3432 3342 3433 3343 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3344 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3345 if test "${ac_cv_path_GREP+set}" = set; then 3346 echo $ECHO_N "(cached) $ECHO_C" >&6 3347 else 3348 # Extract the first word of "grep ggrep" to use in msg output 3349 if test -z "$GREP"; then 3350 set dummy grep ggrep; ac_prog_name=$2 3351 if test "${ac_cv_path_GREP+set}" = set; then 3352 echo $ECHO_N "(cached) $ECHO_C" >&6 3353 else 3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3435 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3436 if test "${ac_cv_path_GREP+set}" = set; then : 3437 $as_echo_n "(cached) " >&6 3438 else 3439 if test -z "$GREP"; then 3354 3440 ac_path_GREP_found=false 3355 # Loop through the user's path and test for each of PROGNAME-LIST3356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3441 # Loop through the user's path and test for each of PROGNAME-LIST 3442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3357 3443 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3358 3444 do 3359 3445 IFS=$as_save_IFS 3360 3446 test -z "$as_dir" && as_dir=. 3361 for ac_prog in grep ggrep; do3362 for ac_exec_ext in '' $ac_executable_extensions; do3363 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"3364 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue3365 3447 for ac_prog in grep ggrep; do 3448 for ac_exec_ext in '' $ac_executable_extensions; do 3449 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3450 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3451 # Check for GNU ac_path_GREP and select it if it is found. 3366 3452 # Check for GNU $ac_path_GREP 3367 3453 case `"$ac_path_GREP" --version 2>&1` in … … 3370 3456 *) 3371 3457 ac_count=0 3372 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"3458 $as_echo_n 0123456789 >"conftest.in" 3373 3459 while : 3374 3460 do … … 3376 3462 mv "conftest.tmp" "conftest.in" 3377 3463 cp "conftest.in" "conftest.nl" 3378 echo 'GREP' >> "conftest.nl"3464 $as_echo 'GREP' >> "conftest.nl" 3379 3465 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3380 3466 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3381 a c_count=`expr $ac_count + 1`3467 as_fn_arith $ac_count + 1 && ac_count=$as_val 3382 3468 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3383 3469 # Best one so far, save it but keep looking for a better one … … 3391 3477 esac 3392 3478 3393 3394 $ac_path_GREP_found && break 33479 $ac_path_GREP_found && break 3 3480 done 3395 3481 done 3396 done 3397 3398 done 3482 done 3399 3483 IFS=$as_save_IFS 3400 3401 3402 fi 3403 3404 GREP="$ac_cv_path_GREP" 3405 if test -z "$GREP"; then 3406 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3407 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3408 { (exit 1); exit 1; }; } 3409 fi 3410 3484 if test -z "$ac_cv_path_GREP"; then 3485 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3486 fi 3411 3487 else 3412 3488 ac_cv_path_GREP=$GREP 3413 3489 fi 3414 3490 3415 3416 fi 3417 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3418 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3491 fi 3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3493 $as_echo "$ac_cv_path_GREP" >&6; } 3419 3494 GREP="$ac_cv_path_GREP" 3420 3495 3421 3496 3422 { echo "$as_me:$LINENO: checking for egrep" >&53423 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }3424 if test "${ac_cv_path_EGREP+set}" = set; then 3425 echo $ECHO_N "(cached) $ECHO_C" >&63497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3498 $as_echo_n "checking for egrep... " >&6; } 3499 if test "${ac_cv_path_EGREP+set}" = set; then : 3500 $as_echo_n "(cached) " >&6 3426 3501 else 3427 3502 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3428 3503 then ac_cv_path_EGREP="$GREP -E" 3429 3504 else 3430 # Extract the first word of "egrep" to use in msg output 3431 if test -z "$EGREP"; then 3432 set dummy egrep; ac_prog_name=$2 3433 if test "${ac_cv_path_EGREP+set}" = set; then 3434 echo $ECHO_N "(cached) $ECHO_C" >&6 3435 else 3505 if test -z "$EGREP"; then 3436 3506 ac_path_EGREP_found=false 3437 # Loop through the user's path and test for each of PROGNAME-LIST3438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3507 # Loop through the user's path and test for each of PROGNAME-LIST 3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3439 3509 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3440 3510 do 3441 3511 IFS=$as_save_IFS 3442 3512 test -z "$as_dir" && as_dir=. 3443 for ac_prog in egrep; do3444 for ac_exec_ext in '' $ac_executable_extensions; do3445 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"3446 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue3447 3513 for ac_prog in egrep; do 3514 for ac_exec_ext in '' $ac_executable_extensions; do 3515 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3516 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3517 # Check for GNU ac_path_EGREP and select it if it is found. 3448 3518 # Check for GNU $ac_path_EGREP 3449 3519 case `"$ac_path_EGREP" --version 2>&1` in … … 3452 3522 *) 3453 3523 ac_count=0 3454 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"3524 $as_echo_n 0123456789 >"conftest.in" 3455 3525 while : 3456 3526 do … … 3458 3528 mv "conftest.tmp" "conftest.in" 3459 3529 cp "conftest.in" "conftest.nl" 3460 echo 'EGREP' >> "conftest.nl"3530 $as_echo 'EGREP' >> "conftest.nl" 3461 3531 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3462 3532 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3463 a c_count=`expr $ac_count + 1`3533 as_fn_arith $ac_count + 1 && ac_count=$as_val 3464 3534 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3465 3535 # Best one so far, save it but keep looking for a better one … … 3473 3543 esac 3474 3544 3475 3476 $ac_path_EGREP_found && break 33545 $ac_path_EGREP_found && break 3 3546 done 3477 3547 done 3478 done 3479 3480 done 3548 done 3481 3549 IFS=$as_save_IFS 3482 3483 3484 fi 3485 3486 EGREP="$ac_cv_path_EGREP" 3487 if test -z "$EGREP"; then 3488 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3489 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3490 { (exit 1); exit 1; }; } 3491 fi 3492 3550 if test -z "$ac_cv_path_EGREP"; then 3551 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3552 fi 3493 3553 else 3494 3554 ac_cv_path_EGREP=$EGREP 3495 3555 fi 3496 3556 3497 3498 3557 fi 3499 3558 fi 3500 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&53501 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3560 $as_echo "$ac_cv_path_EGREP" >&6; } 3502 3561 EGREP="$ac_cv_path_EGREP" 3503 3562 3504 3563 3505 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3506 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3507 if test "${ac_cv_header_stdc+set}" = set; then 3508 echo $ECHO_N "(cached) $ECHO_C" >&6 3509 else 3510 cat >conftest.$ac_ext <<_ACEOF 3511 /* confdefs.h. */ 3512 _ACEOF 3513 cat confdefs.h >>conftest.$ac_ext 3514 cat >>conftest.$ac_ext <<_ACEOF 3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3565 $as_echo_n "checking for ANSI C header files... " >&6; } 3566 if test "${ac_cv_header_stdc+set}" = set; then : 3567 $as_echo_n "(cached) " >&6 3568 else 3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3515 3570 /* end confdefs.h. */ 3516 3571 #include <stdlib.h> … … 3527 3582 } 3528 3583 _ACEOF 3529 rm -f conftest.$ac_objext 3530 if { (ac_try="$ac_compile" 3531 case "(($ac_try" in 3532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3533 *) ac_try_echo=$ac_try;; 3534 esac 3535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3536 (eval "$ac_compile") 2>conftest.er1 3537 ac_status=$? 3538 grep -v '^ *+' conftest.er1 >conftest.err 3539 rm -f conftest.er1 3540 cat conftest.err >&5 3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3542 (exit $ac_status); } && { 3543 test -z "$ac_c_werror_flag" || 3544 test ! -s conftest.err 3545 } && test -s conftest.$ac_objext; then 3584 if ac_fn_c_try_compile "$LINENO"; then : 3546 3585 ac_cv_header_stdc=yes 3547 3586 else 3548 echo "$as_me: failed program was:" >&5 3549 sed 's/^/| /' conftest.$ac_ext >&5 3550 3551 ac_cv_header_stdc=no 3552 fi 3553 3587 ac_cv_header_stdc=no 3588 fi 3554 3589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3555 3590 3556 3591 if test $ac_cv_header_stdc = yes; then 3557 3592 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3558 cat >conftest.$ac_ext <<_ACEOF 3559 /* confdefs.h. */ 3560 _ACEOF 3561 cat confdefs.h >>conftest.$ac_ext 3562 cat >>conftest.$ac_ext <<_ACEOF 3593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3563 3594 /* end confdefs.h. */ 3564 3595 #include <string.h> … … 3566 3597 _ACEOF 3567 3598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3568 $EGREP "memchr" >/dev/null 2>&1; then 3569 : 3599 $EGREP "memchr" >/dev/null 2>&1; then : 3600 3570 3601 else 3571 3602 ac_cv_header_stdc=no … … 3577 3608 if test $ac_cv_header_stdc = yes; then 3578 3609 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3579 cat >conftest.$ac_ext <<_ACEOF 3580 /* confdefs.h. */ 3581 _ACEOF 3582 cat confdefs.h >>conftest.$ac_ext 3583 cat >>conftest.$ac_ext <<_ACEOF 3610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3584 3611 /* end confdefs.h. */ 3585 3612 #include <stdlib.h> … … 3587 3614 _ACEOF 3588 3615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3589 $EGREP "free" >/dev/null 2>&1; then 3590 : 3616 $EGREP "free" >/dev/null 2>&1; then : 3617 3591 3618 else 3592 3619 ac_cv_header_stdc=no … … 3598 3625 if test $ac_cv_header_stdc = yes; then 3599 3626 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3600 if test "$cross_compiling" = yes; then 3627 if test "$cross_compiling" = yes; then : 3601 3628 : 3602 3629 else 3603 cat >conftest.$ac_ext <<_ACEOF 3604 /* confdefs.h. */ 3605 _ACEOF 3606 cat confdefs.h >>conftest.$ac_ext 3607 cat >>conftest.$ac_ext <<_ACEOF 3630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3608 3631 /* end confdefs.h. */ 3609 3632 #include <ctype.h> … … 3632 3655 } 3633 3656 _ACEOF 3634 rm -f conftest$ac_exeext 3635 if { (ac_try="$ac_link" 3636 case "(($ac_try" in 3637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3638 *) ac_try_echo=$ac_try;; 3639 esac 3640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3641 (eval "$ac_link") 2>&5 3642 ac_status=$? 3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3644 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3645 { (case "(($ac_try" in 3646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3647 *) ac_try_echo=$ac_try;; 3648 esac 3649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3650 (eval "$ac_try") 2>&5 3651 ac_status=$? 3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3653 (exit $ac_status); }; }; then 3654 : 3655 else 3656 echo "$as_me: program exited with status $ac_status" >&5 3657 echo "$as_me: failed program was:" >&5 3658 sed 's/^/| /' conftest.$ac_ext >&5 3659 3660 ( exit $ac_status ) 3661 ac_cv_header_stdc=no 3662 fi 3663 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3664 fi 3665 3666 3667 fi 3668 fi 3669 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3670 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 3657 if ac_fn_c_try_run "$LINENO"; then : 3658 3659 else 3660 ac_cv_header_stdc=no 3661 fi 3662 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3663 conftest.$ac_objext conftest.beam conftest.$ac_ext 3664 fi 3665 3666 fi 3667 fi 3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3669 $as_echo "$ac_cv_header_stdc" >&6; } 3671 3670 if test $ac_cv_header_stdc = yes; then 3672 3671 3673 cat >>confdefs.h <<\_ACEOF 3674 #define STDC_HEADERS 1 3675 _ACEOF 3672 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3676 3673 3677 3674 fi 3678 3675 3679 3676 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3677 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3690 3678 inttypes.h stdint.h unistd.h 3691 do 3692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3693 { echo "$as_me:$LINENO: checking for $ac_header" >&5 3694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 3695 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3696 echo $ECHO_N "(cached) $ECHO_C" >&6 3697 else 3698 cat >conftest.$ac_ext <<_ACEOF 3699 /* confdefs.h. */ 3700 _ACEOF 3701 cat confdefs.h >>conftest.$ac_ext 3702 cat >>conftest.$ac_ext <<_ACEOF 3703 /* end confdefs.h. */ 3704 $ac_includes_default 3705 3706 #include <$ac_header> 3707 _ACEOF 3708 rm -f conftest.$ac_objext 3709 if { (ac_try="$ac_compile" 3710 case "(($ac_try" in 3711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3712 *) ac_try_echo=$ac_try;; 3713 esac 3714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3715 (eval "$ac_compile") 2>conftest.er1 3716 ac_status=$? 3717 grep -v '^ *+' conftest.er1 >conftest.err 3718 rm -f conftest.er1 3719 cat conftest.err >&5 3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3721 (exit $ac_status); } && { 3722 test -z "$ac_c_werror_flag" || 3723 test ! -s conftest.err 3724 } && test -s conftest.$ac_objext; then 3725 eval "$as_ac_Header=yes" 3726 else 3727 echo "$as_me: failed program was:" >&5 3728 sed 's/^/| /' conftest.$ac_ext >&5 3729 3730 eval "$as_ac_Header=no" 3731 fi 3732 3733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3734 fi 3735 ac_res=`eval echo '${'$as_ac_Header'}'` 3736 { echo "$as_me:$LINENO: result: $ac_res" >&5 3737 echo "${ECHO_T}$ac_res" >&6; } 3738 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3679 do : 3680 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3681 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3682 " 3683 eval as_val=\$$as_ac_Header 3684 if test "x$as_val" = x""yes; then : 3739 3685 cat >>confdefs.h <<_ACEOF 3740 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 13686 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3741 3687 _ACEOF 3742 3688 … … 3746 3692 3747 3693 3748 3749 3750 3751 for ac_header in stdlib.h string.h unistd.h 3752 do 3753 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3754 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3755 { echo "$as_me:$LINENO: checking for $ac_header" >&5 3756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 3757 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3758 echo $ECHO_N "(cached) $ECHO_C" >&6 3759 fi 3760 ac_res=`eval echo '${'$as_ac_Header'}'` 3761 { echo "$as_me:$LINENO: result: $ac_res" >&5 3762 echo "${ECHO_T}$ac_res" >&6; } 3763 else 3764 # Is the header compilable? 3765 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 3766 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 3767 cat >conftest.$ac_ext <<_ACEOF 3768 /* confdefs.h. */ 3769 _ACEOF 3770 cat confdefs.h >>conftest.$ac_ext 3771 cat >>conftest.$ac_ext <<_ACEOF 3772 /* end confdefs.h. */ 3773 $ac_includes_default 3774 #include <$ac_header> 3775 _ACEOF 3776 rm -f conftest.$ac_objext 3777 if { (ac_try="$ac_compile" 3778 case "(($ac_try" in 3779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3780 *) ac_try_echo=$ac_try;; 3781 esac 3782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3783 (eval "$ac_compile") 2>conftest.er1 3784 ac_status=$? 3785 grep -v '^ *+' conftest.er1 >conftest.err 3786 rm -f conftest.er1 3787 cat conftest.err >&5 3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3789 (exit $ac_status); } && { 3790 test -z "$ac_c_werror_flag" || 3791 test ! -s conftest.err 3792 } && test -s conftest.$ac_objext; then 3793 ac_header_compiler=yes 3794 else 3795 echo "$as_me: failed program was:" >&5 3796 sed 's/^/| /' conftest.$ac_ext >&5 3797 3798 ac_header_compiler=no 3799 fi 3800 3801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3802 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3803 echo "${ECHO_T}$ac_header_compiler" >&6; } 3804 3805 # Is the header present? 3806 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 3807 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 3808 cat >conftest.$ac_ext <<_ACEOF 3809 /* confdefs.h. */ 3810 _ACEOF 3811 cat confdefs.h >>conftest.$ac_ext 3812 cat >>conftest.$ac_ext <<_ACEOF 3813 /* end confdefs.h. */ 3814 #include <$ac_header> 3815 _ACEOF 3816 if { (ac_try="$ac_cpp conftest.$ac_ext" 3817 case "(($ac_try" in 3818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3819 *) ac_try_echo=$ac_try;; 3820 esac 3821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3822 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3823 ac_status=$? 3824 grep -v '^ *+' conftest.er1 >conftest.err 3825 rm -f conftest.er1 3826 cat conftest.err >&5 3827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3828 (exit $ac_status); } >/dev/null && { 3829 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3830 test ! -s conftest.err 3831 }; then 3832 ac_header_preproc=yes 3833 else 3834 echo "$as_me: failed program was:" >&5 3835 sed 's/^/| /' conftest.$ac_ext >&5 3836 3837 ac_header_preproc=no 3838 fi 3839 3840 rm -f conftest.err conftest.$ac_ext 3841 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3842 echo "${ECHO_T}$ac_header_preproc" >&6; } 3843 3844 # So? What about this header? 3845 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3846 yes:no: ) 3847 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3848 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3850 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3851 ac_header_preproc=yes 3852 ;; 3853 no:yes:* ) 3854 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3855 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3856 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3857 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3858 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3859 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3860 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3861 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3863 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3864 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3865 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3866 ( cat <<\_ASBOX 3867 ## --------------------------------- ## 3868 ## Report this to BUG-REPORT-ADDRESS ## 3869 ## --------------------------------- ## 3870 _ASBOX 3871 ) | sed "s/^/$as_me: WARNING: /" >&2 3872 ;; 3873 esac 3874 { echo "$as_me:$LINENO: checking for $ac_header" >&5 3875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 3876 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3877 echo $ECHO_N "(cached) $ECHO_C" >&6 3878 else 3879 eval "$as_ac_Header=\$ac_header_preproc" 3880 fi 3881 ac_res=`eval echo '${'$as_ac_Header'}'` 3882 { echo "$as_me:$LINENO: result: $ac_res" >&5 3883 echo "${ECHO_T}$ac_res" >&6; } 3884 3885 fi 3886 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3694 for ac_header in stdlib.h string.h unistd.h pwd.h 3695 do : 3696 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3697 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 3698 eval as_val=\$$as_ac_Header 3699 if test "x$as_val" = x""yes; then : 3887 3700 cat >>confdefs.h <<_ACEOF 3888 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 13701 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3889 3702 _ACEOF 3890 3703 … … 3895 3708 3896 3709 # Checks for typedefs, structures, and compiler characteristics. 3897 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 3898 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 3899 if test "${ac_cv_c_const+set}" = set; then 3900 echo $ECHO_N "(cached) $ECHO_C" >&6 3901 else 3902 cat >conftest.$ac_ext <<_ACEOF 3903 /* confdefs.h. */ 3904 _ACEOF 3905 cat confdefs.h >>conftest.$ac_ext 3906 cat >>conftest.$ac_ext <<_ACEOF 3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 3711 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 3712 if test "${ac_cv_c_const+set}" = set; then : 3713 $as_echo_n "(cached) " >&6 3714 else 3715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3907 3716 /* end confdefs.h. */ 3908 3717 … … 3964 3773 } 3965 3774 _ACEOF 3966 rm -f conftest.$ac_objext 3967 if { (ac_try="$ac_compile" 3968 case "(($ac_try" in 3969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3970 *) ac_try_echo=$ac_try;; 3971 esac 3972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3973 (eval "$ac_compile") 2>conftest.er1 3974 ac_status=$? 3975 grep -v '^ *+' conftest.er1 >conftest.err 3976 rm -f conftest.er1 3977 cat conftest.err >&5 3978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3979 (exit $ac_status); } && { 3980 test -z "$ac_c_werror_flag" || 3981 test ! -s conftest.err 3982 } && test -s conftest.$ac_objext; then 3775 if ac_fn_c_try_compile "$LINENO"; then : 3983 3776 ac_cv_c_const=yes 3984 3777 else 3985 echo "$as_me: failed program was:" >&5 3986 sed 's/^/| /' conftest.$ac_ext >&5 3987 3988 ac_cv_c_const=no 3989 fi 3990 3778 ac_cv_c_const=no 3779 fi 3991 3780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3992 3781 fi 3993 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&53994 echo "${ECHO_T}$ac_cv_c_const" >&6; }3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 3783 $as_echo "$ac_cv_c_const" >&6; } 3995 3784 if test $ac_cv_c_const = no; then 3996 3785 3997 cat >>confdefs.h <<\_ACEOF 3998 #define const 3999 _ACEOF 4000 4001 fi 4002 4003 { echo "$as_me:$LINENO: checking for inline" >&5 4004 echo $ECHO_N "checking for inline... $ECHO_C" >&6; } 4005 if test "${ac_cv_c_inline+set}" = set; then 4006 echo $ECHO_N "(cached) $ECHO_C" >&6 3786 $as_echo "#define const /**/" >>confdefs.h 3787 3788 fi 3789 3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 3791 $as_echo_n "checking for inline... " >&6; } 3792 if test "${ac_cv_c_inline+set}" = set; then : 3793 $as_echo_n "(cached) " >&6 4007 3794 else 4008 3795 ac_cv_c_inline=no 4009 3796 for ac_kw in inline __inline__ __inline; do 4010 cat >conftest.$ac_ext <<_ACEOF 4011 /* confdefs.h. */ 4012 _ACEOF 4013 cat confdefs.h >>conftest.$ac_ext 4014 cat >>conftest.$ac_ext <<_ACEOF 3797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4015 3798 /* end confdefs.h. */ 4016 3799 #ifndef __cplusplus … … 4021 3804 4022 3805 _ACEOF 4023 rm -f conftest.$ac_objext 4024 if { (ac_try="$ac_compile" 4025 case "(($ac_try" in 4026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4027 *) ac_try_echo=$ac_try;; 4028 esac 4029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4030 (eval "$ac_compile") 2>conftest.er1 4031 ac_status=$? 4032 grep -v '^ *+' conftest.er1 >conftest.err 4033 rm -f conftest.er1 4034 cat conftest.err >&5 4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4036 (exit $ac_status); } && { 4037 test -z "$ac_c_werror_flag" || 4038 test ! -s conftest.err 4039 } && test -s conftest.$ac_objext; then 3806 if ac_fn_c_try_compile "$LINENO"; then : 4040 3807 ac_cv_c_inline=$ac_kw 4041 else 4042 echo "$as_me: failed program was:" >&5 4043 sed 's/^/| /' conftest.$ac_ext >&5 4044 4045 4046 fi 4047 3808 fi 4048 3809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4049 3810 test "$ac_cv_c_inline" != no && break … … 4051 3812 4052 3813 fi 4053 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 4054 echo "${ECHO_T}$ac_cv_c_inline" >&6; } 4055 3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 3815 $as_echo "$ac_cv_c_inline" >&6; } 4056 3816 4057 3817 case $ac_cv_c_inline in … … 4072 3832 4073 3833 # Checks for library functions. 4074 4075 3834 for ac_func in vprintf 4076 do 4077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4078 { echo "$as_me:$LINENO: checking for $ac_func" >&5 4079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4080 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4081 echo $ECHO_N "(cached) $ECHO_C" >&6 4082 else 4083 cat >conftest.$ac_ext <<_ACEOF 4084 /* confdefs.h. */ 4085 _ACEOF 4086 cat confdefs.h >>conftest.$ac_ext 4087 cat >>conftest.$ac_ext <<_ACEOF 4088 /* end confdefs.h. */ 4089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4090 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4091 #define $ac_func innocuous_$ac_func 4092 4093 /* System header to define __stub macros and hopefully few prototypes, 4094 which can conflict with char $ac_func (); below. 4095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4096 <limits.h> exists even on freestanding compilers. */ 4097 4098 #ifdef __STDC__ 4099 # include <limits.h> 4100 #else 4101 # include <assert.h> 4102 #endif 4103 4104 #undef $ac_func 4105 4106 /* Override any GCC internal prototype to avoid an error. 4107 Use char because int might match the return type of a GCC 4108 builtin and then its argument prototype would still apply. */ 4109 #ifdef __cplusplus 4110 extern "C" 4111 #endif 4112 char $ac_func (); 4113 /* The GNU C library defines this for functions which it implements 4114 to always fail with ENOSYS. Some functions are actually named 4115 something starting with __ and the normal name is an alias. */ 4116 #if defined __stub_$ac_func || defined __stub___$ac_func 4117 choke me 4118 #endif 4119 4120 int 4121 main () 4122 { 4123 return $ac_func (); 4124 ; 4125 return 0; 4126 } 4127 _ACEOF 4128 rm -f conftest.$ac_objext conftest$ac_exeext 4129 if { (ac_try="$ac_link" 4130 case "(($ac_try" in 4131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4132 *) ac_try_echo=$ac_try;; 4133 esac 4134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4135 (eval "$ac_link") 2>conftest.er1 4136 ac_status=$? 4137 grep -v '^ *+' conftest.er1 >conftest.err 4138 rm -f conftest.er1 4139 cat conftest.err >&5 4140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4141 (exit $ac_status); } && { 4142 test -z "$ac_c_werror_flag" || 4143 test ! -s conftest.err 4144 } && test -s conftest$ac_exeext && 4145 $as_test_x conftest$ac_exeext; then 4146 eval "$as_ac_var=yes" 4147 else 4148 echo "$as_me: failed program was:" >&5 4149 sed 's/^/| /' conftest.$ac_ext >&5 4150 4151 eval "$as_ac_var=no" 4152 fi 4153 4154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4155 conftest$ac_exeext conftest.$ac_ext 4156 fi 4157 ac_res=`eval echo '${'$as_ac_var'}'` 4158 { echo "$as_me:$LINENO: result: $ac_res" >&5 4159 echo "${ECHO_T}$ac_res" >&6; } 4160 if test `eval echo '${'$as_ac_var'}'` = yes; then 3835 do : 3836 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 3837 if test "x$ac_cv_func_vprintf" = x""yes; then : 4161 3838 cat >>confdefs.h <<_ACEOF 4162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4163 _ACEOF 4164 4165 { echo "$as_me:$LINENO: checking for _doprnt" >&5 4166 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; } 4167 if test "${ac_cv_func__doprnt+set}" = set; then 4168 echo $ECHO_N "(cached) $ECHO_C" >&6 4169 else 4170 cat >conftest.$ac_ext <<_ACEOF 4171 /* confdefs.h. */ 4172 _ACEOF 4173 cat confdefs.h >>conftest.$ac_ext 4174 cat >>conftest.$ac_ext <<_ACEOF 4175 /* end confdefs.h. */ 4176 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. 4177 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4178 #define _doprnt innocuous__doprnt 4179 4180 /* System header to define __stub macros and hopefully few prototypes, 4181 which can conflict with char _doprnt (); below. 4182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4183 <limits.h> exists even on freestanding compilers. */ 4184 4185 #ifdef __STDC__ 4186 # include <limits.h> 4187 #else 4188 # include <assert.h> 4189 #endif 4190 4191 #undef _doprnt 4192 4193 /* Override any GCC internal prototype to avoid an error. 4194 Use char because int might match the return type of a GCC 4195 builtin and then its argument prototype would still apply. */ 4196 #ifdef __cplusplus 4197 extern "C" 4198 #endif 4199 char _doprnt (); 4200 /* The GNU C library defines this for functions which it implements 4201 to always fail with ENOSYS. Some functions are actually named 4202 something starting with __ and the normal name is an alias. */ 4203 #if defined __stub__doprnt || defined __stub____doprnt 4204 choke me 4205 #endif 4206 4207 int 4208 main () 4209 { 4210 return _doprnt (); 4211 ; 4212 return 0; 4213 } 4214 _ACEOF 4215 rm -f conftest.$ac_objext conftest$ac_exeext 4216 if { (ac_try="$ac_link" 4217 case "(($ac_try" in 4218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4219 *) ac_try_echo=$ac_try;; 4220 esac 4221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4222 (eval "$ac_link") 2>conftest.er1 4223 ac_status=$? 4224 grep -v '^ *+' conftest.er1 >conftest.err 4225 rm -f conftest.er1 4226 cat conftest.err >&5 4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4228 (exit $ac_status); } && { 4229 test -z "$ac_c_werror_flag" || 4230 test ! -s conftest.err 4231 } && test -s conftest$ac_exeext && 4232 $as_test_x conftest$ac_exeext; then 4233 ac_cv_func__doprnt=yes 4234 else 4235 echo "$as_me: failed program was:" >&5 4236 sed 's/^/| /' conftest.$ac_ext >&5 4237 4238 ac_cv_func__doprnt=no 4239 fi 4240 4241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4242 conftest$ac_exeext conftest.$ac_ext 4243 fi 4244 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 4245 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; } 4246 if test $ac_cv_func__doprnt = yes; then 4247 4248 cat >>confdefs.h <<\_ACEOF 4249 #define HAVE_DOPRNT 1 4250 _ACEOF 3839 #define HAVE_VPRINTF 1 3840 _ACEOF 3841 3842 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 3843 if test "x$ac_cv_func__doprnt" = x""yes; then : 3844 3845 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 4251 3846 4252 3847 fi … … 4255 3850 done 4256 3851 3852 3853 ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf" 3854 if test "x$ac_cv_func_vsnprintf" = x""yes; then : 3855 3856 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h 3857 3858 fi 4257 3859 4258 3860 … … 4286 3888 *${as_nl}*) 4287 3889 case $ac_var in #( 4288 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&54289 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;3890 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3891 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4290 3892 esac 4291 3893 case $ac_var in #( 4292 3894 _ | IFS | as_nl) ;; #( 4293 *) $as_unset $ac_var ;; 3895 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3896 *) { eval $ac_var=; unset $ac_var;} ;; 4294 3897 esac ;; 4295 3898 esac … … 4299 3902 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4300 3903 *${as_nl}ac_space=\ *) 4301 # `set' does not quote correctly, so add quotes (double-quote4302 # substitution turns \\\\ into \\, and sed turns \\ into \ ).3904 # `set' does not quote correctly, so add quotes: double-quote 3905 # substitution turns \\\\ into \\, and sed turns \\ into \. 4303 3906 sed -n \ 4304 3907 "s/'/'\\\\''/g; … … 4323 3926 if test -w "$cache_file"; then 4324 3927 test "x$cache_file" != "x/dev/null" && 4325 { echo "$as_me:$LINENO: updating cache $cache_file" >&54326 echo "$as_me: updating cache $cache_file" >&6;}3928 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3929 $as_echo "$as_me: updating cache $cache_file" >&6;} 4327 3930 cat confcache >$cache_file 4328 3931 else 4329 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&54330 echo "$as_me: not updating unwritable cache $cache_file" >&6;}3932 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 3933 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4331 3934 fi 4332 3935 fi … … 4344 3947 # 1. Remove the extension, and $U if already installed. 4345 3948 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4346 ac_i=` echo "$ac_i" | sed "$ac_script"`3949 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4347 3950 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4348 3951 # will be set to the directory where LIBOBJS objects are built. 4349 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"4350 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'3952 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3953 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4351 3954 done 4352 3955 LIBOBJS=$ac_libobjs … … 4357 3960 4358 3961 : ${CONFIG_STATUS=./config.status} 3962 ac_write_fail=0 4359 3963 ac_clean_files_save=$ac_clean_files 4360 3964 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4361 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 4362 echo "$as_me: creating $CONFIG_STATUS" >&6;} 4363 cat >$CONFIG_STATUS <<_ACEOF 3965 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3966 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 3967 as_write_fail=0 3968 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4364 3969 #! $SHELL 4365 3970 # Generated by $as_me. … … 4371 3976 ac_cs_recheck=false 4372 3977 ac_cs_silent=false 3978 4373 3979 SHELL=\${CONFIG_SHELL-$SHELL} 4374 _ACEOF 4375 4376 cat >>$CONFIG_STATUS <<\_A CEOF4377 ## -------------------- -##4378 ## M4sh Initialization. 4379 ## -------------------- -##3980 export SHELL 3981 _ASEOF 3982 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 3983 ## -------------------- ## 3984 ## M4sh Initialization. ## 3985 ## -------------------- ## 4380 3986 4381 3987 # Be more Bourne compatible 4382 3988 DUALCASE=1; export DUALCASE # for MKS sh 4383 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3989 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4384 3990 emulate sh 4385 3991 NULLCMD=: 4386 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which3992 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4387 3993 # is contrary to our usage. Disable this feature. 4388 3994 alias -g '${1+"$@"}'='"$@"' 4389 3995 setopt NO_GLOB_SUBST 4390 3996 else 4391 case `(set -o) 2>/dev/null` in 4392 *posix*) set -o posix ;; 3997 case `(set -o) 2>/dev/null` in #( 3998 *posix*) : 3999 set -o posix ;; #( 4000 *) : 4001 ;; 4393 4002 esac 4394 4395 fi 4396 4397 4398 4399 4400 # PATH needs CR 4401 # Avoid depending upon Character Ranges. 4402 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4403 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4404 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4405 as_cr_digits='0123456789' 4406 as_cr_alnum=$as_cr_Letters$as_cr_digits 4003 fi 4004 4005 4006 as_nl=' 4007 ' 4008 export as_nl 4009 # Printing a long string crashes Solaris 7 /usr/bin/printf. 4010 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4011 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4012 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4013 # Prefer a ksh shell builtin over an external printf program on Solaris, 4014 # but without wasting forks for bash or zsh. 4015 if test -z "$BASH_VERSION$ZSH_VERSION" \ 4016 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4017 as_echo='print -r --' 4018 as_echo_n='print -rn --' 4019 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4020 as_echo='printf %s\n' 4021 as_echo_n='printf %s' 4022 else 4023 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4024 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4025 as_echo_n='/usr/ucb/echo -n' 4026 else 4027 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4028 as_echo_n_body='eval 4029 arg=$1; 4030 case $arg in #( 4031 *"$as_nl"*) 4032 expr "X$arg" : "X\\(.*\\)$as_nl"; 4033 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4034 esac; 4035 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4036 ' 4037 export as_echo_n_body 4038 as_echo_n='sh -c $as_echo_n_body as_echo' 4039 fi 4040 export as_echo_body 4041 as_echo='sh -c $as_echo_body as_echo' 4042 fi 4407 4043 4408 4044 # The user is always right. 4409 4045 if test "${PATH_SEPARATOR+set}" != set; then 4410 echo "#! /bin/sh" >conf$$.sh 4411 echo "exit 0" >>conf$$.sh 4412 chmod +x conf$$.sh 4413 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4414 PATH_SEPARATOR=';' 4415 else 4416 PATH_SEPARATOR=: 4417 fi 4418 rm -f conf$$.sh 4419 fi 4420 4421 # Support unset when possible. 4422 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4423 as_unset=unset 4424 else 4425 as_unset=false 4046 PATH_SEPARATOR=: 4047 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4048 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4049 PATH_SEPARATOR=';' 4050 } 4426 4051 fi 4427 4052 … … 4432 4057 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 4433 4058 # splitting by setting IFS to empty value.) 4434 as_nl='4435 '4436 4059 IFS=" "" $as_nl" 4437 4060 4438 4061 # Find who we are. Look in the path if we contain no directory separator. 4439 case $0 in 4062 case $0 in #(( 4440 4063 *[\\/]* ) as_myself=$0 ;; 4441 4064 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 4444 4067 IFS=$as_save_IFS 4445 4068 test -z "$as_dir" && as_dir=. 4446 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break4447 done4069 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4070 done 4448 4071 IFS=$as_save_IFS 4449 4072 … … 4456 4079 fi 4457 4080 if test ! -f "$as_myself"; then 4458 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4459 { (exit 1); exit 1; } 4460 fi 4461 4462 # Work around bugs in pre-3.0 UWIN ksh. 4463 for as_var in ENV MAIL MAILPATH 4464 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 4081 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4082 exit 1 4083 fi 4084 4085 # Unset variables that we do not need and which cause bugs (e.g. in 4086 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 4087 # suppresses any "Segmentation fault" message there. '((' could 4088 # trigger a bug in pdksh 5.2.14. 4089 for as_var in BASH_ENV ENV MAIL MAILPATH 4090 do eval test x\${$as_var+set} = xset \ 4091 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4465 4092 done 4466 4093 PS1='$ ' … … 4469 4096 4470 4097 # NLS nuisances. 4471 for as_var in \ 4472 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 4473 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 4474 LC_TELEPHONE LC_TIME 4475 do 4476 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 4477 eval $as_var=C; export $as_var 4478 else 4479 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 4098 LC_ALL=C 4099 export LC_ALL 4100 LANGUAGE=C 4101 export LANGUAGE 4102 4103 # CDPATH. 4104 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 4105 4106 4107 # as_fn_error ERROR [LINENO LOG_FD] 4108 # --------------------------------- 4109 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4110 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4111 # script with status $?, using 1 if that was 0. 4112 as_fn_error () 4113 { 4114 as_status=$?; test $as_status -eq 0 && as_status=1 4115 if test "$3"; then 4116 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4117 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 4480 4118 fi 4481 done 4482 4483 # Required to use basename. 4119 $as_echo "$as_me: error: $1" >&2 4120 as_fn_exit $as_status 4121 } # as_fn_error 4122 4123 4124 # as_fn_set_status STATUS 4125 # ----------------------- 4126 # Set $? to STATUS, without forking. 4127 as_fn_set_status () 4128 { 4129 return $1 4130 } # as_fn_set_status 4131 4132 # as_fn_exit STATUS 4133 # ----------------- 4134 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 4135 as_fn_exit () 4136 { 4137 set +e 4138 as_fn_set_status $1 4139 exit $1 4140 } # as_fn_exit 4141 4142 # as_fn_unset VAR 4143 # --------------- 4144 # Portably unset VAR. 4145 as_fn_unset () 4146 { 4147 { eval $1=; unset $1;} 4148 } 4149 as_unset=as_fn_unset 4150 # as_fn_append VAR VALUE 4151 # ---------------------- 4152 # Append the text in VALUE to the end of the definition contained in VAR. Take 4153 # advantage of any shell optimizations that allow amortized linear growth over 4154 # repeated appends, instead of the typical quadratic growth present in naive 4155 # implementations. 4156 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 4157 eval 'as_fn_append () 4158 { 4159 eval $1+=\$2 4160 }' 4161 else 4162 as_fn_append () 4163 { 4164 eval $1=\$$1\$2 4165 } 4166 fi # as_fn_append 4167 4168 # as_fn_arith ARG... 4169 # ------------------ 4170 # Perform arithmetic evaluation on the ARGs, and store the result in the 4171 # global $as_val. Take advantage of shells that can avoid forks. The arguments 4172 # must be portable across $(()) and expr. 4173 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4174 eval 'as_fn_arith () 4175 { 4176 as_val=$(( $* )) 4177 }' 4178 else 4179 as_fn_arith () 4180 { 4181 as_val=`expr "$@" || test $? -eq 1` 4182 } 4183 fi # as_fn_arith 4184 4185 4484 4186 if expr a : '\(a\)' >/dev/null 2>&1 && 4485 4187 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 4495 4197 fi 4496 4198 4497 4498 # Name of the executable. 4199 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4200 as_dirname=dirname 4201 else 4202 as_dirname=false 4203 fi 4204 4499 4205 as_me=`$as_basename -- "$0" || 4500 4206 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4501 4207 X"$0" : 'X\(//\)$' \| \ 4502 4208 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4503 echo X/"$0" |4209 $as_echo X/"$0" | 4504 4210 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4505 4211 s//\1/ … … 4516 4222 s/.*/./; q'` 4517 4223 4518 # CDPATH. 4519 $as_unset CDPATH 4520 4521 4522 4523 as_lineno_1=$LINENO 4524 as_lineno_2=$LINENO 4525 test "x$as_lineno_1" != "x$as_lineno_2" && 4526 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 4527 4528 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4529 # uniformly replaced by the line number. The first 'sed' inserts a 4530 # line-number line after each line using $LINENO; the second 'sed' 4531 # does the real work. The second script uses 'N' to pair each 4532 # line-number line with the line containing $LINENO, and appends 4533 # trailing '-' during substitution so that $LINENO is not a special 4534 # case at line end. 4535 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 4536 # scripts with optimization help from Paolo Bonzini. Blame Lee 4537 # E. McMahon (1931-1989) for sed's syntax. :-) 4538 sed -n ' 4539 p 4540 /[$]LINENO/= 4541 ' <$as_myself | 4542 sed ' 4543 s/[$]LINENO.*/&-/ 4544 t lineno 4545 b 4546 :lineno 4547 N 4548 :loop 4549 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4550 t loop 4551 s/-\n.*// 4552 ' >$as_me.lineno && 4553 chmod +x "$as_me.lineno" || 4554 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 4555 { (exit 1); exit 1; }; } 4556 4557 # Don't try to exec as it changes $[0], causing all sort of problems 4558 # (the dirname of $[0] is not the place where we might find the 4559 # original and so on. Autoconf is especially sensitive to this). 4560 . "./$as_me.lineno" 4561 # Exit status is that of the last command. 4562 exit 4563 } 4564 4565 4566 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4567 as_dirname=dirname 4568 else 4569 as_dirname=false 4570 fi 4224 # Avoid depending upon Character Ranges. 4225 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4226 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4227 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4228 as_cr_digits='0123456789' 4229 as_cr_alnum=$as_cr_Letters$as_cr_digits 4571 4230 4572 4231 ECHO_C= ECHO_N= ECHO_T= 4573 case `echo -n x` in 4232 case `echo -n x` in #((((( 4574 4233 -n*) 4575 case `echo 'x \c'` in4234 case `echo 'xy\c'` in 4576 4235 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4577 *) ECHO_C='\c';; 4236 xy) ECHO_C='\c';; 4237 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4238 ECHO_T=' ';; 4578 4239 esac;; 4579 4240 *) … … 4581 4242 esac 4582 4243 4583 if expr a : '\(a\)' >/dev/null 2>&1 &&4584 test "X`expr 00001 : '.*\(...\)'`" = X001; then4585 as_expr=expr4586 else4587 as_expr=false4588 fi4589 4590 4244 rm -f conf$$ conf$$.exe conf$$.file 4591 4245 if test -d conf$$.dir; then … … 4593 4247 else 4594 4248 rm -f conf$$.dir 4595 mkdir conf$$.dir 4596 fi 4597 echo >conf$$.file 4598 if ln -s conf$$.file conf$$ 2>/dev/null; then 4599 as_ln_s='ln -s' 4600 # ... but there are two gotchas: 4601 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4602 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4603 # In both cases, we have to default to `cp -p'. 4604 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4249 mkdir conf$$.dir 2>/dev/null 4250 fi 4251 if (echo >conf$$.file) 2>/dev/null; then 4252 if ln -s conf$$.file conf$$ 2>/dev/null; then 4253 as_ln_s='ln -s' 4254 # ... but there are two gotchas: 4255 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4256 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4257 # In both cases, we have to default to `cp -p'. 4258 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4259 as_ln_s='cp -p' 4260 elif ln conf$$.file conf$$ 2>/dev/null; then 4261 as_ln_s=ln 4262 else 4605 4263 as_ln_s='cp -p' 4606 elif ln conf$$.file conf$$ 2>/dev/null; then 4607 as_ln_s=ln 4264 fi 4608 4265 else 4609 4266 as_ln_s='cp -p' … … 4612 4269 rmdir conf$$.dir 2>/dev/null 4613 4270 4614 if mkdir -p . 2>/dev/null; then 4615 as_mkdir_p=: 4616 else 4617 test -d ./-p && rmdir ./-p 4618 as_mkdir_p=false 4619 fi 4620 4621 if test -x / >/dev/null 2>&1; then 4622 as_test_x='test -x' 4623 else 4624 if ls -dL / >/dev/null 2>&1; then 4625 as_ls_L_option=L 4626 else 4627 as_ls_L_option= 4628 fi 4629 as_test_x=' 4630 eval sh -c '\'' 4631 if test -d "$1"; then 4632 test -d "$1/."; 4633 else 4634 case $1 in 4635 -*)set "./$1";; 4636 esac; 4637 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 4638 ???[sx]*):;;*)false;;esac;fi 4639 '\'' sh 4640 ' 4641 fi 4642 as_executable_p=$as_test_x 4643 4644 # Sed expression to map a string onto a valid CPP name. 4645 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4646 4647 # Sed expression to map a string onto a valid variable name. 4648 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4649 4650 4651 exec 6>&1 4652 4653 # Save the log message, to keep $[0] and so on meaningful, and to 4654 # report actual input values of CONFIG_FILES etc. instead of their 4655 # values after options handling. 4656 ac_log=" 4657 This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was 4658 generated by GNU Autoconf 2.61. Invocation command line was 4659 4660 CONFIG_FILES = $CONFIG_FILES 4661 CONFIG_HEADERS = $CONFIG_HEADERS 4662 CONFIG_LINKS = $CONFIG_LINKS 4663 CONFIG_COMMANDS = $CONFIG_COMMANDS 4664 $ $0 $@ 4665 4666 on `(hostname || uname -n) 2>/dev/null | sed 1q` 4667 " 4668 4669 _ACEOF 4670 4671 cat >>$CONFIG_STATUS <<_ACEOF 4672 # Files that config.status was made for. 4673 config_files="$ac_config_files" 4674 config_headers="$ac_config_headers" 4675 4676 _ACEOF 4677 4678 cat >>$CONFIG_STATUS <<\_ACEOF 4679 ac_cs_usage="\ 4680 \`$as_me' instantiates files from templates according to the 4681 current configuration. 4682 4683 Usage: $0 [OPTIONS] [FILE]... 4684 4685 -h, --help print this help, then exit 4686 -V, --version print version number and configuration settings, then exit 4687 -q, --quiet do not print progress messages 4688 -d, --debug don't remove temporary files 4689 --recheck update $as_me by reconfiguring in the same conditions 4690 --file=FILE[:TEMPLATE] 4691 instantiate the configuration file FILE 4692 --header=FILE[:TEMPLATE] 4693 instantiate the configuration header FILE 4694 4695 Configuration files: 4696 $config_files 4697 4698 Configuration headers: 4699 $config_headers 4700 4701 Report bugs to <bug-autoconf@gnu.org>." 4702 4703 _ACEOF 4704 cat >>$CONFIG_STATUS <<_ACEOF 4705 ac_cs_version="\\ 4706 FULL-PACKAGE-NAME config.status VERSION 4707 configured by $0, generated by GNU Autoconf 2.61, 4708 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 4709 4710 Copyright (C) 2006 Free Software Foundation, Inc. 4711 This config.status script is free software; the Free Software Foundation 4712 gives unlimited permission to copy, distribute and modify it." 4713 4714 ac_pwd='$ac_pwd' 4715 srcdir='$srcdir' 4716 INSTALL='$INSTALL' 4717 _ACEOF 4718 4719 cat >>$CONFIG_STATUS <<\_ACEOF 4720 # If no file are specified by the user, then we need to provide default 4721 # value. By we need to know if files were specified by the user. 4722 ac_need_defaults=: 4723 while test $# != 0 4724 do 4725 case $1 in 4726 --*=*) 4727 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4728 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4729 ac_shift=: 4730 ;; 4731 *) 4732 ac_option=$1 4733 ac_optarg=$2 4734 ac_shift=shift 4735 ;; 4736 esac 4737 4738 case $ac_option in 4739 # Handling of the options. 4740 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4741 ac_cs_recheck=: ;; 4742 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4743 echo "$ac_cs_version"; exit ;; 4744 --debug | --debu | --deb | --de | --d | -d ) 4745 debug=: ;; 4746 --file | --fil | --fi | --f ) 4747 $ac_shift 4748 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4749 ac_need_defaults=false;; 4750 --header | --heade | --head | --hea ) 4751 $ac_shift 4752 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 4753 ac_need_defaults=false;; 4754 --he | --h) 4755 # Conflict between --help and --header 4756 { echo "$as_me: error: ambiguous option: $1 4757 Try \`$0 --help' for more information." >&2 4758 { (exit 1); exit 1; }; };; 4759 --help | --hel | -h ) 4760 echo "$ac_cs_usage"; exit ;; 4761 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4762 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4763 ac_cs_silent=: ;; 4764 4765 # This is an error. 4766 -*) { echo "$as_me: error: unrecognized option: $1 4767 Try \`$0 --help' for more information." >&2 4768 { (exit 1); exit 1; }; } ;; 4769 4770 *) ac_config_targets="$ac_config_targets $1" 4771 ac_need_defaults=false ;; 4772 4773 esac 4774 shift 4775 done 4776 4777 ac_configure_extra_args= 4778 4779 if $ac_cs_silent; then 4780 exec 6>/dev/null 4781 ac_configure_extra_args="$ac_configure_extra_args --silent" 4782 fi 4783 4784 _ACEOF 4785 cat >>$CONFIG_STATUS <<_ACEOF 4786 if \$ac_cs_recheck; then 4787 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 4788 CONFIG_SHELL=$SHELL 4789 export CONFIG_SHELL 4790 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4791 fi 4792 4793 _ACEOF 4794 cat >>$CONFIG_STATUS <<\_ACEOF 4795 exec 5>>config.log 4271 4272 # as_fn_mkdir_p 4273 # ------------- 4274 # Create "$as_dir" as a directory, including parents if necessary. 4275 as_fn_mkdir_p () 4796 4276 { 4797 echo 4798 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4799 ## Running $as_me. ## 4800 _ASBOX 4801 echo "$ac_log" 4802 } >&5 4803 4804 _ACEOF 4805 cat >>$CONFIG_STATUS <<_ACEOF 4806 _ACEOF 4807 4808 cat >>$CONFIG_STATUS <<\_ACEOF 4809 4810 # Handling of arguments. 4811 for ac_config_target in $ac_config_targets 4812 do 4813 case $ac_config_target in 4814 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 4815 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4816 4817 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4818 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 4819 { (exit 1); exit 1; }; };; 4820 esac 4821 done 4822 4823 4824 # If the user did not use the arguments to specify the items to instantiate, 4825 # then the envvar interface is used. Set only those that are not. 4826 # We use the long form for the default assignment because of an extremely 4827 # bizarre bug on SunOS 4.1.3. 4828 if $ac_need_defaults; then 4829 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4830 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 4831 fi 4832 4833 # Have a temporary directory for convenience. Make it in the build tree 4834 # simply because there is no reason against having it here, and in addition, 4835 # creating and moving files from /tmp can sometimes cause problems. 4836 # Hook for its removal unless debugging. 4837 # Note that there is a small window in which the directory will not be cleaned: 4838 # after its creation but before its name has been assigned to `$tmp'. 4839 $debug || 4840 { 4841 tmp= 4842 trap 'exit_status=$? 4843 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 4844 ' 0 4845 trap '{ (exit 1); exit 1; }' 1 2 13 15 4846 } 4847 # Create a (secure) tmp directory for tmp files. 4848 4849 { 4850 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4851 test -n "$tmp" && test -d "$tmp" 4852 } || 4853 { 4854 tmp=./conf$$-$RANDOM 4855 (umask 077 && mkdir "$tmp") 4856 } || 4857 { 4858 echo "$me: cannot create a temporary directory in ." >&2 4859 { (exit 1); exit 1; } 4860 } 4861 4862 # 4863 # Set up the sed scripts for CONFIG_FILES section. 4864 # 4865 4866 # No need to generate the scripts if there are no CONFIG_FILES. 4867 # This happens for instance when ./config.status config.h 4868 if test -n "$CONFIG_FILES"; then 4869 4870 _ACEOF 4871 4872 4873 4874 ac_delim='%!_!# ' 4875 for ac_last_try in false false false false false :; do 4876 cat >conf$$subs.sed <<_ACEOF 4877 SHELL!$SHELL$ac_delim 4878 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 4879 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 4880 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 4881 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 4882 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 4883 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 4884 exec_prefix!$exec_prefix$ac_delim 4885 prefix!$prefix$ac_delim 4886 program_transform_name!$program_transform_name$ac_delim 4887 bindir!$bindir$ac_delim 4888 sbindir!$sbindir$ac_delim 4889 libexecdir!$libexecdir$ac_delim 4890 datarootdir!$datarootdir$ac_delim 4891 datadir!$datadir$ac_delim 4892 sysconfdir!$sysconfdir$ac_delim 4893 sharedstatedir!$sharedstatedir$ac_delim 4894 localstatedir!$localstatedir$ac_delim 4895 includedir!$includedir$ac_delim 4896 oldincludedir!$oldincludedir$ac_delim 4897 docdir!$docdir$ac_delim 4898 infodir!$infodir$ac_delim 4899 htmldir!$htmldir$ac_delim 4900 dvidir!$dvidir$ac_delim 4901 pdfdir!$pdfdir$ac_delim 4902 psdir!$psdir$ac_delim 4903 libdir!$libdir$ac_delim 4904 localedir!$localedir$ac_delim 4905 mandir!$mandir$ac_delim 4906 DEFS!$DEFS$ac_delim 4907 ECHO_C!$ECHO_C$ac_delim 4908 ECHO_N!$ECHO_N$ac_delim 4909 ECHO_T!$ECHO_T$ac_delim 4910 LIBS!$LIBS$ac_delim 4911 build_alias!$build_alias$ac_delim 4912 host_alias!$host_alias$ac_delim 4913 target_alias!$target_alias$ac_delim 4914 CXX!$CXX$ac_delim 4915 CXXFLAGS!$CXXFLAGS$ac_delim 4916 LDFLAGS!$LDFLAGS$ac_delim 4917 CPPFLAGS!$CPPFLAGS$ac_delim 4918 ac_ct_CXX!$ac_ct_CXX$ac_delim 4919 EXEEXT!$EXEEXT$ac_delim 4920 OBJEXT!$OBJEXT$ac_delim 4921 CC!$CC$ac_delim 4922 CFLAGS!$CFLAGS$ac_delim 4923 ac_ct_CC!$ac_ct_CC$ac_delim 4924 LN_S!$LN_S$ac_delim 4925 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 4926 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 4927 INSTALL_DATA!$INSTALL_DATA$ac_delim 4928 CPP!$CPP$ac_delim 4929 GREP!$GREP$ac_delim 4930 EGREP!$EGREP$ac_delim 4931 LIBOBJS!$LIBOBJS$ac_delim 4932 LTLIBOBJS!$LTLIBOBJS$ac_delim 4933 _ACEOF 4934 4935 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 56; then 4936 break 4937 elif $ac_last_try; then 4938 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 4939 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 4940 { (exit 1); exit 1; }; } 4941 else 4942 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4943 fi 4944 done 4945 4946 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 4947 if test -n "$ac_eof"; then 4948 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 4949 ac_eof=`expr $ac_eof + 1` 4950 fi 4951 4952 cat >>$CONFIG_STATUS <<_ACEOF 4953 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 4954 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 4955 _ACEOF 4956 sed ' 4957 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 4958 s/^/s,@/; s/!/@,|#_!!_#|/ 4959 :n 4960 t n 4961 s/'"$ac_delim"'$/,g/; t 4962 s/$/\\/; p 4963 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 4964 ' >>$CONFIG_STATUS <conf$$subs.sed 4965 rm -f conf$$subs.sed 4966 cat >>$CONFIG_STATUS <<_ACEOF 4967 :end 4968 s/|#_!!_#|//g 4969 CEOF$ac_eof 4970 _ACEOF 4971 4972 4973 # VPATH may cause trouble with some makes, so we remove $(srcdir), 4974 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 4975 # trailing colons and then remove the whole line if VPATH becomes empty 4976 # (actually we leave an empty line to preserve line numbers). 4977 if test "x$srcdir" = x.; then 4978 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4979 s/:*\$(srcdir):*/:/ 4980 s/:*\${srcdir}:*/:/ 4981 s/:*@srcdir@:*/:/ 4982 s/^\([^=]*=[ ]*\):*/\1/ 4983 s/:*$// 4984 s/^[^=]*=[ ]*$// 4985 }' 4986 fi 4987 4988 cat >>$CONFIG_STATUS <<\_ACEOF 4989 fi # test -n "$CONFIG_FILES" 4990 4991 4992 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 4993 do 4994 case $ac_tag in 4995 :[FHLC]) ac_mode=$ac_tag; continue;; 4996 esac 4997 case $ac_mode$ac_tag in 4998 :[FHL]*:*);; 4999 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 5000 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 5001 { (exit 1); exit 1; }; };; 5002 :[FH]-) ac_tag=-:-;; 5003 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5004 esac 5005 ac_save_IFS=$IFS 5006 IFS=: 5007 set x $ac_tag 5008 IFS=$ac_save_IFS 5009 shift 5010 ac_file=$1 5011 shift 5012 5013 case $ac_mode in 5014 :L) ac_source=$1;; 5015 :[FH]) 5016 ac_file_inputs= 5017 for ac_f 5018 do 5019 case $ac_f in 5020 -) ac_f="$tmp/stdin";; 5021 *) # Look for the file first in the build tree, then in the source tree 5022 # (if the path is not absolute). The absolute path cannot be DOS-style, 5023 # because $ac_f cannot contain `:'. 5024 test -f "$ac_f" || 5025 case $ac_f in 5026 [\\/$]*) false;; 5027 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5028 esac || 5029 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 5030 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 5031 { (exit 1); exit 1; }; };; 5032 esac 5033 ac_file_inputs="$ac_file_inputs $ac_f" 5034 done 5035 5036 # Let's still pretend it is `configure' which instantiates (i.e., don't 5037 # use $as_me), people would be surprised to read: 5038 # /* config.h. Generated by config.status. */ 5039 configure_input="Generated from "`IFS=: 5040 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 5041 if test x"$ac_file" != x-; then 5042 configure_input="$ac_file. $configure_input" 5043 { echo "$as_me:$LINENO: creating $ac_file" >&5 5044 echo "$as_me: creating $ac_file" >&6;} 5045 fi 5046 5047 case $ac_tag in 5048 *:-:* | *:-) cat >"$tmp/stdin";; 5049 esac 5050 ;; 5051 esac 5052 5053 ac_dir=`$as_dirname -- "$ac_file" || 5054 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5055 X"$ac_file" : 'X\(//\)[^/]' \| \ 5056 X"$ac_file" : 'X\(//\)$' \| \ 5057 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5058 echo X"$ac_file" | 5059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5060 s//\1/ 5061 q 5062 } 5063 /^X\(\/\/\)[^/].*/{ 5064 s//\1/ 5065 q 5066 } 5067 /^X\(\/\/\)$/{ 5068 s//\1/ 5069 q 5070 } 5071 /^X\(\/\).*/{ 5072 s//\1/ 5073 q 5074 } 5075 s/.*/./; q'` 5076 { as_dir="$ac_dir" 4277 5077 4278 case $as_dir in #( 5078 4279 -*) as_dir=./$as_dir;; 5079 4280 esac 5080 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; }|| {4281 test -d "$as_dir" || eval $as_mkdir_p || { 5081 4282 as_dirs= 5082 4283 while :; do 5083 4284 case $as_dir in #( 5084 *\'*) as_qdir=` echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(4285 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5085 4286 *) as_qdir=$as_dir;; 5086 4287 esac … … 5091 4292 X"$as_dir" : 'X\(//\)$' \| \ 5092 4293 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5093 echo X"$as_dir" |4294 $as_echo X"$as_dir" | 5094 4295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5095 4296 s//\1/ … … 5112 4313 done 5113 4314 test -z "$as_dirs" || eval "mkdir $as_dirs" 5114 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 5115 echo "$as_me: error: cannot create directory $as_dir" >&2;} 5116 { (exit 1); exit 1; }; }; } 4315 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 4316 4317 4318 } # as_fn_mkdir_p 4319 if mkdir -p . 2>/dev/null; then 4320 as_mkdir_p='mkdir -p "$as_dir"' 4321 else 4322 test -d ./-p && rmdir ./-p 4323 as_mkdir_p=false 4324 fi 4325 4326 if test -x / >/dev/null 2>&1; then 4327 as_test_x='test -x' 4328 else 4329 if ls -dL / >/dev/null 2>&1; then 4330 as_ls_L_option=L 4331 else 4332 as_ls_L_option= 4333 fi 4334 as_test_x=' 4335 eval sh -c '\'' 4336 if test -d "$1"; then 4337 test -d "$1/."; 4338 else 4339 case $1 in #( 4340 -*)set "./$1";; 4341 esac; 4342 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 4343 ???[sx]*):;;*)false;;esac;fi 4344 '\'' sh 4345 ' 4346 fi 4347 as_executable_p=$as_test_x 4348 4349 # Sed expression to map a string onto a valid CPP name. 4350 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4351 4352 # Sed expression to map a string onto a valid variable name. 4353 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4354 4355 4356 exec 6>&1 4357 ## ----------------------------------- ## 4358 ## Main body of $CONFIG_STATUS script. ## 4359 ## ----------------------------------- ## 4360 _ASEOF 4361 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 4362 4363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4364 # Save the log message, to keep $0 and so on meaningful, and to 4365 # report actual input values of CONFIG_FILES etc. instead of their 4366 # values after options handling. 4367 ac_log=" 4368 This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was 4369 generated by GNU Autoconf 2.65. Invocation command line was 4370 4371 CONFIG_FILES = $CONFIG_FILES 4372 CONFIG_HEADERS = $CONFIG_HEADERS 4373 CONFIG_LINKS = $CONFIG_LINKS 4374 CONFIG_COMMANDS = $CONFIG_COMMANDS 4375 $ $0 $@ 4376 4377 on `(hostname || uname -n) 2>/dev/null | sed 1q` 4378 " 4379 4380 _ACEOF 4381 4382 case $ac_config_files in *" 4383 "*) set x $ac_config_files; shift; ac_config_files=$*;; 4384 esac 4385 4386 case $ac_config_headers in *" 4387 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 4388 esac 4389 4390 4391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4392 # Files that config.status was made for. 4393 config_files="$ac_config_files" 4394 config_headers="$ac_config_headers" 4395 4396 _ACEOF 4397 4398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4399 ac_cs_usage="\ 4400 \`$as_me' instantiates files and other configuration actions 4401 from templates according to the current configuration. Unless the files 4402 and actions are specified as TAGs, all are instantiated by default. 4403 4404 Usage: $0 [OPTION]... [TAG]... 4405 4406 -h, --help print this help, then exit 4407 -V, --version print version number and configuration settings, then exit 4408 --config print configuration, then exit 4409 -q, --quiet, --silent 4410 do not print progress messages 4411 -d, --debug don't remove temporary files 4412 --recheck update $as_me by reconfiguring in the same conditions 4413 --file=FILE[:TEMPLATE] 4414 instantiate the configuration file FILE 4415 --header=FILE[:TEMPLATE] 4416 instantiate the configuration header FILE 4417 4418 Configuration files: 4419 $config_files 4420 4421 Configuration headers: 4422 $config_headers 4423 4424 Report bugs to <BUG-REPORT-ADDRESS>." 4425 4426 _ACEOF 4427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4428 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4429 ac_cs_version="\\ 4430 FULL-PACKAGE-NAME config.status VERSION 4431 configured by $0, generated by GNU Autoconf 2.65, 4432 with options \\"\$ac_cs_config\\" 4433 4434 Copyright (C) 2009 Free Software Foundation, Inc. 4435 This config.status script is free software; the Free Software Foundation 4436 gives unlimited permission to copy, distribute and modify it." 4437 4438 ac_pwd='$ac_pwd' 4439 srcdir='$srcdir' 4440 INSTALL='$INSTALL' 4441 test -n "\$AWK" || AWK=awk 4442 _ACEOF 4443 4444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4445 # The default lists apply if the user does not specify any file. 4446 ac_need_defaults=: 4447 while test $# != 0 4448 do 4449 case $1 in 4450 --*=*) 4451 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4452 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4453 ac_shift=: 4454 ;; 4455 *) 4456 ac_option=$1 4457 ac_optarg=$2 4458 ac_shift=shift 4459 ;; 4460 esac 4461 4462 case $ac_option in 4463 # Handling of the options. 4464 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4465 ac_cs_recheck=: ;; 4466 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4467 $as_echo "$ac_cs_version"; exit ;; 4468 --config | --confi | --conf | --con | --co | --c ) 4469 $as_echo "$ac_cs_config"; exit ;; 4470 --debug | --debu | --deb | --de | --d | -d ) 4471 debug=: ;; 4472 --file | --fil | --fi | --f ) 4473 $ac_shift 4474 case $ac_optarg in 4475 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4476 esac 4477 as_fn_append CONFIG_FILES " '$ac_optarg'" 4478 ac_need_defaults=false;; 4479 --header | --heade | --head | --hea ) 4480 $ac_shift 4481 case $ac_optarg in 4482 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4483 esac 4484 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 4485 ac_need_defaults=false;; 4486 --he | --h) 4487 # Conflict between --help and --header 4488 as_fn_error "ambiguous option: \`$1' 4489 Try \`$0 --help' for more information.";; 4490 --help | --hel | -h ) 4491 $as_echo "$ac_cs_usage"; exit ;; 4492 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4493 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4494 ac_cs_silent=: ;; 4495 4496 # This is an error. 4497 -*) as_fn_error "unrecognized option: \`$1' 4498 Try \`$0 --help' for more information." ;; 4499 4500 *) as_fn_append ac_config_targets " $1" 4501 ac_need_defaults=false ;; 4502 4503 esac 4504 shift 4505 done 4506 4507 ac_configure_extra_args= 4508 4509 if $ac_cs_silent; then 4510 exec 6>/dev/null 4511 ac_configure_extra_args="$ac_configure_extra_args --silent" 4512 fi 4513 4514 _ACEOF 4515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4516 if \$ac_cs_recheck; then 4517 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4518 shift 4519 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 4520 CONFIG_SHELL='$SHELL' 4521 export CONFIG_SHELL 4522 exec "\$@" 4523 fi 4524 4525 _ACEOF 4526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4527 exec 5>>config.log 4528 { 4529 echo 4530 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4531 ## Running $as_me. ## 4532 _ASBOX 4533 $as_echo "$ac_log" 4534 } >&5 4535 4536 _ACEOF 4537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4538 _ACEOF 4539 4540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4541 4542 # Handling of arguments. 4543 for ac_config_target in $ac_config_targets 4544 do 4545 case $ac_config_target in 4546 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 4547 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4548 4549 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4550 esac 4551 done 4552 4553 4554 # If the user did not use the arguments to specify the items to instantiate, 4555 # then the envvar interface is used. Set only those that are not. 4556 # We use the long form for the default assignment because of an extremely 4557 # bizarre bug on SunOS 4.1.3. 4558 if $ac_need_defaults; then 4559 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4560 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 4561 fi 4562 4563 # Have a temporary directory for convenience. Make it in the build tree 4564 # simply because there is no reason against having it here, and in addition, 4565 # creating and moving files from /tmp can sometimes cause problems. 4566 # Hook for its removal unless debugging. 4567 # Note that there is a small window in which the directory will not be cleaned: 4568 # after its creation but before its name has been assigned to `$tmp'. 4569 $debug || 4570 { 4571 tmp= 4572 trap 'exit_status=$? 4573 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 4574 ' 0 4575 trap 'as_fn_exit 1' 1 2 13 15 4576 } 4577 # Create a (secure) tmp directory for tmp files. 4578 4579 { 4580 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4581 test -n "$tmp" && test -d "$tmp" 4582 } || 4583 { 4584 tmp=./conf$$-$RANDOM 4585 (umask 077 && mkdir "$tmp") 4586 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 4587 4588 # Set up the scripts for CONFIG_FILES section. 4589 # No need to generate them if there are no CONFIG_FILES. 4590 # This happens for instance with `./config.status config.h'. 4591 if test -n "$CONFIG_FILES"; then 4592 4593 4594 ac_cr=`echo X | tr X '\015'` 4595 # On cygwin, bash can eat \r inside `` if the user requested igncr. 4596 # But we know of no other shell where ac_cr would be empty at this 4597 # point, so we can use a bashism as a fallback. 4598 if test "x$ac_cr" = x; then 4599 eval ac_cr=\$\'\\r\' 4600 fi 4601 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 4602 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 4603 ac_cs_awk_cr='\r' 4604 else 4605 ac_cs_awk_cr=$ac_cr 4606 fi 4607 4608 echo 'BEGIN {' >"$tmp/subs1.awk" && 4609 _ACEOF 4610 4611 4612 { 4613 echo "cat >conf$$subs.awk <<_ACEOF" && 4614 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4615 echo "_ACEOF" 4616 } >conf$$subs.sh || 4617 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 4618 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 4619 ac_delim='%!_!# ' 4620 for ac_last_try in false false false false false :; do 4621 . ./conf$$subs.sh || 4622 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 4623 4624 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 4625 if test $ac_delim_n = $ac_delim_num; then 4626 break 4627 elif $ac_last_try; then 4628 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 4629 else 4630 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4631 fi 4632 done 4633 rm -f conf$$subs.sh 4634 4635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4636 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 4637 _ACEOF 4638 sed -n ' 4639 h 4640 s/^/S["/; s/!.*/"]=/ 4641 p 4642 g 4643 s/^[^!]*!// 4644 :repl 4645 t repl 4646 s/'"$ac_delim"'$// 4647 t delim 4648 :nl 4649 h 4650 s/\(.\{148\}\)..*/\1/ 4651 t more1 4652 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4653 p 4654 n 4655 b repl 4656 :more1 4657 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4658 p 4659 g 4660 s/.\{148\}// 4661 t nl 4662 :delim 4663 h 4664 s/\(.\{148\}\)..*/\1/ 4665 t more2 4666 s/["\\]/\\&/g; s/^/"/; s/$/"/ 4667 p 4668 b 4669 :more2 4670 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4671 p 4672 g 4673 s/.\{148\}// 4674 t delim 4675 ' <conf$$subs.awk | sed ' 4676 /^[^""]/{ 4677 N 4678 s/\n// 4679 } 4680 ' >>$CONFIG_STATUS || ac_write_fail=1 4681 rm -f conf$$subs.awk 4682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4683 _ACAWK 4684 cat >>"\$tmp/subs1.awk" <<_ACAWK && 4685 for (key in S) S_is_set[key] = 1 4686 FS = "" 4687 4688 } 4689 { 4690 line = $ 0 4691 nfields = split(line, field, "@") 4692 substed = 0 4693 len = length(field[1]) 4694 for (i = 2; i < nfields; i++) { 4695 key = field[i] 4696 keylen = length(key) 4697 if (S_is_set[key]) { 4698 value = S[key] 4699 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4700 len += length(value) + length(field[++i]) 4701 substed = 1 4702 } else 4703 len += 1 + keylen 4704 } 4705 4706 print line 4707 } 4708 4709 _ACAWK 4710 _ACEOF 4711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4712 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4713 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4714 else 4715 cat 4716 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 4717 || as_fn_error "could not setup config files machinery" "$LINENO" 5 4718 _ACEOF 4719 4720 # VPATH may cause trouble with some makes, so we remove $(srcdir), 4721 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 4722 # trailing colons and then remove the whole line if VPATH becomes empty 4723 # (actually we leave an empty line to preserve line numbers). 4724 if test "x$srcdir" = x.; then 4725 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4726 s/:*\$(srcdir):*/:/ 4727 s/:*\${srcdir}:*/:/ 4728 s/:*@srcdir@:*/:/ 4729 s/^\([^=]*=[ ]*\):*/\1/ 4730 s/:*$// 4731 s/^[^=]*=[ ]*$// 4732 }' 4733 fi 4734 4735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4736 fi # test -n "$CONFIG_FILES" 4737 4738 # Set up the scripts for CONFIG_HEADERS section. 4739 # No need to generate them if there are no CONFIG_HEADERS. 4740 # This happens for instance with `./config.status Makefile'. 4741 if test -n "$CONFIG_HEADERS"; then 4742 cat >"$tmp/defines.awk" <<\_ACAWK || 4743 BEGIN { 4744 _ACEOF 4745 4746 # Transform confdefs.h into an awk script `defines.awk', embedded as 4747 # here-document in config.status, that substitutes the proper values into 4748 # config.h.in to produce config.h. 4749 4750 # Create a delimiter string that does not exist in confdefs.h, to ease 4751 # handling of long lines. 4752 ac_delim='%!_!# ' 4753 for ac_last_try in false false :; do 4754 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 4755 if test -z "$ac_t"; then 4756 break 4757 elif $ac_last_try; then 4758 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 4759 else 4760 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4761 fi 4762 done 4763 4764 # For the awk script, D is an array of macro values keyed by name, 4765 # likewise P contains macro parameters if any. Preserve backslash 4766 # newline sequences. 4767 4768 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 4769 sed -n ' 4770 s/.\{148\}/&'"$ac_delim"'/g 4771 t rset 4772 :rset 4773 s/^[ ]*#[ ]*define[ ][ ]*/ / 4774 t def 4775 d 4776 :def 4777 s/\\$// 4778 t bsnl 4779 s/["\\]/\\&/g 4780 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 4781 D["\1"]=" \3"/p 4782 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 4783 d 4784 :bsnl 4785 s/["\\]/\\&/g 4786 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 4787 D["\1"]=" \3\\\\\\n"\\/p 4788 t cont 4789 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 4790 t cont 4791 d 4792 :cont 4793 n 4794 s/.\{148\}/&'"$ac_delim"'/g 4795 t clear 4796 :clear 4797 s/\\$// 4798 t bsnlc 4799 s/["\\]/\\&/g; s/^/"/; s/$/"/p 4800 d 4801 :bsnlc 4802 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 4803 b cont 4804 ' <confdefs.h | sed ' 4805 s/'"$ac_delim"'/"\\\ 4806 "/g' >>$CONFIG_STATUS || ac_write_fail=1 4807 4808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4809 for (key in D) D_is_set[key] = 1 4810 FS = "" 4811 } 4812 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 4813 line = \$ 0 4814 split(line, arg, " ") 4815 if (arg[1] == "#") { 4816 defundef = arg[2] 4817 mac1 = arg[3] 4818 } else { 4819 defundef = substr(arg[1], 2) 4820 mac1 = arg[2] 4821 } 4822 split(mac1, mac2, "(") #) 4823 macro = mac2[1] 4824 prefix = substr(line, 1, index(line, defundef) - 1) 4825 if (D_is_set[macro]) { 4826 # Preserve the white space surrounding the "#". 4827 print prefix "define", macro P[macro] D[macro] 4828 next 4829 } else { 4830 # Replace #undef with comments. This is necessary, for example, 4831 # in the case of _POSIX_SOURCE, which is predefined and required 4832 # on some systems where configure will not decide to define it. 4833 if (defundef == "undef") { 4834 print "/*", prefix defundef, macro, "*/" 4835 next 4836 } 4837 } 4838 } 4839 { print } 4840 _ACAWK 4841 _ACEOF 4842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4843 as_fn_error "could not setup config headers machinery" "$LINENO" 5 4844 fi # test -n "$CONFIG_HEADERS" 4845 4846 4847 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 4848 shift 4849 for ac_tag 4850 do 4851 case $ac_tag in 4852 :[FHLC]) ac_mode=$ac_tag; continue;; 4853 esac 4854 case $ac_mode$ac_tag in 4855 :[FHL]*:*);; 4856 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 4857 :[FH]-) ac_tag=-:-;; 4858 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4859 esac 4860 ac_save_IFS=$IFS 4861 IFS=: 4862 set x $ac_tag 4863 IFS=$ac_save_IFS 4864 shift 4865 ac_file=$1 4866 shift 4867 4868 case $ac_mode in 4869 :L) ac_source=$1;; 4870 :[FH]) 4871 ac_file_inputs= 4872 for ac_f 4873 do 4874 case $ac_f in 4875 -) ac_f="$tmp/stdin";; 4876 *) # Look for the file first in the build tree, then in the source tree 4877 # (if the path is not absolute). The absolute path cannot be DOS-style, 4878 # because $ac_f cannot contain `:'. 4879 test -f "$ac_f" || 4880 case $ac_f in 4881 [\\/$]*) false;; 4882 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4883 esac || 4884 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4885 esac 4886 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4887 as_fn_append ac_file_inputs " '$ac_f'" 4888 done 4889 4890 # Let's still pretend it is `configure' which instantiates (i.e., don't 4891 # use $as_me), people would be surprised to read: 4892 # /* config.h. Generated by config.status. */ 4893 configure_input='Generated from '` 4894 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4895 `' by configure.' 4896 if test x"$ac_file" != x-; then 4897 configure_input="$ac_file. $configure_input" 4898 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4899 $as_echo "$as_me: creating $ac_file" >&6;} 4900 fi 4901 # Neutralize special characters interpreted by sed in replacement strings. 4902 case $configure_input in #( 4903 *\&* | *\|* | *\\* ) 4904 ac_sed_conf_input=`$as_echo "$configure_input" | 4905 sed 's/[\\\\&|]/\\\\&/g'`;; #( 4906 *) ac_sed_conf_input=$configure_input;; 4907 esac 4908 4909 case $ac_tag in 4910 *:-:* | *:-) cat >"$tmp/stdin" \ 4911 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 4912 esac 4913 ;; 4914 esac 4915 4916 ac_dir=`$as_dirname -- "$ac_file" || 4917 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4918 X"$ac_file" : 'X\(//\)[^/]' \| \ 4919 X"$ac_file" : 'X\(//\)$' \| \ 4920 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4921 $as_echo X"$ac_file" | 4922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4923 s//\1/ 4924 q 4925 } 4926 /^X\(\/\/\)[^/].*/{ 4927 s//\1/ 4928 q 4929 } 4930 /^X\(\/\/\)$/{ 4931 s//\1/ 4932 q 4933 } 4934 /^X\(\/\).*/{ 4935 s//\1/ 4936 q 4937 } 4938 s/.*/./; q'` 4939 as_dir="$ac_dir"; as_fn_mkdir_p 5117 4940 ac_builddir=. 5118 4941 … … 5120 4943 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5121 4944 *) 5122 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`4945 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5123 4946 # A ".." for each directory in $ac_dir_suffix. 5124 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`4947 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5125 4948 case $ac_top_builddir_sub in 5126 4949 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 5162 4985 _ACEOF 5163 4986 5164 cat >>$CONFIG_STATUS <<\_ACEOF 4987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5165 4988 # If the template does not know about datarootdir, expand it. 5166 4989 # FIXME: This hack should be removed a few years after 2.60. 5167 4990 ac_datarootdir_hack=; ac_datarootdir_seen= 5168 5169 case `sed -n '/datarootdir/ {4991 ac_sed_dataroot=' 4992 /datarootdir/ { 5170 4993 p 5171 4994 q … … 5175 4998 /@infodir@/p 5176 4999 /@localedir@/p 5177 /@mandir@/p 5178 ' $ac_file_inputs` in5000 /@mandir@/p' 5001 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5179 5002 *datarootdir*) ac_datarootdir_seen=yes;; 5180 5003 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5181 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&55182 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}5183 _ACEOF 5184 cat >>$CONFIG_STATUS <<_ACEOF 5004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5005 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5006 _ACEOF 5007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5185 5008 ac_datarootdir_hack=' 5186 5009 s&@datadir@&$datadir&g … … 5189 5012 s&@localedir@&$localedir&g 5190 5013 s&@mandir@&$mandir&g 5191 5014 s&\\\${datarootdir}&$datarootdir&g' ;; 5192 5015 esac 5193 5016 _ACEOF … … 5196 5019 # Shell code in configure.ac might set extrasub. 5197 5020 # FIXME: do we really want to maintain this feature? 5198 cat >>$CONFIG_STATUS <<_ACEOF 5199 sed"$ac_vpsub5021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5022 ac_sed_extra="$ac_vpsub 5200 5023 $extrasub 5201 5024 _ACEOF 5202 cat >>$CONFIG_STATUS <<\_ACEOF 5025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5203 5026 :t 5204 5027 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5205 s &@configure_input@&$configure_input&;t t5028 s|@configure_input@|$ac_sed_conf_input|;t t 5206 5029 s&@top_builddir@&$ac_top_builddir_sub&;t t 5030 s&@top_build_prefix@&$ac_top_build_prefix&;t t 5207 5031 s&@srcdir@&$ac_srcdir&;t t 5208 5032 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 5214 5038 s&@INSTALL@&$ac_INSTALL&;t t 5215 5039 $ac_datarootdir_hack 5216 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 5040 " 5041 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 5042 || as_fn_error "could not create $ac_file" "$LINENO" 5 5217 5043 5218 5044 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5219 5045 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 5220 5046 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 5221 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'5047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5222 5048 which seems to be undefined. Please make sure it is defined." >&5 5223 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'5049 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5224 5050 which seems to be undefined. Please make sure it is defined." >&2;} 5225 5051 5226 5052 rm -f "$tmp/stdin" 5227 5053 case $ac_file in 5228 -) cat "$tmp/out"; rm -f "$tmp/out";; 5229 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 5230 esac 5054 -) cat "$tmp/out" && rm -f "$tmp/out";; 5055 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 5056 esac \ 5057 || as_fn_error "could not create $ac_file" "$LINENO" 5 5231 5058 ;; 5232 5059 :H) … … 5234 5061 # CONFIG_HEADER 5235 5062 # 5236 _ACEOF5237 5238 # Transform confdefs.h into a sed script `conftest.defines', that5239 # substitutes the proper values into config.h.in to produce config.h.5240 rm -f conftest.defines conftest.tail5241 # First, append a space to every undef/define line, to ease matching.5242 echo 's/$/ /' >conftest.defines5243 # Then, protect against being on the right side of a sed subst, or in5244 # an unquoted here document, in config.status. If some macros were5245 # called several times there might be several #defines for the same5246 # symbol, which is useless. But do not sort them, since the last5247 # AC_DEFINE must be honored.5248 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*5249 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where5250 # NAME is the cpp macro being defined, VALUE is the value it is being given.5251 # PARAMS is the parameter list in the macro definition--in most cases, it's5252 # just an empty string.5253 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'5254 ac_dB='\\)[ (].*,\\1define\\2'5255 ac_dC=' '5256 ac_dD=' ,'5257 5258 uniq confdefs.h |5259 sed -n '5260 t rset5261 :rset5262 s/^[ ]*#[ ]*define[ ][ ]*//5263 t ok5264 d5265 :ok5266 s/[\\&,]/\\&/g5267 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p5268 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p5269 ' >>conftest.defines5270 5271 # Remove the space that was appended to ease matching.5272 # Then replace #undef with comments. This is necessary, for5273 # example, in the case of _POSIX_SOURCE, which is predefined and required5274 # on some systems where configure will not decide to define it.5275 # (The regexp can be short, since the line contains either #define or #undef.)5276 echo 's/ $//5277 s,^[ #]*u.*,/* & */,' >>conftest.defines5278 5279 # Break up conftest.defines:5280 ac_max_sed_lines=505281 5282 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"5283 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"5284 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"5285 # et cetera.5286 ac_in='$ac_file_inputs'5287 ac_out='"$tmp/out1"'5288 ac_nxt='"$tmp/out2"'5289 5290 while :5291 do5292 # Write a here document:5293 cat >>$CONFIG_STATUS <<_ACEOF5294 # First, check the format of the line:5295 cat >"\$tmp/defines.sed" <<\\CEOF5296 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def5297 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def5298 b5299 :def5300 _ACEOF5301 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS5302 echo 'CEOF5303 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS5304 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in5305 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail5306 grep . conftest.tail >/dev/null || break5307 rm -f conftest.defines5308 mv conftest.tail conftest.defines5309 done5310 rm -f conftest.defines conftest.tail5311 5312 echo "ac_result=$ac_in" >>$CONFIG_STATUS5313 cat >>$CONFIG_STATUS <<\_ACEOF5314 5063 if test x"$ac_file" != x-; then 5315 echo "/* $configure_input */" >"$tmp/config.h" 5316 cat "$ac_result" >>"$tmp/config.h" 5317 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 5318 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 5319 echo "$as_me: $ac_file is unchanged" >&6;} 5064 { 5065 $as_echo "/* $configure_input */" \ 5066 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 5067 } >"$tmp/config.h" \ 5068 || as_fn_error "could not create $ac_file" "$LINENO" 5 5069 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 5070 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 5071 $as_echo "$as_me: $ac_file is unchanged" >&6;} 5320 5072 else 5321 rm -f $ac_file 5322 mv "$tmp/config.h" $ac_file 5073 rm -f "$ac_file" 5074 mv "$tmp/config.h" "$ac_file" \ 5075 || as_fn_error "could not create $ac_file" "$LINENO" 5 5323 5076 fi 5324 5077 else 5325 echo "/* $configure_input */" 5326 cat "$ac_result" 5078 $as_echo "/* $configure_input */" \ 5079 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 5080 || as_fn_error "could not create -" "$LINENO" 5 5327 5081 fi 5328 rm -f "$tmp/out12"5329 5082 ;; 5330 5083 … … 5335 5088 5336 5089 5337 { (exit 0); exit 0; } 5338 _ACEOF 5339 chmod +x $CONFIG_STATUS 5090 as_fn_exit 0 5091 _ACEOF 5340 5092 ac_clean_files=$ac_clean_files_save 5093 5094 test $ac_write_fail = 0 || 5095 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 5341 5096 5342 5097 … … 5359 5114 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5360 5115 # would make configure fail if this is the last instruction. 5361 $ac_cs_success || { (exit 1); exit 1; } 5362 fi 5363 5116 $ac_cs_success || as_fn_exit $? 5117 fi 5118 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5120 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5121 fi 5122 -
output/configure.ac
r7f39d6 rb6f4bd2 17 17 # Checks for header files. 18 18 AC_HEADER_STDC 19 AC_CHECK_HEADERS([stdlib.h string.h unistd.h ])19 AC_CHECK_HEADERS([stdlib.h string.h unistd.h pwd.h]) 20 20 21 21 # Checks for typedefs, structures, and compiler characteristics. … … 25 25 # Checks for library functions. 26 26 AC_FUNC_VPRINTF 27 AC_CHECK_FUNC([vsnprintf], [AC_DEFINE([HAVE_VSNPRINTF], [1], 28 [Define if vsnprintf exists.])]) 27 29 28 30 AC_CONFIG_FILES([Makefile])
Note: See TracChangeset
for help on using the changeset viewer.